]> sourceware.org Git - glibc.git/blame - ChangeLog
Return fixed version of breaking of RPATH when $ORIGIN contains colons
[glibc.git] / ChangeLog
CommitLineData
1ab19dec
AZ
12013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
176b0c79
JM
52013-11-30 Joseph Myers <joseph@codesourcery.com>
6
7 * math/gen-auto-libm-tests.c (test_functions): Add more
8 single-argument functions.
9 (special_fill_pi_2): New function.
10 (special_fill_minus_pi_2): Likewise.
11 (special_fill_pi_6): Likewise.
12 (special_fill_minus_pi_6): Likewise.
13 (special_fill_pi_3): Likewise.
14 (special_fill_2pi_3): Likewise.
15 (special_fill_e): Likewise.
16 (special_fill_1_e): Likewise.
17 (special_fill_e_minus_1): Likewise.
18 (special_real_inputs): Add more special inputs.
19 (output_for_one_input_case): Do not require ERANGE on underflow to
20 zero if round-to-nearest result does not underflow to zero, unless
21 exact results required.
22 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23 atan, atanh, cbrt, cos and cosh.
24 * math/auto-libm-test-out: Regenerated.
25 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26 (acos_tonearest_test_data): Likewise.
27 (acos_towardzero_test_data): Likewise.
28 (acos_downward_test_data): Likewise.
29 (acos_upward_test_data): Likewise.
30 (acosh_test_data): Likewise.
31 (asin_test_data): Likewise.
32 (asin_tonearest_test_data): Likewise.
33 (asin_towardzero_test_data): Likewise.
34 (asin_upward_test_data): Likewise.
35 (asinh_test_data): Likewise.
36 (atan_test_data): Likewise.
37 (atanh_test_data): Likewise.
38 (cbrt_test_data): Likewise.
39 (cos_test_data): Likewise.
40 (cos_tonearest_test_data): Likewise.
41 (cos_towardzero_test_data): Likewise.
42 (cos_downward_test_data): Likewise.
43 (cos_upward_test_data): Likewise.
44 (cosh_test_data): Likewise.
45 (cosh_tonearest_test_data): Likewise.
46 (cosh_towardzero_test_data): Likewise.
47 (cosh_downward_test_data): Likewise.
48 (cosh_upward_test_data): Likewise.
49 * sysdeps/i386/fpu/libm-test-ulps: Update.
50 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51
ffb536d0
JM
522013-11-29 Joseph Myers <joseph@codesourcery.com>
53
2a77a467
JM
54 [BZ #6787]
55 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56 * math/w_exp10f.c (__exp10f): Likewise.
57 * math/w_exp10l.c (__exp10l): Likewise.
58 * math/libm-test.inc (exp10_test_data): Add more tests and expect
59 errno settings in existing tests.
60
ea3bc4e8
JM
61 [BZ #14032]
62 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
63 precision control set to double precision.
64 * sysdeps/i386/fpu/w_sqrt.c: New file.
65 * math/auto-libm-test-in: Add more tests.
66 * math/auto-libm-test-out: Update.
67
0712c9d8
JM
68 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
69 (sqrt_test_tonearest): New function.
70 (sqrt_towardzero_test_data): New variable.
71 (sqrt_test_towardzero): New function.
72 (sqrt_downward_test_data): New variable.
73 (sqrt_test_downward): New function.
74 (sqrt_upward_test_data): New variable.
75 (sqrt_test_upward): New function.
76 (main): Call the new functions.
77
ffb536d0
JM
78 * math/gen-auto-libm-tests.c: New file.
79 * math/auto-libm-test-in: Likewise.
80 * math/auto-libm-test-out: New generated file.
81 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
82 variables.
83 (%beautify): Add generated representations of zero.
84 (top level): Set $auto_input and call parse_auto_input.
85 (beautify): Remove trailing "f" from hex float constants.
86 (parse_args): Handle XFAIL_TEST.
87 (convert_condition): New function.
88 (or_value): Likewise.
89 (or_cond_value): Likewise.
90 (generate_testfile): Handle AUTO_TESTS_* lines.
91 (parse_auto_input): New function.
92 * math/libm-test.inc (XFAIL_TEST): New macro.
93 (ERRNO_UNCHANGED): Update value.
94 (ERRNO_EDOM): Likewise.
95 (ERRNO_ERANGE): Likewise.
96 (IGNORE_RESULT): Likewise.
97 (TEST_COND_flt_32): New macro.
98 (TEST_COND_dbl_64): Likewise.
99 (TEST_COND_ldbl_96_intel): Likewise.
100 (TEST_COND_ldbl_96_m68k): Likewise.
101 (TEST_COND_ldbl_128): Likewise.
102 (TEST_COND_ldbl_128ibm): Likewise.
103 (TEST_COND_long32): Likewise.
104 (TEST_COND_long64): Likewise.
105 (TEST_COND_before_rounding): Likewise.
106 (TEST_COND_after_rounding): Likewise.
107 (enable_test): Handle XFAIL_TEST flag.
108 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
109 with finite results.
110 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
111 auto-libm-test-out.
112
acd98a8e
AK
1132013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
114 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
115
116 [BZ #16214]
117 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
118 __tls_get_addr_internal instead of __tls_get_offset in order to
119 avoid GOT pointer dependency. Make rtld export
120 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
121 __tls_get_addr since we are a __tls_get_offset platform.
122 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
123 GOT pointer being set up before.
124 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
125
3c1c46a6
JM
1262013-11-28 Joseph Myers <joseph@codesourcery.com>
127
7475aef5
JM
128 * manual/math.texi (Errors in Math Functions): Document accuracy
129 goals.
130
8bca7cd8
JM
131 [BZ #15004]
132 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
133 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
136 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
137 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
138 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
139 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
140 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
141 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
142 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
145 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
147 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
148
91a1f3fe
JM
149 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
150 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
151 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
152 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
153 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
154 Likewise.
155 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
156 Likewise.
157 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
158 Likewise.
159 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
161 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
162 atomic-feupdateenv and flt-rounds.
163 * sysdeps/powerpc/nofpu/Versions (libc): Add
164 __atomic_feholdexcept, __atomic_feclearexcept,
165 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
166 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
167 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
168 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
169 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
170 here.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
172 Update.
173
c5df7609
JM
174 * manual/arith.texi (FP Exceptions): Document that exceptions may
175 not be raised when matherr is used.
176 (Math Error Reporting): Document overflow in directed rounding
177 modes. Document that errno may not be set when finite values are
178 returned on overflow. Document intent to set errno on underflow
179 only for underflow to zero.
180
3c1c46a6
JM
181 [BZ #16271]
182 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
183 round-to-nearest then adjust result for other rounding modes.
184 * include/fenv.h (fegetround): Use libm_hidden_proto.
185 * math/fegetround.c (fegetround): Use libm_hidden_def.
186 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
187 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
188 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
190 Likewise.
191 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
192 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
193 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
194 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
195
5a4c6d53
SP
1962013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 [BZ #16077]
199 * nss/Versions (libnss_files): Add
200 _nss_files_gethostbyname3_r.
201 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
202 New function.
203 (HOST_DB_LOOKUP): Remove macro.
204 (_nss_files_gethostbyname_r): Implement function without the
205 HOST_DB_LOOKUP macro.
206 (_nss_files_gethostbyname2_r): Likewise.
207
897b98ba
OB
2082013-11-28 Ondřej Bílka <neleai@seznam.cz>
209
210 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
211
6f476861
UB
2122013-11-26 Uros Bizjak <ubizjak@gmail.com>
213
214 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
215 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
216 warning.
217
bd12ab55
AZ
2182013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219
220 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
221 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
222 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
223 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
225 __fe_nomask_env_priv and attribute_hidden.
226 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
227 (libc_feupdateenv_test_ppc): Likewise.
228 (libc_feresetround_ppc): Likewise.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
230 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
231 compat_symbol macro.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
233 (__fe_nomask_env): Likewise.
234 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
235
52bb6543
OB
2362013-11-26 Ondřej Bílka <neleai@seznam.cz>
237
238 * string/Makefile: Remove ifunc tests.
239 * string/test-string.h: Define TEST_IFUNC.
240 * string/test-bcopy-ifunc.c: Remove.
241 * string/test-bzero-ifunc.c: Likewise.
242 * string/test-memccpy-ifunc.c: Likewise.
243 * string/test-memchr-ifunc.c: Likewise.
244 * string/test-memcmp-ifunc.c: Likewise.
245 * string/test-memcpy-ifunc.c: Likewise.
246 * string/test-memmem-ifunc.c: Likewise.
247 * string/test-memmove-ifunc.c: Likewise.
248 * string/test-mempcpy-ifunc.c: Likewise.
249 * string/test-memrchr-ifunc.c: Likewise.
250 * string/test-memset-ifunc.c: Likewise.
251 * string/test-rawmemchr-ifunc.c: Likewise.
252 * string/test-stpcpy-ifunc.c: Likewise.
253 * string/test-stpncpy-ifunc.c: Likewise.
254 * string/test-strcasecmp-ifunc.c: Likewise.
255 * string/test-strcasestr-ifunc.c: Likewise.
256 * string/test-strcat-ifunc.c: Likewise.
257 * string/test-strchr-ifunc.c: Likewise.
258 * string/test-strchrnul-ifunc.c: Likewise.
259 * string/test-strcmp-ifunc.c: Likewise.
260 * string/test-strcpy-ifunc.c: Likewise.
261 * string/test-strcspn-ifunc.c: Likewise.
262 * string/test-strlen-ifunc.c: Likewise.
263 * string/test-strncasecmp-ifunc.c: Likewise.
264 * string/test-strncat-ifunc.c: Likewise.
265 * string/test-strncmp-ifunc.c: Likewise.
266 * string/test-strncpy-ifunc.c: Likewise.
267 * string/test-strnlen-ifunc.c: Likewise.
268 * string/test-strpbrk-ifunc.c: Likewise.
269 * string/test-strrchr-ifunc.c: Likewise.
270 * string/test-strspn-ifunc.c: Likewise.
271 * string/test-strstr-ifunc.c: Likewise.
272
ab260039 2732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
274
275 * benchtests/Makefile: Remove ifunc tests.
276 * benchtests/bench-string.h: Define TEST_IFUNC.
277 * benchtests/bench-bcopy-ifunc.c: Remove.
278 * benchtests/bench-bzero-ifunc.c: Likewise.
279 * benchtests/bench-memccpy-ifunc.c: Likewise.
280 * benchtests/bench-memchr-ifunc.c: Likewise.
281 * benchtests/bench-memcmp-ifunc.c: Likewise.
282 * benchtests/bench-memcpy-ifunc.c: Likewise.
283 * benchtests/bench-memmem-ifunc.c: Likewise.
284 * benchtests/bench-memmove-ifunc.c: Likewise.
285 * benchtests/bench-mempcpy-ifunc.c: Likewise.
286 * benchtests/bench-memrchr-ifunc.c: Likewise.
287 * benchtests/bench-memset-ifunc.c: Likewise.
288 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
289 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
290 * benchtests/bench-stpcpy-ifunc.c: Likewise.
291 * benchtests/bench-stpncpy-ifunc.c: Likewise.
292 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
293 * benchtests/bench-strcasestr-ifunc.c: Likewise.
294 * benchtests/bench-strcat-ifunc.c: Likewise.
295 * benchtests/bench-strchr-ifunc.c: Likewise.
296 * benchtests/bench-strchrnul-ifunc.c: Likewise.
297 * benchtests/bench-strcmp-ifunc.c: Likewise.
298 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
299 * benchtests/bench-strcpy-ifunc.c: Likewise.
300 * benchtests/bench-strcspn-ifunc.c: Likewise.
301 * benchtests/bench-strlen-ifunc.c: Likewise.
302 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
303 * benchtests/bench-strncat-ifunc.c: Likewise.
304 * benchtests/bench-strncmp-ifunc.c: Likewise.
305 * benchtests/bench-strncpy-ifunc.c: Likewise.
306 * benchtests/bench-strnlen-ifunc.c: Likewise.
307 * benchtests/bench-strpbrk-ifunc.c: Likewise.
308 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 309 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
310 * benchtests/bench-strspn-ifunc.c: Likewise.
311 * benchtests/bench-strstr-ifunc.c: Likewise.
312
3132013-11-26 Ondřej Bílka <neleai@seznam.cz>
314
ab260039
OB
315 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
316
d1d9eaf4 3172013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 318
d1d9eaf4
OB
319 * resolv/netdb.h: Use __glibc_reserved instead __unused.
320 * rt/aio.h: Likewise.
321 * sysdeps/gnu/bits/utmp.h: Likewise.
322 * sysdeps/gnu/bits/utmpx.h: Likewise.
323 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
324 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
325 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
326 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
327 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
328 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
329 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
330 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
331 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
332 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
333 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
334 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
337 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
338 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
339 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
340 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
341 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
342 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
343 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
344 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
346 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
347 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
349 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
350 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
351 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
352 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
353 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
356 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
357 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
358 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
359 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
360 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
361 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
362 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
363 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
364 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
365
a7624ed9
CD
3662013-11-25 Carlos O'Donell <carlos@redhat.com>
367
368 [BZ #16245]
369 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
370 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
371
63cfe52b
JM
3722013-11-25 Joseph Myers <joseph@codesourcery.com>
373
374 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
375 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
376 Likewise.
377
41e8926a
AZ
3782013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
379
380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
381 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
382 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
383 (__fesetround): Remove define.
384 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
385 rounding and exceptions handling.
386 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
387 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
388 (__fe_nomask_env): Likewise.
389 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
390 __fegetround instead of fegetround.
391 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
392 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
393
6851bd4d
RM
3942013-11-21 Roland McGrath <roland@hack.frob.com>
395
070906ff
RM
396 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
397 it's there.
398
6851bd4d
RM
399 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
400
84ae135d
MI
4012013-11-21 Meador Inge <meadori@codesourcery.com>
402
403 [BZ #11157]
404 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
405 (encrypt_r): Likewise.
406 * malloc/obstack.h (obstack_free): Likewise.
407 * posix/unistd.h (encrypt): Likewise.
408
daf75146
GM
4092013-11-21 Guy Martin <gmsoft@tuxicoman.be>
410
411 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
412 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
413 DL_CALL_DT_FINI() that call the functions directly.
414 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
415 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
416 * elf/dl-fini.c: Likewise.
417
10ad46bc
OB
4182013-11-20 Ondřej Bílka <neleai@seznam.cz>
419
420 * malloc/hooks.c (memalign_check): Add alignment rounding.
421 * malloc/malloc.c (_mid_memalign): New function.
422 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
423 Implement by calling _mid_memalign.
424 * manual/probes.texi (Memory Allocation Probes): Remove
425 memory_valloc_retry and memory_pvalloc_retry.
426
f3fd2628
SP
4272013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
428
4712799f
SP
429 * locale/programs/locarchive.c (open_archive): Add const
430 qualifier to ARCHIVEFNAME and copy default fname to
431 DEFAULT_FNAME.
432
0417b20f
SP
433 [BZ #15601]
434 * libio/tst-widetext.input: Rename Oriya to Odia.
435 * locale/iso-639.def: Likewise.
436
f3fd2628
SP
437 * manual/probes.texi (Mathematical Function Probes): Add
438 documentation for sin, cos, asin and acos probes.
439 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
440 (__sin32): Add slowasin probe.
441 (__cos32): Add slowacos probe.
442 (__mpsin): Add slowsin probe.
443 (__mpcos): Add slowcos probe.
444
73c1ce4f
JM
4452013-11-19 Joseph Myers <joseph@codesourcery.com>
446
447 [BZ #15483]
448 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
449 thread-local __sim_exceptions_thread and global
450 __sim_exceptions_global.
451 (__sim_disabled_exceptions): Change to thread-local
452 __sim_disabled_exceptions_thread and global
453 __sim_disabled_exceptions_global.
454 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
455 and global __sim_round_mode_global.
456 (__simulate_exceptions): Use thread-local floating-point state and
457 set global state from it as needed.
458 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
459 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
460 __sim_round_mode_thread.
461 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
462 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
463 and global __sim_exceptions_global.
464 (__sim_disabled_exceptions): Change to thread-local
465 __sim_disabled_exceptions_thread and global
466 __sim_disabled_exceptions_global.
467 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
468 and global __sim_round_mode_global.
469 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
470 (SIM_SET_GLOBAL): Likewise.
471 * sysdeps/powerpc/soft-fp/sfp-machine.h
472 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
473 __sim_round_mode_thread.
474 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
475 __sim_disabled_exceptions_thread.
476 (__sim_exceptions): Change to __sim_exceptions_thread.
477 (__sim_disabled_exceptions): Change to
478 __sim_disabled_exceptions_thread.
479 (__sim_round_mode): Change to __sim_round_mode_thread.
480 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
481 thread-local floating-point state and set global state from it as
482 needed.
483 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
484 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
485 (__sim_disabled_exceptions): Remove extern declaration.
486 (feenableexcept): Use thread-local floating-point state and set
487 global state from it as needed.
488 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
489 extern declaration.
490 (__sim_disabled_exceptions): Likewise.
491 (__sim_round_mode): Likewise.
492 (__fegetenv): Use thread-local floating-point state.
493 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
494 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
495 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
496 floating-point state and set global state from it as needed.
497 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
498 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
499 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
500 Likewise.
501 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
502 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
503 Likewise.
504 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
505 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
506 Use __sim_round_mode_thread.
507 * math/test-fenv-tls.c: New file.
508 * math/Makefile (tests): Add test-fenv-tls.
509 ($(objpfx)test-fenv-tls): Depend on
510 $(common-objpfx)nptl/libpthread.so.
511
b5449b12
AS
5122013-11-19 Andreas Schwab <schwab@suse.de>
513
514 * locale/programs/locale.c (show_info): Decode wordarray elements.
515 * locale/categories.def (LC_MONETARY): Add element for
516 _NL_MONETARY_CRNCYSTR.
517 * locale/C-monetary.c (conversion_rate): New variable.
518 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
519 element.
520
e186536b
CM
5212013-11-18 Chris Metcalf <cmetcalf@tilera.com>
522
523 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
524 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
525
5c349950
PP
5262013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
527
528 * elf/Makefile (tst-auxv): New test.
529 * elf/tst-auxv.c: New
530 * elf/rtld.c (dl_main): Adjust AT_EXECFN
531
699df45b
JM
5322013-11-18 Joseph Myers <joseph@codesourcery.com>
533
534 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
535 (hidden_proto): Caller changed.
536 (hidden_tls_proto): New macro.
537 (libc_hidden_tls_proto): Likewise.
538 (rtld_hidden_tls_proto): Likewise.
539 (libm_hidden_tls_proto): Likewise.
540 (libresolv_hidden_tls_proto): Likewise.
541 (librt_hidden_tls_proto): Likewise.
542 (libdl_hidden_tls_proto): Likewise.
543 (libnss_files_hidden_tls_proto): Likewise.
544 (libnsl_hidden_tls_proto): Likewise.
545 (libnss_nisplus_hidden_tls_proto): Likewise.
546 (libutil_hidden_tls_proto): Likewise.
547
b7589107
OB
5482013-11-18 Ondřej Bílka <neleai@seznam.cz>
549
550 [BZ #10253]
551 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
552 (decompose_rpath): Defer expansion to fillin_rpath.
553 (_dl_init_paths): Pass linkmap to fillin_rpath.
554
250c23bd
RS
5552013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
556
557 * benchtests/Makefile: Add strsep.
558 * benchtests/bench-strsep.c: New file: strsep benchtest.
559 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
560
a7931fcf
AS
5612013-11-18 Andreas Schwab <schwab@suse.de>
562
563 * locale/programs/locale.c (show_info) [case byte]: Check for
564 '\377' instead of '\177'.
565 * locale/C-monetary.c (not_available): Always use "\377".
566 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
567 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
568 detect unavailable sign_posn locale elements.
569 * locale/localeconv.c (__localeconv): For grouping and
570 mon_grouping handle "\177" and "\377" like no grouping.
571 (INT_ELEM): New macro. Use it to set all numeric members.
572 * locale/programs/ld-monetary.c (monetary_read)
573 <tok_mon_grouping>: Normalize single -1 to the empty string.
574 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
575 Likewise.
576
728dab0e
OB
5772013-11-07 Ondřej Bílka <neleai@seznam.cz>
578
579 [BZ #16055]
580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
581 when we match (nil).
582 * stdio-common/tst-sscanf.c (struct test): Add testcase.
583
66294491
JM
5842013-11-16 Joseph Myers <joseph@codesourcery.com>
585
ce665817
JM
586 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
587 (NO_TEST_INLINE): Update value.
588 (ERRNO_UNCHANGED): Likewise.
589 (ERRNO_EDOM): Likewise.
590 (ERRNO_ERANGE): Likewise.
591 (IGNORE_RESULT): Likewise.
592 (check_float_internal): Check signs of NaN results if
593 TEST_NAN_SIGN used.
594 (check_complex): Pass TEST_NAN_SIGN flag through to second
595 check_float_internal call.
596 (copysign_test_data): Add tests with quiet NaNs as second
597 argument. Use TEST_NAN_SIGN.
598 (fabs_test_data): Add test of negative quiet NaN argument. Use
599 TEST_NAN_SIGN.
600 (signbit_test_data): Add tests of quiet NaN argument.
601 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
602
ee1466a9
JM
603 * math/gen-libm-test.pl (show_exceptions): Take extra argument
604 $ignore_result.
605 (parse_args): Handle function results specified as IGNORE.
606 * math/libm-test.inc (IGNORE_RESULT): New macro.
607 (check_float_internal): Do not check numerical result if flag
608 IGNORE_RESULT set.
609 (check_complex): Pass through IGNORE_RESULT to second
610 check_float_internal call.
611 (check_int): Do not check numerical result if flag IGNORE_RESULT
612 set.
613 (check_long): Likewise.
614 (check_bool): Likewise.
615 (check_longlong): Likewise.
616 (lrint_test_data): Add tests of infinite and NaN arguments.
617 (lrint_tonearest_test_data): Likewise.
618 (lrint_towardzero_test_data): Likewise.
619 (lrint_downward_test_data): Likewise.
620 (lrint_upward_test_data): Likewise.
621 (llrint_test_data): Likewise.
622 (llrint_tonearest_test_data): Likewise.
623 (llrint_towardzero_test_data): Likewise.
624 (llrint_downward_test_data): Likewise.
625 (llrint_upward_test_data): Likewise.
626 (lround_test_data): Likewise.
627 (llround_test_data): Likewise.
628
14407b7e
JM
629 * math/libm-test.inc (NO_TEST_INLINE): New macro.
630 (ERRNO_UNCHANGED): Update value.
631 (ERRNO_EDOM): Likewise.
632 (ERRNO_ERANGE): Likewise.
633 (NO_TEST_INLINE_FLOAT): New macro.
634 (NO_TEST_INLINE_DOUBLE): Likewise.
635 (enable_test): New function.
636 (RUN_TEST_f_f): Check enable_test before running test.
637 (RUN_TEST_2_f): Likewise.
638 (RUN_TEST_fff_f): Likewise.
639 (RUN_TEST_c_f): Likewise.
640 (RUN_TEST_f_f1): Likewise.
641 (RUN_TEST_fF_f1): Likewise.
642 (RUN_TEST_fI_f1): Likewise.
643 (RUN_TEST_ffI_f1): Likewise.
644 (RUN_TEST_c_c): Likewise.
645 (RUN_TEST_cc_c): Likewise.
646 (RUN_TEST_f_i): Likewise.
647 (RUN_TEST_f_i_tg): Likewise.
648 (RUN_TEST_ff_i_tg): Likewise.
649 (RUN_TEST_f_b): Likewise.
650 (RUN_TEST_f_b_tg): Likewise.
651 (RUN_TEST_f_l): Likewise.
652 (RUN_TEST_f_L): Likewise.
653 (RUN_TEST_fFF_11): Likewise.
654 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
655 conditionals.
656 (cosh_test_data): Likewise.
657 (exp_test_data): Likewise.
658 (expm1_test_data): Likewise.
659 (hypot_test_data): Likewise.
660 (pow_test_data): Likewise.
661 (sinh_test_data): Likewise.
662 (tanh_test_data): Likewise.
663 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
664 flags argument.
665
ca07f197
JM
666 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
667 tests with quiet NaN input and output.
668 (acosh_test_data): Likewise.
669 (asin_test_data): Likewise.
670 (asinh_test_data): Likewise.
671 (atan_test_data): Likewise.
672 (atanh_test_data): Likewise.
673 (atan2_test_data): Likewise.
674 (cbrt_test_data): Likewise.
675 (cos_test_data): Likewise.
676 (cosh_test_data): Likewise.
677 (erf_test_data): Likewise.
678 (erfc_test_data): Likewise.
679 (exp_test_data): Likewise.
680 (exp10_test_data): Likewise.
681 (exp2_test_data): Likewise.
682 (expm1_test_data): Likewise.
683 (hypot_test_data): Likewise.
684 (j0_test_data): Likewise.
685 (j1_test_data): Likewise.
686 (jn_test_data): Likewise.
687 (lgamma_test_data): Likewise.
688 (log_test_data): Likewise.
689 (log10_test_data): Likewise.
690 (log1p_test_data): Likewise.
691 (log2_test_data): Likewise.
692 (pow_test_data): Likewise.
693 (scalb_test_data): Likewise.
694 (sin_test_data): Likewise.
695 (sincos_test_data): Likewise.
696 (sinh_test_data): Likewise.
697 (tan_test_data): Likewise.
698 (tanh_test_data): Likewise.
699 (tgamma_test_data): Likewise.
700 (y0_test_data): Likewise.
701 (y1_test_data): Likewise.
702 (yn_test_data): Likewise.
703
66294491
JM
704 [BZ #16167]
705 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
706 argument being NaN and avoid computations with second argument in
707 that case.
708 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
709 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
710 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
711
1820b143
CL
7122013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
713
714 * locale/iso-639.def: Add Chitwani Tharu (the).
715
714bd261
AS
7162013-11-14 Andreas Schwab <schwab@suse.de>
717
718 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
719 word instead of empty string.
720
7ab44563
AZ
7212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
724 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
726 (__fe_nomask_env): Likewise.
727
e8470ea2
SE
7282013-11-13 Steve Ellcey <sellcey@mips.com>
729
730 * benchtests/bench-timing.h: Include time.h.
731
17c1d9f0
L
7322013-11-13 H.J. Lu <hongjiu.lu@intel.com>
733
734 [BZ #15997]
735 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
736 to 3.4.0 for x32.
737 * sysdeps/unix/sysv/linux/configure: Regenerated.
738
9310c284
JM
7392013-11-13 Joseph Myers <joseph@codesourcery.com>
740
741 [BZ #16151]
742 * stdlib/strtod_l.c (round_and_return): Do not consider
743 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
744 exponent one less than half the least subnormal exponent.
745 * stdlib/test-strtod-round-data: Add more tests.
746 * stdlib/tst-strtod-round.c (tests): Regenerated.
747
7a2ad8cf
AZ
7482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 [BZ #14143]
751 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
752 (__fe_mask_env): Likewise.
753 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
754 libm_hidden_proto and add function prototype.
755 (__fe_mask_env): Add function prototype.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
757 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
759 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
761 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
762
50727aa7
MS
7632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
764
b2f386c1 765 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
766 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
767
a615be46
MS
7682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
769
770 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
771 of htab_find_slot().
772
7ddace62
DM
7732013-11-11 David S. Miller <davem@davemloft.net>
774
775 [BZ #16150]
776 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
777 symbol in the non-vis3 case in static builds.
778 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
779 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
780 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
781 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
782
9182aa67
JK
7832013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
784
785 [BZ #387]
786 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
787 it is empty.
788
450a2e2d
AZ
7892013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
790
b2f386c1
SP
791 * benchtests/Makefile: Add bench-strtod.
792 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 793
8ec3f656
AS
7942013-11-11 Andreas Schwab <schwab@suse.de>
795
796 [BZ #16153]
797 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
798 terminating NUL in key length.
799
76a9b998
AZ
8002013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
803 Add artificial ODP entry for vDSO symbol for PPC64.
804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
805 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
806
e4368156
OB
8072013-11-07 Ondřej Bílka <neleai@seznam.cz>
808
809 [BZ #15374]
810 * nss/getent.c (services_keys): Recognize services starting with digit.
811
8d6bb57c
DM
8122013-11-06 David S. Miller <davem@davemloft.net>
813
814 [BZ #15985]
815 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
816 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
817
e256c421
WN
8182013-11-06 Will Newton <will.newton@linaro.org>
819
820 * manual/memory.texi (Malloc Examples): Remove register
821 keyword from examples.
822
f6e12daa 8232013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 824
f6e12daa 825 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 826
9d880655
AS
8272013-11-04 Joseph Myers <joseph@codesourcery.com>
828
829 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
830 depending on [__GCC_IEC_559 > 0].
831 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
832 depending on [__GCC_IEC_559_COMPLEX > 0].
833
ae129d3c
CL
8342013-11-03 Chris Leonard <cjl@sugarlabs.org>
835
836 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
837 to iso-639.def.
838
4a15c2a4 8392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
840
841 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
842
8b35e35d
OB
8432013-11-01 Ondřej Bílka <neleai@seznam.cz>
844
845 [BZ #16112]
846 * malloc/malloc (malloc_info): Do not handle first bin as
847 special case.
848
1d70fd6c
CL
8492013-11-01 Chris Leonard <cjl@sugarlabs.org>
850
851 * locale/iso-639.def: Add Central Nahuatl (nhn).
852
8c5c2600
BH
8532013-11-01 Bruno Haible <bruno@clisp.org>
854
855 [BZ #7003]
856 * manual/math.texi (BSD Random): Specify range upper bound as
857 in POSIX.
858
da5579c2
CL
8592013-10-31 Chris Leonard <cjl@sugarlabs.org>
860
861 * locale/iso-639.def: Add Meadow Mari (mhr).
862
5d30d853
OB
8632013-10-31 Ondřej Bílka <neleai@seznam.cz>
864
865 [BZ #14752], [BZ #15763]
866 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
867 Validate name.
868 * rt/tst_shm.c: Add test for escaping directory.
869
a4966c61
AS
8702013-10-31 Andreas Schwab <schwab@suse.de>
871
8a43e768 872 [BZ #15917]
a4966c61
AS
873 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
874 followed by 'x' as part of digit sequence.
875 * stdio-common/tst-sscanf.c (double_tests2): New tests.
876
28d708c4
MAP
8772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
878
879 [BZ #16037]
880 * configure.ac: allow GNU Make 4.0 and greater.
881 * configure: Regenerated.
882
a56ee40b
WN
8832013-10-30 Will Newton <will.newton@linaro.org>
884
885 [BZ #16038]
886 * malloc/hooks.c (memalign_check): Limit alignment to the
887 maximum representable power of two.
888 * malloc/malloc.c (__libc_memalign): Likewise.
889 * malloc/tst-memalign.c (do_test): Add test for very
890 large alignment values.
891 * malloc/tst-posix_memalign.c (do_test): Likewise.
892
c6e4925d
OB
8932013-10-30 Ondřej Bílka <neleai@seznam.cz>
894
895 [BZ #11087]
896 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
897 (munmap_chunk): Likewise.
898 (mremap_chunk): Likewise.
899
9002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 901
8a43e768 902 [BZ #15799]
bbea82f7
OB
903 * stdlib/div.c (div): Remove obsolete code.
904 * stdlib/ldiv.c (ldiv): Likewise.
905 * stdlib/lldiv.c (lldiv): Likewise.
906
977f4b31
SP
9072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
908
909 [BZ #16071]
910 * nss/nss_files/files-XXX.c (get_contents_ret): New
911 enumerator.
912 (get_contents): New function.
913 (internal_getent): Use it. Expand size of LINEBUFLEN.
914
cb8a6dbd
MF
9152013-10-30 Mike Frysinger <vapier@gentoo.org>
916
917 * configure.in: Moved to ...
918 * configure.ac: ... here. Change reference to configure.in
919 to configure.ac.
920 * sysdeps/arm/preconfigure.ac: ... here.
921 configure.in to configure.ac.
922 * sysdeps/gnu/configure.in: Moved to ...
923 * sysdeps/gnu/configure.ac: ... here.
924 * sysdeps/i386/configure.in: Moved to ...
925 * sysdeps/i386/configure.ac: ... here.
926 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
927 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
928 * sysdeps/mach/configure.in: Moved to ...
929 * sysdeps/mach/configure.ac: ... here.
930 * sysdeps/mach/hurd/configure.in: Moved to ...
931 * sysdeps/mach/hurd/configure.ac: ... here.
932 * sysdeps/powerpc/configure.in: Moved to ...
933 * sysdeps/powerpc/configure.ac: ... here.
934 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
935 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
936 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
937 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
938 * sysdeps/s390/s390-32/configure.in: Moved to ...
939 * sysdeps/s390/s390-32/configure.ac: ... here.
940 * sysdeps/s390/s390-64/configure.in: Moved to ...
941 * sysdeps/s390/s390-64/configure.ac: ... here.
942 * sysdeps/sh/configure.in: Moved to ...
943 * sysdeps/sh/configure.ac: ... here.
944 * sysdeps/sparc/configure.in: Moved to ...
945 * sysdeps/sparc/configure.ac: ... here.
946 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
947 * sysdeps/unix/sysv/linux/configure.ac: ... here.
948 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
949 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
950 * sysdeps/x86_64/configure.in: Moved to ...
951 * sysdeps/x86_64/configure.ac: ... here.
952 * sysdeps/x86_64/preconfigure.in: Moved to ...
953 * sysdeps/x86_64/preconfigure.ac: ... here.
954 * aclocal.m4: Change reference to configure.in to configure.ac.
955 * config.h.in: Likewise.
956 * manual/install.texi: Likewise.
957 * manual/maint.texi: Likewise.
958 * Makefile: Likewise.
959 * malloc/Makefile: Likewise.
960 * nscd/Makefile: Likewise.
961 * Makeconfig: Change reference to configure.in and
962 preconfigure.in to configure.ac and preconfigure.ac
963 respectively.
964 * INSTALL: Regenerated.
965 * configure: Likewise.
966 * sysdeps/gnu/configure: Likewise.
967 * sysdeps/i386/configure: Likewise.
968 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
969 * sysdeps/mach/configure: Likewise.
970 * sysdeps/mach/hurd/configure: Likewise.
971 * sysdeps/powerpc/configure: Likewise.
972 * sysdeps/powerpc/powerpc32/configure: Likewise.
973 * sysdeps/powerpc/powerpc64/configure: Likewise.
974 * sysdeps/s390/s390-32/configure: Likewise.
975 * sysdeps/s390/s390-64/configure: Likewise.
976 * sysdeps/sh/configure: Likewise.
977 * sysdeps/sparc/configure: Likewise.
978 * sysdeps/unix/sysv/linux/configure: Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
980 * sysdeps/x86_64/configure: Likewise.
981 * sysdeps/x86_64/preconfigure: Likewise.
982
36a4953a
AS
9832013-10-29 Andreas Schwab <schwab@suse.de>
984
985 * stdio-common/Makefile (tst-swscanf-ENV): Define.
986
c79a1204
SP
9872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
988
dfa1b402
SP
989 * benchtests/pow-inputs: Add new inputs.
990
54f73d9c
SP
991 * benchtests/exp-inputs: Add new inputs.
992
c79a1204
SP
993 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
994 conditional check for return value.
995 (__cos32): Likewise.
996
67beb545 9972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
998
999 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1000 to provide a boost for large inputs with word alignment.
1001 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1002 implementation based on optimized PPC64 strcpy.
1003 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1004 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1005 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1006 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1007
151659f6
OB
10082013-10-25 Ondřej Bílka <neleai@seznam.cz>
1009
482a077e 1010 [BZ #2801]
151659f6
OB
1011 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1012
10b0f26b
OB
10132013-10-25 Ondřej Bílka <neleai@seznam.cz>
1014
1015 [BZ #14876]
1016 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1017 * time/tst-strptime.c (day_tests): Add testcase.
1018
ca42d35e
OB
10192013-10-25 Ondřej Bílka <neleai@seznam.cz>
1020
482a077e 1021 [BZ #14029]
ca42d35e
OB
1022 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1023
52e6d801
FB
10242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1025
1026 [BZ #16074]
1027 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1028 MAP_FAILED on error.
1029
7cbcdb36
SP
10302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
1032 [BZ #16072]
1033 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1034 heap for large requests.
1035
894f3f10
AM
10362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1037
1038 [BZ #9954]
1039 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1040 result if the result has no associated interface.
1041 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1042 interface for all 127.X.Y.Z addresses.
1043
b85545a6
CL
10442013-10-24 Chris Leonard <cjl@sugarlabs.org>
1045
1046 * locale/iso-639.def: Add Ligurian (lij)
1047
d1f23d46
OB
10482013-10-21 Ondřej Bílka <neleai@seznam.cz>
1049
1050 [BZ #15825]
1051 * sunrpc/rpc_main.c: Document rpcgen -5.
1052
4db5b08f
MS
10532013-10-19 Michael Stahl <mstahl@redhat.com>
1054
1055 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1056
a471e96a
OB
10572013-10-19 Ondřej Bílka <neleai@seznam.cz>
1058
d1f23d46 1059 [BZ #10278]
a471e96a
OB
1060 * posix/glob.c: Match only directories when trailing slash is present.
1061 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1062 (main): Add testcase.
1063
45c30c61
OB
10642013-10-19 Ondřej Bílka <neleai@seznam.cz>
1065
1066 [BZ #15670]
1067 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1068
484c12fb
CD
10692013-10-18 Carlos O'Donell <carlos@redhat.com>
1070
3d7dc513
CD
1071 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1072 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1073 AUTH_DES and cindex for FIPS 140-2.
1074 (DES Encryption): Add cindex FIPS 46-3.
1075
484c12fb
CD
1076 * locale/locarchive.h (struct locarhandle): Add fname.
1077 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1078 if an optional argument was specified to --list-archive,
1079 otherwise NULL.
1080 * locale/programs/locarchive.c (show_archive_content): Take new
1081 argument fname and pass it via ah.fname to open_archive.
1082 * locale/programs/localedef.h: Update decl.
1083 (open_archive): If AH->fname is non-null, open that file
1084 rather than the default file name, and don't ignore ENOENT.
1085 (create_archive): Set AH.fname to NULL.
1086 (delete_locales_from_archive): Likewise.
1087 (add_locales_to_archive): Likewise.
1088 * locale/programs/locfile.c (write_all_categories): Likewise.
1089
3c8325fb
JM
10902013-10-18 Joseph Myers <joseph@codesourcery.com>
1091 Aldy Hernandez <aldyh@redhat.com>
1092
1093 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1094 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1095 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1096 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1097 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1098 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1101 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1102 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1103 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1104 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1105 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1106 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1107 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1108 Likewise.
1109 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1110 Likewise.
1111 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1112 Likewise.
1113 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1114 Likewise.
1115 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1116 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1117 Likewise.
1118 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1119 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1120 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1121 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1122 Likewise.
1123 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1124 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1125 * sysdeps/powerpc/preconfigure: Likewise.
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1127 Likewise.
1128 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1129 Replace contents of file by #include of <fenv_libc.h>.
1130 * sysdeps/powerpc/soft-fp/sfp-machine.h
1131 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1132 and <sys/prctl.h>.
1133 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1140 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1146 Allow copysignl PLT reference to be missing.
1147
5abe0682
RS
11482013-10-18 Richard Sandiford <richard@codesourcery.com>
1149 Joseph Myers <joseph@codesourcery.com
1150
1151 [BZ #15948]
1152 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1153 single character.
1154 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1155
c7738d08
SP
11562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1157
1158 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1159 * elf/tst-tls1.c: Likewise.
1160 * elf/tst-tls10.h: Likewise.
1161 * elf/tst-tls14.c: Likewise.
1162 * elf/tst-tls2.c: Likewise.
1163 * elf/tst-tls3.c: Likewise.
1164 * elf/tst-tls4.c: Likewise.
1165 * elf/tst-tls5.c: Likewise.
1166 * elf/tst-tls6.c: Likewise.
1167 * elf/tst-tls7.c: Likewise.
1168 * elf/tst-tls8.c: Likewise.
1169 * elf/tst-tls9.c: Likewise.
1170 * elf/tst-tlsmod1.c: Likewise.
1171 * elf/tst-tlsmod13.c: Likewise.
1172 * elf/tst-tlsmod13a.c: Likewise.
1173 * elf/tst-tlsmod14a.c: Likewise.
1174 * elf/tst-tlsmod16a.c: Likewise.
1175 * elf/tst-tlsmod16b.c: Likewise.
1176 * elf/tst-tlsmod2.c: Likewise.
1177 * elf/tst-tlsmod3.c: Likewise.
1178 * elf/tst-tlsmod4.c: Likewise.
1179 * elf/tst-tlsmod5.c: Likewise.
1180 * elf/tst-tlsmod6.c: Likewise.
1181
0bfcf2c7
OB
11822013-10-18 Ondřej Bílka <neleai@seznam.cz>
1183
1184 [BZ #12486]
1185 * malloc/malloc.c: remove checks for statistics.
1186
264aad1e
OB
11872013-10-17 Ondřej Bílka <neleai@seznam.cz>
1188
1189 [BZ #15277]
1190 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1191 * inet/tst-network.c: Add testcase.
1192
b957ced8
AS
11932013-10-17 Andreas Schwab <schwab@suse.de>
1194
1195 [BZ #15218]
1196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1197 to determine canonical name.
1198
c5d5d574
OB
11992013-10-17 Ondřej Bílka <neleai@seznam.cz>
1200
1201 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1202 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1204 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1209 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1212 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1213 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1214 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1220 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1224 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1225 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1226 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1227 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1228 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1229 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1230 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1233 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1235 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1237 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1238 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1239 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1240 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1241 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1242 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1244 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1245 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1259
e5c2c2d0
JM
12602013-10-17 Joseph Myers <joseph@codesourcery.com>
1261
1262 [BZ #16041]
1263 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1264 make result into a quiet NaN.
1265
51ca9e29
JM
12662013-10-16 Joseph Myers <joseph@codesourcery.com>
1267
1268 * soft-fp/adddf3.c: Fix horizontal whitespace.
1269 * soft-fp/addsf3.c: Likewise.
1270 * soft-fp/addtf3.c: Likewise.
1271 * soft-fp/divdf3.c: Likewise.
1272 * soft-fp/divsf3.c: Likewise.
1273 * soft-fp/divtf3.c: Likewise.
1274 * soft-fp/double.h: Likewise.
1275 * soft-fp/eqdf2.c: Likewise.
1276 * soft-fp/eqsf2.c: Likewise.
1277 * soft-fp/eqtf2.c: Likewise.
1278 * soft-fp/extenddftf2.c: Likewise.
1279 * soft-fp/extended.h: Likewise.
1280 * soft-fp/extendsfdf2.c: Likewise.
1281 * soft-fp/extendsftf2.c: Likewise.
1282 * soft-fp/extendxftf2.c: Likewise.
1283 * soft-fp/fixdfdi.c: Likewise.
1284 * soft-fp/fixdfsi.c: Likewise.
1285 * soft-fp/fixdfti.c: Likewise.
1286 * soft-fp/fixsfdi.c: Likewise.
1287 * soft-fp/fixsfsi.c: Likewise.
1288 * soft-fp/fixsfti.c: Likewise.
1289 * soft-fp/fixtfdi.c: Likewise.
1290 * soft-fp/fixtfsi.c: Likewise.
1291 * soft-fp/fixtfti.c: Likewise.
1292 * soft-fp/fixunsdfdi.c: Likewise.
1293 * soft-fp/fixunsdfsi.c: Likewise.
1294 * soft-fp/fixunsdfti.c: Likewise.
1295 * soft-fp/fixunssfdi.c: Likewise.
1296 * soft-fp/fixunssfsi.c: Likewise.
1297 * soft-fp/fixunssfti.c: Likewise.
1298 * soft-fp/fixunstfdi.c: Likewise.
1299 * soft-fp/fixunstfsi.c: Likewise.
1300 * soft-fp/fixunstfti.c: Likewise.
1301 * soft-fp/floatdidf.c: Likewise.
1302 * soft-fp/floatdisf.c: Likewise.
1303 * soft-fp/floatditf.c: Likewise.
1304 * soft-fp/floatsidf.c: Likewise.
1305 * soft-fp/floatsisf.c: Likewise.
1306 * soft-fp/floatsitf.c: Likewise.
1307 * soft-fp/floattidf.c: Likewise.
1308 * soft-fp/floattisf.c: Likewise.
1309 * soft-fp/floattitf.c: Likewise.
1310 * soft-fp/floatundidf.c: Likewise.
1311 * soft-fp/floatundisf.c: Likewise.
1312 * soft-fp/floatunditf.c: Likewise.
1313 * soft-fp/floatunsidf.c: Likewise.
1314 * soft-fp/floatunsisf.c: Likewise.
1315 * soft-fp/floatunsitf.c: Likewise.
1316 * soft-fp/floatuntidf.c: Likewise.
1317 * soft-fp/floatuntisf.c: Likewise.
1318 * soft-fp/floatuntitf.c: Likewise.
1319 * soft-fp/fmadf4.c: Likewise.
1320 * soft-fp/fmasf4.c: Likewise.
1321 * soft-fp/fmatf4.c: Likewise.
1322 * soft-fp/gedf2.c: Likewise.
1323 * soft-fp/gesf2.c: Likewise.
1324 * soft-fp/getf2.c: Likewise.
1325 * soft-fp/ledf2.c: Likewise.
1326 * soft-fp/lesf2.c: Likewise.
1327 * soft-fp/letf2.c: Likewise.
1328 * soft-fp/muldf3.c: Likewise.
1329 * soft-fp/mulsf3.c: Likewise.
1330 * soft-fp/multf3.c: Likewise.
1331 * soft-fp/negdf2.c: Likewise.
1332 * soft-fp/negsf2.c: Likewise.
1333 * soft-fp/negtf2.c: Likewise.
1334 * soft-fp/op-1.h: Likewise.
1335 * soft-fp/op-2.h: Likewise.
1336 * soft-fp/op-4.h: Likewise.
1337 * soft-fp/op-8.h: Likewise.
1338 * soft-fp/op-common.h: Likewise.
1339 * soft-fp/quad.h: Likewise.
1340 * soft-fp/single.h: Likewise.
1341 * soft-fp/soft-fp.h: Likewise.
1342 * soft-fp/sqrtdf2.c: Likewise.
1343 * soft-fp/sqrtsf2.c: Likewise.
1344 * soft-fp/sqrttf2.c: Likewise.
1345 * soft-fp/subdf3.c: Likewise.
1346 * soft-fp/subsf3.c: Likewise.
1347 * soft-fp/subtf3.c: Likewise.
1348 * soft-fp/truncdfsf2.c: Likewise.
1349 * soft-fp/trunctfdf2.c: Likewise.
1350 * soft-fp/trunctfsf2.c: Likewise.
1351 * soft-fp/trunctfxf2.c: Likewise.
1352 * soft-fp/unorddf2.c: Likewise.
1353 * soft-fp/unordsf2.c: Likewise.
1354 * soft-fp/unordtf2.c: Likewise.
1355
9ebb0332
JM
13562013-10-15 Joseph Myers <joseph@codesourcery.com>
1357
1358 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1359 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1360
4b1a6d8b
OB
13612013-10-15 Ondřej Bílka <neleai@seznam.cz>
1362
1363 * elf/dl-libc.c: Clear initfini list after freeing.
1364
1e145589
JM
13652013-10-14 Joseph Myers <joseph@codesourcery.com>
1366
1367 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1368 * soft-fp/addsf3.c: Likewise.
1369 * soft-fp/addtf3.c: Likewise.
1370 * soft-fp/divdf3.c: Likewise.
1371 * soft-fp/divsf3.c: Likewise.
1372 * soft-fp/divtf3.c: Likewise.
1373 * soft-fp/double.h: Likewise.
1374 * soft-fp/eqdf2.c: Likewise.
1375 * soft-fp/eqsf2.c: Likewise.
1376 * soft-fp/eqtf2.c: Likewise.
1377 * soft-fp/extenddftf2.c: Likewise.
1378 * soft-fp/extended.h: Likewise.
1379 * soft-fp/extendsfdf2.c: Likewise.
1380 * soft-fp/extendsftf2.c: Likewise.
1381 * soft-fp/extendxftf2.c: Likewise.
1382 * soft-fp/fixdfdi.c: Likewise.
1383 * soft-fp/fixdfsi.c: Likewise.
1384 * soft-fp/fixdfti.c: Likewise.
1385 * soft-fp/fixsfdi.c: Likewise.
1386 * soft-fp/fixsfsi.c: Likewise.
1387 * soft-fp/fixsfti.c: Likewise.
1388 * soft-fp/fixtfdi.c: Likewise.
1389 * soft-fp/fixtfsi.c: Likewise.
1390 * soft-fp/fixtfti.c: Likewise.
1391 * soft-fp/fixunsdfdi.c: Likewise.
1392 * soft-fp/fixunsdfsi.c: Likewise.
1393 * soft-fp/fixunsdfti.c: Likewise.
1394 * soft-fp/fixunssfdi.c: Likewise.
1395 * soft-fp/fixunssfsi.c: Likewise.
1396 * soft-fp/fixunssfti.c: Likewise.
1397 * soft-fp/fixunstfdi.c: Likewise.
1398 * soft-fp/fixunstfsi.c: Likewise.
1399 * soft-fp/fixunstfti.c: Likewise.
1400 * soft-fp/floatdidf.c: Likewise.
1401 * soft-fp/floatdisf.c: Likewise.
1402 * soft-fp/floatditf.c: Likewise.
1403 * soft-fp/floatsidf.c: Likewise.
1404 * soft-fp/floatsisf.c: Likewise.
1405 * soft-fp/floatsitf.c: Likewise.
1406 * soft-fp/floattidf.c: Likewise.
1407 * soft-fp/floattisf.c: Likewise.
1408 * soft-fp/floattitf.c: Likewise.
1409 * soft-fp/floatundidf.c: Likewise.
1410 * soft-fp/floatundisf.c: Likewise.
1411 * soft-fp/floatunsidf.c: Likewise.
1412 * soft-fp/floatunsisf.c: Likewise.
1413 * soft-fp/floatuntidf.c: Likewise.
1414 * soft-fp/floatuntisf.c: Likewise.
1415 * soft-fp/floatuntitf.c: Likewise.
1416 * soft-fp/fmadf4.c: Likewise.
1417 * soft-fp/fmasf4.c: Likewise.
1418 * soft-fp/fmatf4.c: Likewise.
1419 * soft-fp/gedf2.c: Likewise.
1420 * soft-fp/gesf2.c: Likewise.
1421 * soft-fp/getf2.c: Likewise.
1422 * soft-fp/ledf2.c: Likewise.
1423 * soft-fp/lesf2.c: Likewise.
1424 * soft-fp/letf2.c: Likewise.
1425 * soft-fp/muldf3.c: Likewise.
1426 * soft-fp/mulsf3.c: Likewise.
1427 * soft-fp/multf3.c: Likewise.
1428 * soft-fp/negdf2.c: Likewise.
1429 * soft-fp/negsf2.c: Likewise.
1430 * soft-fp/negtf2.c: Likewise.
1431 * soft-fp/op-1.h: Likewise.
1432 * soft-fp/op-2.h: Likewise.
1433 * soft-fp/op-4.h: Likewise.
1434 * soft-fp/op-8.h: Likewise.
1435 * soft-fp/op-common.h: Likewise.
1436 * soft-fp/quad.h: Likewise.
1437 * soft-fp/single.h: Likewise.
1438 * soft-fp/soft-fp.h: Likewise.
1439 * soft-fp/sqrtdf2.c: Likewise.
1440 * soft-fp/sqrtsf2.c: Likewise.
1441 * soft-fp/sqrttf2.c: Likewise.
1442 * soft-fp/subdf3.c: Likewise.
1443 * soft-fp/subsf3.c: Likewise.
1444 * soft-fp/subtf3.c: Likewise.
1445 * soft-fp/truncdfsf2.c: Likewise.
1446 * soft-fp/trunctfdf2.c: Likewise.
1447 * soft-fp/trunctfsf2.c: Likewise.
1448 * soft-fp/trunctfxf2.c: Likewise.
1449 * soft-fp/unorddf2.c: Likewise.
1450 * soft-fp/unordsf2.c: Likewise.
1451 * soft-fp/unordtf2.c: Likewise.
1452
17c48a60
OB
14532013-10-14 Ondřej Bílka <neleai@seznam.cz>
1454
1455 [BZ #15672]
1456 * misc/error.c (error_tail): Fix possible buffer overflow.
1457
cabba934
OB
14582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1459
1460 [BZ #13028]
1461 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1462 address.
1463
94bf958a
PM
14642013-10-14 P. J. McDermott <pj@pehjota.net>
1465
1466 [BZ #832]
1467 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1468 testing pipefail option.
1469
71b4dea7
JM
14702013-10-12 Joseph Myers <joseph@codesourcery.com>
1471
1472 * soft-fp/double.h: Indent preprocessor directives inside #if.
1473 * soft-fp/extended.h: Likewise.
1474 * soft-fp/op-2.h: Likewise.
1475 * soft-fp/op-4.h: Likewise.
1476 * soft-fp/op-common.h: Likewise.
1477 * soft-fp/quad.h: Likewise.
1478 * soft-fp/single.h: Likewise.
1479 * soft-fp/soft-fp.h: Likewise.
1480
55602758
YC
14812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1482
1483 * iconv/iconv_prog.c: Fix typos.
1484 * stdio-common/psiginfo-data.h: Likewise.
1485
9cd83302
RT
14862013-10-12 Reuben Thomas <rrt@sc3d.org>
1487
1488 [BZ #15764]
1489 * locale/setlocale.c: Fix typo.
1490
99fd9f47
JM
14912013-10-12 Joseph Myers <joseph@codesourcery.com>
1492
b7ea74f0
JM
1493 [BZ #16036]
1494 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1495 signaling NaN arguments.
1496 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1497 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1498
8a509447
JM
1499 [BZ #14910]
1500 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1501 unordered operands.
1502 * soft-fp/gesf2.c (__gesf2): Likewise.
1503 * soft-fp/getf2.c (__getf2): Likewise.
1504 * soft-fp/ledf2.c (__ledf2): Likewise.
1505 * soft-fp/lesf2.c (__lesf2): Likewise.
1506 * soft-fp/letf2.c (__letf2): Likewise.
1507
98998e9f
JM
1508 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1509 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1510 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1511 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1512 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1513 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1514 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1515 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1516 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1517 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1518 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1519 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1520 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1521 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1522 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1523 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1524 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1525 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1526 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1527 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1528 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1529 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1530 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1531 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1532 * soft-fp/floattidf.c (__floattidf): Likewise.
1533 * soft-fp/floattisf.c (__floattisf): Likewise.
1534 * soft-fp/floattitf.c (__floattitf): Likewise.
1535 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1536 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1537 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1538 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1539 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1540 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1541 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1542 * soft-fp/gesf2.c (__gesf2): Likewise.
1543 * soft-fp/getf2.c (__getf2): Likewise.
1544 * soft-fp/ledf2.c (__ledf2): Likewise.
1545 * soft-fp/lesf2.c (__lesf2): Likewise.
1546 * soft-fp/letf2.c (__letf2): Likewise.
1547
8edc4a11
JM
1548 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1549 Undefine and redefine.
1550 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1551 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1552 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1553 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1554 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1555 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1556 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1557 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1558 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1559 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1560 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1561 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1562 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1563 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1564 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1565
8399acaf
JM
1566 [BZ #16032]
1567 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1568 without decrementing exponent if mantissa >= that for the
1569 denominator, not >.
1570 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1571 denominator, not >. Decrement exponent in < case instead of
1572 incrementing in >= case.
1573 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1574 without decrementing exponent if mantissa >= that for the
1575 denominator, not >.
1576
99fd9f47
JM
1577 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1578 computing saturated result for unsigned overflow.
1579
10e1cf6b
SP
15802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 Jeff Law <law@redhat.com>
1582
1583 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1584 (atan2Mp): Add systemtap probe marker.
1585 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1586 (__ieee754_log): Add systemtap probe marker.
1587 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1588 (atanMp): Add systemtap probe marker.
1589 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1590 (tanMp): Add systemtap probe marker.
1591 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1592 (__slowexp): Add systemtap probe marker.
1593 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1594 (__slowpow): Add systemtap probe marker.
1595 * manual/probes.texi: Document probes.
1596
3d110c7c
EB
15972013-10-11 Eric Biggers <ebiggers3@gmail.com>
1598
1599 [BZ #15362]
1600 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1601 written.
1602 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1603 written.
1604 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1605 written to buffer but not flushed.
1606 * libio/iofwrite_u.c: Likewise.
1607 * libio/iopadn.c: Return bytes returned even if EOF was
1608 encountered.
1609 * libio/iowpadn.c: Likewise.
1610 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1611 if _IO_padn does not write the whole buffer.
1612 [!COMPILE_WPRINTF] (PAD): Likewise.
1613
75b4202a
DM
16142013-10-10 David S. Miller <davem@davemloft.net>
1615
1616 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1617 directory block.
1618
6c6352e6
JM
16192013-10-10 Joseph Myers <joseph@codesourcery.com>
1620
33b853c3
JM
1621 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1622 instead of FSF address.
1623 * soft-fp/fixdfti.c: Likewise.
1624 * soft-fp/fixsfti.c: Likewise.
1625 * soft-fp/fixtfti.c: Likewise.
1626 * soft-fp/fixunsdfti.c: Likewise.
1627 * soft-fp/fixunssfti.c: Likewise.
1628 * soft-fp/fixunstfti.c: Likewise.
1629 * soft-fp/floattidf.c: Likewise.
1630 * soft-fp/floattisf.c: Likewise.
1631 * soft-fp/floattitf.c: Likewise.
1632 * soft-fp/floatuntidf.c: Likewise.
1633 * soft-fp/floatuntisf.c: Likewise.
1634 * soft-fp/floatuntitf.c: Likewise.
1635 * soft-fp/trunctfxf2.c: Likewise.
1636
6c6352e6
JM
1637 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1638 * soft-fp/fixdfti.c: Likewise.
1639 * soft-fp/fixsfti.c: Likewise.
1640 * soft-fp/fixtfti.c: Likewise.
1641 * soft-fp/fixunsdfti.c: Likewise.
1642 * soft-fp/fixunssfti.c: Likewise.
1643 * soft-fp/fixunstfti.c: Likewise.
1644 * soft-fp/floattidf.c: Likewise.
1645 * soft-fp/floattisf.c: Likewise.
1646 * soft-fp/floattitf.c: Likewise.
1647 * soft-fp/floatuntidf.c: Likewise.
1648 * soft-fp/floatuntisf.c: Likewise.
1649 * soft-fp/floatuntitf.c: Likewise.
1650 * soft-fp/trunctfxf2.c: Likewise.
1651
3bf78b71
DM
16522013-10-10 David S. Miller <davem@davemloft.net>
1653
1654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1655
6f10289e
JM
16562013-10-10 Joseph Myers <joseph@codsourcery.com>
1657
bd878fc0
JM
1658 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1659 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1660 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1661 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1662 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1663 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1664 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1665
6f10289e
JM
1666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1667 for NaNs before doing comparisons on argument.
1668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1669 Likewise.
1670
321e2684
WN
16712013-10-10 Will Newton <will.newton@linaro.org>
1672
1673 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1674 passed to _int_memalign does not overflow.
1675
40fefba1
TR
16762013-10-10 Torvald Riegel <triegel@redhat.com>
1677
1678 * scripts/bench.pl: Add include-sources directive.
1679 * benchtests/README: Update documentation.
1680
2ae21ed2
JM
16812013-10-10 Joseph Myers <joseph@codesourcery.com>
1682
dcc2dd3f
JM
1683 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1684 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1685 instead of FP_INIT_ROUNDMODE.
1686 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1687 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1688
2ae21ed2
JM
1689 [BZ #16034]
1690 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1691 copy class of input value.
1692 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1693 not handle exceptions.
1694 * soft-fp/negsf2.c (__negsf2): Likewise.
1695 * soft-fp/negtf2.c (__negtf2): Likewise.
1696 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1697
cb8f9562
JM
16982013-10-09 Joseph Myers <joseph@codesourcery.com>
1699
1700 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1701 semicolon. From Linux kernel.
1702
5b60c59d
AB
17032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1704
1705 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1706
b86835ca
YC
17072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1708
1709 [BZ #156]
1710 * manual/socket.texi: Added statement about buffer
1711 for gethostbyname2_r.
1712
e7044ea7
OB
17132013-10-08 Ondřej Bílka <neleai@seznam.cz>
1714
1715 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1716 Use .p2align directive instead, throughout.
1717 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1718 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1719 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1722 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1723 * sysdeps/x86_64/strchr.S: Likewise.
1724 * sysdeps/x86_64/strrchr.S: Likewise.
1725
09544cbc
SP
17262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1727
88576635
SP
1728 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1729
e7b2d1dd
SP
1730 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1731
09544cbc
SP
1732 * sysdeps/generic/math_private.h (__mpsin1): Remove
1733 declaration.
1734 (__mpcos1): Likewise.
1735 (__mpsin): New argument __range_reduce.
1736 (__mpcos): Likewise.
1737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1738 (slow): Use __mpsin and __mpcos.
1739 (slow1): Likewise.
1740 (slow2): Likewise.
1741 (sloww): Likewise.
1742 (sloww1): Likewise.
1743 (sloww2): Likewise.
1744 (bsloww): Likewise.
1745 (bsloww1): Likewise.
1746 (bsloww2): Likewise.
1747 (cslow2): Likewise.
1748 (csloww): Likewise.
1749 (csloww1): Likewise.
1750 (csloww2): Likewise.
1751 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1752 range_reduce. Merge in __mpsin1.
1753 (__mpcos): Likewise.
1754 (__mpsin1): Remove.
1755 (__mpcos1): Likewise.
1756
7602d070
JM
17572013-10-07 Joseph Myers <joseph@codesourcery.com>
1758
1759 * locale/loadlocale.c (_nl_intern_locale_data): Use
1760 LOCFILE_ALIGNED_P.
1761 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1762 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1763 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1764 obstack data is appropriately aligned.
1765 (obstack_int32_grow_fast): Likewise.
1766 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1767 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1768 (add_locale_uint32_array): Likewise.
1769
a357259b
SP
17702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1771
1772 * benchtests/Makefile: Remove ARGLIST and RET variables.
1773 ($(objpfx)bench-%.c): Pass only function name to the script.
1774 * benchtests/README: Update documentation.
1775 * benchtests/acos-inputs: Add new directives.
1776 * benchtests/acosh-inputs: Likewise.
1777 * benchtests/asin-inputs: Likewise.
1778 * benchtests/asinh-inputs: Likewise.
1779 * benchtests/atan-inputs: Likewise.
1780 * benchtests/atanh-inputs: Likewise.
1781 * benchtests/cos-inputs: Likewise.
1782 * benchtests/cosh-inputs: Likewise.
1783 * benchtests/exp-inputs: Likewise.
1784 * benchtests/log-inputs: Likewise.
1785 * benchtests/pow-inputs: Likewise.
1786 * benchtests/rint-inputs: Likewise.
1787 * benchtests/sin-inputs: Likewise.
1788 * benchtests/sinh-inputs: Likewise.
1789 * benchtests/tan-inputs: Likewise.
1790 * benchtests/tanh-inputs: Likewise.
1791 * scripts/bench.pl: Add support for new directives.
1792
9ec1b13d
AM
17932013-10-07 Alan Modra <amodra@gmail.com>
1794
1795 * README: Fix careless merge.
1796
8b7d57cd
AM
17972013-10-05 Alan Modra <amodra@gmail.com>
1798
1799 * NEWS: Mention powerpc64le support and bugs fixed.
1800 * README: Both big-endian and little-endian powerpc64 supported.
1801
7b7bab13
ST
18022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1803
1804 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1805 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1806 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1807 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1808
d39baad1
RA
18092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1810
1811 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1812 match prototype.
1813
cd78f7e7
JM
18142013-10-04 Joseph Myers <joseph@codesourcery.com>
1815
29d73d86
JM
1816 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1817 Move -mhard-float appending from
1818 ports/sysdeps/powerpc/powerpc32/Makefile.
1819 [$(with-fp) = yes] (ASFLAGS): Likewise.
1820 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1821 * sysdeps/powerpc/nofpu: Move directory from
1822 ports/sysdeps/powerpc/nofpu.
1823 * sysdeps/powerpc/soft-fp: Move directory from
1824 ports/sysdeps/powerpc/soft-fp.
1825 * sysdeps/powerpc/powerpc32/405: Move directory from
1826 ports/sysdeps/powerpc/powerpc32/405.
1827 * sysdeps/powerpc/powerpc32/440: Move directory from
1828 ports/sysdeps/powerpc/powerpc32/440.
1829 * sysdeps/powerpc/powerpc32/464: Move directory from
1830 ports/sysdeps/powerpc/powerpc32/464.
1831 * sysdeps/powerpc/powerpc32/476: Move directory from
1832 ports/sysdeps/powerpc/powerpc32/476.
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1834 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1836 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1838 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1840 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1842 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1843 * README: Update for powerpc-*-linux-gnu software floating point
1844 support in libc.
1845
e246b347
JM
1846 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1847 case to powerpc/powerpc32*.
1848 * sysdeps/unix/sysv/linux/configure: Regenerated.
1849
89c2003e
JM
1850 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1851 (_FPU_MASK_OM): Define as 0x04.
1852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1854 0x00c10080.
1855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1856 0x0000003c.
1857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1858
cd78f7e7
JM
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1860 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1861 getcontext_e500.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1863 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1864 setcontext_e500.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1866 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1867 and setcontext_e500.
1868
c755294d
CL
18692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1870
1871 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1872
e16d221c
SP
18732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 * manual/threads.texi (Default Thread Attributes): Fix typo.
1876
215c7d43
WN
18772013-10-04 Will Newton <will.newton@linaro.org>
1878
1879 * malloc/Makefile: Add tst-memalign.
1880 * malloc/tst-memalign.c: New file.
1881
27d0461b
WN
1882 * malloc/tst-posix_memalign.c: Add comments.
1883 (do_test): Add comments and call free on all potentially
1884 allocated pointers. Add space after cast.
1885
1bc92709
WN
1886 * malloc/tst-pvalloc.c: Add comments.
1887 (do_test): Add comments and call free on all potentially
1888 allocated pointers. Remove duplicate check for NULL pointer.
1889 Add space after cast.
1890
66a9be9d
WN
1891 * malloc/tst-valloc.c: Add comments.
1892 (do_test): Add comments and call free on all potentially
1893 allocated pointers. Remove duplicate check for NULL pointer.
1894 Add space after cast.
1895
4cb81307
AM
18962013-10-04 Alan Modra <amodra@gmail.com>
1897
1898 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1899 Use stdint types in rather than __attribute__((mode())).
1900 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1901
f8e3e9f3
AM
19022013-10-04 Alan Modra <amodra@gmail.com>
1903
1904 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1905 Correct handling of unaligned relocs for little-endian.
1906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1907
8f9ebb08
AM
19082013-10-04 Alan Modra <amodra@gmail.com>
1909
1910 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1911 * configure: Regenerate.
1912 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1913 * shlib-versions: Likewise.
1914
0edf96c2
AM
19152013-10-04 Alan Modra <amodra@gmail.com>
1916
1917 * string/tester.c (test_memrchr): Increment reported test cycle.
1918
e0f7a380
AM
19192013-10-04 Alan Modra <amodra@gmail.com>
1920
1921 * string/test-memcpy.c (do_one_test): When reporting errors, print
1922 string address and don't overrun end of string.
1923
466b0393
AM
19242013-10-04 Alan Modra <amodra@gmail.com>
1925
1926 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1927 insrdi. Make better use of reg selection to speed exit slightly.
1928 Schedule entry path a little better. Remove useless "are we done"
1929 checks on entry to main loop. Handle wrapping around zero address.
1930 Correct main loop count. Handle single left-over word from main
1931 loop inline rather than by using loop_small. Remove extra word
1932 case in loop_small caused by wrong loop count. Add little-endian
1933 support.
1934 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1936 cache hint.
1937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1938 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1939 support. Avoid rlwimi.
1940 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1941
3be87c77
AM
19422013-10-04 Alan Modra <amodra@gmail.com>
1943
1944 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1945 insrdi. Formatting.
3be87c77
AM
1946 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1947 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1948 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1949 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1950 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1951 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1952
759cfef3
AM
19532013-10-04 Alan Modra <amodra@gmail.com>
1954
1955 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1956 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1957 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1958 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1959 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1960 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1962 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1963 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1964 use of regs. Use power7 mtocrf. Tidy function tails.
1965
fe6e95d7
AM
19662013-10-04 Alan Modra <amodra@gmail.com>
1967
1968 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1969 Formatting. Consistently use rXXX register defines or rN defines.
1970 Use early exit labels that avoid restoring unused non-volatile regs.
1971 Make cr field use more consistent with rWORDn compares. Rename
1972 regs used as shift registers for unaligned loop, using rN defines
1973 for short lifetime/multiple use regs.
1974 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1975 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1976 addi 1,1,64 to pop stack frame. Simplify return value code.
1977 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1978
664318c3
AM
19792013-10-04 Alan Modra <amodra@gmail.com>
1980
1981 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1982 support. Correct typos, formatting. Optimize tail. Use insrdi
1983 rather than rlwimi.
1984 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1985 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1986 little-endian support. Correct typos.
1987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1988 rather than rlwimi.
1989 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1990 in loop and entry code to keep "and." results.
1991 (strchr): Add little-endian support. Comment. Move cntlzd
1992 earlier in tail.
1993 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1994
43b84013
AM
19952013-10-04 Alan Modra <amodra@gmail.com>
1996
1997 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1998 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2000 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2001
8a7413f9
AM
20022013-10-04 Alan Modra <amodra@gmail.com>
2003
2004 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2005 (rTMP): Define as r11.
2006 (strcmp): Add little-endian support. Optimise tail.
2007 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2008 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2009 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2010 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2011 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2014
33ee81de
AM
20152013-10-04 Alan Modra <amodra@gmail.com>
2016
2017 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2018 little-endian support. Remove unnecessary "are we done" tests.
2019 Handle "s" wrapping around zero and extremely large "size".
2020 Correct main loop count. Handle single left-over word from main
2021 loop inline rather than by using small_loop. Correct comments.
2022 Delete "zero" tail, use "end_max" instead.
2023 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2024
db9b4570
AM
20252013-10-04 Alan Modra <amodra@gmail.com>
2026
2027 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2028 support. Don't branch over align.
2029 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2030 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2031 support. Rearrange tmp reg use to suit. Comment.
2032 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2033
f7c399cf
AM
20342013-10-04 Alan Modra <amodra@gmail.com>
2035
2036 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2037
0b2c2ace
AM
20382013-10-04 Alan Modra <amodra@gmail.com>
2039
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2041 conditional form of branch and link when obtaining pc.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2043
02f04a6c
AM
20442013-10-04 Alan Modra <amodra@gmail.com>
2045
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2047 HIWORD/LOWORD.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2050
9b874b2f
AM
20512013-10-04 Alan Modra <amodra@gmail.com>
2052
2053 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2054 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2055 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2057 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2058 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2059 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2062 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2063
be1e5d31
AB
20642013-10-04 Anton Blanchard <anton@au1.ibm.com>
2065 Alistair Popple <alistair@ozlabs.au.ibm.com>
2066 Alan Modra <amodra@gmail.com>
2067
2068 [BZ #15723]
2069 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2070 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2071 _dl_hwcap access for little-endian.
2072 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2073 destroy vmx regs when saving unaligned.
2074 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2075 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2076 destroy vmx regs when saving unaligned.
2077
fef13a78
AM
20782013-10-04 Alan Modra <amodra@gmail.com>
2079
2080 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2081 Don't use a union to pack hi/low value.
2082
76a66d51
AB
20832013-10-04 Anton Blanchard <anton@au1.ibm.com>
2084
2085 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2086 for little-endian.
2087 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2089 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2090 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2091 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2092
6a31fe7f
AM
20932013-10-04 Alan Modra <amodra@gmail.com>
2094
2095 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2096 constants to usual value for .cst8 section, and remove redundant
2097 high address load.
2098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2099 constant for 0x1p52. Load little-endian words of double from
2100 correct stack offsets.
2101
7b88401f
AM
21022013-10-04 Alan Modra <amodra@gmail.com>
2103
2104 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2105 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2106 words of double from correct stack offsets.
2107 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2108 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2109 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2113 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2114 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2115 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2119 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2120 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2121 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2122 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2123 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2124
9c008155
AM
21252013-10-04 Alan Modra <amodra@gmail.com>
2126
2127 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2128 64-bit int/double union.
2129 (_FPU_SETCW): Likewise.
2130 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2131 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2132
da13146d
AM
21332013-10-04 Alan Modra <amodra@gmail.com>
2134
2135 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2136 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2137
603e8410
AM
21382013-10-04 Alan Modra <amodra@gmail.com>
2139
2140 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2141 use vector int constants.
2142 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2143
4a28b3ca
AB
21442013-10-04 Anton Blanchard <anton@au1.ibm.com>
2145
2146 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2147 array with long long.
2148 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2149 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2150 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2151 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2152 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2153 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2154 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2155 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2156 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2157 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2158 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2159 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2160 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2161
2ca85d2b
AB
21622013-10-04 Anton Blanchard <anton@au1.ibm.com>
2163
2164 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2165 (__signbit): Likewise. Correct for little-endian.
2166 (__signbitl): Call __signbit.
2167 (lrint): Correct for little-endian.
2168 (lrintf): Call lrint.
2169
62a728ae
AM
21702013-10-04 Alan Modra <amodra@gmail.com>
2171
2172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2173 union 32-bit int array member with 64-bit int array.
2174 (t515, tm256): Double rather than long double.
2175 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2176
32c301df
AM
21772013-10-04 Alan Modra <amodra@gmail.com>
2178
2179 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2180 Delete.
2181 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2183 version of math_ldbl.h.
2184
650ef4bd
AM
21852013-10-04 Alan Modra <amodra@gmail.com>
2186
2187 [BZ #15734], [BZ #15735]
2188 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2189 all uses of ieee875 long double macros and unions. Simplify test
2190 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2191 ldbl_extract_mantissa value for ix,iy exponents. Properly
2192 normalize after ldbl_extract_mantissa, and don't add hidden bit
2193 already handled. Don't treat low word of ieee854 mantissa like
2194 low word of IBM long double and mask off bit when testing for
2195 zero.
2196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2197 all uses of ieee875 long double macros and unions. Simplify tests
2198 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2199 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2200 two1022, instead use their values. Recognise that tests for large
2201 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2203 Rewrite all uses of ieee875 long double macros and unions. Simplify
2204 test for 0.0L and nan. Correct negation.
2205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2206 ieee875 long double macros and unions. Correct output for large
2207 magnitude x. Correct absolute value calculation.
2208 (__erfcl): Likewise.
2209 * math/libm-test.inc: Add tests for errors discovered in IBM long
2210 double versions of fmodl, remainderl, erfl and erfcl.
2211
765714ca
AM
22122013-10-04 Alan Modra <amodra@gmail.com>
2213
2214 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2215 all uses of ieee854 long double macros and unions. Simplify tests
2216 for long doubles that are fully specified by the high double.
2217 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2218 Likewise.
2219 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2220 Remove dead code too.
2221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2222 (__ieee754_ynl): Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2226 Remove dead code too.
2227 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2228 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2229 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2230 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2231 Simplify.
2232 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2233 Simplify.
2234 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2235 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2237 Comment on variable precision.
2238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2240 Likewise.
2241 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2245 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2246
4ebd120c
AM
22472013-10-04 Alan Modra <amodra@gmail.com>
2248
2249 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2250 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2251 all uses of ieee854 long double macros and unions.
2252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2258 Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2265 Simplify sign and nan test too.
2266 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2269 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2270 Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2273 Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2280
1b6adf88
AM
22812013-10-04 Alan Modra <amodra@gmail.com>
2282
2283 * stdio-common/printf_size.c (__printf_size): Don't use
2284 union ieee854_long_double in fpnum union.
2285 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2286 signbit macro to retrieve sign from long double.
2287 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2288 retrieve sign from long double.
2289 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2290 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2291 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2292 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2293 * math/test-misc.c (main): Don't use union ieee854_long_double.
2294
4cf69995
AM
22952013-10-04 Alan Modra <amodra@gmail.com>
2296
2297 [BZ #15680]
2298 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2299 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2300 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2301 calculation. Remove unnecessary test for denormal exponent.
2302 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2303 Correct handling of denormals. Avoid undefined shift behaviour.
2304 Correct normalisation of low mantissa when low double is denormal.
2305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2306 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2307 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2308 Correct normalisation of low mantissa. Test for overflow of high
2309 mantissa and normalise.
2310 (ldbl_nearbyint): Use more readable constant for two52.
2311 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2312 (__mpn_construct_long_double): Fix test for overflow of high
2313 mantissa and correct normalisation. Avoid undefined shift.
2314
9605ca6c
AM
23152013-10-04 Alan Modra <amodra@gmail.com>
2316
2317 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2318 (union ibm_extended_long_double): Define as an array of ieee754_double.
2319 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2320 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2321 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2322 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2326 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2330
975569d0
JM
23312013-10-03 Joseph Myers <joseph@codesourcery.com>
2332
d3d23756
JM
2333 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2334 page size instead of calling getpagesize.
2335
975569d0
JM
2336 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2337 (LOCFILE_ALIGN_MASK): Likewise.
2338 (LOCFILE_ALIGN_UP): Likewise.
2339 (LOCFILE_ALIGNED_P): Likewise.
2340 * locale/programs/ld-collate.c (collate_output): Use the new
2341 macros instead of __alignof__ (int32_t).
2342 * locale/weight.h (findidx): Likewise.
2343
b1fe1f2b
OB
23442013-10-03 Ondřej Bílka <neleai@seznam.cz>
2345
2346 [BZ #431]
2347 * manual/string.texi: Fix strncat and wcsncat.
2348
5f855e35
BM
23492013-10-03 Brooks Moses <bmoses@google.com>
2350
2351 [BZ #15915]
2352 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2353 * Makerules: ...here, and adjust associated comments.
2354
3cef6009
WN
23552013-10-02 Will Newton <will.newton@linaro.org>
2356
2357 * malloc/Makefile: Add tst-pvalloc.
2358 * malloc/tst-pvalloc.c: New file.
2359
7815420b
WN
23602013-10-02 Will Newton <will.newton@linaro.org>
2361
2362 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2363 improve test coverage.
2364
4868b204
WN
23652013-10-02 Will Newton <will.newton@linaro.org>
2366
2367 * malloc/Makefile: Add tst-posix_memalign.
2368 * malloc/tst-posix_memalign.c: New file.
2369
29c793b3
EB
23702013-10-01 Eric Blake <eblake@redhat.com>
2371
2372 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2373 Use __THROWNL rather than __THROW on static functions.
2374
fd967522
PM
23752013-09-30 Petr Machata <pmachata@redhat.com>
2376
2377 * elf/elf.h (R_AARCH64_ABS16): New macro.
2378 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2379 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2380 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2381 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2382 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2383 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2384 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2385 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2386 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2387 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2388 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2389 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2390 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2391 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2392 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2393 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2394 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2395 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2396 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2397 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2398 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2399 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2400 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2401 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2402 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2403 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2404 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2405 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2406 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2407 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2408 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2409 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2410 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2411 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2412 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2413 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2414 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2415 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2416 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2417 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2418 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2419 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2420 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2421 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2422 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2423 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2424 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2425 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2426 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2427 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2428 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2429 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2430 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2431 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2432 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2433 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2434 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2435 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2436 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2437 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2438 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2439 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2440 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2441 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2442 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2443 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2444 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2445 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2446 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2447 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2448 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2449 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2450 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2451 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2452 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2453 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2454 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2455 (R_AARCH64_TLSDESC_LDR): Likewise.
2456 (R_AARCH64_TLSDESC_ADD): Likewise.
2457 (R_AARCH64_TLSDESC_CALL): Likewise.
2458
b2179107
AS
24592013-09-30 Andreas Schwab <schwab@suse.de>
2460
2461 [BZ #15048]
2462 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2463 the nss database lookup.
2464 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2466
47f28d0a
MF
24672013-09-28 Mike Frysinger <vapier@gentoo.org>
2468
2469 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2470
24712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2472
2473 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2474 ${Bash-specific parameter/pattern/string} parameter expansion.
2475 * sysdeps/unix/make-syscalls.sh: Likewise.
2476
f4518a17
KK
24772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2478
2479 * sysdeps/sh/stackguard-macros.h: New file.
2480
dc1a95c7
OB
24812013-09-26 Ondřej Bílka <neleai@seznam.cz>
2482
2483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2485 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2486 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2487 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2488 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2489
5ebbff8f
AZ
24902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2491
2492 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2493 Fix thread ID register.
2494
4fd2cf9f
JM
24952013-09-25 Joseph Myers <joseph@codesourcery.com>
2496
2497 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2498 [POSIX || UNIX98]: Require rather than permitting all symbols from
2499 <time.h>.
2500 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2501 element of struct sched_param.
2502 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2503 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2504 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2505 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2506 constant.
2507
12c22bc4
OL
25082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2509
2510 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2511 argument calculation.
2512
a03d8ea7
JM
25132013-09-24 Joseph Myers <joseph@codesourcery.com>
2514
2515 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2516 Expect macro.
2517 [POSIX] (pthread_attr_t): Do not require type.
2518 [POSIX] (pthread_cond_t): Likewise.
2519 [POSIX] (pthread_condattr_t): Likewise.
2520 [POSIX] (pthread_key_t): Likewise.
2521 [POSIX] (pthread_mutex_t): Likewise.
2522 [POSIX] (pthread_mutexattr_t): Likewise.
2523 [POSIX] (pthread_once_t): Likewise.
2524 [POSIX] (pthread_t): Likewise.
2525 [POSIX-based standards] (pthread_atfork): Expect function.
2526
6055173a
JM
25272013-09-24 Joseph Myers <joseph@codesourcery.com>
2528 Richard Sandiford <richard@codesourcery.com>
2529
2530 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2531 (swap_endianness_p): New extern variable.
2532 (set_big_endian): New inline function.
2533 (maybe_swap_uint32): Likewise.
2534 (maybe_swap_uint32_array): Likewise.
2535 (maybe_swap_uint32_obstack): Likewise.
2536 * locale/programs/locfile.c: Include <stdbool.h>.
2537 (swap_endianness_p): New variable.
2538 (add_locale_uint32): Call maybe_swap_uint32.
2539 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2540 (write_locale_data): Call maybe_swap_uint32_array.
2541 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2542 maybe_swap_uint32.
2543 (obstack_int32_grow_fast): Likewise.
2544 (output_weightwc): Call maybe_swap_uint32_obstack.
2545 (collate_output): Likewise.
2546 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2547 (OPT_LITTLE_ENDIAN): Likewise.
2548 (options): Add --little-endian and --big-endian options.
2549 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2550 * locale/programs/locarchive.c: Include "locfile.h".
2551 (GET): New macro.
2552 (SET): Likewise.
2553 (INC): Likewise.
2554 (create_archive): Use the new macros to access fields of
2555 structures directly mapped from or written to locale archives.
2556 (oldlocrecentcmp): Likewise.
2557 (enlarge_archive): Likewise.
2558 (insert_name): Likewise.
2559 (add_alias): Likewise.
2560 (add_locale): Likewise.
2561 (delete_locales_from_archive): Likewise.
2562 (show_archive_content): Likewise.
2563 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2564 locale data.
2565
39bf0bb4
RM
25662013-09-24 Roland McGrath <roland@hack.frob.com>
2567
2568 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2569 http://www.gnu.org/doc/freemanuals.texi.
2570 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2571
f02eed10
WN
25722013-09-24 Will Newton <will.newton@linaro.org>
2573
2574 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2575 macro.
2576
a3a6c312
JM
25772013-09-23 Joseph Myers <joseph@codesourcery.com>
2578
2579 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2580 unsigned char.
2581
107375ac
MR
25822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2583
2584 * manual/threads.texi (POSIX Threads): Fix a typo.
2585
141f3a77
SP
25862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2587
303e567a
SP
2588 [BZ #14547]
2589 * string/tst-strcoll-overflow.c: New test case.
2590 * string/Makefile (xtests): Add tst-strcoll-overflow.
2591 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2592 cache if string sizes may cause integer overflow.
2593
141f3a77
SP
2594 [BZ #14547]
2595 * string/strcoll_l.c (coll_seq): New members rule, idx,
2596 save_idx and back_us.
2597 (get_next_seq_nocache): New function.
2598 (do_compare_nocache): New function.
2599 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2600 when malloc fails.
2601
c61b4d41
CD
26022013-09-23 Carlos O'Donell <carlos@redhat.com>
2603
0b1f8e35
CD
2604 [BZ #15754]
2605 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2606 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2607 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2608
c61b4d41
CD
2609 [BZ #15754]
2610 * elf/Makefile (tests): Add tst-ptrguard1.
2611 (tests-static): Add tst-ptrguard1-static.
2612 (tst-ptrguard1-ARGS): Define.
2613 (tst-ptrguard1-static-ARGS): Define.
2614 * elf/tst-ptrguard1.c: New file.
2615 * elf/tst-ptrguard1-static.c: New file.
2616 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2617 * sysdeps/i386/stackguard-macros.h: Likewise.
2618 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2619 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2620 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2621 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2622 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2623 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2624
26252013-09-23 Hector Marco <hecmargi@upv.es>
2626 Ismael Ripoll <iripoll@disca.upv.es>
2627 Carlos O'Donell <carlos@redhat.com>
2628
2629 [BZ #15754]
2630 * sysdeps/generic/stackguard-macros.h: Define
2631 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2632 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2633 Define __pointer_chk_guard_local.
2634 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2635 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2636
f5f4e7b4
VV
26372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2638
2639 [BZ #15859]
2640 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2641
5bb43a43
AS
26422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2643
2644 * include/string.h (__ffs): Declare as hidden.
2645 * string/ffs.c (__ffs): Define as hidden.
2646 * sysdeps/i386/ffs.c (__ffs): Likewise.
2647 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2648 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2649 * sysdeps/s390/ffs.c (__ffs): Likewise.
2650 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2651
3ea5be54
AO
26522013-09-20 Alexandre Oliva <aoliva@redhat.com>
2653
ffb89e53
AO
2654 * NEWS: Mention malloc probes.
2655
322dea08
AO
2656 * malloc/arena.c (new_heap): New memory_heap_new probe.
2657 (grow_heap): New memory_heap_more probe.
2658 (shrink_heap): New memory_heap_less probe.
2659 (heap_trim): New memory_heap_free probe.
2660 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2661 (systrim): New memory_sbrk_less probe.
2662 * manual/probes.texi: Document them.
2663
655673f3
AO
2664 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2665 * manual/probes.texi: Document it.
2666
35fed6f1
AO
2667 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2668 (__libc_realloc): Add memory_realloc_retry probe.
2669 (__libc_memalign): Add memory_memalign_retry probe.
2670 (__libc_valloc): Add memory_valloc_retry probe.
2671 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2672 (__libc_calloc): Add memory_calloc_retry probe.
2673 * manual/probes.texi: Document them.
2674
6999d38c
AO
2675 * malloc/arena.c (get_free_list): Add probe
2676 memory_arena_reuse_free_list.
2677 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2678 and memory_arena_reuse.
2679 (arena_get2) [!PER_THREAD]: Likewise.
2680 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2681 memory_arena_reuse_realloc.
2682 * manual/probes.texi: Document them.
2683
0653427f
AO
2684 * malloc/malloc.c (__libc_free): Add
2685 memory_mallopt_free_dyn_thresholds probe.
2686 (__libc_mallopt): Add multiple memory_mallopt probes.
2687 * manual/probes.texi: Document them.
2688
3ea5be54
AO
2689 * malloc/malloc.c: Include stap-probe.h.
2690 (__libc_mallopt): Add memory_mallopt probe.
2691 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2692 * manual/probes.texi: New.
2693 * manual/Makefile (chapters): Add probes.
2694 * manual/threads.texi: Set next node.
2695
e35696c3 26962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2697
e35696c3
CL
2698 [BZ #15963, #13985]
2699 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2700 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2701 Add `Chinese' to `nan' entry name.
2702
4aafb73c
SP
27032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2704
2705 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2706 (POLYNOMIAL): Likewise.
2707 (TAYLOR_SINCOS): Likewise.
2708 (TAYLOR_SLOW): Likewise.
2709 (__sin): Use TAYLOR_SINCOS.
2710 (__cos): Likewise.
2711 (slow): Use TAYLOR_SLOW.
2712 (sloww): Likewise.
2713 (bsloww): Likewise.
2714 (csloww): Likewise.
2715
d84f25c7
LD
27162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2717
2718 * stdlib/strtod_l.c: Fix buffer overrun.
2719
5eea0404
SP
27202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
7849ff93
SP
2722 * benchtests/Makefile (bench): Add sincos.
2723 * benchtests/bench-sincos.c: New file.
2724
cfa3c886
SP
2725 * math/libm-test.inc (cos_test_data): New test inputs.
2726 (sin_test_data): Likewise.
2727
b348e1e3
SP
2728 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2729 macro.
2730 (__sin): Use it.
2731 (__cos): Likewise.
2732 (slow1): Likewise.
2733 (slow2): Likewise.
2734 (sloww1): Likewise.
2735 (sloww2): Likewise.
2736 (bsloww1): Likewise.
2737 (bsloww2): Likewise.
2738 (cslow2): Likewise.
2739 (csloww1): Likewise.
2740 (csloww2): Likewise.
2741
6cce25f8
SP
2742 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2743 function.
2744 (__sin): Use it.
2745 (__cos): Likewise.
2746
5eea0404
SP
2747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2748 gotos.
2749 (__cos): Likewise.
2750
9c21573c
MR
27512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2752
2753 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2754 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2755 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2756 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2757 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2758 * elf/cache.c (print_entry): Handle the new cache flags.
2759
24d22e65
JM
27602013-09-18 Joseph Myers <joseph@codesourcery.com>
2761 Aldy Hernandez <aldyh@redhat.com>
2762
2763 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2764 Change condition to [_SOFT_FLOAT].
2765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2777 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2780 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2781 declaration.
2782
d13ef066
JM
27832013-09-18 Joseph Myers <joseph@codesourcery.com>
2784
2e071de0
JM
2785 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2786 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2787 (__longjmp): Use LOAD_GP to load saved GPRs.
2788 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2789 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2790 (__sigsetjmp): Use SAVE_GP to save GPRs.
2791
d13ef066
JM
2792 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2793 Do not append -msoft-float.
2794 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2795
97a0650b
SP
27962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2797
2798 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2799
11ca09e9
JM
28002013-09-17 Joseph Myers <joseph@codesourcery.com>
2801
2802 [BZ #15966]
2803 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2804 (_FPU_GETCW): Use initial "__" on variable and field names but not
2805 on macro parameter name.
2806 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2807 parentheses around reference to macro parameter.
2808
08ffcf34
RS
28092013-09-13 Richard Sandiford <richard@codesourcery.com>
2810
2811 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2812 prototype.
2813 (ctype_startup): Use uint32_t in cast and sizeof for
2814 ctype->charnames.
2815
ae7080d3
JL
28162013-09-11 Jia Liu <proljc@gmail.com>
2817
2818 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2819 __daddr_t_defined.
2820 [__FreeBSD__]: Likewise.
2821
5905e7b3
OB
28222013-09-11 Ondřej Bílka <neleai@seznam.cz>
2823
2824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2825 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2826 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2827 (strchr): Remove __strchr_sse42 ifunc selection.
2828 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2829 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2830
b987c776
WN
28312013-09-11 Will Newton <will.newton@linaro.org>
2832
2833 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2834 parameter to RES. Remove hardcoded 1000 value.
2835 * benchtests/bench-skeleton.c (main): Pass RES parameter
2836 to TIMING_INIT and multiply result by 1000.
2837
ddf985af
AZ
28382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839
2840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2841
ffdd3181
AS
28422013-09-11 Andreas Schwab <schwab@suse.de>
2843
2844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2845 if not defined.
2846 (O_TMPFILE) [__USE_GNU]: Define.
2847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2848 Define.
2849
b73ed247
WN
28502013-09-11 Will Newton <will.newton@linaro.org>
2851
2852 [BZ #15857]
2853 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2854 does not overflow.
2855
55e17aad
WN
28562013-09-11 Will Newton <will.newton@linaro.org>
2857
2858 [BZ #15856]
2859 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2860 does not overflow.
2861
1159a193
WN
28622013-09-11 Will Newton <will.newton@linaro.org>
2863
2864 [BZ #15855]
2865 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2866 does not overflow.
2867
5905e7b3 28682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2869
2870 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2872 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2874 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2875
cdfc721b
AM
28762013-09-10 Allan McRae <allan@archlinux.org>
2877
aa04af00
AM
2878 [BZ #15748]
2879 * manual/arith.texi (Parsing of Floats): Clarify
2880 cross-reference.
2881
cdfc721b
AM
2882 [BZ #15849]
2883 * manual/install.texi (Running make install): Mention
2884 --enable-pt-chown.
2885 * INSTALL: Regenerated.
2886
95e7cf29
MR
28872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2888
2889 * csu/init-first.c (_init): Remove the !SHARED condition around
2890 FPU control word initialization.
2891 * elf/dl-support.c (_dl_fpu_control): New variable.
2892 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2893 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2894 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2895 * math/test-fpucw-static.c: New file.
2896 * math/test-fpucw-ieee.c: New file.
2897 * math/test-fpucw-ieee-static.c: New file.
2898 * math/Makefile (tests): Add `test-fpucw-ieee' and
2899 `$(tests-static)'.
2900 (tests-static): New variable.
2901 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2902 dependency to...
2903 [($(build-shared),yes)]
2904 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2905 ... this.
2906 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2907 New dependency.
2908
83e43bf0
AM
29092013-09-09 Allan McRae <allan@archlinux.org>
2910
a9f5ce09
AM
2911 [BZ #15939]
2912 * manual/string.texi (Collation Functions): Fix typo in
2913 strcoll example.
2914 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2915
34829bc2
AM
2916 [BZ #15893]
2917 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2918
3932737d
AM
2919 [BZ #15892]
2920 * libio/memstream.c (open_memstream): Fix memory leak.
2921 * libio/wmemstream.c (open_wmemstream): Likewise.
2922
83e43bf0
AM
2923 [BZ #15895]
2924 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2925
0c66b8e9
WN
29262013-09-09 Will Newton <will.newton@linaro.org>
2927
2928 * malloc/Makefile: Add tst-realloc to tests.
2929 * malloc/tst-realloc.c: New file.
2930
f6b00fd1
AM
29312013-09-09 Allan McRae <allan@archlinux.org>
2932
2933 [BZ #15844]
2934 * COPYING: Update from GNU website to fix FSF address.
2935 * COPYING.LIB: Likewise.
2936
eec55e16
DM
29372013-09-06 David S. Miller <davem@davemloft.net>
2938
2939 * po/zh_TW.po: Update Chinese (traditional) translation from
2940 translation project.
2941
1ecbb381
RS
29422013-09-06 Richard Sandiford <richard@codesourcery.com>
2943 Joseph Myers <joseph@codesourcery.com>
2944
2945 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2946 "localeinfo.h".
2947 (obstack_chunk_alloc): New macro.
2948 (obstack_chunk_free): Likewise.
2949 (record_offset): New function.
2950 (init_locale_data): Likewise.
2951 (align_locale_data): Likewise.
2952 (add_locale_empty): Likewise.
2953 (add_locale_raw_data): Likewise.
2954 (add_locale_raw_obstack): Likewise.
2955 (add_locale_string): Likewise.
2956 (add_locale_wstring): Likewise.
2957 (add_locale_uint32): Likewise.
2958 (add_locale_uint32_array): Likewise.
2959 (add_locale_char): Likewise.
2960 (start_locale_structure): Likewise.
2961 (end_locale_structure): Likewise.
2962 (start_locale_prelude): Likewise.
2963 (end_locale_prelude): Likewise.
2964 (write_locale_data): Take locale_file structure rather than an
2965 iovec.
2966 * locale/programs/locfile.h: Include "obstack.h".
2967 (struct locale_file): Change to store locale file contents instead
2968 of header.
2969 (init_locale_data): New prototype.
2970 (align_locale_data): Likewise.
2971 (add_locale_empty): Likewise.
2972 (add_locale_raw_data): Likewise.
2973 (add_locale_raw_obstack): Likewise.
2974 (add_locale_string): Likewise.
2975 (add_locale_wstring): Likewise.
2976 (add_locale_uint32): Likewise.
2977 (add_locale_uint32_array): Likewise.
2978 (add_locale_char): Likewise.
2979 (start_locale_structure): Likewise.
2980 (end_locale_structure): Likewise.
2981 (start_locale_prelude): Likewise.
2982 (end_locale_prelude): Likewise.
2983 (write_locale_data): Update prototype.
2984 * locale/programs/3level.h (struct TABLE): Remove result field.
2985 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2986 Use new locale_file interface.
2987 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2988 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2989 * locale/programs/ld-address.c (address_output): Use new
2990 locale_file interface.
2991 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2992 NO_ADD_LOCALE.
2993 (collate_finish): Don't call collseq_table_finalize.
2994 (collate_output): Use new locale_file interface.
2995 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2996 in file.
2997 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2998 (TABLE): Move defines earlier in file.
2999 (ELEMENT): Likewise.
3000 (DEFAULT): Likewise.
3001 (wctrans_table_add): Move macro and inline function earlier in
3002 file.
3003 (struct wctype_table): Move type earlier in file.
3004 (add_locale_wctype_table): New static prototype.
3005 (struct locale_ctype_t): Use logical types instead of struct iovec
3006 pointers for members.
3007 (ctype_output): Use new locale_file interface.
3008 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3009 new locale_file interface.
3010 (allocate_arrays): Update for use of new locale_file interface.
3011 * locale/programs/ld-identification.c (identification_output): Use
3012 new locale_file interface.
3013 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3014 * locale/programs/ld-messages.c (messages_output): Likewise.
3015 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3016 * locale/programs/ld-name.c (name_output): Likewise.
3017 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3018 * locale/programs/ld-paper.c (paper_output): Likewise.
3019 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3020 * locale/programs/ld-time.c (time_output): Likewise.
3021
e029e2e5
AZ
30222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 * benchtests/Makefile: Add memrchr benchmark.
3025 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3026 benchmark as memrchr.
3027 * benchtests/bench-memrchr-ifunc.c: New file.
3028 * benchtests/bench-memrchr.c: New file.
3029
bbf6e8e4
WN
30302013-09-06 Will Newton <will.newton@linaro.org>
3031
3032 * benchtests/Makefile (string-bench): Add memcpy.
3033
6c82a2f8
CD
30342013-09-05 Carlos O'Donell <carlos@redhat.com>
3035 Cong Wang <amwang@redhat.com>
3036
3037 * sysdeps/unix/sysv/linux/bits/in.h
3038 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3039 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3040 before __USE_KERNEL_IPV6_DEFS uses.
3041 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3042 IPPROTO_BEETPH.
3043 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3044 sockaddr_in6, or ipv6_mreq.
3045
5430fc65
AZ
30462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3047
3048 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3049 memory access for final bytes in some large inputs.
3050 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3051
4660856c
AZ
30522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3053
3054 * string/test-memrchr.c: New file.
3055 * string/test-memrchr-ifunc.c: New file.
3056 * string/Makefile: Add new memrchr testcase.
3057
bb8ea713
MF
30582013-09-05 Mike Frysinger <vapier@gentoo.org>
3059
3060 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3061 fanotify_init returns EPERM.
3062
b92a20b5
JM
30632013-09-04 Joseph Myers <joseph@codesourcery.com>
3064
3065 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3066 errors.
3067 (top level): Treat second token from macro or constant entries for
3068 allowed headers as allowed.
3069 * include/complex.h: Condition internal declarations on
3070 [!_ISOMAC].
3071 * include/fenv.h: Condition include of <stdbool.h> and internal
3072 declarations on [!_ISOMAC].
7447ccd9
CL
3073
30742013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3075
3e181dda 3076 [BZ #15923]
7447ccd9
CL
3077 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3078
3f2e46a4
JM
30792013-09-04 Joseph Myers <joseph@codesourcery.com>
3080
3081 * configure.in (--enable-versioning): Remove configure option.
3082 (libc_cv_asm_symver_directive): Remove configure test.
3083 (libc_cv_ld_version_script_option): Likewise.
3084 (VERSIONING): Remove variable and AC_SUBST.
3085 (DO_VERSIONING): Remove AC_DEFINE.
3086 * configure: Regenerated.
3087 * config.h.in (DO_VERSIONING): Remove macro.
3088 * Makerules [$(versioning) = yes]: Change conditionals to
3089 [$(build-shared) = yes].
3090 * config.make.in (versioning): Remove variable.
3091 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3092 [$(build-shared) = yes].
3093 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3094 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3095 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3096 [$(build-shared) = yes].
3097 * extra-lib.mk [$(versioning) = yes]: Likewise.
3098 * hurd/Makefile [$(versioning) = yes]: Likewise.
3099 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3100 [SHARED].
3101 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3102 [SHARED].
3103 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3104 [SHARED && !NO_HIDDEN].
3105 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3106 [SHARED].
3107 [SHARED && DO_VERSIONING]: Likewise..
3108 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3109 [$(build-shared) = yes].
3110 * manual/install.texi (--disable-versioning): Remove
3111 documentation.
3112 * INSTALL: Regenerated.
3113 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3114 to [SHARED].
3115 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3116 [$(build-shared) = yes].
3117 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3118 * sysdeps/i386/i686/multiarch/strstr-c.c
3119 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3120 [SHARED && !NO_HIDDEN].
3121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3122 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3123 * sysdeps/powerpc/powerpc32/dl-machine.c
3124 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3125 * sysdeps/powerpc/powerpc32/sysdep.h
3126 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3127 to [SHARED && PIC && !NO_HIDDEN].
3128 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3129 conditional to [SHARED].
3130
44558701
WN
31312013-09-04 Will Newton <will.newton@linaro.org>
3132
3133 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3134 * benchtests/bench-string.h: Include bench-timing.h instead
3135 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3136 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3137 call to HP_TIMING_DIFF_INIT.
3138 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3139 instead of hp-timing.h macros.
3140 * benchtests/bench-memchr.c: Likewise.
3141 * benchtests/bench-memcmp.c: Likewise.
3142 * benchtests/bench-memcpy.c: Likewise.
3143 * benchtests/bench-memmem.c: Likewise.
3144 * benchtests/bench-memmove.c: Likewise.
3145 * benchtests/bench-memset.c: Likewise.
3146 * benchtests/bench-rawmemchr.c: Likewise.
3147 * benchtests/bench-strcasecmp.c: Likewise.
3148 * benchtests/bench-strcasestr.c: Likewise.
3149 * benchtests/bench-strcat.c: Likewise.
3150 * benchtests/bench-strchr.c: Likewise.
3151 * benchtests/bench-strcmp.c: Likewise.
3152 * benchtests/bench-strcpy.c: Likewise.
3153 * benchtests/bench-strcpy_chk.c: Likewise.
3154 * benchtests/bench-strlen.c: Likewise.
3155 * benchtests/bench-strncasecmp.c: Likewise.
3156 * benchtests/bench-strncat.c: Likewise.
3157 * benchtests/bench-strncmp.c: Likewise.
3158 * benchtests/bench-strncpy.c: Likewise.
3159 * benchtests/bench-strnlen.c: Likewise.
3160 * benchtests/bench-strpbrk.c: Likewise.
3161 * benchtests/bench-strrchr.c: Likewise.
3162 * benchtests/bench-strspn.c: Likewise.
3163 * benchtests/bench-strstr.c: Likewise.
3164
cae16d66
WN
31652013-09-04 Will Newton <will.newton@linaro.org>
3166
3167 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3168
ffa3cd7f
JM
31692013-09-03 Joseph Myers <joseph@codesourcery.com>
3170
3171 [BZ #15427]
3172 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3173 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3174 * math/libm-test.inc (lgamma_test_data): Add more tests.
3175 * sysdeps/i386/fpu/libm-test-ulps: Update.
3176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3177
8f02859f
OB
31782013-09-03 Ondřej Bílka <neleai@seznam.cz>
3179
3180 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3182 Add ifunc.
3183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3184 Add strcmp-sse2-unaligned
3185 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3186
18d43716
MF
31872013-09-02 Mike Frysinger <vapier@gentoo.org>
3188
3189 * Versions.def (libc): Add GLIBC_2.19.
3190
ac444012
MF
31912013-09-02 Mike Frysinger <vapier@gentoo.org>
3192
3193 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3194 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3195
b7835e32
JM
31962013-09-02 Joseph Myers <joseph@codesourcery.com>
3197
3198 [BZ #14155]
3199 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3200 intermediate calculations in recurrence.
3201 (__ieee754_ynf): Likewise.
3202 * math/libm-test.inc (jn_test_data): Do not allow spurious
3203 underflow exception. Add more tests.
3204 (yn_test_data): Add more tests.
3205 * sysdeps/i386/fpu/libm-test-ulps: Update.
3206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207
8220f4f0
OB
32082013-09-02 Ondřej Bílka <neleai@seznam.cz>
3209
3210 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3211
f24a6d08
OB
32122013-08-30 Ondřej Bílka <neleai@seznam.cz>
3213
3214 * csu/init-first.c: Fix then/than typos.
3215 * locale/programs/ld-collate.c: Likewise.
3216 * locale/programs/linereader.h: Likewise.
3217 * manual/charset.texi: Likewise.
3218 * manual/filesys.texi: Likewise.
3219 * manual/stdio.texi: Likewise.
3220 * manual/string.texi: Likewise.
3221 * stdlib/fmtmsg.c: Likewise.
3222 * sysdeps/i386/stpncpy.S: Likewise.
3223 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3224 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3225 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3226 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3227
382466e0
OB
32282013-08-30 Ondřej Bílka <neleai@seznam.cz>
3229
3230 * elf/dl-open.c: Fix typos.
3231 * iconvdata/gbbig5.c: Likewise.
3232 * iconvdata/iso-2022-jp.c: Likewise.
3233 * iconv/gconv_int.h: Likewise.
3234 * iconv/loop.c: Likewise.
3235 * nis/rpcsvc/nis.h: Likewise.
3236 * resolv/ns_name.c: Likewise.
3237 * stdio-common/vfscanf.c: Likewise.
3238 * streams/stropts.h: Likewise.
3239 * sunrpc/rpc_thread.c: Likewise.
3240 * sysdeps/i386/strpbrk.S: Likewise.
3241 * sysdeps/ieee754/k_standard.c: Likewise.
3242 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3244 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3245 * sysdeps/mach/hurd/profil.c: Likewise.
3246 * sysdeps/s390/dl-procinfo.h: Likewise.
3247 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3248 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3249 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3250 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3251 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3252
0186c6e9
OB
32532013-08-30 Ondřej Bílka <neleai@seznam.cz>
3254
3255 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3257
d4e16af1
OB
32582013-08-29 Ondřej Bílka <neleai@seznam.cz>
3259
3260 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3261 aix specific files.
3262 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3263 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3264 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3265 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3270
88335980
TS
32712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3272 Roland McGrath <roland@hack.frob.com>
3273
3274 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3275 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3276
ed479b02
ST
32772013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3278
3279 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3280 __executable_start symbol instead of _start.
3281
f1cc4c86
TS
32822013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3283
d821f07c
TS
3284 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3285 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3286 Move macros to...
3287 * sysdeps/gnu/ldsodefs.h: ... this new file.
3288
c54290cf
TS
3289 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3290 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3291 instead of ELFOSABI_LINUX.
3292
0007fc9b 3293 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3294 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3295 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3296 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3297 Likewise.
3298 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3299 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3300 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3301 Likewise.
3302 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3303 (ibm_extended_long_double): Add ieee_nan member.
3304 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3305 (do_test): New function.
3306
f1cc4c86
TS
3307 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3308 TEST_TRUNC.
3309 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3310 functions, renamed from truncdfsf_test, trunctfsf_test,
3311 trunctfdf_test.
3312 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3313 functions.
3314 (do_test): Run all these.
3315
6f65e668
OB
33162013-08-29 Ondřej Bílka <neleai@seznam.cz>
3317
3318 * argp/argp-help.c: Fix typos.
3319 * argp/argp-parse.c: Likewise.
3320 * debug/backtracesyms.c: Likewise.
3321 * elf/elf.h: Likewise.
3322 * malloc/malloc.c: Likewise.
3323 * nis/nis_print.c: Likewise.
3324 * resolv/res_comp.c: Likewise.
3325 * stdlib/stdlib.h: Likewise.
3326 * sunrpc/clnt_tcp.c: Likewise.
3327 * sunrpc/clnt_udp.c: Likewise.
3328 * sunrpc/clnt_unix.c: Likewise.
3329 * sysdeps/unix/bsd/ptsname.c: Likewise.
3330 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3331 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3333 Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3335 Likewise.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3337 Likewise.
6f65e668
OB
3338 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3339
3a309239
SP
33402013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3341
3342 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3344
3b813b29
MF
33452013-08-27 Mike Frysinger <vapier@gentoo.org>
3346
3347 [BZ #15897]
3348 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3349 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3350 ($(objpfx)bug-dl-leaf): New rule.
3351 ($(objpfx)bug-dl-leaf.so): Likewise.
3352 ($(objpfx)bug-dl-leaf.out): Likewise.
3353 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3354 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3355 * dlfcn/bug-dl-leaf.c: New test.
3356 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3357 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3358 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3359 (dlclose): Likewise.
3360 (dlmopen): Likewise.
3361
8cc3269f
RM
33622013-08-27 Roland McGrath <roland@hack.frob.com>
3363
7f9d0034
RM
3364 * include/netdb.h [!_ISOMAC]:
3365 Don't include <tls.h>.
3366 (h_errno, __libc_h_errno): Move declaration and macros out of
3367 [_LIBC_REENTRANT].
3368
fb431262
RM
3369 * include/resolv.h [_RESOLV_H_]:
3370 Don't include <tls.h>.
3371 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3372 * resolv/res_libc.c: Don't include <tls.h>.
3373 (_res): Use __attribute__ ((nocommon)) in place of
3374 __attribute__ ((section (".bss"))).
3375
bd81123a
RM
3376 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3377 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3378
c4e42566
RM
3379 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3380
f890a59b
RM
3381 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3382 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3383
3384 * resolv/res_mkquery.c: Include <sys/time.h>.
3385
5d1f0a09
RM
3386 * inet/ifreq.c: Moved to ...
3387 * sysdeps/unix/ifreq.c: ... here.
3388 * inet/ifreq.c: New file, true stub version.
3389
6fcf28b3
RM
3390 * socket/sa_len.c: New file.
3391 * socket/Makefile (aux): Add it.
3392 * sysdeps/unix/sysv/linux/Makefile
3393 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3394 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3395 and #include <socket/sa_len.c>.
3396 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3397 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3398
e041fb8b
RM
3399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3400 * bits/socket.h: ... here.
3401
8cc3269f
RM
3402 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3403 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3404 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3405
5d228a43
AS
34062013-08-27 Andreas Schwab <schwab@suse.de>
3407
45b8accc
AS
3408 [BZ #15736]
3409 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3410 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3411 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3412 * string/test-strcasecmp.c (test_main): Run tests in several
3413 locales.
3414 * string/test-strncasecmp.c (test_main): Likewise.
3415
5d228a43
AS
3416 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3417 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3418 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3420 (__strncasecmp_ssse3) [PIC]: Likewise.
3421
59d112a4
RM
34222013-08-26 Roland McGrath <roland@hack.frob.com>
3423
53234cc3
RM
3424 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3425
59d112a4
RM
3426 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3427 instead of explicitly declaring xdecrypt.
3428 * nis/nss_nis/nis-publickey.c: Likewise.
3429
595aba70
SP
34302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3431
3432 [BZ #15890]
3433 * nscd/aicache.c: Include res_hconf.h.
3434 (addhstaiX): Initialize res_hconf.
3435
ffabd393
AS
34362013-08-26 Andreas Schwab <schwab@suse.de>
3437
3438 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3439 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3440
e0a69f5c
SP
34412013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3442
3443 * nscd/aicache.c (addhstaiX): Fix indentation.
3444
8c12f01d
MF
34452013-08-25 Mike Frysinger <vapier@gentoo.org>
3446
3447 * configure.ac: Quote $build_pt_chown test.
3448 * configure: Regenerated.
3449
8fe89494
JM
34502013-08-23 Joseph Myers <joseph@codesourcery.com>
3451
3452 [BZ #15532]
3453 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3454 * math/s_cexpf.c (__cexpf): Likewise.
3455 * math/s_cexpl.c (__cexpl): Likewise.
3456 * math/libm-test.inc (cexp_test_data): Correct expected return
3457 value for NaN + i0. Add another test.
3458
75b181d6
DM
34592013-08-22 David S. Miller <davem@davemloft.net>
3460
3461 * po/ca.po: Update Catalan translation from translation project.
936241e4 3462 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3463
acd06bb1
JM
34642013-08-21 Joseph Myers <joseph@codesourcery.com>
3465
3466 [BZ #15797]
3467 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3468 is infinite, not alongside NaN test.
3469 * math/s_fdimf.c (__fdimf): Likewise.
3470 * math/s_fdiml.c (__fdiml): Likewise.
3471 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3472 errno is unchanged.
3473
c0c3f78a
OB
34742013-08-21 Ondřej Bílka <neleai@seznam.cz>
3475
3476 * argp/argp-help.c: Fix typos.
3477 * crypt/speeds.c: Likewise.
3478 * csu/check_fds.c: Likewise.
3479 * elf/dl-load.c: Likewise.
3480 * elf/dl-open.c: Likewise.
3481 * elf/reldep3.c: Likewise.
3482 * elf/reldep.c: Likewise.
3483 * elf/sprof.c: Likewise.
3484 * iconv/iconv_charmap.c: Likewise.
3485 * iconv/skeleton.c: Likewise.
3486 * iconv/strtab.c: Likewise.
3487 * io/lockf64.c: Likewise.
3488 * libio/libioP.h: Likewise.
3489 * resolv/gai_notify.c: Likewise.
3490 * resolv/ns_name.c: Likewise.
3491 * resolv/ns_samedomain.c: Likewise.
3492 * resolv/res_send.c: Likewise.
3493 * stdlib/random.c: Likewise.
3494 * sunrpc/rpc/xdr.h: Likewise.
3495 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3499 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3503 * sysdeps/mach/hurd/check_fds.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3505 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3509 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3510 * sysdeps/pthread/aio_notify.c: Likewise.
3511 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3512 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3513 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3514 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3515 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3516
46ed1038
LD
35172013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3518
3519 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3520 version if bit_Slow_SSE4_2 is set.
3521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3523
d400dcac
AZ
35242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 [BZ #15867]
3527 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3528 trampoline stack frame information.
3529 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3530 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3531 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3532 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3533 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3534 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3535 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3536 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3537 sa_flags value.
3538 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3539 interrupting a syscall and set with option SA_SIGINFO.
3540
42c8fdd8
JM
35412013-08-20 Joseph Myers <joseph@codesourcery.com>
3542
c980f2f4
JM
3543 [BZ #15531]
3544 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3545 argument is infinite.
3546 * math/s_cprojf.c (__cprojf): Likewise.
3547 * math/s_cprojl.c (__cprojl): Likewise.
3548 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3549 * math/libm-test.inc (cproj_test_data): Add more tests.
3550
0716c4fc
JM
3551 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3552
42c8fdd8
JM
3553 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3554 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3555 size. Use __ffs to determine corresponding shift.
3556
b31469d0
JM
35572013-08-20 Joseph Myers <joseph@codesourcery.com>
3558 Roland McGrath <roland@hack.frob.com>
3559
3560 * Makefile (INSTALL): Remove trailing blank lines from output of
3561 makeinfo.
3562
4e39af6e
AK
35632013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3564
3565 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3566 Align 32 bit compat elf_greg to 8 bytes.
3567
f315524e
AA
35682013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3569
3570 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3571
1326ba1a
SP
35722013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3573
3574 * string/strcoll_l.c (coll_seq): New structure.
3575 (get_next_seq_cached): New function.
3576 (get_next_seq): New function.
3577 (do_compare): New function.
3578 (STRCOLL): Use GNU style definition. Simplify implementation
3579 by using get_next_seq, get_next_seq_cached and do_compare.
3580
91ce4085
FW
35812013-08-16 Florian Weimer <fweimer@redhat.com>
3582
3583 [BZ #14699]
3584 CVE-2013-4237
3585 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3586 member.
3587 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3588 member.
3589 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3590 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3591 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3592 conditional.
3593 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3594 GETDENTS_64BIT_ALIGNED.
3595 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3596 * manual/filesys.texi (Reading/Closing Directory): Document
3597 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3598 strongly.
3599 * manual/conf.texi (Limits for Files): Add portability note to
3600 NAME_MAX, PATH_MAX.
3601 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3602
ca0a6bc4
AS
36032013-08-13 Andreas Schwab <schwab@suse.de>
3604
3605 [BZ #15749]
3606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3607 of fabs.
3608 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3609 LDBL_MAX_EXP >= 16384]: Add tests for it.
3610
6c1fd795
DM
36112013-08-12 David S. Miller <davem@davemloft.net>
3612
3613 * version.h (RELEASE): Set to "development".
3614 (VERSION): Set to "2.18.90".
3615 * NEWS: Add 2.19 section.
3616
31ad488d
DM
36172013-08-03 David S. Miller <davem@davemloft.net>
3618
3619 * po/ko.po: Update Korean translation from translation project.
3620
db24e684
DM
36212013-08-01 David S. Miller <davem@davemloft.net>
3622
3623 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3624 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3625 Bilka.
3626
f723285b
DM
36272013-07-30 David S. Miller <davem@davemloft.net>
3628
3629 * po/fr.po: Update French translation from translation project.
3630
3cbc52db
DM
36312013-07-28 David S. Miller <davem@davemloft.net>
3632
30bbc0cc
DM
3633 * po/cs.po: Update Czech translation from translation project.
3634
3cbc52db
DM
3635 * po/sv.po: Update Swedish translation from translation project.
3636
d492e6d0
DM
36372013-07-27 David S. Miller <davem@davemloft.net>
3638
f1a7f492
DM
3639 * po/eo.po: Update Esperanto translation from translation project.
3640
90e62a4a
DM
3641 * po/vi.po: Update Vietnamese translation from translation project.
3642
d492e6d0
DM
3643 * po/de.po: Update German translation from translation project.
3644
d4baa62d
DM
36452013-07-26 David S. Miller <davem@davemloft.net>
3646
641aa7b4
DM
3647 * po/bg.po: Update Bulgarian translation from translation project.
3648
d4baa62d
DM
3649 * po/nl.po: Update Dutch translation from translation project.
3650 * po/pl.po: Update Polish translation from translation project.
3651 * po/ru.po: Update Russian translation from translation project.
3652
61a9dcb9
DM
36532013-07-24 David S. Miller <davem@davemloft.net>
3654
3655 * po/libc.pot: Update.
3656
7b1f8b58
AZ
36572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3658
3659 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3660 variable page size.
3661 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3662 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3664
a8fc7a03
AK
36652013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3666
3667 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3668
e4608715
CD
36692013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3670 Andreas Schwab <schwab@suse.de>
3671 Roland McGrath <roland@hack.frob.com>
3672 Joseph Myers <joseph@codesourcery.com>
3673 Carlos O'Donell <carlos@redhat.com>
3674
3675 [BZ #15755]
3676 * config.h.in: Define HAVE_PT_CHOWN.
3677 * config.make.in (build-pt-chown): New variable.
3678 * configure.in (--enable-pt_chown): New configure option.
3679 * configure: Regenerate.
3680 * login/Makefile: Include Makeconfig. Build pt_chown only if
3681 build-pt-chown is enabled.
3682 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3683 pt_chown to fix pty ownership.
3684 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3685 CLOSE_ALL_FDS.
3686 * manual/install.texi (Configuring and compiling): Mention
3687 --enable-pt_chown. Add @findex for grantpt.
3688 * INSTALL: Regenerate.
3689
da2d62df
DM
36902013-07-20 David S. Miller <davem@davemloft.net>
3691
3692 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3693 difference between 32-bit and 64-bit.
3694
d7e06450
CD
36952013-07-15 Carlos O'Donell <carlos@redhat.com>
3696
3697 [BZ #15711]
3698 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3699 Avoid system header dependency with -ffreestanding.
3700 ($(objpfx)bits/syscall%d): Likewise.
3701
f959cfd7
DM
37022013-07-13 David S. Miller <davem@davemloft.net>
3703
3704 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3705 underflows from atanl/atan2l due to bug 15319.
3706 (casinh_test_data): Likewise.
3707
c61f8513
DM
37082013-07-07 David S. Miller <davem@davemloft.net>
3709
3710 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3711
72c90ed0
JA
37122013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3713
3714 * sysdeps/i386/fpu/libm-test-ulps: Update.
3715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3716
52dfbe13
SP
37172013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3718
3719 * configure.in (--enable-lock-elision): Fix message text.
3720 * INSTALL: Regenerate.
3721 * configure: Regenerate.
3722
3f169543
AZ
37232013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724
3725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3726
521c6785
AJ
37272013-07-03 Andreas Jaeger <aj@suse.de>
3728
3729 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3730 define.
3731 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3732 (ptrace_peeksiginfo_args): Add.
3733 (__ptrace_peeksiginfo_flags): Add.
3734 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3737
d2cc15cb
AM
37382013-07-03 Allan McRae <allan@archlinux.org>
3739
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3741
3aaeeca7
DM
37422013-07-02 David S. Miller <davem@davemloft.net>
3743
3744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3745
5314ed1a
MT
37462013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3747
3748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3749
67338156
JM
37502013-07-02 Joseph Myers <joseph@codesourcery.com>
3751
3752 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754
1717da59
AK
37552013-07-02 Andi Kleen <ak@linux.intel.com>
3756
3757 * config.h.in (ENABLE_LOCK_ELISION): Add.
3758 * configure.in (--enable-lock-elision): Add option.
3759 * manual/install.texi: Document --enable lock elision.
3760 * configure: Regenerate
3761 * INSTALL: Regenerate.
3762
1c81621c
L
37632013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3766 SSE4.2 strcasecmp for libc.a.
3767 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3768
77f01ab5
JM
37692013-07-02 Joseph Myers <joseph@codesourcery.com>
3770
3771 [BZ #13304]
3772 * soft-fp/op-common.h (_FP_FMA): New macro.
3773 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3774 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3775 (_FP_MUL_MEAT_1_imm): ... here.
3776 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3777 (_FP_MUL_MEAT_1_wide): ... here.
3778 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3779 (_FP_MUL_MEAT_1_hard): ... here.
3780 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3781 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3782 (_FP_MUL_MEAT_2_wide): ... here.
3783 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3784 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3785 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3786 (_FP_MUL_MEAT_2_gmp): ... here.
3787 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3788 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3789 (_FP_MUL_MEAT_4_wide): ... here.
3790 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3791 (_FP_MUL_MEAT_4_gmp): ... here.
3792 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3793 (_FP_WFRACBITS_DW_S): Likewise.
3794 (_FP_WFRACXBITS_DW_S): Likewise.
3795 (_FP_HIGHBIT_DW_S): Likewise.
3796 (FP_FMA_S): Likewise.
3797 (_FP_FRAC_HIGH_DW_S): Likewise.
3798 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3799 (_FP_WFRACBITS_DW_D): Likewise.
3800 (_FP_WFRACXBITS_DW_D): Likewise.
3801 (_FP_HIGHBIT_DW_D): Likewise.
3802 (FP_FMA_D): Likewise.
3803 (_FP_FRAC_HIGH_DW_D): Likewise.
3804 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3805 (_FP_WFRACBITS_DW_E): Likewise.
3806 (_FP_WFRACXBITS_DW_E): Likewise.
3807 (_FP_HIGHBIT_DW_E): Likewise.
3808 (FP_FMA_E): Likewise.
3809 (_FP_FRAC_HIGH_DW_E): Likewise.
3810 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3811 (_FP_WFRACBITS_DW_Q): Likewise.
3812 (_FP_WFRACXBITS_DW_Q): Likewise.
3813 (_FP_HIGHBIT_DW_Q): Likewise.
3814 (FP_FMA_Q): Likewise.
3815 (_FP_FRAC_HIGH_DW_Q): Likewise.
3816 * soft-fp/fmasf4.c: New file.
3817 * soft-fp/fmadf4.c: Likewise.
3818 * soft-fp/fmatf4.c: Likewise.
3819
6308fd9a
LD
38202013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3821
3822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3823 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3824 Silvermont.
3825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3826 macro.
3827 (index_Slow_SSE4_2): Likewise.
3828 (index_Prefer_PMINUB_for_stringop): Likewise.
3829 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3830 bit_Slow_SSE4_2 is set.
3831 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3832 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3833
89cd9569
RA
38342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3835
3836 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3837 rtld_global._dl_hwcap2.
3838 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3839 POWER8.
3840 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3841 POWER8 feature descriptions defined in _dl_hwcap2.
3842 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3843 string handling for POWER8 feature bits.
3844 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3845 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3846 _dl_powerpc_cap_flags.
3847 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3848 * sysdeps/powerpc/rtld-global-offsets.sym
3849 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3850 _dl_hwcap2 in the rtld_global_ro structure.
3851
1ae8bfe0
RA
38522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3853
3854 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3855 hardware capabilities in support of AT_HWCAP2.
3856 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3857 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3858 GLRO(dl_hwcap2).
3859 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3860 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3861 explicitly the unknown a_type display mechanism is used.
3862 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3863 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3864 struct member.
3865 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3866 to macro prototype for AT_HWCAP2 support.
3867 * sysdeps/i386/dl-procinfo.h: Likewise.
3868 * sysdeps/s390/dl-procinfo.h: Likewise.
3869 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3870 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3871 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3872 return -1 for unknown a_type display fallback.
3873 * sysdeps/sparc/dl-procinfo.h: Likewise.
3874 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3875 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3876
8fbec010
JM
38772013-06-28 Joseph Myers <joseph@codesourcery.com>
3878
3879 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3880 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3881
0432680e
PY
38822013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3883
3884 [BZ #12492]
3885 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3886 mprotect making __stack_prot writable.
3887
ce61a2ad
NF
38882013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3889 Joseph Myers <joseph@codesourcery.com>
3890
3891 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3892 as being properly aligned.
3893
f91f1c0f
MR
38942013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3895
3d0f5d0c
MR
3896 * dlfcn/modstatic5.c: New file.
3897 * dlfcn/tststatic5.c: New file.
3898 * dlfcn/Makefile (tests): Add tststatic5.
3899 (tests-static): Likewise.
3900 (modules-names): Add modstatic5.
3901 (tststatic5-ENV): New variable.
3902 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3903
f91f1c0f
MR
3904 [BZ #15022]
3905 * elf/dl-support.c (_dl_main_map): New variable.
3906 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3907 (_dl_nns, _dl_load_adds): Set to 1.
3908 (_dl_initial_searchlist): Refer to _dl_main_map.
3909 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3910 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3911 call to _dl_get_origin.
3912 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3913 around call_map.
3914 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3915 * dlfcn/modstatic3.c: New file.
3916 * dlfcn/tststatic3.c: New file.
3917 * dlfcn/tststatic4.c: New file.
3918 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3919 (tests-static): Likewise.
3920 (modules-names): Add modstatic3.
3921 (tststatic3-ENV, tststatic4-ENV): New variables.
3922 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3923 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3924
cbe7d24b
JM
39252013-06-26 Joseph Myers <joseph@codesourcery.com>
3926
3927 * configure.in (CC): Require GCC version 4.4 or later.
3928 * configure: Regenerated.
3929 * manual/install.texi (Tools for Compilation): Update GCC version
3930 requirement.
3931 * INSTALL: Regenerated.
3932
11b8a0e1
LD
39332013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3934
3935 [BZ #15674]
bb5bb87c
L
3936 * string/test-memcmp.c (check2): New.
3937 (main): Call check2.
3938
11b8a0e1
LD
3939 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3940
b0037103
MR
39412013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3942
3943 [BZ #15022]
3944 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3945 over to...
3946 (dl_open_worker) [!SHARED]: ... here.
3947
c18c701d
RA
39482013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3949
3950 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3951
1d17fa5f
RH
39522013-06-25 Richard Henderson <rth@redhat.com>
3953
3954 * locale/programs/locarchive.c: Include <libc-internal.h>
3955
8fcb833a
JM
39562013-06-25 Joseph Myers <joseph@codesourcery.com>
3957
3958 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3959 trailing whitespace removed.
3960
17db6e8d
MF
39612013-06-24 Mike Frysinger <vapier@gentoo.org>
3962
3963 [BZ #10283]
17db6e8d
MF
3964 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3965 * locale/programs/locarchive.c: Include libc-mmap.h.
3966 (prepare_address_space): Take two new outputs (the mmap base and len).
3967 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3968 values.
3969 (create_archive): Declare new mmap base and len values for
3970 prepare_address_space, and store the result in ah.
3971 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3972 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3973 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3974 Declare new mmap base and len values for
3975 prepare_address_space, and store the result in new_ah.
3976 (open_archive): Declare new mmap base and len values for
3977 prepare_address_space, and store the result in ah.
3978 (close_archive): If ah->mmap_base is not NULL, use that and
3979 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3980 * sysdeps/generic/libc-mmap.h: New file.
3981
d605071e
MF
39822013-06-24 Mike Frysinger <vapier@gentoo.org>
3983
3984 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3985 (ALIGN_UP): Likewise.
3986 (PTR_ALIGN_DOWN): Likewise.
3987 (PTR_ALIGN_UP): Likewise.
3988
2f063a6e
RA
39892013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3990
3991 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3992 entry mapped to PPC_PLATFORM_POWER8.
3993 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3994 POWER8.
3995 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3996 (_dl_string_platform): Add case for exporting platform position for
3997 POWER8.
3998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3999 search path to sysdeps/powerpc/powerpc32/power8 directory.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4001 search path to sysdeps/powerpc/powerpc64/power8 directory.
4002 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4003 power7 directories.
4004 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4005 power7 directories.
4006
a31ee4b3
SP
40072013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4008
a74ca98f
SP
4009 * INSTALL: Regenerate.
4010
a31ee4b3
SP
4011 * nscd/connections.c (nscd_init): Fix comment.
4012
695c378f
JM
40132013-06-22 Joseph Myers <joseph@codesourcery.com>
4014
d8412221
JM
4015 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4016
695c378f
JM
4017 [BZ #15667]
4018 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4019 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4020
d1d54715
MR
40212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4022
4023 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4024 DL_DST_REQ_STATIC.
4025 (DL_DST_REQ_STATIC): Remove macro.
4026
8fdda7af
JM
40272013-06-21 Joseph Myers <joseph@codesourcery.com>
4028
4029 [BZ #7006]
4030 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4031 with a shift of 0 bits.
4032
f3bc5e5a
MR
40332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4034
4035 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4036 $(tststatic-ENV).
4037
be09e8c9
KK
40382013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4039
4040 [BZ #15655]
4041 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4042
85c2e611
AZ
40432013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4044
4045 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4046 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4047 accepts -fno-tree-loop-distribute-patterns.
4048 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4049 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4050 recursive call.
4051 * string/memset.c (memset): Likewise.
4052 * string/test-memmove.c (simple_memmove): Disable loop transformation
4053 to library calls.
4054 * string/test-memset.c (simple_memset): Likewise.
4055 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4056 * benchtests/bench-memset.c (simple_memset): Likewise.
4057 * configure: Regenerated.
4058
c91e0825
JM
40592013-06-20 Joseph Myers <joseph@codesourcery.com>
4060
b8c792af
JM
4061 * math/test-misc.c (main): Ignore fesetround failure when failures
4062 of subsequent rounding tests would be ignored.
4063
c91e0825
JM
4064 [BZ #15654]
4065 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4066 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4067 * math/fegetenv.c (__fegetenv): Return 0.
4068 * math/fegetexcept.c (fegetexcept): Return 0.
4069 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4070 FE_TONEAREST.
4071 * math/feholdexcpt.c (feholdexcept): Return 0.
4072 * math/fesetenv.c (__fesetenv): Return 0.
4073 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4074 argument FE_TONEAREST.
4075 * math/feupdateenv.c (__feupdateenv): Return 0.
4076 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4077
bfcacbde
RM
40782013-06-18 Roland McGrath <roland@hack.frob.com>
4079
4080 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4081 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4082 ($(objpfx)rtld-%.os rules): Use them.
4083
e55a9b25
AZ
40842013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085
4086 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4087 fields.
4088
346d65b3
RM
40892013-06-17 Roland McGrath <roland@hack.frob.com>
4090
12086fb4
RM
4091 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4092 length of target pattern, then descending length of dependency pattern.
4093 * configure.in (AWK): Require gawk 3.1.2 or newer.
4094 * manual/install.texi (Tools for Compilation): Say that we do.
4095 * configure: Regenerated.
4096
346d65b3
RM
4097 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4098 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4099 * scripts/sysd-rules.awk: ... this new script.
4100 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4101 than a glob-style pattern.
4102
1a846317
JM
41032013-06-17 Joseph Myers <joseph@codesourcery.com>
4104
4105 * math/test-misc.c (main): Do not treat incorrectly rounded
4106 conversions as failure unless ROUNDING_TESTS passes.
4107
8fc75e6f
JM
41082013-06-15 Joseph Myers <joseph@codesourcery.com>
4109
3711a167
JM
4110 [BZ #15631]
4111 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4112 restore exception state around main square root computation, then
4113 check for inexactness explicitly.
4114
8fc75e6f
JM
4115 * math/libm-test.inc (fma_test_data): Add another test.
4116
61dd6208
SP
41172013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4118
adf23d2c
SP
4119 * manual/threads.texi (Non-POSIX Extensions): New document
4120 node. Document pthread_getattr_default_np and
4121 pthread_setattr_default_np.
4122
61dd6208
SP
4123 * Versions.def (libpthread): Add GLIBC_2.18.
4124 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4126 Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4128 Likewise.
4129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4130 Likewise.
4131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4132 Likewise.
4133 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4134 Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4136 Likewise.
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4138 Likewise.
4139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4140 Likewise.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4142 Likewise.
4143
d086fc7b
LD
41442013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4145
4146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4147 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4148
747ef469
SP
41492013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4150 H.J. Lu <hjl.tools@gmail.com>
4151
4152 [BZ #15627]
4153 * sysdeps/x86_64/rtld-memset.c: Remove file.
4154 * sysdeps/x86_64/rtld-memset.S: New file.
4155
1b2feed2
JM
41562013-06-14 Joseph Myers <joseph@codesourcery.com>
4157
4158 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4159 (test_in_one_mode): Take arguments for whether the rounding mode
4160 is supported for each floating-point type.
4161 (do_test): Pass new arguments to test_in_one_mode using
4162 ROUNDING_TESTS.
4163
a58ad3f8
RM
41642013-06-13 Roland McGrath <roland@hack.frob.com>
4165
4166 * posix/tst-waitid.c (do_test): Distinguish different instances of
4167 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4168 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4169 before entering the kernel for waitpid.
4170
c204ab28
SP
41712013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4172
4173 * NEWS: Fix note on clock function precision. Text by Roland
4174 McGrath.
4175
f4a29fba
RM
41762013-06-13 Roland McGrath <roland@hack.frob.com>
4177
4178 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4179 it into place only when and if the sanity check passes.
4180
1f24b9ad
JM
41812013-06-13 Joseph Myers <joseph@codesourcery.com>
4182
4183 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4184 output for whether conversion result is exact. Take argument
4185 indicating whether type is IBM long double.
4186 (round_for_all): Change need_exact field to ibm_ld.
4187 * stdlib/tst-strtod-round.c (struct exactness): New type.
4188 (struct test): Change bool ld_ok field to struct exactness exact.
4189 (TEST): Update all definitions for change to field.
4190 (tests): Regenerate array contents.
4191 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4192 field value. Check for IBM long double here.
4193 (do_test): Update calls to test_in_one_mode.
4194
58206c68
SP
41952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4196
4197 [BZ #12515]
4198 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4199 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4200
2d6f4c5b 42012013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4202
4203 [BZ #15605]
4204 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4205 generated by the compiler on loop optimizations.
4206 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4207 general definitions.
4208
94f2c076
JM
42092013-06-12 Joseph Myers <joseph@codesourcery.com>
4210
4211 * math/bug-nextafter.c: Include <math-tests.h>.
4212 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4213 the relevant type.
4214 * math/bug-nexttoward.c: Include <math-tests.h>.
4215 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4216 the relevant type.
4217 * math/test-misc.c: Include <math-tests.h>.
4218 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4219 the relevant type.
4220
e0e50a0a
AJ
42212013-06-12 Andreas Jaeger <aj@suse.de>
4222
4223 * po/ia.po: Update Interlingua translation from translation
4224 project.
4225
25061094
SP
42262013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4227
4228 * include/fenv.h: Include stdbool.h.
4229 (struct rm_ctx): New structure.
4230 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4231 Define macro.
4232 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4233 (SET_RESTORE_ROUNDF): Likewise.
4234 (SET_RESTORE_ROUNDL): Likewise.
4235 (SET_RESTORE_ROUND_NOEX): Likewise.
4236 (SET_RESTORE_ROUND_NOEXF): Likewise.
4237 (SET_RESTORE_ROUND_NOEXL): Likewise.
4238 (SET_RESTORE_ROUND_53BIT): Likewise.
4239 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4240 (libc_feresetround_noexf_ctx): Likewise.
4241 (libc_feresetround_noexl_ctx): Likewise.
4242 (libc_feholdsetround_53bit_ctx): Likewise.
4243 (libc_feresetround_53bit_ctx): Likewise.
4244 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4245 (libc_feholdexcept_setround_sse_ctx): New function.
4246 (libc_fesetenv_sse_ctx): Likewise.
4247 (libc_feupdateenv_sse_ctx): Likewise.
4248 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4249 (libc_feholdexcept_setround_387_ctx): Likewise.
4250 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4251 (libc_feholdsetround_387_prec_ctx): Likewise.
4252 (libc_feholdsetround_387_ctx): Likewise.
4253 (libc_feholdsetround_387_53bit_ctx): Likewise.
4254 (libc_feholdsetround_sse_ctx): Likewise.
4255 (libc_feresetround_sse_ctx): Likewise.
4256 (libc_feresetround_387_ctx): Likewise.
4257 (libc_feupdateenv_387_ctx): Likewise.
4258 (libc_feholdexcept_setroundf_ctx): Define macro.
4259 (libc_fesetenvf_ctx): Likewise.
4260 (libc_feupdateenvf_ctx): Likewise.
4261 (libc_feholdsetroundf_ctx): Likewise.
4262 (libc_feresetroundf_ctx): Likewise.
4263 (libc_feholdexcept_setround_ctx): Likewise.
4264 (libc_fesetenv_ctx): Likewise.
4265 (libc_feupdateenv_ctx): Likewise.
4266 (libc_feholdsetround_ctx): Likewise.
4267 (libc_feresetround_ctx): Likewise.
4268 (libc_feholdexcept_setroundl_ctx): Likewise.
4269 (libc_feupdateenvl_ctx): Likewise.
4270 (libc_feholdsetroundl_ctx): Likewise.
4271 (libc_feresetroundl_ctx): Likewise.
4272 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4273 (libc_feresetround_53bit_ctx): Likewise.
4274
59b30555
SP
42752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4276
4277 * locale/iso-639.def: Convert to UTF-8.
4278
f1d73d30
JM
42792013-06-11 Joseph Myers <joseph@codesourcery.com>
4280
4281 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4282 (EXCEPTION_TESTS_double): Likewise.
4283 (EXCEPTION_TESTS_long_double): Likewise.
4284 (EXCEPTION_TESTS): Likewise.
4285 * math/libm-test.inc (test_exceptions): Only test exceptions if
4286 EXCEPTION_TESTS (FLOAT).
4287
94aca5e7
SP
42882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4289
4290 * benchtests/Makefile (string-bench): Add strcpy_chk and
4291 stpcpy_chk.
4292 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4293 * benchtests/bench-stpcpy_chk.c: New file.
4294 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4295 * benchtests/bench-strcpy_chk.c: New file.
4296 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4297 code.
4298 (do_test): Likewise.
4299
fac0c5f2
RA
43002013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4301
4302 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4303 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4304 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4305 with tabs where appropriate.
4306 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4307 dl-procinfo.h.
4308 [PPC_PLATFORM_PPC440]: Likewise.
4309 [PPC_PLATFORM_PPC464]: Likewise.
4310 [PPC_PLATFORM_PPC476]: Likewise.
4311 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4312 ppc464, and ppc476 platform strings merging from ports/
4313 dl-procinfo.h.
4314
f22bc486
AS
43152013-06-11 Andreas Schwab <schwab@suse.de>
4316
4317 [BZ #14991]
4318 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4319 (from_ucs4_idx): Regenerate.
4320 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4321 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4322 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4323 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4324 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4325 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4326 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4327 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4328 from FROM_LOOP and TO_LOOP specific macros.
4329 (BODY): Handle combining characters.
4330 * iconvdata/BIG5HKSCS.irreversible: Update.
4331 * iconvdata/BIG5HKSCS.precomposed: New file.
4332 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4333 characters.
4334 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4335
c1f75dc3
SP
43362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4337
4eacded2
SP
4338 * include/sys/time.h: Fix indentation and add copyright header.
4339
fec799f8
SP
4340 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4341 (do_test): Likewise.
4342 * string/test-memchr.c (do_one_test): Likewise.
4343 (do_test): Likewise.
4344 * string/test-memcmp.c (do_one_test): Likewise.
4345 (do_test): Likewise.
4346 * string/test-memcpy.c (do_one_test): Likewise.
4347 (do_test): Likewise.
4348 * string/test-memmem.c (do_one_test): Likewise.
4349 (do_test): Likewise.
4350 (do_random_tests): Likewise.
4351 * string/test-memmove.c (do_one_test): Likewise.
4352 (do_test): Likewise.
4353 * string/test-memset.c (do_one_test): Likewise.
4354 (do_test): Likewise.
4355 * string/test-rawmemchr.c (do_one_test): Likewise.
4356 (do_test): Likewise.
4357 * string/test-strcasecmp.c (do_one_test): Likewise.
4358 (do_test): Likewise.
4359 * string/test-strcasestr.c (do_one_test): Likewise.
4360 (do_test): Likewise.
4361 * string/test-strcat.c (do_one_test): Likewise.
4362 (do_test): Likewise.
4363 * string/test-strchr.c (do_one_test): Likewise.
4364 (do_test): Likewise.
4365 * string/test-strcmp.c (do_one_test): Likewise.
4366 (do_test): Likewise.
4367 * string/test-strcpy.c (do_one_test): Likewise.
4368 (do_test): Likewise.
4369 * string/test-string.h: Likewise.
4370 (test_init): Likewise.
4371 * string/test-strlen.c (do_one_test): Likewise.
4372 (do_test): Likewise.
4373 * string/test-strncasecmp.c (do_one_test): Likewise.
4374 (do_test): Likewise.
4375 * string/test-strncat.c (do_one_test): Likewise.
4376 (do_test): Likewise.
4377 * string/test-strncmp.c (do_one_test): Likewise.
4378 (do_test_limit): Likewise.
4379 (do_test): Likewise.
4380 * string/test-strncpy.c (do_one_test): Likewise.
4381 (do_test): Likewise.
4382 * string/test-strnlen.c (do_one_test): Likewise.
4383 (do_test): Likewise.
4384 * string/test-strpbrk.c (do_one_test): Likewise.
4385 (do_test): Likewise.
4386 * string/test-strrchr.c (do_one_test): Likewise.
4387 (do_test): Likewise.
4388 * string/test-strspn.c (do_one_test): Likewise.
4389 (do_test): Likewise.
4390 * string/test-strstr.c (do_one_test): Likewise.
4391 (do_test): Likewise.
4392
97020474
SP
4393 * benchtests/Makefile (string-bench): Add string benchmarks.
4394 * benchtests/bench-bcopy-ifunc.c: New file.
4395 * benchtests/bench-bcopy.c: New file.
4396 * benchtests/bench-bzero-ifunc.c: New file.
4397 * benchtests/bench-bzero.c: New file.
4398 * benchtests/bench-memccpy-ifunc.c: New file.
4399 * benchtests/bench-memccpy.c: New file.
4400 * benchtests/bench-memchr-ifunc.c: New file.
4401 * benchtests/bench-memchr.c: New file.
4402 * benchtests/bench-memcmp-ifunc.c: New file.
4403 * benchtests/bench-memcmp.c: New file.
4404 * benchtests/bench-memmem-ifunc.c: New file.
4405 * benchtests/bench-memmem.c: New file.
4406 * benchtests/bench-memmove-ifunc.c: New file.
4407 * benchtests/bench-memmove.c: New file.
4408 * benchtests/bench-mempcpy-ifunc.c: New file.
4409 * benchtests/bench-mempcpy.c: New file.
4410 * benchtests/bench-memset-ifunc.c: New file.
4411 * benchtests/bench-memset.c: New file.
4412 * benchtests/bench-rawmemchr-ifunc.c: New file.
4413 * benchtests/bench-rawmemchr.c: New file.
4414 * benchtests/bench-stpcpy-ifunc.c: New file.
4415 * benchtests/bench-stpcpy.c: New file.
4416 * benchtests/bench-stpncpy-ifunc.c: New file.
4417 * benchtests/bench-stpncpy.c: New file.
4418 * benchtests/bench-strcasecmp-ifunc.c: New file.
4419 * benchtests/bench-strcasecmp.c: New file.
4420 * benchtests/bench-strcasestr-ifunc.c: New file.
4421 * benchtests/bench-strcasestr.c: New file.
4422 * benchtests/bench-strcat-ifunc.c: New file.
4423 * benchtests/bench-strcat.c: New file.
4424 * benchtests/bench-strchr-ifunc.c: New file.
4425 * benchtests/bench-strchr.c: New file.
4426 * benchtests/bench-strchrnul-ifunc.c: New file.
4427 * benchtests/bench-strchrnul.c: New file.
4428 * benchtests/bench-strcmp-ifunc.c: New file.
4429 * benchtests/bench-strcmp.c: New file.
4430 * benchtests/bench-strcpy-ifunc.c: New file.
4431 * benchtests/bench-strcpy.c: New file.
4432 * benchtests/bench-strcspn-ifunc.c: New file.
4433 * benchtests/bench-strcspn.c: New file.
4434 * benchtests/bench-strlen-ifunc.c: New file.
4435 * benchtests/bench-strlen.c: New file.
4436 * benchtests/bench-strncasecmp-ifunc.c: New file.
4437 * benchtests/bench-strncasecmp.c: New file.
4438 * benchtests/bench-strncat-ifunc.c: New file.
4439 * benchtests/bench-strncat.c: New file.
4440 * benchtests/bench-strncmp-ifunc.c: New file.
4441 * benchtests/bench-strncmp.c: New file.
4442 * benchtests/bench-strncpy-ifunc.c: New file.
4443 * benchtests/bench-strncpy.c: New file.
4444 * benchtests/bench-strnlen-ifunc.c: New file.
4445 * benchtests/bench-strnlen.c: New file.
4446 * benchtests/bench-strpbrk-ifunc.c: New file.
4447 * benchtests/bench-strpbrk.c: New file.
4448 * benchtests/bench-strrchr-ifunc.c: New file.
4449 * benchtests/bench-strrchr.c: New file.
4450 * benchtests/bench-strspn-ifunc.c: New file.
4451 * benchtests/bench-strspn.c: New file.
4452 * benchtests/bench-strstr-ifunc.c: New file.
4453 * benchtests/bench-strstr.c: New file.
4454
c1f75dc3
SP
4455 * benchtests/Makefile: Disable parallel execution of targets.
4456 (string-bench): Add memcpy.
4457 (benchset): New variable to store a list of benchmark sets.
4458 (bench-func): Renamed from bench.
4459 (bench-set): New target.
4460 (bench): Depend on bench-func and bench-set.
4461 * benchtests/README: Add section on benchmark sets.
4462 * benchtests/bench-memcpy-ifunc.c: New file.
4463 * benchtests/bench-memcpy.c: New file.
4464 * benchtests/bench-string.h: New file.
4465
50fd745b
AS
44662013-06-11 Andreas Schwab <schwab@suse.de>
4467
4468 [BZ #15577]
4469 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4470 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4471 values in the triple.
4472 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4473 terminator in the group key.
4474
3ee7e9fe
AJ
44752013-06-11 Andreas Jaeger <aj@suse.de>
4476
4477 * po/zh_TW.po: Update Chinese (traditional) translation from
4478 translation project.
4479
89fb6835
SP
44802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4481
4482 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4483 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4484 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4486 (clock_getcpuclockid): Likewise.
4487 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4488 Add weak_alias and libc_hidden_def.
4489 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4490 * rt/clock_gettime.c (clock_gettime): Rename to
4491 __clock_gettime. Add weak_alias and libc_hidden_def.
4492 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4493 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4494 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4495 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4496 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4497 Likewise.
4498 * rt/clock_settime.c (clock_settime): Rename to
4499 __clock_settime. Add weak_alias and libc_hidden_def.
4500 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4501
0efa6f8b
JM
45022013-06-10 Joseph Myers <joseph@codesourcery.com>
4503
b8c61b4b
JM
4504 * mach/err_boot.sub: Remove trailing whitespace.
4505 * mach/err_ipc.sub: Likewise.
4506 * mach/err_mach.sub: Likewise.
4507
0efa6f8b
JM
4508 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4509 (ROUNDING_TESTS_double): Likewise.
4510 (ROUNDING_TESTS_long_double): Likewise.
4511 (ROUNDING_TESTS): Likewise.
4512 * math/libm-test.inc: Include <math-tests.h>.
4513 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4517
50b818bf
SP
45182013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4519
4520 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4521 of assigning.
4522
60d2f8f3
JM
45232013-06-08 Joseph Myers <joseph@codesourcery.com>
4524
4902d2c3
JM
4525 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4526 otherwise empty TRANS lines.
4527 * sysdeps/gnu/errlist.c: Regenerated.
4528
60d2f8f3
JM
4529 * catgets/gencat.c (error_print): Use (void) in function
4530 definition.
4531 * crypt/crypt_util.c (__init_des): Likewise.
4532 * crypt/speeds.c (Stop): Likewise.
4533 (main): Likewise.
4534 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4535 * inet/ruserpass.c (token): Likewise.
4536 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4537 * intl/localealias.c (extend_alias_table): Likewise.
4538 * intl/plural-exp.c (init_germanic_plural): Likewise.
4539 * libio/fcloseall.c (__fcloseall): Likewise.
4540 * libio/genops.c (_IO_flush_all): Likewise.
4541 (_IO_flush_all_linebuffered): Likewise.
4542 (_IO_cleanup): Likewise.
4543 (_IO_iter_begin): Likewise.
4544 (_IO_iter_end): Likewise.
4545 (_IO_list_lock): Likewise.
4546 (_IO_list_unlock): Likewise.
4547 (_IO_list_resetlock): Likewise.
4548 * libio/getchar.c (getchar): Likewise.
4549 * libio/getchar_u.c (getchar_unlocked): Likewise.
4550 * libio/getwchar.c (getwchar): Likewise.
4551 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4552 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4553 * login/getpt.c (__getpt): Likewise.
4554 * login/tst-utmp.c (main): Likewise.
4555 * malloc/hooks.c (__malloc_check_init): Likewise.
4556 * malloc/malloc.c (__malloc_stats): Likewise.
4557 * malloc/mtrace.c (tr_break): Likewise.
4558 (mtrace): Likewise.
4559 (muntrace): Likewise.
4560 * misc/fstab.c (endfsent): Likewise.
4561 * misc/getclktck.c (__getclktck): Likewise.
4562 * misc/getdtsz.c (__getdtablesize): Likewise.
4563 * misc/gethostid.c (gethostid): Likewise.
4564 * misc/getpagesize.c (__getpagesize): Likewise.
4565 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4566 (__get_nprocs): Likewise.
4567 (__get_phys_pages): Likewise.
4568 (__get_avphys_pages): Likewise.
4569 * misc/getttyent.c (getttyent): Likewise.
4570 (setttyent): Likewise.
4571 (endttyent): Likewise.
4572 * misc/getusershell.c (getusershell): Likewise.
4573 (endusershell): Likewise.
4574 (setusershell): Likewise.
4575 (initshells): Likewise.
4576 * misc/hsearch.c (__hdestroy): Likewise.
4577 * misc/sync.c (sync): Likewise.
4578 * misc/syslog.c (closelog_internal): Likewise.
4579 (closelog): Likewise.
4580 * misc/ttyslot.c (ttyslot): Likewise.
4581 * misc/vhangup.c (vhangup): Likewise.
4582 * posix/fork.c (__fork): Likewise.
4583 * posix/getegid.c (__getegid): Likewise.
4584 * posix/geteuid.c (__geteuid): Likewise.
4585 * posix/getgid.c (__getgid): Likewise.
4586 * posix/getpid.c (__getpid): Likewise.
4587 * posix/getppid.c (__getppid): Likewise.
4588 * posix/getuid.c (__getuid): Likewise.
4589 * posix/pause.c (pause): Likewise.
4590 * posix/setpgrp.c (setpgrp): Likewise.
4591 * posix/setsid.c (__setsid): Likewise.
4592 * posix/test-vfork.c (noop): Likewise.
4593 * resolv/gethnamaddr.c (_endhtent): Likewise.
4594 (_gethtent): Likewise.
4595 (ht_endhostent): Likewise.
4596 (gethostent): Likewise.
4597 (dns_service): Likewise.
4598 * stdlib/drand48.c (drand48): Likewise.
4599 * stdlib/lrand48.c (lrand48): Likewise.
4600 * stdlib/mrand48.c (mrand48): Likewise.
4601 * stdlib/rand.c (rand): Likewise.
4602 * stdlib/random.c (__random): Likewise.
4603 * stdlib/setenv.c (clearenv): Likewise.
4604 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4605 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4606 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4607 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4608 (__get_nprocs): Likewise.
4609 (__get_phys_pages): Likewise.
4610 (__get_avphys_pages): Likewise.
4611 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4612 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4613 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4614 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4615 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4616 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4617 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4618 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4619 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4620 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4621 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4622 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4623 * sysdeps/posix/clock.c (clock): Likewise.
4624 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4625 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4626 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4627 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4628 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4630 (__get_nprocs_conf): Likewise.
4631 (__get_phys_pages): Likewise.
4632 (__get_avphys_pages): Likewise.
4633 * time/clock.c (clock): Likewise.
4634 * time/tzset.c (__tzname_max): Likewise.
4635
2e09a79a
JM
46362013-06-07 Joseph Myers <joseph@codesourcery.com>
4637
4638 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4639 (__bswap_32): Do not use "register".
4640 * crypt/crypt.c (_ufc_doit_r): Likewise.
4641 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4642 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4643 * gmon/gmon.c (__monstartup): Likewise.
4644 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4645 * hurd/hurdmalloc.c (more_memory): Likewise.
4646 (malloc): Likewise.
4647 (free): Likewise.
4648 (realloc): Likewise.
4649 (malloc_fork_prepare): Likewise.
4650 (malloc_fork_parent): Likewise.
4651 (malloc_fork_child): Likewise.
4652 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4653 (_svcauth_des): Likewise.
4654 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4655 * inet/inet_net.c (inet_network): Likewise.
4656 * inet/inet_netof.c (inet_netof): Likewise.
4657 * inet/rcmd.c (__validuser2_sa): Likewise.
4658 * io/fts.c (fts_open): Likewise.
4659 (fts_load): Likewise.
4660 (fts_close): Likewise.
4661 (fts_read): Likewise.
4662 (fts_children): Likewise.
4663 (fts_build): Likewise.
4664 (fts_stat): Likewise.
4665 (fts_sort): Likewise.
4666 (fts_alloc): Likewise.
4667 (fts_lfree): Likewise.
4668 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4669 (_IO_file_xsgetn): Likewise.
4670 (_IO_file_xsgetn_mmap): Likewise.
4671 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4672 (_IO_cookie_write): Likewise.
4673 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4674 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4675 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4676 * malloc/obstack.c (_obstack_begin): Likewise.
4677 (_obstack_begin_1): Likewise.
4678 (_obstack_newchunk): Likewise.
4679 (_obstack_allocated_p): Likewise.
4680 (obstack_free): Likewise.
4681 (_obstack_memory_used): Likewise.
4682 * misc/getttyent.c (getttynam): Likewise.
4683 (getttyent): Likewise.
4684 (skip): Likewise.
4685 (value): Likewise.
4686 * misc/getusershell.c (initshells): Likewise.
4687 * misc/syslog.c (__vsyslog_chk): Likewise.
4688 * misc/ttyslot.c (ttyslot): Likewise.
4689 * nis/nis_hash.c (__nis_hash): Likewise.
4690 * posix/fnmatch_loop.c (FCT): Likewise.
4691 * posix/getconf.c (print_all): Likewise.
4692 (main): Likewise.
4693 * posix/getopt.c (exchange): Likewise.
4694 * posix/glob.c (globfree): Likewise.
4695 (prefix_array): Likewise.
4696 (__glob_pattern_type): Likewise.
4697 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4698 (NS_GET32): Likewise.
4699 (NS_PUT16): Likewise.
4700 (NS_PUT32): Likewise.
4701 * resolv/gethnamaddr.c (getanswer): Likewise.
4702 (gethostbyname2): Likewise.
4703 (gethostbyaddr): Likewise.
4704 (_gethtent): Likewise.
4705 (_gethtbyname2): Likewise.
4706 (_gethtbyaddr): Likewise.
4707 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4708 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4709 * resolv/res_init.c (__res_vinit): Likewise.
4710 (net_mask): Likewise.
4711 * resolv/res_mkquery.c (outchar): Likewise.
4712 (PRINT): Likewise.
4713 * stdio-common/printf_fp.c (outchar): Likewise.
4714 (PRINT): Likewise.
4715 * stdio-common/printf_fphex.c (outchar): Likewise.
4716 (PRINT): Likewise.
4717 * stdio-common/printf_size.c (outchar): Likewise.
4718 (PRINT): Likewise.
4719 * stdio-common/test_rdwr.c (main): Likewise.
4720 * stdio-common/tfformat.c (matches): Likewise.
4721 * stdio-common/vfprintf.c (outchar): Likewise.
4722 (printf_unknown): Likewise.
4723 (buffered_vfprintf): Likewise.
4724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4725 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4726 (ReadFile): Likewise.
4727 * stdlib/qsort.c (SWAP): Likewise.
4728 (_quicksort): Likewise.
4729 * stdlib/setenv.c (__add_to_environ): Likewise.
4730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4731 * stdlib/strtol_l.c (__strtol_l): Likewise.
4732 * stdlib/tst-strtod.c (main): Likewise.
4733 * stdlib/tst-strtol.c (main): Likewise.
4734 * stdlib/tst-strtoll.c (main): Likewise.
4735 * string/bits/string2.h (__strcmp_cc): Likewise.
4736 (__strcmp_cg): Likewise.
4737 (__strcspn_c1): Likewise.
4738 (__strcspn_c2): Likewise.
4739 (__strcspn_c3): Likewise.
4740 (__strspn_c1): Likewise.
4741 (__strspn_c2): Likewise.
4742 (__strspn_c3): Likewise.
4743 (__strsep_1c): Likewise.
4744 (__strsep_2c): Likewise.
4745 (__strsep_3c): Likewise.
4746 * string/memccpy.c (__memccpy): Likewise.
4747 * string/stpcpy.c (__stpcpy): Likewise.
4748 * string/strcmp.c (strcmp): Likewise.
4749 * string/strrchr.c (strrchr): Likewise.
4750 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4751 Likewise.
4752 * sysdeps/mach/hurd/getcwd.c
4753 (_hurd_canonicalize_directory_name_internal): Likewise.
4754 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4755 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4756 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4757 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4758 Likewise, in both definitions.
4759 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4760 definitions.
4761 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4762 64] (__bswap_64): Likewise.
4763 * time/test_time.c (main): Likewise.
4764 * time/tzfile.c (__tzfile_read): Likewise.
4765 (__tzfile_compute): Likewise.
4766 * time/tzset.c (__tzset_parse_tz): Likewise.
4767 (tzset_internal): Likewise.
4768 (compute_change): Likewise.
4769 * wcsmbs/wcscat.c (__wcscat): Likewise.
4770 * wcsmbs/wcschr.c (wcschr): Likewise.
4771 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4772 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4773 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4774 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4775 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4776 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4777 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4778 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4779 * wcsmbs/wmemset.c (wmemset): Likewise.
4780
9e54314b
JM
47812013-06-06 Joseph Myers <joseph@codesourcery.com>
4782
4783 * scripts/config.guess: Update to version 2013-05-16.
4784 * scripts/config.sub: Update to version 2013-04-24.
4785 * scripts/install-sh: Update to version 2011-11-20.07.
4786 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4787 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4788
350635a5
OB
47892013-06-06 Ondřej Bílka <neleai@seznam.cz>
4790
4791 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4792 * elf/sln.c: Likewise.
4793 * hurd/hurd/ioctl.h: Likewise.
4794 * hurd/hurdmalloc.c: Likewise.
4795 * hurd/xattr.c: Likewise.
4796 * include/shlib-compat.h: Likewise.
4797 * inet/ruserpass.c: Likewise.
4798 * libio/iofgets_u.c: Likewise.
4799 * libio/iofgetws_u.c: Likewise.
4800 * locale/programs/ld-identification.c: Likewise.
4801 * locale/programs/ld-time.c: Likewise.
4802 * mach/msg-destroy.c: Likewise.
4803 * nss/nss_files/files-netgrp.c: Likewise.
4804 * resolv/res_data.c: Likewise.
4805 * soft-fp/op-1.h: Likewise.
4806 * soft-fp/op-2.h: Likewise.
4807 * soft-fp/op-4.h: Likewise.
4808 * soft-fp/op-common.h: Likewise.
4809 * stdio-common/printf_fphex.c: Likewise.
4810 * stdlib/strtod_l.c: Likewise.
4811 * sunrpc/rpc/clnt.h: Likewise.
4812 * sysdeps/generic/framestate.c: Likewise.
4813 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4814 * sysdeps/i386/bsd-setjmp.S: Likewise.
4815 * sysdeps/i386/__longjmp.S: Likewise.
4816 * sysdeps/i386/setjmp.S: Likewise.
4817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4818 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4835 * sysdeps/ieee754/support.c: Likewise.
4836 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4837 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4838 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4839 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4840 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4841 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4842 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4843 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4844 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4845 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4846 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4847 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4848 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4849 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4850 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4851 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4852 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4854
44a988af
OB
48552013-06-05 Ondřej Bílka <neleai@seznam.cz>
4856
25506f09 4857 * posix/transbug.c: Remove executable mode.
44a988af 4858
9c84384c
JM
48592013-06-05 Joseph Myers <joseph@codesourcery.com>
4860
4861 * crypt/speeds.c: Remove trailing whitespace.
4862 * dlfcn/default.c: Likewise.
4863 * elf/ifuncdep2.c: Likewise.
4864 * elf/ifuncmain1.c: Likewise.
4865 * elf/ifuncmain1vis.c: Likewise.
4866 * elf/testobj.h: Likewise.
4867 * elf/tst-stackguard1.c: Likewise.
4868 * gmon/sys/gmon.h: Likewise.
4869 * hurd/hurdmsg.c: Likewise.
4870 * hurd/new-fd.c: Likewise.
4871 * hurd/ports-get.c: Likewise.
4872 * iconvdata/ibm1008_420.c: Likewise.
4873 * inet/tst-getni1.c: Likewise.
4874 * inet/tst-getni2.c: Likewise.
4875 * libio/ioungetc.c: Likewise.
4876 * libio/wfiledoalloc.c: Likewise.
4877 * manual/libm-err-tab.pl: Likewise.
4878 * math/w_dremf.c: Likewise.
4879 * misc/ftruncate.c: Likewise.
4880 * posix/bug-glob2.c: Likewise.
4881 * posix/tst-pcre.c: Likewise.
4882 * posix/wait4.c: Likewise.
4883 * resolv/README: Likewise.
4884 * resolv/res_debug.h: Likewise.
4885 * resolv/tst-inet_ntop.c: Likewise.
4886 * setjmp/bug269-setjmp.c: Likewise.
4887 * soft-fp/extended.h: Likewise.
4888 * soft-fp/op-1.h: Likewise.
4889 * soft-fp/op-2.h: Likewise.
4890 * soft-fp/op-4.h: Likewise.
4891 * soft-fp/op-8.h: Likewise.
4892 * soft-fp/testit.c: Likewise.
4893 * stdio-common/bug16.c: Likewise.
4894 * stdlib/random.c: Likewise.
4895 * sunrpc/rpcsvc/rquota.x: Likewise.
4896 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4897 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4899 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4900 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4902 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4905 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4906 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4907 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4908 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4925 * sysdeps/ieee754/s_lib_version.c: Likewise.
4926 * sysdeps/mach/hurd/check_fds.c: Likewise.
4927 * sysdeps/mach/hurd/getsockname.c: Likewise.
4928 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4929 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4930 * sysdeps/powerpc/bits/link.h: Likewise.
4931 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4932 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4933 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4934 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4935 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4936 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4937 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4938 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4939 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4940 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4941 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4942 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4943 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4944 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4945 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4946 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4947 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4950 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4951 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4952 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4953 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4954 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4955 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4957 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4958 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4959 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4960 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4964 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4965 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4966 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4967 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4968 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4969 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4970 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4971 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4972 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4973 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4974 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4975 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4976 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4977 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4978 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4980 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4983 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4984 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4985 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4987 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4994 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4995 * sysdeps/powerpc/sysdep.h: Likewise.
4996 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4997 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4998 * sysdeps/sh/dl-trampoline.S: Likewise.
4999 * sysdeps/sh/memset.S: Likewise.
5000 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5001 * sysdeps/sh/strlen.S: Likewise.
5002 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5003 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5004 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5005 * sysdeps/sparc/sparc32/rem.S: Likewise.
5006 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5007 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5008 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5009 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5010 * sysdeps/sparc/sparc32/urem.S: Likewise.
5011 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5012 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5013 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5014 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5016 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5017 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5018 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5019 * sysdeps/unix/bsd/times.c: Likewise.
5020 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5021 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5026 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5027 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5029 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5030 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5031 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5032 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5033 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5034 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5035 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5036 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5037 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5038 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5039 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5040 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5041 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5042 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5043 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5044 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5045 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5048 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5049 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5050 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5051 * sysdeps/x86_64/strcspn.S: Likewise.
5052
869378a5
RA
50532013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5054
5055 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5056 generated file. Regenerate properly from gen-translit.pl.
5057 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5058 locale/C-translit.h.
5059
840e2943
AS
50602013-06-05 Andreas Schwab <schwab@suse.de>
5061
5062 [BZ #15100]
5063 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5064 week as 6 instead of -1.
5065 * time/tst-strptime.c (day_tests): Add test case.
5066
4c60cb0c
SP
50672013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5068
5069 * sysdeps/generic/math_private.h
5070 (libc_feholdexcept_setround_53bit): Replace with
5071 libc_feholdsetround_53bit.
5072 (libc_feupdateenv_53bit): Replace with
5073 libc_feresetround_53bit.
5074 (SET_RESTORE_ROUND_53BIT): Adjust.
5075
d180203e
SP
50762013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5077
96df079a
SP
5078 * string/test-strchrnul.c: Add copyright header.
5079
d180203e
SP
5080 * posix/tst-getaddrinfo4.c: Increase test timeout.
5081
8b0ccb2d
CD
50822013-06-03 Carlos O'Donell <carlos@redhat.com>
5083
5084 [BZ #15536]
5085 * math/libm-test.inc (MAX_EXP): Remove
5086 (MIN_EXP): Define.
5087 (ulp): Use MIN_EXP - MANT_DIG.
5088 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5089
3b3c4d40
CD
50902013-05-31 Carlos O'Donell <carlos@redhat.com>
5091
5092 * po/be.po: Revert last change.
5093 * po/zh_CN.po: Likewise.
5094 * po/header.pot: Likewise.
5095
fab7ce3f
JM
50962013-05-31 Joseph Myers <joseph@codesourcery.com>
5097
5098 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5099 link-libc-deps to empty as target-specific variable.
5100 * Makerules (link-libc-args): New variable.
5101 (libc-for-link): Likewise.
5102 (link-libc-deps): Likewise.
5103 (lib%.so): Depend on $(link-libc-deps). Link with
5104 $(link-libc-args).
5105 (build-module): Link with $(link-libc-args).
5106 (build-module-asneeded): Likewise.
5107 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5108 list of objects.
5109 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5110 target-specific variable.
5111 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5112 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5113 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5114 libc.
5115 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5116 libc and ld.so.
5117 ($(objpfx)libpcprofile.so): Likewise.
5118 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5119 libc_nonshared.a.
5120 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5121 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5122 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5123 $(link-libc-deps).
5124 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5125 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5126 * login/Makefile ($(objpfx)libutil.so): Likewise.
5127 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5128 * math/Makefile ($(objpfx)libm.so): Likewise.
5129 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5130 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5131 variable instead of depending directly on libc.
5132 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5133 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5134 $(link-libc-deps).
5135 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5136 libc.
5137 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5138 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5139 ($(objpfx)libanl.so): Likewise.
5140 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5141 ld.so.
5142 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5143 $(link-libc-deps).
5144 * sysdeps/i386/fpu/Makefile: Remove file.
5145 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5146 ($(objpfx)libm.so): Remove dependency on ld.so.
5147
eca5920c
PF
51482013-05-30 Patsy Franklin <pfrankli@redhat.com>
5149
5150 [BZ # 15553]
5151 * nis/yp_xdr.c (XDRMAXNAME): Define.
5152 (XDRMAXRECORD): Define.
5153 (xdr_domainname): Use XDRMAXNAME.
5154 (xdr_mapname): Likewise.
5155 (xdr_peername): Likewise.
5156 (xdr_keydat): Use XDRMAXRECORD.
5157 (xdr_valdat): Likewise.
5158
51592013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5160
5161 [BZ #14256]
5162 * manual/errno.texi (ESTALE): Update to account for more than
5163 just NFS file systems.
5164 * sysdeps/gnu/errlist.c: Regenerated.
5165
b9375348
SP
51662013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5167
5168 [BZ #15465]
5169 * elf/Makefile (tests): Add tst-null-argv.
5170 (modules-names): Add tst-null-argv-lib.
5171 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5172 (tst-null-argv-ENV): Set environment for tst-null-argv.
5173 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5174 (RTLD_PROGNAME): New macro.
5175 * elf/tst-null-argv.c: New test case.
5176 * elf/tst-null-argv-lib.c: Library for test case.
5177 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5178 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5179 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5180 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5181 * elf/dl-init.c (call_init): Likewise.
5182 (_dl_init): Likewise.
5183 * elf/dl-load.c (print_search_path): Likewise.
5184 (_dl_map_object): Likewise.
5185 * elf/dl-lookup.c (do_lookup_x): Likewise.
5186 (add_dependency): Likewise.
5187 (_dl_lookup_symbol_x): Likewise.
5188 (_dl_debug_bindings): Likewise.
5189 * elf/dl-open.c (_dl_show_scope): Likewise.
5190 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5191 * elf/dl-version.c (match_symbol): Likewise.
5192 (_dl_check_map_versions): Likewise.
5193 * elf/rtld.c (dl_main): Likewise.
5194 (print_unresolved): Use RTLD_PROGNAME.
5195 (print_missing_version): Likewise.
5196 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5197 (elf_machine_rela): Likewise.
5198 * sysdeps/powerpc/powerpc32/dl-machine.c
5199 (__process_machine_rela): Likewise.
5200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5201 Likewise.
5202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5203 Likewise.
5204 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5205 Likewise.
5206 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5208 Likewise.
5209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5210 Likewise.
5211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5212
8a9f20c8
CD
52132013-05-28 Carlos O'Donell <carlos@redhat.com>
5214
5215 * po/be.po: Add descriptive title.
5216 * po/zh_CN.po: Likewise.
5217 * po/header.pot: Likewise.
5218
0e60d68e
MF
52192013-05-28 Mike Frysinger <vapier@gentoo.org>
5220
5221 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5222 error message.
5223 (enlarge_archive): Likewise.
5224
56b672e9
BN
52252013-05-28 Ben North <ben@redfrontdoor.org>
5226
5227 * manual/arith.texi (frexp): It is the magnitude of the return
5228 value which lies in [0.5, 1), not the return value itself.
5229
5e056687
AZ
52302013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5231
5232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5233
2b66ef5d
TS
52342013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5235
528c2405
TS
5236 * stdio-common/bug26.c (main): Correct fscanf template.
5237
07b4c13d
TS
5238 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5239 declare _dl_skip_args.
5240
ec9dd97c
TS
5241 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5242 Don't declare.
5243
2b66ef5d
TS
5244 * manual/platform.texi: Add missing @end deftypefun.
5245
4f8dfe27
JM
52462013-05-24 Joseph Myers <joseph@codesourcery.com>
5247
0323d086
JM
5248 [BZ #15529]
5249 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5250 bit of mantissa of 2^16382.
5251 * math/libm-test.inc (hypot_test_data): Add more tests.
5252
dd4259b9
JM
5253 * math/libm-test.inc: Add drem and pow10 to list of tested
5254 functions.
5255 (pow10_test): New function.
5256 (drem_test): Likewise.
5257 (drem_test_tonearest): Likewise.
5258 (drem_test_towardzero): Likewise.
5259 (drem_test_downward): Likewise.
5260 (drem_test_upward): Likewise.
5261 (main): Call the new functions.
5262
4f8dfe27
JM
5263 * math/libm-test.inc (finite_test_data): Remove.
5264 (finite_test): Run tests from isfinite_test_data.
5265 (gamma_test_data): Remove.
5266 (gamma_test): Run tests from lgamma_test_data.
5267 * sysdeps/i386/fpu/libm-test-ulps: Update.
5268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5269
d116b7c4
AZ
52702013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5271
5272 * manual/platform.texi: Add PowerPC PPR function set documentation.
5273 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5274 implementation.
5275
e96e3767
CD
52762013-05-24 Carlos O'Donell <carlos@redhat.com>
5277
5278 * math/libm-test.inc (MAX_EXP): Define.
5279 (ULPDIFF): Define.
5280 (ulp): New function.
5281 (check_float_internal): Use ULPDIFF.
5282 (cpow_test): Disable failing test.
5283 (check_ulp): Test ulp() implemetnation.
5284 (main): Call check_ulp before starting tests.
5285
b679a606
JM
52862013-05-24 Joseph Myers <joseph@codesourcery.com>
5287
e8bdba36
JM
5288 * math/gen-libm-test.pl (generate_testfile): Do not handle
5289 START_DATA and END_DATA.
5290 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5291 END_DATA.
5292 (acos_tonearest_test_data): Likewise.
5293 (acos_towardzero_test_data): Likewise.
5294 (acos_downward_test_data): Likewise.
5295 (acos_upward_test_data): Likewise.
5296 (acosh_test_data): Likewise.
5297 (asin_test_data): Likewise.
5298 (asin_tonearest_test_data): Likewise.
5299 (asin_towardzero_test_data): Likewise.
5300 (asin_downward_test_data): Likewise.
5301 (asin_upward_test_data): Likewise.
5302 (asinh_test_data): Likewise.
5303 (atan_test_data): Likewise.
5304 (atanh_test_data): Likewise.
5305 (atan2_test_data): Likewise.
5306 (cabs_test_data): Likewise.
5307 (cacos_test_data): Likewise.
5308 (cacosh_test_data): Likewise.
5309 (carg_test_data): Likewise.
5310 (casin_test_data): Likewise.
5311 (casinh_test_data): Likewise.
5312 (catan_test_data): Likewise.
5313 (catanh_test_data): Likewise.
5314 (cbrt_test_data): Likewise.
5315 (ccos_test_data): Likewise.
5316 (ccosh_test_data): Likewise.
5317 (ceil_test_data): Likewise.
5318 (cexp_test_data): Likewise.
5319 (cimag_test_data): Likewise.
5320 (clog_test_data): Likewise.
5321 (clog10_test_data): Likewise.
5322 (conj_test_data): Likewise.
5323 (copysign_test_data): Likewise.
5324 (cos_test_data): Likewise.
5325 (cos_tonearest_test_data): Likewise.
5326 (cos_towardzero_test_data): Likewise.
5327 (cos_downward_test_data): Likewise.
5328 (cos_upward_test_data): Likewise.
5329 (cosh_test_data): Likewise.
5330 (cosh_tonearest_test_data): Likewise.
5331 (cosh_towardzero_test_data): Likewise.
5332 (cosh_downward_test_data): Likewise.
5333 (cosh_upward_test_data): Likewise.
5334 (cpow_test_data): Likewise.
5335 (cproj_test_data): Likewise.
5336 (creal_test_data): Likewise.
5337 (csin_test_data): Likewise.
5338 (csinh_test_data): Likewise.
5339 (csqrt_test_data): Likewise.
5340 (ctan_test_data): Likewise.
5341 (ctan_tonearest_test_data): Likewise.
5342 (ctan_towardzero_test_data): Likewise.
5343 (ctan_downward_test_data): Likewise.
5344 (ctan_upward_test_data): Likewise.
5345 (ctanh_test_data): Likewise.
5346 (ctanh_tonearest_test_data): Likewise.
5347 (ctanh_towardzero_test_data): Likewise.
5348 (ctanh_downward_test_data): Likewise.
5349 (ctanh_upward_test_data): Likewise.
5350 (erf_test_data): Likewise.
5351 (erfc_test_data): Likewise.
5352 (exp_test_data): Likewise.
5353 (exp_tonearest_test_data): Likewise.
5354 (exp_towardzero_test_data): Likewise.
5355 (exp_downward_test_data): Likewise.
5356 (exp_upward_test_data): Likewise.
5357 (exp10_test_data): Likewise.
5358 (exp2_test_data): Likewise.
5359 (expm1_test_data): Likewise.
5360 (fabs_test_data): Likewise.
5361 (fdim_test_data): Likewise.
5362 (finite_test_data): Likewise.
5363 (floor_test_data): Likewise.
5364 (fma_test_data): Likewise.
5365 (fma_towardzero_test_data): Likewise.
5366 (fma_downward_test_data): Likewise.
5367 (fma_upward_test_data): Likewise.
5368 (fmax_test_data): Likewise.
5369 (fmin_test_data): Likewise.
5370 (fmod_test_data): Likewise.
5371 (fpclassify_test_data): Likewise.
5372 (frexp_test_data): Likewise.
5373 (gamma_test_data): Likewise.
5374 (hypot_test_data): Likewise.
5375 (ilogb_test_data): Likewise.
5376 (isfinite_test_data): Likewise.
5377 (isgreater_test_data): Likewise.
5378 (isgreaterequal_test_data): Likewise.
5379 (isinf_test_data): Likewise.
5380 (isless_test_data): Likewise.
5381 (islessequal_test_data): Likewise.
5382 (islessgreater_test_data): Likewise.
5383 (isnan_test_data): Likewise.
5384 (isnormal_test_data): Likewise.
5385 (issignaling_test_data): Likewise.
5386 (isunordered_test_data): Likewise.
5387 (j0_test_data): Likewise.
5388 (j1_test_data): Likewise.
5389 (jn_test_data): Likewise.
5390 (ldexp_test_data): Likewise.
5391 (lgamma_test_data): Likewise.
5392 (lrint_test_data): Likewise.
5393 (lrint_tonearest_test_data): Likewise.
5394 (lrint_towardzero_test_data): Likewise.
5395 (lrint_downward_test_data): Likewise.
5396 (lrint_upward_test_data): Likewise.
5397 (llrint_test_data): Likewise.
5398 (llrint_tonearest_test_data): Likewise.
5399 (llrint_towardzero_test_data): Likewise.
5400 (llrint_downward_test_data): Likewise.
5401 (llrint_upward_test_data): Likewise.
5402 (log_test_data): Likewise.
5403 (log10_test_data): Likewise.
5404 (log1p_test_data): Likewise.
5405 (log2_test_data): Likewise.
5406 (logb_test_data): Likewise.
5407 (logb_downward_test_data): Likewise.
5408 (lround_test_data): Likewise.
5409 (llround_test_data): Likewise.
5410 (modf_test_data): Likewise.
5411 (nearbyint_test_data): Likewise.
5412 (nextafter_test_data): Likewise.
5413 (nexttoward_test_data): Likewise.
5414 (pow_test_data): Likewise.
5415 (pow_tonearest_test_data): Likewise.
5416 (pow_towardzero_test_data): Likewise.
5417 (pow_downward_test_data): Likewise.
5418 (pow_upward_test_data): Likewise.
5419 (remainder_test_data): Likewise.
5420 (remainder_tonearest_test_data): Likewise.
5421 (remainder_towardzero_test_data): Likewise.
5422 (remainder_downward_test_data): Likewise.
5423 (remainder_upward_test_data): Likewise.
5424 (remquo_test_data): Likewise.
5425 (rint_test_data): Likewise.
5426 (rint_tonearest_test_data): Likewise.
5427 (rint_towardzero_test_data): Likewise.
5428 (rint_downward_test_data): Likewise.
5429 (rint_upward_test_data): Likewise.
5430 (round_test_data): Likewise.
5431 (scalb_test_data): Likewise.
5432 (scalbn_test_data): Likewise.
5433 (scalbln_test_data): Likewise.
5434 (signbit_test_data): Likewise.
5435 (sin_test_data): Likewise.
5436 (sin_tonearest_test_data): Likewise.
5437 (sin_towardzero_test_data): Likewise.
5438 (sin_downward_test_data): Likewise.
5439 (sin_upward_test_data): Likewise.
5440 (sincos_test_data): Likewise.
5441 (sinh_test_data): Likewise.
5442 (sinh_tonearest_test_data): Likewise.
5443 (sinh_towardzero_test_data): Likewise.
5444 (sinh_downward_test_data): Likewise.
5445 (sinh_upward_test_data): Likewise.
5446 (sqrt_test_data): Likewise.
5447 (tan_test_data): Likewise.
5448 (tan_tonearest_test_data): Likewise.
5449 (tan_towardzero_test_data): Likewise.
5450 (tan_downward_test_data): Likewise.
5451 (tan_upward_test_data): Likewise.
5452 (tanh_test_data): Likewise.
5453 (tgamma_test_data): Likewise.
5454 (trunc_test_data): Likewise.
5455 (y0_test_data): Likewise.
5456 (y1_test_data): Likewise.
5457 (yn_test_data): Likewise.
5458 (significand_test_data): Likewise.
5459
b679a606
JM
5460 * math/gen-libm-test.pl (@functions): Remove variable.
5461 (generate_testfile): Don't handle START and END lines.
5462 * math/libm-test.inc (START): New macro.
5463 (END): Likewise.
5464 (END_COMPLEX): Likewise.
5465 (acos_test): Use END macro without arguments.
5466 (acos_test_tonearest): Likewise.
5467 (acos_test_towardzero): Likewise.
5468 (acos_test_downward): Likewise.
5469 (acos_test_upward): Likewise.
5470 (acosh_test): Likewise.
5471 (asin_test): Likewise.
5472 (asin_test_tonearest): Likewise.
5473 (asin_test_towardzero): Likewise.
5474 (asin_test_downward): Likewise.
5475 (asin_test_upward): Likewise.
5476 (asinh_test): Likewise.
5477 (atan_test): Likewise.
5478 (atanh_test): Likewise.
5479 (atan2_test): Likewise.
5480 (cabs_test): Likewise.
5481 (cacos_test): Use END_COMPLEX macro without arguments.
5482 (cacosh_test): Likewise.
5483 (carg_test): Use END macro without arguments.
5484 (casin_test): Use END_COMPLEX macro without arguments.
5485 (casinh_test): Likewise.
5486 (catan_test): Likewise.
5487 (catanh_test): Likewise.
5488 (cbrt_test): Use END macro without arguments.
5489 (ccos_test): Use END_COMPLEX macro without arguments.
5490 (ccosh_test): Likewise.
5491 (ceil_test): Use END macro without arguments.
5492 (cexp_test): Use END_COMPLEX macro without arguments.
5493 (cimag_test): Use END macro without arguments.
5494 (clog_test): Use END_COMPLEX macro without arguments.
5495 (clog10_test): Likewise.
5496 (conj_test): Likewise.
5497 (copysign_test): Use END macro without arguments.
5498 (cos_test): Likewise.
5499 (cos_test_tonearest): Likewise.
5500 (cos_test_towardzero): Likewise.
5501 (cos_test_downward): Likewise.
5502 (cos_test_upward): Likewise.
5503 (cosh_test): Likewise.
5504 (cosh_test_tonearest): Likewise.
5505 (cosh_test_towardzero): Likewise.
5506 (cosh_test_downward): Likewise.
5507 (cosh_test_upward): Likewise.
5508 (cpow_test): Use END_COMPLEX macro without arguments.
5509 (cproj_test): Likewise.
5510 (creal_test): Use END macro without arguments.
5511 (csin_test): Use END_COMPLEX macro without arguments.
5512 (csinh_test): Likewise.
5513 (csqrt_test): Likewise.
5514 (ctan_test): Likewise.
5515 (ctan_test_tonearest): Likewise.
5516 (ctan_test_towardzero): Likewise.
5517 (ctan_test_downward): Likewise.
5518 (ctan_test_upward): Likewise.
5519 (ctanh_test): Likewise.
5520 (ctanh_test_tonearest): Likewise.
5521 (ctanh_test_towardzero): Likewise.
5522 (ctanh_test_downward): Likewise.
5523 (ctanh_test_upward): Likewise.
5524 (erf_test): Use END macro without arguments.
5525 (erfc_test): Likewise.
5526 (exp_test): Likewise.
5527 (exp_test_tonearest): Likewise.
5528 (exp_test_towardzero): Likewise.
5529 (exp_test_downward): Likewise.
5530 (exp_test_upward): Likewise.
5531 (exp10_test): Likewise.
5532 (exp2_test): Likewise.
5533 (expm1_test): Likewise.
5534 (fabs_test): Likewise.
5535 (fdim_test): Likewise.
5536 (finite_test): Likewise.
5537 (floor_test): Likewise.
5538 (fma_test): Likewise.
5539 (fma_test_towardzero): Likewise.
5540 (fma_test_downward): Likewise.
5541 (fma_test_upward): Likewise.
5542 (fmax_test): Likewise.
5543 (fmin_test): Likewise.
5544 (fmod_test): Likewise.
5545 (fpclassify_test): Likewise.
5546 (frexp_test): Likewise.
5547 (gamma_test): Likewise.
5548 (hypot_test): Likewise.
5549 (ilogb_test): Likewise.
5550 (isfinite_test): Likewise.
5551 (isgreater_test): Likewise.
5552 (isgreaterequal_test): Likewise.
5553 (isinf_test): Likewise.
5554 (isless_test): Likewise.
5555 (islessequal_test): Likewise.
5556 (islessgreater_test): Likewise.
5557 (isnan_test): Likewise.
5558 (isnormal_test): Likewise.
5559 (issignaling_test): Likewise.
5560 (isunordered_test): Likewise.
5561 (j0_test): Likewise.
5562 (j1_test): Likewise.
5563 (jn_test): Likewise.
5564 (ldexp_test): Likewise.
5565 (lgamma_test): Likewise.
5566 (lrint_test): Likewise.
5567 (lrint_test_tonearest): Likewise.
5568 (lrint_test_towardzero): Likewise.
5569 (lrint_test_downward): Likewise.
5570 (lrint_test_upward): Likewise.
5571 (llrint_test): Likewise.
5572 (llrint_test_tonearest): Likewise.
5573 (llrint_test_towardzero): Likewise.
5574 (llrint_test_downward): Likewise.
5575 (llrint_test_upward): Likewise.
5576 (log_test): Likewise.
5577 (log10_test): Likewise.
5578 (log1p_test): Likewise.
5579 (log2_test): Likewise.
5580 (logb_test): Likewise.
5581 (logb_test_downward): Likewise.
5582 (lround_test): Likewise.
5583 (llround_test): Likewise.
5584 (modf_test): Likewise.
5585 (nearbyint_test): Likewise.
5586 (nextafter_test): Likewise.
5587 (nexttoward_test): Likewise.
5588 (pow_test): Likewise.
5589 (pow_test_tonearest): Likewise.
5590 (pow_test_towardzero): Likewise.
5591 (pow_test_downward): Likewise.
5592 (pow_test_upward): Likewise.
5593 (remainder_test): Likewise.
5594 (remainder_test_tonearest): Likewise.
5595 (remainder_test_towardzero): Likewise.
5596 (remainder_test_downward): Likewise.
5597 (remainder_test_upward): Likewise.
5598 (remquo_test): Likewise.
5599 (rint_test): Likewise.
5600 (rint_test_tonearest): Likewise.
5601 (rint_test_towardzero): Likewise.
5602 (rint_test_downward): Likewise.
5603 (rint_test_upward): Likewise.
5604 (round_test): Likewise.
5605 (scalb_test): Likewise.
5606 (scalbn_test): Likewise.
5607 (scalbln_test): Likewise.
5608 (signbit_test): Likewise.
5609 (sin_test): Likewise.
5610 (sin_test_tonearest): Likewise.
5611 (sin_test_towardzero): Likewise.
5612 (sin_test_downward): Likewise.
5613 (sin_test_upward): Likewise.
5614 (sincos_test): Likewise.
5615 (sinh_test): Likewise.
5616 (sinh_test_tonearest): Likewise.
5617 (sinh_test_towardzero): Likewise.
5618 (sinh_test_downward): Likewise.
5619 (sinh_test_upward): Likewise.
5620 (sqrt_test): Likewise.
5621 (tan_test): Likewise.
5622 (tan_test_tonearest): Likewise.
5623 (tan_test_towardzero): Likewise.
5624 (tan_test_downward): Likewise.
5625 (tan_test_upward): Likewise.
5626 (tanh_test): Likewise.
5627 (tgamma_test): Likewise.
5628 (trunc_test): Likewise.
5629 (y0_test): Likewise.
5630 (y1_test): Likewise.
5631 (yn_test): Likewise.
5632 (significand_test): Likewise.
5633
bae143d2
OB
56342013-05-24 Ondřej Bílka <neleai@seznam.cz>
5635
5636 [BZ #15381]
5637 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5638
9323d39b
EM
56392013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5640
d4ea44a0 5641 [BZ #14894]
9323d39b
EM
5642 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5643 __ppc_mdoio and __ppc_mdoom.
5644 * manual/platform.texi: Document new functions __ppc_yield,
5645 __ppc_mdoio and __ppc_mdoom.
5646
13e23af7
CD
56472013-05-22 Carlos O'Donell <carlos@redhat.com>
5648
5649 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5650 (main): Mention "tls" pseudo-hwcap is legacy.
5651 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5652
351fe550
JM
56532013-05-22 Joseph Myers <joseph@codesourcery.com>
5654
5655 * math/gen-libm-test.pl (parse_args): Output only string of
5656 arguments as text for test name, not full call or descriptions of
5657 tests for extra outputs.
5658 (generate_testfile): Do not pass function name to parse_args.
5659 Generate this_func variable from START.
5660 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5661 field to arg_str.
5662 (struct test_ff_f_data): Likewise.
5663 (test_ff_f_data_nexttoward): Likewise.
5664 (struct test_fi_f_data): Likewise.
5665 (struct test_fl_f_data): Likewise.
5666 (struct test_if_f_data): Likewise.
5667 (struct test_fff_f_data): Likewise.
5668 (struct test_c_f_data): Likewise.
5669 (struct test_f_f1_data): Likewise. Remove field extra_name.
5670 (struct test_fF_f1_data): Likewise.
5671 (struct test_ffI_f1_data): Likewise.
5672 (struct test_c_c_data): Rename test_name field to arg_str.
5673 (struct test_cc_c_data): Likewise.
5674 (struct test_f_i_data): Likewise.
5675 (struct test_ff_i_data): Likewise.
5676 (struct test_f_l_data): Likewise.
5677 (struct test_f_L_data): Likewise.
5678 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5679 and extra2_name.
5680 (COMMON_TEST_SETUP): New macro.
5681 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5682 (COMMON_TEST_CLEANUP): Likewise.
5683 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5684 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5685 macros.
5686 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5687 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5688 macros.
5689 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5690 (RUN_TEST_fff_f): Take argument string. Call new setup and
5691 cleanup macros.
5692 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5693 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5694 macros.
5695 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5696 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5697 macros.
5698 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5699 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5700 cleanup macros.
5701 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5702 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5703 cleanup macros.
5704 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5705 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5706 cleanup macros.
5707 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5708 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5709 macros.
5710 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5711 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5712 macros.
5713 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5714 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5715 macros.
5716 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5717 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5718 cleanup macros.
5719 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5720 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5721 cleanup macros.
5722 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5723 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5724 macros.
5725 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5726 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5727 cleanup macros.
5728 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5729 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5730 macros.
5731 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5732 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5733 macros.
5734 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5735 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5736 cleanup macros.
5737 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5738
85118d4d
EBM
57392013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5740
5741 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5742 to _sifields.sigfault.
5743 (si_addr_lsb): Define new macro.
5744 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5745 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5746 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5747
7a44c18f
CD
57482013-05-03 Carlos O'Donell <carlos at redhat.com>
5749
5750 [BZ #15441]
5751 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5752 returns -1.
5753 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5754 null return -1.
5755 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5756 loading the domain.
5757
b50a7181
JM
57582013-05-22 Joseph Myers <joseph@codesourcery.com>
5759
5760 * math/gen-libm-test.pl (parse_args): Do not include expected
5761 result in test name.
5762 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5765 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768
051063c8
SP
57692013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5770
3ce9e010
SP
5771 * benchtests/Makefile: Sort function entries.
5772
051063c8
SP
5773 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5774 tanh, asinh, acosh, atanh.
5775 * benchtests/acos-inputs: New file.
5776 * benchtests/acosh-inputs: New file.
5777 * benchtests/asin-inputs: New file.
5778 * benchtests/asinh-inputs: New file.
5779 * benchtests/atanh-inputs: New file.
5780 * benchtests/cosh-inputs: New file.
5781 * benchtests/log-inputs: New file.
5782 * benchtests/sinh-inputs: New file.
5783 * benchtests/tanh-inputs: New file.
5784
47c22455
DL
57852013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5786
5787 [BZ #15339]
5788 * posix/tst-getaddrinfo4.c: New test.
5789 * posix/Makefile (tests): Add it.
5790
3d04f5db
SP
57912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5792
5793 [BZ #15339]
5794 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5795 when no services were used.
5796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5797 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5798
d5dd6189
AS
57992013-05-21 Andreas Schwab <schwab@suse.de>
5800
5801 [BZ #15014]
5802 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5803 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5804 successful.
5805 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5806 redundant variable declarations and reallocation of buffer when
5807 parsing as IPv6 address. Always set NSS status when called from
5808 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5809 buffer too small. Correct computation of needed size.
5810 * nss/Makefile (tests): Add test-digits-dots.
5811 * nss/test-digits-dots.c: New test.
5812
fef94eab
SP
58132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5814
5815 * benchtests/Makefile: Remove instructions for adding
5816 benchmark tests.
5817 * benchtests/README: New file to explain how to execute and
5818 enhance the benchmark tests.
5819
e39adf43
AS
58202013-05-21 Andreas Schwab <schwab@suse.de>
5821
5822 [BZ #15493]
5823 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5824 * setjmp/tst-sigsetjmp.c: New test.
5825
b2b671b6
OB
58262013-05-20 Ondřej Bílka <neleai@seznam.cz>
5827
5828 * sysdeps/x86_64/memset.S (memset): New implementation.
5829 (__bzero): Likewise.
5830 (__memset_tail): New function.
5831
2d48b41c
OB
58322013-05-20 Ondřej Bílka <neleai@seznam.cz>
5833
5834 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5835 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5836 __memcpy_sse2_unaligned ifunc selection.
5837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5838 Add memcpy-sse2-unaligned.S.
5839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5840 Add: __memcpy_sse2_unaligned.
5841
f16cc3eb
JM
58422013-05-19 Joseph Myers <joseph@codesourcery.com>
5843
3e694268
JM
5844 [BZ #15490]
5845 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5846 math_force_eval before restoring floating-point envrionment.
5847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5849 Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5851 <math_private.h>.
5852 (__nearbyintl): Use math_force_eval before restoring
5853 floating-point environment.
5854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5855
db62a907
JM
5856 * math/gen-libm-test.pl (special_functions): Remove.
5857 (parse_args): Don't handle TEST_extra. Handle functions with no
5858 return value.
5859 * math/libm-test.inc (struct test_sincos_data): Replace with
5860 struct test_fFF_11_data.
5861 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5862 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5863 (sincos_test_data): Change element type to struct
5864 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5865 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5866 RUN_TEST_LOOP_sincos.
5867 * math/README.libm-test: Don't mention special handling of
5868 individual functions.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5872 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5873 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5875
f16cc3eb
JM
5876 * math/gen-libm-test.pl (get_variable): Remove function.
5877 (parse_args): Don't show pointer parameters to call in test
5878 names. Use "extra output N" in test names for extra outputs
5879 rather than naming variables.
5880
3779b5b6
JM
58812013-05-18 Joseph Myers <joseph@codesourcery.com>
5882
2ee094ff
JM
5883 [BZ #15488]
5884 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5885 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5886 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5887 double tests.
5888 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5889 disable.
5890 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5891 check_long_double.
5892
3779b5b6
JM
5893 * math/gen-libm-test.pl (@tests): Remove variable.
5894 ($count): Likewise.
5895 (new_test): Remove function.
5896 (show_exceptions): New function.
5897 (special_functions): Use show_exceptions instead of new_test.
5898 (parse_args): Likewise.
5899 (generate_testfile): Pass only function name in generated call to
5900 print_max_error or print_complex_max_error.
5901 (get_ulps): Do not handle complex tests specially.
5902 (output_test): Rename to ...
5903 (get_all_ulps_for_test): ... this. Return a string rather than
5904 printing to a file. Require ulps to be present.
5905 (output_ulps): Generate arrays rather than #defines.
5906 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5907 (struct ulp_data): New type.
5908 (BUILD_COMPLEX_ULP): Remove macro.
5909 (compare_ulp_data): New function.
5910 (find_ulps): Likewise.
5911 (find_test_ulps): Likewise.
5912 (find_function_ulps): Likewise.
5913 (find_complex_function_ulps): Likewise.
5914 (print_max_error): Determine allowed ulps using
5915 find_function_ulps.
5916 (print_complex_max_error): Determine allowed ulps using
5917 find_complex_function_ulps.
5918 (check_float_internal): Determine max ulps using find_test_ulps.
5919 (check_float): Do not take max_ulp parameter. Update call to
5920 check_float_internal.
5921 (check_complex): Likewise.
5922 (check_int): Do not take max_ulp parameter.
5923 (check_long): Likewise.
5924 (check_bool): Likewise.
5925 (check_longlong): Likewise.
5926 (struct test_f_f_data): Remove max_ulp field.
5927 (struct test_ff_f_data): Likewise.
5928 (struct test_ff_f_data_nexttoward): Likewise.
5929 (struct test_fi_f_data): Likewise.
5930 (struct test_fl_f_data): Likewise.
5931 (struct test_if_f_data): Likewise.
5932 (struct test_fff_f_data): Likewise.
5933 (struct test_c_f_data): Likewise.
5934 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5935 (struct test_fF_f1_data): Likewise.
5936 (struct test_ffI_f1_data): Likewise.
5937 (struct test_c_c_data): Remove max_ulp field.
5938 (struct test_cc_c_data): Likewise.
5939 (struct test_f_i_data): Likewise.
5940 (struct test_ff_i_data): Likewise.
5941 (struct test_f_l_data): Likewise.
5942 (struct test_f_L_data): Likewise.
5943 (struct test_sincos_data): Likewise.
5944 (RUN_TEST_f_f): Do not handle ulps.
5945 (RUN_TEST_LOOP_f_f): Likewise.
5946 (RUN_TEST_2_f): Likewise.
5947 (RUN_TEST_LOOP_2_f): Likewise.
5948 (RUN_TEST_fff_f): Likewise.
5949 (RUN_TEST_LOOP_fff_f): Likewise.
5950 (RUN_TEST_c_f): Likewise.
5951 (RUN_TEST_LOOP_c_f): Likewise.
5952 (RUN_TEST_f_f1): Likewise.
5953 (RUN_TEST_LOOP_f_f1): Likewise.
5954 (RUN_TEST_fF_f1): Likewise.
5955 (RUN_TEST_LOOP_fF_f1): Likewise.
5956 (RUN_TEST_fI_f1): Likewise.
5957 (RUN_TEST_LOOP_fI_f1): Likewise.
5958 (RUN_TEST_ffI_f1): Likewise.
5959 (RUN_TEST_LOOP_ffI_f1): Likewise.
5960 (RUN_TEST_c_c): Likewise.
5961 (RUN_TEST_LOOP_c_c): Likewise.
5962 (RUN_TEST_cc_c): Likewise.
5963 (RUN_TEST_LOOP_cc_c): Likewise.
5964 (RUN_TEST_f_i): Likewise.
5965 (RUN_TEST_LOOP_f_i): Likewise.
5966 (RUN_TEST_f_i_tg): Likewise.
5967 (RUN_TEST_LOOP_f_i_tg): Likewise.
5968 (RUN_TEST_ff_i_tg): Likewise.
5969 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5970 (RUN_TEST_f_b): Likewise.
5971 (RUN_TEST_LOOP_f_b): Likewise.
5972 (RUN_TEST_f_b_tg): Likewise.
5973 (RUN_TEST_LOOP_f_b_tg): Likewise.
5974 (RUN_TEST_f_l): Likewise.
5975 (RUN_TEST_LOOP_f_l): Likewise.
5976 (RUN_TEST_f_L): Likewise.
5977 (RUN_TEST_LOOP_f_L): Likewise.
5978 (RUN_TEST_sincos): Likewise.
5979 (RUN_TEST_LOOP_sincos): Likewise.
5980
8269107f
JM
59812013-05-17 Joseph Myers <joseph@codesourcery.com>
5982
bb38759d
JM
5983 [BZ #15480]
5984 [BZ #15485]
5985 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5986 main case of finite arguments, set rounding mode to FE_TONEAREST
5987 and discard exceptions.
5988 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5989 exceptions.
5990 (remainder_tonearest_test_data): New variable.
5991 (remainder_test_tonearest): New function.
5992 (remainder_towardzero_test_data): New variable.
5993 (remainder_test_towardzero): New function.
5994 (remainder_downward_test_data): New variable.
5995 (remainder_test_downward): New function.
5996 (remainder_upward_test_data): New variable.
5997 (remainder_test_upward): New function.
5998 (main): Call the new test functions.
5999
a00bdcf0
JM
6000 * math/libm-test.inc (struct test_f_f1_data): Remove field
6001 extra_init.
6002 (struct test_fF_f1_data): Likewise.
6003 (struct test_ffI_f1_data): Likewise.
6004 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6005 based on value of EXTRA_EXPECTED.
6006 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6007 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6008 EXTRA_VAR based on value of EXTRA_EXPECTED.
6009 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6010 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6011 EXTRA_VAR based on value of EXTRA_EXPECTED.
6012 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6013 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6014 EXTRA_VAR based on value of EXTRA_EXPECTED.
6015 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6016 * math/gen-libm-test.pl (parse_args): Don't output initializers
6017 for extra output values.
6018
de407f79
JM
6019 * math/libm-test.inc (check_int): Expect result to be exactly
6020 equal to expected value and do not handle ulps.
6021 (check_long): Likewise.
6022 (check_longlong): Likewise.
6023
8269107f
JM
6024 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6025 exceptions.
6026 (cimag_test_data): Likewise.
6027 (conj_test_data): Likewise.
6028 (copysign_test_data): Likewise.
6029 (cproj_test_data): Likewise.
6030 (creal_test_data): Likewise.
6031 (fabs_test_data): Likewise.
6032 (fdim_test_data): Likewise.
6033 (finite_test_data): Likewise.
6034 (floor_test_data): Likewise.
6035 (fmax_test_data): Likewise.
6036 (fmin_test_data): Likewise.
6037 (fmod_test_data): Likewise.
6038 (fpclassify_test_data): Likewise.
6039 (frexp_test_data): Likewise.
6040 (ilogb_test_data): Likewise.
6041 (isfinite_test_data): Likewise.
6042 (isgreater_test_data): Likewise.
6043 (isgreaterequal_test_data): Likewise.
6044 (isinf_test_data): Likewise.
6045 (isless_test_data): Likewise.
6046 (islessequal_test_data): Likewise.
6047 (islessgreater_test_data): Likewise.
6048 (isnan_test_data): Likewise.
6049 (isnormal_test_data): Likewise.
6050 (issignaling_test_data): Likewise.
6051 (isunordered_test_data): Likewise.
6052 (ldexp_test_data): Likewise.
6053 (lrint_test_data): Likewise.
6054 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6055 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6056 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6057 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6058 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6059 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6060 test input.
6061 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6062 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6063 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6064 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6065 that test input.
6066 (lrint_downward_test_data): Test for "inexact" exceptions.
6067 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6068 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6069 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6070 test input.
6071 (lrint_upward_test_data): Test for "inexact" exceptions.
6072 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6073 test input.
6074 (llrint_test_data): Test for "inexact" exceptions.
6075 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6076 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6077 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6078 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6079 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6080 (llrint_downward_test_data): Test for "inexact" exceptions.
6081 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6082 (llrint_upward_test_data): Test for "inexact" exceptions.
6083 (logb_test_data): Likewise.
6084 (logb_downward_test_data): Likewise.
6085 (nextafter_test_data): Likewise.
6086 (nexttoward_test_data): Likewise.
6087 (remainder_test_data): Likewise.
6088 (remquo_test_data): Likewise.
6089 (scalbn_test_data): Likewise.
6090 (scalbln_test_data): Likewise.
6091 (signbit_test_data): Likewise.
6092 (sqrt_test_data): Likewise.
6093 (significand_test_data): Likewise.
6094
48a18de1
SP
60952013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6096
6097 [BZ #15424]
6098 * benchtests/bench-modf.c (struct args): Mark arg0 as
6099 volatile.
6100 * scripts/bench.pl: Mark members of struct args as volatile.
6101
13d3b41a
AZ
61022013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6103
68191c1d 6104 [BZ # 15497]
13d3b41a
AZ
6105 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6106 negative infinity on POWER6 or lower.
6107 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6108
2848b105
MR
61092013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6110
6111 [BZ #15442]
6112 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6113 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6114 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6115 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6116 (_FP_SETQNAN): New macro.
6117 (_FP_SETQNAN_SEMIRAW): Likewise.
6118 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6119 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6120 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6121 (FP_EXTEND): Use _FP_FRAC_SNANP.
6122 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6123 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6124 into account.
6125 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6126 New macro.
6127 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6128 Likewise.
6129
323e5cb7
JM
61302013-05-16 Joseph Myers <joseph@codesourcery.com>
6131
c58b274f
JM
6132 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6133 with DIVIDE_BY_ZERO_EXCEPTION.
6134 (gamma_test_data): Likewise.
6135 (lgamma_test_data): Likewise.
6136 (log_test_data): Likewise.
6137 (log10_test_data): Likewise.
6138 (log2_test_data): Likewise.
6139 (tgamma_test_data): Likewise.
6140
0ab34904
JM
6141 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6142 (acos_test_tonearest): Likewise.
6143 (acos_test_towardzero): Likewise.
6144 (acos_test_downward): Likewise.
6145 (acos_test_upward): Likewise.
6146 (acosh_test): Likewise.
6147 (asin_test): Likewise.
6148 (asin_test_tonearest): Likewise.
6149 (asin_test_towardzero): Likewise.
6150 (asin_test_downward): Likewise.
6151 (asin_test_upward): Likewise.
6152 (asinh_test): Likewise.
6153 (atan_test): Likewise.
6154 (atanh_test): Likewise.
6155 (atan2_test): Likewise.
6156 (cabs_test): Likewise.
6157 (cacos_test): Likewise.
6158 (cacosh_test): Likewise.
6159 (casin_test): Likewise.
6160 (casinh_test): Likewise.
6161 (catan_test): Likewise.
6162 (catanh_test): Likewise.
6163 (cbrt_test): Likewise.
6164 (ccos_test): Likewise.
6165 (ccosh_test): Likewise.
6166 (cexp_test): Likewise.
6167 (clog_test): Likewise.
6168 (clog10_test): Likewise.
6169 (cos_test): Likewise.
6170 (cos_test_tonearest): Likewise.
6171 (cos_test_towardzero): Likewise.
6172 (cos_test_downward): Likewise.
6173 (cos_test_upward): Likewise.
6174 (cosh_test): Likewise.
6175 (cosh_test_tonearest): Likewise.
6176 (cosh_test_towardzero): Likewise.
6177 (cosh_test_downward): Likewise.
6178 (cosh_test_upward): Likewise.
6179 (cpow_test): Likewise.
6180 (csin_test): Likewise.
6181 (csinh_test): Likewise.
6182 (csqrt_test): Likewise.
6183 (ctan_test): Likewise.
6184 (ctan_test_tonearest): Likewise.
6185 (ctan_test_towardzero): Likewise.
6186 (ctan_test_downward): Likewise.
6187 (ctan_test_upward): Likewise.
6188 (ctanh_test): Likewise.
6189 (ctanh_test_tonearest): Likewise.
6190 (ctanh_test_towardzero): Likewise.
6191 (ctanh_test_downward): Likewise.
6192 (ctanh_test_upward): Likewise.
6193 (erf_test): Likewise.
6194 (erfc_test): Likewise.
6195 (exp_test): Likewise.
6196 (exp_test_tonearest): Likewise.
6197 (exp_test_towardzero): Likewise.
6198 (exp_test_downward): Likewise.
6199 (exp_test_upward): Likewise.
6200 (exp10_test): Likewise.
6201 (exp2_test): Likewise.
6202 (expm1_test): Likewise.
6203 (fmod_test): Likewise.
6204 (gamma_test): Likewise.
6205 (hypot_test): Likewise.
6206 (j0_test): Likewise.
6207 (j1_test): Likewise.
6208 (jn_test): Likewise.
6209 (lgamma_test): Likewise.
6210 (log_test): Likewise.
6211 (log10_test): Likewise.
6212 (log1p_test): Likewise.
6213 (log2_test): Likewise.
6214 (logb_test_downward): Likewise.
6215 (pow_test): Likewise.
6216 (pow_test_tonearest): Likewise.
6217 (pow_test_towardzero): Likewise.
6218 (pow_test_downward): Likewise.
6219 (pow_test_upward): Likewise.
6220 (remainder_test): Likewise.
6221 (remquo_test): Likewise.
6222 (sin_test): Likewise.
6223 (sin_test_tonearest): Likewise.
6224 (sin_test_towardzero): Likewise.
6225 (sin_test_downward): Likewise.
6226 (sin_test_upward): Likewise.
6227 (sincos_test): Likewise.
6228 (sinh_test): Likewise.
6229 (sinh_test_tonearest): Likewise.
6230 (sinh_test_towardzero): Likewise.
6231 (sinh_test_downward): Likewise.
6232 (sinh_test_upward): Likewise.
6233 (sqrt_test): Likewise.
6234 (tan_test): Likewise.
6235 (tan_test_tonearest): Likewise.
6236 (tan_test_towardzero): Likewise.
6237 (tan_test_downward): Likewise.
6238 (tan_test_upward): Likewise.
6239 (tanh_test): Likewise.
6240 (tgamma_test): Likewise.
6241 (y0_test): Likewise.
6242 (y1_test): Likewise.
6243 (yn_test): Likewise.
6244
323e5cb7
JM
6245 * math/gen-libm-test.pl (adjust_arg): Remove function.
6246 (special_function): Remove argument $in_func. Only handle
6247 generating output for tables of tests, not inside functions.
6248 (parse_args): Likewise.
6249 (generate_testfile): Remove variable $in_func. Update call to
6250 parse_args.
6251 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6252 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6253 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6254 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6255 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6256 (MAX_VALUE_INIT): Rename macro to max_value.
6257 (MIN_VALUE_INIT): Rename macro to min_value.
6258 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6259 (plus_zero): Remove variable.
6260 (minus_zero): Likewise.
6261 (plus_infty): Likewise.
6262 (minus_infty): Likewise.
6263 (qnan_value): Likewise.
6264 (max_value): Likewise.
6265 (min_value): Likewise.
6266 (min_subnorm_value): Likewise.
6267
e054f494
RA
62682013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6269
6270 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6271 uint64_t or uint32_t usage.
6272 * crypt/sha256-block.c: Likewise.
6273 * crypt/sha256-crypt.c: Likewise.
6274 * crypt/sha256.c: Likewise.
6275 * crypt/sha512-block.c: Likewise.
6276 * crypt/sha512-crypt.c: Likewise.
6277 * crypt/sha512.c: Likewise.
6278 * debug/backtrace-tst.c: Likewise.
6279 * debug/pcprofiledump.c: Likewise.
6280 * elf/cache.c: Likewise.
6281 * elf/dl-cache.c: Likewise.
6282 * elf/dl-misc.c: Likewise.
6283 * elf/dl-profile.c: Likewise.
6284 * elf/dl-support.c: Likewise.
6285 * elf/ldconfig.c: Likewise.
6286 * elf/sprof.c: Likewise.
6287 * iconv/dummy-repertoire.c: Likewise.
6288 * iconv/iconv_charmap.c: Likewise.
6289 * iconv/skeleton.c: Likewise.
6290 * iconvdata/8bit-generic.c: Likewise.
6291 * iconvdata/cp737.h: Likewise.
6292 * iconvdata/cp775.h: Likewise.
6293 * iconvdata/ibm1008.h: Likewise.
6294 * iconvdata/ibm1025.h: Likewise.
6295 * iconvdata/ibm1046.h: Likewise.
6296 * iconvdata/ibm1097.h: Likewise.
6297 * iconvdata/ibm1112.h: Likewise.
6298 * iconvdata/ibm1122.h: Likewise.
6299 * iconvdata/ibm1123.h: Likewise.
6300 * iconvdata/ibm1124.h: Likewise.
6301 * iconvdata/ibm1129.h: Likewise.
6302 * iconvdata/ibm1130.h: Likewise.
6303 * iconvdata/ibm1132.h: Likewise.
6304 * iconvdata/ibm1133.h: Likewise.
6305 * iconvdata/ibm1137.h: Likewise.
6306 * iconvdata/ibm1140.h: Likewise.
6307 * iconvdata/ibm1141.h: Likewise.
6308 * iconvdata/ibm1142.h: Likewise.
6309 * iconvdata/ibm1143.h: Likewise.
6310 * iconvdata/ibm1144.h: Likewise.
6311 * iconvdata/ibm1145.h: Likewise.
6312 * iconvdata/ibm1146.h: Likewise.
6313 * iconvdata/ibm1147.h: Likewise.
6314 * iconvdata/ibm1148.h: Likewise.
6315 * iconvdata/ibm1149.h: Likewise.
6316 * iconvdata/ibm1153.h: Likewise.
6317 * iconvdata/ibm1154.h: Likewise.
6318 * iconvdata/ibm1155.h: Likewise.
6319 * iconvdata/ibm1156.h: Likewise.
6320 * iconvdata/ibm1157.h: Likewise.
6321 * iconvdata/ibm1158.h: Likewise.
6322 * iconvdata/ibm1160.h: Likewise.
6323 * iconvdata/ibm1161.h: Likewise.
6324 * iconvdata/ibm1162.h: Likewise.
6325 * iconvdata/ibm1163.h: Likewise.
6326 * iconvdata/ibm1164.h: Likewise.
6327 * iconvdata/ibm1166.h: Likewise.
6328 * iconvdata/ibm1167.h: Likewise.
6329 * iconvdata/ibm12712.h: Likewise.
6330 * iconvdata/ibm1390.h: Likewise.
6331 * iconvdata/ibm1399.h: Likewise.
6332 * iconvdata/ibm16804.h: Likewise.
6333 * iconvdata/ibm4517.h: Likewise.
6334 * iconvdata/ibm4899.h: Likewise.
6335 * iconvdata/ibm4909.h: Likewise.
6336 * iconvdata/ibm4971.h: Likewise.
6337 * iconvdata/ibm5347.h: Likewise.
6338 * iconvdata/ibm803.h: Likewise.
6339 * iconvdata/ibm856.h: Likewise.
6340 * iconvdata/ibm901.h: Likewise.
6341 * iconvdata/ibm902.h: Likewise.
6342 * iconvdata/ibm9030.h: Likewise.
6343 * iconvdata/ibm9066.h: Likewise.
6344 * iconvdata/ibm921.h: Likewise.
6345 * iconvdata/ibm922.h: Likewise.
6346 * iconvdata/ibm9448.h: Likewise.
6347 * iconvdata/isiri-3342.h: Likewise.
6348 * iconvdata/jis0201.h: Likewise.
6349 * include/link.h: Likewise.
6350 * include/netdb.h: Likewise.
6351 * inet/check_native.c: Likewise.
6352 * inet/check_pf.c: Likewise.
6353 * inet/getipv4sourcefilter.c: Likewise.
6354 * inet/getnameinfo.c: Likewise.
6355 * inet/getsourcefilter.c: Likewise.
6356 * inet/htonl.c: Likewise.
6357 * inet/setipv4sourcefilter.c: Likewise.
6358 * inet/setsourcefilter.c: Likewise.
6359 * inet/test-inet6_opt.c: Likewise.
6360 * inet/tst-network.c: Likewise.
6361 * locale/C-collate.c: Likewise.
6362 * locale/C-ctype.c: Likewise.
6363 * locale/C-time.c: Likewise.
6364 * locale/C-translit.h: Likewise.
6365 * locale/loadarchive.c: Likewise.
6366 * locale/programs/3level.h: Likewise.
6367 * locale/programs/charmap.c: Likewise.
6368 * locale/programs/charmap.h: Likewise.
6369 * locale/programs/ld-address.c: Likewise.
6370 * locale/programs/ld-collate.c: Likewise.
6371 * locale/programs/ld-ctype.c: Likewise.
6372 * locale/programs/ld-identification.c: Likewise.
6373 * locale/programs/ld-measurement.c: Likewise.
6374 * locale/programs/ld-messages.c: Likewise.
6375 * locale/programs/ld-monetary.c: Likewise.
6376 * locale/programs/ld-name.c: Likewise.
6377 * locale/programs/ld-numeric.c: Likewise.
6378 * locale/programs/ld-paper.c: Likewise.
6379 * locale/programs/ld-telephone.c: Likewise.
6380 * locale/programs/ld-time.c: Likewise.
6381 * locale/programs/linereader.c: Likewise.
6382 * locale/programs/locale.c: Likewise.
6383 * locale/programs/locarchive.c: Likewise.
6384 * locale/programs/locfile.h: Likewise.
6385 * locale/programs/repertoire.c: Likewise.
6386 * locale/programs/simple-hash.c: Likewise.
6387 * locale/programs/simple-hash.h: Likewise.
6388 * malloc/memusage.c: Likewise.
6389 * malloc/memusagestat.c: Likewise.
6390 * nis/nis_defaults.c: Likewise.
6391 * nis/nis_hash.c: Likewise.
6392 * nis/nis_print.c: Likewise.
6393 * nis/nis_xdr.c: Likewise.
6394 * nscd/connections.c: Likewise.
6395 * nscd/hstcache.c: Likewise.
6396 * nscd/nscd_gethst_r.c: Likewise.
6397 * nscd/nscd_getserv_r.c: Likewise.
6398 * nscd/nscd_helper.c: Likewise.
6399 * nscd/servicescache.c: Likewise.
6400 * nss/makedb.c: Likewise.
6401 * nss/nss_db/db-XXX.c: Likewise.
6402 * nss/nss_db/db-initgroups.c: Likewise.
6403 * nss/nss_db/db-netgrp.c: Likewise.
6404 * nss/nss_files/files-network.c: Likewise.
6405 * nss/nss_files/files-parse.c: Likewise.
6406 * posix/bug-regex5.c: Likewise.
6407 * posix/fnmatch_loop.c: Likewise.
6408 * posix/regcomp.c: Likewise.
6409 * posix/regexec.c: Likewise.
6410 * posix/tst-rfc3484-2.c: Likewise.
6411 * posix/tst-rfc3484-3.c: Likewise.
6412 * posix/tst-rfc3484.c: Likewise.
6413 * resolv/nss_dns/dns-canon.c: Likewise.
6414 * resolv/nss_dns/dns-network.c: Likewise.
6415 * resolv/res_init.c: Likewise.
6416 * resolv/res_mkquery.c: Likewise.
6417 * resolv/tst-aton.c: Likewise.
6418 * stdlib/cxa_atexit.c: Likewise.
6419 * stdlib/cxa_finalize.c: Likewise.
6420 * stdlib/gen-fpioconst.c: Likewise.
6421 * stdlib/strtol_l.c: Likewise.
6422 * string/tst-endian.c: Likewise.
6423 * sunrpc/auth_des.c: Likewise.
6424 * sunrpc/clnt_udp.c: Likewise.
6425 * sunrpc/rtime.c: Likewise.
6426 * sunrpc/svcauth_des.c: Likewise.
6427 * sunrpc/xdr.c: Likewise.
6428 * sunrpc/xdr_intXX_t.c: Likewise.
6429 * sunrpc/xdr_rec.c: Likewise.
6430 * sysdeps/generic/ldconfig.h: Likewise.
6431 * sysdeps/generic/ldsodefs.h: Likewise.
6432 * sysdeps/generic/memusage.h: Likewise.
6433 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6436 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6443 * sysdeps/posix/getaddrinfo.c: Likewise.
6444 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6445 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6446 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6447 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6448 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6449 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6450 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6451 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6452 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6454 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6455 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6456 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6457 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6458 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6459 * sysdeps/x86_64/dl-tls.h: Likewise.
6460 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6461 * time/alt_digit.c: Likewise.
6462 * time/era.c: Likewise.
6463 * wcsmbs/tst-c16c32-1.c: Likewise.
6464
8c75f674
JM
64652013-05-16 Joseph Myers <joseph@codesourcery.com>
6466
6467 * math/libm-test.inc (struct test_sincos_data): New type.
6468 (RUN_TEST_LOOP_sincos): New macro.
6469 (sincos_test_data): New variable.
6470 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6471
e6e49e59
RH
64722013-05-16 Richard Henderson <rth@redhat.com>
6473
6474 * math/atest-exp2.c (LIMB64): New macro.
6475 (CONSTSZ): New macro.
6476 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6477 (hexdig): Move ...
6478 (print_mpn_fp): ... to function scope.
6479 (read_mpn_hex): Remove.
6480 (get_log2): Remove.
6481 (exp2_mpn): Use mp_log2.
6482 (main): Use mp_exp1.
6483
15c7c18d
JM
64842013-05-16 Joseph Myers <joseph@codesourcery.com>
6485
105a07df
JM
6486 * math/libm-test.inc: Remove comment about not testing "inexact"
6487 exceptions.
6488 (INEXACT_EXCEPTION): New macro.
6489 (NO_INEXACT_EXCEPTION): Likewise.
6490 (INVALID_EXCEPTION_OK): Update value.
6491 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6492 (OVERFLOW_EXCEPTION_OK): Likewise.
6493 (UNDERFLOW_EXCEPTION_OK): Likewise.
6494 (IGNORE_ZERO_INF_SIGN): Likewise.
6495 (ERRNO_UNCHANGED): Likewise.
6496 (ERRNO_EDOM): Likewise.
6497 (ERRNO_ERANGE): Likewise.
6498 (test_exceptions): Handle testing "inexact" exceptions.
6499 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6500 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6501 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6502 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6503 INEXACT_EXCEPTION.
6504 (rint_towardzero_test_data): Likewise.
6505 (rint_downward_test_data): Likewise.
6506 (rint_upward_test_data): Likewise.
6507
e9eee333
JM
6508 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6509 with OVERFLOW_EXCEPTION.
6510 (exp10_test_data): Likewise.
6511 (exp2_test_data): Likewise.
6512 (expm1_test_data): Likewise.
6513 (lgamma_test_data): Likewise.
6514 (pow_test_data): Likewise.
6515 (tgamma_test_data): Likewise.
6516 (yn_test_data): Remove duplicate test of overflow.
6517
1c38ff73
JM
6518 * math/libm-test.inc (struct test_cc_c_data): New type.
6519 (RUN_TEST_LOOP_cc_c): New macro.
6520 (cpow_test_data): New variable.
6521 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6522
15c7c18d
JM
6523 * math/libm-test.inc (struct test_f_L_data): New type.
6524 (RUN_TEST_LOOP_f_L): New macro.
6525 (llrint_test_data): New variable.
6526 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6527 (llrint_tonearest_test_data): New variable.
6528 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6529 (llrint_towardzero_test_data): New variable.
6530 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6531 (llrint_downward_test_data): New variable.
6532 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6533 (llrint_upward_test_data): New variable.
6534 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6535 (llround_test_data): New variable.
6536 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6537
f137ff13
PC
65382013-05-13 Peter Collingbourne <pcc@google.com>
6539
6540 * math/atest-exp2.c (get_log2): Remove const attribute.
6541
3608cb24
JM
65422013-05-15 Joseph Myers <joseph@codesourcery.com>
6543
6544 * math/libm-test.inc (struct test_f_l_data): New type.
6545 (RUN_TEST_LOOP_f_l): New macro.
6546 (lrint_test_data): New variable.
6547 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6548 (lrint_tonearest_test_data): New variable.
6549 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6550 (lrint_towardzero_test_data): New variable.
6551 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6552 (lrint_downward_test_data): New variable.
6553 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6554 (lrint_upward_test_data): New variable.
6555 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6556 (lround_test_data): New variable.
6557 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6558
39b1f617
PC
65592013-05-15 Peter Collingbourne <pcc@google.com>
6560
1deff3dc
PC
6561 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6562 (EXTRACT_WORDS64) Use where appropriate.
6563 (INSERT_WORDS64) Likewise.
6564
791f3ba0
PC
6565 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6566 constraints with x constraints.
6567 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6568
39b1f617
PC
6569 * malloc/obstack.c (_obstack_compat): Add initializer.
6570
12fba011
EM
65712013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6572
6573 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6574 si_trapno and add si_addr_lsb to _sifields.sigfault.
6575 (si_trapno): Remove macro.
6576 (si_addr_lsb): Define new macro.
6577 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6578
d369f531
JM
65792013-05-15 Joseph Myers <joseph@codesourcery.com>
6580
b861c6c4
JM
6581 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6582 instead of TEST_f_l.
6583 (llrint_test_tonearest): Likewise.
6584 (llrint_test_towardzero): Likewise.
6585 (llrint_test_downward): Likewise.
6586 (llrint_test_upward): Likewise.
6587 (llround_test): Likewise.
6588
7abeee12
JM
6589 * math/libm-test.inc (struct test_f_i_data): Add comment.
6590 (RUN_TEST_LOOP_f_b): New macro.
6591 (RUN_TEST_LOOP_f_b_tg): Likewise.
6592 (finite_test_data): New variable.
6593 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6594 (isfinite_test_data): New variable.
6595 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6596 (isinf_test_data): New variable.
6597 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6598 (isnan_test_data): New variable.
6599 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6600 (isnormal_test_data): New variable.
6601 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6602 (issignaling_test_data): New variable.
6603 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6604 (signbit_test_data): New variable.
6605 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6606
cbe8c4d3
JM
6607 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6608 with INVALID_EXCEPTION.
6609 (acosh_test_data): Likewise.
6610 (asin_test_data): Likewise.
6611 (atanh_test_data): Likewise.
6612 (fmod_test_data): Likewise.
6613 (log_test_data): Likewise.
6614 (log10_test_data): Likewise.
6615 (log2_test_data): Likewise.
6616 (pow_test_data): Likewise.
6617 (sqrt_test_data): Likewise.
6618 (y0_test_data): Likewise.
6619 (y1_test_data): Likewise.
6620 (yn_test_data): Likewise.
6621
5575c0e5
JM
6622 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6623 function contents.
6624
d369f531
JM
6625 * math/libm-test.inc (struct test_ff_i_data): New type.
6626 (RUN_TEST_LOOP_ff_i_tg): New macro.
6627 (isgreater_test_data): New variable.
6628 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6629 (isgreaterequal_test_data): New variable.
6630 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6631 (isless_test_data): New variable.
6632 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6633 (islessequal_test_data): New variable.
6634 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6635 (islessgreater_test_data): New variable.
6636 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6637 (isunordered_test_data): New variable.
6638 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6639
781fd748
DM
66402013-05-14 David S. Miller <davem@davemloft.net>
6641
6642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6643
87aa21df
JM
66442013-05-14 Joseph Myers <joseph@codesourcery.com>
6645
5e908270
JM
6646 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6647
f71172e5
JM
6648 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6649 extra_test to int.
6650 (struct test_f_i_data): Change type of max_ulp to int.
6651
8cfa635a
JM
6652 * math/libm-test.inc (test_ffI_f1_data): New type.
6653 (RUN_TEST_LOOP_ffI_f1): New macro.
6654 (remquo_test_data): New variable.
6655 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6656
2bcb36b2
JM
6657 * setjmp/tst-setjmp-fp.c: New file.
6658 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6659 (link-libm): New variable.
6660 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6661
acbd839a
JM
6662 * math/libm-test.inc (struct test_f_i_data): New type.
6663 (RUN_TEST_LOOP_f_i): New macro.
6664 (RUN_TEST_LOOP_f_i_tg): Likewise.
6665 (fpclassify_test_data): New variable.
6666 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6667 (ilogb_test_data): New variable.
6668 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6669
e414d745
JM
6670 * math/libm-test.inc (scalbln_test): Correct function name in END
6671 call.
6672
d9c2a0fd
JM
6673 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6674 (RUN_TEST_LOOP_fI_f1): New macro.
6675 (frexp_test_data): New variable.
6676 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6677
9dc9095d
JM
6678 * math/libm-test.inc (struct test_fF_f1_data): New type.
6679 (RUN_TEST_LOOP_fF_f1): New macro.
6680 (modf_test_data): New variable.
6681 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6682
87aa21df
JM
6683 * math/libm-test.inc (struct test_f_f1_data): New type.
6684 (RUN_TEST_LOOP_f_f1): New macro.
6685 (gamma_test_data): New variable.
6686 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6687 (lgamma_test_data): New variable.
6688 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6689
141af660
CD
66902013-05-13 Carlos O'Donell <carlos@redhat.com>
6691
6692 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6693 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6694 (main): Comment "tls" pseudo-hwcap.
6695
6d33265c
JM
66962013-05-13 Joseph Myers <joseph@codesourcery.com>
6697
68fc074c
JM
6698 * math/libm-test.inc (struct test_fl_f_data): New type.
6699 (RUN_TEST_LOOP_fl_f): New variable.
6700 (scalbln_test_data): New variable.
6701 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6702
243216e1
JM
6703 * math/libm-test.inc (struct test_fi_f_data): New type.
6704 (RUN_TEST_LOOP_fi_f): New macro.
6705 (ldexp_test_data): New variable.
6706 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6707 (scalbn_test_data): New variable.
6708 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6709
6a1992e2
JM
6710 * math/libm-test.inc (struct test_c_f_data): New type.
6711 (RUN_TEST_LOOP_c_f): New macro.
6712 (cabs_test_data): New variable.
6713 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6714 (carg_test_data): New variable.
6715 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6716 (cimag_test_data): New variable.
6717 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6718 (creal_test_data): New variable.
6719 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6720
0e400df5
JM
6721 * math/libm-test.inc (struct test_if_f_data): New type.
6722 (RUN_TEST_LOOP_if_f): New macro.
6723 (jn_test_data): New variable.
6724 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6725 (yn_test_data): New variable.
6726 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6727
6d33265c
JM
6728 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6729
f98ece5f
AZ
67302013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6731
6732 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6733 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6734
0f7d347b
SP
67352013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6736
43fe811b
SP
6737 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6738 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6739 (bench-deps): Add bench-timing.h.
6740 * benchtests-bench-skeleton.c: Include bench-timing.h.
6741 (main): Use TIMING_* macros instead of clock_gettime.
6742 * benchtests/bench-timing.h: New file.
6743
0f7d347b
SP
6744 [BZ #14582]
6745 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6746 Renamed from _LIB_VERSION.
6747 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6748
601a3a5f
JM
67492013-05-12 Joseph Myers <joseph@codesourcery.com>
6750
4f184d30
JM
6751 * math/libm-test.inc (struct test_fff_f_data): New type.
6752 (RUN_TEST_LOOP_fff_f): New macro.
6753 (fma_test_data): New variable.
6754 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6755 (fma_towardzero_test_data): New variable.
6756 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6757 (fma_downward_test_data): New variable.
6758 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6759 (fma_upward_test_data): New variable.
6760 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6761
08198877
JM
6762 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6763 (struct test_c_c_data): New type.
6764 (RUN_TEST_LOOP_c_c): New macro.
6765 (cacos_test_data): New variable.
6766 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6767 (cacosh_test_data): New variable.
6768 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6769 (casin_test_data): New variable.
6770 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6771 (casinh_test_data): New variable.
6772 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6773 (catan_test_data): New variable.
6774 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6775 (catanh_test_data): New variable.
6776 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6777 (ccos_test_data): New variable.
6778 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6779 (ccosh_test_data): New variable.
6780 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6781 (cexp_test_data): New variable.
6782 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6783 (clog_test_data): New variable.
6784 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6785 (clog10_test_data): New variable.
6786 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6787 (conj_test_data): New variable.
6788 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6789 (cproj_test_data): New variable.
6790 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6791 (csin_test_data): New variable.
6792 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6793 (csinh_test_data): New variable.
6794 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6795 (csqrt_test_data): New variable.
6796 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6797 (ctan_test_data): New variable.
6798 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6799 (ctan_tonearest_test_data): New variable.
6800 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6801 (ctan_towardzero_test_data): New variable.
6802 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6803 (ctan_downward_test_data): New variable.
6804 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6805 (ctan_upward_test_data): New variable.
6806 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6807 (ctanh_test_data): New variable.
6808 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6809 (ctanh_tonearest_test_data): New variable.
6810 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6811 (ctanh_towardzero_test_data): New variable.
6812 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6813 (ctanh_downward_test_data): New variable.
6814 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6815 (ctanh_upward_test_data): New variable.
6816 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6817 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6818 of BUILD_COMPLEX.
6819
601a3a5f
JM
6820 * math/libm-test.inc (struct test_ff_f_data): New type.
6821 (struct test_ff_f_data_nexttoward): Likewise.
6822 (RUN_TEST_LOOP_2_f): New macro.
6823 (RUN_TEST_LOOP_ff_f): Likewise.
6824 (atan2_test_data): New variable.
6825 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6826 (copysign_test_data): New variable.
6827 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6828 (fdim_test_data): New variable.
6829 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6830 (fmax_test_data): New variable.
6831 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6832 (fmin_test_data): New variable.
6833 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6834 (fmod_test_data): New variable.
6835 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6836 (hypot_test_data): New variable.
6837 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6838 (nextafter_test_data): New variable.
6839 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6840 (nexttoward_test_data): New variable.
6841 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6842 (pow_test_data): New variable.
6843 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6844 (pow_tonearest_test_data): New variable.
6845 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6846 (pow_towardzero_test_data): New variable.
6847 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6848 (pow_downward_test_data): New variable.
6849 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6850 (pow_upward_test_data): New variable.
6851 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6852 (remainder_test_data): New variable.
6853 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6854 (scalb_test_data): New variable.
6855 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857
74c57478
JM
68582013-05-11 Joseph Myers <joseph@codesourcery.com>
6859
8329e4da
JM
6860 * math/libm-test.inc (fma_test): Use max_value instead of local
6861 variable fltmax.
6862 (nextafter_test): Likewise.
6863
74c57478
JM
6864 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6865 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6866 (acos_downward_test_data): New variable.
6867 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6868 (acos_upward_test_data): New variable.
6869 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6870 (acosh_test_data): New variable.
6871 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6872 (asin_test_data): New variable.
6873 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6874 (asin_tonearest_test_data): New variable.
6875 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6876 (asin_towardzero_test_data): New variable.
6877 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6878 (asin_downward_test_data): New variable.
6879 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6880 (asin_upward_test_data): New variable.
6881 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6882 (asinh_test_data): New variable.
6883 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6884 (atan_test_data): New variable.
6885 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6886 (atanh_test_data): New variable.
6887 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6888 (cbrt_test_data): New variable.
6889 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6890 (ceil_test_data): New variable.
6891 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6892 (cos_test_data): New variable.
6893 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6894 (cos_tonearest_test_data): New variable.
6895 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6896 (cos_towardzero_test_data): New variable.
6897 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6898 (cos_downward_test_data): New variable.
6899 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6900 (cos_upward_test_data): New variable.
6901 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6902 (cosh_test_data): New variable.
6903 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6904 (cosh_tonearest_test_data): New variable.
6905 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6906 (cosh_towardzero_test_data): New variable.
6907 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6908 (cosh_downward_test_data): New variable.
6909 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6910 (cosh_upward_test_data): New variable.
6911 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6912 (erf_test_data): New variable.
6913 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6914 (erfc_test_data): New variable.
6915 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6916 (exp_test_data): New variable.
6917 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6918 (exp_tonearest_test_data): New variable.
6919 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6920 (exp_towardzero_test_data): New variable.
6921 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6922 (exp_downward_test_data): New variable.
6923 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6924 (exp_upward_test_data): New variable.
6925 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6926 (exp10_test_data): New variable.
6927 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6928 (exp2_test_data): New variable.
6929 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6930 (expm1_test_data): New variable.
6931 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6932 (fabs_test_data): New variable.
6933 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6934 (floor_test_data): New variable.
6935 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6936 (j0_test_data): New variable.
6937 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6938 (j1_test_data): New variable.
6939 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6940 (log_test_data): New variable.
6941 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6942 (log10_test_data): New variable.
6943 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6944 (log1p_test_data): New variable.
6945 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6946 (log2_test_data): New variable.
6947 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6948 (logb_test_data): New variable.
6949 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6950 (logb_downward_test_data): New variable.
6951 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6952 (nearbyint_test_data): New variable.
6953 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6954 (rint_test_data): New variable.
6955 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6956 (rint_tonearest_test_data): New variable.
6957 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6958 (rint_towardzero_test_data): New variable.
6959 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6960 (rint_downward_test_data): New variable.
6961 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6962 (rint_upward_test_data): New variable.
6963 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6964 (round_test_data): New variable.
6965 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6966 (sin_test_data): New variable.
6967 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6968 (sin_tonearest_test_data): New variable.
6969 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6970 (sin_towardzero_test_data): New variable.
6971 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6972 (sin_downward_test_data): New variable.
6973 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6974 (sin_upward_test_data): New variable.
6975 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6976 (sinh_test_data): New variable.
6977 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6978 (sinh_tonearest_test_data): New variable.
6979 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6980 (sinh_towardzero_test_data): New variable.
6981 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6982 (sinh_downward_test_data): New variable.
6983 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6984 (sinh_upward_test_data): New variable.
6985 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6986 (sqrt_test_data): New variable.
6987 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6988 (tan_test_data): New variable.
6989 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6990 (tan_tonearest_test_data): New variable.
6991 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6992 (tan_towardzero_test_data): New variable.
6993 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6994 (tan_downward_test_data): New variable.
6995 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6996 (tan_upward_test_data): New variable.
6997 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6998 (tanh_test_data): New variable.
6999 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7000 (tgamma_test_data): New variable.
7001 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7002 (trunc_test_data): New variable.
7003 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7004 (y0_test_data): New variable.
7005 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7006 (y1_test_data): New variable.
7007 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7008 (significand_test_data): New variable.
7009 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7010
7187d844
CG
70112013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7012
7013 [BZ #12387]
7014 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7015
f63fae73
PT
70162013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7017
7018 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7019
8a67a4b3
AJ
70202013-05-10 Andreas Jaeger <aj@suse.de>
7021
7022 [BZ #15448]
7023 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7024 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7025
51df539d
JM
70262013-05-10 Joseph Myers <joseph@codesourcery.com>
7027
7028 * math/gen-libm-test.pl (adjust_arg): New function.
7029 (special_functions): Handle generating output in both functions
7030 and arrays.
7031 (parse_args): Likewise.
7032 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7033 $in_func argument to parse_args.
7034 * math/libm-test.inc (struct test_f_f_data): New type.
7035 (IF_ROUND_INIT_): New macro.
7036 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7037 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7038 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7039 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7040 (ROUND_RESTORE_): Likewise.
7041 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7042 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7043 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7044 (ROUND_RESTORE_FE_UPWARD): Likewise.
7045 (RUN_TEST_LOOP_f_f): New macro.
7046 (acos_test_data): New variable.
7047 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7048 (acos_tonearest_test_data): New variable.
7049 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7050
5c637fe5
SP
70512013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7052
7053 * benchtests/bench-skeleton.c (startup): Fix coding style.
7054
ab2b9461
JM
70552013-05-10 Joseph Myers <joseph@codesourcery.com>
7056
7057 [BZ #6809]
7058 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7059 negative infinity argument.
7060 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7061 negative infinity argument.
7062 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7063 negative infinity argument.
7064 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7065 domain errors.
7066
4c0fe6fe
FW
70672013-05-10 Florian Weimer <fweimer@redhat.com>
7068
7069 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7070 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7071 * iconv/iconv_prog.c (main): Likewise.
7072 * locale/programs/charmap-dir.c (charmap_readdir)
7073 (fopen_uncompressed): Likewise.
7074 * locale/programs/locfile.c (siblings_uncached)
7075 (write_locale_data): Use lstat64 instead of lstat.
7076 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7077 stat.
7078
a3375d29
AJ
70792013-05-10 Andreas Jaeger <aj@suse.de>
7080
7081 [BZ #15395]
7082 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7083 localization.
7084 Include <locale.h>.
7085
36129722
CD
70862013-05-09 Carlos O'Donell <carlos@redhat.com>
7087
7088 * elf/dl-close.c (_dl_close_worker): Add comments.
7089
faa7f811
JM
70902013-05-09 Joseph Myers <joseph@codesourcery.com>
7091
ed41ffef
JM
7092 [BZ #15359]
7093 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7094 high part of pi/2.
7095 (__ieee754_rem_pio2l): Update comments.
7096
d0213cd0
JM
7097 [BZ #15429]
7098 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7099 high part of pi/2.
7100 (__ieee754_rem_pio2l): Update comments.
7101
0d3e777a
JM
7102 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7103 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7104
24f56066
JM
7105 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7106 M_PI_4l.
7107
faa7f811
JM
7108 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7109 (M_PI_34_LOG10El): Likewise.
7110 (M_PI2_LOG10El): Likewise.
7111 (M_PI4_LOG10El): Likewise.
7112 (M_PI_LOG10El): Likewise.
7113
e9a5e0fd
AZ
71142013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7115
7116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7117
d8cd06db
JM
71182013-05-08 Joseph Myers <joseph@codesourcery.com>
7119
a0d9f9d7
JM
7120 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7121 (MINUS_ZERO_INIT): Likewise.
7122 (PLUS_INFTY_INIT): Likewise.
7123 (MINUS_INFTY_INIT): Likewise.
7124 (QNAN_VALUE_INIT): Likewise.
7125 (MAX_VALUE_INIT): Likewise.
7126 (MIN_VALUE_INIT): Likewise.
7127 (MIN_SUBNORM_VALUE_INIT): Likewise.
7128 (plus_zero): Initialize with PLUS_ZERO_INIT.
7129 (minus_zero): Initialize with MINUS_ZERO_INIT.
7130 (plus_infty): Initialize with PLUS_INFTY_INIT.
7131 (minus_infty): Initialize with MINUS_INFTY_INIT.
7132 (qnan_value): Initialize with QNAN_VALUE_INIT.
7133 (max_value): Initialize with MAX_VALUE_INIT.
7134 (min_value): Initialize with MIN_VALUE_INIT.
7135 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7136
ae08db3b
JM
7137 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7138 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7139 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7140 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7141
f44bf14a
JM
7142 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7143 (RUN_TEST_2_f): Likewise.
7144 (RUN_TEST_ff_f): Likewise.
7145 (RUN_TEST_fi_f): Likewise.
7146 (RUN_TEST_fl_f): Likewise.
7147 (RUN_TEST_fff_f): Likewise.
7148 (RUN_TEST_c_f): Likewise.
7149 (RUN_TEST_f_f1): Likewise.
7150 (RUN_TEST_fF_f1): Likewise.
7151 (RUN_TEST_fI_f1): Likewise.
7152 (RUN_TEST_ffI_f1): Likewise.
7153 (RUN_TEST_c_c): Likewise.
7154 (RUN_TEST_cc_c): Likewise.
7155 (RUN_TEST_f_i): Likewise.
7156 (RUN_TEST_f_i_tg): Likewise.
7157 (RUN_TEST_ff_i_tg): Likewise.
7158 (RUN_TEST_f_b): Likewise.
7159 (RUN_TEST_f_b_tg): Likewise.
7160 (RUN_TEST_f_l): Likewise.
7161 (RUN_TEST_f_L): Likewise.
7162 (RUN_TEST_sincos): Likewise.
7163 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7164 whether to show exceptions. Do not include ");\n" in return
7165 value.
7166 (special_functions): Output call to RUN_TEST_sincos instead of
7167 check_float calls. Update calls to new_test.
7168 (parse_args): Output call to single RUN_TEST_* macro instead of
7169 check_* calls and other assignments. Update calls to new_test.
7170
d8cd06db
JM
7171 [BZ #2546]
7172 [BZ #2560]
7173 [BZ #5159]
7174 [BZ #15426]
7175 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7176 input to result for tgamma overflow.
7177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7178 (gamma_coeff): New variable.
7179 (NCOEFF): New macro.
7180 (gamma_positive): New function.
7181 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7182 underflow here. Use gamma_positive instead of exp (lgamma) for
7183 other arguments.
7184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7185 (gamma_coeff): New variable.
7186 (NCOEFF): New macro.
7187 (gammaf_positive): New function.
7188 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7189 underflow here. Use gamma_positive instead of exp (lgamma) for
7190 other arguments.
7191 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7192 (gamma_coeff): New variable.
7193 (NCOEFF): New macro.
7194 (gammal_positive): New function.
7195 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7196 underflow here. Use gamma_positive instead of exp (lgamma) for
7197 other arguments.
7198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7199 (gamma_coeff): New variable.
7200 (NCOEFF): New macro.
7201 (gammal_positive): New function.
7202 (__ieee754_gammal_r): Handle positive infinity, overflow and
7203 underflow here. Handle NaN the same as positive infinity. Remove
7204 check x < 0xffffffff for negative integers. Use gamma_positive
7205 instead of exp (lgamma) for other arguments.
7206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7207 (gamma_coeff): New variable.
7208 (NCOEFF): New macro.
7209 (gammal_positive): New function.
7210 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7211 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7214 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7215 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7216 * sysdeps/generic/math_private.h (__gamma_productf): New
7217 prototype.
7218 (__gamma_product): Likewise.
7219 (__gamma_productl): Likewise.
7220 * math/Makefile (libm-calls): Add gamma_product.
7221 * math/libm-test.inc (tgamma_test): Add more tests.
7222 * sysdeps/i386/fpu/libm-test-ulps: Update.
7223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7224
bb7cf681
OB
72252013-05-08 Ondřej Bílka <neleai@seznam.cz>
7226
7227 * benchtests/bench-skeleton.c (main): Preheat CPU.
7228
ba853947
AJ
72292013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7230
7231 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7232
8347c74c
RM
72332013-05-07 Roland McGrath <roland@hack.frob.com>
7234
7235 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7236 and _dl_skip_args_internal.
7237
e8dd4791
CD
72382013-05-07 Carlos O'Donell <carlos@redhat.com>
7239
7240 * manual/message.texi (Message Translation): Talk about users.
7241 Message to key mapping impacts design.
7242
c7405830
RM
72432013-05-06 Roland McGrath <roland@hack.frob.com>
7244
a9173057
RM
7245 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7246
976e2f03
RM
7247 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7248
9723ffc5
RM
7249 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7250 * sysdeps/wordsize-64/glob64.c: ... here.
7251
962e6658
RM
7252 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7253 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7254 New macros.
7255
ee586a6d
RM
7256 * debug/getlogin_r_chk.c: Moved to ...
7257 * login/getlogin_r_chk.c: ... here.
7258 * debug/Makefile (routines): Move getlogin_r_chk to ...
7259 * login/Makefile (routines): ... here.
7260 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7261 * login/Versions (libc: GLIBC_2.4): ... here.
7262
355f9165
RM
7263 * io/poll.c (__poll): Renamed from poll.
7264 Add libc_hidden_def.
7265 (poll): Define as weak alias.
7266
bd9ffde6
RM
7267 * debug/ptsname_r_chk.c: Moved to ...
7268 * login/ptsname_r_chk.c: ... here.
7269 * debug/Makefile (routines): Move ptsname_r_chk to ...
7270 * login/Makefile (routines): ... here.
7271 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7272 * login/Versions (libc: GLIBC_2.4): ... here.
7273
8fb16a04
RM
7274 * posix/getlogin.c: Moved to ...
7275 * login/getlogin.c: ... here.
7276 * posix/getlogin_r.c: Moved to ...
7277 * login/getlogin_r.c: ... here.
7278 * posix/getlogin_r.c: Moved to ...
7279 * login/getlogin_r.c: ... here.
7280 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7281 * login/Makefile (routines): ... here.
7282 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7283 * login/Versions (libc: GLIBC_2.0): ... here.
7284
b99b892f
RM
7285 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7286 (setrlimit): Define as weak alias.
7287
c7405830
RM
7288 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7289 Call __ names for open, ftruncate, and close.
7290 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7291 (truncate): Define as weak alias.
7292
5bf96de5
JM
72932013-05-06 Joseph Myers <joseph@codesourcery.com>
7294
9ea3513c
JM
7295 * math/gen-libm-test.pl (parse_args): Initialize x before each
7296 test of frexp, modf and remquo.
7297
5bf96de5
JM
7298 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7299 test signgam value.
7300
16e616a7
AZ
73012013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7302
7303 [BZ #15418]
7304 [BZ #15419]
7305 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7306 internal tests.
7307 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7308
d5e82754
RM
73092013-05-06 Roland McGrath <roland@hack.frob.com>
7310
7311 * elf/dl-writev.h: New file.
7312 * elf/dl-misc.c: Include it.
7313 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7314 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7315
a7548d41
JM
73162013-05-04 Joseph Myers <joseph@codesourcery.com>
7317
b7dab1e4
JM
7318 * math/libm-test.inc (noXFails): Remove variable.
7319 (noXPasses): Likewise.
7320 (BUILD_COMPLEX_INT): Remove macro.
7321 (print_screen): Remove xfail argument.
7322 (print_screen_max_error): Likewise.
7323 (update_stats): Likewise.
7324 (print_max_error): Likewise. Update calls to other affected
7325 functions.
7326 (print_complex_max_error): Likewise.
7327 (test_single_exception): Update calls to print_screen.
7328 (test_single_errno): Likewise.
7329 (check_float_internal): Remove xfail argument. Update calls to
7330 other affected functions.
7331 (check_float): Likewise.
7332 (check_complex): Likewise.
7333 (check_int): Likewise.
7334 (check_long): Likewise.
7335 (check_bool): Likewise.
7336 (check_longlong): Likewise.
7337 (main): Don't print noXFails and noXPasses.
7338 * math/gen-libm-test.pl (top level): Don't mention expected
7339 failure handling in comment.
7340 (new_test): Don't handle expected failures.
7341 (parse_args): Don't mention expected failure handling in comment.
7342 (generate_testfile): Don't handle expected failures.
7343 (parse_ulps): Likewise.
7344 (print_ulps_file): Likewise.
7345 (get_failure): Remove function.
7346 (output_test): Don't handle expected failures.
7347 * make/README.libm-test: Don't mention expected failure handling.
7348
a7548d41
JM
7349 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7350 (minus_zero): Likewise.
7351 (plus_infty): Likewise.
7352 (minus_infty): Likewise.
7353 (qnan_value): Likewise.
7354 (max_value): Likewise.
7355 (min_value): Likewise.
7356 (min_subnorm_value): Likewise.
7357 (initialize): Do not initialize those variables dynamically.
7358
60bfd54c
RM
73592013-05-03 Roland McGrath <roland@hack.frob.com>
7360
cc0e6ed8
RM
7361 * io/open.c (__open_2): Moved to ...
7362 * io/open_2.c: ... this new file.
7363 * io/open64.c (__open64_2): Moved to ...
7364 * io/open64_2.c: ... this new file.
7365 * io/openat.c (__openat_2): Moved to ...
7366 * io/openat_2.c: ... this new file.
7367 * io/openat64.c (__openat64_2): Moved to ...
7368 * io/openat64_2.c: ... this new file.
7369 * io/Makefile (routines): Add them.
7370 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7371 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7372 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7373 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7374 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7375 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7376 (__openat64): Add hidden_ver.
7377 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7378 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7379
60bfd54c
RM
7380 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7381 Separately conditionalize setting of GLRO(dl_sysinfo) so
7382 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7383 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7384
83e7640f
AZ
73852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7386
7387 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7388 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7389 definition.
7390 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7391 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7392 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7393 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7394 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7395
d5dc2af3
JM
73962013-05-03 Joseph Myers <joseph@codesourcery.com>
7397
c31a5b1e
JM
7398 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7399 test signgam value.
7400
d5dc2af3
JM
7401 * math/libm-test.inc (hypot_test): Do not use
7402 IGNORE_ZERO_INF_SIGN.
7403
164fd39d
AJ
74042013-05-03 Andreas Jaeger <aj@suse.de>
7405
7406 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7407 Linux 3.9.
7408 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7409 (PF_MAX): Adjust for VSOCK change.
7410
8237f48c
AZ
74112013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7412
7413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7414
9df02941
CD
74152013-05-02 Carlos O'Donell <carlos@redhat.com>
7416
7417 [BZ #15264]
7418 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7419 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7420 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7421
d422395e
DM
74222013-05-02 David S. Miller <davem@davemloft.net>
7423
7424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7425
a07c5731
OB
74262013-05-01 Ondřej Bílka <neleai@seznam.cz>
7427
7428 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7429
1324e37f
RM
74302013-05-01 Roland McGrath <roland@hack.frob.com>
7431
7432 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7433
0695940b
RS
74342013-05-01 Richard Smith <richard@metafoo.co.uk>
7435
bb5f27ad 7436 [BZ #14952]
0695940b
RS
7437 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7438 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7439 Use __attribute__ ((__gnu_inline__)).
7440 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7441 Don't use __attribute__ ((__gnu_inline__)).
7442
10de07f5
JM
74432013-05-01 Joseph Myers <joseph@codesourcery.com>
7444
7445 [BZ #15423]
7446 * math/s_catan.c (__catan): Handle small real or imaginary part of
7447 input specially to avoid spurious underflow.
7448 * math/s_catanf.c (__catanf): Likewise.
7449 * math/s_catanh.c (__catanh): Likewise.
7450 * math/s_catanhf.c (__catanhf): Likewise.
7451 * math/s_catanhl.c (__catanhl): Likewise.
7452 * math/s_catanl.c (__catanl): Likewise.
7453 * math/libm-test.inc (catan_test): Add more tests.
7454 (catanh_test): Likewise.
7455 * sysdeps/i386/fpu/libm-test-ulps: Update.
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457
cb4d5414
AZ
74582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7459
7460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7461
caf84319
JM
74622013-04-30 Joseph Myers <joseph@codesourcery.com>
7463
7464 [BZ #15416]
7465 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7466 accurately for denominator in atan2.
7467 * math/s_catanf.c (__catanf): Likewise.
7468 * math/s_catanh.c (__catanh): Likewise.
7469 * math/s_catanhf.c (__catanhf): Likewise.
7470 * math/s_catanhl.c (__catanhl): Likewise.
7471 * math/s_catanl.c (__catanl): Likewise.
7472 * math/libm-test.inc (catan_test): Add more tests.
7473 (catanh_test): Likewise.
7474 * sysdeps/i386/fpu/libm-test-ulps: Update.
7475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7476
d569c6ee
SP
74772013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7478
6dbe713d
SP
7479 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7480
f0ee064b
SP
7481 * benchtests/Makefile (bench): Remove slow benchmarks.
7482 * benchtests/atan-inputs: Add slow benchmark inputs.
7483 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7484 (BENCH_FUNC): Accept variant offset.
7485 (VARIANT): Define.
7486 * benchtests/bench-skeleton.c (main): Run benchmark for each
7487 variant.
7488 * benchtests/cos-inputs: Add slow benchmark inputs.
7489 * benchtests/exp-inputs: Likewise.
7490 * benchtests/pow-inputs: Likewise.
7491 * benchtests/sin-inputs: Likewise.
7492 * benchtests/slowatan-inputs: Remove.
7493 * benchtests/slowatan.c: Remove.
7494 * benchtests/slowcos-inputs: Remove.
7495 * benchtests/slowcos.c: Remove.
7496 * benchtests/slowexp-inputs: Remove.
7497 * benchtests/slowexp.c: Remove.
7498 * benchtests/slowpow-inputs: Remove.
7499 * benchtests/slowpow.c: Remove.
7500 * benchtests/slowsin-inputs: Remove.
7501 * benchtests/slowsin.c: Remove.
7502 * benchtests/slowtan-inputs: Remove.
7503 * benchtests/slowtan.c: Remove.
7504 * benchtests/tan-inputs: Add slow benchmark inputs.
7505 * scripts/bench.pl: Parse comments and directives.
7506
d569c6ee
SP
7507 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7508 in CPPFLAGS.
7509 ($(objpfx)bench-%.c): Remove *-ITER.
7510 * benchtests/bench-modf.c: Remove definition of ITER.
7511 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7512 (main): Loop for DURATION seconds instead of fixed number of
7513 iterations.
7514 * scripts/bench.pl: Don't expect iterations in parameters.
7515
a6a242fe
RM
75162013-04-29 Roland McGrath <roland@hack.frob.com>
7517
7518 * io/fchdir.c (__fchdir): Renamed from fchdir.
7519 (fchdir): Define as weak alias.
7520
f2da7793
JM
75212013-04-29 Joseph Myers <joseph@codesourcery.com>
7522
7523 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7524 (ERRNO_EDOM): Likewise.
7525 (ERRNO_ERANGE): Likewise.
7526 (noErrnoTests): New variable.
7527 (init_max_error): Set errno to 0.
7528 (test_single_errno): New function.
7529 (test_errno): Likewise.
7530 (check_float_internal): Call test_errno. Set errno to 0.
7531 (check_complex): Refer to errno tests in comment.
7532 (check_int): Call test_errno. Set errno to 0.
7533 (check_long): Likewise.
7534 (check_bool): Likewise.
7535 (check_longlong): Likewise.
7536 (cos_test): Use ERRNO_* flags for errno tests instead of
7537 check_int.
7538 (expm1_test): Likewise.
7539 (fmod_test): Likewise.
7540 (ilogb_test): Likewise.
7541 (lgamma_test): Likewise.
7542 (pow_test): Likewise.
7543 (remainder_test): Likewise.
7544 (sin_test): Likewise.
7545 (tan_test): Likewise.
7546 (yn_test): Likewise.
7547 (initialize): Set errno to 0.
7548 (main): Print number of errno tests.
7549 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7550
b1a36ceb
AJ
75512013-04-29 Andreas Jaeger <aj@suse.de>
7552
c3ed8088
AJ
7553 [BZ #15084]
7554 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7555 and RES_USEVC.
7556
f1a24198
AJ
7557 [BZ #15085]
7558 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7559 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7560 unimplemented.
7561
9ce3b2cb
AJ
7562 [BZ #15380]
7563 * stdlib/random.c (__initstate): Return NULL if
7564 __initstate fails.
7565
f1a24198 7566 [BZ #15086]
b1a36ceb
AJ
7567 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7568 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7569 RES_SNGLKUPREOP.
7570
7e7b6f36
AZ
75712013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7572
7573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7574
4d14f449
JM
75752013-04-29 Joseph Myers <joseph@codesourcery.com>
7576
7577 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7578 of individual tests.
7579 (casin_test): Likewise.
7580 (casinh_test): Likewise.
7581
5b4217d7
JM
75822013-04-27 Joseph Myers <joseph@codesourcery.com>
7583
7584 [BZ #15409]
7585 * math/s_catan.c (__catan): Handle arguments with large real or
7586 imaginary part separately without squaring.
7587 * math/s_catanf.c (__catanf): Likewise.
7588 * math/s_catanh.c (__catanh): Likewise.
7589 * math/s_catanhf.c (__catanhf): Likewise.
7590 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7591 and redefine.
7592 (__catanhl): Handle arguments with large real or imaginary part
7593 separately without squaring.
7594 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7595 and redefine.
7596 (__catanl): Handle arguments with large real or imaginary part
7597 separately without squaring.
7598 * math/libm-test.inc (catan_test): Add more tests.
7599 (catanh_test): Likewise.
7600 * sysdeps/i386/fpu/libm-test-ulps: Update.
7601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7602
4220c3ef
AJ
76032013-04-27 Andreas Jaeger <aj@suse.de>
7604
7605 [BZ #15007]
7606 * stdlib/stdlib.h: Update guards for qecvt.
7607 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7608 <stdlib.h>.
7609
4721b2d1
AM
76102013-04-27 Allan McRae <allan@archlinux.org>
7611
7612 * sysdeps/i386/fpu/libm-test-ulps: Update.
7613
f0302940
JM
76142013-04-26 Joseph Myers <joseph@codesourcery.com>
7615
9457fd95
JM
7616 [BZ #15406]
7617 * math/s_catan.c: Include <float.h>.
7618 (__catan): Ensure underflow exception occurs for underflowed
7619 result.
7620 * math/s_catanf.c: Include <float.h>.
7621 (__catanf): Ensure underflow exception occurs for underflowed
7622 result.
7623 * math/s_catanh.c: Include <float.h>.
7624 (__catanh): Ensure underflow exception occurs for underflowed
7625 result.
7626 * math/s_catanhf.c: Include <float.h>.
7627 (__catanhf): Ensure underflow exception occurs for underflowed
7628 result.
7629 * math/s_catanhl.c: Include <float.h>.
7630 (__catanhl): Ensure underflow exception occurs for underflowed
7631 result.
7632 * math/s_catanl.c: Include <float.h>.
7633 (__catanl): Ensure underflow exception occurs for underflowed
7634 result.
7635 * math/libm-test.inc (catan_test): Add more tests.
7636 (catanh_test): Likewise.
7637
f0302940
JM
7638 [BZ #15405]
7639 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7640 underflowed result.
7641 * math/s_ccoshf.c (__ccoshf): Likewise.
7642 * math/s_ccoshl.c (__ccoshl): Likewise.
7643 * math/s_csin.c (__csin): Likewise.
7644 * math/s_csinf.c (__csinf): Likewise.
7645 * math/s_csinh.c (__csinh): Likewise.
7646 * math/s_csinhf.c (__csinhf): Likewise.
7647 * math/s_csinhl.c (__csinhl): Likewise.
7648 * math/s_csinl.c (__csinl): Likewise.
7649 * math/libm-test.inc (ccos_test): Add more tests.
7650 (ccosh_test): Likewise.
7651 (csin_test): Likewise.
7652 (csinh_test): Likewise.
7653
aa630f59
AZ
76542013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7655
7656 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7657 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7658 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7659 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7660 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7661 powerpc/power5+/fpu folders.
7662 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7663
7664
1b835983
MT
76652013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7666
7667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7668
73709b26
JM
76692013-04-25 Joseph Myers <joseph@codesourcery.com>
7670
7671 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7672 additions to variable.
7673 [$(config-machine) = x86_64] (modules-names): Likewise.
7674 ($(objpfx)tst-audit3): Remove dependency.
7675 ($(objpfx)tst-audit3.out): Likewise.
7676 ($(objpfx)tst-audit4): Likewise.
7677 ($(objpfx)tst-audit4.out): Likewise.
7678 ($(objpfx)tst-audit5): Likewise.
7679 ($(objpfx)tst-audit5.out): Likewise.
7680 ($(objpfx)tst-audit6): Likewise.
7681 ($(objpfx)tst-audit6.out): Likewise.
7682 ($(objpfx)tst-audit7): Likewise.
7683 ($(objpfx)tst-audit7.out): Likewise.
7684 (tst-audit3-ENV): Remove variable.
7685 (tst-audit4-ENV): Likewise.
7686 (tst-audit5-ENV): Likewise.
7687 (tst-audit6-ENV): Likewise.
7688 (tst-audit7-ENV): Likewise.
7689 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7690 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7691 addition to variable.
7692 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7693 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7694 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7695 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7696 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7697 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7698 tst-audit3, tst-audit4 and tst-audit5.
7699 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7700 tst-audit6 and tst-audit7.
7701 [$(subdir) = elf] (modules-names): Add audit modules for those
7702 tests.
7703 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7704 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7705 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7706 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7707 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7708 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7709 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7710 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7711 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7712 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7713 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7714 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7715 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7716 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7717 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7718 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7719 Likewise.
7720 [$(subdir) = elf && $(config-cflags-avx) = yes]
7721 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7722 [$(subdir) = elf && $(config-cflags-avx) = yes]
7723 (CFLAGS-tst-auditmod4a.c): Likewise.
7724 [$(subdir) = elf && $(config-cflags-avx) = yes]
7725 (CFLAGS-tst-auditmod4b.c): Likewise.
7726 [$(subdir) = elf && $(config-cflags-avx) = yes]
7727 (CFLAGS-tst-auditmod6b.c): Likewise.
7728 [$(subdir) = elf && $(config-cflags-avx) = yes]
7729 (CFLAGS-tst-auditmod6c.c): Likewise.
7730 [$(subdir) = elf && $(config-cflags-avx) = yes]
7731 (CFLAGS-tst-auditmod7b.c): Likewise.
7732 * elf/tst-audit3.c: Move to ...
7733 * sysdeps/x86_64/tst-audit3.c: ... here.
7734 * elf/tst-audit4.c: Move to ...
7735 * sysdeps/x86_64/tst-audit4.c: ... here.
7736 * elf/tst-audit5.c: Move to ...
7737 * sysdeps/x86_64/tst-audit5.c: ... here.
7738 * elf/tst-audit6.c: Move to ...
7739 * sysdeps/x86_64/tst-audit6.c: ... here.
7740 * elf/tst-audit7.c: Move to ...
7741 * sysdeps/x86_64/tst-audit7.c: ... here.
7742 * elf/tst-auditmod3a.c: Move to ...
7743 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7744 * elf/tst-auditmod3b.c: Move to ...
7745 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7746 * elf/tst-auditmod4a.c: Move to ...
7747 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7748 * elf/tst-auditmod4b.c: Move to ...
7749 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7750 * elf/tst-auditmod5a.c: Move to ...
7751 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7752 * elf/tst-auditmod5b.c: Move to ...
7753 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7754 * elf/tst-auditmod6a.c: Move to ...
7755 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7756 * elf/tst-auditmod6b.c: Move to ...
7757 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7758 * elf/tst-auditmod6c.c: Move to ...
7759 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7760 * elf/tst-auditmod7a.c: Move to ...
7761 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7762 * elf/tst-auditmod7b.c: Move to ...
7763 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7764
1ef74943
PP
77652013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7766
7767 [BZ #15366]
7768 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7769 define unconditionally.
7770 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7771 define unconditionally.
7772 (INT8_C, INT16_C, etc.): Likewise.
7773
93fd48c5
MR
77742013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7775
ae9552cf
MR
7776 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7777 __ehdr_start with hidden visibility.
7778
93fd48c5
MR
7779 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7780
418601aa
CD
77812013-04-24 Carlos O'Donell <carlos@redhat.com>
7782
7783 * math/libm-test.inc (cos_test): Use accurate hex constants.
7784 (sincost_test): Likewise.
7785
2f38fbfe
JM
77862013-04-24 Joseph Myers <joseph@codesourcery.com>
7787
5e221800
JM
7788 * math/libm-test.inc (catan_test): Add more tests.
7789 (catanh_test): Likewise.
7790
77f143fd
JM
7791 * math/s_catanf.c (__catanf): Use suffixed floating-point
7792 constants.
7793 * math/s_catanhf.c (__catanhf): Likewise.
7794 * math/s_catanhl.c (__catanhl): Likewise.
7795 * math/s_catanl.c (__catanl): Likewise.
7796
2f38fbfe
JM
7797 [BZ #15394]
7798 * math/s_catan.c (__catan): Calculate imaginary part of result
7799 with log1p not log unless computing log of number close to 0.
7800 * math/s_catanf.c (__catanf): Likewise.
7801 * math/s_catanl.c (__catanl): Likewise.
7802 * math/s_catanh.c (__catanh): Calculate real part of result with
7803 log1p not log unless computing log of number close to 0.
7804 * math/s_catanhf.c (__catanhf): Likewise.
7805 * math/s_catanhl.c (__catanhl): Likewise.
7806 * math/libm-test.inc (catan_test): Add more tests.
7807 (catanh_test): Likewise.
7808 * sysdeps/i386/fpu/libm-test-ulps: Update.
7809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7810
45d69176
SP
78112013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7812
7813 * benchtests/Makefile: Mention files in which fast and slow
7814 paths of math functions are implemented.
7815
87f51853
RM
78162013-04-23 Roland McGrath <roland@hack.frob.com>
7817
7818 * sysdeps/posix/timespec_get.c: New file.
7819
3c026539
AZ
78202013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821
7822 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7823 POWER.
7824 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7825 for POWER.
7826 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7827 powerpc/power5/fpu folders.
7828 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7829 * benchtests/Makefile: Add modf testcase.
7830 * benchtests/bench-modf.c: New file: Benchmark test for mo
7831
ff491d14
SP
78322013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7833
7834 [BZ #14888]
7835 * time/Makefile (tests): Add tst-strptime-whitespace.
7836 * time/strptime_l.c (get_number): Use ISSPACE.
7837 (__strptime_internal): Likewise.
7838 * time/tst-strptime-whitespace.c: New test case.
7839
7ed3f4e8
AS
78402013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7841
7842 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7843 member.
7844 (_nss_files_init): Set it here.
7845
5c95f7b6
HC
78462013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7847
7848 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7849 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7850 unsigned.
7851
d34c9158
JBG
78522013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7853
7854 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7855
2169712d
SP
78562013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7859 size just once.
7860
29c5de99
DM
78612013-04-21 David S. Miller <davem@davemloft.net>
7862
7863 * po/ru.po: Update Russion translation from translation project.
7864
ccdad15d
AC
78652013-04-17 Adam Conrad <adconrad@0c3.net>
7866
7867 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7868 and setfsgid.
7869
0f122b8d
CD
78702013-04-17 Carlos O'Donell <carlos@redhat.com>
7871
5c5b07da 7872 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7873 * configure: Regenerate.
5c5b07da 7874 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7875 Add example to error message.
7876 * sysdeps/i386/configure: Regenerate.
7877
037714dd
SP
78782013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7879
7880 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7881 slowtan.
7882 * benchtests/cos-inputs: New file.
7883 * benchtests/slowcos-inputs: New file.
7884 * benchtests/slowcos.c: New file.
7885 * benchtests/slowtan-inputs: New file.
7886 * benchtests/slowtan.c: New file.
7887 * benchtests/tan-inputs: New file.
7888
e913141d
RM
78892013-04-16 Roland McGrath <roland@hack.frob.com>
7890
7891 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7892 considered kosher.
7893
a2964074
SP
78942013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7895
4856bcd2
SP
7896 * benchtests/Makefile: Include cppflags-iterator.mk to add
7897 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7898
a2964074
SP
7899 * Makefile.in (bench-clean): New target.
7900 * benchtests/Makefile (bench-clean): Likewise.
7901
9fbf9aca
DH
79022013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7903
7904 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7905
207d1e2a
TS
79062013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7907
7908 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7909
306dfba9
AS
79102013-04-15 Andreas Schwab <schwab@suse.de>
7911
7912 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7914 * nscd/pwdcache.c (cache_addpw): Likewise.
7915 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7916 more than recsize.
7917
206a6699
SP
79182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7919
7920 * benchtests/Makefile (bench): Write all output to
7921 bench-out.tmp together.
7922
0582f6b3
AS
79232013-04-15 Andreas Schwab <schwab@suse.de>
7924
7925 * nscd/nscd.c (main): Don't fork again after closing files.
7926
acb4325f
SP
79272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7928
5cb26d0a
SP
7929 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7930
acb4325f
SP
7931 * benchtests/Rules (bench-deps): Collect dependencies into a
7932 single variable. Add Makefile to dependencies.
7933 ($(objpfx)bench-%.c): Depend on bench-deps.
7934
47792506
RM
79352013-04-12 Roland McGrath <roland@hack.frob.com>
7936 Xavier Roche <roche+kml2@exalead.com>
7937
7938 [BZ #15361]
7939 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7940 just that it's a file descriptor.
7941 * manual/llio.texi (Synchronizing AIO Operations): Update description
7942 for EBADF error from aio_fsync.
7943
8fc1bee5
SP
79442013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7945
7946 * Rules (bench): Move target definition...
7947 * benchtests/Makefile: ... here.
7948
aba5e333
CD
79492013-04-11 Carlos O'Donell <carlos@redhat.com>
7950
7951 * math/libm-test.inc (cos_test): Fix PI/2 test.
7952 (sincos_test): Likewise.
7953 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7954 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7955
273cdee8
AS
79562013-04-11 Andreas Schwab <schwab@suse.de>
7957
6ecec3b6
AS
7958 [BZ #13988]
7959 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7960 accept exponent character only when digits were seen.
7961 * stdio-common/Makefile (tests): Add bug26.
7962 * stdio-common/bug26.c: New file.
7963
273cdee8
AS
7964 [BZ #14293]
7965 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7966 non-freeable.
7967
8da491f5
SP
79682013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7969
01dc6df9
SP
7970 * Makeconfig (rtld-prefix): Define built linker prefix.
7971 * Rules (run-bench): Use it.
7972 * math/Makefile (run-regen-ulps): Likewise.
7973
8da491f5
SP
7974 * Rules (bench): Remove eval.
7975
abe7f530
SP
79762013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7977 Roland McGrath <roland@hack.frob.com>
7978 Ondrej Bilka <neleai@seznam.cz>
7979
7980 [BZ #15346]
7981 * time/getdate.c: Include ctype.h and alloca.h.
7982 (__getdate_r): Trim leading and trailing spaces of input.
7983 * time/tst-getdate.c (tests): Add tests with leading and
7984 trailing spaces.
7985
61c23e62
RM
79862013-04-08 Roland McGrath <roland@hack.frob.com>
7987
7988 [BZ #14280]
7989 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7990 when computing value.
7991
7208a313
CD
79922013-04-06 Carlos O'Donell <carlos@redhat.com>
7993
085b2d41
CD
7994 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7995 Use testrun.sh to run libm tests.
7996
7208a313
CD
7997 [BZ #15309]
7998 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7999
872c0acd
MM
80002013-04-06 Marko Myllynen <myllynen@redhat.com>
8001
8002 [BZ #15264]
8003 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8004
26510bdd
CD
80052013-04-06 Carlos O'Donell <carlos@redhat.com>
8006
8007 * Makefile.in (regen-ulps): New target.
8008 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8009 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8010 [ifneq (no,$(PERL)] (regen-ulps): New target.
8011 [ifeq (no,$(PERL)] (regen-ulps): New target.
8012 * math/libm-test.inc (ulps_file_name): Define.
8013 (output_dir): New variable.
8014 (options): Add "output-dir" option.
8015 (parse_opt): Handle 'o' case.
8016 (main): If output_dir is non-NULL use it as a prefix
8017 otherwise use "".
8018 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8019
a01f19c8
CD
80202013-04-06 Carlos O'Donell <carlos@redhat.com>
8021
8022 [BZ #10060, #10062]
8023 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8024 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8025 fail configure if __sync_val_compare_and_swap is not inlined.
8026 * sysdeps/i386/configure: Regenerate.
8027 * configure.in: Build for i686 when configured for i386.
8028 * configure: Regenerate.
8029 * README: Remove i386 reference.
8030
b7a329a5
CD
80312013-04-06 Carlos O'Donell <carlos@redhat.com>
8032
8033 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8035
bf0f50df
TS
80362013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8037
ee091edf
TS
8038 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8039 (lmsnanval): New variables.
8040 (F): Add conversion tests.
8041 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8042 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8043
a8b792d6
TS
8044 * stdio-common/tstdiomisc.c (F): Properly collect individual
8045 tests' results.
8046
a1cbf437
TS
8047 [BZ #14686, #15336]
8048 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8049 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8050 Instead, use input NaN values or generate a qNaN by arithmetic
8051 operation. Also fix bugs to comply with the standard.
8052 * math/libm-test.inc (remainder_test): Add more tests.
8053
8b43a0c9
TS
8054 [BZ #15335, #15342]
8055 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8057 input NaN values or generate a qNaN by arithmetic operation.
8058
d91da4ce
TS
8059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8060 unreachable code.
8061
bf0f50df
TS
8062 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8063 definitions.
8064
05e166c8
JM
80652013-04-03 Joseph Myers <joseph@codesourcery.com>
8066
8067 [BZ #14478]
8068 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8069 underflowed result.
8070 * math/s_cexpf.c (__cexpf): Likewise.
8071 * math/s_cexpl.c (__cexpl): Likewise.
8072 * math/libm-test.inc (cexp_test): Add more tests.
8073
1cef1b19
AS
80742013-04-03 Andreas Schwab <schwab@suse.de>
8075
8076 [BZ #15330]
8077 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8078 order arrays from heap if bigger than alloca cutoff.
8079
74d87055
TS
80802013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8081
8082 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8083 (SNAN_TESTS_double): Refer to GCC PR56831.
8084 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8085 GCC PR56828.
8086
d755bba4
SP
80872013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
90d5d5bb
SP
8089 * Rules (bench): Move bench.out after the run is complete.
8090
73e0cd5d
SP
8091 * Rules (bench): Echo currently running benchmark.
8092
64aabd4b
SP
8093 * benchtests/Makefile (bench): Add atan and slowatan.
8094 * benchtests/atan-inputs: New file.
8095 * benchtests/slowatan-inputs: New file.
8096 * benchtests/slowatan.c: New file.
8097
c871eccd
SP
8098 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8099 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8100 its value.
8101
d755bba4
SP
8102 [BZ #15305]
8103 * sysdeps/unix/sysv/linux/kernel-features.h
8104 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8105 __ASSUME_XFS_RESTRICTED_CHOWN.
8106 * sysdeps/unix/sysv/linux/pathconf.c
8107 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8108 Save and restore errno.
8109
52ce4860
JM
81102013-04-02 Joseph Myers <joseph@codesourcery.com>
8111
8112 [BZ #15327]
8113 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8114 arguments using __kernel_casinh.
8115 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8116 arguments using __kernel_casinhf.
8117 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8118 arguments using __kernel_casinhl.
8119 * math/libm-test.inc (cacosh_test): Add more tests.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122
81f311c2
SP
81232013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8124
e7906a47
SP
8125 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8127
92e3664b
SP
8128 * bench/Makefile (bench): Add sin and slowsin.
8129 * benchtests/sin-inputs: New file.
8130 * benchtests/slowsin-inputs: New file.
8131 * benchtests/slowsin.c: New file.
8132
81f311c2
SP
8133 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8134 (bench): Add slowexp and slowpow.
8135 (exp-ITER): Increase iterations.
8136 (pow-ITER): Likewise.
8137 * benchtests/exp-inputs: Change input.
8138 * benchtests/pow-inputs: Likewise.
8139 * benchtests/slowexp-inputs: New file.
8140 * benchtests/slowexp.c: New file.
8141 * benchtests/slowpow-inputs: New file.
8142 * benchtests/slowpow.c: New file.
8143
ab0f1aa9
AZ
81442013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8145
8146 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8147 instructions.
8148 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8150 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8151 * benchtests/Makefile: Add rint benchtest.
8152 * benchtests/rint-inputs: Input for rint benchtest.
8153
57267616
TS
81542013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8155
8156 * Versions.def (libm): Add GLIBC_2.18.
8157 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8158 hidden libm prototypes.
8159 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8160 * math/Makefile (libm-calls): Add s_issignaling.
8161 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8162 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8163 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8164 declaration.
8165 * math/math.h [__USE_GNU] (issignaling): New macro.
8166 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8167 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8169 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8172 * manual/arith.texi (issignaling): New section.
8173 * manual/libm-err-tab.pl (@all_functions): Update comment.
8174 * math/gen-libm-test.pl (parse_args): Apply special handling for
8175 issignaling.
8176 * math/libm-test.inc (print_float, issignaling_test): New
8177 functions.
8178 (check_float_internal): Add issignaling checks.
8179 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8180 default definition.
8181 * sysdeps/powerpc/math-tests.h: New file.
8182 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8183 tests.
8184 * math/test-snan.c (TEST_FUNC): Likewise.
8185
6142896d
DM
81862013-03-30 David S. Miller <davem@davemloft.net>
8187
8188 * po/de.po: Update from translation team.
8189
ccc8cadf
JM
81902013-03-30 Joseph Myers <joseph@codesourcery.com>
8191
8192 [BZ #10357]
8193 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8194 imaginary part less than 1.0 and real part less than 0.5
8195 specially.
8196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8198 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8199 (cacos_test): Add more tests.
8200 (casin_test): Likewise.
8201 (casinh_test): Likewise.
8202 * sysdeps/i386/fpu/libm-test-ulps: Update.
8203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8204
0f6a8d4b
SP
82052013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8206
0d1029de
SP
8207 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8208 ONE with its value.
8209
c2d94018
SP
8210 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8211 (__pow_mp): Replace ONE and MONE with their values.
8212 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8214 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8215 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8216 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8217 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8218
27ec37f1
SP
8219 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8220
a64d7e0e
SP
8221 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8222 (__pow_mp): Replace ZERO and MZERO with their values.
8223 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8225 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8227 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8228 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8229 (__sqr): Likewise.
8230
d26dd3eb
SP
8231 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8232
0f6a8d4b
SP
8233 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8234
e57b0c61
RM
82352013-03-28 Roland McGrath <roland@hack.frob.com>
8236
8237 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8238 Declare with __attribute__ ((weak)).
8239 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8240 Call __call_tls_dtors only if it's not NULL.
8241
356b3480
RM
82422013-03-28 Roland McGrath <roland@hack.frob.com>
8243
288f7d79
RM
8244 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8245 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8246 magic __ehdr_start linker symbol if it's defined.
8247 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8248 them up here if it was already done.
8249
dc0a0263
RM
8250 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8251 (_dl_aux_init): Use const in cast when setting it.
8252 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8253 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8254 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8255
3d3436ae
RM
8256 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8257 Declare them here.
8258 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8259 * csu/libc-tls.c: Nor here.
8260 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8261
356b3480
RM
8262 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8263 (__libc_message): Never call vsyslog.
8264
b0f1246a
AM
82652013-03-28 Alan Modra <amodra@gmail.com>
8266
8267 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8268 Define as empty.
8269 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8270 Likewise.
8271
fbbe2b9a
AZ
82722013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8273
8274 [BZ #15214]
8275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8276 underflow.
8277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8278
1728ab37
SP
82792013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8280
7a86be6e
SP
8281 [BZ #15304]
8282 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8283 Don't add gid passed as argument.
8284
1728ab37
SP
8285 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8286
3a7182a1
JM
82872013-03-27 Joseph Myers <joseph@codesourcery.com>
8288
8289 [BZ #15307]
8290 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8291 imaginary part between 1.0 and 1.5 and real part less than 0.5
8292 specially.
8293 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8294 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8295 * math/libm-test.inc (cacos_test): Add more tests.
8296 (casin_test): Likewise.
8297 (casinh_test): Likewise.
8298 * sysdeps/i386/fpu/libm-test-ulps: Update.
8299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8300
6f2e90e7
SP
83012013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8302
5739f705
SP
8303 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8304 constants.
8305 (norm): Likewise.
8306 (denorm): Likewise.
8307 (__dbl_mp): Likewise.
8308 (add_magnitudes): Likewise.
8309 (sub_magnitudes): Likewise.
8310 (__add): Likewise.
8311 (__sub): Likewise.
8312 (__mul): Likewise.
8313 (__sqr): Likewise.
8314 (__inv): Likewise.
8315 (__dvd): Likewise.
8316
e375e83d
SP
8317 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8318 commented code.
8319 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8320 (__dubcos): Likewise.
8321 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8322 (__ieee754_acos): Likewise.
8323 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8324 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8325 (__exp1): Likewise.
8326 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8328 (log1): Likewise.
8329 (my_log2): Likewise.
8330 (checkint): Likewise.
8331 * sysdeps/ieee754/dbl-64/e_remainder.c
8332 (__ieee754_remainder): Likewise.
8333 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8335 (bsloww): Likewise.
8336 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8337
6f2e90e7
SP
8338 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8339 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8340 MANTISSA_STORE_T to store computations on mantissa. Use
8341 macros for rounding and division.
8342 (denorm): Likewise.
8343 (__dbl_mp): Likewise.
8344 (add_magnitudes): Likewise.
8345 (sub_magnitudes): Likewise.
8346 (__mul): Likewise.
8347 (__sqr): Likewise.
8348 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8349 powers of two in terms of TWOPOW macro.
8350 (mp_no): Make type of mantissa as MANTISSA_T.
8351 [!RADIXI]: Define RADIXI.
8352 [!TWO52]: Define TWO52.
8353 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8354
fce14d4e
AZ
83552013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8356
8357 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8358 llroundl symbol when building for PPC32.
8359
9ad027fb
MW
83602013-03-24 Mark H Weaver <mhw@netris.org>
8361
8362 * manual/arith.texi (Normalization Functions): Fix prototypes for
8363 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8364
e42a38dd
AZ
83652013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366
8367 [BZ #13889]
8368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8369 high value to check if expl overflow.
8370 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8371 to check for underflow and overflow.
8372 * math/libm-test.inc: Add exp test.
8373
2e0fb521
DL
83742013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8375
8376 [BZ #11120]
8377 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8378 with NOT_IN_libc.
8379
b5784d95
AZ
83802013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8383 symbol.
8384
5aa4a1a1
TS
83852013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8386
bdef0be7
TS
8387 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8388 wrap blocks consisting of several statements.
8389
5aa4a1a1
TS
8390 * sysdeps/generic/math-tests.h: New file.
8391 * sysdeps/i386/fpu/math-tests.h: Likewise.
8392 * math/test-snan.c: Include it.
8393 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8394
98c48fe5
JM
83952013-03-21 Joseph Myers <joseph@codesourcery.com>
8396
8397 [BZ #15285]
8398 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8399 (__ieee754_j0l): Do not improve calculations using cos of twice
8400 input for inputs above LDBL_MAX / 2.0L.
8401 (__ieee754_y0l): Likewise.
8402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8403 (__ieee754_j1l): Do not improve calculations using cos of twice
8404 input for inputs above LDBL_MAX / 2.0L.
8405 (__ieee754_y1l): Likewise.
8406 * math/libm-test.inc (j0_test): Add another test.
8407 (j1_test): Likewise.
8408 (y0_test): Likewise.
8409 (y1_test): Likewise.
8410 * sysdeps/i386/fpu/libm-test-ulps: Update.
8411
3775a8bc
SP
84122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8413
8414 * Rules ($(objpfx)bench-%.c): Include code from a C source
8415 file.
8416
0a1b2ae6
JM
84172013-03-21 Joseph Myers <joseph@codesourcery.com>
8418
8419 [BZ #15287]
8420 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8421 imaginary part 1.0 and real part less than 0.5 specially.
8422 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8423 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8424 * math/libm-test.inc (cacos_test): Add more tests.
8425 (casin_test): Likewise.
8426 (casinh_test): Likewise.
8427 * sysdeps/i386/fpu/libm-test-ulps: Update.
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8429
b33d4ce4
SP
84302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8431
8432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8433 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8434
bef0b507
JM
84352013-03-20 Joseph Myers <joseph@codesourcery.com>
8436
8437 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8438 * config.make.in (config-cflags-sse4): Remove variable.
8439 (config-cflags-avx): Likewise.
8440 (config-cflags-sse2avx): Likewise.
8441 (config-cflags-novzeroupper): Likewise.
8442 (config-asflags-i686): Likewise.
8443 (have-mfma4): Likewise.
8444 (have-as-vis3): Likewise.
8445 (MIG): Likewise.
8446 * configure.in (MIG): Do not AC_SUBST.
8447 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8448 (libc_cv_cc_sse4): Do not AC_SUBST.
8449 (libc_cv_cc_avx): Likewise.
8450 (libc_cv_cc_sse2avx): Likewise.
8451 (libc_cv_cc_novzeroupper): Likewise.
8452 (libc_cv_cc_fma4): Likewise.
8453 (libc_cv_as_i686): Likewise.
8454 (libc_cv_sparc_as_vis3): Likewise.
8455 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8456 LIBC_CONFIG_VAR.
8457 (config-asflags-i686): Likewise.
8458 (config-cflags-avx): Likewise.
8459 (config-cflags-sse2avx): Likewise.
8460 (have-mfma4): Likewise.
8461 (config-cflags-novzeroupper): Likewise.
8462 * sysdeps/mach/configure.in (MIG): Likewise.
8463 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8464 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8465 LIBC_CONFIG_VAR.
8466 (config-cflags-avx): Likewise.
8467 (config-cflags-sse2avx): Likewise.
8468 (have-mfma4): Likewise.
8469 (config-cflags-novzeroupper): Likewise.
8470 * configure: Regenerated.
8471 * sysdeps/i386/configure: Likewise.
8472 * sysdeps/mach/configure: Likewise.
8473 * sysdeps/sparc/configure: Likewise.
8474 * sysdeps/x86_64/configure: Likewise.
8475
912cc4b3
RM
84762013-03-20 Roland McGrath <roland@hack.frob.com>
8477
8478 [BZ #14812]
8479 * locale/programs/localedef.c (options): Put N_ translation marker
8480 on argument names, not just descriptions.
8481
04eed2b0
MS
84822013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8483
8484 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8485
a065ceff
OB
84862013-03-20 Ondřej Bílka <neleai@seznam.cz>
8487
9bb2a810 8488 [BZ #14176]
a065ceff
OB
8489 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8490
a600e5ce
RM
84912013-03-19 Roland McGrath <roland@hack.frob.com>
8492
8493 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8494 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8495 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8496 [!BEFORE_ABORT] (before_abort): New function.
8497 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8498 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8499 (writev_for_fatal): New function.
8500 (WRITEV_FOR_FATAL): New macro; call that.
8501 (backtrace_and_maps): New function.
8502 (BEFORE_ABORT): New macro; call that.
8503 (struct str_list): Type removed.
8504 (__libc_message, __libc_fatal): Functions removed.
8505 Include <sysdeps/posix/libc_fatal.c> instead.
8506
6b18bea6
JM
85072013-03-19 Joseph Myers <joseph@codesourcery.com>
8508
8509 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8510 constants.
8511 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8512 double constants.
8513
aaa8cb4b
AS
85142013-03-19 Andreas Schwab <schwab@suse.de>
8515
44673770
AS
8516 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8517 * sysdeps/gnu/configure: Regenerate.
8518
aaa8cb4b
AS
8519 * configure.in: Substitute libc_cv_rtlddir.
8520 * configure: Regenerate.
8521 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8522 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8523 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8524 * elf/Makefile (install-others, CFLAGS-interp.c)
8525 (ldso_install, common-ldd-rewrite): Likewise.
8526 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8527 $(inst_slibdir)/$(rtld-installed-name).
8528 * scripts/rellns-sh: Add -p option.
8529 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8530 for source.
8531
d3cfc668
SP
85322013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8533
8534 * manual/nptl.texi: Renamed to ...
8535 * manual/threads.texi: ... this.
8536 * manual/Makefile (chapters): Update.
8537
0e2b9cdd
RM
85382013-03-18 Roland McGrath <roland@hack.frob.com>
8539
8540 [BZ #14812]
8541 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8542 on argument names, not just descriptions.
0e2b9cdd
RM
8543 * malloc/memusagestat.c (options): Likewise.
8544 * nss/getent.c (options): Likewise.
63270c24
RM
8545
85462013-03-18 Benno Schulenberg <bensberg@justemail.net>
8547
8548 [BZ #14812]
8549 * iconv/iconv_prog.c (options): Put N_ translation marker
8550 on argument names, not just descriptions.
8551 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8552
b2e1393c
OB
85532013-03-18 Ondrej Bilka <neleai@seznam.cz>
8554
8555 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8556 implementation which is faster on all x86_64 architectures.
8557 Tested on AMD, Intel Nehalem, SNB, IVB.
8558 * sysdeps/x86_64/strnlen.S: Likewise.
8559
8560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8561 Remove all multiarch strlen and strnlen versions.
8562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8563 Remove strlen and strnlen related parts.
8564
8565 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8566 Inline strlen part.
8567 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8568
8569 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8570 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8571 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8572 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8573 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8574 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8575
ec4ff04d
CD
85762013-03-17 Carlos O'Donell <carlos@redhat.com>
8577
8578 * manual/memory.texi (Malloc Tunable Parameters):
8579 Sort parameters alphabetically. Add comments for missing entries.
8580
cd18e90a
DM
85812013-03-17 David S. Miller <davem@davemloft.net>
8582
8583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8584
2a185d32
JM
85852013-03-16 Joseph Myers <joseph@codesourcery.com>
8586
d2f9799e
JM
8587 [BZ #15283]
8588 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8589 for arguments at most half maximum finite value.
8590 * math/libm-test.inc (j0_test): Add more tests.
8591 (j1_test): Likewise.
8592 (y0_test): Likewise.
8593 (y1_test): Likewise.
8594 * sysdeps/i386/fpu/libm-test-ulps: Update.
8595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8596
2a185d32
JM
8597 [BZ #14155]
8598 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8599 1 / x and functions P and Q for arguments above 0x1p256L.
8600 (__ieee754_y0l): Likewise.
8601 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8602 (__ieee754_y1l): Likewise.
8603 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8604 (j1_test): Likewise.
8605 (y0_test): Likewise.
8606 (y1_test): Likewise.
8607
6cbec759
TS
86082013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8609
8610 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8611 variable.
8612
bc16e260
RM
86132013-03-15 Roland McGrath <roland@hack.frob.com>
8614
aefc9b8c
RM
8615 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8616 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8617 zero since it's initialized to EXEC_PAGESIZE.
8618
bc16e260
RM
8619 * sysdeps/unix/sysv/linux/ldsodefs.h
8620 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8621 * sysdeps/generic/ldsodefs.h: ... here.
8622
a57da955
TS
86232013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8624
af00a34d
TS
8625 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8626
495ded2c
TS
8627 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8628 math/test-snan.c.
8629 * math/test-snan.c: Renamed from
8630 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8631 * math/Makefile (tests): Add test-snan.
8632 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8633 test-powerpc-snan.
8634
777b0332
TS
8635 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8636 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8637 functions.
8638 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8639 __builtin_nan family of functions.
8640 * math/libm-test.inc (initialize): Initialize qnan_value with
8641 __builtin_nan family of functions.
8642 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8643 Remove variables.
8644 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8645 Remove functions.
8646 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8647 storage class. Initialize qNaN_var and sNaN_var with
8648 __builtin_nan and __builtin_nans families of functions,
8649 respectively.
8650
64d063b8
TS
8651 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8652 (sqrt_test): Remove duplicate test with qNaN input.
8653 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8654 (round_test, signbit_test, significand_test): Note missing +/-Inf
8655 as well as qNaN tests.
8656
67e971f1
TS
8657 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8658 qNaN_var. Fix a few strings, too.
8659 * math/libm-test.inc (nan_value): Rename to qnan_value.
8660 * math/gen-libm-test.pl (%beautify): Adjust to that.
8661 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8662 * math/test-misc.c (main): Likewise.
8663 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8664 to __qnan_bytes, and __qnan_union, respectively.
8665 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8666 Likewise.
8667 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8668 and lqnanval, respectively.
8669 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8670 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8671 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8672 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8673
64487e12
TS
8674 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8675 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8676 doubles.
8677
e015e27b
TS
8678 * math/test-misc.c (main): Fix copy'n'pastos.
8679 * misc/tst-efgcvt.c (special): Likewise.
8680
a57da955
TS
8681 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8682 Remove declarations.
8683
1e380345
SP
86842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8685
8686 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8687 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8688 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8690
ef26eece
AZ
86912013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8692
8693 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8694 macro to return vdso values correctly in IFUNC implementations.
8695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8696 Optimization by using IFUNC.
8697
8cfdb7e0
SP
86982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8699 Richard Henderson <rth@redhat.com>
8700 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8701
8702 * Makefile.in (bench): New target.
8703 * NEWS: Mention the benchmark framework.
8704 * Rules (bench): Likewise.
8705 (binaries-bench): Generate binaries for functions to
8706 benchmark.
8707 * benchtests/Makefile: New makefile for benchmark tests.
8708 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8709 programs.
8710 * benchtests/exp-inputs: New input file for EXP function.
8711 * benchtests/pow-inputs: New input file for POW function.
8712 * scripts/bench.pl: New script to generate source files for
8713 benchmark programs.
8714
bcda9880
SP
87152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8716
d22ca8cd
SP
8717 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8718 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8719 computations on mantissa. Use macros for rounding and
8720 division.
8721 (denorm): Likewise.
8722 (__dbl_mp): Likewise.
8723 (add_magnitudes): Likewise.
8724 (sub_magnitudes): Likewise.
8725 (__mul): Likewise.
8726 (__sqr): Likewise.
8727 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8728 powers of two in terms of TWOPOW macro.
8729 (mp_no): Make type of mantissa as MANTISSA_T.
8730 [!RADIXI]: Define RADIXI.
8731 [!TWO52]: Define TWO52.
8732 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8733
bcda9880
SP
8734 * manual/nptl.texi (cindex): Modify threads to pthreads.
8735
06d5adfb
JM
87362013-03-15 Joseph Myers <joseph@codesourcery.com>
8737
8738 * sysdeps/x86_64/preconfigure: Regenerated.
8739
41c7328e
JM
87402013-03-14 Joseph Myers <joseph@codesourcery.com>
8741
8742 [BZ #14155]
8743 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8744 0x1p28 and above.
8745 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8746 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8747 0x1p28 and above.
8748 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8749 * math/libm-test.inc (j0_test): Do not allow one spurious
8750 underflow exception.
8751 (y1_test): Likewise.
8752
e25cfa60
SP
87532013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8754
0409959c
SP
8755 * manual/Makefile (chapters): Add nptl.
8756 * manual/debug.texi (Debugging Support): Add link to Threads
8757 chapter.
8758 * manual/nptl.texi: New file.
8759
e25cfa60
SP
8760 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8761
58a1335e
PB
87622013-03-14 Petr Baudis <pasky@ucw.cz>
8763
8764 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8765 for non-NULL pointer before the memory validity test. Pointed
8766 out by Holger Brunck <holger.brunck@keymile.com>.
8767
9dc7c64f
AS
87682013-03-13 Andreas Schwab <schwab@suse.de>
8769
8770 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8771 instead of .os.
8772
54206aa6
JM
87732013-03-13 Joseph Myers <joseph@codesourcery.com>
8774
8775 * timezone/zic.c: Update from tzcode 2013b.
8776
e98cdb38
CD
87772013-03-12 Carlos O'Donell <carlos@redhat.com>
8778
8779 * manual/install.texi (Configuring and compiling):
8780 Mention i686 and i586.
8781 * INSTALL: Regenerate.
8782
9967e003
RM
87832013-03-12 Roland McGrath <roland@hack.frob.com>
8784
8785 * sysdeps/init_array/elf-init.c: New file.
8786 * csu/elf-init.c
8787 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8788 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8789
8790 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8791 __gmon_start__ as global, but as static with a .preinit_array pointer.
8792 * sysdeps/init_array/gmon-start.c: New file. Use that.
8793 * sysdeps/init_array/crti.S: New file, empty except for comments.
8794 * sysdeps/init_array/crtn.S: Likewise.
8795
e6b5a293 87962013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8797
8798 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8799 definining bcopy.
80f844c9
OB
8800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8801 Remove Prefer_SSE_for_memop.
8802 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8803 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8804 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8806 memset-x86-64.
80f844c9 8807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8808 Remove bzero, memset ifunc support.
80f844c9
OB
8809 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8810 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8811 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8812 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8813
fb6b0fcb
AS
88142013-03-11 Andreas Schwab <schwab@suse.de>
8815
8816 [BZ #15234]
8817 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8818 by SHLIB_COMPAT.
8819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8820 (GLIBC_2.16): Remove pthread_atfork.
8821
3e6bd4b1
PP
88222013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8823
8824 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8825 (ptestcases.h): Likewise.
8826
222d7f00
RM
88272013-03-08 Roland McGrath <roland@hack.frob.com>
8828
8829 * Makeconfig ($(common-objpfx)config.status): Depend on
8830 sysdeps/*/preconfigure{,.in} too.
8831
1ba4f030
JM
88322013-03-08 Joseph Myers <joseph@codesourcery.com>
8833
a222d91a
JM
8834 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8835 (__free_hook): Use void * instead of __malloc_ptr_t.
8836 (__malloc_hook): Likewise.
8837 (__realloc_hook): Likewise.
8838 (__memalign_hook): Likewise.
8839 (__after_morecore_hook): Likewise.
8840 * malloc/arena.c (save_malloc_hook): Likewise.
8841 (save_free_hook): Likewise.
8842 * malloc/hooks.c (malloc_hook_ini): Likewise.
8843 (realloc_hook_ini): Likewise.
8844 (memalign_hook_ini): Likewise.
8845 * malloc/malloc.c (malloc_hook_ini): Likewise.
8846 (realloc_hook_ini): Likewise.
8847 (memalign_hook_ini): Likewise.
8848 (__free_hook): Likewise.
8849 (__malloc_hook): Likewise.
8850 (__realloc_hook): Likewise.
8851 (__memalign_hook): Likewise.
8852 (__libc_malloc): Likewise.
8853 (__libc_free): Likewise.
8854 (__libc_realloc): Likewise.
8855 (__libc_memalign): Likewise.
8856 (__libc_valloc): Likewise.
8857 (__libc_pvalloc): Likewise.
8858 (__libc_calloc): Likewise.
8859 (__posix_memalign): Likewise.
8860 * malloc/morecore.c (__sbrk): Likewise.
8861 (__default_morecore): Likewise.
8862
5cc45e10
JM
8863 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8864
dd54b864
JM
8865 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8866 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8867 __malloc_ptrdiff_t.
8868
1ba4f030
JM
8869 * malloc/malloc.h (__malloc_size_t): Remove macro.
8870 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8871 __malloc_size_t.
8872 (old_memalign_hook): Likewise.
8873 (old_realloc_hook): Likewise.
8874 (struct hdr): Likewise.
8875 (flood): Likewise.
8876 (mallochook): Likewise.
8877 (memalignhook): Likewise.
8878 (reallochook): Likewise.
8879 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8880 (tr_old_realloc_hook): Likewise.
8881 (tr_old_memalign_hook): Likewise.
8882 (tr_mallochook): Likewise.
8883 (tr_reallochook): Likewise.
8884 (tr_memalignhook): Likewise.
8885
edf66e57
AZ
88862013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8887
8888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8889 default_ldbl_pack and using as default implementation.
8890 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8891 implementation.
8892 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8893 redundant definition.
8894 (ldbl_insert_mantissa): Likewise.
8895 (ldbl_canonicalize): Likewise.
8896 (ldbl_nearbyint): Likewise.
8897 (ldbl_pack): Rename to ldbl_pack_ppc.
8898 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8899 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8900 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8901
6d9145d8
SP
89022013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8903
8904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8905 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8907 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8909 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8910 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8911 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8912
4dd4e157
AJ
89132013-03-07 Andreas Jaeger <aj@suse.de>
8914
8915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8916 bits/mman-linux.h.
8917
adbb8027
SP
89182013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8919
ce544b5b
SP
8920 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8921 Include mpa.h and declare __MPEXP.
8922 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8923 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8924 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8925 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8926 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8927 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8928 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8929
4cc149fd
SP
8930 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8931 (__slowpow): Use long double EXPL and LOGL functions to
8932 compute POW.
8933 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8934 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8936 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8937 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8938 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8939
e6ebd4a7
SP
8940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8941 intermediate variable to calculate exponent.
8942 (__sqr): Likewise.
8943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8944 Likewise.
8945 (__sqr): Likewise.
8946
82a9811d
SP
8947 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8948 [!NO__SQR]: Define __sqr.
8949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8950 and NO__SQR. Remove all code except __mul and __sqr. Include
8951 sysdeps/ieee754/dbl-64/mpa.c.
8952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8953
adbb8027
SP
8954 [BZ #12723]
8955 * posix/Makefile (tests): Add tst-pathconf.
8956 * posix/tst-pathconf.c: New test case.
8957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8958 _PC_PIPE_BUF.
8959 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8960
39120df9
PF
89612013-03-06 Patsy Franklin <pfrankli@redhat.com>
8962
8963 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8964
67525cb8
AJ
89652013-03-06 Andreas Jaeger <aj@suse.de>
8966
664a9ce4
AJ
8967 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8968 definition via __MAP_ANONYMOUS.
8969
8e39047d
AJ
8970 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8971 it's not part of Linux headers.
8972
67525cb8
AJ
8973 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8974 (MAP_HUGE_MASK): Define.
8975
8976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8977 Define.
8978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8980 Define.
8981 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8982 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8983 Define.
8984 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8986 Define.
8987 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8988
8989 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8990 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8991 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8992 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8993 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8994 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8995
8996 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8997 Handle f2fs.
8998
8999 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9000 Handle f2fs and efivarfs.
9001
9002 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9003 f2fs.
9004
9005 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9006 (EFIVARFS_MAGIC): Add.
9007 (F2FS_LINK_MAX): Add.
9008
e1b42695
PP
90092013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9010
9011 * stdio-common/vfprintf.c: Replace __builtin_expect with
9012 __glibc_unlikely.
9013
2d67d91a
JM
90142013-03-06 Joseph Myers <joseph@codesourcery.com>
9015
9016 [BZ #13550]
9017 * sysdeps/generic/bp-sym.h: Remove file.
9018 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9019 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9020 <bp-sym.h> and <bp-asm.h>.
9021 (__longjmp): Don't use BP_SYM.
9022 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9023 and <bp-asm.h>.
9024 (memcpy): Don't use BP_SYM.
9025 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9026 <bp-sym.h> and <bp-asm.h>.
9027 (memcpy): Don't use BP_SYM.
9028 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9029 <bp-asm.h>.
9030 (memcpy): Don't use BP_SYM.
9031 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9032 <bp-asm.h>.
9033 (memset): Don't use BP_SYM.
9034 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9035 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9036 (__bzero): Don't use BP_SYM.
9037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9039 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9040 <bp-sym.h> and <bp-asm.h>.
9041 (memcmp): Don't use BP_SYM. Remove comment about bounded
9042 pointers.
9043 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9044 <bp-sym.h> and <bp-asm.h>.
9045 (memcpy): Don't use BP_SYM.
9046 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9047 <bp-sym.h> and <bp-asm.h>.
9048 (memset): Don't use BP_SYM.
9049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9051 (__bzero): Don't use BP_SYM.
9052 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9053 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9054 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9055 <bp-sym.h> and <bp-asm.h>.
9056 (strncmp): Don't use BP_SYM. Remove comment about bounded
9057 pointers.
9058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9059 <bp-sym.h> and <bp-asm.h>.
9060 (memcpy): Don't use BP_SYM.
9061 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9062 <bp-sym.h> and <bp-asm.h>.
9063 (memset): Don't use BP_SYM.
9064 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9065 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9066 (__bzero): Don't use BP_SYM.
9067 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9068 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9070 <bp-sym.h> and <bp-asm.h>.
9071 (__memchr): Don't use BP_SYM.
9072 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9073 <bp-sym.h> and <bp-asm.h>.
9074 (memcmp): Don't use BP_SYM. Remove comment about bounded
9075 pointers.
9076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9077 <bp-sym.h> and <bp-asm.h>.
9078 (memcpy): Don't use BP_SYM.
9079 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9080 <bp-sym.h> and <bp-asm.h>.
9081 (__mempcpy): Don't use BP_SYM.
9082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9083 <bp-sym.h> and <bp-asm.h>.
9084 (__memrchr): Don't use BP_SYM.
9085 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9086 <bp-sym.h> and <bp-asm.h>.
9087 (memset): Don't use BP_SYM.
9088 (__bzero): Likewise.
9089 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9090 <bp-sym.h> and <bp-asm.h>.
9091 (__rawmemchr): Don't use BP_SYM.
9092 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9093 <bp-sym.h> and <bp-asm.h>.
9094 (__STRCMP): Don't use BP_SYM.
9095 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9096 <bp-sym.h> and <bp-asm.h>.
9097 (strchr): Don't use BP_SYM.
9098 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9099 <bp-sym.h> and <bp-asm.h>.
9100 (__strchrnul): Don't use BP_SYM.
9101 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9102 <bp-sym.h> and <bp-asm.h>.
9103 (strlen): Don't use BP_SYM.
9104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9105 <bp-sym.h> and <bp-asm.h>.
9106 (strncmp): Don't use BP_SYM. Remove comment about bounded
9107 pointers.
9108 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9109 <bp-sym.h> and <bp-asm.h>.
9110 (__strnlen): Don't use BP_SYM.
9111 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9112 <bp-sym.h> and <bp-asm.h>.
9113 (__GI__setjmp): Don't use BP_SYM.
9114 (_setjmp): Likewise.
9115 (__sigsetjmp): Likewise.
9116 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9117 (L(start_addresses)): Don't use BP_SYM.
9118 (_start): Likewise.
9119 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9120 <bp-asm.h>.
9121 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9122 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9123 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9124 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9125 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9126 <bp-asm.h>.
9127 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9128 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9129 about bounded pointers.
9130 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9131 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9132 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9133 <bp-asm.h>.
9134 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9135 about bounded pointers. Remove GKM FIXME comments.
9136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9137 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9138 <bp-asm.h>.
9139 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9140 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9141 Remove GKM FIXME comments.
9142 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9143 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9144 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9145 <bp-asm.h>.
9146 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9147 about bounded pointers. Remove GKM FIXME comment.
9148 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9149 and <bp-asm.h>.
9150 (strncmp): Don't use BP_SYM. Remove comment about bounded
9151 pointers.
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9153 <bp-sym.h> and <bp-asm.h>.
9154 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9156 <bp-sym.h> and <bp-asm.h>.
9157 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9158 comment.
9159
cdcf361f
PP
91602013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9161
9162 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9163 call free(NULL).
9164
3c4a2b15
DM
91652013-03-05 David S. Miller <davem@davemloft.net>
9166
9167 * po/es.po: Update from translation team.
9168
cdcf361f 91692013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9170
9171 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9172 <bits/mman-linux.h>.
9173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9174 is fine.
9175 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9176 <bits/mman-linux.h> to end of file.
9177 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9178 is fine.
9179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9180 <bits/mman-linux.h> to end of file.
9181 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9182 is fine.
9183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9184 <bits/mman-linux.h> to end of file.
9185
9186 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9187 (MCL_CURRENT, MCL_FUTURE): Define here.
9188
5f67c04f
AK
91892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9190
8a4473cc 9191 [BZ #15232]
5f67c04f
AK
9192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9193 attribute_hidden.
9194 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9195
c3e94a95
AK
91962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9197
9198 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9199 fourth parameter needed for rt_sigprocmask syscall.
9200 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9201 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9202 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9203 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9204 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9205 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9206
cfb6382a
JM
92072013-03-04 Joseph Myers <joseph@codesourcery.com>
9208
9209 [BZ #13550]
9210 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9211 comment about bounded pointers.
9212 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9213 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9214
539d8e01
AJ
92152013-03-04 Andreas Jaeger <aj@suse.de>
9216
9217 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9218 common definitions.
9219
9220 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9221 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9222 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9224 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9225 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9226
2e167a70 92272013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9228
9229 [BZ #15055]
9230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9231 __ieee754_sqrl instead of __sqrl.
9232
68508633
JM
92332013-03-01 Joseph Myers <joseph@codesourcery.com>
9234
9235 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9236 * sysdeps/powerpc/fpu_control.h: ... here.
9237 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9238 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9239 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9240 * sysdeps/powerpc/bits/mathinline.h: ... here.
9241
7775448e
RM
92422013-03-01 Roland McGrath <roland@hack.frob.com>
9243
9244 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9245 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9246 to just [NEED_DL_SYSINFO_DSO].
9247 * elf/dl-support.c: Likewise.
9248 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9249 * elf/rtld.c (dl_main): Likewise.
9250 * elf/setup-vdso.h (setup_vdso): Likewise.
9251 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9252 * sysdeps/unix/sysv/linux/dl-sysdep.c
9253 (_dl_discover_osversion): Likewise.
9254
4e9b5995
CD
92552013-03-01 Carlos O'Donell <carlos@redhat.com>
9256
9257 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9258 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9259
e23872c8
SP
92602013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9261
e5c74c63
SP
9262 * NEWS: Mention libm performance improvements and non-x86 PI
9263 futex support.
9264
e23872c8
SP
9265 * csu/libc-start.c (__pthread_initialize_minimal): Change
9266 function arguments.
9267 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9268
b5510883
JM
92692013-02-28 Joseph Myers <joseph@codesourcery.com>
9270
9271 [BZ #13550]
9272 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9273 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9274 <bp-sym.h> and <bp-asm.h>.
9275 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9276 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9277 and <bp-asm.h>.
9278 (memcpy): Don't use BP_SYM.
9279 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9280 <bp-asm.h>.
9281 (__mpn_add_n): Don't use BP_SYM.
9282 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9283 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9284 and <bp-asm.h>.
9285 (__mpn_addmul_1): Don't use BP_SYM.
9286 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9287 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9288 <bp-sym.h>.
9289 (_setjmp): Don't use BP_SYM.
9290 (__novmx_setjmp): Likewise.
9291 (__GI__setjmp): Likewise.
9292 (__vmx_setjmp): Likewise.
9293 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9294 <bp-sym.h>.
9295 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9296 (__bzero): Don't use BP_SYM.
9297 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9298 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9299 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9300 <bp-sym.h> and <bp-asm.h>.
9301 (memcpy): Don't use BP_SYM.
9302 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9303 <bp-sym.h> and <bp-asm.h>.
9304 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9305 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9306 <bp-sym.h> and <bp-asm.h>.
9307 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9308 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9309 <bp-asm.h>.
9310 (__mpn_lshift): Don't use BP_SYM.
9311 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9312 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9313 <bp-asm.h>.
9314 (memset): Don't use BP_SYM.
9315 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9316 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9317 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9318 <bp-asm.h>.
9319 (__mpn_mul_1): Don't use BP_SYM.
9320 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9322 <bp-sym.h> and <bp-asm.h>.
9323 (memcmp): Don't use BP_SYM.
9324 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9325 <bp-sym.h> and <bp-asm.h>.
9326 (memcpy): Don't use BP_SYM.
9327 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9328 <bp-sym.h> and <bp-asm.h>.
9329 (memset): Don't use BP_SYM.
9330 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9331 <bp-sym.h> and <bp-asm.h>.
9332 (strncmp): Don't use BP_SYM.
9333 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9334 <bp-sym.h> and <bp-asm.h>.
9335 (memcpy): Don't use BP_SYM.
9336 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9337 <bp-sym.h> and <bp-asm.h>.
9338 (memset): Don't use BP_SYM.
9339 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9340 <bp-sym.h> and <bp-asm.h>.
9341 (__memchr): Don't use BP_SYM.
9342 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9343 <bp-sym.h> and <bp-asm.h>.
9344 (memcmp): Don't use BP_SYM.
9345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9346 <bp-sym.h> and <bp-asm.h>.
9347 (memcpy): Don't use BP_SYM.
9348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9349 <bp-sym.h> and <bp-asm.h>.
9350 (__mempcpy): Don't use BP_SYM.
9351 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9352 <bp-sym.h> and <bp-asm.h>.
9353 (__memrchr): Don't use BP_SYM.
9354 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9355 <bp-sym.h> and <bp-asm.h>.
9356 (memset): Don't use BP_SYM.
9357 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9358 <bp-sym.h> and <bp-asm.h>.
9359 (__rawmemchr): Don't use BP_SYM.
9360 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9361 <bp-sym.h> and <bp-asm.h>.
9362 (__STRCMP): Don't use BP_SYM.
9363 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9364 <bp-sym.h> and <bp-asm.h>.
9365 (strchr): Don't use BP_SYM.
9366 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9367 <bp-sym.h> and <bp-asm.h>.
9368 (__strchrnul): Don't use BP_SYM.
9369 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9370 <bp-sym.h> and <bp-asm.h>.
9371 (strlen): Don't use BP_SYM.
9372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9373 <bp-sym.h> and <bp-asm.h>.
9374 (strncmp): Don't use BP_SYM.
9375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9376 <bp-sym.h> and <bp-asm.h>.
9377 (__strnlen): Don't use BP_SYM.
9378 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9379 <bp-asm.h>.
9380 (__mpn_rshift): Don't use BP_SYM.
9381 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9382 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (__sigsetjmp): Don't use BP_SYM.
9385 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9386 (L(start_addresses)): Don't use BP_SYM.
9387 (_start): Likewise.
9388 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9389 <bp-asm.h>.
9390 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9391 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9392 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9393 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9394 <bp-asm.h>.
9395 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9396 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9397 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9398 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9399 <bp-asm.h>.
9400 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9401 comments.
9402 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9403 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9404 <bp-asm.h>.
9405 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9406 FIXME comments.
9407 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9408 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9409 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9410 <bp-asm.h>.
9411 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9412 comment.
9413 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9414 and <bp-asm.h>.
9415 (strncmp): Don't use BP_SYM,
9416 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9417 <bp-asm.h>.
9418 (__mpn_sub_n): Don't use BP_SYM.
9419 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9420 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9421 and <bp-asm.h>.
9422 (__mpn_submul_1): Don't use BP_SYM.
9423 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9425 <bp-sym.h> and <bp-asm.h>.
9426 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9428 <bp-sym.h> and <bp-asm.h>.
9429 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9430 comment.
9431
8d19fe64
SP
94322013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9433
9434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9435 Use ZK to minimize writes to Z.
9436 (sub_magnitudes): Simplify code a bit.
9437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9438 Use ZK to minimize writes to Z.
9439 (sub_magnitudes): Simplify code a bit.
9440
85bd816a
RM
94412013-02-27 Roland McGrath <roland@hack.frob.com>
9442
9443 * csu/gmon-start.c: Add special exception to license text.
9444
b5977bf2
RH
94452013-02-27 Richard Henderson <rth@redhat.com>
9446
9447 * scripts/config.guess: Update from config.git.
9448 * scripts/config.sub: Likewise.
9449
11d6e2f2
SP
94502013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9451
09c14ed2
SP
9452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9453
a688864e
SP
9454 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9455
6295157a
SP
9456 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9457
b8de2202
SP
9458 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9459
11d6e2f2
SP
9460 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9461
7e80ddb8
RM
94622013-02-26 Roland McGrath <roland@hack.frob.com>
9463
9464 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9465 [$(build-shared = yes].
7e80ddb8 9466
7da6d9ed
SP
94672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
45f05884
SP
9469 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9470 (__mul): Reduce iterations for calculating mantissa.
9471
2236d359
SP
9472 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9473 MPTWO.
9474 (__mpranred): Likewise.
9475
7da6d9ed
SP
9476 [BZ #15160]
9477 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9478 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9479
b7688c42
PE
94802013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9481
9482 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9483 Define __attribute__.
9484
53a5c423
SP
94852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9486
9487 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9488 unused.
9489 * posix/regex_internal.h (__attribute): Remove.
9490 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9491 (re_string_context_at): Likewise.
9492 (bitset_not): Use __attribute__ and mark function as possibly
9493 unused.
9494 (bitset_merge): Likewise.
9495 (bitset_mask): Likewise.
9496 (re_string_char_size_at): Likewise.
9497 (re_string_wchar_at): Likewise.
9498 (re_string_elem_size_at): Likewise.
9499
60f5a8b5
SP
95002013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9501
2a983a2e
SP
9502 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9503 code.
9504 (cc32): Likewise.
9505
e69804d1
SP
9506 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9507 (__acr): Likewise.
9508 (__cpy): Likewise.
9509 (norm): Likewise.
9510 (denorm): Likewise.
9511 (__dbl_mp): Likewise.
9512 (add_magnitudes): Likewise.
9513 (sub_magnitudes): Likewise.
9514 (__mul): Likewise.
9515 (__inv): Likewise.
9516
2f22a1e8
SP
9517 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9518 style.
9519
8930ddc7
SP
9520 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9521 style.
9522
dc60cb11
SP
9523 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9524 code.
9525
60f5a8b5
SP
9526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9527 up changes with default code.
9528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9529 Likewise.
9530
b4d1fd33
AM
95312013-02-24 Allan McRae <allan@archlinux.org>
9532
faf6f8bc
AM
9533 * manual/socket.texi (The Internet Namespace): Order menu items
9534 to match that in the file.
9535
b4d1fd33
AM
9536 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9537 node listing of the info page menu.
9538
2366713d
JM
95392013-02-21 Joseph Myers <joseph@codesourcery.com>
9540
9541 [BZ #13550]
9542 * sysdeps/i386/bp-asm.h: Remove file.
9543 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9544 (PARMS): Do not use macros from bp-asm.h.
9545 (S1): Likewise.
9546 (S2): Likewise.
9547 (SIZE): Likewise.
9548 (__mpn_add_n): Do not use BP_SYM
9549 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9550 "bp-asm.h".
9551 (PARMS): Do not use macros from bp-asm.h.
9552 (S1): Likewise.
9553 (SIZE): Likewise.
9554 (__mpn_addmul_1): Do not use BP_SYM
9555 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9556 "bp-asm.h".
9557 (PARMS): Do not use macros from bp-asm.h.
9558 (SIGMSK): Likewise.
9559 (_setjmp): Likewise. Do not use BP_SYM.
9560 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9561 "bp-asm.h".
9562 (PARMS): Do not use macros from bp-asm.h.
9563 (SIGMSK): Likewise.
9564 (setjmp): Likewise. Do not use BP_SYM.
9565 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9566 "bp-asm.h".
9567 (PARMS): Do not use macros from bp-asm.h.
9568 (__frexp): Do not use BP_SYM.
9569 (frexp): Likewise.
9570 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9571 "bp-asm.h".
9572 (PARMS): Do not use macros from bp-asm.h.
9573 (__frexpf): Do not use BP_SYM.
9574 (frexpf): Likewise.
9575 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9576 "bp-asm.h".
9577 (PARMS): Do not use macros from bp-asm.h.
9578 (__frexpl): Do not use BP_SYM.
9579 (frexpl): Likewise.
9580 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9581 "bp-asm.h".
9582 (PARMS): Do not use macros from bp-asm.h.
9583 (__remquo): Do not use BP_SYM.
9584 (remquo): Likewise.
9585 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9586 "bp-asm.h".
9587 (PARMS): Do not use macros from bp-asm.h.
9588 (__remquof): Do not use BP_SYM.
9589 (remquof): Likewise.
9590 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9591 "bp-asm.h".
9592 (PARMS): Do not use macros from bp-asm.h.
9593 (__remquol): Do not use BP_SYM.
9594 (remquol): Likewise.
9595 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9596 "bp-asm.h".
9597 (PARMS): Do not use macros from bp-asm.h.
9598 (DEST): Likewise.
9599 (SRC): Likewise.
9600 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9601 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9602 "bp-asm.h".
9603 (PARMS): Do not use macros from bp-asm.h.
9604 (strlen): Do not use BP_SYM.
9605 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9606 "bp-asm.h".
9607 (PARMS): Do not use macros from bp-asm.h.
9608 (S1): Likewise.
9609 (S2): Likewise.
9610 (SIZE): Likewise.
9611 (__mpn_add_n): Do not use BP_SYM.
9612 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9613 "bp-asm.h".
9614 (PARMS): Do not use macros from bp-asm.h.
9615 (S1): Likewise.
9616 (SIZE): Likewise.
9617 (__mpn_addmul_1): Do not use BP_SYM.
9618 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9619 weak_alias.
9620 (bzero): Likewise.
9621 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9622 "bp-asm.h".
9623 (PARMS): Do not use macros from bp-asm.h.
9624 (S): Likewise.
9625 (SIZE): Likewise.
9626 (__mpn_lshift): Do not use BP_SYM.
9627 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9628 "bp-asm.h".
9629 (PARMS): Do not use macros from bp-asm.h.
9630 (DEST): Likewise.
9631 (SRC): Likewise.
9632 (LEN): Likewise.
9633 (memcpy): Likewise. Do not use BP_SYM.
9634 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9635 libc_hidden_def and weak_alias.
9636 (mempcpy): Do not use BP_SYM in weak_alias.
9637 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9638 "bp-asm.h".
9639 (PARMS): Do not use macros from bp-asm.h.
9640 (DEST): Likewise.
9641 (LEN): Likewise.
9642 [!BZERO_P] (CHR): Likewise.
9643 (memset): Likewise. Do not use BP_SYM.
9644 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9645 "bp-asm.h".
9646 (PARMS): Do not use macros from bp-asm.h.
9647 (S1): Likewise.
9648 (SIZE): Likewise.
9649 (__mpn_mul_1): Do not use BP_SYM.
9650 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9651 "bp-asm.h".
9652 (PARMS): Do not use macros from bp-asm.h.
9653 (S): Likewise.
9654 (SIZE): Likewise.
9655 (__mpn_rshift): Do not use BP_SYM.
9656 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9657 "bp-asm.h".
9658 (PARMS): Do not use macros from bp-asm.h.
9659 (STR): Likewise.
9660 (CHR): Likewise.
9661 (strchr): Likewise. Do not use BP_SYM.
9662 (index): Do not use BP_SYM in weak_alias.
9663 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9664 "bp-asm.h".
9665 (PARMS): Do not use macros from bp-asm.h.
9666 (DEST): Likewise.
9667 (SRC): Likewise.
9668 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9669 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9670 "bp-asm.h".
9671 (PARMS): Do not use macros from bp-asm.h.
9672 (strlen): Do not use BP_SYM.
9673 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9674 "bp-asm.h".
9675 (PARMS): Do not use macros from bp-asm.h.
9676 (S1): Likewise.
9677 (S2): Likewise.
9678 (SIZE): Likewise.
9679 (__mpn_sub_n): Do not use BP_SYM.
9680 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9681 "bp-asm.h".
9682 (PARMS): Do not use macros from bp-asm.h.
9683 (S1): Likewise.
9684 (SIZE): Likewise.
9685 (__mpn_submul_1): Do not use BP_SYM.
9686 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9687 "bp-asm.h".
9688 (PARMS): Do not use macros from bp-asm.h.
9689 (S1): Likewise.
9690 (S2): Likewise.
9691 (SIZE): Likewise.
9692 (__mpn_add_n): Do not use BP_SYM.
9693 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9694 weak_alias.
9695 (bzero): Likewise.
9696 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9697 "bp-asm.h".
9698 (PARMS): Do not use macros from bp-asm.h.
9699 (BLK2): Likewise.
9700 (LEN): Likewise.
9701 (memcmp): Do not use BP_SYM.
9702 (bcmp): Do not use BP_SYM in weak_alias.
9703 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9704 "bp-asm.h".
9705 (PARMS): Do not use macros from bp-asm.h.
9706 (DEST): Likewise.
9707 (SRC): Likewise.
9708 (LEN): Likewise.
9709 (memcpy): Likewise. Do not use BP_SYM.
9710 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9711 "bp-asm.h".
9712 (PARMS): Do not use macros from bp-asm.h.
9713 (DEST): Likewise.
9714 (SRC): Likewise.
9715 (LEN): Likewise.
9716 (memmove): Likewise. Do not use BP_SYM.
9717 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9718 "bp-asm.h".
9719 (PARMS): Do not use macros from bp-asm.h.
9720 (DEST): Likewise.
9721 (SRC): Likewise.
9722 (LEN): Likewise.
9723 (__mempcpy): Likewise. Do not use BP_SYM.
9724 (mempcpy): Do not use BP_SYM in weak_alias.
9725 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9726 "bp-asm.h".
9727 (PARMS): Do not use macros from bp-asm.h.
9728 (DEST): Likewise.
9729 (LEN): Likewise.
9730 [!BZERO_P] (CHR): Likewise.
9731 (memset): Likewise. Do not use BP_SYM.
9732 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9733 "bp-asm.h".
9734 (PARMS): Do not use macros from bp-asm.h.
9735 (STR2): Likewise.
9736 (strcmp): Do not use BP_SYM.
9737 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9738 "bp-asm.h".
9739 (PARMS): Do not use macros from bp-asm.h.
9740 (STR): Likewise.
9741 (DELIM): Likewise.
9742 [USE_AS_STRTOK_R] (SAVE): Likewise.
9743 (FUNCTION): Likewise. Do not use BP_SYM.
9744 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9745 aliases.
9746 (strtok_r): Likewise.
9747 (__GI___strtok_r): Likewise.
9748 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9749 (PARMS): Do not use macros from bp-asm.h.
9750 (S): Likewise.
9751 (SIZE): Likewise.
9752 (__mpn_lshift): Do not use BP_SYM.
9753 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9754 (PARMS): Do not use macros from bp-asm.h.
9755 (STR): Likewise.
9756 (CHR): Likewise.
9757 (__memchr): Do not use BP_SYM.
9758 (memchr): Do not use BP_SYM in weak_alias.
9759 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9760 (PARMS): Do not use macros from bp-asm.h.
9761 (BLK2): Likewise.
9762 (LEN): Likewise.
9763 (memcmp): Do not use BP_SYM.
9764 (bcmp): Do not use BP_SYM in weak_alias.
9765 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9766 (PARMS): Do not use macros from bp-asm.h.
9767 (S1): Likewise.
9768 (SIZE): Likewise.
9769 (__mpn_mul_1): Do not use BP_SYM.
9770 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9771 "bp-asm.h".
9772 (PARMS): Do not use macros from bp-asm.h.
9773 (STR): Likewise.
9774 (CHR): Likewise.
9775 (__rawmemchr): Do not use BP_SYM.
9776 (rawmemchr): Do not use BP_SYM in weak_alias.
9777 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9778 (PARMS): Do not use macros from bp-asm.h.
9779 (S): Likewise.
9780 (SIZE): Likewise.
9781 (__mpn_rshift): Do not use BP_SYM.
9782 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9783 (PARMS): Do not use macros from bp-asm.h.
9784 (SIGMSK): Likewise.
9785 (__sigsetjmp): Likewise. Do not use BP_SYM.
9786 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9787 (_start): Do not use BP_SYM.
9788 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9789 (PARMS): Do not use macros from bp-asm.h.
9790 (DEST): Likewise.
9791 (SRC): Likewise.
9792 (__stpcpy): Likewise. Do not use BP_SYM.
9793 (stpcpy): Do not use BP_SYM in weak_alias.
9794 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9795 "bp-asm.h".
9796 (PARMS): Do not use macros from bp-asm.h.
9797 (DEST): Likewise.
9798 (SRC): Likewise.
9799 (LEN): Likewise.
9800 (__stpncpy): Likewise. Do not use BP_SYM.
9801 (stpncpy): Do not use BP_SYM in weak_alias.
9802 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9803 (PARMS): Do not use macros from bp-asm.h.
9804 (STR): Likewise.
9805 (CHR): Likewise.
9806 (strchr): Likewise. Do not use BP_SYM.
9807 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9808 "bp-asm.h".
9809 (PARMS): Do not use macros from bp-asm.h.
9810 (STR): Likewise.
9811 (CHR): Likewise.
9812 (__strchrnul): Likewise. Do not use BP_SYM.
9813 (strchrnul): Do not use BP_SYM in weak_alias.
9814 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9815 "bp-asm.h".
9816 (PARMS): Do not use macros from bp-asm.h.
9817 (STOP): Likewise.
9818 (strcspn): Do not use BP_SYM.
9819 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9820 "bp-asm.h".
9821 (PARMS): Do not use macros from bp-asm.h.
9822 (STR): Likewise.
9823 (STOP): Likewise.
9824 (strpbrk): Likewise. Do not use BP_SYM.
9825 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9826 "bp-asm.h".
9827 (PARMS): Do not use macros from bp-asm.h.
9828 (STR): Likewise.
9829 (CHR): Likewise.
9830 (strrchr): Likewise. Do not use BP_SYM.
9831 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9832 (PARMS): Do not use macros from bp-asm.h.
9833 (SKIP): Likewise.
9834 (strspn): Do not use BP_SYM.
9835 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9836 (PARMS): Do not use macros from bp-asm.h.
9837 (STR): Likewise.
9838 (DELIM): Likewise.
9839 (SAVE): Likewise.
9840 (FUNCTION): Likewise. Do not use BP_SYM.
9841 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9842 aliases.
9843 (strtok_r): Likewise.
9844 (__GI___strtok_r): Likewise.
9845 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9846 (PARMS): Do not use macros from bp-asm.h.
9847 (S1): Likewise.
9848 (S2): Likewise.
9849 (SIZE): Likewise.
9850 (__mpn_sub_n): Do not use BP_SYM.
9851 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9852 "bp-asm.h".
9853 (PARMS): Do not use macros from bp-asm.h.
9854 (S1): Likewise.
9855 (SIZE): Likewise.
9856 (__mpn_submul_1): Do not use BP_SYM.
9857 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9858 <bp-sym.h>.
9859 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9860 and <bp-asm.h>.
9861 (PARMS): Do not use macros from bp-asm.h.
9862 (FLAGS): Likewise.
9863 (PTID): Likewise.
9864 (TLS): Likewise.
9865 (CTID): Likewise.
9866 (__clone): Do not use BP_SYM.
9867 (clone): Do not use BP_SYM in weak_alias.
9868 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9869 and <bp-asm.h>.
9870 (PARMS): Do not use macros from bp-asm.h.
9871 (LEN): Likewise.
9872 (__mmap64): Do not use BP_SYM.
9873 (mmap64): Do not use BP_SYM in weak_alias.
9874 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9875 <bp-sym.h> and <bp-asm.h>.
9876 (PARMS): Do not use macros from bp-asm.h.
9877 (__posix_fadvise64_l64): Do not use BP_SYM.
9878 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9879 (PARMS): Do not use macros from bp-asm.h.
9880 (NSOPS): Likewise.
9881 (semtimedop): Do not use BP_SYM.
9882 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9883 and <bp-asm.h>.
9884
582a3cff
AM
98852013-02-21 Allan McRae <allan@archlinux.org>
9886
9887 * manual/message.texi (Charset conversion in gettext):
9888 Move @end statement to beginning of line.
9889
bab8a695
SP
98902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9891
80945231
SP
9892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9893 static.
9894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9895 Likewise.
9896
bab8a695
SP
9897 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9898 (denorm): Likewise.
9899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9901
e21d7aa7
AK
99022013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9903
9904 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9905 tail-call to the resolved function if pltexit isn't needed.
9906
4c7a4263
SP
99072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9908
9909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9910 or Y being zero as being unlikely.
9911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9912 Likewise.
9913
41f49342
CD
99142013-02-20 Carlos O'Donell <carlos@redhat.com>
9915
9916 * manual/nss.texi (System Databases and Name Service Switch):
9917 Remove frobnicate @pxref.
9918
50022a93
TS
99192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9920
9921 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9922 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9923
08cbd996
PM
99242013-02-20 Petr Machata <pmachata@redhat.com>
9925
9926 * elf/elf.h (R_ARM_TARGET1): New macro.
9927 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9928 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9929 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9930 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9931 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9932 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9933 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9934 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9935 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9936 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9937 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9938 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9939 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9940 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9941 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9942 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9943 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9944 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9945 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9946 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9947 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9948 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9949 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9950 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9951 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9952 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9953 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9954 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9955 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9956 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9957 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9958 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9959 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9960 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9961 (R_ARM_THM_GOT_BREL12): Likewise.
9962 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9963 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9964 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9965 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9966 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9967 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9968 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9969 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9970 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9971
c7b275d6
TS
99722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9973
9974 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9975 __attribute_used__ to __attribute__ ((unused)).
9976
20cd7fb3
SP
99772013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
9979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9980 powerpc mpa.c.
9981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9982 comment formatting.
9983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9984
92945b52
JM
99852013-02-19 Joseph Myers <joseph@codesourcery.com>
9986
9987 [BZ #13550]
9988 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9989 Remove macro.
9990 (ENTER): Remove both macro definitions.
9991 (LEAVE): Likewise.
9992 (CHECK_BOUNDS_LOW): Likewise.
9993 (CHECK_BOUNDS_HIGH): Likewise.
9994 (CHECK_BOUNDS_BOTH): Likewise.
9995 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9996 (RETURN_BOUNDED_POINTER): Likewise.
9997 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9998 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9999 (POP_ERRNO_LOCATION_RETURN): Likewise.
10000 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10001 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10002 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10003 macros.
10004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10005 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10006 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10007 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10008 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10009 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10010 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10011 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10012 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10013 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10014 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10015 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10016 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10017 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10018 removed macros.
10019 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10020 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10021 macros.
10022 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10023 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10024 * sysdeps/i386/i586/memset.S (memset): Likewise.
10025 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10026 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10027 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10028 macros.
10029 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10030 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10031 Change uses of L(2) to L(out).
10032 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10033 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10034 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10036 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10037 removed macros.
10038 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10039 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10040 macros.
10041 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10042 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10043 (RETURN): Do not use macro LEAVE.
10044 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10045 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10046 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10047 * sysdeps/i386/i686/memset.S (memset): Likewise.
10048 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10049 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10050 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10051 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10052 Likewise.
10053 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10054 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10055 L(1_2) and L(1_3) into L(1).
10056 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10057 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10058 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10059 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10060 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10061 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10062 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10063 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10064 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10065 macros.
10066 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10067 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10068 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10069 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10070 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10071 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10072 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10073 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10074 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10075 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10076 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10077 * sysdeps/i386/strspn.S (strspn): Likewise.
10078 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10079 conditional code.
10080 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10081 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10082 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10083 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10084 L(1_3) into L(1_1).
10085 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10086 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10087 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10088 macros.
10089 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10090
2389741a
JJ
100912013-02-19 Jakub Jelinek <jakub@redhat.com>
10092
10093 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10094 macro.
10095
2016b3cd
SP
100962013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10097
e4f22324
SP
10098 * math/atest-exp.c (exp_mpn): Remove ROUND.
10099 * math/atest-exp2.c (exp_mpn): Likewise.
10100 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10101
2016b3cd
SP
10102 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10103 * stdlib/tst-tls-atexit-lib.c: Likewise.
10104 * stdlib/tst-tls-atexit.c: Likewise.
10105
4be9b544
MF
101062013-02-18 Mike Frysinger <vapier@gentoo.org>
10107
10108 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10109 and __attribute_alloc_size__.
10110
2f62b9ee
MF
101112013-02-18 Mike Frysinger <vapier@gentoo.org>
10112
10113 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10114 __attribute_alloc_size__.
10115 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10116 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10117
6ff444c4
MF
101182013-02-18 Mike Frysinger <vapier@gentoo.org>
10119
10120 * include/programs/xmalloc.h: New file.
10121 * catgets/gencat.c: Include it.
10122 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10123 * elf/pldd.c: Likewise.
10124 * iconv/iconv_charmap.c: Likewise.
10125 * iconv/iconvconfig.c: Likewise.
10126 * iconv/strtab.c: Likewise.
10127 * locale/programs/locale.c: Likewise.
10128 * locale/programs/localedef.h: Likewise.
10129 * locale/programs/simple-hash.c: Likewise.
10130 * nscd/nscd.h: Likewise.
10131 * nss/makedb.c: Likewise.
10132 * sysdeps/generic/ldconfig.h: Likewise.
10133
be179c8a
SP
101342013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10135
ba384f6e
SP
10136 * Versions.def: Add GLIBC_2.18.
10137 * include/link.h (struct link_map): New member l_tls_dtor_count.
10138 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10139 (__call_tls_dtors): Likewise.
10140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10141 __cxa_thread_atexit_impl.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10143 Likewise.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10145 Likewise.
10146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10147 Likewise.
10148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10149 Likewise.
10150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10152 Likewise.
10153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10154 Likewise.
10155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10157 Likewise.
10158 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10159 (tests): Add test case tst-tls-atexit.
10160 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10161 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10162 (GLIBC_PRIVATE): Add __call_tls_dtors.
10163 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10164 for libstdc++.
10165 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10166 * stdlib/tst-tls-atexit.c: New test case.
10167 * stdlib/tst-tls-atexit-lib.c: New test case.
10168
ffaa74cf 10169 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10170
be179c8a
SP
10171 * elf/Versions (ld): Add _dl_find_dso_for_object.
10172 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10173 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10174 (dl_open_worker): Use _dl_find_dso_for_object.
10175 * elf/dl-sym.c (do_sym): Likewise.
10176 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10177
f78b5caa
AK
101782013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10179
10180 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10181 Syntactic changes only.
10182 (_dl_runtime_profile): Do a tail-call to the resolved function.
10183
29691210
JM
101842013-02-17 Joseph Myers <joseph@codesourcery.com>
10185
10186 [BZ #13550]
10187 * sysdeps/x86_64/bp-asm.h: Remove file.
10188 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10189 <bp-sym.h> and <bp-asm.h>.
10190 (__clone): Do not use BP_SYM.
10191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10192 <bp-sym.h> and <bp-asm.h>.
10193 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10194 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10195 "bp-asm.h".
10196 (_setjmp): Do not use BP_SYM.
10197 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10198 "bp-asm.h".
10199 (setjmp): Do not use BP_SYM.
10200 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10201 libc_hidden_def.
10202 (mempcpy): Do not use BP_SYM in weak_alias.
10203 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10204 "bp-asm.h".
10205 (strchr): Do not use BP_SYM.
10206 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10207 "bp-asm.h".
10208 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10209 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10210 (_start): Do not use BP_SYM.
10211 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10212 "bp-asm.h".
10213 (strcat): Do not use BP_SYM.
10214 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10215 "bp-asm.h".
10216 (STRCMP): Do not use BP_SYM.
10217 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10218 "bp-asm.h".
10219 (STRCPY): Do not use BP_SYM.
10220 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10221 "bp-asm.h".
10222 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10223 "bp-asm.h".
10224 (FUNCTION): Do not use BP_SYM.
10225 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10226 weak_alias.
10227 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10228
f238fd19
AJ
102292013-02-17 Andreas Jaeger <aj@suse.de>
10230
10231 * time/Versions: Sort entries.
10232 * string/Versions: Likewise.
10233 * resolv/Versions: Likewise.
10234 * posix/Versions: Likewise.
10235 * iconv/Versions: Likewise.
10236 * elf/Versions: Likewise.
10237 * wcsmbs/Versions: Likewise.
10238
bd07f23c 102392013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10240
22af19f9
SP
10241 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10242 loop termination condition.
10243
4709fe76
SP
10244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10245 variable to calculate EZ.
10246 (__sqr): Likewise.
2d0e0f29
SP
10247
10248 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10249 the lower precision input.
10250
daaa7713
JM
102512013-02-15 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #13550]
10254 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10255 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10256 (run-via-rtld-prefix): Do not handle %-bp tests.
10257 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10258 (all-object-suffixes): Remove .ob.
10259 (bppfx): Remove variable.
10260 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10261 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10262 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10263 [$(build-bounded) = yes] (libtype.ob): Likewise.
10264 * Makerules (elide-routines.ob): Remove variable.
10265 (do-tests-clean): Do not handle *-bp.out.
10266 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10267 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10268 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10269 (tests): Do not include $(tests-bp.out).
10270 (xtests): Do not include $(xtests-bp.out).
10271 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10272 [$(build-bounded) = yes] ($(addprefix
10273 $(objpfx),$(binaries-bounded))): Remove rule.
10274 ($(objpfx)%-bp.out): Remove rule.
10275 * config.make.in (build-bounded): Remove variable.
10276 * crypt/Makefile [$(build-bounded) = yes]
10277 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10278 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10279 append to variable.
10280 [$(build-bounded) = yes] (install-lib): Likewise.
10281 [$(build-bounded) = yes] (generated): Likewise.
10282 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10283 Remove rule.
10284 * intl/Makefile [$(build-bounded) = yes]
10285 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10286 * math/Makefile [$(build-bounded) = yes]
10287 ($(tests:%=$(objpfx)%-bp): Likewise.
10288 * misc/Makefile [$(build-bounded) = yes]
10289 ($(objpfx)tst-tsearch-bp): Likewise.
10290 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10291 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10292 Remove dependency.
10293 * string/Makefile (o-objects.ob): Remove variable.
10294 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10295 (CFLAGS-.ob): Remove variable.
10296 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10298 both definitions of variable.
10299 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10300 (ASFLAGS-.ob): Remove variable.
10301
e97ed6dd
JM
103022013-02-14 Joseph Myers <joseph@codesourcery.com>
10303
2bdd4ca6
JM
10304 [BZ #13550]
10305 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10306 Remove __BOUNDED_POINTERS__ from condition.
10307 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10308 * string/bits/string2.h [!__NO_STRING_INLINES &&
10309 !__BOUNDED_POINTERS__]: Likewise.
10310 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10311 Likewise.
10312 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10313 Remove conditional code.
10314 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10315 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10316 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10317 condition.
10318
e97ed6dd
JM
10319 [BZ #13550]
10320 * csu/libc-start.c: Do not include <bp-sym.h>.
10321 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10322 * elf/dl-open.c: Do not include <bp-sym.h>.
10323 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10324 * math/fegetenv.c: Do not include <bp-sym.h>.
10325 (fegetenv): Do not use BP_SYM in versioned symbols.
10326 * nptl/sysdeps/pthread/bits/libc-lockP.h
10327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10328 <bp-sym.h>.
10329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10330 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10332 (__pthread_mutex_destroy): Likewise.
10333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10334 (__pthread_mutex_lock): Likewise.
10335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10336 (__pthread_mutex_trylock): Likewise.
10337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10338 (__pthread_mutex_unlock): Likewise.
10339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10340 (__pthread_mutexattr_init): Likewise.
10341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10342 (__pthread_mutexattr_destroy): Likewise.
10343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10344 (__pthread_mutexattr_settype): Likewise.
10345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10346 (__pthread_rwlock_init): Likewise.
10347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10348 (__pthread_rwlock_destroy): Likewise.
10349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10350 (__pthread_rwlock_rdlock): Likewise.
10351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10352 (__pthread_rwlock_tryrdlock): Likewise.
10353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10354 (__pthread_rwlock_wrlock): Likewise.
10355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10356 (__pthread_rwlock_trywrlock): Likewise.
10357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10358 (__pthread_rwlock_unlock): Likewise.
10359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10360 (__pthread_key_create): Likewise.
10361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10362 (__pthread_setspecific): Likewise.
10363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10364 (__pthread_getspecific): Likewise.
10365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10366 Likewise.
10367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10368 (_pthread_cleanup_push_defer): Likewise.
10369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10370 (_pthread_cleanup_pop_restore): Likewise.
10371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10372 (pthread_setcancelstate): Likewise.
10373 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10374 <bp-sym.h>.
10375 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10376 (memchr): Do not use BP_SYM in weak_alias.
10377 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10378 (fegetenv): Do not use BP_SYM in versioned symbols.
10379 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10380 (fesetenv): Do not use BP_SYM in versioned symbols.
10381 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10382 (feupdateenv): Do not use BP_SYM in versioned symbols.
10383 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10384 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10385 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10386 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10387 (open64): Do not use BP_SYM in weak_alias.
10388 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10389 (fegetenv): Do not use BP_SYM in versioned symbols.
10390 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10391 (fesetenv): Do not use BP_SYM in versioned symbols.
10392 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10393 (feupdateenv): Do not use BP_SYM in versioned symbols.
10394 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10395 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10396 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10397 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10398 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10399 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10400 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10401 <bp-sym.h>.
10402 (__libc_start_main): Do not use BP_SYM.
10403
d6752ccd
SP
104042013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10405
cb57ce60
SP
10406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10407 redundant return line.
10408 (norm): Likewise.
10409 (denorm): Likewise.
10410 (dbl_mp): Likewise.
10411 (sub_magnitudes): Likewise.
10412 (__add): Likewise.
10413 (__sub): Likewise.
10414 (__mul): Likewise.
10415 (__inv): Likewise.
10416 (__dvd): Likewise.
10417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10418 (norm): Likewise.
10419 (denorm): Likewise.
10420 (dbl_mp): Likewise.
10421 (sub_magnitudes): Likewise.
10422 (__add): Likewise.
10423 (__sub): Likewise.
10424 (__mul): Likewise.
10425 (__inv): Likewise.
10426 (__dvd): Likewise.
10427
f414520d
SP
10428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10429 instead of __mul.
10430 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10431 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10432 (cc32): Likewise.
10433
d6752ccd
SP
10434 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10435 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10437 of __mul for squares.
10438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10439 function
10440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10441 Likewise.
10442 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10444
70d9946a
JM
104452013-02-13 Joseph Myers <joseph@codesourcery.com>
10446
10447 [BZ #13550]
10448 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10449 code.
10450 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10451 prototype or function definition. Rename ubp_* variables and
10452 parameters. Remove argv definitions conditional on
10453 [__BOUNDED_POINTERS__].
10454 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10455 * elf/dl-runtime.c (_dl_fixup): Likewise.
10456 * include/set-hooks.h (RUN_HOOK): Likewise.
10457 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10458 definition.
10459 * string/strcpy.c (strcpy): Do not use __unbounded.
10460 * sysdeps/generic/frame.h (struct layout): Likewise.
10461 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10462 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10463 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10464 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10465 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10466 (__backtrace): Likewise.
10467 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10468 use __ptrvalue.
10469 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10470 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10471 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10472 Likewise.
10473 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10474 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10475 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10476 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10477 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10478 Do not use __unbounded.
10479 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10480 Rename __unboundedrlimits parameter to rlimits in prototype.
10481 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10482 Do not use __unbounded.
10483 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10484 not use __ptrvalue.
10485 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10486 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10487 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10488 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10489 __ptrvalue or __unbounded.
10490 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10491 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10492 use __unbounded.
10493 (__new_msgctl): Do not use __ptrvalue.
10494 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10495 __unbounded.
10496 (__libc_msgrcv): Do not use __ptrvalue.
10497 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10498 startup_info): Do not use __unbounded.
10499 (__libc_start_main): Likewise. Rename ubp_* variables and
10500 parameters. Remove argv definitions conditional on
10501 [__BOUNDED_POINTERS__].
10502 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10503 __ptrvalue.
10504 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10505 use __unbounded.
10506 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10507 or __ptrvalue.
10508 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10509 use __unbounded.
10510 (__new_shmctl): Do not use __ptrvalue.
10511 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10512 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10513 Likewise.
10514 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10516 (__libc_sigaction): Likewise.
10517 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10518 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10519 Likewise.
10520 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10521
cc7834d6
OB
105222013-02-13 Ondřej Bílka <neleai@seznam.cz>
10523
ffb1ec7b 10524 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10525
10526 * string/mempcpy.c: Implement by calling memcpy.
10527
bdf02814
SP
105282013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10529
c2af38aa
SP
10530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10531
4e92d59e
SP
10532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10533 evaluation.
10534
909279a5
SP
10535 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10536 values in the mantissa.
10537
bdf02814
SP
10538 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10539 minimize writes to Z.
10540 (sub_magnitudes): Simplify code a bit.
10541
cd525923
RM
105422013-02-12 Roland McGrath <roland@hack.frob.com>
10543
10544 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10545 from the message. The linker prefixes all warnings with that already.
10546
7e2f0d2d
AS
105472013-02-12 Andreas Schwab <schwab@suse.de>
10548
a445af0b
AS
10549 [BZ #15078]
10550 * posix/regexec.c (extend_buffers): Add parameter min_len.
10551 (check_matching): Pass minimum needed length.
10552 (clean_state_log_if_needed): Likewise.
10553 (get_subexp): Likewise.
10554 * posix/Makefile (tests): Add bug-regex34.
10555 (bug-regex34-ENV): Define.
10556 * posix/bug-regex34.c: New file.
10557
7e2f0d2d
AS
10558 [BZ #11561]
10559 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10560 elements compare against the byte sequence of it, not its name.
10561 * posix/Makefile (tests): Add bug-regex35.
10562 (bug-regex35-ENV): Define.
10563 * posix/bug-regex35.c: New file.
10564
a175b684
TV
105652013-02-11 Tom de Vries <tom@codesourcery.com>
10566
10567 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10568 comment.
10569 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10570 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10571 (CHECK_EOL): Add undef.
10572
310998fe 105732013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10574
10575 * bits/stdlib-bsearch.h: New file.
10576 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10577 * stdlib/stdlib.h: Likewise.
41eda41d 10578
8ded91fb
RM
105792013-02-11 Roland McGrath <roland@hack.frob.com>
10580
10581 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10582 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10583 declaration.
10584 * manual/search.texi (Array Search Function): Add missing const in
10585 lfind prototype.
10586 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10587 declaration to use rlim_t.
10588 (Basic Scheduling Functions): Remove erroneous const from
10589 sched_getparam prototype. Remove erroneous * from
10590 sched_get_priority_max and sched_get_priority_min prototypes.
10591 (Resource Usage): Fix summary @comment on vtimes to refer to
10592 sys/vtimes.h rather than vtimes.h.
10593 Add missing *s in vtimes prototype.
10594 (Limits on Resources): Fix ulimit prototype to return long int.
10595 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10596 prototypes to use long int rather than double.
10597 (BSD Random): Fix initstate and setstate to use char *, not void *.
10598 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10599 prototype to make second argument 'struct aiocb64 *const[]'.
10600 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10601 (Status of AIO Operations): Remove erroneous const in aio_return and
10602 aio_return64 prototypes.
10603 (Synchronizing I/O): Fix sync prototype to return void.
10604 * manual/startup.texi (Suboptions): Remove an erroneous const in
10605 getsubopt prototype.
10606 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10607 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10608 use size_t rather than int.
10609 (Scanning All Users): Likewise for getpwent_r.
10610 (Setting Groups): Add missing const to setgroups prototype.
10611 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10612 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10613 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10614 'const void *' rather than 'const char *'.
10615 (Host Address Functions): Likewise for inet_ntop.
10616 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10617 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10618 ssize_t for return value.
10619 (Sending Data): Likewise for send, sendto, sendmsg.
10620 (Socket Option Functions): Add a missing const in setsockopt prototype.
10621 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10622 use wchar_t for the argument.
10623 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10624 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10625 take no arguments.
10626 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10627 double/float/long double for second argument.
10628 Fix return types of significand, significandf, significandl.
10629 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10630 argument in fchmod prototype.
10631 (File Owner): Use uid_t and gid_t in fchown prototype.
10632 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10633 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10634 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10635 use 'const struct dirent **' as argument types to CMP function pointer
10636 argument.
10637 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10638 (File Times): Fix summary magic @comment for struct utimbuf and utime
10639 to refer to utime.h, not time.h.
10640 * manual/string.texi (Argz Functions): Add missing const in
10641 argz_extract and argz_next prototypes.
10642 (Finding Tokens in a String): Likewise for basename.
10643 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10644 (Copying and Concatenation): Fix typo in wmemmove prototype.
10645 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10646 (Signal Stack): Remove erroneous const in sigstack prototype.
10647 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10648 prototype.
10649 (Simple Calendar Time): Likewise for stime.
10650 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10651 prototype.
10652 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10653 say sys/sysctl.h instead.
10654 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10655 and vsyslog prototypes.
10656
fe77fe6d
TV
106572013-02-11 Tom de Vries <tom@codesourcery.com>
10658
10659 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10660 Remove.
10661
3a09b620
RM
106622013-02-11 Roland McGrath <roland@hack.frob.com>
10663
10664 * misc/sys/mman.h: Fix typo in mremap comment.
10665
550a0b89
RM
106662013-02-08 Roland McGrath <roland@hack.frob.com>
10667
10668 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10669 the '\0' terminator.
10670
a2da1673
JM
106712013-02-08 Joseph Myers <joseph@codesourcery.com>
10672
10673 [BZ #13550]
10674 * debug/segfault.c: Don't include <bp-checks.h>.
10675 * sysdeps/generic/bp-checks.h: Remove file.
10676 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10677 (__GETDENTS): Don't use CHECK_N.
10678 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10679 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10680 (__getgroups): Don't use CHECK_N.
10681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10682 (setgroups): Don't use CHECK_N.
10683 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10684 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10685 (__libc_msgrcv): Don't use CHECK_N.
10686 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10687 (__libc_msgsnd): Don't use CHECK_N.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10689 <bp-checks.h>.
10690 (__libc_pread): Don't use CHECK_N.
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10692 include <bp-checks.h>.
10693 (__libc_pread64): Don't use CHECK_N.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10695 include <bp-checks.h>.
10696 (__libc_pwrite): Don't use CHECK_N.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10698 include <bp-checks.h>.
10699 (__libc_pwrite64): Don't use CHECK_N.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10701 <bp-checks.h>.
10702 (__libc_pread): Don't use CHECK_N.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10704 include <bp-checks.h>.
10705 (__libc_pread64): Don't use CHECK_N.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10707 include <bp-checks.h>.
10708 (__libc_pwrite): Don't use CHECK_N.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10710 include <bp-checks.h>.
10711 (__libc_pwrite64): Don't use CHECK_N.
10712 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10713 (do_pread): Don't use CHECK_N.
10714 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10715 (do_pread64): Don't use CHECK_N.
10716 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10717 (do_pwrite): Don't use CHECK_N.
10718 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10719 (do_pwrite64): Don't use CHECK_N.
10720 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10721 (__libc_readv): Don't use CHECK_N.
10722 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10723 (semop): Don't use CHECK_N.
10724 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10725 <bp-checks.h>.
10726 (semtimedop): Don't use CHECK_N.
10727 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10728 (__libc_pread): Don't use CHECK_N.
10729 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10730 <bp-checks.h>.
10731 (__libc_pread64): Don't use CHECK_N.
10732 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10733 <bp-checks.h>.
10734 (__libc_pwrite): Don't use CHECK_N.
10735 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10736 <bp-checks.h>.
10737 (__libc_pwrite64): Don't use CHECK_N.
10738 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10739 <bp-checks.h>.
10740 (__libc_msgrcv): Don't use CHECK_N.
10741 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10742 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10743 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10744 (__libc_writev): Don't use CHECK_N.
10745
b84660a8
RM
107462013-02-08 Roland McGrath <roland@hack.frob.com>
10747
7f3e75f8
RM
10748 * string/strcpy.c: Removed unused variable.
10749
b84660a8
RM
10750 * Makeconfig (+sysdep-includes): Define with := rather than =.
10751 Use an existing include/ subdir of each sysdeps dir before it.
10752
471514d3
CD
107532013-02-08 Carlos O'Donell <carlos@redhat.com>
10754
10755 * nscd/connection.c (register_traced_file): Comment function.
10756 [HAVE_INOTIFY] (union __inev): Define.
10757 [HAVE_INOTIFY] (inotify_check_files): New function.
10758 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10759 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10760 clear_db_cache.
10761 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10762
b2d3c3be
CD
107632013-02-08 Carlos O'Donell <carlos@redhat.com>
10764
10765 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10766 loaded if not already and that a failure is permanent.
10767
b39949d2
CD
107682013-02-08 Carlos O'Donell <carlos@redhat.com>
10769
ddacd1db 10770 [BZ #15006]
b39949d2
CD
10771 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10772 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10773
b2c9eff4
JM
107742013-02-08 Joseph Myers <joseph@codesourcery.com>
10775
f3aae3f3
JM
10776 [BZ #13550]
10777 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10778 (CHECK_1_NULL_OK): Likewise.
10779 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10780 (__fxstat): Do not use CHECK_1.
10781 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10782 <bp-checks.h>.
10783 (___fxstat64): Do not use CHECK_1.
10784 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10785 <bp-checks.h>.
10786 (__fxstatat): Do not use CHECK_1.
10787 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10788 <bp-checks.h>.
10789 (__fxstatat64): Do not use CHECK_1.
10790 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10791 <bp-checks.h>.
10792 (__fxstat): Do not use CHECK_1.
10793 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10794 <bp-checks.h>.
10795 (__fxstatat): Do not use CHECK_1.
10796 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10797 <bp-checks.h>.
10798 (__getresgid): Do not use CHECK_1.
10799 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10800 <bp-checks.h>.
10801 (__getresuid): Do not use CHECK_1.
10802 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10803 <bp-checks.h>.
10804 (__lxstat): Do not use CHECK_1.
10805 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10806 <bp-checks.h>.
10807 (__old_msgctl): Do not use CHECK_1.
10808 (__new_msgctl): Likewise.
10809 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10810 <bp-checks.h>.
10811 (__new_setrlimit): Do not use CHECK_1.
10812 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10813 <bp-checks.h>.
10814 (__old_shmctl): Do not use CHECK_1.
10815 (__new_shmctl): Likewise.
10816 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10817 <bp-checks.h>.
10818 (__xstat): Do not use CHECK_1.
10819 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10820 (__lxstat): Do not use CHECK_1.
10821 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10822 <bp-checks.h>.
10823 (___lxstat64): Do not use CHECK_1.
10824 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10825 (__old_msgctl): Do not use CHECK_1.
10826 (__new_msgctl): Likewise.
10827 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10828 <bp-checks.h>.
10829 (__gettimeofday): Do not use CHECK_1.
10830 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10831 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10832 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10833 <bp-checks.h>.
10834 (__gettimeofday): Do not use CHECK_1.
10835 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10836 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10837 (__new_shmctl): Do not use CHECK_1.
10838 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10839 <bp-checks.h>.
10840 (do_sigtimedwait): Do not use CHECK_1.
10841 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10842 <bp-checks.h>.
10843 (do_sigwaitinfo): Do not use CHECK_1.
10844 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10845 <bp-checks.h>.
10846 (msgctl): Do not use CHECK_1.
10847 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10848 <bp-checks.h>.
10849 (shmctl): Do not use CHECK_1.
10850 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10851 (ustat): Do not use CHECK_1.
10852 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10853 <bp-checks.h>.
10854 (__fxstat): Do not use CHECK_1.
10855 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10856 <bp-checks.h>.
10857 (__fxstatat): Do not use CHECK_1.
10858 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10859 <bp-checks.h>.
10860 (__lxstat): Do not use CHECK_1.
10861 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10862 <bp-checks.h>.
10863 (__xstat): Do not use CHECK_1.
10864 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10865 (__xstat): Do not use CHECK_1.
10866 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10867 (___xstat64): Do not use CHECK_1.
10868
b2c9eff4
JM
10869 [BZ #13550]
10870 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10871 definitions.
10872 (CHECK_BOUNDS_HIGH): Likewise.
10873 * string/strcpy.c: Do not include <bp-checks.h>.
10874 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10875
f1d70dad
RM
108762013-02-07 Roland McGrath <roland@hack.frob.com>
10877
10878 * nscd/nscd-client.h (__nscd_drop_map_ref):
10879 Add __attribute__ ((unused)).
10880 * nis/nss-nisplus.h (niserr2nss): Likewise.
10881
10882 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10883 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10884
10885 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10886 Remove inline keyword.
10887 * include/rounding-mode.h (round_away): Likewise.
10888 * libio/wfileops.c (adjust_wide_data): Likewise.
10889 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10890 (__m128i_strloadu_tolower): Likewise.
10891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10892 (__m128i_strloadu_tolower): Likewise.
10893 * time/mktime.c (ydhms_diff): Likewise.
10894 * locale/elem-hash.h (elem_hash): Likewise.
10895 * locale/setlocale.c (setdata): Likewise.
10896 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10897 (re_string_wchar_at): Likewise.
10898 (bitset_not, bitset_merge, bitset_mask): Likewise.
10899 [!(__GNUC__ > 3)] (inline): Remove macro.
10900 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10901 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10902 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10903 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10904 * string/memcmp.c (memcmp_bytes): Likewise.
10905 * locale/programs/locarchive.c (compute_hashval): Likewise.
10906 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10907 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10908 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10909 * nss/getent.c (print_rpc, print_protocols): Likewise.
10910 (print_passwd, print_group, print_aliases): Likewise.
10911 * nis/nss-nisplus.h (niserr2nss): Likewise.
10912 * nscd/connections.c (restart_p): Likewise.
10913 Change return type to bool.
10914
eab55bfb
RM
109152013-02-05 Roland McGrath <roland@hack.frob.com>
10916
7bd642f5
RM
10917 * Makeconfig (all-Depend-files): Add existing
10918 $(sorted-subdirs:=/Depend) files.
10919 (all-subdirs): Remove nss.
10920 * sysdeps/unix/inet/Subdirs: Add it here instead.
10921 * hesiod/Depend: New file.
10922
573c29b2
RM
10923 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10924 instead of calling alloca.
10925
b2e25af0
RM
10926 * io/lseek.c (__lseek): Rename to __libc_lseek.
10927 Define __lseek as an alias.
10928
eab55bfb
RM
10929 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10930
9a0d1941
CD
109312013-02-04 Carlos O'Donell <carlos@redhat.com>
10932
10933 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10934 else clause and remove check for non-standard endianness.
10935
b83bbec4
DM
109362013-02-04 David S. Miller <davem@davemloft.net>
10937
10938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10939
6277fdab
JM
109402013-02-04 Joseph Myers <joseph@codesourcery.com>
10941
10942 [BZ #13550]
10943 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10944 (__ubp_memchr): Remove prototype.
10945 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10946 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10947 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10948 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10949 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10950 Remove alias.
10951 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10952 (__ubp_memchr): Likewise.
10953 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10954 (__ubp_memchr): Likewise.
10955 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10956 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10957 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10958 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10959 CHECK_STRING.
10960 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10961 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10962 (__getcwd): Do not use CHECK_STRING.
10963 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10964 <bp-checks.h>.
10965 (__real_chown): Do not use CHECK_STRING.
10966 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10967 <bp-checks.h>.
10968 (fchownat): Do not use CHECK_STRING.
10969 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10970 CHECK_STRING.
10971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10972 <bp-checks.h>.
10973 (__lchown): Do not use CHECK_STRING.
10974 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10975 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10976 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10977 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10979 include <bp-checks.h>.
10980 (truncate64): Do not use CHECK_STRING.
10981 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10982 <bp-checks.h>.
10983 (__real_chown): Do not use CHECK_STRING.
10984 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10985 <bp-checks.h>.
10986 (__lchown): Do not use CHECK_STRING.
10987 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10988 <bp-checks.h>.
10989 (__chown): Do not use CHECK_STRING.
10990 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10991 <bp-checks.h>.
10992 (truncate64): Do not use CHECK_STRING.
10993 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10994 Likewise.
10995 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10996 (__xmknod): Do not use CHECK_STRING.
10997 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10998 <bp-checks.h>.
10999 (__xmknodat): Do not use CHECK_STRING.
11000 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11001 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11002
903ae060
AS
110032013-02-04 Andreas Schwab <schwab@suse.de>
11004
11005 [BZ #14142]
11006 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11007 * include/netdb.h: Likewise for h_errno.
11008 * elf/tst-stackguard1.c: Include <tls.h>.
11009
542f9466
JK
110102013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11011
11012 * elf/link.h (struct link_map): Extend the l_addr comment.
11013 * include/link.h (struct link_map): Likewise.
11014
e782a927
JM
110152013-02-01 Joseph Myers <joseph@codesourcery.com>
11016
11017 [BZ #13550]
11018 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11019 (BOUNDED_1): Remove macro.
11020 * debug/backtrace.c: Don't include <bp-checks.h>.
11021 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11022 (__backtrace): Likewise.
11023 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11024 <bp-checks.h>.
11025 (__backtrace): Don't use BOUNDED_1.
11026 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11027 <bp-checks.h>.
11028 (__backtrace): Don't use BOUNDED_1.
11029 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11030 (__backtrace): Don't use BOUNDED_1.
11031 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11032 (shmat): Don't use BOUNDED_N.
11033
8cf28c5e
JM
110342013-01-31 Joseph Myers <joseph@codesourcery.com>
11035
3a7ac8a0
JM
11036 [BZ #13550]
11037 * sysdeps/generic/bp-start.h: Remove file.
11038 * csu/libc-start.c: Don't include <bp-start.h>.
11039 (LIBC_START_MAIN): Set up __environ directly instead of using
11040 INIT_ARGV_and_ENVIRON.
11041 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11042 <bp-start.h>.
11043
f3499f95
JM
11044 [BZ #13550]
11045 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11046 definitions.
11047 (CHECK_FCNTL): Likewise.
11048 (CHECK_N_PAGES): Likewise.
11049
32a45bea
JM
11050 [BZ #13550]
11051 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11052 definitions.
11053 (CHECK_SIGSET_NULL_OK): Likewise.
11054 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11055 <bp-checks.h>.
11056 (sigpending): Don't use CHECK_SIGSET.
11057 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11058 <bp-checks.h>.
11059 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11060 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11061 <bp-checks.h>.
11062 (do_sigsuspend): Don't use CHECK_SIGSET.
11063 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11064 use CHECK_SIGSET.
11065 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11066 (do_sigwait): Don't use CHECK_SIGSET.
11067 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11068 use CHECK_SIGSET.
11069 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11070 include <bp-checks.h>.
11071 (sigpending): Don't use CHECK_SIGSET.
11072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11073 include <bp-checks.h>.
11074 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11075 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11076 <bp-checks.h>.
11077 (sigpending): Don't use CHECK_SIGSET.
11078 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11079 <bp-checks.h>.
11080 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11081
2e8a5c8c
JM
11082 [BZ #13550]
11083 * sysdeps/generic/bp-semctl.h: Remove file.
11084 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11085 <bp-checks.h> and <bp-semctl.h>.
11086 (__old_semctl): Don't use CHECK_SEMCTL.
11087 (__new_semctl): Likewise.
11088 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11089 and <bp-semctl.h>.
11090 (__old_semctl): Don't use CHECK_SEMCTL.
11091 (__new_semctl): Likewise.
11092 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11093 <bp-checks.h> and <bp-semctl.h>.
11094 (__old_semctl): Don't use CHECK_SEMCTL.
11095 (__new_semctl): Likewise.
11096 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11097 <bp-checks.h> and <bp-semctl.h>.
11098 (semctl): Don't use CHECK_SEMCTL.
11099
c2d54929
JM
11100 [BZ #13550]
11101 * Makerules (elide-bp-thunks): Remove variable.
11102 (elide-routines.oS): Don't use $(elide-bp-thunks).
11103 (elide-routines.os): Likewise.
11104 (elide-routines.o): Likewise.
11105 (elide-routines.op): Likewise.
11106 (elide-routines.og): Likewise.
11107 (objects): Don't use $(bp-thunks).
11108 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11109 include.
11110 (common-generated): Do not add s-proto-bp.d.
11111 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11112 (int): Likewise.
11113 (typ): Likewise.
11114 Do not generate makefile rules for bounded-pointer thunks.
11115 * sysdeps/generic/bp-thunks.h: Remove file.
11116 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11117 * sysdeps/unix/s-proto-bp.S: Likewise.
11118
8cf28c5e
JM
11119 [BZ #15062]
11120 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11121 parts of result separately when argument is not close to line from
11122 -i to i and one part of argument is small.
11123 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11124 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11125 * math/libm-test.inc (cacos_test): Add more tests.
11126 (casin_test): Likewise.
11127 (casinh_test): Likewise.
11128 * sysdeps/i386/fpu/libm-test-ulps: Update.
11129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11130
c4e33b8d
DM
111312013-01-31 David S. Miller <davem@davemloft.net>
11132
11133 * po/de.po: Update from translation team.
11134
3b60b421
MK
111352013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11136
11137 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11138
bb931195
TS
111392013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11140
b5a5da23
TS
11141 * configure.in (_AC_PROG_CC_C89): New definition.
11142 * configure: Regenerate.
11143
bb931195
TS
11144 * configure.in (AC_PROG_CPP): New definition.
11145 * configure: Regenerate.
11146
8c53a12c
JM
111472013-01-23 Joseph Myers <joseph@codesourcery.com>
11148
11149 * debug/tst-backtrace.h: New file.
11150 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11151 (ret): Remove variable.
11152 (x): Likewise.
11153 (FAIL): Remove macro.
11154 (NO_INLINE): Likewise.
11155 (fn1): Use match function instead of strstr.
11156 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11157 (ret): Remove variable.
11158 (x): Likewise.
11159 (FAIL): Remove macro.
11160 (NO_INLINE): Likewise.
11161 (fn): Use match function instead of strstr.
11162 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11163 (ret): Remove variable.
11164 (x): Likewise.
11165 (FAIL): Remove macro.
11166 (NO_INLINE): Likewise.
11167 (handle_signal): Use match function instead of strstr.
11168 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11169 (ret): Remove variable.
11170 (x): Likewise.
11171 (FAIL): Remove macro.
11172 (NO_INLINE): Likewise.
11173 (handle_signal): Use match function instead of strstr.
11174
4858fa2a
RM
111752013-01-23 Roland McGrath <roland@hack.frob.com>
11176
11177 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11178
bae8e7f5
DM
111792013-01-23 David S. Miller <davem@davemloft.net>
11180
11181 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11182 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11183 argument of CAS if possible.
11184 * sysdeps/sparc/sparc64/bits/atomic.h
11185 (__arch_compare_and_exchange_val_32_acq): Likewise.
11186 (__arch_compare_and_exchange_val_64_acq): Likewise.
11187
9cbbc4ae
PT
111882013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11189
11190 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11191 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11192 Include <limits.h>.
67b3f58c 11193 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11194
5655a0b5
AC
111952013-01-23 Adam Conrad <adconrad@0c3.net>
11196
11197 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11198 (LDFLAGS-tst-array5): Likewise.
11199
052aff95
JM
112002013-01-23 Joseph Myers <joseph@codesourcery.com>
11201
11202 [BZ #15036]
11203 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11204 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11205 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11206 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11207
7c1e01aa
DM
112082013-01-21 David S. Miller <davem@davemloft.net>
11209
11210 * sysdeps/sparc/backtrace.c: New file.
11211 * sysdeps/sparc/sparc32/backtrace.h: New file.
11212 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11213 * sysdeps/sparc/sparc64/backtrace.h: New file.
11214 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11215 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11216 -funwind-tables.
11217
ab087e0a
AS
112182013-01-21 Andreas Schwab <schwab@suse.de>
11219
11220 [BZ #15020]
11221 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11222 closed its stdout.
11223
ed689c2f
AS
112242013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11225
11226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11227 "mpa2.h".
11228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11229
31d470ac
JM
112302013-01-18 Joseph Myers <joseph@codesourcery.com>
11231 Mark Mitchell <mark@codesourcery.com>
11232 Tom de Vries <tom@codesourcery.com>
11233 Paul Pluzhnikov <ppluzhnikov@google.com>
11234
11235 * debug/tst-backtrace2.c: New file.
11236 * debug/tst-backtrace3.c: Likewise.
11237 * debug/tst-backtrace4.c: Likewise.
11238 * debug/tst-backtrace5.c: Likewise.
11239 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11240 (CFLAGS-tst-backtrace3.c): Likewise.
11241 (CFLAGS-tst-backtrace4.c): Likewise.
11242 (CFLAGS-tst-backtrace5.c): Likewise.
11243 (LDFLAGS-tst-backtrace2): Likewise.
11244 (LDFLAGS-tst-backtrace3): Likewise.
11245 (LDFLAGS-tst-backtrace4): Likewise.
11246 (LDFLAGS-tst-backtrace5): Likewise.
11247 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11248 tst-backtrace4 and tst-backtrace5.
11249
90567f30 112502013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11251 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11252
11253 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11254 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11255 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11256 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11258 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11259 "+r" and remove output regs list as redundant. Add explicit inline
11260 asm to specify register of return val to work around compiler codegen
11261 bug. Remove (int) cast on return value. Add return type parameter to
11262 use in macro so that this macro does not truncate return value for
11263 64-bit values.
11264 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11265 pass to INTERNAL_VSYSCALL_NCS.
11266 (INLINE_VSYSCALL): Add 'long int' as return type to
11267 INTERNAL_VSYSCALL_NCS macro invocation.
11268 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11269 INTERNAL_VSYSCALL_NCS macro invocation.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11271
d3b9ea61
SP
112722013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11273
0b57daeb
SP
11274 [BZ #14496]
11275 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11276 Fix application of SIMD FP exception mask.
11277
caa99d06
SP
11278 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11279 mp_no from a power of two.
11280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11281 __mpexp_twomm1. Use __pow_mp.
11282
d3b9ea61
SP
11283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11284 multiplication.
11285
1dbaee3c
DM
112862013-01-17 David S. Miller <davem@davemloft.net>
11287
11288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11289
728d7b43
JM
112902013-01-17 Joseph Myers <joseph@codesourcery.com>
11291
11292 [BZ #15023]
11293 * include/complex.h: Condition contents on [!_COMPLEX_H].
11294 (__kernel_casinhf): New prototype.
11295 (__kernel_casinh): Likewise.
11296 (__kernel_casinhl): Likewise.
11297 * math/Makefile (libm_calls): Add k_casinh.
11298 * math/k_casinh.c: New file.
11299 * math/k_casinhf.c: Likewise.
11300 * math/k_casinhl.c: Likewise.
11301 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11302 finite nonzero arguments.
11303 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11304 finite nonzero arguments.
11305 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11306 finite nonzero arguments.
11307 * math/s_casinh.c: Do not include <float.h>.
11308 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11309 * math/s_casinhf.c: Do not include <float.h>.
11310 (__casinhf): Move code for finite nonzero arguments to
11311 k_casinhf.c.
11312 * math/s_casinhl.c: Do not include <float.h>.
11313 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11314 redefine.
11315 (__casinhl): Move code for finite nonzero arguments to
11316 k_casinhl.c.
11317 * math/libm-test.inc (cacos_test): Add more tests.
11318 * sysdeps/i386/fpu/libm-test-ulps: Update.
11319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11320
2a26ef3a
PT
113212013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11322
11323 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11324 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11325 [!HAVE_MREMAP]: Remove [defined linux] case.
11326 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11327
a897655d
SP
113282013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11329
11330 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11331
881ebe89 113322013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11333
11334 * elf/elf.h (R_386_SIZE32): New relocation.
11335 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11336 R_386_SIZE32.
11337 (elf_machine_rela): Likewise.
11338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11339 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11340
59981e9b
JM
113412013-01-17 Joseph Myers <joseph@codesourcery.com>
11342
11343 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11344 (FP_FAST_FMA): Do not define.
11345 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11346 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11347 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11348 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11349 !_SOFT_FLOAT]: Likewise.
11350 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11351 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11352 value.
11353 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11354 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11355 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11356 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11357 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11358 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11359 file.
11360
cfa8054f
AS
113612013-01-16 Andreas Schwab <schwab@suse.de>
11362
11363 [BZ #14327]
11364 * include/stdlib.h (__mktemp): Add declaration.
11365 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11366 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11367
dd930cc5
SP
113682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11369
881ebe89
SP
11370 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11371 definitions.
11372 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11373 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11374 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11375 definitions here.
11376 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11377 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11378 definitions.
11379 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11380 and ONE.
11381 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11382 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11383 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11384 definitions.
11385 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11386 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11387 definitions.
11388 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11389
dd930cc5
SP
11390 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11391
c19a9f89
DM
113922013-01-15 David S. Miller <davem@davemloft.net>
11393
1aa61767
DM
11394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11395 trunc{,f} to libm-sysdep_routes.
11396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11398 file.
11399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11401 file.
11402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11403 file.
11404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11406 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11407 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11408 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11409 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11410 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11411 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11412
c42d5e98
DM
11413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11414 nearbyint{,f} to libm-sysdep_routes.
11415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11417 New file.
11418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11419 file.
11420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11421 New file.
11422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11423 file.
11424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11426 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11427 file.
11428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11429 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11430 file.
11431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11432 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11433 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11434
c19a9f89
DM
11435 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11436 libc_feholdexcept and libc_fesetenv.
11437
357679d2
MF
114382013-01-15 Mike Frysinger <vapier@gentoo.org>
11439
11440 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11441
65a82e3d
DM
114422013-01-14 David S. Miller <davem@davemloft.net>
11443
8b954ab9
DM
11444 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11445 (SPARC_ASM_VIS2_IFUNC): Likewise.
11446 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11448 use of 'siam' instruction.
11449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11450 Likewise.
11451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11452 Likewise.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11454 Likewise.
11455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11460 file.
11461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11462 file.
11463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11464 file.
11465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11466 file.
11467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11472 new VIS2 routines.
11473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11476 Likewise.
11477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11482 routines to libm-sysdep_routines.
11483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11484
65a82e3d
DM
11485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11486 fdim/fdimf to libm-sysdep_routines.
11487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11488 file.
11489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11491 file.
11492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11495 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11496 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11497 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11498 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11499
e34ab705
SP
115002013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11501
2a91b573
SP
11502 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11503 to optimize copies.
11504
1066a534
SP
11505 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11508
e34ab705
SP
11509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11510 local variable MPTWO.
11511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11512 Likewise.
11513
aba5e596
MF
115142013-01-13 Mike Frysinger <vapier@gentoo.org>
11515
11516 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11517 GLOB_NOESCAPE.
11518
e557e9e5
MF
115192013-01-13 Mike Frysinger <vapier@gentoo.org>
11520
11521 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11522
0428cec9
MF
115232013-01-13 Mike Frysinger <vapier@gentoo.org>
11524
11525 * manual/pattern.texi (glob_t): Document gl_flags.
11526 (glob64_t): Likewise.
11527
8794a964
DM
115282013-01-11 David S. Miller <davem@davemloft.net>
11529
66438c3f
RM
11530 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11531 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11532 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11533 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11534 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11535 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11536 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11537 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11538 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11539 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11540 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11541 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11542 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11543
4ae4244d
DM
11544 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11545 sparc V9 rather than using V8 code.
11546 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11547 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11548
8794a964
DM
11549 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11550 Move to...
11551 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11552 Here.
11553
6270516e
RM
115542013-01-11 Roland McGrath <roland@hack.frob.com>
11555
11556 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11557 not in the main loop.
11558 * configure: Regenerated.
11559
6a57d931
JM
115602013-01-11 Joseph Myers <joseph@codesourcery.com>
11561
11562 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11563 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11564 to just #else.
11565 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11566 [!__GLIBC_HAVE_LONG_LONG] case.
11567 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11568 condition to just #else.
11569 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11570 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11571 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11572 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11573 unconditional.
11574 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11575 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11576 #elif condition to just #else.
11577 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11578 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11579 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11580 #elif condition to just #else.
11581
0e8529e9
SE
115822013-01-11 Steve Ellcey <sellcey@mips.com>
11583
11584 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11585 (EF_MIPS_ARCH_64): Fix value.
11586 (EF_MIPS_ARCH_32R2): New.
11587 (EF_MIPS_ARCH_64R2): New.
11588
740b3dbe
L
115892013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11590
11591 * Makeconfig (+link-pie-before-libc): New.
11592 (+link-pie-after-libc): Likewise.
11593 (+link-pie-tests): Likewise.
11594 (+link-pie): Rewritten.
11595 (link-before-libc): Remove $(config-LDFLAGS).
11596 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11597 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11598 (config-LDFLAGS): Renamed to ...
11599 (rtld-LDFLAGS): This.
11600 (rtld-tests-LDFLAGS): New macro.
11601 (link-libc-rpath-link): Likewise.
11602 (link-libc-tests-rpath-link): Likewise.
11603 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11604 (link-libc): Prepand $(link-libc-rpath-link).
11605 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11606 (test-program-prefix): New macro.
11607 (test-via-rtld-prefix): Likewise.
11608 (test-program-cmd): Likewise.
11609 (host-test-program-cmd): Likewise.
11610 * Makefile ($(common-objpfx)testrun.sh): Replace
11611 $(run-program-prefix) with $(test-program-prefix).
11612 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11613 $(rtld-LDFLAGS).
11614 ($(common-objpfx)shlib.lds): Likewise.
11615 (build-module-helper): Likewise.
11616 ($(common-objpfx)format.lds): Likewise.
11617 * Rules (binaries-pie-tests): New.
11618 (binaries-pie-notests): Likewise.
11619 (binaries-pie): Rewritten.
11620 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11621 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11622 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11623 (make-test-out): Replace $(host-built-program-cmd) with
11624 $(host-test-program-cmd).
11625 * config.make.in (build-hardcoded-path-in-tests): New variable.
11626 * configure.in (--enable-hardcoded-path-in-tests): New configure
11627 option.
11628 (hardcoded_path_in_tests): New AC_SUBST.
11629 * configure: Regenerated.
11630 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11631 $(built-program-cmd) with $(test-program-cmd).
11632 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11633 (test_program_cmd): This.
11634 * elf/Makefile ($(objpfx)order.out): Run test with
11635 $(test-program-prefix).
11636 ($(objpfx)order2.out): Likewise.
11637 ($(objpfx)tst-initorder.out): Likewise.
11638 ($(objpfx)tst-initorder2.out): Likewise.
11639 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11640 $(test-program-cmd).
11641 ($(objpfx)tst-array1-static.out): Likewise.
11642 ($(objpfx)tst-array2.out): Likewise.
11643 ($(objpfx)tst-array3.out): Likewise.
11644 ($(objpfx)tst-array4.out): Likewise.
11645 ($(objpfx)tst-array5.out): Likewise.
11646 ($(objpfx)tst-array5-static.out): Likewise.
11647 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11648 $(test-program-cmd).
11649 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11650 $(run-program-prefix) with $(test-program-prefix).
11651 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11652 (test_program_prefix): This.
11653 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11654 $(run-program-prefix) with $(test-program-prefix).
11655 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11656 (test_program_prefix): This.
11657 * iconvdata/tst-tables.sh: Likewise.
11658 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11659 $(run-program-prefix) with $(test-program-prefix).
11660 ($(objpfx)tst-translit.out): Likewise.
11661 ($(objpfx)tst-gettext2.out): Likewise.
11662 ($(objpfx)tst-gettext4.out): Likewise.
11663 ($(objpfx)tst-gettext6.out): Likewise.
11664 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11665 (test_program_prefix): This.
11666 * intl/tst-gettext2.sh: Likewise.
11667 * intl/tst-gettext4.sh Likewise.
11668 * intl/tst-gettext6.sh: Likewise.
11669 * intl/tst-translit.sh: Likewise.
11670 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11671 with $(test-program-cmd).
11672 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11673 $(run-program-prefix) with $(test-program-prefix).
11674 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11675 (test_program_prefix): This.
11676 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11677 $(run-program-prefix) with $(test-program-prefix).
11678 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11679 (test_program_prefix): This.
11680 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11681 * posix/Makefile ($(objpfx)globtest.out): Replace
11682 $(run-via-rtld-prefix) and $(test-wrapper) with
11683 $(test-program-prefix) and $(test-via-rtld-prefix).
11684 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11685 $(test-program-prefix).
11686 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11687 $(host-test-program-cmd).
11688 (tst-spawn-ARGS): Likewise.
11689 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11690 $(test-program-prefix).
11691 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11692 (test_via_rtld_prefix): This.
11693 (test_wrapper): Renamed to ...
11694 (test_program_prefix): This.
11695 (run_program_prefix): Replaced by test_program_prefix.
11696 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11697 (test_program_prefix): This.
11698 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11699 with $(host-test-program-cmd).
11700 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11701 $(run-program-prefix) with $(test-program-prefix).
11702 ($(objpfx)tst-printf.out): Likewise.
11703 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11704 $(test-program-cmd).
11705 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11706 (test_program_prefix): This.
11707 * stdio-common/tst-unbputc.sh: Likewise.
11708 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11709 $(run-program-prefix) with $(test-program-prefix).
11710 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11711 (test_program_prefix): This.
11712 * string/Makefile ($(objpfx)tst-svc.out): Replace
11713 $(built-program-cmd) with $(test-program-cmd).
11714
c6fe55cf
AJ
117152013-01-11 Andreas Jaeger <aj@suse.de>
11716
11717 [BZ #15003]
11718 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11719 value. Sync with Linux 3.7.
11720
9e6919c8
DM
117212013-01-10 David S. Miller <davem@davemloft.net>
11722
11723 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11724 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11725 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11726
1c9f1a02
RM
117272013-01-10 Roland McGrath <roland@hack.frob.com>
11728
11729 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11730 never set.
11731 * configure: Regenerated.
11732
b9de2dde
DM
117332013-01-10 David S. Miller <davem@davemloft.net>
11734
11735 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11736 sparc V9 rather than using V8 code.
11737 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11738 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11739
e7f68ef4
RM
117402013-01-10 Roland McGrath <roland@hack.frob.com>
11741
11742 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11743 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11744 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11745 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11746 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11747 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11748 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11749 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11750 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11751 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11752 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11753 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11754 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11755 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11756 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11757 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11758 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11759 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11760 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11761 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11762 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11763 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11764 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11765 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11766 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11767 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11768 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11769
5a47cc9c
DM
117702013-01-10 David S. Miller <davem@davemloft.net>
11771
11772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11773
4cf8f209
L
117742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 * posix/Makefile (tests-static): New variable.
11777 (tests): Add $(tests-static).
11778 (tst-exec-static-ARGS): New variable.
11779 (tst-spawn-static-ARGS): Likewise.
11780 * posix/tst-exec-static.c: New file.
11781 * posix/tst-spawn-static.c: Likewise.
11782 * posix/tst-exec.c: Support run directly.
11783 * posix/tst-spawn.c: Likewise.
11784
fed0faa1
JM
117852013-01-10 Joseph Myers <joseph@codesourcery.com>
11786
828beb13
JM
11787 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11788 long.
11789 * math/bits/mathcalls.h (llrint): Likewise.
11790 (llround): Likewise.
11791 * stdlib/stdlib.h (struct drand48_data): Likewise.
11792 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11793 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11795 Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11797 Likewise.
11798 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11799 (elf_greg_t): Likewise.
11800 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11801 (__jmp_buf): Likewise.
11802 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11803 definitions.
11804 (llrint): Likewise, for all definitions.
11805 (llrintl): Likewise.
11806
fed0faa1
JM
11807 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11808 Remove [__GNUC__] condition.
11809 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11810 condition to just [__USE_ISOC99].
11811 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11812
1a20cb20
L
118132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11814
11815 [BZ #14200]
11816 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11817 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11818 defined.
11819 (_POSIX_V6_ILP32_OFF32): Likewise.
11820 (_XBS5_ILP32_OFF32): Likewise.
11821 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11822 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11823
751b85f7
SP
118242013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11825
7490eb81
SP
11826 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11827
751b85f7
SP
11828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11829 doubles __mpexp_twomm1. Adjust usage.
11830 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11831 Remove.
11832
988197f0
AS
118332013-01-10 Andreas Schwab <schwab@suse.de>
11834
11835 [BZ #14964]
11836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11837 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11838
e83d7298
DM
118392013-01-09 David S. Miller <davem@davemloft.net>
11840
034ed64b 11841 [BZ #15003]
e83d7298
DM
11842 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11843 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11844 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11845 TCP_FASTOPEN): Define.
11846 (tcp_repair_opt): New structure.
11847 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11848 enum values.
11849 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11850 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11851 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11852 (tcp_cookie_transactions): New structure.
11853
d5e0b9bd
AB
118542013-01-09 Anton Blanchard <anton@samba.org>
11855
11856 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11857 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11858 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11859 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11860
0c07e3ea
JM
118612013-01-09 Joseph Myers <joseph@codesourcery.com>
11862
11863 * include/features.h (__USE_ANSI): Remove.
11864
232f7002
RM
118652013-01-09 Roland McGrath <roland@hack.frob.com>
11866
ad98e30c
RM
11867 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11868
232f7002
RM
11869 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11870
950c99ca
SP
118712013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11872
b5792741
SP
11873 * sysdeps/s390/fpu/libm-test-ulps: Update.
11874
47cf2278
SP
11875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11876
950c99ca
SP
11877 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11878 (__acr): Likewise.
11879 (__cpy): Likewise.
11880 (norm): Likewise.
11881 (denorm): Likewise.
11882 (__mp_dbl): Likewise.
11883 (__dbl_mp): Likewise.
11884 (add_magnitudes): Likewise.
11885 (sub_magnitudes): Likewise.
11886 (__add): Likewise.
11887 (__sub): Likewise.
11888 (__mul): Likewise.
11889 (__inv): Likewise.
11890 (__dvd): Likewise.
11891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11892 (__acr): Likewise.
11893 (__cpy): Likewise.
11894 (norm): Likewise.
11895 (denorm): Likewise.
11896 (__mp_dbl): Likewise.
11897 (__dbl_mp): Likewise.
11898 (add_magnitudes): Likewise.
11899 (sub_magnitudes): Likewise.
11900 (__add): Likewise.
11901 (__sub): Likewise.
11902 (__mul): Likewise.
11903 (__inv): Likewise.
11904 (__dvd): Likewise.
11905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11906 (__acr): Likewise.
11907 (__cpy): Likewise.
11908 (norm): Likewise.
11909 (denorm): Likewise.
11910 (__mp_dbl): Likewise.
11911 (__dbl_mp): Likewise.
11912 (add_magnitudes): Likewise.
11913 (sub_magnitudes): Likewise.
11914 (__add): Likewise.
11915 (__sub): Likewise.
11916 (__mul): Likewise.
11917 (__inv): Likewise.
11918 (__dvd): Likewise.
11919
eede9df9
JM
119202013-01-08 Joseph Myers <joseph@codesourcery.com>
11921
11922 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11923 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11924 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11925 2 && __USE_EXTERN_INLINES]: Likewise.
11926
c40ea3d9
AJ
119272013-01-08 Andreas Jaeger <aj@suse.de>
11928
11929 [BZ# 14985]
11930 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11931 Remove.
11932 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11933 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11934
2ccdea26
AB
119352013-01-07 Anton Blanchard <anton@samba.org>
11936
11937 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11938 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11939 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11940 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11941 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11942 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11943 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11944 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11948 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11949 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11951 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11952 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11953 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11955 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11956 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11957 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11959 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11960 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11961 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11963 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11964 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11965 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11966 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11967 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11969 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11970 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11971 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11972 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11973 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11976 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11977 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11979 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11980
a9708fed
JM
119812013-01-07 Joseph Myers <joseph@codesourcery.com>
11982
375607b9
JM
11983 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11984 (__MALLOC_PMT): Likewise.
11985 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11986 [__GNUC__], only on [_LIBC].
11987 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11988 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11989 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11990 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11991 forward declaration.
11992 (realloc_hook_ini): Likewise.
11993 (memalign_hook_ini): Likewise.
11994 (__libc_memalign): Do not use __MALLOC_PMT in variable
11995 declaration.
11996 (__libc_valloc): Likewise.
11997 (__libc_pvalloc): Likewise.
11998 (__libc_calloc): Likewise.
11999 (__posix_memalign): Likewise.
12000
a9708fed
JM
12001 [BZ #14996]
12002 * math/s_casinh.c: Include <float.h>.
12003 (__casinh): Do not do computation with squaring and square root
12004 for large arguments.
12005 * math/s_casinhf.c: Include <float.h>.
12006 (__casinhf): Do not do computation with squaring and square root
12007 for large arguments.
12008 * math/s_casinhl.c: Include <float.h>.
12009 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12010 (__casinhl): Do not do computation with squaring and square root
12011 for large arguments.
12012 * math/libm-test.inc (casin_test): Add more tests.
12013 (casinh_test): Likewise.
12014 * sysdeps/i386/fpu/libm-test-ulps: Update.
12015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12016
afec409a
L
120172013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12020 (__x86_64_raw_data_cache_size): Likewise.
12021 (__x86_64_data_cache_size_half): Likewise.
12022 (__x86_64_raw_data_cache_size_half): Likewise.
12023 (__x86_64_shared_cache_size): Likewise.
12024 (__x86_64_raw_shared_cache_size): Likewise.
12025 (__x86_64_shared_cache_size_half): Likewise.
12026 (__x86_64_raw_shared_cache_size_half): Likewise.
12027 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12028 to ...
12029 (__x86_data_cache_size): This.
12030 (__x86_64_raw_data_cache_size): Renamed to ...
12031 (__x86_raw_data_cache_size): This.
12032 (__x86_64_data_cache_size_half): Renamed to ...
12033 (__x86_data_cache_size_half): This.
12034 (__x86_64_raw_data_cache_size_half): Renamed to ...
12035 (__x86_raw_data_cache_size_half): This.
12036 (__x86_64_shared_cache_size): Renamed to ...
12037 (__x86_shared_cache_size): This.
12038 (__x86_64_raw_shared_cache_size): Renamed to ...
12039 (__x86_raw_shared_cache_size): This.
12040 (__x86_64_shared_cache_size_half): Renamed to ...
12041 (__x86_shared_cache_size_half): This.
12042 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12043 (__x86_raw_shared_cache_size_half): This.
12044 * sysdeps/x86_64/memcpy.S: Updated.
12045 * sysdeps/x86_64/memset.S: Likewise.
12046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12049
0b3986d0
DM
120502013-01-04 David S. Miller <davem@davemloft.net>
12051
12052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12053
e47686e9
AS
120542013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12055
d643bac1
AS
12056 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12057 1 to avoid redefinition warning.
12058 (__USE_GNU): Don't define.
12059 (init_signaling_nan): Protoize.
12060
e47686e9
AS
12061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12062
b18decba
SP
120632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12064
fffb407f
SP
12065 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12067 (__cpymn): Likewise.
12068 (norm): Remove commented code.
12069 (denorm): Likewise.
12070 (__mp_dbl): Likewise.
12071 (__inv): Likewise.
12072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12073 (__cpymn): Likewise.
12074 (norm): Remove commented code.
12075 (denorm): Likewise.
12076 (__mp_dbl): Likewise.
12077 (__inv): Likewise.
12078
b18decba
SP
12079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12080 mp_no value for 1.0 and 2.0.
12081 (norm): Use RADIXI instead of radixi.d.
12082 (denorm): Likewise.
12083 (__mul): Use 0.0 instead of zero.d.
12084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12085 mp_no value for 1.0 and 2.0.
12086 (norm): Use RADIXI instead of radixi.d.
12087 (denorm): Likewise.
12088 (__mul): Use 0.0 instead of zero.d.
12089
cdc1c96f
JM
120902013-01-04 Joseph Myers <joseph@codesourcery.com>
12091
12092 [BZ #14994]
12093 * math/s_casinh.c (__casinh): Reduce finite argument to first
12094 quadrant then set signs of results at the end.
12095 * math/s_casinhf.c (__casinhf): Likewise.
12096 * math/s_casinhl.c (__casinhl): Likewise.
12097 * math/libm-test.inc (casin_test): Add more tests.
12098 (casinh_test): Likewise.
12099 * sysdeps/i386/fpu/libm-test-ulps: Update.
12100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12101
302913e1
SP
121022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12103
6420d207
SP
12104 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12105
a9e48ab4
SP
12106 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12107
b7837264
SP
12108 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12109 declarations.
12110 (denorm): Likewise.
12111 (__mp_dbl): Likewise.
12112 (__inv): Likewise.
12113
f8af25d2
SP
12114 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12115 and adjust the header comment.
12116
302913e1
SP
12117 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12118 variable name from declaration.
12119
5d7dd1ca
L
121202013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12121
12122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12123 Initialize COMMON_CPUID_INDEX_7 element.
12124 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12125 (CPUID_RTM): Likewise.
12126 (HAS_RTM): Likewise.
12127 (COMMON_CPUID_INDEX_7): New enum.
12128
2f5f40f4
AS
121292013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12130
12131 [BZ #14981]
12132 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12133 size is zero, record memory as freed.
12134
4056f4a0
AJ
121352013-01-03 Andreas Jaeger <aj@suse.de>
12136
12137 * po/ia.po: Add new Interlingua translation.
12138
ab15736f 121392012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12140
12141 * locale/programs/localedef.c: Fix description of '--posix' flag.
12142
568035b7
JM
121432013-01-02 Joseph Myers <joseph@codesourcery.com>
12144
e6898b8d
JM
12145 * NEWS: Update dates in second copyright notice.
12146 * README: Update copyright dates in example.
12147 * manual/libc.texinfo: Update copyright dates.
12148 * scripts/test-installation.pl: Update copyright date in --version
12149 output.
12150
0e2f9562
JM
12151 * hurd/ctty-input.c: Fix copyright notice formatting.
12152 * hurd/ctty-output.c: Likewise.
12153 * hurd/dtable.c: Likewise.
12154 * hurd/hurd-raise.c: Likewise.
12155 * hurd/hurdprio.c: Likewise.
12156 * hurd/msgportdemux.c: Likewise.
12157 * misc/sys/file.h: Likewise.
12158 * misc/sys/ioctl.h: Likewise.
12159 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12160 * sysdeps/mach/hurd/chdir.c: Likewise.
12161 * sysdeps/mach/hurd/fchdir.c: Likewise.
12162 * sysdeps/mach/hurd/rename.c: Likewise.
12163 * sysdeps/mach/hurd/rmdir.c: Likewise.
12164 * sysdeps/mach/hurd/seekdir.c: Likewise.
12165 * sysdeps/mach/hurd/setsid.c: Likewise.
12166 * sysdeps/posix/wait3.c: Likewise.
12167
568035b7
JM
12168 * All files with FSF copyright notices: Update copyright dates
12169 using scripts/update-copyrights.
12170 * intl/plural.c: Regenerated.
12171 * locale/programs/charmap-kw.h: Likewise.
12172 * locale/programs/locfile-kw.h: Likewise.
12173
da08f647
SP
121742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12175
0f5477af
SP
12176 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12177 four values.
12178
44e0d4c2
SP
12179 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12180 calculation loop and add branch prediction.
12181
4d55b4e5
SP
12182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12183 check access beyond bounds of m1np.
12184
da08f647
SP
12185 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12186 MPTWO.
12187 (__inv): Remove local variable MPTWO to use the global
12188 constant.
12189 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12191 variable MPTWO.
12192 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12193 MP3HALFS static const.
12194
8e051029
DM
121952013-01-01 David S. Miller <davem@davemloft.net>
12196
12197 * po/ca.po: Update from translation team.
12198
f4cf5f2d
JM
121992013-01-01 Joseph Myers <joseph@codesourcery.com>
12200
12201 * scripts/update-copyrights: New file.
12202 * Makeconfig: Reformat copyright notice.
12203 * ctype/ctype.h: Likewise.
12204 * debug/swprintf_chk.c: Likewise.
12205 * elf/dl-cache.c: Likewise.
12206 * elf/dl-debug.c: Likewise.
12207 * elf/dl-object.c: Likewise.
12208 * grp/initgroups.c: Likewise.
12209 * hurd/Makefile: Likewise.
12210 * hurd/hurd/signal.h: Likewise.
12211 * hurd/hurdfault.c: Likewise.
12212 * hurd/hurdioctl.c: Likewise.
12213 * hurd/hurdlookup.c: Likewise.
12214 * hurd/intr-msg.c: Likewise.
12215 * iconv/gconv_open.c: Likewise.
12216 * libio/swprintf.c: Likewise.
12217 * locale/lc-ctype.c: Likewise.
12218 * locale/nl_langinfo.c: Likewise.
12219 * mach/Machrules: Likewise.
12220 * mach/Makefile: Likewise.
12221 * malloc/obstack.h: Likewise.
12222 * manual/Makefile: Likewise.
12223 * manual/tsort.awk: Likewise.
12224 * misc/bits/stab.def: Likewise.
12225 * nis/nis_print_group_entry.c: Likewise.
12226 * nis/nis_table.c: Likewise.
12227 * nis/nss_compat/compat-pwd.c: Likewise.
12228 * nis/nss_compat/compat-spwd.c: Likewise.
12229 * po/Makefile: Likewise.
12230 * posix/fnmatch.c: Likewise.
12231 * posix/regex.h: Likewise.
12232 * resolv/Makefile: Likewise.
12233 * resolv/nss_dns/dns-network.c: Likewise.
12234 * resolv/res_hconf.c: Likewise.
12235 * scripts/gen-sorted.awk: Likewise.
12236 * soft-fp/soft-fp.h: Likewise.
12237 * stdio-common/printf.h: Likewise.
12238 * stdlib/monetary.h: Likewise.
12239 * stdlib/random.c: Likewise.
12240 * stdlib/random_r.c: Likewise.
12241 * sysdeps/generic/Makefile: Likewise.
12242 * sysdeps/gnu/Makefile: Likewise.
12243 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12271 * sysdeps/mach/hurd/errnos.awk: Likewise.
12272 * sysdeps/mach/hurd/fork.c: Likewise.
12273 * sysdeps/mach/hurd/getcwd.c: Likewise.
12274 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12275 * sysdeps/mach/hurd/mmap.c: Likewise.
12276 * sysdeps/mach/hurd/utimes.c: Likewise.
12277 * sysdeps/mach/hurd/xmknod.c: Likewise.
12278 * sysdeps/posix/profil.c: Likewise.
12279 * sysdeps/posix/readdir_r.c: Likewise.
12280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12281 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12282 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12283 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12285 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12289 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12290 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12291 * sysdeps/pthread/lio_listio.c: Likewise.
12292 * sysdeps/sparc/dl-procinfo.h: Likewise.
12293 * sysdeps/unix/i386/sysdep.S: Likewise.
12294 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12295 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12296 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12297 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12299 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12300 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12301 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12302 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12303 * sysdeps/wordsize-32/divdi3.c: Likewise.
12304 * time/sys/time.h: Likewise.
12305 * wcsmbs/Makefile: Likewise.
12306
0549fbba
DM
123072013-01-01 David S. Miller <davem@davemloft.net>
12308
a141f1a7
DM
12309 * po/fr.po: Update from translation team.
12310
0549fbba
DM
12311 * catgets/gencat.c: Update copyright year.
12312 * csu/version.c: Likewise.
12313 * debug/catchsegv.sh: Likewise.
12314 * debug/pcprofiledump.c: Likewise.
12315 * debug/xtrace.sh: Likewise.
12316 * elf/ldconfig.c: Likewise.
12317 * elf/ldd.bash.in: Likewise.
12318 * elf/pldd.c: Likewise.
12319 * elf/sotruss.ksh: Likewise.
12320 * elf/sprof.c: Likewise.
12321 * iconv/iconv_prog.c: Likewise.
12322 * iconv/iconvconfig.c: Likewise.
12323 * locale/programs/locale.c: Likewise.
12324 * locale/programs/localedef.c: Likewise.
12325 * login/programs/pt_chown.c: Likewise.
12326 * malloc/memusage.sh: Likewise.
12327 * malloc/memusagestat.c: Likewise.
12328 * malloc/mtrace.pl: Likewise.
12329 * nscd/nscd.c: Likewise.
12330 * nss/getent.c: Likewise.
12331 * nss/makedb.c: Likewise.
12332 * posix/getconf.c: Likewise.
12333
18ea052c
SP
123342012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12335
12336 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12337 numbers.
12338
9c89fca6
MF
123392012-12-30 Mike Frysinger <vapier@gentoo.org>
12340
12341 * math/bits/mathcalls.h (modf): Use __nonnull.
12342
085ec079
SP
123432012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12344
12345 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12346 (split): Use macro CN instead of the bare value.
12347 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12348 could be used.
12349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12350 instead of the bare value.
12351 (power1): Likewise.
12352
6d9f97e1
SP
123532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12354
d63f73be
SP
12355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12356 __ATAN_TWOM.
12357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12358
6d9f97e1
SP
12359 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12360 their values.
12361 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12362 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12363 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12364 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12365
4c4febf5
AJ
123662012-12-28 Andreas Jaeger <aj@suse.de>
12367
af5843ef
AJ
12368 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12369 values are from Linux 3.7.
12370
4c4febf5
AJ
12371 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12372 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12373
99136f82
SP
123742012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12375
2f216c3c 12376 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12377 TRUE case.
12378
99136f82
SP
12379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12380 (norm): Likewise.
12381 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12382 variables with preprocessor constants.
12383 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12384 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12385 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12386
7fffbdff
BH
123872012-12-27 Bruno Haible <bruno@clisp.org>
12388
12389 [BZ #14317]
12390 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12391 only if needed.
12392
b76eb5f0
SP
123932012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12394
31a7fe5c
SP
12395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12396 and use variable directly.
12397 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12398
b76eb5f0
SP
12399 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12400 MPONE.
12401 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12402 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12403 variable MPONE.
12404 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12406 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12407 include directive. Remove local variable MPONE.
12408 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12409 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12411
2c8bfe7d
DM
124122012-12-25 David S. Miller <davem@davemloft.net>
12413
12414 * version.h (RELEASE): Set to "development".
12415 (VERSION): Set to "2.17.90".
12416 * NEWS: Add 2.18 section.
12417
147d03b0
DM
124182012-12-21 David S. Miller <davem@davemloft.net>
12419
12420 * po/hr.po: Update from translation team.
12421
a8ebb2b9
AK
124222012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12423
12424 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12425
95b4f1b6
SE
124262012-12-19 Steve Ellcey <sellcey@mips.com>
12427
b2d94007 12428 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12429
cedb2a90
MS
124302012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12431
12432 * manual/contrib.texi (Contributors): Spelling correction.
12433
bbf527d6
DM
124342012-12-15 David S. Miller <davem@davemloft.net>
12435
12436 * po/ru.po: Update from translation team.
12437
bc38c906
DM
124382012-12-13 David S. Miller <davem@davemloft.net>
12439
85429b1a
DM
12440 * NEWS: Mention IFUNC testsuite enhancements.
12441
d283e353
DM
12442 * po/pl.po: Update from translation team.
12443 * po/bg.po: Likewise.
12444
bc38c906
DM
12445 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12446 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12447
a181b0d7
DM
124482012-12-11 David S. Miller <davem@davemloft.net>
12449
4641d57e
DM
12450 * po/sv.po: Update from translation team.
12451
f7bc6495
DM
12452 * po/vi.po: Update from translation team.
12453
6fc9048f
DM
12454 * po/cs.po: Update from translation team.
12455
a181b0d7
DM
12456 * po/de.po: Update from translation team.
12457 * po/eo.po: Likewise.
12458 * po/nl.po: Likewise.
12459
f70bfe80
SP
124602012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12461
3c8b4190
SP
12462 [BZ #14246]
12463 * manual/argp.texi (Argp Helper Functions): Move node to follow
12464 Argp Parsing State.
12465
f70bfe80
SP
12466 [BZ #14872]
12467 * manual/conf.texi (Limits on File System Capacity): Mention if
12468 terminating null is included in the max size.
12469
188f0adf
AJ
124702012-12-10 Andreas Jaeger <aj@suse.de>
12471
12472 * po/cs.po: Update from translation team.
12473
56e7d3ad
SP
124742012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12475
12476 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12477 void pointer and cast to uintptr_t.
12478 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12479 path.
12480 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12481 * sysdeps/s390/s390-64/memset.S: Likewise.
12482
76f2d2ea 124832012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12484
12485 [BZ #14833]
12486 * menual/message.texi (Message Translation): Fix typos.
12487 (Helper programs for gettext): Likewise.
12488
67cbf9a2
AS
124892012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12490
12491 [BZ #14898]
12492 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12493 Change to -1.
12494
682d0e9a
DM
124952012-12-07 David S. Miller <davem@davemloft.net>
12496
12497 * po/libc.pot: Update.
12498
573cd484
RH
124992012-12-07 Richard Henderson <rth@redhat.com>
12500
7e9da188 12501 [BZ #10114]
573cd484
RH
12502 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12503 normal/normal case to before the switch.
12504 (_FP_DIV): Likewise.
12505
e933a943
MF
125062012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12507 Mike Frysinger <vapier@gentoo.org>
12508
12509 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12510 check for __NR_fadvise64_64.
12511
82123268
CM
125122012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12513
12514 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12515 0, not just to plain "0" as a statement.
12516 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12517 with cw.
12518
d9814526
JM
125192012-12-06 Joseph Myers <joseph@codesourcery.com>
12520
12521 * NEWS: Use sourceware.org in Bugzilla URL.
12522
7728c574
SP
125232012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
f16946dd
SP
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12526 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12527
5704bbcb
SP
12528 * stdio-common/tst-put-error.c (do_test): Add newline to the
12529 padded test to ensure flush.
12530
17aa0516
JL
125312012-12-05 Jeff Law <law@redhat.com>
12532
12533 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12534
363313b5
JM
125352012-12-05 Joseph Myers <joseph@codesourcery.com>
12536
effbd42a
JM
12537 * README: Don't refer to ports add-on as distributed separately.
12538 Mention AArch64 in list of systems supported in the ports add-on.
12539
87600365
JM
12540 * LICENSES: Add more non-FSF copyright and license notices.
12541
a0d7066a
JM
12542 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12543 ((unused)).
12544
66ca5a5b
JM
12545 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12546
363313b5
JM
12547 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12548 10000 as width of padded output.
12549
b37984ad
JM
125502012-12-04 Joseph Myers <joseph@codesourcery.com>
12551
9003570a
JM
12552 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12553
b37984ad
JM
12554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12555 variable LX with __attribute__ ((unused)).
12556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12557 Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12561 with __attribute__ ((unused)).
12562
c8df52ec
DM
125632012-12-04 David S. Miller <davem@abraco.davemloft.net>
12564
12565 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12566
b3b099af
JM
125672012-12-04 Joseph Myers <joseph@codesourcery.com>
12568
c33aa6e3
JM
12569 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12570 (CFLAGS-nldbl-acos.c): New variable.
12571 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12572 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12573 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12574 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12575 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12576 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12577 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12578 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12579 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12580 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12581 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12582 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12583 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12584 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12585 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12586 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12587 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12588 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12589 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12590 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12591 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12592 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12593 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12594 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12595 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12596 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12597 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12598 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12599 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12600 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12601 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12602 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12603 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12604 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12605 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12606 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12607 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12608 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12609 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12610 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12611 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12612 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12613 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12614 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12615 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12616 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12617 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12618 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12619 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12620 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12621 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12622 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12623 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12624 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12625 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12626 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12627 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12628 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12629 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12630 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12631 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12632 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12633 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12634 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12635 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12636 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12637 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12638 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12639 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12640 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12641 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12642 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12643 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12644 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12645 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12646 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12647 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12648 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12653 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12654 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12655 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12656 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12657 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12668
20f0018d
JM
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12670 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12671
b3b099af
JM
12672 [BZ #14914]
12673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12674 whole low double instead of just low 47 bits when splitting values
12675 into two parts.
12676
029264d1
AM
126772012-12-03 Allan McRae <allan@archlinux.org>
12678
12679 * manual/stdio.texi (Predefined Printf Handlers): Remove
12680 @hsep and @vsep usage.
12681
c9d6789e
MF
126822012-12-03 Mike Frysinger <vapier@gentoo.org>
12683
12684 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12685 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12686
4b7634a5
JL
126872012-12-03 Jeff Law <law@redhat.com>
12688
12689 * time/sys/time.h (settimeofday): Do not mark TV argument
12690 as __nonnull.
12691
eb6cbd24
MF
126922012-12-01 Mike Frysinger <vapier@gentoo.org>
12693
12694 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12695 when currently writing and seek to current position when not.
12696 * libio/Makefile (tests): Remove bug-fclose1.
12697 * libio/bug-fclose1.c: Delete.
12698
f638872a
JM
126992012-12-01 Joseph Myers <joseph@codesourcery.com>
12700
12701 * manual/arith.texi (feenableexcept): Fix typo.
12702 (fedisableexcept): Likewise.
12703
48085d14
RM
127042012-11-30 Roland McGrath <roland@hack.frob.com>
12705
12706 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12707 second, differently-typed declaration, rather than a cast.
12708
1a538b9f
SP
127092012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
12711 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12712 * include/rpc/svc.h: ... here.
12713
d07f2ff1 127142012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12715
12716 [BZ #13013]
12717 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12718 depending n and resplen2 to catch cases where answer
12719 equals answerp2.
12720
c93ec1f0
CD
127212012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12722
12723 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12724 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12725
37db69de
MF
127262012-11-29 Mike Frysinger <vapier@gentoo.org>
12727
12728 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12729
e10c4e4f
RM
127302012-11-29 Roland McGrath <roland@hack.frob.com>
12731
12732 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12733
2af1b328
JL
127342012-11-28 Jeff Law <law@redhat.com>
12735
12736 [BZ #13761]
12737 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12738 dataset_temporary. Track alloca usage into alloca_used.
12739 If dataset is large allocate and release it via malloc/free.
12740
111db5b1
FW
127412012-06-04 Florian Weimer <fweimer@redhat.com>
12742
f06cc227 12743 [BZ #14197]
111db5b1
FW
12744 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12745
dd694abd
DM
127462012-11-28 David S. Miller <davem@davemloft.net>
12747
12748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12749
9984dd01
JM
127502012-11-28 Joseph Myers <joseph@codesourcery.com>
12751
12752 [BZ #14803]
12753 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12754 of pi/2 rounded to nearest to 64 bits.
12755 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12756 nearest to 64 bits.
12757 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12758 bits.
12759
14bc93a9
JL
127602012-11-28 Jeff Law <law@redhat.com>
12761 Martin Osvald <mosvald@redhat.com>
12762
12763 [BZ #14889]
12764 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12765 * sunrpc/svc.c: Include time.h.
12766 (__svc_accept_failed): New function.
12767 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12768 any reason other than EINTR, call __svc_accept_failed.
12769 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12770 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12771
e3c6aa3a
AS
127722012-11-28 Andreas Schwab <schwab@suse.de>
12773
12774 * scripts/abilist.awk: Also handle indirect functions in .opd
12775 section.
12776
1bead169
JM
127772012-11-28 Joseph Myers <joseph@codesourcery.com>
12778
12779 [BZ #13881]
12780 * sysdeps/x86/fpu/powl_helper.c: New file.
12781 * sysdeps/x86/fpu/Makefile: Likewise.
12782 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12783 (p3): New object.
12784 (__ieee754_powl): Use __powl_helper for finite arguments except
12785 integer exponents below 8.
12786 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12787 (p3): New object.
12788 (__ieee754_powl): Use __powl_helper for finite arguments except
12789 integer exponents below 8.
12790 * math/libm-test.inc (pow_test): Add more tests and enable some
12791 previously disabled tests.
12792 * sysdeps/i386/fpu/libm-test-ulps: Update.
12793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12794
0817d63d
SP
127952012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12796 Carlos O'Donell <carlos_odonell@mentor.com>
12797
12798 * nss/makedb.c (is_prime): Assert that input is odd and greater
12799 than 4. Note that fact in a comment too.
12800 (next_prime): Add 4 to input.
12801
de2fd463
SP
128022012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12803
12804 [BZ #11741]
12805 * libio/Makefile (tests): Add test case tst-fwrite-error.
12806 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12807 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12808 * libio/tst-fwrite-error.c: New test case.
12809
c515fb51
L
128102012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12811
12812 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12813 before casting to void *.
12814 * include/libc-internal.h (__pointer_type): New macro.
12815 (__integer_if_pointer_type_sub): Likewise.
12816 (__integer_if_pointer_type): Likewise.
12817 (cast_to_integer): Likewise.
12818 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12819 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12820 before casting to atomic64_t.
12821 (atomic_exchange_acq): Likewise.
12822 (__arch_exchange_and_add_body): Likewise.
12823 (__arch_add_body): Likewise.
12824 (atomic_add_negative): Likewise.
12825 (atomic_add_zero): Likewise.
12826
4cf77aa9
JM
128272012-11-26 Joseph Myers <joseph@codesourcery.com>
12828
12829 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12830 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12831 (add_fdes): Likewise.
12832 (linear_search_fdes): Likewise.
12833 (binary_search_unencoded_fdes): Likewise.
12834
d260b3b4
AS
128352012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12836
12837 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12838
67060746
AC
128392012-11-24 Adam Conrad <adconrad@0c3.net>
12840
12841 * configure.in: Autodetect C++ header directories.
12842 * configure: Regenerated.
12843
800938a1
MF
128442012-11-23 Mike Frysinger <vapier@gentoo.org>
12845
12846 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12847
4e6e34e6
AS
128482012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12849
12850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12851
7c7feb47
JM
128522012-11-22 Joseph Myers <joseph@codesourcery.com>
12853
7184dcdf
JM
12854 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12855 LDBL_MANT_DIG == 106]: Disable some tests.
12856 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12857 Likewise.
12858 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12859 Likewise.
12860
0a42601f
JM
12861 [BZ #14871]
12862 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12863 input for small inputs. Return +/- pi/2 for large inputs.
12864 * math/libm-test.inc (atan_test): Add more tests.
12865
79c9b9fe
JM
12866 * sysdeps/generic/unwind-dw2-fde-glibc.c
12867 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12868 __attribute__ ((unused)).
12869
c60d3bf2
JM
12870 [BZ #14645]
12871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12872 x * y if x and y are nonzero and z is zero.
12873
ef1e0867
JM
12874 [BZ #14811]
12875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12876 nonzero exponents with absolute value below 0x1p-117 to +/-
12877 0x1p-117.
12878
1468ded3
JM
12879 [BZ #14869]
12880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12881 up arguments below 2**-450, not just those below 2**-500.
12882 * math/libm-test.inc (hypot_test): Add another test.
12883
8e27e3cc
JM
12884 [BZ #14868]
12885 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12886 Return a+b for ratio over 2**120, not 2**60.
12887 * math/libm-test.inc (hypot_test): Add another test.
12888
c9c0279b
JM
12889 * math/libm-test.inc (clog_test): Use
12890 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12891 (clog10_test): Likewise.
12892
7c7feb47
JM
12893 [BZ #6778]
12894 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12895
fff1530e
AS
128962012-11-22 Andreas Schwab <schwab@suse.de>
12897
12898 * sysdeps/i386/fpu/libm-test-ulps: Update.
12899
94558d30
PT
129002012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12901
12902 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12903 printf output with newline.
12904
7e1be741
L
129052012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12906
6bfea974
L
12907 [BZ #14865]
12908 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12909 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12910 -z nodlopen, -z initfirst and -z execstack support.
12911 * configure: Regenerated.
12912
7e1be741
L
12913 * elf/elf.h (DF_1_NODIRECT): New macro.
12914 (DF_1_IGNMULDEF): Likewise.
12915 (DF_1_NOKSYMS): Likewise.
12916 (DF_1_NOHDR): Likewise.
12917 (DF_1_EDITED): Likewise.
12918 (DF_1_NORELOC): Likewise.
12919 (DF_1_SYMINTPOSE): Likewise.
12920 (DF_1_GLOBAUDIT): Likewise.
12921 (DF_1_SINGLETON): Likewise.
12922 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12923 DT_1_SUPPORTED_MASK bits.
12924 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12925
105ce2ce
CD
129262012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12927
12928 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12929
123be9de
TS
129302012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12931
d072f3f7
TS
12932 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12933 macro.
12934
123be9de
TS
12935 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12936 (sendmmsg): Move declarations...
12937 * socket/sys/socket.h: ... here.
12938 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12939 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12940 include it from...
12941 * socket/recvmmsg.c: ... this new file.
12942 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12943 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12944 definition of __sendmmsg hidden.
12945 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12946 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12947 Move ENOSYS stub into and include it from...
12948 * socket/sendmmsg.c: ... this new file.
12949 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12950 (sysdep_routines): Move recvmmsg and sendmmsg...
12951 * socket/Makefile (routines): ... here.
12952 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12953 (GLIBC_PRIVATE): Add __sendmmsg.
12954 * include/sys/socket.h (__sendmmsg): Add declarations.
12955 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12956 sendmmsg.
12957
cf9a5d18
JM
129582012-11-20 Joseph Myers <joseph@codesourcery.com>
12959
12960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12961 variable I1 with __attribute__ ((unused)).
12962 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12963
ecd4caf9
JM
129642012-11-19 Joseph Myers <joseph@codesourcery.com>
12965
be14d48f
JM
12966 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12967 DUMMY variables with __attribute__ ((unused)).
12968
ecd4caf9
JM
12969 * bits/byteswap.h: Include <bits/types.h>.
12970 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12971
986cab95
PT
129722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12973
12974 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12975 string_t. Do not manually set errno.
12976 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12977 length with __strnlen. Make sure to both set errno and return it on
12978 failure.
12979
6d33cc9d
DM
129802012-11-19 David S. Miller <davem@davemloft.net>
12981
12982 With help from Joseph Myers.
12983 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12984 very large arguments properly.
12985 * math/libm-test.inc (atan_test): New tests.
12986 (atan2_test): New tests.
12987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12989
ee663277
JM
129902012-11-19 Joseph Myers <joseph@codesourcery.com>
12991
877f2d8e
JM
12992 [BZ #14856]
12993 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12994 Define to 3.
12995
116fc08a
JM
12996 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12997 [POSIX] (EADDRNOTAVAIL): Likewise.
12998 [POSIX] (EAFNOSUPPORT): Likewise.
12999 [POSIX] (EALREADY): Likewise.
13000 [POSIX] (ECONNABORTED): Likewise.
13001 [POSIX] (ECONNREFUSED): Likewise.
13002 [POSIX] (ECONNRESET): Likewise.
13003 [POSIX] (EDESTADDRREQ): Likewise.
13004 [POSIX] (EDQUOT): Likewise.
13005 [POSIX] (EHOSTUNREACH): Likewise.
13006 [POSIX] (EIDRM): Likewise.
13007 [POSIX] (EISCONN): Likewise.
13008 [POSIX] (ELOOP): Likewise.
13009 [POSIX] (EMULTIHOP): Likewise.
13010 [POSIX] (ENETDOWN): Likewise.
13011 [POSIX] (ENETUNREACH): Likewise.
13012 [POSIX] (ENOBUFS): Likewise.
13013 [POSIX] (ENODATA): Likewise.
13014 [POSIX] (ENOLINK): Likewise.
13015 [POSIX] (ENOMSG): Likewise.
13016 [POSIX] (ENOPROTOOPT): Likewise.
13017 [POSIX] (ENOSR): Likewise.
13018 [POSIX] (ENOSTR): Likewise.
13019 [POSIX] (ENOTCONN): Likewise.
13020 [POSIX] (ENOTSOCK): Likewise.
13021 [POSIX] (EOPNOTSUPP): Likewise.
13022 [POSIX] (EOVERFLOW): Likewise.
13023 [POSIX] (EPROTO): Likewise.
13024 [POSIX] (EPROTONOSUPPORT): Likewise.
13025 [POSIX] (EPROTOTYPE): Likewise.
13026 [POSIX] (ESTALE): Likewise.
13027 [POSIX] (ETIME): Likewise.
13028 [POSIX] (ETXTBSY): Likewise.
13029 [POSIX] (EWOULDBLOCK): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13031 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13032 [POSIX] (SEEK_CUR): Likewise.
13033 [POSIX] (SEEK_END): Likewise.
13034 [POSIX || UNIX98] (mode_t): Do not require.
13035 [POSIX] (off_t): Likewise.
13036 [POSIX] (pid_t): Likewise.
13037 [POSIX] (sys/stat.h): Do not allow header.
13038 [POSIX] (unistd.h): Likewise.
13039 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13040 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13041 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13042 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13043 require.
13044 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13045 sigevent): Specify elements.
13046 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13047 entry.
13048 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13049 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13050
a483863f
JM
13051 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13052 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13053 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13054 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13055 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13056 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13057 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13058 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13059 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13060 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13061 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13062 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13063 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13065 Likewise.
13066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13067 Likewise.
13068 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13069 Likewise.
13070 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13071 Likewise.
13072 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13073 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13074 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13075 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13076 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13077 Specify lower bound on value.
13078 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13079 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13080 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13081 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13082 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13083 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13084 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13085 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13086 value.
13087 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13088 as optional.
13089 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13090 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13091 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13092 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13093 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13094 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13095 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13096 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13097 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13098 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13099 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13100 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13101 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13102 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13103 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13104 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13105 entry.
13106 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13107 optional.
13108 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13109 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13110 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13111 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13112 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13113 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13114 Likewise.
13115 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13116 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13117 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13118 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13119 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13120 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13122 as optional.
13123 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13124 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13125 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13126 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13127 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13128 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13129 specify as optional.
13130 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13131 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13132 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13133 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13134 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13135 [XPG3] (NL_LANGMAX): Likewise.
13136 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13137 [POSIX || XPG3] (NL_NMAX): Likewise.
13138 [POSIX || XPG3] (NL_SETMAX): Likewise.
13139 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13140 [XPG3] (NZERO): Likewise.
13141 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13142 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13143 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13144 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13145 (REG_ERANGE): Expect.
13146 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13147 optional-constant.
13148 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13149 Use (void) in prototype.
13150 [POSIX] (*_t): Allow.
13151 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13152 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13153 (WRDE_BADVAL): Expect.
13154
5ba924e3
JM
13155 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13156 expect.
13157 [XPG3 || XPG4] (O_RSYNC): Likewise.
13158 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13159 Likewise.
13160 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13161 [XPG3 || XPG4] (sigqueue): Likewise.
13162 [XPG3 || XPG4] (sigtimedwait): Likewise.
13163 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13164 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13165 [XPG3 || XPG4] (vsnprintf): Likewise.
13166 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13167 Likewise.
13168 [XPG3 || XPG4] (blksize_t): Likewise.
13169 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13170 Likewise.
13171 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13172 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13173 [XPG3 || XPG4] (struct itimerspec): Likewise.
13174 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13175 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13176 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13177 [XPG3 || XPG4] (clockid_t): Likewise.
13178 [XPG3 || XPG4] (timer_t): Likewise.
13179 [XPG3 || XPG4] (clock_getres): Likewise.
13180 [XPG3 || XPG4] (clock_gettime): Likewise.
13181 [XPG3 || XPG4] (clock_settime): Likewise.
13182 [XPG3 || XPG4] (nanosleep): Likewise.
13183 [XPG3 || XPG4] (timer_create): Likewise.
13184 [XPG3 || XPG4] (timer_delete): Likewise.
13185 [XPG3 || XPG4] (timer_gettime): Likewise.
13186 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13187 [XPG3 || XPG4] (timer_settime): Likewise.
13188 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13189 [XPG3 || XPG4] (getlogin_r): Likewise.
13190 [XPG3 || XPG4] (pread): Likewise.
13191 [XPG3 || XPG4] (pthread_atfork): Likewise.
13192 [XPG3 || XPG4] (pwrite): Likewise.
13193
ee663277
JM
13194 [BZ #14835]
13195 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13196 <bits/siginfo.h>.
13197
942caa16
PT
131982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13199
e19af380
PT
13200 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13201 finalizing MALLSTREAM.
13202
942caa16
PT
13203 * sysdeps/mach/hurd/syncfs.c: New file.
13204
cfde9b46
SP
132052012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13206
13207 [BZ #14719]
13208 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13209 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13210 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13211 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13212 (_nss_dns_gethostbyname4_r): Likewise.
13213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13214 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13215
f6da27e5
PH
132162012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13217
13218 [BZ #13763]
13219 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13220
6665d4a2
SM
132212012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13222
1f51ee92
SM
13223 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13224 * elf/cache.c (print_entry): Print ",AArch64" for
13225 FLAG_AARCH64_LIB64
13226
6665d4a2
SM
13227 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13228 * elf/cache.c (print_entry): Print ",hard-float" for
13229 FLAG_ARM_LIBHF.
13230
05b227bd
DM
132312012-11-18 David S. Miller <davem@davemloft.net>
13232
13233 With help from Joseph Myers.
13234 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13235 cutoff to 2**-13.
13236 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13237 cutoff to 2**-25.
13238 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13239 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13240 small.
13241 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13242 * math/libm-test.inc (y0_test): New tests.
13243 (y1_test): New tests.
13244 * sysdeps/i386/fpu/libm-test-ulps: Update.
13245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13247
786b0b67
AS
132482012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13249
13250 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13251 64-bit targets.
13252 * configure: Regenerated.
13253
8e18b86d
DM
132542012-11-17 David S. Miller <davem@davemloft.net>
13255
13256 [BZ #14811]
13257 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13258 nonzero exponents with absolute value below 0x1p-128 to +/-
13259 0x1p-128.
13260
531f1ae0
JM
132612012-11-17 Joseph Myers <joseph@codesourcery.com>
13262
12df29e2
JM
13263 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13264
150dc1a0
JM
13265 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13266
531f1ae0
JM
13267 * posix/getconf-speclist.c: New file.
13268 * posix/posix-envs.def: Likewise.
13269 * posix/confstr.c (START_ENV_GROUP): New macro.
13270 (END_ENV_GROUP): Likewise.
13271 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13272 (KNOWN_PRESENT_ENV_STRING): Likewise.
13273 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13274 (UNKNOWN_ENVIRONMENT): Likewise.
13275 (confstr): Include posix-envs.def instead of handling
13276 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13277 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13278 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13279 (END_ENV_GROUP): Likewise.
13280 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13281 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13282 (UNKNOWN_ENVIRONMENT): Likewise.
13283 (__sysconf): Include posix-envs.def instead of handling associated
13284 cases directly here.
13285 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13286 preprocessing getconf-speclist.c rather than running getconf or
13287 generating empty file.
13288
a93f9cbc
PT
132892012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13290
13291 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13292
d64d9f87
AL
132932012-11-16 Andrej Lajovic <natrij@gmail.com>
13294
13295 [BZ #14672]
13296 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13297
447885eb
DM
132982012-11-16 David S. Miller <davem@davemloft.net>
13299
13300 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13301 smaller than LDBL_EPSILON/2.0L, just return xm1.
13302
bcbf9830
L
133032012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 * elf/tst-array1.c (init): Set constructor priority to 1000.
13306 (fini): Set destructor priority to 1000.
13307 * elf/tst-array2dep.c: Likewise.
13308
2b766585
SP
133092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13310
13311 [BZ #11741]
13312 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13313 (_IO_new_file_xsputn): Also return EOF if none of the input
13314 data was written when overflow failed.
13315 * libio/iopadn.c (_IO_padn): Likewise.
13316 * libio/iowpadn.c (_IO_wpadn): Likewise.
13317 * stdio-common/tst-put-error.c: Add copyright notice.
13318 (do_test): Add case for printing padded string.
13319 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13320 _IO_padn returned error.
13321 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13322 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13323 return EOF.
13324
b1848fde
SP
133252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13326
13327 * libio/libioP.h: Add comment note that the references to C++
13328 bits are now obsolete.
13329
2fd89785
MS
133302012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13331
13332 * math/libm-test.inc (check_complex): Use asprintf.
13333
e3ea5409
JM
133342012-11-14 Joseph Myers <joseph@codesourcery.com>
13335
13336 * debug/pcprofiledump.c (print_version): Update copyright year.
13337 * malloc/memusagestat.c (print_version): Likewise.
13338
2e64d265
L
133392012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13340
13341 [BZ #14831]
13342 * elf/Makefile (tests): Add tst-audit8.
13343 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13344 ($(objpfx)tst-audit8.out): New target.
13345 (tst-audit8-ENV): New variable.
13346 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13347 audit if l_reloc_result is NULL.
13348 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13349 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13350 * elf/tst-audit8.c: New file.
13351
c485e4d2
MS
133522012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13353
13354 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13355 * misc/Makefile (CFLAGS-select.c): Define.
13356 * posix/Makefile (CFLAGS-pause.c): Define.
13357
3a0d900a
DM
133582012-11-13 David S. Miller <davem@davemloft.net>
13359
13360 * crypt/Makefile: Move test targets after toplevel Rules
13361 inclusion. Grab any necessary sysdep routines when linking.
13362 * crypt/md5.c (md5_process_block): Remove define, we will always
13363 name it __md5_process_block.
13364 (md5_finish_ctx): Update md5_process_block call.
13365 (md5_stream): Likewise.
13366 (md5_process_bytes): Likewise.
13367 (md5_process_block): Rename to __md5_process_block and move to ...
13368 * crypt/md5-block.c: ... here.
13369 * crypt/sha256.c (sha256_process_block): Move to ...
13370 * crypt/sha256-block.c: ... here.
13371 * crypt/sha512.c (sha512_process_block): Move to ...
13372 * crypt/sha512-block.c: ... here.
13373 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13374 path.
13375 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13376 * sysdeps/sparc/sparc64/multiarch/Makefile
13377 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13378 crypt subdir.
13379 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13381 multiarch changes.
13382 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13383 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13384 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13385 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13386 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13387 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13388 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13389 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13390 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13391 file.
13392 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13393 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13394 file.
13395 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13396
8ca89318
JM
133972012-11-13 Joseph Myers <joseph@codesourcery.com>
13398
e27d476a
JM
13399 * timezone/tzselect.ksh: Update from tzcode git revision
13400 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13401 * timezone/zdump.c: Likewise.
13402 * timezone/zic.c: Likewise.
13403 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13404 in TZVERSION setting, not $(PKGVERSION).
13405 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13406 REPORT_BUGS_TO settings.
13407
8ca89318
JM
13408 [BZ #14838]
13409 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13410 macro.
13411
47594329
MS
134122012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13413
13414 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13415 detection to immediately after _FP_ROUND().
13416 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13417 bits are 0.
13418
640ac3f1
DM
134192012-11-11 David S. Miller <davem@davemloft.net>
13420
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13422 inttypes.h
13423 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13424 __close rather than their public counterparts.
13425
3d2577bb
JM
134262012-11-10 Joseph Myers <joseph@codesourcery.com>
13427
13428 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13429 file.
13430 [UNIX98] (sem_timedwait): Do not expect.
13431 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13432 [XPG4 || UNIX98] (sockatmark): Do not expect.
13433 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13434 (clock_getcpuclockid): Do not expect.
13435 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13436 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13437 Do not expect.
13438 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13439 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13440 [UNIX98] (vwscanf): Likewise.
13441 [UNIX98] (vswscanf): Likewise.
13442
fb1ae1ee
JM
134432012-11-09 Joseph Myers <joseph@codesourcery.com>
13444
9ec6f8bd
JM
13445 * timezone/version.h: Remove file.
13446 * timezone/README: Do not refer to version.h.
13447 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13448 $(objpfx)version.h.
13449 ($(objpfx)zdump.o): Likewise.
c3f81911 13450 ($(objpfx)version.h): New target.
9ec6f8bd 13451
0aa8f8a1
JM
13452 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13453 2012i.
13454 * timezone/README: Don't mention modification to tzselect.ksh.
13455 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13456 work on unmodified tzselect.ksh. Substitute version numbers in
13457 tzselect.ksh.
13458
4e87147f
JM
13459 * Makefile (format-me): Remove.
13460 (INSTALL): Adjust indentation. Use commands directly instead of
13461 using $(format-me).
13462
8b748aed
JM
13463 * aclocal.m4 (ACX_PKGVERSION): New macro.
13464 (ACX_BUGURL): Likewise.
13465 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13466 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13467 (REPORT_BUGS_TO): Likewise.
13468 * configure: Regenerated.
13469 * config.h.in (PKGVERSION): New macro.
13470 (REPORT_BUGS_TO): Likewise.
13471 * config.make.in (PKGVERSION): New variable.
13472 (PKGVERSION_TEXI): Likewise.
13473 (REPORT_BUGS_TO): Likewise.
13474 (REPORT_BUGS_TEXI): Likewise.
13475 * Makefile (format-me): Use -I$(common-objpfx)manual.
13476 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13477 ($(common-objpfx)manual/%): New target.
13478 (manual/%): Remove target.
13479 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13480 (print_version): Use PKGVERSION.
13481 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13482 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13483 and REPORT_BUGS_TO.
13484 ($(objpfx)xtrace): Likewise.
13485 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13486 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13487 (print_version): Use PKGVERSION.
13488 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13489 (do_version): Use PKGVERSION.
13490 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13491 REPORT_BUGS_TO.
13492 (common-ldd-rewrite): Likewise.
13493 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13494 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13495 (print_version): Use PKGVERSION.
13496 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13497 * elf/pldd.c (argp_program_bug_address): Remove variable.
13498 (more_help): New function.
13499 (argp): Use more_help.
13500 (print_version): Use PKGVERSION.
13501 * elf/sln.c (main): Use PKGVERSION.
13502 (usage): Use REPORT_BUGS_TO.
13503 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13504 (top level): Use PKGVERSION.
13505 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13506 (print_version): Use PKGVERSION.
13507 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13508 (print_version): Use PKGVERSION.
13509 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13510 (print_version): Use PKGVERSION.
13511 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13512 (print_version): Use PKGVERSION.
13513 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13514 (print_version): Use PKGVERSION.
13515 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13516 (print_version): Use PKGVERSION.
13517 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13518 and BUGURL.
13519 ($(objpfx)memusage): Likewise.
13520 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13521 (do_version): Use PKGVERSION.
13522 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13523 (print_version): Use PKGVERSION.
13524 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13525 ($PKGVERSION): New variable.
13526 ($REPORT_BUGS_TO): Likewise.
13527 (usage): Use $REPORT_BUGS_TO.
13528 (top level): Use $PKGVERSION.
13529 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13530 ($(objpfx)pkgvers.texi): New rule.
13531 ($(objpfx)stamp-pkgvers): Likewise.
13532 * manual/install.texi: Include pkgvers.texi.
13533 (--with-pkgversion): Document new configure option.
13534 (--with-bugurl): Likewise.
13535 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13536 than necessarily for this particular distribution. Use
13537 REPORT_BUGS_TO for where to report bugs.
13538 * INSTALL: Regenerated.
13539 * manual/libc.texinfo: Include pkgvers.texi.
13540 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13541 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13542 (print_version): Use PKGVERSION.
13543 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13544 (print_version): Use PKGVERSION.
13545 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13546 (print_version): Use PKGVERSION.
13547 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13548 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13549 macro.
13550 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13551 (print_version): Use PKGVERSION.
13552 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13553 (print_version): Use PKGVERSION.
13554 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13555 and PKGVERSION.
13556
92e4b6a9
JM
13557 * timezone/checktab.awk: Update from tzcode 2012i.
13558 * timezone/ialloc.c: Likewise.
13559 * timezone/private.h: Likewise.
13560 * timezone/scheck.c: Likewise.
13561 * timezone/tzfile.h: Likewise.
13562 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13563 (TZVERSION): Hardcode tzcode version number.
13564 * timezone/zdump.c: Update from tzcode 2012i.
13565 * timezone/zic.c: Likewise.
13566 * timezone/version.h: New file.
13567 * timezone/README: Describe version.h. Update upstream location.
13568
9bde902c
JM
13569 [BZ #14824]
13570 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13571 (mktemp): Enable declaration.
13572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13576 Likewise.
13577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13578 Likewise.
13579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13580 Likewise.
13581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13582 Likewise.
13583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13584 Likewise.
13585 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13586 Likewise.
13587
fb1ae1ee
JM
13588 [BZ #14821]
13589 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13590 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13591 for copies of such integer values.
13592 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13593 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13594
2c1adbcb
AJ
135952012-11-09 Andreas Jaeger <aj@suse.de>
13596
13597 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13598 definitions and declarations that are provided by
13599 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13600
d0f8457e
AK
136012012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13602
3a235abb 13603 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13604 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13605 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13606 definition.
13607
57241e26
MS
136082012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13609
13610 * elf/elf.h: Update comment before AArch64 relocations.
13611
60e8270d
DM
136122012-11-07 David S. Miller <davem@davemloft.net>
13613
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13616 (__start_context): Declare.
13617 (__makecontext_ret): Delete.
13618 (__makecontext): Hook up __start_context instead of
13619 __makecontext_ret.
13620 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13621 (sysdep_routines): Add __start_context when in stdlib.
13622
0fbb0fbc
JM
136232012-11-07 Joseph Myers <joseph@codesourcery.com>
13624
13625 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13626 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13627 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13628 hardcoded "nm".
13629 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13630 (READELF): New variable. Use it instead of hardcoded "readelf".
13631
eb48db7e
L
136322012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13635 * sysdeps/x86/Makefile: Here.
13636 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13637 * sysdeps/x86/tst-xmmymm.sh: This.
13638
05bcf62a
JM
136392012-11-07 Joseph Myers <joseph@codesourcery.com>
13640
c4b6cf53
JM
13641 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13642 expectations.
13643 [UNIX98] (pthread_barrier_t): Do not expect.
13644 [UNIX98] (pthread_barrierattr_t): Likewise.
13645 [UNIX98] (pthread_spinlock_t): Likewise.
13646 [UNIX98] (pthread_barrier_destroy): Likewise.
13647 [UNIX98] (pthread_barrier_init): Likewise.
13648 [UNIX98] (pthread_barrier_wait): Likewise.
13649 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13650 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13651 [UNIX98] (pthread_barrierattr_init): Likewise.
13652 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13653 [UNIX98] (pthread_getcpuclockid): Likewise.
13654 [UNIX98] (pthread_mutex_timedlock): Likewise.
13655 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13656 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13657 [UNIX98] (pthread_sigmask): Likewise.
13658 [UNIX98] (pthread_spin_destroy): Likewise.
13659 [UNIX98] (pthread_spin_init): Likewise.
13660 [UNIX98] (pthread_spin_lock): Likewise.
13661 [UNIX98] (pthread_spin_trylock): Likewise.
13662 [UNIX98] (pthread_spin_unlock): Likewise.
13663 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13664 Do not expect.
13665 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13667 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13668 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13669 [XPG3 || XPG4] (pthread_key_t): Likewise.
13670 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13671 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13672 [XPG3 || XPG4] (pthread_once_t): Likewise.
13673 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13674 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13676 [XPG3 || XPG4] (pthread_t): Likewise.
13677
cbe6e120
JM
13678 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13679 not expect.
13680 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13681
1b126443
JM
13682 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13683 Change function return type to int.
13684
b961a573
JM
13685 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13686 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13687 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13688 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13689 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13690 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13691 [!POSIX] (posix_madvise): Likewise.
13692 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13693 && !UNIX98].
13694 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13695 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13696 (mode_t): Likewise.
13697 (posix_mem_offset): Likewise.
13698 (posix_typed_mem_get_info): Likewise.
13699 (posix_typed_mem_open): Likewise.
13700
9e188909
JM
13701 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13702 Change condition to [XOPEN2K8].
13703
05bcf62a
JM
13704 * conform/conformtest.pl: Preprocess allow-header data with -x c
13705 instead of from stdin.
13706 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13707 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13708 [C99-based standards] (cerfc): Likewise.
13709 [C99-based standards] (cexp2): Likewise.
13710 [C99-based standards] (cexpm1): Likewise.
13711 [C99-based standards] (clog10): Likewise.
13712 [C99-based standards] (clog1p): Likewise.
13713 [C99-based standards] (clog2): Likewise.
13714 [C99-based standards] (clgamma): Likewise.
13715 [C99-based standards] (ctgamma): Likewise.
13716 [C99-based standards] (cerff): Likewise.
13717 [C99-based standards] (cerfcf): Likewise.
13718 [C99-based standards] (cexp2f): Likewise.
13719 [C99-based standards] (cexpm1f): Likewise.
13720 [C99-based standards] (clog10f): Likewise.
13721 [C99-based standards] (clog1pf): Likewise.
13722 [C99-based standards] (clog2f): Likewise.
13723 [C99-based standards] (clgammaf): Likewise.
13724 [C99-based standards] (ctgammaf): Likewise.
13725 [C99-based standards] (cerfl): Likewise.
13726 [C99-based standards] (cerfcl): Likewise.
13727 [C99-based standards] (cexp2l): Likewise.
13728 [C99-based standards] (cexpm1l): Likewise.
13729 [C99-based standards] (clog10l): Likewise.
13730 [C99-based standards] (clog1pl): Likewise.
13731 [C99-based standards] (clog2l): Likewise.
13732 [C99-based standards] (clgammal): Likewise.
13733 [C99-based standards] (ctgammal): Likewise.
13734 * conform/data/inttypes.h-data [C99-based standards]: Include
13735 stdint.h-data. Remove all expectations for stdint.h contents.
13736 [C99-based standards] (PRI*): Do not allow.
13737 [C99-based standards] (SCN*): Likewise.
13738 [C99-based standards] (*_t): Likewise.
13739 [C99-based-standards] (PRId8): Expect macro.
13740 [C99-based-standards] (PRIi8): Likewise.
13741 [C99-based-standards] (PRIo8): Likewise.
13742 [C99-based-standards] (PRIu8): Likewise.
13743 [C99-based-standards] (PRIx8): Likewise.
13744 [C99-based-standards] (PRIX8): Likewise.
13745 [C99-based-standards] (SCNd8): Likewise.
13746 [C99-based-standards] (SCNi8): Likewise.
13747 [C99-based-standards] (SCNo8): Likewise.
13748 [C99-based-standards] (SCNu8): Likewise.
13749 [C99-based-standards] (SCNx8): Likewise.
13750 [C99-based-standards] (PRIdLEAST8): Likewise.
13751 [C99-based-standards] (PRIiLEAST8): Likewise.
13752 [C99-based-standards] (PRIoLEAST8): Likewise.
13753 [C99-based-standards] (PRIuLEAST8): Likewise.
13754 [C99-based-standards] (PRIxLEAST8): Likewise.
13755 [C99-based-standards] (PRIXLEAST8): Likewise.
13756 [C99-based-standards] (SCNdLEAST8): Likewise.
13757 [C99-based-standards] (SCNiLEAST8): Likewise.
13758 [C99-based-standards] (SCNoLEAST8): Likewise.
13759 [C99-based-standards] (SCNuLEAST8): Likewise.
13760 [C99-based-standards] (SCNxLEAST8): Likewise.
13761 [C99-based-standards] (PRIdFAST8): Likewise.
13762 [C99-based-standards] (PRIiFAST8): Likewise.
13763 [C99-based-standards] (PRIoFAST8): Likewise.
13764 [C99-based-standards] (PRIuFAST8): Likewise.
13765 [C99-based-standards] (PRIxFAST8): Likewise.
13766 [C99-based-standards] (PRIXFAST8): Likewise.
13767 [C99-based-standards] (SCNdFAST8): Likewise.
13768 [C99-based-standards] (SCNiFAST8): Likewise.
13769 [C99-based-standards] (SCNoFAST8): Likewise.
13770 [C99-based-standards] (SCNuFAST8): Likewise.
13771 [C99-based-standards] (SCNxFAST8): Likewise.
13772 [C99-based-standards] (PRId16): Likewise.
13773 [C99-based-standards] (PRIi16): Likewise.
13774 [C99-based-standards] (PRIo16): Likewise.
13775 [C99-based-standards] (PRIu16): Likewise.
13776 [C99-based-standards] (PRIx16): Likewise.
13777 [C99-based-standards] (PRIX16): Likewise.
13778 [C99-based-standards] (SCNd16): Likewise.
13779 [C99-based-standards] (SCNi16): Likewise.
13780 [C99-based-standards] (SCNo16): Likewise.
13781 [C99-based-standards] (SCNu16): Likewise.
13782 [C99-based-standards] (SCNx16): Likewise.
13783 [C99-based-standards] (PRIdLEAST16): Likewise.
13784 [C99-based-standards] (PRIiLEAST16): Likewise.
13785 [C99-based-standards] (PRIoLEAST16): Likewise.
13786 [C99-based-standards] (PRIuLEAST16): Likewise.
13787 [C99-based-standards] (PRIxLEAST16): Likewise.
13788 [C99-based-standards] (PRIXLEAST16): Likewise.
13789 [C99-based-standards] (SCNdLEAST16): Likewise.
13790 [C99-based-standards] (SCNiLEAST16): Likewise.
13791 [C99-based-standards] (SCNoLEAST16): Likewise.
13792 [C99-based-standards] (SCNuLEAST16): Likewise.
13793 [C99-based-standards] (SCNxLEAST16): Likewise.
13794 [C99-based-standards] (PRIdFAST16): Likewise.
13795 [C99-based-standards] (PRIiFAST16): Likewise.
13796 [C99-based-standards] (PRIoFAST16): Likewise.
13797 [C99-based-standards] (PRIuFAST16): Likewise.
13798 [C99-based-standards] (PRIxFAST16): Likewise.
13799 [C99-based-standards] (PRIXFAST16): Likewise.
13800 [C99-based-standards] (SCNdFAST16): Likewise.
13801 [C99-based-standards] (SCNiFAST16): Likewise.
13802 [C99-based-standards] (SCNoFAST16): Likewise.
13803 [C99-based-standards] (SCNuFAST16): Likewise.
13804 [C99-based-standards] (SCNxFAST16): Likewise.
13805 [C99-based-standards] (PRId32): Likewise.
13806 [C99-based-standards] (PRIi32): Likewise.
13807 [C99-based-standards] (PRIo32): Likewise.
13808 [C99-based-standards] (PRIu32): Likewise.
13809 [C99-based-standards] (PRIx32): Likewise.
13810 [C99-based-standards] (PRIX32): Likewise.
13811 [C99-based-standards] (SCNd32): Likewise.
13812 [C99-based-standards] (SCNi32): Likewise.
13813 [C99-based-standards] (SCNo32): Likewise.
13814 [C99-based-standards] (SCNu32): Likewise.
13815 [C99-based-standards] (SCNx32): Likewise.
13816 [C99-based-standards] (PRIdLEAST32): Likewise.
13817 [C99-based-standards] (PRIiLEAST32): Likewise.
13818 [C99-based-standards] (PRIoLEAST32): Likewise.
13819 [C99-based-standards] (PRIuLEAST32): Likewise.
13820 [C99-based-standards] (PRIxLEAST32): Likewise.
13821 [C99-based-standards] (PRIXLEAST32): Likewise.
13822 [C99-based-standards] (SCNdLEAST32): Likewise.
13823 [C99-based-standards] (SCNiLEAST32): Likewise.
13824 [C99-based-standards] (SCNoLEAST32): Likewise.
13825 [C99-based-standards] (SCNuLEAST32): Likewise.
13826 [C99-based-standards] (SCNxLEAST32): Likewise.
13827 [C99-based-standards] (PRIdFAST32): Likewise.
13828 [C99-based-standards] (PRIiFAST32): Likewise.
13829 [C99-based-standards] (PRIoFAST32): Likewise.
13830 [C99-based-standards] (PRIuFAST32): Likewise.
13831 [C99-based-standards] (PRIxFAST32): Likewise.
13832 [C99-based-standards] (PRIXFAST32): Likewise.
13833 [C99-based-standards] (SCNdFAST32): Likewise.
13834 [C99-based-standards] (SCNiFAST32): Likewise.
13835 [C99-based-standards] (SCNoFAST32): Likewise.
13836 [C99-based-standards] (SCNuFAST32): Likewise.
13837 [C99-based-standards] (SCNxFAST32): Likewise.
13838 [C99-based-standards] (PRId64): Likewise.
13839 [C99-based-standards] (PRIi64): Likewise.
13840 [C99-based-standards] (PRIo64): Likewise.
13841 [C99-based-standards] (PRIu64): Likewise.
13842 [C99-based-standards] (PRIx64): Likewise.
13843 [C99-based-standards] (PRIX64): Likewise.
13844 [C99-based-standards] (SCNd64): Likewise.
13845 [C99-based-standards] (SCNi64): Likewise.
13846 [C99-based-standards] (SCNo64): Likewise.
13847 [C99-based-standards] (SCNu64): Likewise.
13848 [C99-based-standards] (SCNx64): Likewise.
13849 [C99-based-standards] (PRIdLEAST64): Likewise.
13850 [C99-based-standards] (PRIiLEAST64): Likewise.
13851 [C99-based-standards] (PRIoLEAST64): Likewise.
13852 [C99-based-standards] (PRIuLEAST64): Likewise.
13853 [C99-based-standards] (PRIxLEAST64): Likewise.
13854 [C99-based-standards] (PRIXLEAST64): Likewise.
13855 [C99-based-standards] (SCNdLEAST64): Likewise.
13856 [C99-based-standards] (SCNiLEAST64): Likewise.
13857 [C99-based-standards] (SCNoLEAST64): Likewise.
13858 [C99-based-standards] (SCNuLEAST64): Likewise.
13859 [C99-based-standards] (SCNxLEAST64): Likewise.
13860 [C99-based-standards] (PRIdFAST64): Likewise.
13861 [C99-based-standards] (PRIiFAST64): Likewise.
13862 [C99-based-standards] (PRIoFAST64): Likewise.
13863 [C99-based-standards] (PRIuFAST64): Likewise.
13864 [C99-based-standards] (PRIxFAST64): Likewise.
13865 [C99-based-standards] (PRIXFAST64): Likewise.
13866 [C99-based-standards] (SCNdFAST64): Likewise.
13867 [C99-based-standards] (SCNiFAST64): Likewise.
13868 [C99-based-standards] (SCNoFAST64): Likewise.
13869 [C99-based-standards] (SCNuFAST64): Likewise.
13870 [C99-based-standards] (SCNxFAST64): Likewise.
13871 [C99-based-standards] (PRIdMAX): Likewise.
13872 [C99-based-standards] (PRIiMAX): Likewise.
13873 [C99-based-standards] (PRIoMAX): Likewise.
13874 [C99-based-standards] (PRIuMAX): Likewise.
13875 [C99-based-standards] (PRIxMAX): Likewise.
13876 [C99-based-standards] (PRIXMAX): Likewise.
13877 [C99-based-standards] (SCNdMAX): Likewise.
13878 [C99-based-standards] (SCNiMAX): Likewise.
13879 [C99-based-standards] (SCNoMAX): Likewise.
13880 [C99-based-standards] (SCNuMAX): Likewise.
13881 [C99-based-standards] (SCNxMAX): Likewise.
13882 [C99-based-standards] (PRIdPTR): Likewise.
13883 [C99-based-standards] (PRIiPTR): Likewise.
13884 [C99-based-standards] (PRIoPTR): Likewise.
13885 [C99-based-standards] (PRIuPTR): Likewise.
13886 [C99-based-standards] (PRIxPTR): Likewise.
13887 [C99-based-standards] (PRIXPTR): Likewise.
13888 [C99-based-standards] (SCNdPTR): Likewise.
13889 [C99-based-standards] (SCNiPTR): Likewise.
13890 [C99-based-standards] (SCNoPTR): Likewise.
13891 [C99-based-standards] (SCNuPTR): Likewise.
13892 [C99-based-standards] (SCNxPTR): Likewise.
13893 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13894 allow.
13895 * conform/data/stdint.h-data: Update comments to clarify
13896 requirements.
13897 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13898 type.
13899 [C99-based standards] (INT8_MAX): Likewise.
13900 [C99-based standards] (INT16_MIN): Likewise.
13901 [C99-based standards] (INT16_MAX): Likewise.
13902 [C99-based standards] (INT32_MIN): Likewise.
13903 [C99-based standards] (INT32_MAX): Likewise.
13904 [C99-based standards] (INT64_MIN): Likewise.
13905 [C99-based standards] (INT64_MAX): Likewise.
13906 [C99-based standards] (UINT8_MAX): Likewise.
13907 [C99-based standards] (UINT16_MAX): Likewise.
13908 [C99-based standards] (UINT32_MAX): Likewise.
13909 [C99-based standards] (UINT64_MAX): Likewise.
13910 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13911 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13912 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13913 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13914 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13915 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13916 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13917 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13918 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13919 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13920 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13921 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13922 [C99-based standards] (INT_FAST8_MIN): Likewise.
13923 [C99-based standards] (INT_FAST8_MAX): Likewise.
13924 [C99-based standards] (INT_FAST16_MIN): Likewise.
13925 [C99-based standards] (INT_FAST16_MAX): Likewise.
13926 [C99-based standards] (INT_FAST32_MIN): Likewise.
13927 [C99-based standards] (INT_FAST32_MAX): Likewise.
13928 [C99-based standards] (INT_FAST64_MIN): Likewise.
13929 [C99-based standards] (INT_FAST64_MAX): Likewise.
13930 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13931 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13932 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13933 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13934 [C99-based standards] (INTPTR_MIN): Likewise.
13935 [C99-based standards] (INTPTR_MAX): Likewise.
13936 [C99-based standards] (UINTPTR_MAX): Likewise.
13937 [C99-based standards] (INTMAX_MIN): Likewise.
13938 [C99-based standards] (INTMAX_MAX): Likewise.
13939 [C99-based standards] (UINTMAX_MAX): Likewise.
13940 [C99-based standards] (PTRDIFF_MIN): Likewise.
13941 [C99-based standards] (PTRDIFF_MAX): Likewise.
13942 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13943 [C99-based standards] (SIZE_MAX): Likewise.
13944 [C99-based standards] (WCHAR_MAX): Likewise.
13945 [C99-based standards] (WINT_MAX): Likewise.
13946 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13947 constraint on value.
13948 [C99-based standards] (WCHAR_MIN): Likewise.
13949 [C99-based standards] (WINT_MIN): Likewise.
13950 [C99-based standards] (*_t): Allow.
13951 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13952 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13953 Include math.h-data and complex.h-data. Remove all expectations
13954 of math.h and complex.h contents.
13955 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13956 at end of line.
13957 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13958 (struct tm): Expect tag.
13959 [C99-based-standards] (wcstof): Expect function.
13960 [C99-based-standards] (wcstold): Likewise.
13961 [C99-based-standards] (wcstoll): Likewise.
13962 [C99-based-standards] (wcstoull): Likewise.
13963 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13964 macro-int-constant. Specify type.
13965 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13966 constraint on value.
13967 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13968 Specify type.
13969 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13970 Specify value.
13971 [ISO C standards]: Do not allow headers.
13972 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13973 wcs[abcdefghijklmnopqrstuvwxyz]*.
13974 [ISO C standards] (*_t): Do not allow.
13975 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13976 Expect function.
13977 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13978 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13979 Specify type.
13980 [ISO C standards]: Do not allow headers.
13981 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13982 is[abcdefghijklmnopqrstuvwxyz]*.
13983 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13984 to[abcdefghijklmnopqrstuvwxyz]*.
13985 [ISO C standards] (*_t): Do not allow.
13986 * conform/data/stdalign.h-data: New file.
13987 * conform/data/stdbool.h-data: Likewise.
13988 * conform/data/stdnoreturn.h-data: Likewise.
13989
7514feb8
RM
139902012-11-07 Roland McGrath <roland@hack.frob.com>
13991
13992 [BZ #14815]
13993 * manual/filesys.texi (Directory Entries): Typo fix.
13994 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13995
19b2ecfc
MS
139962012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13997
13998 * elf/elf.h (EM_AARCH64): New macro.
13999 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14000 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14001 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14002 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14003 (R_AARCH64_TLSDESC): Likewise.
14004 (NT_ARM_TLS): Likewise.
14005 (NT_ARM_HW_BREAK): Likewise.
14006 (NT_ARM_HW_WATCH): Likewise.
14007
60e235ee
JM
140082012-11-07 Joseph Myers <joseph@codesourcery.com>
14009
14010 [BZ #14811]
14011 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14012 (__ieee754_powl): Saturate nonzero exponents with absolute value
14013 below 0x1p-79 to +/- 0x1p-79.
14014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14015 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14016 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14017 nonzero exponents with absolute value below 0x1p-32 to +/-
14018 0x1p-32.
14019 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14020 (__ieee754_powl): Saturate nonzero exponents with absolute value
14021 below 0x1p-79 to +/- 0x1p-79.
14022 * math/libm-test.inc (pow_test): Add more tests.
14023
0ab234b7
AK
140242012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14025
14026 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14027 _dl_s390_cap_flags with kernel. Increase string length.
14028 (_dl_s390_platforms): Add z196 and zEC12.
14029
45832f74
JM
140302012-11-07 Joseph Myers <joseph@codesourcery.com>
14031
14032 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14033 Change XOPEN21K to XOPEN2K.
14034
19218757
MK
140352012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14036
14037 * string/memmove.c: Use memcpy when possible.
14038
c5f45721
AJ
140392012-11-06 Andreas Jaeger <aj@suse.de>
14040
14041 * po/eo.po: Update from translation team.
14042
82477c28
JM
140432012-11-06 Joseph Myers <joseph@codesourcery.com>
14044
14045 [BZ #14793]
14046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14047 exponent and small x and y exponents, scale x or y up. Increase
14048 by 2 the exponent used in scaling up.
14049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14051 * math/libm-test.inc (fma_test): Add more tests.
14052 (fma_test_towardzero): Likewise.
14053 (fma_test_downward): Likewise.
14054 (fma_test_upward): Likewise.
14055
99252c8c
JM
140562012-11-05 Joseph Myers <joseph@codesourcery.com>
14057
acfa885f
JM
14058 [BZ #14805]
14059 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14060 fenv_t *.
14061
99252c8c
JM
14062 [BZ #14801]
14063 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14064 namespace for names of struct fields.
14065 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14066 fenv_t fields.
14067 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14068 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14069
d6d98dea
ST
140702012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14071
14072 [BZ #3665]
14073 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14074
e10bb107
TS
140752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14076
14077 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14078 PTR_DEMANGLE.
14079
14080 [BZ #5246]
14081 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14082 PTR_DEMANGLE.
14083
a0c2940d
JM
140842012-11-04 Joseph Myers <joseph@codesourcery.com>
14085
14086 [BZ #14797]
14087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14088 definitely overflow as x * y not x * y + z.
14089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14091 * math/libm-test.inc (fma_test): Add more tests.
14092 (fma_test_towardzero): Likewise.
14093 (fma_test_downward): Likewise.
14094 (fma_test_upward): Likewise.
14095
b830319d
TS
140962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14097
14098 [BZ #157]
14099
14100 * include/stub-tag.h: Remove file.
14101 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14102 '#include' of it.
14103 * manual/maint.texi (Porting): Don't reference it.
14104 * Makerules ($(objpfx)stubs): Likewise.
14105 * dirent/closedir.c: Don't include <stub-tag.h>.
14106 * dirent/dirfd.c: Likewise.
14107 * dirent/fdopendir.c: Likewise.
14108 * dirent/getdents.c: Likewise.
14109 * dirent/getdents64.c: Likewise.
14110 * dirent/opendir.c: Likewise.
14111 * dirent/readdir.c: Likewise.
14112 * dirent/readdir64.c: Likewise.
14113 * dirent/readdir64_r.c: Likewise.
14114 * dirent/readdir_r.c: Likewise.
14115 * dirent/rewinddir.c: Likewise.
14116 * dirent/seekdir.c: Likewise.
14117 * dirent/telldir.c: Likewise.
14118 * gmon/profil.c: Likewise.
14119 * grp/setgroups.c: Likewise.
14120 * inet/if_index.c: Likewise.
14121 * io/access.c: Likewise.
14122 * io/chdir.c: Likewise.
14123 * io/chmod.c: Likewise.
14124 * io/chown.c: Likewise.
14125 * io/close.c: Likewise.
14126 * io/dup.c: Likewise.
14127 * io/dup2.c: Likewise.
14128 * io/dup3.c: Likewise.
14129 * io/euidaccess.c: Likewise.
14130 * io/faccessat.c: Likewise.
14131 * io/fchdir.c: Likewise.
14132 * io/fchmod.c: Likewise.
14133 * io/fchmodat.c: Likewise.
14134 * io/fchown.c: Likewise.
14135 * io/fchownat.c: Likewise.
14136 * io/fcntl.c: Likewise.
14137 * io/flock.c: Likewise.
14138 * io/fstatfs.c: Likewise.
14139 * io/fstatfs64.c: Likewise.
14140 * io/fstatvfs.c: Likewise.
14141 * io/fstatvfs64.c: Likewise.
14142 * io/futimens.c: Likewise.
14143 * io/fxstat.c: Likewise.
14144 * io/fxstat64.c: Likewise.
14145 * io/fxstatat.c: Likewise.
14146 * io/fxstatat64.c: Likewise.
14147 * io/getcwd.c: Likewise.
14148 * io/isatty.c: Likewise.
14149 * io/lchmod.c: Likewise.
14150 * io/lchown.c: Likewise.
14151 * io/link.c: Likewise.
14152 * io/linkat.c: Likewise.
14153 * io/lseek.c: Likewise.
14154 * io/lseek64.c: Likewise.
14155 * io/lxstat64.c: Likewise.
14156 * io/mkdir.c: Likewise.
14157 * io/mkdirat.c: Likewise.
14158 * io/mkfifo.c: Likewise.
14159 * io/mkfifoat.c: Likewise.
14160 * io/open.c: Likewise.
14161 * io/open64.c: Likewise.
14162 * io/openat.c: Likewise.
14163 * io/openat64.c: Likewise.
14164 * io/pipe.c: Likewise.
14165 * io/pipe2.c: Likewise.
14166 * io/poll.c: Likewise.
14167 * io/posix_fadvise.c: Likewise.
14168 * io/posix_fadvise64.c: Likewise.
14169 * io/posix_fallocate.c: Likewise.
14170 * io/posix_fallocate64.c: Likewise.
14171 * io/read.c: Likewise.
14172 * io/readlink.c: Likewise.
14173 * io/readlinkat.c: Likewise.
14174 * io/rmdir.c: Likewise.
14175 * io/sendfile.c: Likewise.
14176 * io/sendfile64.c: Likewise.
14177 * io/statfs.c: Likewise.
14178 * io/statfs64.c: Likewise.
14179 * io/statvfs.c: Likewise.
14180 * io/statvfs64.c: Likewise.
14181 * io/symlink.c: Likewise.
14182 * io/symlinkat.c: Likewise.
14183 * io/ttyname.c: Likewise.
14184 * io/ttyname_r.c: Likewise.
14185 * io/umask.c: Likewise.
14186 * io/unlink.c: Likewise.
14187 * io/unlinkat.c: Likewise.
14188 * io/utime.c: Likewise.
14189 * io/utimensat.c: Likewise.
14190 * io/write.c: Likewise.
14191 * io/xmknod.c: Likewise.
14192 * io/xmknodat.c: Likewise.
14193 * io/xstat.c: Likewise.
14194 * io/xstat64.c: Likewise.
14195 * login/getpt.c: Likewise.
14196 * login/grantpt.c: Likewise.
14197 * login/unlockpt.c: Likewise.
14198 * math/e_acoshl.c: Likewise.
14199 * math/e_acosl.c: Likewise.
14200 * math/e_asinl.c: Likewise.
14201 * math/e_atan2l.c: Likewise.
14202 * math/e_atanhl.c: Likewise.
14203 * math/e_coshl.c: Likewise.
14204 * math/e_expl.c: Likewise.
14205 * math/e_fmodl.c: Likewise.
14206 * math/e_gammal_r.c: Likewise.
14207 * math/e_hypotl.c: Likewise.
14208 * math/e_j0l.c: Likewise.
14209 * math/e_j1l.c: Likewise.
14210 * math/e_jnl.c: Likewise.
14211 * math/e_lgammal_r.c: Likewise.
14212 * math/e_log10l.c: Likewise.
14213 * math/e_log2l.c: Likewise.
14214 * math/e_logl.c: Likewise.
14215 * math/e_powl.c: Likewise.
14216 * math/e_rem_pio2l.c: Likewise.
14217 * math/e_sinhl.c: Likewise.
14218 * math/e_sqrtl.c: Likewise.
14219 * math/fclrexcpt.c: Likewise.
14220 * math/fedisblxcpt.c: Likewise.
14221 * math/feenablxcpt.c: Likewise.
14222 * math/fegetenv.c: Likewise.
14223 * math/fegetexcept.c: Likewise.
14224 * math/fegetround.c: Likewise.
14225 * math/feholdexcpt.c: Likewise.
14226 * math/fesetenv.c: Likewise.
14227 * math/fesetround.c: Likewise.
14228 * math/feupdateenv.c: Likewise.
14229 * math/fgetexcptflg.c: Likewise.
14230 * math/fraiseexcpt.c: Likewise.
14231 * math/fsetexcptflg.c: Likewise.
14232 * math/ftestexcept.c: Likewise.
14233 * math/k_cosl.c: Likewise.
14234 * math/k_rem_pio2l.c: Likewise.
14235 * math/k_sinl.c: Likewise.
14236 * math/k_tanl.c: Likewise.
14237 * math/s_asinhl.c: Likewise.
14238 * math/s_atanl.c: Likewise.
14239 * math/s_cbrtl.c: Likewise.
14240 * math/s_erfl.c: Likewise.
14241 * math/s_expm1l.c: Likewise.
14242 * math/s_log1pl.c: Likewise.
14243 * math/s_tanhl.c: Likewise.
14244 * misc/acct.c: Likewise.
14245 * misc/brk.c: Likewise.
14246 * misc/chflags.c: Likewise.
14247 * misc/chroot.c: Likewise.
14248 * misc/fchflags.c: Likewise.
14249 * misc/fgetxattr.c: Likewise.
14250 * misc/flistxattr.c: Likewise.
14251 * misc/fremovexattr.c: Likewise.
14252 * misc/fsetxattr.c: Likewise.
14253 * misc/fsync.c: Likewise.
14254 * misc/ftruncate.c: Likewise.
14255 * misc/futimes.c: Likewise.
14256 * misc/futimesat.c: Likewise.
14257 * misc/getdomain.c: Likewise.
14258 * misc/getdtsz.c: Likewise.
14259 * misc/gethostid.c: Likewise.
14260 * misc/gethostname.c: Likewise.
14261 * misc/getloadavg.c: Likewise.
14262 * misc/getpagesize.c: Likewise.
14263 * misc/getsysstats.c: Likewise.
14264 * misc/getxattr.c: Likewise.
14265 * misc/gtty.c: Likewise.
14266 * misc/ioctl.c: Likewise.
14267 * misc/lgetxattr.c: Likewise.
14268 * misc/listxattr.c: Likewise.
14269 * misc/llistxattr.c: Likewise.
14270 * misc/lremovexattr.c: Likewise.
14271 * misc/lsetxattr.c: Likewise.
14272 * misc/lutimes.c: Likewise.
14273 * misc/madvise.c: Likewise.
14274 * misc/mincore.c: Likewise.
14275 * misc/mlock.c: Likewise.
14276 * misc/mlockall.c: Likewise.
14277 * misc/mmap.c: Likewise.
14278 * misc/mprotect.c: Likewise.
14279 * misc/msync.c: Likewise.
14280 * misc/munlock.c: Likewise.
14281 * misc/munlockall.c: Likewise.
14282 * misc/munmap.c: Likewise.
14283 * misc/preadv.c: Likewise.
14284 * misc/preadv64.c: Likewise.
14285 * misc/ptrace.c: Likewise.
14286 * misc/pwritev.c: Likewise.
14287 * misc/pwritev64.c: Likewise.
14288 * misc/readv.c: Likewise.
14289 * misc/reboot.c: Likewise.
14290 * misc/remap_file_pages.c: Likewise.
14291 * misc/removexattr.c: Likewise.
14292 * misc/revoke.c: Likewise.
14293 * misc/select.c: Likewise.
14294 * misc/setdomain.c: Likewise.
14295 * misc/setegid.c: Likewise.
14296 * misc/seteuid.c: Likewise.
14297 * misc/sethostid.c: Likewise.
14298 * misc/sethostname.c: Likewise.
14299 * misc/setregid.c: Likewise.
14300 * misc/setreuid.c: Likewise.
14301 * misc/setxattr.c: Likewise.
14302 * misc/sstk.c: Likewise.
14303 * misc/stty.c: Likewise.
14304 * misc/swapoff.c: Likewise.
14305 * misc/swapon.c: Likewise.
14306 * misc/sync.c: Likewise.
14307 * misc/syncfs.c: Likewise.
14308 * misc/syscall.c: Likewise.
14309 * misc/truncate.c: Likewise.
14310 * misc/ualarm.c: Likewise.
14311 * misc/usleep.c: Likewise.
14312 * misc/ustat.c: Likewise.
14313 * misc/utimes.c: Likewise.
14314 * misc/vhangup.c: Likewise.
14315 * misc/writev.c: Likewise.
14316 * posix/_exit.c: Likewise.
14317 * posix/alarm.c: Likewise.
14318 * posix/execve.c: Likewise.
14319 * posix/fexecve.c: Likewise.
14320 * posix/fork.c: Likewise.
14321 * posix/fpathconf.c: Likewise.
14322 * posix/getaddrinfo.c: Likewise.
14323 * posix/getegid.c: Likewise.
14324 * posix/geteuid.c: Likewise.
14325 * posix/getgid.c: Likewise.
14326 * posix/getgroups.c: Likewise.
14327 * posix/getlogin.c: Likewise.
14328 * posix/getlogin_r.c: Likewise.
14329 * posix/getpgid.c: Likewise.
14330 * posix/getpid.c: Likewise.
14331 * posix/getppid.c: Likewise.
14332 * posix/getresgid.c: Likewise.
14333 * posix/getresuid.c: Likewise.
14334 * posix/getsid.c: Likewise.
14335 * posix/getuid.c: Likewise.
14336 * posix/glob64.c: Likewise.
14337 * posix/nanosleep.c: Likewise.
14338 * posix/pathconf.c: Likewise.
14339 * posix/pause.c: Likewise.
14340 * posix/posix_madvise.c: Likewise.
14341 * posix/pread.c: Likewise.
14342 * posix/pread64.c: Likewise.
14343 * posix/pwrite.c: Likewise.
14344 * posix/pwrite64.c: Likewise.
14345 * posix/sched_getaffinity.c: Likewise.
14346 * posix/sched_getp.c: Likewise.
14347 * posix/sched_gets.c: Likewise.
14348 * posix/sched_primax.c: Likewise.
14349 * posix/sched_primin.c: Likewise.
14350 * posix/sched_rr_gi.c: Likewise.
14351 * posix/sched_setaffinity.c: Likewise.
14352 * posix/sched_setp.c: Likewise.
14353 * posix/sched_sets.c: Likewise.
14354 * posix/sched_yield.c: Likewise.
14355 * posix/setgid.c: Likewise.
14356 * posix/setlogin.c: Likewise.
14357 * posix/setpgid.c: Likewise.
14358 * posix/setresgid.c: Likewise.
14359 * posix/setresuid.c: Likewise.
14360 * posix/setsid.c: Likewise.
14361 * posix/setuid.c: Likewise.
14362 * posix/sleep.c: Likewise.
14363 * posix/spawni.c: Likewise.
14364 * posix/sysconf.c: Likewise.
14365 * posix/times.c: Likewise.
14366 * posix/wait.c: Likewise.
14367 * posix/wait3.c: Likewise.
14368 * posix/wait4.c: Likewise.
14369 * posix/waitpid.c: Likewise.
14370 * resolv/gai_sigqueue.c: Likewise.
14371 * resource/getpriority.c: Likewise.
14372 * resource/getrlimit.c: Likewise.
14373 * resource/getrusage.c: Likewise.
14374 * resource/nice.c: Likewise.
14375 * resource/setpriority.c: Likewise.
14376 * resource/setrlimit.c: Likewise.
14377 * resource/ulimit.c: Likewise.
14378 * rt/aio_cancel.c: Likewise.
14379 * rt/aio_fsync.c: Likewise.
14380 * rt/aio_read.c: Likewise.
14381 * rt/aio_sigqueue.c: Likewise.
14382 * rt/aio_suspend.c: Likewise.
14383 * rt/aio_write.c: Likewise.
14384 * rt/clock_getres.c: Likewise.
14385 * rt/clock_gettime.c: Likewise.
14386 * rt/clock_nanosleep.c: Likewise.
14387 * rt/clock_settime.c: Likewise.
14388 * rt/lio_listio.c: Likewise.
14389 * rt/mq_close.c: Likewise.
14390 * rt/mq_getattr.c: Likewise.
14391 * rt/mq_notify.c: Likewise.
14392 * rt/mq_open.c: Likewise.
14393 * rt/mq_receive.c: Likewise.
14394 * rt/mq_send.c: Likewise.
14395 * rt/mq_setattr.c: Likewise.
14396 * rt/mq_timedreceive.c: Likewise.
14397 * rt/mq_timedsend.c: Likewise.
14398 * rt/mq_unlink.c: Likewise.
14399 * rt/shm_open.c: Likewise.
14400 * rt/shm_unlink.c: Likewise.
14401 * rt/timer_create.c: Likewise.
14402 * rt/timer_delete.c: Likewise.
14403 * rt/timer_getoverr.c: Likewise.
14404 * rt/timer_gettime.c: Likewise.
14405 * rt/timer_settime.c: Likewise.
14406 * setjmp/__longjmp.c: Likewise.
14407 * setjmp/setjmp.c: Likewise.
14408 * signal/kill.c: Likewise.
14409 * signal/killpg.c: Likewise.
14410 * signal/raise.c: Likewise.
14411 * signal/sigaction.c: Likewise.
14412 * signal/sigaltstack.c: Likewise.
14413 * signal/sigblock.c: Likewise.
14414 * signal/sigignore.c: Likewise.
14415 * signal/sigintr.c: Likewise.
14416 * signal/signal.c: Likewise.
14417 * signal/sigpause.c: Likewise.
14418 * signal/sigpending.c: Likewise.
14419 * signal/sigqueue.c: Likewise.
14420 * signal/sigreturn.c: Likewise.
14421 * signal/sigset.c: Likewise.
14422 * signal/sigsetmask.c: Likewise.
14423 * signal/sigstack.c: Likewise.
14424 * signal/sigsuspend.c: Likewise.
14425 * signal/sigtimedwait.c: Likewise.
14426 * signal/sigvec.c: Likewise.
14427 * signal/sigwait.c: Likewise.
14428 * signal/sigwaitinfo.c: Likewise.
14429 * signal/sysv_signal.c: Likewise.
14430 * socket/accept.c: Likewise.
14431 * socket/accept4.c: Likewise.
14432 * socket/bind.c: Likewise.
14433 * socket/connect.c: Likewise.
14434 * socket/getpeername.c: Likewise.
14435 * socket/getsockname.c: Likewise.
14436 * socket/getsockopt.c: Likewise.
14437 * socket/isfdtype.c: Likewise.
14438 * socket/listen.c: Likewise.
14439 * socket/recv.c: Likewise.
14440 * socket/recvfrom.c: Likewise.
14441 * socket/recvmsg.c: Likewise.
14442 * socket/send.c: Likewise.
14443 * socket/sendmsg.c: Likewise.
14444 * socket/sendto.c: Likewise.
14445 * socket/setsockopt.c: Likewise.
14446 * socket/shutdown.c: Likewise.
14447 * socket/sockatmark.c: Likewise.
14448 * socket/socket.c: Likewise.
14449 * socket/socketpair.c: Likewise.
14450 * stdio-common/ctermid.c: Likewise.
14451 * stdio-common/cuserid.c: Likewise.
14452 * stdio-common/remove.c: Likewise.
14453 * stdio-common/rename.c: Likewise.
14454 * stdio-common/renameat.c: Likewise.
14455 * stdio-common/tempname.c: Likewise.
14456 * stdlib/getcontext.c: Likewise.
14457 * stdlib/makecontext.c: Likewise.
14458 * stdlib/setcontext.c: Likewise.
14459 * stdlib/swapcontext.c: Likewise.
14460 * stdlib/system.c: Likewise.
14461 * streams/fattach.c: Likewise.
14462 * streams/fdetach.c: Likewise.
14463 * streams/getmsg.c: Likewise.
14464 * streams/getpmsg.c: Likewise.
14465 * streams/putmsg.c: Likewise.
14466 * streams/putpmsg.c: Likewise.
14467 * sysdeps/unix/bsd/getpt.c: Likewise.
14468 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14469 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14470 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14472 Likewise.
14473 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14474 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14475 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14476 * sysvipc/msgctl.c: Likewise.
14477 * sysvipc/msgget.c: Likewise.
14478 * sysvipc/msgrcv.c: Likewise.
14479 * sysvipc/msgsnd.c: Likewise.
14480 * sysvipc/semctl.c: Likewise.
14481 * sysvipc/semget.c: Likewise.
14482 * sysvipc/semop.c: Likewise.
14483 * sysvipc/semtimedop.c: Likewise.
14484 * sysvipc/shmat.c: Likewise.
14485 * sysvipc/shmctl.c: Likewise.
14486 * sysvipc/shmdt.c: Likewise.
14487 * sysvipc/shmget.c: Likewise.
14488 * termios/tcdrain.c: Likewise.
14489 * termios/tcflow.c: Likewise.
14490 * termios/tcflush.c: Likewise.
14491 * termios/tcgetattr.c: Likewise.
14492 * termios/tcgetpgrp.c: Likewise.
14493 * termios/tcsendbrk.c: Likewise.
14494 * termios/tcsetattr.c: Likewise.
14495 * termios/tcsetpgrp.c: Likewise.
14496 * time/adjtime.c: Likewise.
14497 * time/clock.c: Likewise.
14498 * time/getitimer.c: Likewise.
14499 * time/gettimeofday.c: Likewise.
14500 * time/setitimer.c: Likewise.
14501 * time/settimeofday.c: Likewise.
14502 * time/stime.c: Likewise.
14503 * time/time.c: Likewise.
14504
145052012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14506
a20492cf
PT
14507 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14508 /usr/old/bin.
14509
72e182e3
PT
14510 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14511 instead of spaces.
14512 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14513
fbeafede
JM
145142012-11-03 Joseph Myers <joseph@codesourcery.com>
14515
5b5b04d6
JM
14516 [BZ #14796]
14517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14518 FE_TONEAREST before applying Dekker multiplication and Knuth
14519 addition. Clear inexact exceptions and check for exact zero
14520 results afterwards.
14521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14522 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14524 * math/libm-test.inc (fma_test): Add more tests.
14525 (fma_test_towardzero): Likewise.
14526 (fma_test_downward): Likewise.
14527 (fma_test_upward): Likewise.
14528 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14529 function.
14530 (libc_fesetround): New macro.
14531 (libc_fesetroundf): Likewise.
14532 (libc_fesetroundl): Likewise.
14533 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14534 function.
14535 (libc_fesetround_387): Likewise.
14536 (libc_fesetroundf): New macro.
14537 (libc_fesetround): Likewise.
14538 (libc_fesetroundl): Likewise.
14539 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14540 function.
14541 (libc_fesetroundf): New macro.
14542 (libc_fesetround): Likewise.
14543 (libc_fesetroundl): Likewise.
14544 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14545 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14546 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14547 libm_hidden_ver.
14548 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14549 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14550 libm_hidden_def.
14551 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14552 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14553 libm_hidden_ver.
14554 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14555 libm_hidden_def.
14556
fbeafede
JM
14557 [BZ #3439]
14558 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14559 integer constant usable in #if and use that to give value to enum
14560 constant.
14561 (FE_DIVBYZERO): Likewise.
14562 (FE_UNDERFLOW): Likewise.
14563 (FE_OVERFLOW): Likewise.
14564 (FE_INVALID): Likewise.
14565 (FE_INVALID_SNAN): Likewise.
14566 (FE_INVALID_ISI): Likewise.
14567 (FE_INVALID_IDI): Likewise.
14568 (FE_INVALID_ZDZ): Likewise.
14569 (FE_INVALID_IMZ): Likewise.
14570 (FE_INVALID_COMPARE): Likewise.
14571 (FE_INVALID_SOFTWARE): Likewise.
14572 (FE_INVALID_SQRT): Likewise.
14573 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14574 (FE_TONEAREST): Likewise.
14575 (FE_TOWARDZERO): Likewise.
14576 (FE_UPWARD): Likewise.
14577 (FE_DOWNWARD): Likewise.
14578 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14579 (FE_DIVBYZERO): Likewise.
14580 (FE_OVERFLOW): Likewise.
14581 (FE_UNDERFLOW): Likewise.
14582 (FE_INEXACT): Likewise.
14583 (FE_TONEAREST): Likewise.
14584 (FE_DOWNWARD): Likewise.
14585 (FE_UPWARD): Likewise.
14586 (FE_TOWARDZERO): Likewise.
14587 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14588 (FE_UNDERFLOW): Likewise.
14589 (FE_OVERFLOW): Likewise.
14590 (FE_DIVBYZERO): Likewise.
14591 (FE_INVALID): Likewise.
14592 (FE_TONEAREST): Likewise.
14593 (FE_TOWARDZERO): Likewise.
14594 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14595 (FE_OVERFLOW): Likewise.
14596 (FE_UNDERFLOW): Likewise.
14597 (FE_DIVBYZERO): Likewise.
14598 (FE_INEXACT): Likewise.
14599 (FE_TONEAREST): Likewise.
14600 (FE_TOWARDZERO): Likewise.
14601 (FE_UPWARD): Likewise.
14602 (FE_DOWNWARD): Likewise.
14603 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14604 (FE_DIVBYZERO): Likewise.
14605 (FE_OVERFLOW): Likewise.
14606 (FE_UNDERFLOW): Likewise.
14607 (FE_INEXACT): Likewise.
14608 (FE_TONEAREST): Likewise.
14609 (FE_DOWNWARD): Likewise.
14610 (FE_UPWARD): Likewise.
14611 (FE_TOWARDZERO): Likewise.
14612
105ca950
CM
146132012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14614
14615 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14616
a542b389
AS
146172012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14618
14619 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14620 commands. Quote $PWD.
14621 (blacklist_exports): Don't use remove_newlines. Replace "declare
14622 -x" by "export".
14623 (remove_newlines): Remove.
14624
f62c8abc
L
146252012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14626
14627 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14628 * stdlib/stdlib.h (atof): Moved to ...
14629 * include/bits/stdlib-float.h: Here. New file.
14630 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14631 * stdlib/bits/stdlib-float.h: New file.
14632 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14633 -mno-sse -mno-mmx.
14634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14635 <xmmintrin.h>.
14636
0155d5b2
JM
146372012-11-02 Joseph Myers <joseph@codesourcery.com>
14638
a68d0680
JM
14639 * conform/conformtest.pl (@headers): Add fenv.h.
14640 * conform/data/fenv.h-data: New file.
14641 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14642 include of <math/fenv.h>.
14643
caf7f573
JM
14644 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14645 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14646 && !UNIX98]. Enables tests for XOPEN2K8.
14647 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14648 POSIX2008]: Likewise.
14649
6c073ad6
JM
14650 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14651 (struct rusage): Do not expect type or its members.
14652
0155d5b2
JM
14653 [BZ #3439]
14654 * math/math.h (FP_NAN): Define macro to integer constant usable in
14655 #if and use that to give value to enum constant.
14656 (FP_INFINITE): Likewise.
14657 (FP_ZERO): Likewise.
14658 (FP_SUBNORMAL): Likewise.
14659 (FP_NORMAL): Likewise.
14660
b5dcacb4
AS
146612012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14662
14663 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14664 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14665 arguments.
14666
f7934be8
RM
146672012-11-02 Roland McGrath <roland@hack.frob.com>
14668
14669 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14670 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14671 autoconf-time if not.
14672 * configure.in: Remove AC_PREREQ.
14673
d7d08bde
TMQMF
146742012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14675
14676 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14677 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14678 of the internal implementation.
14679
dcdae19a
JM
146802012-11-02 Joseph Myers <joseph@codesourcery.com>
14681
14682 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14683 except include of <misc/sys/syslog.h>.
14684
d6cffd3e
AS
146852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14686
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14688 function returns with a NULL context exit with zero.
14689
b3563932
TMQMF
146902012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14691
14692 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14693
b288a93d
L
146942012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14697 (run_program_cmd): This.
14698 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14699 (tst_langinfo): New variable. Use it.
14700
a2421a68
SAS
147012012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14702
14703 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14704 floating point opcodes.
14705
6f796e1b
TS
147062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14707
7402596b
TS
14708 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14709 variable.
14710
d0d4f868
TS
14711 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14712
6f796e1b
TS
14713 * sysdeps/mach/hurd/powerpc: Remove directory.
14714 * sysdeps/mach/powerpc: Likewise.
14715
4da224a2
AS
147162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14717
14718 * scripts/check-local-headers.sh: Ignore c++ headers.
14719
341dd673
TS
147202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14721
14722 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14723 __libc_cleanup_region_start argument.
14724
473611b2
JM
147252012-11-01 Joseph Myers <joseph@codesourcery.com>
14726
14727 [BZ #14784]
14728 [BZ #14785]
14729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14730 x * y using scaling, not as x * y + z.
14731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14733 * math/libm-test.inc (fma_test): Add more tests.
14734 (fma_test_towardzero): Likewise.
14735 (fma_test_downward): Likewise.
14736 (fma_test_upward): Likewise.
14737
4078da3d
TS
147382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14739
14740 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14741
903252aa
JM
147422012-10-31 Joseph Myers <joseph@codesourcery.com>
14743
14744 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14745 New variable.
14746
cbc818d0
TS
147472012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14748
14749 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14750
5a03cb1e
AS
147512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14752
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14754 Fix sort order.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14756 Likewise.
14757
90aff2ff
TMQMF
147582012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14759
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14761 Fix the order of the list for glibc 2.17.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14763 Likewise.
14764
1818fcb7
AS
147652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14766
14767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14768
ef82f4da
JM
147692012-10-31 Joseph Myers <joseph@codesourcery.com>
14770
16a0e2ec
JM
14771 [BZ #14610]
14772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14773 for low part of x being zero before using __atanl (y).
14774 * math/libm-test.inc (atan2_test): Add another test.
14775
0eb69512
JM
14776 * manual/install.texi (Configuring and compiling): Document
14777 general use of test-wrapper and test-wrapper-env.
14778 * INSTALL: Regenerated.
14779
ef82f4da
JM
14780 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14781 (__fma): Do not extract and scale down low bits on after-rounding
14782 systems when result rounded to normal precision would have normal
14783 exponent.
14784 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14785 (__fmal): Do not extract and scale down low bits on after-rounding
14786 systems when result rounded to normal precision would have normal
14787 exponent.
14788 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14789 (__fmal): Do not extract and scale down low bits on after-rounding
14790 systems when result rounded to normal precision would have normal
14791 exponent.
14792 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14793 macro.
14794 (fma_test): Add more tests.
14795 (fma_test_towardzero): Likewise.
14796 (fma_test_downward): Likewise.
14797 (fma_test_upward): Likewise.
14798
954ef0d9
L
147992012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14800
14801 * sysdeps/i386/tininess.h: Renamed to ...
14802 * sysdeps/x86/tininess.h: This.
14803 * sysdeps/x86_64/tininess.h: Removed.
14804
df61ffb2
JM
148052012-10-30 Joseph Myers <joseph@codesourcery.com>
14806
14807 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14808 input. Use $(build-program-cmd).
14809 ($(objpfx)tst-array1-static.out): Likewise.
14810 ($(objpfx)tst-array2.out): Likewise.
14811 ($(objpfx)tst-array3.out): Likewise.
14812 ($(objpfx)tst-array4.out): Likewise.
14813 ($(objpfx)tst-array5.out): Likewise.
14814 ($(objpfx)tst-array5-static.out): Likewise.
14815
01767843
CM
148162012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14817
47cc1490
CM
14818 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14819 if defined.
14820
01767843
CM
14821 * nss/nsswitch.h (nss_interface_function): Provide new
14822 macro for use with NSS functions.
14823 * grp/initgroups.c: Use new macro.
14824 * nss/getXXbyYY.c: Likewise.
14825 * nss/getXXbyYY_r.c: Likewise.
14826 * nss/getXXent.c: Likewise.
14827 * nss/getXXent_r.c: Likewise.
14828 * sysdeps/posix/getaddrinfo.c: Likewise.
14829
8321aa97
AJ
148302012-10-30 Andreas Jaeger <aj@suse.de>
14831
14832 * po/ru.po: Update Russion translation from translation project.
14833
2a27fd6d
JM
148342012-10-30 Joseph Myers <joseph@codesourcery.com>
14835
8627a232
JM
14836 [BZ #14152]
14837 [BZ #14783]
14838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14839 result and shift together with sticky bit instead of replicating
14840 round-to-nearest rounding.
14841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14843 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14844 missing underflow exceptions.
14845 (fma_test_towardzero): Add more tests.
14846 (fma_test_downward): Likewise.
14847 (fma_test_upward): Likewise.
14848
2a27fd6d
JM
14849 [BZ #14047]
14850 * sysdeps/generic/tininess.h: New file.
14851 * sysdeps/i386/tininess.h: Likewise.
14852 * sysdeps/sh/tininess.h: Likewise.
14853 * sysdeps/x86_64/tininess.h: Likewise.
14854 * stdlib/tst-strtod-underflow.c: Likewise.
14855 * stdlib/tst-tininess.c: Likewise.
14856 * stdlib/strtod_l.c: Include <tininess.h>.
14857 (round_and_return): Do not set errno for exact underflow cases.
14858 Force an underflow exception when setting errno for underflow.
14859 Determine underflow based on rounding to normal precision if
14860 TININESS_AFTER_ROUNDING.
14861 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14862 ERANGE for exact underflow cases.
14863 * stdlib/Makefile (tests): Add tst-tininess and
14864 tst-strtod-underflow.
14865 ($(objpfx)tst-tininess): Use $(link-libm).
14866 ($(objpfx)tst-strtod-underflow): Likewise.
14867
e7170363
AJ
148682012-10-30 Andreas Jaeger <aj@suse.de>
14869
e5088dc6
AJ
14870 [BZ#14767]
14871 * elf/Makefile (tests): Remove conditional for have-initfini-array
14872 since this is now always required and the variable does not exist
14873 anymore.
14874 (tests-static): Likewise.
14875 (modules-names): Likewise.
14876
e7170363 14877 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14878
14879 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14880 merged with constructor/destructor.
14881 (init_array): Likewise.
14882 * elf/tst-array2dep.c (fini_array): Likewise.
14883 (init_array): Likewise.
14884
60457d8a
MF
148852012-10-29 Mike Frysinger <vapier@gentoo.org>
14886
14887 * manual/message.texi: Delete @cartouche tags.
14888
8bece752
PT
148892012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14890
94ce799f
PT
14891 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14892 EOPNOTSUPP.
14893 * sysdeps/mach/hurd/fsync.c: Likewise.
14894
8bece752
PT
14895 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14896 [_POSIX_REALTIME_SIGNALS]: Change condition to
14897 [_POSIX_REALTIME_SIGNALS > 0].
14898
86ebe6b1
AJ
148992012-10-27 Andreas Jaeger <aj@suse.de>
14900
14901 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14902 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14903 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14904 [__WORDSIZE != 64]: Likewise.
14905
54399c08
L
149062012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 * iconvdata/tst-table.sh: Remove ${SHELL}.
14909 * iconvdata/tst-tables.sh: Likewise.
14910
e2211bed
DM
149112012-10-25 David S. Miller <davem@davemloft.net>
14912
14913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14914 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14915 of strtoull.
14916
f303f97c
DM
14917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14918 ifunc-impl-list.c
14919 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14920 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14921 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14922 file.
14923
1e9d84cd
RM
149242012-10-25 Roland McGrath <roland@hack.frob.com>
14925
14926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14927 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14928 __getdirentries.
14929
df381762
JM
149302012-10-25 Joseph Myers <joseph@codesourcery.com>
14931 Jim Blandy <jimb@codesourcery.com>
14932
14933 * scripts/cross-test-ssh.sh: New file.
14934 * manual/install.texi (Configuring and compiling): Document use of
14935 cross-test-ssh.sh.
14936 * INSTALL: Regenerated.
14937
bff64913
PT
149382012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14939
14940 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14941 EOPNOTSUPP.
14942
25fe8932
JM
149432012-10-25 Joseph Myers <joseph@codesourcery.com>
14944
14945 * Makeconfig (run-program-prefix): Fix comment.
14946
cc1290d0
JM
149472012-10-24 Joseph Myers <joseph@codesourcery.com>
14948 Jim Blandy <jimb@codesourcery.com>
14949
14950 * Makeconfig (test-wrapper): New variable,
14951 (test-wrapper-env): Likewise.
14952 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14953 (run-built-tests): Define to yes.
14954 (run-program-prefix): Use $(test-wrapper).
14955 (built-program-cmd): Likewise.
14956 * Rules (make-test-out): Use $(test-wrapper-env) and
14957 $(host-built-program-cmd).
14958 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14959 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14960 tst-pathopt.sh.
14961 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14962 $(test-wrapper-env) to tst-rtld-load-self.sh.
14963 ($(objpfx)order2.out): Use $(test-wrapper).
14964 ($(objpfx)tst-initorder.out): Likewise.
14965 ($(objpfx)tst-initorder2.out): Likewise.
14966 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14967 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14968 (test_wrapper_env): New variable. Use it to run ld.so.
14969 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14970 Use it to run ld.so.
14971 (test_wrapper_env): Likewise.
14972 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14973 $(test-wrapper) to run-iconv-test.sh.
14974 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14975 (ICONV): Use $test_wrapper.
14976 * posix/Makefile ($(objpfx)globtest.out): Pass
14977 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14978 globtest.sh, not $(run-program-prefix).
14979 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14980 (test_wrapper): Likewise.
14981 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14982 set together with run_via_rtld_prefix.
14983 (run_program_prefix): Define in terms of test_wrapper and
14984 run_via_rtld_prefix.
14985
6e6249d0
RM
149862012-10-24 Roland McGrath <roland@hack.frob.com>
14987
14988 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14989 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14990 Targets removed.
14991
14992 [BZ #14743]
14993 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14994 Declare __clock_getres, __clock_gettime, __clock_settime,
14995 __clock_nanosleep, and __clock_getcpuclockid.
14996 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14997 Remove librt_hidden_def (clock_gettime).
14998 * sysdeps/unix/clock_gettime.c: Likewise.
14999 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15000 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15001 * rt/clock_getres.c: Define __clock_getres as an alias.
15002 * sysdeps/posix/clock_getres.c: Likewise.
15003 * rt/clock_settime.c: Define __clock_settime as an alias.
15004 * sysdeps/unix/clock_settime.c: Likewise.
15005 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15006 * sysdeps/unix/clock_nanosleep.c: Likewise.
15007 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15008 * rt/clock-compat.c: New file.
15009 * rt/Makefile (librt-routines): Add clock-compat and move
15010 $(clock-routines) to ...
15011 (routines): ... here, new variable.
15012 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15013 Don't add get_clockfreq here.
15014 * rt/Versions (libc: GLIBC_2.17): New version set.
15015 Add clock_* symbols here.
15016 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15018 (GLIBC_2.17): Add clock_* symbols.
15019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15023 Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15025 Likewise.
15026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15030 * NEWS: Mention the move.
15031
15032 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15033 Use __open, __read, __close rather than their public counterparts.
15034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15035 (__get_clockfreq_via_cpuinfo): Likewise.
15036 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15037 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15038
15039 * config.h.in (HAVE_IFUNC): New #undef.
15040 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15041 was successful.
15042 * configure: Regenerated.
15043
0cae3f4b
MF
150442012-10-24 Mike Frysinger <vapier@gentoo.org>
15045
15046 * configure.in: Move READELF check to start of file.
15047 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15048 libc_cv_asm_gnu_indirect_function in the process.
15049 * configure: Regenerated.
15050
8175a253
MF
150512012-10-24 Mike Frysinger <vapier@gentoo.org>
15052
15053 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15054 send the output to /dev/null.
15055 (libc_cv_cc_with_libunwind): Likewise.
15056 (libc_cv_as_noexecstack): Likewise.
15057 * configure: Regenerate.
15058
0708a7d1
JM
150592012-10-24 Joseph Myers <joseph@codesourcery.com>
15060
10b40d85
JM
15061 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15062
0708a7d1
JM
15063 * posix/globtest.sh (TMPDIR): Do not set.
15064 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15065 (testout): Likewise.
15066
9fddec1a
AJ
150672012-10-24 Andreas Jaeger <aj@suse.de>
15068
3a8db22f
AJ
15069 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15070 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15071 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15072 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15073 posix_fadvise64, posix_fallocate64.
15074
9fddec1a
AJ
15075 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15076 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15077 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15078 Likewise.
15079 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15080 Likewise.
15081 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15082
15083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15084 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15085 <bits/fcntl-linux.h>.
15086 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15087
15088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15089 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15090 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15091 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15092 [__WORDSIZE != 64]: Likewise.
15093
ebfd1bbd
JM
150942012-10-23 Joseph Myers <joseph@codesourcery.com>
15095
03ac099f
JM
15096 * Makeconfig (run-built-tests): New variable.
15097 * Rules [$(cross-compiling) = yes]: Change condition to
15098 [$(run-built-tests) = no].
15099 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15100 to [$(run-built-tests) = yes].
15101 * elf/Makefile [$(cross-compiling) = no]: Likewise
15102 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15103 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15104 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15105 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15106 * io/Makefile [$(cross-compiling) = no]: Likewise.
15107 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15108 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15109 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15110 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15111 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15112 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15113 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15114 * string/Makefile [$(cross-compiling) = no]: Likewise.
15115
ebfd1bbd
JM
15116 * posix/Makefile ($(objpfx)globtest.out): Pass
15117 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15118 $(rtld-installed-name).
15119 * posix/globtest.sh (elf_objpfx): Remove variable.
15120 (rtld_installed_name): Likewise.
15121 (library_path): Likewise.
15122 (run_program_prefix): New variable. Use for running globtest
15123 binary.
15124
166bca24
JB
151252012-10-23 Jim Blandy <jimb@codesourcery.com>
15126 Joseph Myers <joseph@codesourcery.com>
15127
15128 * Makeconfig (host-built-program-cmd): New variable.
15129 * elf/Makefile (tst-stackguard1-ARGS): Use
15130 $(host-built-program-cmd).
15131 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15132 (tst-spawn-ARGS): Likewise.
15133 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15134
88866099
JM
151352012-10-23 Joseph Myers <joseph@codesourcery.com>
15136 Jim Blandy <jimb@codesourcery.com>
15137
15138 * Makeconfig (run-via-rtld-prefix): New variable.
15139 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15140 (built-program-cmd): Likewise.
15141
b4b4c296
AJ
151422012-10-22 Andreas Jaeger <aj@suse.de>
15143
15144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15145 __O_RSYNC if it exists, otherwise to O_SYNC.
15146
6fb54a22
JB
151472012-10-22 Jim Blandy <jimb@codesourcery.com>
15148 Joseph Myers <joseph@codesourcery.com>
15149
15150 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15151 /dev/null.
15152 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15153 from /dev/null
15154 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15155 /dev/null.
15156
481b90b9
AJ
151572012-10-22 Andreas Jaeger <aj@suse.de>
15158
2a0e2669
AJ
15159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15160 Define always.
15161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15162
76e38f9a
AJ
15163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15164 bits/fcntl-linux.h.
15165
7cd37b43
AJ
15166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15167 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15168
481b90b9
AJ
15169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15170 to __O_LARGEFILE.
15171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15172 to __O_LARGEFILE.
15173
aba75984
JB
151742012-10-21 Jim Blandy <jimb@codesourcery.com>
15175 Joseph Myers <joseph@codesourcery.com>
15176
15177 * config.make.in (NM): New variable.
15178
88d4247f
AJ
151792012-10-21 Andreas Jaeger <aj@suse.de>
15180
15181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15182 definitions and declarations that are provided by
15183 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15184
f2eed205
L
151852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15186
15187 [BZ #14683]
15188 * elf/Makefile (tests-static): Add tst-leaks1-static.
15189 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15190 ($(objpfx)tst-leaks1-static): New rule.
15191 ($(objpfx)tst-leaks1-static-mem): Likewise.
15192 (tst-leaks1-static-ENV): New macro.
15193 * elf/dl-open.c (dl_open_worker): Check the main application
15194 only if SHARED is defined.
15195 * elf/tst-leaks1-static.c: New file.
15196
335e6931
AJ
151972012-10-20 Andreas Jaeger <aj@suse.de>
15198
15199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15200 generic values for Linux.
15201 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15202 and declarations that are provided by <bits/fcntl-linux.h> and
15203 include <bits/fcntl-linux.h>.
15204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15206
ac5c94d3
RM
152072012-10-20 Roland McGrath <roland@hack.frob.com>
15208
15209 * io/fcntl.h: Move include of <bits/types.h> to the top and
15210 include it unconditionally.
15211
de54b33a
L
152122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15213
228cfb01
L
15214 * wcsmbs/Makefile (tests-ifunc): New variable.
15215 (tests): Add $(tests-ifunc).
15216 * wcsmbs/test-wcschr-ifunc.c: New file.
15217 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15218 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15219 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15220 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15221 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15222
69f07e5f
L
15223 * string/Makefile (tests-ifunc): New variable.
15224 (tests): Add $(tests-ifunc).
15225 * string/test-memccpy.c (TEST_NAME): New macro.
15226 * string/test-memchr.c (TEST_NAME): Likewise.
15227 * string/test-memcmp.c (TEST_NAME): Likewise.
15228 * string/test-memcpy.c (TEST_NAME): Likewise.
15229 * string/test-memmem.c (TEST_NAME): Likewise.
15230 * string/test-memmove.c (TEST_NAME): Likewise.
15231 * string/test-memset.c (TEST_NAME): Likewise.
15232 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15233 * string/test-stpcpy.c (TEST_NAME): Likewise.
15234 * string/test-stpncpy.c (TEST_NAME): Likewise.
15235 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15236 * string/test-strcasestr.c (TEST_NAME): Likewise.
15237 * string/test-strcat.c (TEST_NAME): Likewise.
15238 * string/test-strchr.c (TEST_NAME): Likewise.
15239 * string/test-strcmp.c(TEST_NAME): Likewise.
15240 * string/test-strcpy.c (TEST_NAME): Likewise.
15241 * string/test-strcspn.c (TEST_NAME): Likewise.
15242 * string/test-strlen.c (TEST_NAME): Likewise.
15243 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15244 * string/test-strncmp.c (TEST_NAME): Likewise.
15245 * string/test-strncpy.c (TEST_NAME): Likewise.
15246 * string/test-strnlen.c (TEST_NAME): Likewise.
15247 * string/test-strpbrk.c (TEST_NAME): Likewise.
15248 * string/test-strrchr.c (TEST_NAME): Likewise.
15249 * string/test-strspn.c (TEST_NAME): Likewise.
15250 * string/test-strstr.c (TEST_NAME): Likewise.
15251 * string/test-bcopy-ifunc.c: New file.
15252 * string/test-bzero-ifunc.c: Likewise.
15253 * string/test-memccpy-ifunc.c: Likewise.
15254 * string/test-memchr-ifunc.c: Likewise.
15255 * string/test-memcmp-ifunc.c: Likewise.
15256 * string/test-memcpy-ifunc.c: Likewise.
15257 * string/test-memmem-ifunc.c: Likewise.
15258 * string/test-memmove-ifunc.c: Likewise.
15259 * string/test-mempcpy-ifunc.c: Likewise.
15260 * string/test-memset-ifunc.c: Likewise.
15261 * string/test-rawmemchr-ifunc.c: Likewise.
15262 * string/test-stpcpy-ifunc.c: Likewise.
15263 * string/test-stpncpy-ifunc.c: Likewise.
15264 * string/test-strcasecmp-ifunc.c: Likewise.
15265 * string/test-strcasestr-ifunc.c: Likewise.
15266 * string/test-strcat-ifunc.c: Likewise.
15267 * string/test-strchr-ifunc.c: Likewise.
15268 * string/test-strchrnul-ifunc.c: Likewise.
15269 * string/test-strcmp-ifunc.c: Likewise.
15270 * string/test-strcpy-ifunc.c: Likewise.
15271 * string/test-strcspn-ifunc.c: Likewise.
15272 * string/test-strlen-ifunc.c: Likewise.
15273 * string/test-strncasecmp-ifunc.c: Likewise.
15274 * string/test-strncat-ifunc.c: Likewise.
15275 * string/test-strncmp-ifunc.c: Likewise.
15276 * string/test-strncpy-ifunc.c: Likewise.
15277 * string/test-strnlen-ifunc.c: Likewise.
15278 * string/test-strpbrk-ifunc.c: Likewise.
15279 * string/test-strrchr-ifunc.c: Likewise.
15280 * string/test-strspn-ifunc.c: Likewise.
15281 * string/test-strstr-ifunc.c: Likewise.
15282
de54b33a
L
15283 * debug/Makefile (tests-ifunc): New variable.
15284 (tests): Add $(tests-ifunc).
15285 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15286 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15287 * debug/test-stpcpy_chk-ifunc.c: New file.
15288 * debug/test-strcpy_chk-ifunc.c: Likewise.
15289
88481c16
SP
152902012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15291
15292 [BZ #13601]
15293 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15294 header is not read in.
15295
135948bd
JM
152962012-10-19 Joseph Myers <joseph@codesourcery.com>
15297
89f1c388
JM
15298 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15299 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15300 directly. Pass built executable to script as
15301 $(built-program-cmd).
15302 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15303 $testprogram without using LD_LIBRARY_PATH and $ldso.
15304
e40a0d21
JM
15305 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15306 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15307 $(rtld-installed-name).
15308 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15309 (rtld_installed_name): Likewise.
15310 (library_path): Likewise.
15311 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15312 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15313 $(run-program-prefix) to tst-tables.sh.
15314 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15315 it to run tst-table-from and tst-table-to.
15316 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15317 Pass it to tst-table.sh.
15318 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15319 $(run-program-prefix) to tst-gettext.sh.
15320 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15321 tst-translit.sh.
15322 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15323 tst-gettext2.sh.
15324 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15325 to run tst-gettext.
15326 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15327 to run tst-gettext2.
15328 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15329 to run tst-translit.
15330 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15331 $(run-program-prefix) to tst-mtrace.sh.
15332 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15333 to run tst-mtrace.
15334 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15335 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15336 $(rtld-installed-name).
15337 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15338 (rtld_installed_name): Likewise.
15339 (run_program_prefix): New variable. Use it to run wordexp-test.
15340
728e272a
JM
15341 * Makeconfig (ARCH): Remove all definitions.
15342 (machine): Likewise.
15343 [ARCH]: Remove conditional code.
15344 [!objdir]: Give error.
15345 [!objdir] (objpfx): Remove.
15346 [!objdir] (common-objpfx): Likewise.
15347 [!objdir] (common-objdir): Likewise.
15348 * configure.in (config_makefile): Remove. Hardcode Makefile in
15349 AC_CONFIG_FILES call.
15350 * configure: Regenerated.
15351
d528cdcf
JM
15352 [BZ #13888]
15353 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15354 or TMPDIR.
15355 (testout): Likewise.
15356
135948bd
JM
15357 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15358 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15359 $(rtld-installed-name).
15360 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15361 (rtld_installed_name): Likwise.
15362 (runit): Remove function.
15363 (run_getconf): New variable, Use it for running getconf binary.
15364
38c78296
L
153652012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15366
15367 [BZ #14716]
15368 * string/test-memmem.c (check_result): New function.
15369 (do_one_test): Use it.
15370 (check1): New function.
15371 (test_main): Use it.
15372
d077f65f
MT
153732012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15374
15375 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15376
ced52c71
JM
153772012-10-18 Joseph Myers <joseph@codesourcery.com>
15378
15379 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15380 (_G_LSEEK64): Likewise.
15381 (_G_MMAP64): Likewise.
15382 (_G_FSTAT64): Likewise.
15383 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15384 (_G_LSEEK64): Likewise.
15385 (_G_MMAP64): Likewise.
15386 (_G_FSTAT64): Likewise.
15387 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15388 unconditional. Call __mmap64 directly.
15389 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15390 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15391 __lseek64 directly.
15392 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15393 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15394 __mmap64 directly.
15395 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15396 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15397 __lseek64 directly.
15398 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15399 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15400 __lseek64 directly.
15401 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15402 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15403 __lseek64 directly.
15404 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15405 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15406 __fxstat64 directly.
15407 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15408 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15409 unconditional.
15410 (freopen64) [!_G_OPEN64]: Remove conditional code.
15411 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15412 unconditional.
15413 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15414 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15415 unconditional.
15416 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15417 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15418 unconditional.
15419 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15420 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15421 unconditional.
15422 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15423 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15424 unconditional.
15425 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15426 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15427 unconditional.
15428 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15429 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15430 unconditional.
15431 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15432
b741de23
SP
154332012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15434
15435 [BZ #12140]
15436 * manual/memory.texi (Malloc Tunable Parameters): Add note
15437 about free list pointers overwriting some perturb bytes.
15438 Wording suggested by Roland McGrath.
15439
f9b9d9c9
JM
154402012-10-17 Joseph Myers <joseph@codesourcery.com>
15441
15442 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15443 (lgamma_test): Likewise.
15444 (tgamma_test): Likewise.
15445
172a631a
FW
154462012-10-16 Florian Weimer <fweimer@redhat.com>
15447
15448 [BZ #14700]
15449 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15450 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15451
e9f37252
MK
154522012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15453
15454 * NEWS: Mention BZ #14716.
15455 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15456 when removing AVAILABLE1_USES_J macro.
15457
d394eb74
L
154582012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15459
15460 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15461 (__bswap_64): __uint64_t for unsigned 64-bit int.
15462
ca38dc17
AS
154632012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15464
15465 * include/string.h (memmem): Declare libc hidden alias.
15466 * string/memmem.c (memmem): Define libc hidden alias.
15467 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15468 __read, __close instead of open, read, close.
15469
9a387d1f
L
154702012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15471
ac49ecaf
L
15472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15473 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15474 global and hidden.
15475 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15476 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15477 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15478 Likewise.
15479 (__rawmemchr_sse2): Likewise.
15480 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15481 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15482 (__strchr_sse2): Likewise.
15483 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15484 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15485 (__strcasecmp_sse2): Likewise.
15486 (__strncasecmp_sse2): Likewise.
15487 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15488 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15489 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15490 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15491 (__strrchr_sse2): Likewise.
15492 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15493 ifunc-impl-list.c.
15494 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15495 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15496 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15497 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15498 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15499 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15500 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15501 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15502 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15503 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15504 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15505 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15506 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15507 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15508 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15509 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15510 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15511 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15512 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15513 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15514 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15515 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15516 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15517 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15518 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15519 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15520 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15521 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15522 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15523 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15524
b090e8ea
L
15525 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15526 global and hidden.
15527 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15528 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15529 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15530 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15531 Likewise.
15532 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15533 Likewise.
15534 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15535 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15536 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15537 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15538 ifunc-impl-list.c.
15539 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15540 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15541 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15542 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15543 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15544 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15545 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15546 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15547 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15548 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15549 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15550 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15551 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15552 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15553 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15555 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15556 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15559 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15564 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15565 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15566 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15567 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15569 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15570 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15573 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15580
11dd4af6
L
15581 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15582 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15583 * include/ifunc-impl-list.h: New file.
15584 * misc/ifunc-impl-list.c: Likewise.
15585 * misc/Makefile (routines): Add ifunc-impl-list.
15586 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15587 * string/test-string.h: Include <ifunc-impl-list.h>.
15588 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15589 impl_array): New variables.
15590 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15591 are defined.
15592 (test_init): Call __libc_ifunc_impl_list to initialize
15593 func_list if TEST_IFUNC and TEST_NAME are defined.
15594
9a387d1f
L
15595 * string/Makefile (strop-tests): Add bcopy and bzero.
15596 * string/test-bcopy.c: New file.
15597 * string/test-bzero.c: Likewise.
15598 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15599 defined.
15600 * string/test-memset.c: Support bzero test if TEST_BZERO is
15601 defined.
15602 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15603 __libc_memmove.
15604 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15605 __libc_memset.
15606 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15607 of memset.
15608
472371b9
JM
156092012-10-10 Joseph Myers <joseph@codesourcery.com>
15610
1e4a9536
JM
15611 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15612 * configure: Regenerated.
15613
d173d12e
JM
15614 * Makeconfig (+link-static-before-libc): Don't include
15615 $(link-static-libc).
15616
472371b9
JM
15617 * libio/libio.h (_IO_pos_t): Remove.
15618
89a3ad0b
AO
156192012-10-10 Alexandre Oliva <aoliva@redhat.com>
15620
15621 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15622 McGrath.
15623
e7451425
AO
156242012-10-10 Alexandre Oliva <aoliva@redhat.com>
15625
15626 * crypt/crypt-entry.c: Include fips-private.h.
15627 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15628 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15629 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15630 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15631
4ba74a35
AO
156322012-10-10 Alexandre Oliva <aoliva@redhat.com>
15633
15634 * crypt/crypt-private.h: Include stdbool.h.
15635 (_ufc_setup_salt_r): Return bool.
15636 * crypt/crypt-entry.c: Include errno.h.
15637 (__crypt_r): Return NULL with EINVAL for bad salt.
15638 * crypt/crypt_util.c (bad_for_salt): New.
15639 (_ufc_setup_salt_r): Check that salt is long enough and within
15640 the specified alphabet.
15641 * crypt/badsalttest.c: New file.
15642 * crypt/Makefile (tests): Add it.
15643 ($(objpfx)badsalttest): New.
15644
f96f1242
MK
156452012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15646
15647 * NEWS: Add entry for BZ #14602.
15648
0e8e0c1c
JM
156492012-10-09 Joseph Myers <joseph@codesourcery.com>
15650
15651 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15652 type-generic.
15653 * math/libm-test.inc: Update comment listing what functions and
15654 macros are tested.
15655 (isgreater_test): New function.
15656 (isgreaterequal_test): Likewise.
15657 (isless_test): Likewise.
15658 (islessequal_test): Likewise.
15659 (islessgreater_test): Likewise.
15660 (isunordered_test): Likewise.
15661 (main): Call the new functions.
15662
273edc5e
RM
156632012-10-09 Roland McGrath <roland@hack.frob.com>
15664
b8493de0
RM
15665 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15666 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15667 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15668 * sysdeps/i386/configure: Regenerated.
15669 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15670 * sysdeps/mach/configure: Regenerated.
15671 * sysdeps/mach/hurd/configure: Regenerated.
15672 * sysdeps/powerpc/configure: Regenerated.
15673 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15674 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15675 * sysdeps/s390/s390-32/configure: Regenerated.
15676 * sysdeps/s390/s390-64/configure: Regenerated.
15677 * sysdeps/sh/configure: Regenerated.
15678 * sysdeps/sparc/configure: Regenerated.
15679 * sysdeps/unix/sysv/linux/configure: Regenerated.
15680 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15681 * sysdeps/x86_64/configure: Regenerated.
15682
273edc5e
RM
15683 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15684 defined. Don't check if MAP is NULL.
15685
c8450f70
JM
156862012-10-09 Joseph Myers <joseph@codesourcery.com>
15687
15688 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15689 (_G_stat64): Likewise.
15690 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15691 (_G_stat64): Likewise.
15692 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15693 instead of struct _G_stat64.
15694 * libio/fileops.c (mmap_remap_check): Likewise.
15695 (decide_maybe_mmap): Likewise.
15696 (_IO_new_file_seekoff): Likewise.
15697 (_IO_file_stat): Likewise.
15698 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15699 _G_off64_t.
15700 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15701 instead of struct _G_stat64.
15702 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15703
57e605ba
MK
157042012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15705
15706 [BZ #14602]
15707 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15708 Replace with ...
15709 (CHECK_EOL): New macro.
15710 (two_way_short_needle): Check beginning of haystack for EOL. Use
15711 CHECK_EOL.
15712 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15713 Replace with CHECK_EOL.
15714 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15715 Replace with CHECK_EOL.
15716
ef1bb361
JM
157172012-10-08 Joseph Myers <joseph@codesourcery.com>
15718
15719 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15720 type-generic.
15721 * math/libm-test.inc: Update comment listing what functions and
15722 macros are tested.
15723 (finite_test): New function.
15724 (isinf_test): Likewise.
15725 (isnan_test): Likewise.
15726 (fpclassify_test): Test subnormal input.
15727 (isfinite_test): Likewise.
15728 (isnormal_test): Likewise.
15729 (main): Call the new functions.
15730
55f11534
JN
157312012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15732
15733 [BZ #14660]
15734 * Makerules (%.dynsym): Force C locale when running
15735 $(OBJDUMP) --dynamic-syms.
15736
1ab29350
AS
157372012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15738
15739 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15740 <stdint.h>.
15741
f1ecb7ef
DM
157422012-10-06 David S. Miller <davem@davemloft.net>
15743
15744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15745 upper 32-bits of the length value in %o2 since we use branch-on-register
15746 tests which consider the entire 64-bit register.
15747
5d41d91a
L
157482012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15749
15750 * string/test-strstr.c (check2): Add a test for page boundary.
15751
3baddb72
DM
157522012-10-05 David S. Miller <davem@davemloft.net>
15753
15754 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15755 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15756 file.
15757 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15758 sysdep_routines.
15759 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15760 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15761 and bzero when HWCAP_SPARC_CRYPTO is present.
15762
9cee5585
L
157632012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15764
d7e0dab9
L
15765 [BZ #14602]
15766 * string/test-strstr.c (check2): New function.
15767 (test_main): Call check2.
15768
03759f47
L
15769 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15770 and bug-strchr1.
15771 * string/bug-strcasestr1.c (do_test): Moved to ...
15772 * string/test-strcasestr.c (check1): Here. New function.
15773 (do_one_test): Break out result checking code into ...
15774 (check_result): This. New function.
15775 (do_one_test): Call check_result.
15776 (test_main): Call check1.
15777 * string/bug-strchr1.c (do_test): Moved to ...
15778 * string/test-strchr.c (check1): Here. New function.
15779 (do_one_test): Break out result checking code into ...
15780 (check_result): This. New function.
15781 (do_one_test): Call check_result.
15782 (test_main): Call check1.
15783 * string/bug-strstr1.c (main): Moved to ...
046f153e 15784 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15785 (do_one_test): Break out result checking code into ...
15786 (check_result): This. New function.
15787 (do_one_test): Call check_result.
15788 (test_main): Call check1.
15789 * string/bug-strcasestr1.c: Removed.
15790 * string/bug-strchr1.c: Likewise.
15791 * string/bug-strstr1.c: Likewise.
15792
53cea63e
L
15793 * elf/Makefile (dl-routines): Add hwcaps.
15794 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15795 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15796 (_dl_important_hwcaps): Moved to ...
15797 * elf/dl-hwcaps.c: Here. New file.
15798 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15799
9cee5585 15800 [BZ #14557]
bb859b06
L
15801 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15802 if IS_IN_rtld isn't defined.
15803
9cee5585
L
15804 * elf/dl-support.c (_dl_sysinfo_map): New.
15805 Include "get-dynamic-info.h" and "setup-vdso.h".
15806 (_dl_non_dynamic_init): Call setup_vdso.
15807 * elf/dynamic-link.h: Don't include <assert.h>.
15808 (elf_get_dynamic_info): Moved to ...
15809 * elf/get-dynamic-info.h: Here. New file.
15810 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15811 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15812 * elf/setup-vdso.h: Here. New file.
15813 * elf/rtld.c: Include "setup-vdso.h".
15814 (dl_main): Call setup_vdso.
15815
23c31b76
JM
158162012-10-05 Joseph Myers <joseph@codesourcery.com>
15817
28234b07
JM
15818 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15819 creal in comment listing functions tested. List finite, isinf,
15820 isnan, isless, islessequal, isgreater, isgreaterequal,
15821 islessgreater, isunordered, lgamma_r and pow10 as functions and
15822 macros not tested. Mention which functions not tested are aliases
15823 for other functions. Fix typo. Note that signs of NaNs are not
15824 tested.
15825
23c31b76
JM
15826 * scripts/config.guess: Update from config.git.
15827 * scripts/config.sub: Likewise.
15828
9043e228
RM
158292012-10-04 Roland McGrath <roland@hack.frob.com>
15830
15831 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15832 * misc/madvise.c (madvise): Renamed to __madvise.
15833 Make madvise a weak alias.
15834 * include/sys/mman.h: Declare __madvise.
15835 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15836 * sysdeps/unix/syscalls.list
15837 (madvise): Make __madvise the strong name, and madvise a weak alias.
15838 * sysdeps/unix/sysv/linux/syscalls.list
15839 (madvise, mmap): Remove redundant entries.
15840 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15841 * malloc/malloc.c (mtrim): Likewise.
15842 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15843
f57f8055
RM
158442012-10-03 Roland McGrath <roland@hack.frob.com>
15845
15846 * sysdeps/mach/hurd/dl-cache.c: File removed.
15847 * config.h.in (USE_LDCONFIG): New #undef.
15848 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15849 * configure: Regenerated.
15850 * elf/Makefile (dl-routines): Add dl-cache only under
15851 [$(use-ldconfig) = yes].
15852 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15853 cache on [USE_LDCONFIG].
15854 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15855 [USE_LDCONFIG].
15856 * elf/rtld.c (dl_main): Likewise.
15857
5bb0c10a
PT
158582012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15859
15860 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15861 _SC_LEVEL4_CACHE_LINESIZE.
15862
010188c6
RM
158632012-10-03 Roland McGrath <roland@hack.frob.com>
15864
15865 * sysdeps/unix/bsd/confstr.h: File removed.
15866
b6c5ec07
AO
158672012-10-02 Alexandre Oliva <aoliva@redhat.com>
15868
15869 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15870 sys/sdt-config.h.
15871
408223d4
RM
158722012-10-02 Roland McGrath <roland@hack.frob.com>
15873
15874 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15875 Make 'mapoff' field ElfW(Off) rather than off_t.
15876
bb9510dc
DL
158772012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15878
fc997c6e
DL
15879 * nscd/Makefile: Remove nscd-cflags and all its users.
15880 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15881 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15882
bb9510dc
DL
15883 [BZ #10631]
15884 * malloc.c (malloc_printerr): Clarify error message.
15885
05699367
L
158862012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15887
15888 [BZ #14648]
15889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15890 Set bit_FMA_Usable if FMA is supported.
15891 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15892 macro.
15893 (bit_FMA4_Usable): Updated.
15894 (index_FMA_Usable): New macro.
15895 (CPUID_FMA): Likewise
15896 (HAS_FMA): Defined with bit_FMA_Usable.
15897
51367701
RM
158982012-10-01 Roland McGrath <roland@hack.frob.com>
15899
15900 * bits/types.h (__swblk_t): Type removed.
15901 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15902 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15904 (__SWBLK_T_TYPE): Likewise.
15905 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15906 (__SWBLK_T_TYPE): Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15908 (__SWBLK_T_TYPE): Likewise.
15909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15910 (__SWBLK_T_TYPE): Likewise.
15911
4d57bf63 159122012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15913 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15914
15915 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15916 (xdr_mapname): Use YPMAXMAP as maxsize.
15917 (xdr_peername): Use YPMAXPEER as maxsize.
15918 (xdr_keydat): Use YPAXRECORD as maxsize.
15919 (xdr_valdat): Use YPMAXRECORD as maxsize.
15920
93c65d43
RM
159212012-10-01 Roland McGrath <roland@hack.frob.com>
15922
497a03d6
RM
15923 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15924
93c65d43
RM
15925 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15926 * csu/init-first.c: ... here.
15927 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15928 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15929 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15930 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15931 * sysdeps/i386/init-first.c: File removed.
15932 * sysdeps/sh/init-first.c: File removed.
15933
bec749fd
JM
159342012-10-01 Joseph Myers <joseph@codesourcery.com>
15935
15936 [BZ #14645]
15937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15938 if x * y might underflow to zero and z is zero.
15939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15941 * math/libm-test.inc (min_subnorm_value): New variable.
15942 (fma_test): Add more tests.
15943 (fma_test_towardzero): Likewise.
15944 (fma_test_downward): Likewise
15945 (fma_test_upward): Likewise.
15946 (initialize): Set min_subnorm_value.
15947
8ec5b013
JM
159482012-09-29 Joseph Myers <joseph@codesourcery.com>
15949
15950 [BZ #14638]
15951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15952 0 + 0.
15953 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15954 mode for addition resulting in exact zero.
15955 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15957 exact 0 + 0.
15958 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15960 * math/libm-test.inc (fma_test): Add more tests.
15961 (fma_test_towardzero): New function.
15962 (fma_test_downward): Likewise.
15963 (fma_test_upward): Likewise.
15964 (main): Call the new functions.
15965
b1fa802e
DM
159662012-09-28 David S. Miller <davem@davemloft.net>
15967
15968 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15969
d3b9fd9e
RM
159702012-09-28 Roland McGrath <roland@hack.frob.com>
15971
ea4d37b3
RM
15972 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15973 instead of SIGALRM.
15974
ac51c949
RM
15975 * sysdeps/gnu/_G_config.h: Moved to ...
15976 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15977 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15978 * sysdeps/generic/_G_config.h: ... here.
15979
28c195f7
RM
15980 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15981
848917f9
RM
15982 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15983
6bacf05b
RM
15984 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15985 Conditionalize target on [libnss_test1.so-version].
15986
91363dbb
RM
15987 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15988
cc87f7d8
RM
15989 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15990 (elfobjdir): Move out of conditionals.
15991
b1c608fe
RM
15992 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15993 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15994 (__nss_lookup_function): Conditionalize label remove_from_tree on
15995 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15996
1d9a6d96
DM
159972012-09-28 David S. Miller <davem@davemloft.net>
15998
15999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16000 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16001 file.
16002 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16003 sysdep_routines.
16004 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16006 when HWCAP_SPARC_CRYPTO is present.
16007
72581615
PT
160082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16009
16010 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16011
715a900c
JL
160122012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16013
16014 [BZ #6530]
16015 * stdio-common/vfprintf.c (process_string_arg): Revert
16016 2000-07-22 change.
16017
160182011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16019
16020 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16021 for testcase.
16022 * stdio-common/tst-sprintf.c: Include <locale.h>
16023 (main): Test sprintf's handling of incomplete multibyte
16024 characters.
16025
9bac1d86
L
160262012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16027
16028 * elf/dl-runtime.c (VERSYMIDX): Removed.
16029 * elf/dl-version.c (VERSYMIDX): Likewise.
16030 * elf/do-rel.h (VERSYMIDX): Likewise.
16031 (VALIDX): Likewise.
16032 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16033 * elf/rtld.c (VALIDX): Likewise.
16034 (ADDRIDX): Likewise.
9bac1d86
L
16035 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16036 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16037 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16038 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16039 (VALIDX): Likewise.
16040 (ADDRIDX): Likewise.
9bac1d86 16041
b31606c0
PT
160422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16043
16044 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16045
11541177
JL
160462012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16047
16048 [BZ #11438]
16049 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16050 to global scope.
16051 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16052 addresses are in the same scope as 192.0.2/24.
16053 * posix/gai.conf: Document new scope table defaults.
16054
adb26fae
SP
160552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16056
16057 [BZ #5298]
16058 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16059 for ftell. Compute offsets from write pointers instead.
16060 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16061
4573c6b0
SP
160622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16063
16064 [BZ #14543]
16065 * libio/Makefile (tests): New test case tst-fseek.
16066 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16067 combination works in wide mode.
16068 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16069 state when the external buffer state changes.
16070
aa9bbfe6
DM
160712012-09-27 David S. Miller <davem@davemloft.net>
16072
16073 [BZ #14376]
16074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16075 pass reloc->r_addend in as the 'high' argument to
16076 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16077
784421e7
DM
16078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16079
c39bc8b8
PT
160802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16081
16082 * rt/tst-aio2.c: Include <pthread.h>.
16083 * rt/tst-aio3.c: Likewise.
16084
1ccc2399
SE
160852012-09-27 Steve Ellcey <sellcey@mips.com>
16086
16087 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16088
31ed4153
L
160892012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16090
25f5f885
L
16091 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16092 contents on [SHARED].
31ed4153 16093
b7bfe116
MP
160942012-09-26 Marek Polacek <polacek@redhat.com>
16095
16096 [BZ #14530]
16097 [BZ #13741]
16098 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16099 for C++ and GCC <4.3 as well as for non GCC compilers.
16100
43c4edba
MT
161012012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16102
16103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16104
6a1bf82f
RM
161052012-09-25 Roland McGrath <roland@hack.frob.com>
16106
16107 * Makefile.in (all, install): Declare with .PHONY.
16108 Reported by Michael Hope <michael.hope@linaro.org>.
16109
8ad11b9a
TMQMF
161102012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16111
16112 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16113 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16114 system header.
16115 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16116 Likewise.
16117 (sydep_routines): Add the new and the internal functions.
16118 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16119 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16121 (GLIBC_2.17): Add the new function.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16123 (GLIBC_2.17): Likewise.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16125 (GLIBC_2.17): Likewise.
16126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16127 (GLIBC_2.17): Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16129
7e2fca8d
AM
161302012-09-25 Alan Modra <amodra@gmail.com>
16131
16132 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16133 Add release barrier before setting once_control to say
16134 initialisation is done. Add hints on lwarx. Use macro in
16135 place of isync.
16136 (clear_once_control): Add release barrier.
16137
b87c4b24
JM
161382012-09-25 Joseph Myers <joseph@codesourcery.com>
16139
d032e0d2
JM
16140 [BZ #13629]
16141 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16142 specially.
16143 * math/s_clog10.c (__clog10): Likewise.
16144 * math/s_clog10f.c (__clog10f): Likewise.
16145 * math/s_clog10l.c (__clog10l): Likewise.
16146 * math/s_clogf.c (__clogf): Likewise.
16147 * math/s_clogl.c (__clogl): Likewise.
16148 * math/Makefile (libm-calls): Add x2y2m1.
16149 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16150 (__x2y2m1): Likewise.
16151 (__x2y2m1l): Likewise.
16152 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16153 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16156 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16157 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16158 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16159 * sysdeps/i386/fpu/libm-test-ulps: Update.
16160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16161
b87c4b24
JM
16162 [BZ #14621]
16163 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16164 int as type of variable DEPTH.
16165 (glob): Use size_t instead of int as type of variables NEWCOUNT
16166 and OLD_PATHC.
16167
6d3bf199
LD
161682012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16169
22bf5c17
LD
16170 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16171 Add s_sincosf-sse2.
16172 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16173 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16174 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16175 macros for using routine as __sincosf_ia32.
16176 Use macro for function declaration and weak_alias.
16177 * sysdeps/i386/fpu/libm-test-ulps: Update.
16178
16179 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16181
16182 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16183 subnormal argument.
16184 * math/s_cexpf.c (__cexpf): Likewise.
16185 * math/s_csinf.c (__csinf): Likewise.
16186 * math/s_csinhf.c (__csinhf): Likewise.
16187 * math/s_ctanf.c (__ctanf): Likewise.
16188 * math/s_ctanhf.c (__ctanhf): Likewise.
16189 * math/s_ccosh.c (__ccoshf): Likewise.
16190 * math/s_cexp.c (__cexpl): Likewise.
16191 * math/s_csin.c (__csin): Likewise.
16192 * math/s_csinh.c (__csinh): Likewise.
16193 * math/s_ctan.c (__ctan): Likewise.
16194 * math/s_ctanh.c (ctanh): Likewise.
16195 * math/s_ccoshl.c (__ccoshl): Likewise.
16196 * math/s_cexpl.c (__cexpl): Likewise.
16197 * math/s_csinl.c (__csinl): Likewise.
16198 * math/s_csinhl.c (__csinhl): Likewise.
16199 * math/s_ctanl.c (__ctanl): Likewise.
16200 * math/s_ctanhl.c (__ctanhl): Likewise.
16201
203e5603
JM
162022012-09-25 Joseph Myers <joseph@codesourcery.com>
16203
16204 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16205 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16206 (_IO_off_t): Define to __off_t, not _G_off_t.
16207 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16208 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16209 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16210 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16211 type of __dummy and __dummy2 fields.
16212 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16213 (_G_ssize_t): Likewise.
16214 (_G_off_t): Likewise.
16215 (_G_pid_t): Likewise.
16216 (_G_uid_t): Likewise.
16217 (_G_wchar_t): Likewise.
16218 (_G_wint_t): Likewise.
16219 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16220 (_G_ssize_t): Likewise.
16221 (_G_off_t): Likewise.
16222 (_G_pid_t): Likewise.
16223 (_G_uid_t): Likewise.
16224 (_G_wchar_t): Likewise.
16225 (_G_wint_t): Likewise.
16226 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16227 (_G_ssize_t): Likewise.
16228 (_G_off_t): Likewise.
16229 (_G_pid_t): Likewise.
16230 (_G_uid_t): Likewise.
16231 (_G_wchar_t): Likewise.
16232 (_G_wint_t): Likewise.
16233
9fab36eb
SP
162342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16235
16236 * malloc/arena.c: Include malloc-sysdep.h.
16237 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16238 is sufficient to shrink the heap or an unmap is needed.
16239 * sysdeps/generic/malloc-sysdep.h: New file. Define
16240 new function check_may_shrink_heap.
16241 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16242 new function check_may_shrink_heap.
16243
2b4f00d1
SP
162442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16245
16246 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16247 comments.
16248
9a9028b1
DL
162492012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16250
57c69bef
DL
16251 * catgets/test-gencat.sh: Add "set -e".
16252 * elf/tst-pathopt.sh: Likewise.
16253 * grp/tst_fgetgrent.sh: Likewise.
16254 * iconvdata/run-iconv-test.sh: Likewise.
16255 * intl/tst-gettext.sh: Likewise.
16256 * intl/tst-gettext2.sh: Likewise.
16257 * intl/tst-gettext4.sh: Likewise.
16258 * intl/tst-gettext6.sh: Likewise.
16259 * intl/tst-translit.sh: Likewise.
16260 * io/ftwtest-sh: Likewise.
16261 * libio/test-freopen.sh: Likewise.
16262 * malloc/tst-mtrace.sh: Likewise.
16263 * posix/globtest.sh: Likewise.
16264 * posix/tst-getconf.sh: Likewise.
16265 * posix/wordexp-tst.sh: Likewise.
16266 * stdio-common/tst-printf.sh: Likewise.
16267 * stdio-common/tst-unbputc.sh: Likewise.
16268 * stdlib/tst-fmtmsg.sh: Likewise.
16269 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16270 * catgets/Makefile: Do not specify -e option when running
16271 testsuite shell scripts.
16272 * elf/Makefile: Likewise.
16273 * grp/Makefile: Likewise.
16274 * iconvdata/Makefile: Likewise.
16275 * intl/Makefile: Likewise.
16276 * io/Makefile: Likewise.
16277 * libio/Makefile: Likewise.
16278 * malloc/Makefile: Likewise.
16279 * posix/Makefile: Likewise.
16280 * stdio-common/Makefile: Likewise.
16281 * stdlib/Makefile: Likewise.
16282 * sysdeps/x86_64/Makefile: Likewise.
16283
9a9028b1
DL
16284 * io/ftwtest-sh: Add copyright header.
16285 * posix/globtest.sh: Likewise.
16286 * posix/tst-getconf.sh: Likewise.
16287 * posix/wordexp-tst.sh: Likewise.
16288 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16289
ced6f16e
L
162902012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16291
94b32c39
L
16292 [BZ #13679]
16293 * Makeconfig (+link): Defined as $(+link-static) if
16294 $(build-shared) isn't yes.
16295 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16296 isn't yes.
16297 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16298
189e935b
L
16299 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16300
ced6f16e
L
16301 [BZ #14562]
16302 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16303 new chunk size with MALLOC_ALIGN_MASK.
16304
a9f8e53a
JM
163052012-09-24 Joseph Myers <joseph@codesourcery.com>
16306
16307 [BZ #5044]
16308 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16309 <rounding-mode.h>.
16310 (__printf_fphex): Determine rounding using get_rounding_mode and
16311 round_away.
16312 * stdio-common/tst-printf-round.c (struct hex_test): New
16313 structure.
16314 (hex_tests): New variable.
16315 (test_hex_in_one_mode): New function.
16316 (do_test): Also run tests for hex float output.
16317
43153109
JM
163182012-09-21 Joseph Myers <joseph@codesourcery.com>
16319
16320 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16321 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16322 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16323 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16324 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16325 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16326 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16328
8a26625d
JM
163292012-09-20 Joseph Myers <joseph@codesourcery.com>
16330
16331 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16332 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16333 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16334 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16335
f3fd569c
DL
163362012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16337
16338 [BZ #14579]
16339 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16340 mode only.
16341 * elf/tst-rtld-load-self.sh: New test.
16342 * elf/Makefile: Run it.
16343
63bbedd4
JM
163442012-09-18 Joseph Myers <joseph@codesourcery.com>
16345
16346 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16347 (tst-writev-ENV): Remove.
16348 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16349
626f8b6a
CM
163502012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16351
16352 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16353
b7aaa4d6
JM
163542012-09-17 Joseph Myers <joseph@codesourcery.com>
16355
16356 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16357 unconditional.
16358 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16359 Likewise.
16360 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16361 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16363 Likewise.
16364
65513990
L
163652012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16366
16367 [BZ #14587]
16368 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16369 * config.make.in (have-cpp-asm-debuginfo): Removed.
16370 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16371 * configure: Regenerated.
16372
784761be
JM
163732012-09-14 Joseph Myers <joseph@codesourcery.com>
16374
16375 [BZ #5044]
16376 * stdio-common/printf_fp.c: Include <stdbool.h> and
16377 <rounding-mode.h>.
16378 (___printf_fp): Determine rounding using get_rounding_mode and
16379 round_away.
16380 * stdio-common/tst-printf-round.c: New file.
16381 * stdio-common/Makefile (tests): Add tst-printf-round.
16382 (link-libm): New variable.
16383 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16384
9503345f
L
163852012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16386
16387 [BZ #14576]
16388 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16389 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16390 Likewise.
16391 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16392 Likewise.
16393
ad35fc00
JM
163942012-09-13 Joseph Myers <joseph@codesourcery.com>
16395
16396 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16397 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16398 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16399 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16400
6c9b0f68
JM
164012012-09-12 Joseph Myers <joseph@codesourcery.com>
16402
16403 [BZ #14518]
16404 * include/rounding-mode.h: New file.
16405 * sysdeps/generic/get-rounding-mode.h: Likewise.
16406 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16407 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16408 (MAX_VALUE): New macro.
16409 (MIN_VALUE): Likewise.
16410 (overflow_value): New function.
16411 (underflow_value): Likewise.
16412 (round_and_return): Use overflow_value and underflow_value to
16413 determine return values in overflow and underflow cases. Use
16414 round_away to determine rounding depending on rounding mode.
16415 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16416 determine return values in overflow and underflow cases.
16417 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16418 (struct test_results): New structure.
16419 (struct test): Use struct test_results to store expected results
16420 for all rounding modes.
16421 (TEST): Include expected results for all rounding modes.
16422 (test_in_one_mode): New function.
16423 (do_test): Use test_in_one_mode to compute and check results.
16424 Check results for all rounding modes.
16425 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16426 $(link-libm).
16427
19fcedd5
AM
164282012-12-09 Allan McRae <allan@archlinux.org>
16429
1e9d84cd 16430 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16431
8bbfd2f1
JM
164322012-09-11 Joseph Myers <joseph@codesourcery.com>
16433
16434 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16435 (_G_int32_t): Likewise.
16436 (_G_uint16_t): Likewise.
16437 (_G_uint32_t): Likewise.
16438 (_G_HAVE_BOOL): Likewise.
16439 (_G_HAVE_ATEXIT): Likewise.
16440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16441 (_G_HAVE_IO_FILE_OPEN): Likewise.
16442 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16443 (_G_int32_t): Likewise.
16444 (_G_uint16_t): Likewise.
16445 (_G_uint32_t): Likewise.
16446 (_G_HAVE_BOOL): Likewise.
16447 (_G_HAVE_ATEXIT): Likewise.
16448 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16449 (_G_HAVE_IO_FILE_OPEN): Likewise.
16450 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16451 (_G_int32_t): Likewise.
16452 (_G_uint16_t): Likewise.
16453 (_G_uint32_t): Likewise.
16454 (_G_HAVE_BOOL): Likewise.
16455 (_G_HAVE_ATEXIT): Likewise.
16456 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16457 (_G_HAVE_IO_FILE_OPEN): Likewise.
16458
b1dc5912
L
164592012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16460
16461 * csu/libc-tls.c: Update copyright years.
16462
0e886ef9
JM
164632012-09-10 Joseph Myers <joseph@codesourcery.com>
16464
28361c5e
JM
16465 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16466 [!_G_USING_THUNKS]: Remove conditional code.
16467 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16468 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16469
0e886ef9
JM
16470 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16471 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16472 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16473 (_G_VTABLE_LABEL_PREFIX): Likewise.
16474 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16475 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16477 (_G_VTABLE_LABEL_PREFIX): Likewise.
16478 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16479 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16480 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16481 (_G_VTABLE_LABEL_PREFIX): Likewise.
16482 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16483
bcba7aa2
L
164842012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 * libio/Makefile: Include ../Makeconfig before tests.
16487 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16488 only if $(build-shared) is yes.
16489
06585ee8
L
16490 * iconv/gconv_db.c: Update copyright years.
16491
80ccd52c
LD
164922012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16493
16494 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16495 unwind info if defined PIC. Fix special cases description.
16496 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16497
16498 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16499 DP_HI_MASK entry.
16500 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16501
691bc9c1
L
165022012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16503
3d9b46b3
L
16504 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16505
de2139a9
L
16506 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16507 is NULL.
16508
5ca78dd0
L
16509 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16510 (LDLIBS-tst-chk4): This.
16511 (LDFLAGS-tst-chk5): Renamed to ...
16512 (LDLIBS-tst-chk5): This.
16513 (LDFLAGS-tst-chk6): Renamed to ...
16514 (LDLIBS-tst-chk6): This.
16515 (LDFLAGS-tst-lfschk4): Renamed to ...
16516 (LDLIBS-tst-lfschk4): This.
16517 (LDFLAGS-tst-lfschk5): Renamed to ...
16518 (LDLIBS-tst-lfschk5): This.
16519 (LDFLAGS-tst-lfschk6): Renamed to ...
16520 (LDLIBS-tst-lfschk6): This.
16521
691bc9c1
L
16522 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16523 on $(common-objpfx)soversions.mk.
16524
65cafb1c
JM
165252012-09-07 Joseph Myers <joseph@codesourcery.com>
16526
16527 [BZ #10014]
16528 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16529 example host name.
16530
c78ab094
SP
165312012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16532
16533 * malloc/arena.c (arena_get_retry): New function that gets
16534 another arena for the caller to try its request on.
16535 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16536 current arena cannot fulfill the request.
16537 (__libc_memalign): Likewise.
16538 (__libc_memalign): Likewise.
16539 (__libc_pvalloc): Likewise.
16540 (__libc_calloc): Likewise.
16541
01f49f59
JT
165422012-09-05 John Tobey <john.tobey@gmail.com>
16543
16544 [BZ #13542]
16545 * manual/arith.texi (Operations on Complex): Fix description
16546 of carg branch cut.
16547
4c23fed5
JM
165482012-09-06 Joseph Myers <joseph@codesourcery.com>
16549
1d3c8572
JM
16550 [BZ #10014]
16551 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16552 host name.
16553
4c23fed5
JM
16554 [BZ #10038]
16555 * manual/memory.texi (Memory): Make order of menu items match
16556 order of sections.
16557
04570aaa
L
165582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16559
16560 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16561 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16562 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16563
b80af2f4
L
165642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16565
16566 * csu/libc-tls.c (static_dtv): Renamed to ...
16567 (_dl_static_dtv): This. Make it global.
16568 (_dl_initial_dtv): Removed.
16569 (__libc_setup_tls): Updated.
16570 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16571 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16572 DL_INITIAL_DTV.
16573
2abe9f15
PM
165742012-09-06 Petr Machata <pmachata@redhat.com>
16575
16576 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16577 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16578 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16579 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16580
0948c3af
L
165812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16582
16583 [BZ #14545]
16584 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16585 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16586 freeing dtv[-1].
16587
a5055ad1
L
165882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16589
16590 [BZ #14544]
16591 * Makeconfig (link-static-before-libc): Replace $(+prector)
16592 with $(+prectorT).
16593 (link-static-after-libc): Replace $(+postctor) with
16594 $(+postctorT).
16595 (link-bounded): Replace $(+prector)/$(+postctor) with
16596 $(+prectorT)/$(+postctorT).
16597 (+prectorT): New macro.
16598 (+postctorT): Likewise.
16599
ed8c2ecd
JM
166002012-09-06 Joseph Myers <joseph@codesourcery.com>
16601
16602 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16603 (round_str): Handle values above the maximum for IBM long double
16604 as inexact.
16605 * stdlib/tst-strtod-round.c (tests): Regenerated.
16606
14c996c8
AK
166072012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16608
16609 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16610 assembler flag.
16611 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16612 zarch_nohighgprs around the zarch optimized routines.
16613 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16614 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16615 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16616 for zarch.
16617
430d6ce6
DM
166182012-09-05 David S. Miller <davem@davemloft.net>
16619
16620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16621
ff04dda4
DM
16622 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16623 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16624 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16625 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16626 entries.
16627
24d4e01b
AO
166282012-09-05 Alexandre Oliva <aoliva@redhat.com>
16629
16630 * malloc/arena.c: Fold copyright years.
16631 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16632
61d58174
AO
166332012-09-05 Alexandre Oliva <aoliva@redhat.com>
16634
16635 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16636
20196a5e
AO
166372012-09-05 Alexandre Oliva <aoliva@redhat.com>
16638
16639 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16640
5c447383
AO
166412012-09-05 Alexandre Oliva <aoliva@redhat.com>
16642
16643 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16644 change internal state upon failure.
16645
fad64255
AO
166462012-09-05 Alexandre Oliva <aoliva@redhat.com>
16647
16648 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16649 * malloc/memusage.c (mmap): Likewise.
16650 (mmap64, mremap): Likewise. Adjust name in comment.
16651
1ffb8c90
SP
166522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16653
16654 * libio/fileops.c: Fix typos in comments.
16655 * libio/oldfileops.c: Likewise.
16656 * libio/wfileops.c: Likewise.
16657
6ef9cc37
SP
166582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16659
16660 [BZ #1349]
16661 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16662 (tst-malloc-usable-ENV): Set environment for test case.
16663 * malloc/hooks.c (malloc_check_get_size): New function to get
16664 requested size.
16665 * malloc/malloc.c (musable): Use malloc_check_get_size.
16666 * malloc/tst-malloc-usable.c: New test case.
16667
4d038ae3
AS
166682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16669
16670 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16671
c4e85184
AM
166722012-09-05 Allan McRae <allan@archlinux.org>
16673
b9dafc56 16674 [BZ #13966]
c4e85184
AM
16675 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16676 determine header location.
16677 * configure: Regenerated.
16678
e1343020
AS
166792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16680
16681 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16682 float format.
16683 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16684 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16685 format.
e1343020
AS
16686 (test): Regenerate.
16687
0a9f1987
DM
166882012-09-04 David S. Miller <davem@davemloft.net>
16689
16690 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16691 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16693
29237804
FW
166942012-09-04 Florian Weimer <fweimer@redhat.com>
16695
16696 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16697 failures.
16698
edb3cb88
FW
16699 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16700
60160d83
JM
167012012-09-04 Joseph Myers <joseph@codesourcery.com>
16702
16703 [BZ #9914]
16704 * libio/iogetdelim.c: Include <limits.h>.
16705 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16706 + len + 1 would overflow.
16707
bcd6c8dc
AJ
167082012-09-03 Andreas Jaeger <aj@suse.de>
16709
16710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712
4ffffbd2
LD
167132012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16714
16715 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16716 Add s_sinf-sse2, s_conf-sse2.
16717
16718 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16719 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16720 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16721 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16722
16723 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16724 for using routine as __sinf_ia32.
16725 Use macro for function declaration and weak_alias.
16726 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16727 for using routine as __cosf_ia32.
16728 Use macro for function declaration and weak_alias.
16729
16730 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16731 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16732
16733 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16734 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16736
16737 * math/libm-test.inc (cos_test): Add more test cases.
16738 (sin_test): Likewise.
16739 (sincos_test): Likewise.
16740
511fa286
AK
167412012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16742
16743 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16744 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16745 hidden.
16746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16747
5f30cfec
L
167482012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16749
16750 [BZ #14538]
16751 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16752 first element of the GOT.
16753 (elf_machine_load_address): Return the difference between
16754 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16755
0786794f
AM
167562012-09-01 Allan McRae <allan@archlinux.org>
16757
5f30cfec
L
16758 [BZ #13412]
16759 * configure.in (AWK): Require gawk version 3.0 or later.
16760 * configure: Regenerated.
0786794f 16761
26889eac
JM
167622012-09-01 Joseph Myers <joseph@codesourcery.com>
16763
16764 * sysdeps/unix/sysv/linux/kernel-features.h
16765 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16767 [__NR_clock_getres]: Make code unconditional.
16768 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16769 (clock_getcpuclockid): Remove code left unreachable by removal of
16770 conditionals.
16771 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16772 code unconditional.
16773 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16775 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16776 Make code unconditional.
16777 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16778 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16779 * sysdeps/unix/sysv/linux/clock_settime.c
16780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16781 conditional code.
16782 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16783 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16784
d22e28b0
L
167852012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16786
16787 [BZ #14476]
16788 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16789 scripts/test-installation.pl.
16790
16791 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16792 and $ld_so_version if it is set.
16793
050af9c4
SP
167942012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16795
16796 [BZ #14516]
16797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16798 failure if reading from procfs failed.
16799 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16800
ad845c0b
JM
168012012-08-27 Joseph Myers <joseph@codesourcery.com>
16802
16803 * sysdeps/unix/sysv/linux/kernel-features.h
16804 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16805 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16806 Remove conditional code.
16807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16808 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16809 Remove conditional code.
16810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16811 * sysdeps/unix/sysv/linux/i386/fxstat.c
16812 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16814 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16815 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16817 * sysdeps/unix/sysv/linux/i386/lxstat.c
16818 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16820 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16821 Remove conditional code.
16822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16823 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16824 Remove conditional code.
16825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16826 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16827 <kernel-features.h>.
16828 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16829 Remove.
16830 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16831 Remove conditional code.
16832 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16833 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16834 Remove conditional.
16835
5dbf56af
MF
168362012-08-27 Mike Frysinger <vapier@gentoo.org>
16837
16838 [BZ #5400]
16839 * NEWS: Add fixed bug number.
16840
d6e70f43
JM
168412012-08-27 Joseph Myers <joseph@codesourcery.com>
16842
7efb4737
JM
16843 [BZ #14519]
16844 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16845 underflowing exponent in case of negative sign.
16846 * stdlib/tst-strtod-round-data: Add more tests.
16847 * stdlib/tst-strtod-round.c (tests): Regenerated.
16848
af92131a
JM
16849 [BZ #3479]
16850 * stdlib/strtod_l.c (NDIG): Remove.
16851 (HEXNDIG): Likewise.
16852 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16853 smallest representable value.
16854 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16855 lie within an exact representation of 1/2 ulp of the result.
16856 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16857 unconditionally.
16858 (TENS_P9_IDX): Define unconditionally.
16859 (TENS_P9_SIZE): Likewise.
16860 (TENS_P10_IDX): Likewise.
16861 (TENS_P10_SIZE): Likewise.
16862 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16863 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16864 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16865 entries for 10^2^13 and 10^2^14.
16866 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16867 (TENS_P13_IDX): Define.
16868 (TENS_P13_SIZE): Likewise.
16869 (TENS_P14_IDX): Likewise.
16870 (TENS_P14_SIZE): Likewise.
16871 (_fpioconst_pow10): Change array size to
16872 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16873 unconditional.
16874 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16875 1024]: Add entries for 10^2^13 and 10^2^14.
16876 [LAST_POW10 > _LAST_POW10]: Remove #error.
16877 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16878 (_fpioconst_pow10): Change array size to
16879 FPIOCONST_POW10_ARRAY_SIZE.
16880 * stdlib/gen-fpioconst.c: New file.
16881 * stdlib/gen-tst-strtod-round.c: Likewise.
16882 * stdlib/tst-strtod-round-data: Likewise.
16883 * stdlib/tst-strtod-round.c: Likewise.
16884 * stdlib/Makefile (tests): Add tst-strtod-round.
16885
d6e70f43
JM
16886 [BZ #14459]
16887 * stdlib/strtod_l.c: Include <stdint.h>.
16888 (NDEBUG): Do not define.
16889 (round_and_return): Change EXPONENT parameter to type intmax_t.
16890 Rearrange calculations to avoid internal overflow possibilities.
16891 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16892 Rearrange calculations to avoid internal overflow possibilities.
16893 Assert that number fits inside MPNSIZE limbs.
16894 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16895 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16896 calculations and add assertions to avoid internal overflow
16897 possibilities. Add casts to avoid signed/unsigned operations.
16898 * stdlib/tst-strtod-overflow.c: New file.
16899 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16900
1f529f7d
MP
169012012-08-25 Marek Polacek <polacek@redhat.com>
16902
16903 * time/time.h: Fix some typos in comments.
16904
59a629f1
RM
169052012-08-23 Roland McGrath <roland@hack.frob.com>
16906
16907 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16908 * posix/tst-rfc3484-2.c: Likewise.
16909 * posix/tst-rfc3484-3.c: Likewise.
16910
d3bafbc9
SM
169112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16912
16913 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16914 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16915
4efcc022
JM
169162012-08-23 Joseph Myers <joseph@codesourcery.com>
16917
16918 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16919 #include of fxstatat64.c.
16920
3cc3ef96
RM
169212012-08-22 Roland McGrath <roland@hack.frob.com>
16922
f04e2132
RM
16923 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16924 * shadow/getspent_r.c: Likewise.
16925 * shadow/getspnam.c: Likewise.
16926 * shadow/getspnam_r.c: Likewise.
16927 * gshadow/getsgent.c: Likewise.
16928 * gshadow/getsgent_r.c: Likewise.
16929 * gshadow/getsgnam.c: Likewise.
16930 * gshadow/getsgnam_r.c: Likewise.
16931 * inet/getnetbyad.c: Likewise.
16932 * inet/getnetbyad_r.c: Likewise.
16933 * inet/getnetbynm.c: Likewise.
16934 * inet/getnetbynm_r.c: Likewise.
16935 * inet/getnetent.c: Likewise.
16936 * inet/getnetent_r.c: Likewise.
16937 * inet/getproto.c: Likewise.
16938 * inet/getproto_r.c: Likewise.
16939 * inet/getprtent.c: Likewise.
16940 * inet/getprtent_r.c: Likewise.
16941 * inet/getprtname.c: Likewise.
16942 * inet/getprtname_r.c: Likewise.
16943 * inet/getrpcbyname.c: Likewise.
16944 * inet/getrpcbyname_r.c: Likewise.
16945 * inet/getrpcbynumber.c: Likewise.
16946 * inet/getrpcbynumber_r.c: Likewise.
16947 * inet/getrpcent.c: Likewise.
16948 * inet/getrpcent_r.c: Likewise.
16949 * inet/getaliasent.c: Likewise.
16950 * inet/getaliasent_r.c: Likewise.
16951 * inet/getaliasname.c: Likewise.
16952 * inet/getaliasname_r.c: Likewise.
16953 * nscd/getgrgid_r.c: Likewise.
16954 * nscd/getgrnam_r.c: Likewise.
16955 * nscd/gethstbyad_r.c: Likewise.
16956 * nscd/gethstbynm3_r.c: Likewise.
16957 * nscd/getpwnam_r.c: Likewise.
16958 * nscd/getpwuid_r.c: Likewise.
16959 * nscd/getsrvbynm_r.c: Likewise.
16960 * nscd/getsrvbypt_r.c: Likewise.
16961 * nscd/gai.c: Likewise.
16962
c53d909c
RM
16963 * configure.in (build_nscd): New substituted variable, set
16964 by --disable-build-nscd and defaults to $use_nscd.
16965 * configure: Regenerated.
16966 * config.make.in (build-nscd): New substituted variable.
16967 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16968 Change conditional to require [$(build-nscd) = yes] as well.
16969 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16970
3cc3ef96
RM
16971 [BZ# 13696]
16972 * configure.in (use_nscd): New substituted variable, set by
16973 --disable-nscd. If enabled, define USE_NSCD.
16974 * configure: Regenerated.
16975 * config.h.in: Add USE_NSCD.
16976 * config.make.in (use-nscd): New substituted variable.
16977 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16978 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16979 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16980 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16981 (CFLAGS-getgrnam_r.c): Likewise.
16982 (CFLAGS-initgroups.c): Likewise.
16983 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16984 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16985 Variables removed.
16986 * inet/getnetgrent_r.c
16987 (nscd_setnetgrent): New function, broken out of ...
16988 (setnetgrent): ... here. Call it.
16989 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16990 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16991 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16992 * nscd/Makefile (routines, aux): Move definitions after include of
16993 Makeconfig. Conditionalize on [$(use-nscd) != no].
16994 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16995 Conditionalize on [USE_NSCD].
16996 (is_nscd, nscd_init_cb): Likewise.
16997 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16998 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16999 * nss/nss_db/db-init.c: Likewise.
17000 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17001 [USE_NSCD].
17002 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17003 (make_request): Use it.
17004 (cache_valid_p): New function.
17005 (__check_pf): Use it.
17006 * NEWS: Add item for --disable-nscd.
17007
07e51550
DL
170082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17009
17010 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17011 to support sed >= 4.2.1-20-ga9bf076.
17012 * configure: Regenerated.
17013
35a5b08b
RM
170142012-08-22 Roland McGrath <roland@hack.frob.com>
17015
17016 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17017 Conditionalize whole body on [IREL].
17018
8479f23a
JL
170192012-08-22 Jeff Law <law@redhat.com>
17020
17021 [BZ #14505]
17022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17023 if the family is PF_UNSPEC.
17024
48da0b21
MF
170252012-08-22 Mike Frysinger <vapier@gentoo.org>
17026
17027 * Makerules (lib-version): Rename from V.
17028 (install-lib-nosubdir): Change V to lib-version.
17029
15d0da8c
WS
170302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17031
17032 [BZ #14252]
17033 * powerpc32/power6/wcschr.c: New file.
17034 * powerpc32/power6/wcscpy.c: New file.
17035 * powerpc32/power6/wcsrchr.c: New file.
17036 * powerpc64/power6/wcschr.c: New file.
17037 * powerpc64/power6/wcscpy.c: New file.
17038 * powerpc64/power6/wcsrchr.c: New file.
17039
bcca0895
MK
170402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17041
17042 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17043 (two_way_short_needle): Use it.
5a4aaa33
RM
17044 * string/strstr.c (AVAILABLE1_USES_J): Define.
17045 * string/strcasestr.c: Likewise.
99677e57
MK
17046
17047 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17048 array references.
17049 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17050
400726de
MK
17051 [BZ #11607]
17052 * NEWS: Add an entry.
17053 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17054 define their defaults.
17055 (two_way_short_needle): Detect end-of-string on-the-fly.
17056 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17057 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17058 * string/bug-strcasestr1.c: New test.
17059 * string/Makefile: Run it.
17060
20a71f2c
MK
170612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17062
17063 [BZ #11607]
17064 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17065 the first character.
17066
21ad0558
RM
170672012-08-21 Roland McGrath <roland@hack.frob.com>
17068
17069 * csu/elf-init.c (__libc_csu_irel): Function removed.
17070 * csu/libc-start.c (apply_irel): New function.
17071 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17072
0e1d9911
JM
170732012-08-21 Joseph Myers <joseph@codesourcery.com>
17074
17075 * sysdeps/unix/sysv/linux/kernel-features.h
17076 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17077 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17078 <kernel-features.h>.
17079 [__NR_fadvise64_64]: Make code unconditional.
17080 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17081 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17082 !__NR_fadvise64_64)]: Likewise.
17083 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17084 !__NR_fadvise64_64))]: Likewise.
17085 [__NR_fadvise64]: Make code unconditional.
17086 [!__NR_fadvise64]: Remove conditional code.
17087 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17088 <kernel-features.h>.
17089 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17090 unconditional.
17091 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17092 conditional code.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17094 not include <kernel-features.h>.
17095 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17096 unconditional.
17097 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17098 conditional code.
17099 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17100 include <kernel-features.h>.
17101 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17102 unconditional.
17103 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17104 conditional code.
17105
14a50c9d
WS
171062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17107
17108 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17109 slight instruction rearrangements per scrollpipe analysis.
17110 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17111
c0f4faf0
RM
171122012-08-20 Roland McGrath <roland@hack.frob.com>
17113
696da859
RM
17114 * manual/syslog.texi (syslog; vsyslog, closelog):
17115 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17116 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17117
c0f4faf0
RM
17118 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17119 DSOCAPS to match condition on defining it.
17120
348363b2
JM
171212012-08-20 Joseph Myers <joseph@codesourcery.com>
17122
a35cbf28
JM
17123 * sysdeps/unix/sysv/linux/kernel-features.h
17124 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17126 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17127 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17129 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17130 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17132 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17133 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17134
445f7ecd
JM
17135 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17136 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17137
348363b2
JM
17138 * sysdeps/unix/sysv/linux/kernel-features.h
17139 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17140 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17141 unconditional.
17142 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17143 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17144 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17145 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17146 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17147 Make code unconditional.
17148 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17149 (__mmap64) [!__NR_mmap2]: Likewise.
17150 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17151 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17152 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17153 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17154 [__NR_mmap2]: Make code unconditional.
17155 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17156 (__mmap64) [!__NR_mmap2]: Likewise.
17157
bc5bc0e5
AK
171582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17159
17160 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17161
88d506de
AJ
171622012-08-18 Andreas Jaeger <aj@suse.de>
17163
17164 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17165
493387d2
MF
171662012-08-18 Mike Frysinger <vapier@gentoo.org>
17167
17168 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17169 * include/unistd.h (__have_sock_cloexec): Likewise.
17170 (__have_pipe2): Likewise.
17171 (__have_dup3): Likewise.
17172
a277af22
MF
171732012-08-18 Mike Frysinger <vapier@gentoo.org>
17174
17175 [BZ #9685]
17176 * include/unistd.h (__have_pipe2): Change define into an extern int.
17177 (__have_dup3): Likewise.
17178 * socket/have_sock_cloexec.c: Include fcntl.h.
17179 (__have_pipe2): New variable.
17180 (__have_dup3): Likewise.
17181
fdab8fd3
MF
171822012-08-17 Mike Frysinger <vapier@gentoo.org>
17183
17184 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17185
31035e80
MP
171862012-08-17 Marek Polacek <polacek@redhat.com>
17187
17188 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17189 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17190
3bd9e993
RM
171912012-08-17 Roland McGrath <roland@hack.frob.com>
17192
c91c505f
RM
17193 * configure.in: Add AC_SUBST for sysheaders.
17194 * configure: Regenerated.
17195 * config.make.in (sysheaders): New substituted variable.
17196
7c6f9d53
RM
17197 * sysdeps/unix/mkfifo.c: Moved ...
17198 * sysdeps/posix/mkfifo.c: ... here.
17199 * sysdeps/unix/mkfifoat.c: Moved ...
17200 * sysdeps/posix/mkfifoat.c: ... here.
17201
17202 * sysdeps/unix/utime.c: Moved ...
17203 * sysdeps/posix/utime.c: ... here.
17204
17205 * sysdeps/unix/time.c: Moved ...
17206 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17207 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17208 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17209
17210 * sysdeps/unix/nice.c: Moved ...
17211 * sysdeps/posix/nice.c: ... here.
17212
17213 * sysdeps/unix/alarm.c: Moved ...
17214 * sysdeps/posix/alarm.c: ... here.
17215
3bd9e993
RM
17216 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17217
d1f09384
JL
172182012-08-17 Jeff Law <law@redhat.com>
17219
17220 * intl/Makefile (codeset_mo): New variable.
17221 ($(codeset_mo)): New target.
17222 (tst-codeset.out): Depend on that. Remove explicit rule.
17223 (tst-gettext3.out, tst-gettext5.out): Likewise.
17224 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17225 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17226 * intl/tst-codeset.sh: Remove.
17227 * intl/tst-gettext3.sh: Likewise.
17228 * intl/tst-gettext5.sh: Likewise.
17229
2ae1ae5c
RM
172302012-08-17 Roland McGrath <roland@hack.frob.com>
17231
c31fdb83
RM
17232 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17233 * sysdeps/unix/syscalls.list: ... here.
17234
a0844057
RM
17235 * sysdeps/posix/getaddrinfo.c
17236 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17237 (gaiconf_init, gaiconf_reload): Use them.
17238 [!_STATBUF_ST_NSEC]
17239 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17240 Define using time_t rather than struct timespec.
17241
750c1f2a
RM
17242 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17243 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17244 Macros removed.
17245 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17246 [!NO_THREADS].
17247 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17248 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17249 Likewise.
17250
2ae1ae5c
RM
17251 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17252 __libc_cleanup_push argument.
17253
e66a42f5
RM
17254 * bits/param.h: New file.
17255 * misc/sys/param.h: New file.
17256 * include/sys/param.h: New file.
17257 * misc/Makefile (headers): Add bits/param.h.
17258 * sysdeps/generic/sys/param.h: File removed.
17259 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17260 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17261 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17262 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17263
b7c08a66
RM
17264 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17265 last change.
17266
b2e1c562
RM
17267 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17268 [_IO_MTSAFE_IO].
17269 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17270 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17271 New macros.
17272
c75ccd4c
RM
17273 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17274 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17275 rather than -D_IO_MTSAFE_IO conditionally.
17276 * stdio-common/Makefile (CPPFLAGS): Likewise.
17277 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17278 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17279 Use $(libio-mtsafe).
17280 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17281 of -D_IO_MTSAFE_IO.
17282 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17283 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17284 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17285 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17286 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17287 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17288 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17289 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17290 (CFLAGS-fread_u_chk.c): Likewise.
17291 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17292 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17293 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17294 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17295 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17296 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17297 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17298 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17299 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17300
17301 * libio/Makefile: Test [$(libc-reentrant) = yes]
17302 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17303
17304 * Makeconfig
17305 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17306 * sysdeps/pthread/configure: File removed.
17307 * sysdeps/pthread/Makeconfig: New file.
17308 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17309 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17310
d9195db8
GB
173112012-08-16 Gary Benson <gbenson@redhat.com>
17312
17313 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17314 unmapping the first object in a namespace.
17315
86466cd9
RM
173162012-08-16 Roland McGrath <roland@hack.frob.com>
17317
17318 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17319 (__internal_setnetgrent): ... this. Add internal_function to
17320 definition. Add libc_hidden_def.
17321 (setnetgrent): Update caller.
17322 (internal_endnetgrent): Renamed to ...
17323 (__internal_endnetgrent): ... this. Add internal_function to
17324 definition. Add libc_hidden_def.
17325 (endnetgrent): Update caller.
17326 (internal_getnetgrent_r): Renamed to ...
17327 (__internal_getnetgrent_r): ... this. Add internal_function to
17328 definition. Add libc_hidden_def.
17329 (__getnetgrent_r): Update caller.
17330 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17331
c3c8283c
JM
173322012-08-16 Joseph Myers <joseph@codesourcery.com>
17333
17334 * stdlib/longlong.h: Update from GCC.
17335
db1ee0a8
RM
173362012-08-16 Roland McGrath <roland@hack.frob.com>
17337
17338 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17339 on _QL, which is set by umul_ppmm but never used.
17340 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17341 variables, which are set by GMP macros but never used.
17342 * stdio-common/_itowa.c (_itowa): Likewise.
17343 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17344 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17345
30f69637
CD
173462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17347
17348 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17349 struct La_sh_regs is not constant.
17350 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17351 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17352 and struct La_sparc64_regs are not constant.
17353
93a78ac4
JM
173542012-08-16 Joseph Myers <joseph@codesourcery.com>
17355
17356 * sysdeps/unix/sysv/linux/kernel-features.h
17357 (__ASSUME_POSIX_TIMERS): Remove.
17358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17360 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17361 Make code unconditional.
17362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17363 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17364 Make code unconditional.
17365 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17366 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17367 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17368 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17369 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17370 Make code unconditional.
17371 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17372 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17373 (__libc_missing_posix_timers): Remove.
17374
dd924cd7
RM
173752012-08-15 Roland McGrath <roland@hack.frob.com>
17376
4b4f2771
RM
17377 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17378 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17379
601c888b
RM
17380 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17381
176790a7
RM
17382 * elf/dl-sym.c: Include <stdlib.h>.
17383
329bc018
RM
17384 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17385 constants, which avoids warnings in 32-bit builds.
17386
e04e272d
RM
17387 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17388 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17389
952bf94a
RM
17390 * misc/lseek.c: File moved to ...
17391 * io/lseek.c: ... here.
17392
7c99b50a
RM
17393 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17394
dd924cd7
RM
17395 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17396 shifting LEN more than 31 bits at once.
17397
b3f479a8
LD
173982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17399
17400 [BZ #14195]
8c4ae0d4
RM
17401 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17402 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17403 * string/test-strncasecmp.c (check1): Renamed to...
17404 (bz12205): ...this.
17405 (bz14195): Add new testcase for two empty input strings and N > 0.
17406 (test_main): Call new testcase, adapt for renamed function.
17407
9c55864e
AJ
174082012-08-15 Andreas Jaeger <aj@suse.de>
17409
17410 [BZ #14090]
17411 * crypt/md5test2.c: New test, based on test supplied by Serge
17412 Belyshev <belyshev@depni.sinp.msu.ru>.
17413 * crypt/Makefile (xtests): Add md5test-giant..
17414 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17415
02dcb6c5
PE
174162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17417
17418 [BZ #14090]
17419 * crypt/md5.c (md5_process_block): Don't assume the buffer
17420 length is less than 2**32.
17421 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17422 length is less than 2**64.
17423
a3f95dcc
RM
174242012-08-15 Roland McGrath <roland@hack.frob.com>
17425
be75d758
RM
17426 * string/str-two-way.h: Include <sys/param.h>.
17427 (MAX): Macro removed.
17428
7312ca90
RM
17429 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17430 Move #define and #undef of memmove to just before and after
17431 including <string.h>.
17432
9a0a5486
RM
17433 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17434 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17435 and after including <string.h>. Move declarations of
17436 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17437 to before #include "string/memmove.c".
17438
67cc348d
RM
17439 * include/dirent.h: Declare __getdirentries.
17440
a3f95dcc
RM
17441 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17442 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17443
ca98e171
MF
174442012-08-14 Mike Frysinger <vapier@gentoo.org>
17445
17446 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17447 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17448 * sysdeps/i386/configure: Regenerated.
17449 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17450 STABS_CURRENT_FILE, and STABS_FUN.
17451 (END): Remove call to STABS_FUN_END.
17452 (STABS_CURRENT_FILE1): Delete.
17453 (STABS_CURRENT_FILE): Likewise.
17454 (STABS_FUN): Likewise.
17455 (STABS_FUN_END): Likewise.
17456 (STABS_FUN2): Likewise.
17457 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17458 * sysdeps/x86_64/configure: Regenerated.
17459
5908bf46
RM
174602012-08-14 Roland McGrath <roland@hack.frob.com>
17461
17462 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17463 * elf/dl-lookup.c: Likewise.
5908bf46 17464
f2c05b9e
JM
174652012-08-14 Joseph Myers <joseph@codesourcery.com>
17466
17467 * sysdeps/unix/sysv/linux/kernel-features.h
17468 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17469 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17470 unconditionally.
17471 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17472 unconditionally.
17473 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17474 condition on __ASSUME_CLONE_THREAD_FLAGS.
17475
e11f5155
AJ
174762012-08-14 Andreas Jaeger <aj@suse.de>
17477
17478 * sysdeps/i386/fpu/libm-test-ulps: Update.
17479
51a9ba86
MK
174802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17481
2fdd4f78
AJ
17482 * include/atomic.h (atomic_exchange_and_add): Split into ...
17483 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17484 New atomic macros.
51a9ba86 17485
ba6cba9e
MT
174862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17487
17488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17489
42443a47
JL
174902012-08-13 Jeff Law <law@redhat.com>
17491
17492 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17493 null byte in the output string.
17494
121dce05
JM
174952012-08-10 Joseph Myers <joseph@codesourcery.com>
17496
17497 * sysdeps/unix/sysv/linux/kernel-features.h
17498 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17499 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17500 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17501 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17502 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17503 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17504 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17505
bf51f568
JL
175062012-08-09 Jeff Law <law@redhat.com>
17507
17508 [BZ #13939]
17509 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17510 When avoid_arena is set, don't retry in the that arena. Pick the
17511 next one, whatever it might be.
17512 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17513 (arena_lock): Pass in new parameter to arena_get2.
17514 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17515 arena_get2.
17516 (__libc_malloc): Unify retrying after main arena failure with
17517 __libc_memalign version.
17518 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17519
f85fa270
L
175202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17521
17522 [BZ #14166]
17523 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17524 to __redirect_strstr.
17525 (__strstr_sse42): Use typeof __redirect_strstr.
17526 (__strstr_ia32): Likewise.
17527 (__libc_strstr): New prototype.
17528 (strstr): Renamed to ...
17529 (__libc_strstr): This.
17530 (strstr): New strong alias of __libc_strstr.
17531 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17532 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17533 __redirect_time.
17534 Include <time.h>.
17535 (__libc_time): New prototype.
17536 (time_ifunc): Replace time with __libc_time.
17537 (time): New strong alias and hidden definition of __libc_time.
17538 (__GI_time): Remove strong alias.
17539 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17540 Include <stddef.h>.
17541 (memmove): Redefined to __redirect_memmove.
17542 (__memmove_sse2): Use typeof __redirect_memmove.
17543 (__memmove_ssse3): Likewise.
17544 (__memmove_ssse3_back): Likewise.
17545 (__libc_memmove): New prototype.
17546 (memmove): Renamed to ...
17547 (__libc_memmove): This.
17548 (memmove): New strong alias of __libc_memmove.
17549
33b4a91e
MS
175502012-08-08 Mark Salter <msalter@redhat.com>
17551
17552 * elf/elf.h
17553 (R_MN10300_TLS_GD): Define.
17554 (R_MN10300_TLS_LD): Likewise.
17555 (R_MN10300_TLS_LDO): Likewise.
17556 (R_MN10300_TLS_GOTIE): Likewise.
17557 (R_MN10300_TLS_IE): Likewise.
17558 (R_MN10300_TLS_LE): Likewise.
17559 (R_MN10300_TLS_DTPMOD): Likewise.
17560 (R_MN10300_TLS_DTPOFF): Likewise.
17561 (R_MN10300_TLS_TPOFF): Likewise.
17562 (R_MN10300_SYM_DIFF): Likewise.
17563 (R_MN10300_ALIGN): Likewise.
17564 (R_MN10300_NUM): Update.
17565
b36137f1
JM
175662012-08-08 Joseph Myers <joseph@codesourcery.com>
17567
17568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17569 Remove.
17570
cdd915fd
RM
175712012-08-08 Roland McGrath <roland@hack.frob.com>
17572
a2433aac
RM
17573 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17574
cdd915fd
RM
17575 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17576 sysdeps/unix -> sysdeps/posix move.
17577 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17578
bf9b740a
AM
175792012-08-07 Allan McRae <allan@archlinux.org>
17580
17581 [BZ #14303]
17582 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17583 (SUNOS_CPP): Likewise.
17584 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17585 not found.
17586 (open_input): Call CPP using execvp.
17587
93df14ee
JM
175882012-08-07 Joseph Myers <joseph@codesourcery.com>
17589
17590 * sysdeps/unix/sysv/linux/kernel-features.h
17591 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17592 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17593 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17594 (__ASSUME_WAITID_SYSCALL): Likewise.
17595 * sysdeps/unix/sysv/linux/dl-execstack.c
17596 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17597 code unconditional.
17598 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17599 conditional code.
17600 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17601 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17602 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17603 code.
17604 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17605 unconditional.
17606 [__ASSUME_WAITID_SYSCALL]: Likewise.
17607 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17608
d34689de
RM
176092012-08-07 Roland McGrath <roland@hack.frob.com>
17610
a281decc
RM
17611 * sysdeps/unix/closedir.c: Renamed to ...
17612 * sysdeps/posix/closedir.c: ... here.
17613 * sysdeps/unix/dirfd.c: Renamed to ...
17614 * sysdeps/posix/dirfd.c: ... here.
17615 * sysdeps/unix/dirstream.h: Renamed to ...
17616 * sysdeps/posix/dirstream.h: ... here.
17617 * sysdeps/unix/fdopendir.c: Renamed to ...
17618 * sysdeps/posix/fdopendir.c: ... here.
17619 * sysdeps/unix/opendir.c: Renamed to ...
17620 * sysdeps/posix/opendir.c: ... here.
17621 * sysdeps/unix/readdir.c: Renamed to ...
17622 * sysdeps/posix/readdir.c: ... here.
17623 * sysdeps/unix/readdir_r.c: Renamed to ...
17624 * sysdeps/posix/readdir_r.c: ... here.
17625 * sysdeps/unix/rewinddir.c: Renamed to ...
17626 * sysdeps/posix/rewinddir.c: ... here.
17627 * sysdeps/unix/seekdir.c: Renamed to ...
17628 * sysdeps/posix/seekdir.c: ... here.
17629 * sysdeps/unix/telldir.c: Renamed to ...
17630 * sysdeps/posix/telldir.c: ... here.
17631 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17632 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17633 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17634 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17635
22895b47
RM
17636 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17637 * bits/fcntl.h: ... here.
17638
707a53b6
RM
17639 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17640 not 0.
17641 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17642 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17643 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17644 (struct flock): Move l_start, l_len to the beginning.
17645 Use __pid_t for l_pid.
17646 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17647 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17648 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17649 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17650 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17651 [__USE_LARGEFILE64] (struct flock64): New type.
17652 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17653
f0bd3e25
RM
17654 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17655 * bits/dirent.h: ... here.
17656
d34689de
RM
17657 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17658 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17659
6dad2c06
JM
176602012-08-07 Joseph Myers <joseph@codesourcery.com>
17661
17662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17663 Change from 2.6.0 to 2.6.16.
17664 * sysdeps/unix/sysv/linux/configure: Regenerated.
17665 * sysdeps/unix/sysv/linux/kernel-features.h
17666 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17667 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17668 version.
17669 (__ASSUME_UTIMES): Likewise.
17670 (__ASSUME_CLONE_STOPPED): Remove.
17671 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17672 architectures, not kernel version.
17673 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17674 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17675 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17676 (__ASSUME_WAITID_SYSCALL): Likewise.
17677 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17678 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17679 * README: State 2.6.16 as minimum Linux kernel version. Do not
17680 refer to older versions.
17681
03af9520
RM
176822012-08-06 Roland McGrath <roland@hack.frob.com>
17683
8e49df1d
RM
17684 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17685 Define alphasort64 as an alias.
17686 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17687 Define versionsort64 as an alias.
17688 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17689 Define scandir64 as an alias.
17690 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17691 Define scandirat64 as an alias.
17692 * dirent/alphasort64.c (alphasort64):
17693 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17694 * dirent/versionsort64.c: Likewise.
17695 * dirent/scandir64.c: Likewise.
17696 * dirent/scandirat64.c: Likewise.
17697 * sysdeps/wordsize-64/alphasort.c: File removed.
17698 * sysdeps/wordsize-64/alphasort64.c: File removed.
17699 * sysdeps/wordsize-64/scandir.c: File removed.
17700 * sysdeps/wordsize-64/scandir64.c: File removed.
17701 * sysdeps/wordsize-64/scandirat.c: File removed.
17702 * sysdeps/wordsize-64/scandirat64.c: File removed.
17703 * sysdeps/wordsize-64/versionsort.c: File removed.
17704 * sysdeps/wordsize-64/versionsort64.c: File removed.
17705 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17706 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17708 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17710 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17711 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17713
17714 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17716 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17718 [defined __arch64__ || defined __sparcv9]
17719 (__INO_T_MATCHES_INO64_T): New macro.
17720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17721 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17722 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17723 * sysdeps/unix/sysv/linux/bits/dirent.h
17724 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17725 (_DIRENT_MATCHES_DIRENT64): New macro.
17726
03af9520
RM
17727 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17728 Define lockf64 as an alias.
17729 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17730 Define fseeko64 as an alias.
17731 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17732 Define ftello64 as an alias.
17733 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17734 Define _IO_fgetpos64 and fgetpos64 as aliases.
17735 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17736 Define _IO_fsetpos64 and fsetpos64 as aliases.
17737 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17738 Conditionalize body on this.
17739 * libio/fseeko64.c: Likewise.
17740 * libio/ftello64.c: Likewise.
17741 * libio/iofgetpos64.c: Likewise.
17742 * libio/iofsetpos64.c: Likewise.
17743 * sysdeps/wordsize-64/lockf.c: File removed.
17744 * sysdeps/wordsize-64/lockf64.c: File removed.
17745 * sysdeps/wordsize-64/fseeko.c: File removed.
17746 * sysdeps/wordsize-64/fseeko64.c: File removed.
17747 * sysdeps/wordsize-64/ftello.c: File removed.
17748 * sysdeps/wordsize-64/ftello64.c: File removed.
17749 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17750 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17751 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17752 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17761 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17762 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17763
17764 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17766 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17768 [defined __arch64__ || defined __sparcv9]
17769 (__OFF_T_MATCHES_OFF64_T): New macro.
17770 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17771 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17773 (__OFF_T_MATCHES_OFF64_T): New macro.
17774
c5757acd
L
177752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17776
17777 * stdlib/secure-getenv.c (__secure_getenv): Replace
17778 GLIBC_2_16 with GLIBC_2_17.
17779
3a31811e
L
177802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17781
17782 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17783 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17784
faa2bccb
DM
177852012-08-03 David S. Miller <davem@davemloft.net>
17786
17787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17788
85fe1997
JM
177892012-08-03 Joseph Myers <joseph@codesourcery.com>
17790
17791 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17792 Remove.
17793 (__ASSUME_CORRECT_SI_PID): Likewise.
17794 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17795 (__ASSUME_TMPFS_NAME): Likewise.
17796 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17797 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17798 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17799 (HAVE_AUX_SECURE): Make definition unconditional.
17800 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17801 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17802
4f75b7a0
RM
178032012-08-03 Roland McGrath <roland@hack.frob.com>
17804
17805 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17806 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17807 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17808 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17809 __eloop_threshold instead of SYMLOOP_MAX.
17810
17811 * sysdeps/generic/eloop-threshold.h: New file.
17812 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17813 of MAXSYMLINKS.
17814 * elf/chroot_canon.c (chroot_canon): Likewise.
17815
7aab07e4
JM
178162012-08-03 Joseph Myers <joseph@codesourcery.com>
17817
17818 [BZ #13717]
17819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17820 Change to 2.6.0 everywhere.
17821 * sysdeps/unix/sysv/linux/configure: Regenerated.
17822 * sysdeps/unix/sysv/linux/kernel-features.h
17823 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17824 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17825 kernel versions.
17826 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17827 (__ASSUME_FUTEX_REQUEUE): Remove.
17828 (__ASSUME_STATFS64): Define unconditionally.
17829 (__ASSUME_AT_SECURE): Likewise.
17830 (__ASSUME_CORRECT_SI_PID): Likewise.
17831 (__ASSUME_TGKILL): Define without depending on kernel version for
17832 i386.
17833 (__ASSUME_UTIMES): Likewise.
17834 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17835 kernel version.
17836 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17837 (__ASSUME_TMPFS_NAME): Likewise.
17838 * README: Update reference to Linux kernel versions.
17839
b67e9372
MP
178402012-08-02 Marek Polacek <polacek@redhat.com>
17841
1f529f7d 17842 [BZ# 14150]
b67e9372
MP
17843 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17844 libc_cv_asm_type_prefix with %.
17845 * configure: Regenerated.
d2441631
RM
17846 * include/libc-symbols.h: Remove comment about
17847 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17848 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17849 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17850 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17851 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17852 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17853 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17854 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17855 * elf/tst-unique2mod1.c: Likewise.
17856 * elf/tst-unique1mod2.c: Likewise.
17857 * elf/tst-unique1mod1.c: Likewise.
17858 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17859 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17860 Replace ASM_TYPE_DIRECTIVE with .type.
17861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17862 * sysdeps/i386/sysdep.h: Likewise.
17863 * sysdeps/x86_64/sysdep.h: Likewise.
17864 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17866 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17867 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17868 * sysdeps/powerpc/powerpc32/sysdep.h:
17869 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17870 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17871 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17872 * sysdeps/i386/fpu/e_powf.S: Likewise.
17873 * sysdeps/i386/fpu/e_expl.S: Likewise.
17874 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17875 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17876 * sysdeps/i386/fpu/e_pow.S: Likewise.
17877 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17878 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17879 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17880 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17881 * sysdeps/i386/fpu/e_log2.S: Likewise.
17882 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17883 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17884 * sysdeps/i386/fpu/e_powl.S: Likewise.
17885 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17886 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17887 * sysdeps/i386/fpu/e_logl.S: Likewise.
17888 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17889 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17890 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17892 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17893 * sysdeps/i386/fpu/e_log.S: Likewise.
17894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17895 * sysdeps/i386/fpu/e_logf.S: Likewise.
17896 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17897 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17898 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17899 * sysdeps/i386/fpu/e_log10.S: Likewise.
17900 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17901 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17902 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17903 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17904 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17905 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17906 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17907 * sysdeps/i386/i686/strtok.S: Likewise.
17908 * sysdeps/i386/i386-mcount.S: Likewise.
17909 * sysdeps/i386/strtok.S: Likewise.
17910 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17911 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17912 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17914 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17916 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17917 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17918 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17919 * sysdeps/x86_64/_mcount.S: Likewise.
17920 * sysdeps/x86_64/strtok.S: Likewise.
17921 * sysdeps/sh/_mcount.S: Likewise.
17922
2747bf9a
RM
179232012-08-01 Roland McGrath <roland@hack.frob.com>
17924
17925 * libio/iofopen.c: Include <fcntl.h>.
17926 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17927 (_IO_fopen64, fopen64): Define as aliases.
17928 * libio/iofopen64.c: Include <fcntl.h>.
17929 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17930 Conditionalize body on this.
17931 * sysdeps/wordsize-64/iofopen.c: File removed.
17932 * sysdeps/wordsize-64/iofopen64.c: File removed.
17933
3fb791b8
MP
179342012-08-01 Marek Polacek <polacek@redhat.com>
17935
17936 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17937 Use dlfcn directly instead of a variable.
17938 (binfmt-subdir): Do not define.
17939 (dlfcn): Likewise.
17940
a9f1039f
JM
179412012-08-01 Joseph Myers <joseph@codesourcery.com>
17942
23bddc06
JM
17943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17944 Remove all definitions.
17945 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17946 <kernel-features.h>.
17947 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17948 (miss_F_GETOWN_EX): Remove all definitions.
17949 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17950 macro definition.
17951 [!__ASSUME_FCNTL64]: Remove conditional code.
17952 [__ASSUME_FCNTL64]: Make code unconditional.
17953 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17954 <kernel-features.h>.
17955 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17956 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17957 (lockf64) [__NR_fcntl64]: Make code unconditional.
17958 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17959
a9f1039f
JM
17960 * sysdeps/unix/sysv/linux/kernel-features.h
17961 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17962 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17963 Make code unconditional.
17964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17967 [__NR_vfork]: Make code unconditional.
17968 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17969 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17971 [__NR_vfork]: Make code unconditional.
17972 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17973 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17974
09c0ee5f
RM
179752012-08-01 Roland McGrath <roland@hack.frob.com>
17976
48aec5b9
RM
17977 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17978 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17979
cd97c966
RM
17980 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17981 Define mkstemp64 as an alias.
3f55550c
RM
17982 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17983 Define mkstemps64 as an alias.
cd97c966
RM
17984 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17985 Define mkostemp64 as an alias.
b8625cfc
RM
17986 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17987 Define mkostemps64 as an alias.
cd97c966
RM
17988 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17989 Conditionalize body on this.
17990 * misc/mkostemp64.c: Likewise.
b8625cfc 17991 * misc/mkostemps64.c: Likewise.
3f55550c 17992 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17993 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17994 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17995 * sysdeps/wordsize-64/mkostemp.c: File removed.
17996 * sysdeps/wordsize-64/mkstemp.c: File removed.
17997 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17998 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17999 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18000 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18001
09c0ee5f
RM
18002 [BZ #14138]
18003 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18004 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18005 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18006 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18007
18008 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18009 compat_symbol macros from <shlib-compat.h> rather than the underlying
18010 default_symbol_version and symbol_version macros, so that DEFAULT
18011 lines in shlib-versions are respected.
18012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18013
7e66ee51
FW
180142012-08-01 Florian Weimer <fweimer@redhat.com>
18015
18016 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18017 Declare with warn_unused_result.
18018 (setgid, setregid, setegid, setresgid): Likewise.
18019 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18020 Likewise.
18021 * WUR-REPORT: Remove set*id functions.
18022
d2a54255
PT
180232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18024
18025 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18026
7ecdb005
RM
180272012-07-31 Roland McGrath <roland@hack.frob.com>
18028
b4180a5e 18029 [BZ #10191]
789bd351
RM
18030 * include/sys/socket.h (__libc_accept, __libc_accept4):
18031 Add attribute_hidden.
18032 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18033
40ce302d
RM
18034 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18035 use of PTR_MANGLE.
18036 * inet/getnetgrent_r.c (setup): Likewise.
18037
7ecdb005
RM
18038 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18039
e2eabb2c
DM
180402012-07-31 David S. Miller <davem@davemloft.net>
18041
18042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18043
d0419dbf
JM
180442012-07-31 Joseph Myers <joseph@codesourcery.com>
18045
18046 [BZ #13629]
18047 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18048 value between 1.0 and 2.0 and smaller part has absolute value less
18049 than 1.0.
18050 * math/s_clog10.c (__clog10): Likewise.
18051 * math/s_clog10f.c (__clog10f): Likewise.
18052 * math/s_clog10l.c (__clog10l): Likewise.
18053 * math/s_clogf.c (__clogf): Likewise.
18054 * math/s_clogl.c (__clogl): Likewise.
18055 * math/libm-test.inc (clog_test): Add more tests.
18056 (clog10_test): Likewise.
18057 * sysdeps/i386/fpu/libm-test-ulps: Update.
18058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059
2bc13872
FW
180602012-07-31 Florian Weimer <fweimer@redhat.com>
18061
18062 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18063 Exit with zero in case no suitable GID is found, and write a
18064 message to standard error.
18065
bea9b193
RM
180662012-07-30 Roland McGrath <roland@hack.frob.com>
18067
18068 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18069 rather than to 1.
18070 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18071 (MAXPATHLEN): Removed.
18072 (NOGROUP, NODEV): New macros.
18073 (setbit, clrbit, isset, isclr): New macros.
18074 (howmany, roundup, powerof2): New macros.
18075 (DEV_BSIZE): New macro.
18076
18077 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18078 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18079
18080 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18081 definition on [!__NO_LONG_DOUBLE_MATH].
18082
18083 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18084 PTR_MANGLE and PTR_DEMANGLE.
18085
18086 * socket/accept4.c (accept4): Rename to __libc_accept4.
18087 Define accept4 as a weak alias.
18088
18089 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18090 on [_DIRENT_HAVE_D_TYPE].
18091 * io/ftw.c (ftw_dir): Likewise.
18092
18093 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18094
18095 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18096
18097 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18098 Use the BSD numbers rather than the arbitrary ones we had.
18099 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18100 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18101 (SIGXCPU, SIGXFSZ): New macros.
18102 (_NSIG): Now 32.
18103
18104 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18105 initializer on [_LIBC_REENTRANT].
18106
18107 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18108 definitions inside [_POSIX_MAPPED_FILES].
18109
18110 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18111
18112 * dirent/opendir.c: Include <fcntl.h>.
18113
18114 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18115 (__libc_getspecific): Likewise.
18116 (__libc_key_create): Likewise.
18117
18118 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18119 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18120 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18121 (tmpfile64): Define as alias.
18122 * sysdeps/wordsize-64/tmpfile.c: File removed.
18123 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18124 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18126
18127 * stdio-common/vfscanf.c: Include <stdbool.h>.
18128 * nss/makedb.c: Likewise.
18129 * stdio-common/_i18n_number.h: Likewise.
18130 * argp/argp-help.c: Likewise.
18131 * posix/wordexp.c: Likewise.
18132 * sysdeps/posix/spawni.c: Likewise.
18133 * nss/nss_files/files-initgroups.c: Likewise.
18134 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18135 * nss/nss_files/files-initgroups.c: Likewise.
18136 * nss/nss_db/db-netgrp.c: Likewise.
18137 * nss/nss_db/db-initgroups.c: Likewise.
18138 * io/fchmodat.c: Include <sys/stat.h>.
18139
18140 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18141 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18142
18143 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18144 [HAVE_MMAP].
18145
18146 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18147 Add multiple inclusion protection.
18148
e5abc686
DM
181492012-07-27 David S. Miller <davem@davemloft.net>
18150
18151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18152
815e6fa3
GB
181532012-07-27 Gary Benson <gbenson@redhat.com>
18154
18155 [BZ #14298]
18156 * elf/rtld.c: Include <stap-probe.h>.
18157 (dl_main): Added static probes "init_start" and "init_complete".
18158 * elf/dl-load.c: Include <stap-probe.h>.
18159 (lose): Take new parameter "nsid".
18160 Added static probe "map_failed".
18161 (_dl_map_object_from_fd): Pass namespace id to lose.
18162 Added static probe "map_start".
18163 (open_verify): Pass namespace id to lose.
18164 * elf/dl-open.c: Include <stap-probe.h>.
18165 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18166 and "reloc_complete".
18167 * elf/dl-close.c: Include <stap-probe.h>.
18168 (_dl_close_worker): Added static probes "unmap_start" and
18169 "unmap_complete".
18170 * elf/rtld-debugger-interface.txt: New file documenting the above.
18171
9f98c16c
RM
181722012-07-26 Roland McGrath <roland@hack.frob.com>
18173
18174 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18175 rather than a string variable.
18176 * sunrpc/rpc_main.c (h_output): Likewise.
18177 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18178
f3c22df3
PT
181792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18180
18181 * inet/check_native.c: New file.
18182
3129cfc6
JM
181832012-07-26 Joseph Myers <joseph@codesourcery.com>
18184
da865e95
JM
18185 [BZ #13629]
18186 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18187 if larger part has absolute value 1.0.
18188 * math/s_clog10.c (__clog10): Likewise.
18189 * math/s_clog10f.c (__clog10f): Likewise.
18190 * math/s_clog10l.c (__clog10l): Likewise.
18191 * math/s_clogf.c (__clogf): Likewise.
18192 * math/s_clogl.c (__clogl): Likewise.
18193 * math/libm-test.inc (clog_test): Add more tests.
18194 (clog10_test): Likewise.
18195 * sysdeps/i386/fpu/libm-test-ulps: Update.
18196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18197
3129cfc6
JM
18198 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18199 (pltexit): Likewise.
18200 (La_regs): Likewise.
18201 (La_retval): Likewise.
18202 (int_retval): Likewise.
18203 Update #error for removed macros to refer only to definitions in
18204 tst-audit.h.
18205 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18206 macro.
18207 (pltexit): Likewise.
18208 (La_regs): Likewise.
18209 (La_retval): Likewise.
18210 (int_retval): Likewise.
18211 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18212 macro.
18213 (pltexit): Likewise.
18214 (La_regs): Likewise.
18215 (La_retval): Likewise.
18216 (int_retval): Likewise.
18217 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18218 macro.
18219 (pltexit): Likewise.
18220 (La_regs): Likewise.
18221 (La_retval): Likewise.
18222 (int_retval): Likewise.
18223 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18224 macro.
18225 (pltexit): Likewise.
18226 (La_regs): Likewise.
18227 (La_retval): Likewise.
18228 (int_retval): Likewise.
18229 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18230 macro.
18231 (pltexit): Likewise.
18232 (La_regs): Likewise.
18233 (La_retval): Likewise.
18234 (int_retval): Likewise.
18235 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18236 macro.
18237 (pltexit): Likewise.
18238 (La_regs): Likewise.
18239 (La_retval): Likewise.
18240 (int_retval): Likewise.
18241 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18242 macro definitions in tst-audit.h.
18243 * sysdeps/i386/tst-audit.h: New file.
18244 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18245 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18246 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18247 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18248 * sysdeps/sh/tst-audit.h: Likewise.
18249 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18250 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18251 * sysdeps/x86_64/tst-audit.h: Likewise.
18252
bfc07087
AJ
182532012-07-26 Andreas Jaeger <aj@suse.de>
18254
b1b2aaf8
AJ
18255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18256 ptrace.
18257
18258 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18259 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18260 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18261 PTRACE_O_MASK.
18262 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18263 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18264 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18265
bfc07087
AJ
18266 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18267 value.
18268
18269 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18270 _sigsys.
18271 (si_call_addr, si_syscall, si_arch): Define new macro.
18272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18273 _sigsys.
18274 (si_call_addr, si_syscall, si_arch): Define new marcro.
18275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18276 _sigsys.
18277 (si_call_addr, si_syscall, si_arch): Define new macro.
18278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18279 _sigsys.
18280 (si_call_addr, si_syscall, si_arch): Define new macro.
18281
89b4b02f
JM
182822012-07-25 Joseph Myers <joseph@codesourcery.com>
18283
18284 [BZ #13717]
18285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18286 Change to 2.4.21 where previously 2.4.1.
18287 * sysdeps/unix/sysv/linux/configure: Regenerated.
18288 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18289 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18290 Linux kernel version.
18291 (__ASSUME_STD_AUXV): Remove.
18292 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18293 kernel version.
18294 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18295 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18296 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18297 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18298 (__ASSUME_NETLINK_SUPPORT): Likewise.
18299 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18300 (__no_netlink_support): Remove conditional definition.
18301 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18302 Remove.
18303 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18304 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18305 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18306 (if_nameindex_ioctl): Remove.
18307 (if_nameindex_netlink): Do not handle __no_netlink_support.
18308 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18309 code.
18310 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18311 Remove conditional code.
18312 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18313 code.
18314 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18315 unconditional.
18316 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18317 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18318 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18319 Remove.
18320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18321 [!__ASSUME_STD_AUXV]: Remove conditional code.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18323 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18324 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18326 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18327 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18328 code.
18329 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18331 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18332 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18333 conditional code.
18334 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18336 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18337 code.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18339 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18340 conditional code.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18342 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18343 code unconditional.
18344 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18345 conditional code.
18346 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18347 unconditional.
18348 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18349 conditional code.
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18351 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18352 unconditional.
18353 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18354 conditional code.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18356 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18357 code unconditional.
18358 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18359 conditional code.
18360 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18361 unconditional.
18362 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18363 conditional code.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18365 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18366 code unconditional.
18367 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18368 conditional code.
18369 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18370 unconditional.
18371 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18372 conditional code.
18373
842a39cd
AS
183742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18375
18376 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18377 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18378 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18379 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18380 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18381 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18382 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18383 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18384 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18385 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18386 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18387 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18388 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18389 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18390 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18392 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18394 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18396 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18397 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18399
84b3fd84
FW
184002012-07-25 Florian Weimer <fweimer@redhat.com>
18401
18402 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18403 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18404 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18405 Introduce __libc_secure_getenv.
0c7936d5
FW
18406 * stdlib/Versions (2.17): Add secure_getenv
18407 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18408 * stdlib/secure-getenv.c: Rename __secure_getenv to
18409 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18410 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18411 * stdlib/tst-secure-getenv.c: New.
18412 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18413 * manual/startup.texi (Environment Access): Document
18414 secure_getenv.
84b3fd84
FW
18415 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18416 __libc_secure_getenv.
18417 * inet/ruserpass.c (ruserpass): Likewise.
18418 * malloc/mtrace.c (mtrace): Likewise.
18419 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18420 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18421 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18422 * sysdeps/posix/tempname.c: Likewise. Evaluate
18423 HAVE_SECURE_GETENV.
18424 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18425 __secure_getenv to __libc_secure_getenv.
84b3fd84 18426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18428 Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18430 Likewise.
18431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18438
56e49b71
JM
184392012-07-25 Joseph Myers <joseph@codesourcery.com>
18440
18441 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18442 (struct La_i86_retval): Likewise.
18443 (struct La_x86_64_regs): Likewise.
18444 (struct La_x86_64_retval): Likewise.
18445 (struct La_x32_regs): Likewise.
18446 (struct La_x32_retval): Likewise.
18447 (struct La_ppc32_regs): Likewise.
18448 (struct La_ppc32_retval): Likewise.
18449 (struct La_ppc64_regs): Likewise.
18450 (struct La_ppc64_retval): Likewise.
18451 (struct La_sh_regs): Likewise.
18452 (struct La_sh_retval): Likewise.
18453 (struct La_s390_32_regs): Likewise.
18454 (struct La_s390_32_retval): Likewise.
18455 (struct La_s390_64_regs): Likewise.
18456 (struct La_s390_64_retval): Likewise.
18457 (struct La_sparc32_regs): Likewise.
18458 (struct La_sparc32_retval): Likewise.
18459 (struct La_sparc64_regs): Likewise.
18460 (struct La_sparc64_retval): Likewise.
18461 (struct audit_ifaces): Remove architecture-specific pltenter and
18462 pltexit members.
18463 * sysdeps/i386/ldsodefs.h: New file.
18464 * sysdeps/powerpc/ldsodefs.h: Likewise.
18465 * sysdeps/s390/ldsodefs.h: Likewise.
18466 * sysdeps/sh/ldsodefs.h: Likewise.
18467 * sysdeps/sparc/ldsodefs.h: Likewise.
18468 * sysdeps/x86_64/ldsodefs.h: Likewise.
18469
354691b7
MP
184702012-07-25 Marek Polacek <polacek@redhat.com>
18471
18472 [BZ #6808]
18473 * math/libm-test.inc (yn_test): Add another test.
18474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18475 to ERANGE when the result is +-Inf.
18476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18477 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18478 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18479 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18480
bf9e2071
JM
184812012-07-24 Joseph Myers <joseph@codesourcery.com>
18482
18483 * conform/data/time.h-data (NULL): Use macro-constant. Require
18484 equal to 0.
18485 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18486 clock_t.
18487 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18488
57633811
TS
184892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18490
18491 * configure.in <sysdeps resolving>: Correct printing
18492 Implies_before.
18493 * configure: Regenerate.
18494
c23c33b0
TS
184952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18496
18497 * math/w_ilogb.c: Include <limits.h>.
18498 * math/w_ilogbl.c: Likewise.
18499
b5982523
JM
185002012-07-20 Joseph Myers <joseph@codesourcery.com>
18501
18502 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18503 va_copy. Document allowing for unavailable va_copy only as
18504 pre-C99 compatibility.
18505 * manual/string.texi (Copying and Concatenation): Use va_copy
18506 instead of __va_copy in concat example.
18507
ac4ea442
PT
185082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18509
18510 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18511 (__sendto): Use create_address_port. Initialize APORT and deallocate
18512 it if not null.
18513
f98eafbd
PT
18514 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18515 with O_NOLINK passed to __file_name_lookup.
18516
898c7aab
PT
18517 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18518 with O_NOLINK passed to __file_name_lookup.
18519
0ced335a
PT
18520 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18521 negative N or less than NGIDS.
18522
b3404dbd
PT
18523 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18524 type to string_t. Set ERANGE as errno and return it if NAME is not big
18525 enough. Use memcpy instead of strncpy.
18526
0f48659e
JM
185272012-07-20 Joseph Myers <joseph@codesourcery.com>
18528
18529 * elf/Makefile (check-data): Remove.
18530 (localplt.data): New vpath directive.
18531 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18532 instead of $(check-data).
18533 * scripts/data/localplt-generic.data: Move to ...
18534 * sysdeps/generic/localplt.data: ... here.
18535 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18536 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18537 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18539 ... here.
18540 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18542 ... here.
18543 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18545 ... here.
18546 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18548 ... here.
18549 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18551 ... here.
18552 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18554 ... here.
18555
d37cbdaa
AZ
185562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18557
18558 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18559 PPC32 and PPC64 files.
18560 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18561 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18562
46f85fc2
AK
185632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18564
18565 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18566 __makecontext_ret to ...
18567 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18568 ... here and call exit if uc_link is NULL. New file.
18569 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18570 __makecontext_ret.S.
18571 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18572 __makecontext_ret to ...
18573 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18574 ... here and call exit if uc_link is NULL. New file.
18575 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18576 __makecontext_ret.S.
18577
08f43f9b
AK
185782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18579
18580 * elf/elf.h (R_390_IRELATIVE): New definition.
18581 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18582 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18583 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18585 (elf_machine_lazy_rel): Likewise.
18586 * sysdeps/s390/dl-irel.h: New file.
18587 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18588 * sysdeps/s390/s390-64/memset.S: New asm code.
18589 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18590 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18592 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18593 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18594 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18596 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18597 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18598 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18599 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18600 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18601 * sysdeps/s390/s390-32/memset.S: New asm code.
18602 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18603
3b05db33
MP
186042012-07-17 Marek Polacek <polacek@redhat.com>
18605
18606 [BZ #14349]
18607 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18608 * sysdeps/s390/s390-64/configure.in: Likewise.
18609 * sysdeps/sparc/configure.in: Likewise.
18610 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18611 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18612 * sysdeps/i386/configure.in: Likewise.
18613 * sysdeps/x86_64/configure.in: Likewise.
18614 * sysdeps/sh/configure.in: Likewise.
18615 * sysdeps/s390/s390-32/configure: Regenerated.
18616 * sysdeps/s390/s390-64/configure: Likewise.
18617 * sysdeps/x86_64/configure: Likewise.
18618 * sysdeps/sh/configure: Likewise.
18619 * sysdeps/powerpc/powerpc64/configure: Likewise.
18620 * sysdeps/powerpc/powerpc32/configure: Likewise.
18621 * sysdeps/sparc/configure: Likwise.
18622 * sysdeps/i386/configure: Likewise.
18623
a66877c6
MP
18624 * elf/dl-open.c: Comment fixes.
18625
cfc82fd8
JM
186262012-07-17 Joseph Myers <joseph@codesourcery.com>
18627
bd29910a
JM
18628 * Makefile [CXX] (check-data): Remove.
18629 [CXX] (c++-types.data): New vpath directive.
18630 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18631 vpath. Do not allow for C++ type data being missing.
18632 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18633 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18634 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18635 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18636 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18637 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18638 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18640 ... here.
18641 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18643 ... here.
18644 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18646 ... here.
18647 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18649 ... here.
18650 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18652 ... here.
18653 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18655 ... here.
18656 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18658 ... here.
18659 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18661
cfc82fd8
JM
18662 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18663 definitions to architecture-specific files.
18664 (TLS_IE): Likewise.
18665 (TLS_LD): Likewise.
18666 (TLS_GD): Likewise.
18667 * sysdeps/i386/tls-macros.h: New file.
18668 * sysdeps/powerpc/tls-macros.h: Likewise.
18669 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18670 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18671 * sysdeps/sh/tls-macros.h: Likewise.
18672 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18673 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18674 * sysdeps/x86_64/tls-macros.h: Likewise.
18675
f7db3170
TS
186762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18677
07cbfc23
TS
18678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18679 zero value for regular exit case.
18680
f7db3170
TS
18681 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18682 (__start_context): Preserve zero value for regular exit case.
18683
dc97c227
TS
186842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18685 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18686
18687 * manual/setjmp.texi (setcontext): Clarify normal process
18688 termination when uc_link is the null pointer.
18689 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18690 exit call.
18691
d0cd7d02
AS
186922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18693
18694 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18695 preprocessor. Test for each exception mask separately.
18696
dd318934
AJ
186972012-07-16 Andreas Jaeger <aj@suse.de>
18698
18699 * po/ru.po: Update from translation team.
18700
8048311a
JM
187012012-07-15 Joseph Myers <joseph@codesourcery.com>
18702
18703 * conform/data/string.h-data (NULL): Use macro-constant. Require
18704 equal to 0.
18705 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18707 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18708 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18710
b637d46e
AJ
187112012-07-13 Andreas Jaeger <aj@suse.de>
18712
18713 * po/fr.po: Update from translation team.
18714
541428fe
MP
187152012-07-12 Marek Polacek <polacek@redhat.com>
18716
18717 [BZ #14173]
18718 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18720 loop condition.
18721
ec332e94
JM
187222012-07-12 Joseph Myers <joseph@codesourcery.com>
18723
18724 [BZ #13717]
18725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18726 Change to 2.4.1 where previously 2.4.0.
18727 * sysdeps/unix/sysv/linux/configure: Regenerated.
18728 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18729 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18730 version.
18731 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18732 (__ASSUME_AT_CLKTCK): Remove.
18733 (__ASSUME_AT_PAGESIZE): Likewise.
18734 (__ASSUME_AT_XID): Likewise.
18735 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18736 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18737 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18738 unconditionally.
18739 (HAVE_AUX_PAGESIZE): Likewise.
18740 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18741 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18742 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18743
7b6e99be
JB
187442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18745
18746 [BZ #14307]
18747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18748 the temporary buffer used to invoke __gethostbyname2_r,
18749 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18750 host_data / struct gaih_addrtuple.
18751 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18752 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18753 header file nss/nsswitch.h.
18754 * nss/nsswitch.h (global scope): Add definition of implementation
18755 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18756 resolv/nss_dns/dns-host.c).
18757
608404eb
AJ
187582012-07-11 Andreas Jaeger <aj@suse.de>
18759
18760 * po/fr.po: Update from translation team.
18761
71220aca
AJ
18762 * po/sv.po: Update from translation team
18763 * po/fr.po: Another update from translation team.
18764
28cfe843
AZ
187652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18766
18767 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18768 for subnormals or multiply small sinh result by itself.
18769 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18771
6b90f981
DM
187722012-07-11 David S. Miller <davem@davemloft.net>
18773
18774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18775
c6825772
AS
187762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18777
18778 [BZ #14347]
18779 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18780 (INTERNAL_MARK): Shift it here.
18781
7b8e0d49
MP
187822012-07-10 Marek Polacek <polacek@redhat.com>
18783
18784 [BZ #14151]
18785 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18786 libc_cv_asm_global_directive with .globl.
18787 * configure: Regenerated.
18788 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18789 with .globl.
18790 * sysdeps/i386/configure: Regenerated.
18791 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18792 with .globl.
18793 * sysdeps/x86_64/configure: Regenerated.
18794 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18795 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18796 * elf/tst-unique2mod2.c: Likewise.
18797 * elf/tst-unique2mod1.c: Likewise.
18798 * elf/tst-unique1mod2.c: Likewise.
18799 * elf/tst-unique1mod1.c: Likewise.
18800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18801 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18803 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18804 * sysdeps/mach/sysdep.h: Likewise.
18805 * sysdeps/i386/sysdep.h: Likewise.
18806 * sysdeps/i386/i386-mcount.S: Likewise.
18807 * sysdeps/x86_64/_mcount.S: Likewise.
18808 * sysdeps/x86_64/sysdep.h: Likewise.
18809 * sysdeps/sh/_mcount.S: Likewise.
18810 * sysdeps/sh/sysdep.h: Likewise.
18811 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18812 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18813 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18815 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18816 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18817 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18818 * locale/localeinfo.h: Likewise.
18819 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18820 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18821
6c55cda3
RM
188222012-07-09 Roland McGrath <roland@hack.frob.com>
18823
18824 [BZ #14336]
18825 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18826 system".
18827 * manual/message.texi (The Uniforum approach): Likewise.
18828 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18829 (glibc iconv Implementation): Likewise.
18830
638a572e
JM
188312012-07-09 Joseph Myers <joseph@codesourcery.com>
18832
18833 [BZ #14337]
18834 * math/s_clog.c (__clog): Avoid scaling a value down where that
18835 could result in underflow.
18836 * math/s_clog10.c (__clog10): Likewise.
18837 * math/s_clog10f.c (__clog10f): Likewise.
18838 * math/s_clog10l.c (__clog10l): Likewise.
18839 * math/s_clogf.c (__clogf): Likewise.
18840 * math/s_clogl.c (__clogl): Likewise.
18841 * math/libm-test.inc (clog_test): Add more tests.
18842 (clog10_test): Likewise.
18843 * sysdeps/i386/fpu/libm-test-ulps: Update.
18844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18845
261f4859
AS
188462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18847
0abaf3e4
AS
18848 [BZ #14283]
18849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18850 by 7 not 8 to examine high bit of fractional part.
18851
261f4859
AS
18852 [BZ #14042]
18853 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18854 for call to __mcount_internal.
18855 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18856 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18857 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18858
f17ac40d
JM
188592012-07-06 Joseph Myers <joseph@codesourcery.com>
18860
9ad63c23
JM
18861 [BZ #14154]
18862 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18863 approximation for values within 0x1p-13f of an odd multiple of
18864 pi/4.
18865 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18866 exception. Add more tests.
18867 * sysdeps/i386/fpu/libm-test-ulps: Update.
18868
f17ac40d
JM
18869 [BZ #6778]
18870 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18871 inputs and return -1 for them. Do not check for +Inf in case not
18872 reachable for +Inf.
18873 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18874 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18876 and return -1 for them. Do not check for +Inf in case not
18877 reachable for +Inf.
18878 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18879 define.
18880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18881 and return -1 for them. Do not check for +Inf in case not
18882 reachable for +Inf.
18883 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18884 spurious underflow.
18885 * sysdeps/i386/fpu/libm-test-ulps: Update.
18886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18887
fb21f89b
MF
188882012-07-06 Mike Frysinger <vapier@gentoo.org>
18889
18890 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18891
cdfe2c5e
JM
188922012-07-05 Joseph Myers <joseph@codesourcery.com>
18893
18894 [BZ #14157]
18895 [BZ #14331]
18896 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18897 could result in spurious underflow. Scale down values above
18898 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18899 * math/s_csqrtf.c (__csqrtf): Likewise.
18900 * math/s_csqrtl.c (__csqrtl): Likewise.
18901 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18902 spurious underflow.
18903 * sysdeps/i386/fpu/libm-test-ulps: Update.
18904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18905
70d35b67
AS
189062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18907
704bc459
AS
18908 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18909 xopen-msg.sed.
18910 * catgets/xopen-msg.awk: New file.
18911 * catgets/xopen-msg.sed: Removed.
18912
70d35b67
AS
18913 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18914 po2text.sed.
18915 * intl/po2test.awk: New file.
18916 * intl/po2test.sed: Removed.
18917
ca61cf32
JM
189182012-07-04 Joseph Myers <joseph@codesourcery.com>
18919
18920 [BZ #14328]
18921 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18922 or multiply small sinh result by itself.
18923 * math/s_ctanf.c (__ctanf): Likewise.
18924 * math/s_ctanh.c (__ctanh): Likewise.
18925 * math/s_ctanhf.c (__ctanhf): Likewise.
18926 * math/s_ctanhl.c (__ctanhl): Likewise.
18927 * math/s_ctanl.c (__ctanl): Likewise.
18928 * math/libm-test.inc (ctan_test_tonearest): New function.
18929 (ctan_test_towardzero): Likewise.
18930 (ctan_test_downward): Likewise.
18931 (ctan_test_upward): Likewise.
18932 (ctanh_test_tonearest): Likewise.
18933 (ctanh_test_towardzero): Likewise.
18934 (ctanh_test_downward): Likewise.
18935 (ctanh_test_upward): Likewise.
18936 (main): Call these new functions.
18937 * sysdeps/i386/fpu/libm-test-ulps: Update.
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939
ca48a46a
MF
189402012-07-03 Mike Frysinger <vapier@gentoo.org>
18941
18942 * .gitignore: Delete /ports entry.
18943
9d63d37d
AJ
189442012-07-03 Andreas Jaeger <aj@suse.de>
18945
18946 * po/bg.po: Update from translation team.
18947 * po/cs.po: Likewise.
18948 * po/de.po: Likewise.
18949 * po/hr.po: Likewise.
18950 * po/nl.pl: Likewise.
18951 * po/pl.po: Likewise.
18952 * po/vi.po: Likewise.
18953
370ca3d2
JM
189542012-07-03 Joseph Myers <joseph@codesourcery.com>
18955
95f5a9a8
JM
18956 * Makeconfig [!+link] (+link-before-libc): New variable.
18957 [!+link] (+link-after-libc): Likewise.
18958 [!+link] (+link-tests): Likewise.
18959 [!+link] (+link): Define in terms of $(+link-before-libc) and
18960 $(+link-after-libc).
18961 [!+link-static] (+link-static-before-libc): New variable.
18962 [!+link-static] (+link-static-after-libc): Likewise.
18963 [!+link-static] (+link-static-tests): Likewise.
18964 [!+link-static] (+link-static): Define in terms of
18965 $(+link-static-before-libc) and $(+link-static-after-libc).
18966 [build-shared] (link-libc-before-gnulib): New variable.
18967 [build-shared] (link-libc-tests): Likewise.
18968 [build-shared] (link-libc): Define in terms of
18969 $(link-libc-before-gnulib).
18970 [!build-shared] (link-libc-tests): New variable.
18971 (link-libc-static-tests): New variable.
18972 [!gnulib] (gnulib-arch): New variable.
18973 [!gnulib] (gnulib-tests): Likewise.
18974 [!gnulib] (static-gnulib-arch): Likewise.
18975 [!gnulib] (static-gnulib-tests): Likewise.
18976 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18977 Define with "=" instead of ":=".
18978 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18979 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18980 * Rules (binaries-all-notests): New variable.
18981 (binaries-all-tests): Likewise.
18982 (binaries-static-notests): Likewise.
18983 (binaries-static-tests): Likewise.
18984 (binaries-all): Define using $(binaries-all-notests) and
18985 $(binaries-all-tests).
18986 (binaries-static): Define using $(binaries-static-notests) and
18987 $(binaries-static-tests).
18988 (binaries-shared-tests): New variable.
18989 (binaries-shared-notests): Likewise.
18990 (binaries-shared): Remove variable.
18991 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18992 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18993 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18994 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18995 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18996 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18997 * elf/Makefile (sln-modules): New variable.
18998 (extra-objs): Add $(sln-modules:=.o).
18999 (ldconfig-modules): Add static-stubs.
19000 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19001 * elf/static-stubs.c: New file.
19002
7a845b2c
JM
19003 [BZ #14283]
19004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19005 by 7 not 8 to examine high bit of fractional part. Use volatile
19006 variables when splitting into final array of floats if
19007 __FLT_EVAL_METHOD__ != 0.
19008 * math/libm-test.inc (cos_test): Add another test.
19009 (sin_test): Likewise.
19010 * sysdeps/i386/fpu/libm-test-ulps: Update.
19011
e2283f38
JM
19012 [BZ #14273]
19013 * math/libm-test.inc (cosh_test): Add more tests.
19014
370ca3d2
JM
19015 * version.h (RELEASE): Set to "development".
19016 (VERSION): Set to "2.16.90".
19017
ee9247c3
CD
190182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19019
19020 * NEWS: Update copyright. Remove last-updated date.
19021 Mention math library bug fixes and timezone data changes.
19022 * README: Mention GNU/Hurd, x32, and HPPA support status.
19023
4648c381
TS
190242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19025
19026 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19027
aac78a43
AJ
190282012-06-27 Andreas Jaeger <aj@suse.de>
19029
19030 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19031
ed3dbfad
AJ
190322012-06-25 Andreas Jaeger <aj@suse.de>
19033
19034 * sysdeps/s390/fpu/libm-test-ulps: Update.
19035
4d0ee855
AS
190362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19037 Thomas Schwinge <thomas@codesourcery.com>
19038
19039 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19040 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19042 fanotify_mark.
19043
af1bce34
TS
190442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19045
a9fa33ba
TS
19046 * sysdeps/mach/start.c: Remove file.
19047 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19048 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19049 * sysdeps/sh/init-first.c: Likewise.
19050
58f902b8
TS
19051 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19052 registers for frame unwinding purposes, add CFI directives.
19053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19055 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19056 Likewise.
19057
1518f58b
TS
19058 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19059 __fortify_fail returning.
19060 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19061
db9b5059
TS
19062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19063 sysdeps/sh/____longjmp_chk.S.
19064 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19065 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19066 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19067 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19068
967705fe
TS
19069 * sysdeps/sh/abort-instr.h: New file.
19070 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19071 process in case exit returns.
19072
a9def8c4
TS
19073 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19074 initialize the GOT register before use.
19075
2a649725
TS
19076 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19077 calculation of ARGC > 4.
19078
af1bce34
TS
19079 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19080 meaningful names to some local labels.
19081
d230f50a
KK
190822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19083 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19084
19085 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19086 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19087 (__arch_compare_and_exchange_val_16_acq): Likewise.
19088 (__arch_compare_and_exchange_val_32_acq): Likewise.
19089 (atomic_exchange_and_add): Fix gUSA sequence.
19090 (atomic_add): Likewise.
19091 (atomic_add_negative): Likewise.
19092 (atomic_add_zero): Likewise.
19093 (atomic_bit_test_set): Likewise.
19094
0479b305
AS
190952012-06-22 Andreas Schwab <schwab@redhat.com>
19096
19097 [BZ #13579]
19098 * include/link.h (struct link_map): Add l_free_initfini.
19099 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19100 l_initfini.
19101 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19102 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19103 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19104 set.
19105
0e3933b9
CD
191062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19107
19108 * configure.in: Use AC_LANG_SOURCE.
19109 * configure: Regenerate.
19110
4248b1b1
RM
191112012-06-22 Roland McGrath <roland@hack.frob.com>
19112
19113 * configure.in (libc_cv_localstatedir): New substituted variable.
19114 * configure: Regenerated.
19115 * config.make.in (localstatedir): New variable, substituted from
19116 libc_cv_localstatedir.
19117 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19118 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19119 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19120 * sysdeps/gnu/configure: Regenerated.
19121
006dd861
JL
191222012-06-21 Jeff Law <law@redhat.com>
19123
19124 [BZ #14277]
19125 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19126 free. Simplify list management for _LIBC case.
19127
79662d42
JM
191282012-06-21 Joseph Myers <joseph@codesourcery.com>
19129
b7abb4bf
JM
19130 [BZ #14273]
19131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19132 Clear sign bit of 64-bit integer value before comparing against
19133 overflow value.
19134
79662d42
JM
19135 * sysdeps/mach/configure: Regenerated.
19136
1f150908
L
191372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19138
19139 [BZ #14278]
19140 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19141
28363bbf
JL
191422012-06-21 Jeff Law <law@redhat.com>
19143
19144 [BZ #13882]
19145 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19146 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19148 * elf/dl-open.c (dl_open_worker): Likewise.
19149
09615db4
CD
191502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19151
19152 * scripts/list-sources.sh: Scan PORTS for translations.
19153 * po/libc.pot: Regenerated.
19154
2174c6dd
AJ
191552012-06-21 Andreas Jaeger <aj@suse.de>
19156
19157 [BZ #12194]
19158 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19159 warning.
19160 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19161 * bits/byteswap-16.h (__bswap_16): Likewise.
19162 * bits/byteswap.h (__bswap_constant_16): Likewise.
19163
3ee947b1
L
191642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19165
19166 [BZ #14117]
a2f34833
L
19167 * sysdeps/i386/fpu_control.h: Removed.
19168 * sysdeps/x86_64/fpu_control.h: Moved to ...
19169 * sysdeps/x86/fpu_control.h: Here.
19170
3ee947b1
L
19171 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19172 (_FPU_SETCW): Likewise.
19173
ed1825f8
L
191742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19175
25f1282a
L
19176 [BZ #14117]
19177 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19178 * sysdeps/x86/fpu/bits/mathinline.h: This.
19179 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19180
ed1825f8
L
19181 [BZ #14050]
19182 [BZ #14117]
19183 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19184 functions if __x86_64__ is defined.
19185
36d54b74
CLT
191862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19187
19188 * string/endian.h: Add !__ASSEMBLER__ condition for including
19189 conversion interfaces.
19190
10285c21
JM
191912012-06-15 Joseph Myers <joseph@codesourcery.com>
19192
19193 [BZ #14241]
19194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19195 of ABS(x) in calculating zero to negative powers other than odd
19196 integers.
19197 * math/libm-test.inc (pow_test): Add more tests.
19198
06c5abbd
AJ
191992012-06-15 Andreas Jaeger <aj@suse.de>
19200
19201 * manual/contrib.texi (Contributors): Update entry of Liubov
19202 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19203 Machado Filho.
19204
a3aeac40
CH
192052012-06-15 Cyril Hrubis <metan@ucw.cz>
19206
19207 * string/string.h: Add __wur to GNU version of strerror_r.
19208
49bdf4c1
L
192092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19210
19211 [BZ #14229]
19212 * string/Makefile (tests): Add tst-strtok_r.
19213 * string/tst-strtok_r.c: New file.
19214 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19215 RAX_LP/RDX_LP on SAVE_PTR.
19216
834f9b8d
RM
192172012-06-14 Roland McGrath <roland@hack.frob.com>
19218
19219 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19220
75fa1921
JM
192212012-06-14 Joseph Myers <joseph@codesourcery.com>
19222
19223 * libm_test.inc (csqrt_test): Allow more spurious underflow
19224 exceptions.
19225 (j0_test): Likewise.
19226 (j1_test): Likewise.
19227 (y0_test): Likewise.
19228 (y1_test): Likewise.
19229
771766df
CD
192302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19231
19232 * po/Makefile (libc.pot): Use UTF-8 charset.
19233
ceb9e56b
PP
192342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19235
19236 [BZ #14210]
19237 Suppress sign-conversion warning from FD_SET.
19238 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19239 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19240 not unsigned long int.
19241 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19242
ddb28975
L
192432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 [BZ #14050]
19246 [BZ #14117]
19247 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19248 __extern_always_inline instead of __extern_inline.
19249 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19250 (__signbit): Likewise.
19251 (__signbitl): Support C++ namespace.
19252 (lrintf): New inline function.
19253 (lrint): Likewise.
19254 (llrintf): Likewise.
19255 (llrint): Likewise.
19256 (fmaxf): Likewise.
19257 (fmax): Likewise.
19258 (fminf): Likewise.
19259 (fmin): Likewise.
19260 (rint): Likewise.
19261 (rintf): Likewise.
19262 (ceil): Likewise.
19263 (ceilf): Likewise.
19264 (floor): Likewise.
19265 (floorf): Likewise.
19266 (nearbyint): Likewise.
19267 (nearbyintf): Likewise.
19268
d7b4fb26
TS
192692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19270
19271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19272 non-default versions.
19273
eb55f5c2
RM
192742012-06-11 Roland McGrath <roland@hack.frob.com>
19275
19276 [BZ #14218]
19277 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19278
366af02c
TS
192792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19280
99ff6e5c
TS
19281 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19282 (FE_UPWARD, FE_DOWNWARD): Don't define.
19283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19284 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19285
366af02c
TS
19286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19287 reading it.
19288 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19290
793ea851
KK
192912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19292
19293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19295 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19297
a728a38f
L
192982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19299
19300 [BZ #14117]
c08010c7
L
19301 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19302 * sysdeps/i386/fpu/Implies: New file.
19303 * sysdeps/x86_64/fpu/Implies: Likewise.
19304 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19305 * sysdeps/x86/fpu/bits/fenv.h: This.
19306
a728a38f
L
19307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19308 __SSE_MATH__.
19309
6e230d11
SP
193102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19311
19312 [BZ #14134]
19313 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19314 character 0xffff that matches the last element of the
19315 conversion table.
19316
1b671feb
AZ
193172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19318
19319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19320 fmodl commit.
19321
6043738b
AZ
193222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19323
19324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19325 values higher than 25.6283.
19326
34ae0b32
AZ
193272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19328
19329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19330 subnormal exponent extraction and add some __builtin_expect.
19331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19332 Fix for subnormal mantissa calculation.
19333
1214ec8f
MF
193342012-06-04 Mike Frysinger <vapier@gentoo.org>
19335
19336 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19337 cpu2 is -1 and errno is not ENOSYS.
19338
f3d1f93c
L
193392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 [BZ #14117]
0e4a3cd7
L
19342 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19343 * sysdeps/x86/bits/string.h: This.
19344 * sysdeps/x86_64/bits/string.h: Removed.
19345
6704c645
L
19346 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19347 if not compiling for x86-64, but compiling for >= i486.
19348
48495318
L
19349 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19350 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19351
14adcbfc
L
19352 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19353 New macro from Linux kernel 3.4.0.
19354 (FP_XSTATE_MAGIC2): Likewise.
19355 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19356 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19357 (struct _fpx_sw_bytes): New struct.
19358 (struct _xsave_hdr): Likewise.
19359 (struct _ymmh_state): Likewise.
19360 (struct _xstate): Likewise.
19361
68e408ab
L
19362 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19363 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19365 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19366 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19367 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19368
f3d1f93c
L
19369 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19371 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19372 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19373 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19374 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19375
d9dc34cd
TMQMF
193762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19377
19378 [BZ #13743]
19379 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19380 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19381 (sysdep_headers): Include sys/platform/ppc.h.
19382 * sysdeps/powerpc/test-gettimebase.c: Test for
19383 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19384 * manual/Makefile (appendices): Include platform.texi.
19385 * manual/contrib.texi (Contributors): Update @node pointers.
19386 * manual/maint.texi (Maintenance): Likewise.
19387 (Platform): New node.
19388 * manual/platform.texi: New file. Document the new features.
19389
4af3879c
SP
193902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19391 Jakub Jelinek <jakub@redhat.com>
19392
19393 [BZ #14188]
19394 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19395 where __builtin_expect is unavailable.
19396
2fd6ff13
DM
193972012-06-03 David S. Miller <davem@davemloft.net>
19398
19399 * stdlib/longlong.h: Updated from GCC.
19400
173f7220
AS
194012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19402
19403 [BZ #14042]
19404 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19405 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19406 __mcount_internal.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19408 (GLIBC_2.16): Likewise.
19409
f34a1c6f
L
194102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19411
19412 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19413
88a4576f
JM
194142012-06-01 Joseph Myers <joseph@codesourcery.com>
19415
ea32bcdd
JM
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19417 (default-abi): New variable.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19419 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19420 variable.
19421 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19422 Likewise.
19423 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19424 Likewise.
19425 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19426 Likewise.
19427
88a4576f
JM
19428 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19429 definition. Document in comment.
19430
402fe938
DM
194312012-06-01 David S. Miller <davem@davemloft.net>
19432
19433 * stdlib/longlong.h: Updated from GCC.
19434
3553723f
L
194352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19436
19437 [BZ #14117]
3bd872c4
L
19438 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19439 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19440 sys/debugreg.h sys/io.h here.
19441 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19442 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19443 sys/io.h.
19444 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19445 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19446 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19447 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19448 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19449 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19450
3553723f
L
19451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19452 Define only if __x86_64__ is defined.
19453
4842e4fe
JM
194542012-06-01 Joseph Myers <joseph@codesourcery.com>
19455
c5bfe3d5
JM
19456 [BZ #14048]
19457 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19458 Use int64_t for variable i.
19459 * math/libm-test.inc (fmod_test): Add more tests.
19460
4842e4fe
JM
19461 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19462 z computation is not scheduled after fetestexcept.
19463 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19464 Use math_force_eval instead of asm to ensure calculation scheduled
19465 before exception test.
19466 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19467 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19468
efb73488
AJ
194692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19470
19471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19472 computation is not scheduled after fetestexcept.
19473
29bcce7c
L
194742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19475
19476 [BZ #14117]
19477 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19478 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19479
73a68f94
AZ
194802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19481
19482 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19483 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19484
67b6df78
L
194852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19486
edf2933a 19487 [BZ #14117]
ebc64a18
L
19488 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19489 <bits/wordsize.h>.
19490 (__WCHAR_MIN): Support __WORDSIZE == 64.
19491 (__WCHAR_MAX): Likewise.
19492
edf2933a
L
19493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19495
57c6cf40
L
19496 [BZ #14183]
19497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19498 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19499
67b6df78 19500 [BZ #14117]
8eb6281e
L
19501 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19502 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19503
aac639f4
L
19504 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19505 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19506
67b6df78
L
19507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19508 Defined to 1 if __x86_64__ isn't defined.
19509 (_STAT_VER_LINUX_OLD): New.
19510 (st_atime): Remove duplicate.
19511 (st_mtime): Likewise.
19512 (st_ctime): Likewise.
19513
1c2cfe81
DM
195142012-05-31 David S. Miller <davem@davemloft.net>
19515
19516 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19517 entries.
19518
5be8418c
AS
195192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19520
e7725326
AS
19521 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19522 gen-libm-test.pl.
19523
5be8418c
AS
19524 [BZ #14132]
19525 * elf/dl-reloc.c: Include <_itoa.h>.
19526 (_dl_reloc_bad_type): Remove use of INTUSE.
19527 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19528 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19529 * stdio-common/psiginfo.c (psiginfo): Likewise.
19530 * stdio-common/psignal.c (psignal): Likewise.
19531 * string/strsignal.c (strsignal): Likewise.
19532 * include/signal.h (_sys_siglist): Declare hidden proto.
19533 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19534 INTVARDEF with libc_hidden_data_def.
19535 * stdio-common/itoa-udigits.c: Likewise.
19536 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19537 (_itoa_lower_digits_internal): Remove declaration.
19538 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19539 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19540 (_sys_sigabbrev_internal): Remove aliases.
19541 (_sys_siglist): Define hidden alias.
19542
507352f1
MT
195432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19544
19545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19546 bits/sysctl.h.
19547
42bbb1c3
L
195482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19549
19550 [BZ #14117]
6bd784b6
L
19551 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19552 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19553
8bca20f0
L
19554 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19555 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19556 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19557 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19559 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19560
f9e890a9
L
19561 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19563 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19564
471101a1
L
19565 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19566 with __addr.
19567 (insw): Likewise.
19568 (insl): Likewise.
19569 (outsb): Likewise.
19570 (outsw): Likewise.
19571 (outsl): Likewise.
19572
6451c862
L
19573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19575 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19576
a254b8c9
L
19577 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19578 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19580 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19581 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19582 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19583
b8dfdd92
L
19584 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19585 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19586
578cd270
L
19587 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19588 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19589
de662f5f
L
19590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19593
25653439
L
19594 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19595 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19596 to ...
19597 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19598
6bad24a0
L
19599 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19600 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19601 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19602
42bbb1c3
L
19603 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19604 for x86-64.
19605 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19606
2d10d547
JM
196072012-05-31 Joseph Myers <joseph@codesourcery.com>
19608
19609 * math/math.h (M_El): Use two more decimal places.
19610 (M_LOG2El): Likewise.
19611 (M_LOG10El): Likewise.
19612 (M_LN2l): Likewise.
19613 (M_LN10l): Likewise.
19614 (M_PIl): Likewise.
19615 (M_PI_2l): Likewise.
19616 (M_PI_4l): Likewise.
19617 (M_1_PIl): Likewise.
19618 (M_2_PIl): Likewise.
19619 (M_2_SQRTPIl): Likewise.
19620 (M_SQRT2l): Likewise.
19621 (M_SQRT1_2l): Likewise.
19622
f230c29b
DM
196232012-05-31 David S. Miller <davem@davemloft.net>
19624
19625 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19626 values between float registers.
19627 * sysdeps/sparc/sparc64/memset.S: Likewise.
19628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19629
fed806c3
MF
196302012-05-31 Mike Frysinger <vapier@gentoo.org>
19631
19632 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19633 -D_FORTIFY_SOURCE=1.
19634 (CPPFLAGS-tst-longjmp_chk.c): Define.
19635 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19636 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19637 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19638 CFLAGS-tst-wchar-h.c.
19639
30917259
MP
196402012-05-31 Marek Polacek <polacek@redhat.com>
19641
19642 [BZ #14132]
19643 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19644 __endmntent_internal): Remove declaration.
19645 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19646 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19647 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19648
1c58d5dc
DM
196492012-05-30 David S. Miller <davem@davemloft.net>
19650
19651 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19652 (___Q_simulate_exceptions): Use real FP ops rather than writing
19653 into the %fsr.
19654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19655 Likewise.
19656
7dc00e0d
L
196572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19658
19659 [BZ #14117]
0bd53985
L
19660 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19661 * sysdeps/x86/bits/xtitypes.h: This.
19662
3a257e66
L
19663 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19664 * sysdeps/x86/bits/wordsize.h: This.
19665
62f62904
L
19666 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19667 * sysdeps/x86/bits/huge_vall.h: This.
19668
404fe9d9
L
19669 * sysdeps/i386/bits/select.h: Removed.
19670 * sysdeps/x86_64/bits/select.h: Renamed to ...
19671 * sysdeps/x86/bits/select.h: This.
19672
d48d0446
L
19673 * sysdeps/i386/bits/setjmp.h: Removed.
19674 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19675 * sysdeps/x86/bits/setjmp.h: This.
19676
7dc00e0d
L
19677 * sysdeps/i386/bits/mathdef.h: Removed.
19678 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19679 * sysdeps/x86/bits/mathdef.h: This.
19680
03277f8f
AS
196812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19682
19683 [BZ #14132]
19684 * include/sys/socket.h (__connect_internal)
19685 (__libc_sa_len_internal): Remove declaration.
19686 (__connect, __libc_sa_len): Declare hidden_proto.
19687 (SA_LEN): Remove use of INTUSE.
19688 * socket/connect.c: Add libc_hidden_def.
19689 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19690 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19691 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19692 alias.
19693 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19695 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19696 of adding _internal alias.
19697
13764867
L
196982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19699
19700 [BZ #14117]
6bd97696
L
19701 * sysdeps/i386/bits/link.h: Removed.
19702 * sysdeps/i386/bits/linkmap.h: Likewise.
19703 * sysdeps/x86_64/bits/link.h: Renamed to ...
19704 * sysdeps/x86/bits/link.h: This.
19705 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19706 * sysdeps/x86/bits/linkmap.h: This.
19707
f726f0bb
L
19708 * sysdeps/i386/bits/endian.h: Removed.
19709 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19710 * sysdeps/x86/bits/endian.h: This.
19711
13764867
L
19712 * sysdeps/i386/bits/byteswap.h: Removed.
19713 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19714 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19715 * sysdeps/x86/bits/byteswap.h: This.
19716 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19717 * sysdeps/x86/bits/byteswap-16.h: This.
19718 * sysdeps/i386/Implies: Add x86.
19719 * sysdeps/x86_64/Implies: Likewise.
19720
ae251b0b
DM
197212012-05-30 David S. Miller <davem@davemloft.net>
19722
19723 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19724 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19726 (FP_TRAPPING_EXCEPTIONS): Define.
19727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19728 (FP_TRAPPING_EXCEPTIONS): Define.
19729 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19730 subnormals only when inexact has been signalled or underflow
19731 exceptions are enabled.
19732 (_FP_PACK_CANONICAL): Likewise.
19733
d5c90867
L
197342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19735
19736 [BZ #14183]
19737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19738 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19739
63f1549e
RH
197402012-05-30 Richard Henderson <rth@twiddle.net>
19741
8d8f2279
RH
19742 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19743 with #ifndef NOT_IN_libc.
19744
63f1549e
RH
19745 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19746 marked to avoid plt entry.
19747
0ab0291b
L
197482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19749
19750 [BZ #14112]
19751 * Makeconfig (default-abi): New macro.
19752 (abi-includes): Likewise.
19753 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19754 $(abi-$(default-abi)-lib-soname) for soname if defined.
19755 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19756 abi-variants.
19757 * Makefile (installed-stubs): Likewise.
19758 * include/stubs-biarch.h: Removed.
19759 * scripts/lib-names.awk: Only handle one library at a time.
19760 * scripts/soversions.awk: Remove WORDSIZE support.
19761 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19762 entries.
19763 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19764 Removed.
19765 (syscall-list-default-condition): Likewise.
19766 (syscall-list-default-condition): Likewise.
19767 (syscall-list-includes): Likewise.
19768 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19769 syscall-list-* with abi-*. Handle undefined abi-variants.
19770 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19771 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19772 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19773 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19774 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19775 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19776 Removed.
19777 (syscall-list-32-options): Likewise.
19778 (syscall-list-32-condition): Likewise.
19779 (syscall-list-64-options): Likewise.
19780 (syscall-list-64-condition): Likewise.
19781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19782 macro.
19783 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19784 Renamed to ...
19785 (abi-*): This.
19786 (abi-64-ld-soname): New macro.
19787 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19788 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19789 Renamed to ...
19790 (abi-*): This.
19791 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19792 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19793
4da0431d
JM
197942012-05-30 Joseph Myers <joseph@codesourcery.com>
19795
3a85279c
JM
19796 * sysdeps/unix/sysv/linux/kernel-features.h
19797 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19798 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19799 include <kernel-features.h>.
19800 [!__NR_ftruncate64]: Remove conditional code.
19801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19802 [__NR_ftruncate64]: Make code unconditional.
19803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19804 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19805 include <kernel-features.h>.
19806 [!__NR_ftruncate64]: Remove conditional code.
19807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19808 [__NR_ftruncate64]: Make code unconditional.
19809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19811 include <kernel-features.h>.
19812 [!__NR_ftruncate64]: Remove conditional code.
19813 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19814 [__NR_ftruncate64]: Make code unconditional.
19815 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19817 include <kernel-features.h>.
19818 [!__NR_ftruncate64]: Remove conditional code.
19819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19820 [__NR_ftruncate64]: Make code unconditional.
19821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19822
4da0431d
JM
19823 * configure.in (libc_cv_fpie): Weaken to a compile test using
19824 LIBC_TRY_CC_OPTION.
19825 * configure: Regenerated.
19826
11ef492c
AK
198272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19828
19829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19833 Refreshed.
19834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19840 Refreshed.
19841
d66ef399
DM
198422012-05-27 David S. Miller <davem@davemloft.net>
19843
19844 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19845 (___Q_zero): New.
19846 (__Q_simulate_exceptions): Return void. Change to simulate
19847 exceptions by writing into the %fsr.
19848 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19849 (__Qp_handle_exceptions): Likewise.
19850 (numbers): Delete.
19851 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19852 __Qp_handle_exceptions.
19853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19854 __Qp_handle_exceptions.
19855 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19856 as unused and give dummy FP_RND_NEAREST initializer.
19857 (FP_INHIBIT_RESULTS): Define.
19858 (___Q_simulate_exceptions): Update declaration.
19859 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19860 formatting.
19861 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19862 as unused and give dummy FP_RND_NEAREST initializer.
19863 (__Qp_handle_exceptions): Update declaration.
19864 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19865 formatting.
19866
04fb54b5
TS
198672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19868
19869 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19870 the temporary FPU control word.
19871 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19872 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19873 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19874 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19876 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19877 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19879 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19880 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19881 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19882
3f99608f
KK
198832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19884
19885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19886 fields.
19887
65a4de4e
CLT
198882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19889
19890 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19891 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19892 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19893 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19894 Likewise.
19895 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19896 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19897 Likewise.
19898
15749d40
UD
198992012-05-27 Ulrich Drepper <drepper@gmail.com>
19900
19901 * po/h.po: Update from translation team.
19902
25dbcb27
AS
199032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19904
3d3f8e55
AS
19905 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19906
25dbcb27
AS
19907 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19908 handling of denormals.
19909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19910 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19911 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19916 Likewise.
19917
7ad47a80 199182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19919
19920 [BZ #14152]
19921 * math/libm-test.inc (fma_test): Don't always expect underflow
19922 exception.
19923
9c6ea9fa
SP
199242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19925
19926 [BZ #12416]
19927 * elf/tst-execstack.c: Include stackinfo.h.
19928 (do_test): Adjust test case to ensure that pthread_getattr_np
19929 behaviour remains the same after marking stack executable.
19930
a8239222
JM
199312012-05-25 Joseph Myers <joseph@codesourcery.com>
19932
19933 * sysdeps/unix/sysv/linux/kernel-features.h
19934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19935 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19936 kernel-features.h.
19937 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19938 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19939 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19940 kernel-features.h.
19941 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19942 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19943
918b5606
L
199442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19945
19946 * configure.in: Define the default includes to being none.
19947 * configure: Regenerated.
19948
3a097cc7
RM
199492012-05-25 Roland McGrath <roland@hack.frob.com>
19950
8422c9a5
RM
19951 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19952 * sysdeps/x86_64/setjmp.S: Likewise.
19953 * sysdeps/i386/bsd-setjmp.S: Likewise.
19954 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19955 * sysdeps/i386/setjmp.S: Likewise.
19956 * sysdeps/i386/__longjmp.S: Likewise.
19957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19958 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19959
3a097cc7
RM
19960 * include/stap-probe.h: New file.
19961 * configure.in: Handle --enable-systemtap.
19962 * configure: Regenerated.
19963 * config.h.in (USE_STAP_PROBE): New #undef.
19964 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19965 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19966 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19967
21708942
JM
199682012-05-25 Joseph Myers <joseph@codesourcery.com>
19969
19970 [BZ #13717]
19971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19972 to 2.4.0 where earlier.
19973 * sysdeps/unix/sysv/linux/configure: Regenerated.
19974 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19975 <kernel-features.h>.
19976 [__ASSUME_32BITUIDS]: Make code unconditional.
19977 [!__ASSUME_32BITUIDS]: Remove conditional code.
19978 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19979 <kernel-features.h>.
19980 [__ASSUME_32BITUIDS]: Make code unconditional.
19981 [!__ASSUME_32BITUIDS]: Remove conditional code.
19982 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19983 [__ASSUME_32BITUIDS]: Make code unconditional.
19984 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19985 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19986 <kernel-features.h>.
19987 [__ASSUME_32BITUIDS]: Make code unconditional.
19988 [!__ASSUME_32BITUIDS]: Remove conditional code.
19989 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19990 <kernel-features.h>.
19991 [__ASSUME_32BITUIDS]: Make code unconditional.
19992 [!__ASSUME_32BITUIDS]: Remove conditional code.
19993 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19994 <kernel-features.h>.
19995 [__ASSUME_32BITUIDS]: Make code unconditional.
19996 [!__ASSUME_32BITUIDS]: Remove conditional code.
19997 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19998 <kernel-features.h>.
19999 [__ASSUME_32BITUIDS]: Make code unconditional.
20000 [!__ASSUME_32BITUIDS]: Remove conditional code.
20001 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20002 <kernel-features.h>.
20003 [__ASSUME_32BITUIDS]: Make code unconditional.
20004 [!__ASSUME_32BITUIDS]: Remove conditional code.
20005 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20006 <kernel-features.h>.
20007 [__ASSUME_32BITUIDS]: Make code unconditional.
20008 [!__ASSUME_32BITUIDS]: Remove conditional code.
20009 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20010 <kernel-features.h>.
20011 [__ASSUME_32BITUIDS]: Make code unconditional.
20012 [!__ASSUME_32BITUIDS]: Remove conditional code.
20013 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20014 <kernel-features.h>.
20015 [__ASSUME_32BITUIDS]: Make code unconditional.
20016 [!__ASSUME_32BITUIDS]: Remove conditional code.
20017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20018 <kernel-features.h>.
20019 [__ASSUME_32BITUIDS]: Make code unconditional.
20020 [!__ASSUME_32BITUIDS]: Remove conditional code.
20021 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20022 <kernel-features.h>.
20023 [__ASSUME_32BITUIDS]: Make code unconditional.
20024 [!__ASSUME_32BITUIDS]: Remove conditional code.
20025 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20026 <kernel-features.h>.
20027 [__NR_setresgid] (__setresgid): Do not declare.
20028 [__ASSUME_32BITUIDS]: Make code unconditional.
20029 [!__ASSUME_32BITUIDS]: Remove conditional code.
20030 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20031 <kernel-features.h>.
20032 [__NR_setresuid] (__setresuid): Do not declare.
20033 [__ASSUME_32BITUIDS]: Make code unconditional.
20034 [!__ASSUME_32BITUIDS]: Remove conditional code.
20035 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20036 <kernel-features.h>.
20037 [__ASSUME_32BITUIDS]: Make code unconditional.
20038 [!__ASSUME_32BITUIDS]: Remove conditional code.
20039 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20040 <kernel-features.h>.
20041 [__ASSUME_32BITUIDS]: Make code unconditional.
20042 [!__ASSUME_32BITUIDS]: Remove conditional code.
20043 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20044 <kernel-features.h>.
20045 [__ASSUME_32BITUIDS]: Make code unconditional.
20046 [!__ASSUME_32BITUIDS]: Remove conditional code.
20047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20048 <kernel-features.h>.
20049 [__ASSUME_32BITUIDS]: Make code unconditional.
20050 [!__ASSUME_32BITUIDS]: Remove conditional code.
20051 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20052 <kernel-features.h>.
20053 [__ASSUME_32BITUIDS]: Make code unconditional.
20054 [!__ASSUME_32BITUIDS]: Remove conditional code.
20055 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20056 <kernel-features.h>.
20057 [__ASSUME_32BITUIDS]: Make code unconditional.
20058 [!__ASSUME_32BITUIDS]: Remove conditional code.
20059 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20060 <kernel-features.h>.
20061 [__ASSUME_32BITUIDS]: Make code unconditional.
20062 [!__ASSUME_32BITUIDS]: Remove conditional code.
20063 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20064 <kernel-features.h>.
20065 [__ASSUME_32BITUIDS]: Make code unconditional.
20066 [!__ASSUME_32BITUIDS]: Remove conditional code.
20067 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20068 <kernel-features.h>.
20069 [__ASSUME_32BITUIDS]: Make code unconditional.
20070 [!__ASSUME_32BITUIDS]: Remove conditional code.
20071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20072 <kernel-features.h>.
20073 [__ASSUME_32BITUIDS]: Make code unconditional.
20074 [!__ASSUME_32BITUIDS]: Remove conditional code.
20075 * sysdeps/unix/sysv/linux/kernel-features.h
20076 (__ASSUME_SETRESUID_SYSCALL): Remove.
20077 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20078 (__ASSUME_32BITUIDS): Likewise.
20079 (__ASSUME_LDT_WORKS): Likewise.
20080 (__ASSUME_O_DIRECTORY): Likewise.
20081 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20082 architecture but not kernel version.
20083 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20084 (__ASSUME_MMAP2_SYSCALL): Likewise.
20085 (__ASSUME_STAT64_SYSCALL): Likewise.
20086 (__ASSUME_IPC64): Likewise.
20087 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20088 <kernel-features.h>.
20089 [__ASSUME_32BITUIDS]: Make code unconditional.
20090 [!__ASSUME_32BITUIDS]: Remove conditional code.
20091 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20092 <kernel-features.h>.
20093 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20094 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20095 132096]: Remove conditional code.
20096 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20097 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20098 <kernel-features.h>.
20099 [__ASSUME_32BITUIDS]: Make code unconditional.
20100 [!__ASSUME_32BITUIDS]: Remove conditional code.
20101 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20102 <kernel-features.h>.
20103 [__ASSUME_32BITUIDS]: Make code unconditional.
20104 [!__ASSUME_32BITUIDS]: Remove conditional code.
20105 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20106 <kernel-features.h>.
20107 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20108 unconditional.
20109 (__setresgid): Do not declare.
20110 [__ASSUME_32BITUIDS]: Make code unconditional.
20111 [!__ASSUME_32BITUIDS]: Remove conditional code.
20112 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20113 <kernel-features.h>.
20114 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20115 unconditional.
20116 (__setresuid): Do not declare.
20117 [__ASSUME_32BITUIDS]: Make code unconditional.
20118 [!__ASSUME_32BITUIDS]: Remove conditional code.
20119 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20120 <kernel-features.h>.
20121 [__ASSUME_32BITUIDS]: Make code unconditional.
20122 [!__ASSUME_32BITUIDS]: Remove conditional code.
20123 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20124 <kernel-features.h>.
20125 [__ASSUME_32BITUIDS]: Make code unconditional.
20126 [!__ASSUME_32BITUIDS]: Remove conditional code.
20127
a386f1cc
RH
201282012-05-25 Richard Henderson <rth@twiddle.net>
20129
20130 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20131 dl_hwcap to ifunc resolver.
20132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20133 elf_ifunc_invoke.
20134 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20135 dl_hwcap to ifunc resolver.
20136 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20137
b6550497
JM
201382012-05-24 Joseph Myers <joseph@codesourcery.com>
20139
20140 [BZ #14153]
20141 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20142 for |x| <= 2**-26, not 2**-57.
20143 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20144 exception.
20145
b0bc23a1
JL
201462012-05-24 Jeff Law <law@redhat.com>
20147
20148 * stdio-common/Makefile (tests): Add bug25.
20149 * stdio-common/bug25.c: New test.
20150
347c92e9
L
201512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20152
20153 [BZ #13576]
20154 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20155 multiple of MALLOC_ALIGNMENT in size.
20156 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20157
6bcc8b3f
JM
201582012-05-24 Joseph Myers <joseph@codesourcery.com>
20159
20160 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20161 Require >= 256.
20162 (FILENAME_MAX): Use macro-int-constant.
20163 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20164 (_IOFBF): Use macro-int-constant.
20165 (_IOLBF): Likewise.
20166 (_IONBF): Likewise.
20167 (SEEK_CUR): Likewise.
20168 (SEEK_END): Likewise.
20169 (SEEK_SET): Likewise.
20170 (TMP_MAX): Likewise.
20171 (EOF): Use macro-int-constant. Require < 0.
20172 (NULL): Use macro-constant. Require == 0.
20173 (stdin): Require type to be FILE *.
20174 (stdout): Likewise.
20175 (stderr): Likewise.
20176 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20177 macro-int-constant.
20178 (EXIT_SUCCESS): Likewise.
20179 (NULL): Use macro-constant. Require == 0.
20180 (RAND_MAX): Use macro-int-constant.
20181 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20182 [C99-based standards] (strtof): Require function.
20183 [C99-based standards] (strtold): Likewise.
20184 [C99-based standards] (strtoll): Likewise.
20185 [C99-based standards] (strtoull): Likewise.
20186 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20187 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20188 [ISO || ISO99 || ISO11] (math.h): Likewise.
20189 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20190 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20192
d18ea0c5
AS
201932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20194
20195 [BZ #14132]
56d25bb8
AS
20196 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20197 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20198 * intl/dgettext.c (DCGETTEXT): Likewise.
20199 * intl/gettext.c (DCGETTEXT): Likewise.
20200 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20201 * posix/regex_internal.h (gettext): Likewise.
20202 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20203 Remove declaration.
20204 * include/argz.h (__argz_count_internal)
20205 (__argz_stringify_internal): Remove declaration.
20206 (__argz_count, __argz_stringify): Declare hidden proto.
20207 * intl/dcgettext.c: Remove use of INTDEF.
20208 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20209 * string/argz-stringify.c: Likewise.
20210 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20211 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20212 Declare hidden proto.
d18ea0c5
AS
20213 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20214 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20215 Declare hidden proto.
20216 * include/stdio.h (__asprintf_internal): Don't declare.
20217 (__asprintf): Don't define as macro. Declare hidden proto.
20218 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20219 (__fsetlocking): Declare hidden proto.
20220 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20221 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20222 hidden proto.
20223 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20224 (_IO_setlinebuf): Remove use of INTUSE.
20225 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20226 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20227 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20228 Remove declaration.
20229 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20230 (_IO_do_flush): Remove use of INTUSE.
20231 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20232 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20233 (_IO_adjust_column, _IO_least_wmarker)
20234 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20235 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20236 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20237 (_IO_default_doallocate, _IO_wdefault_doallocate)
20238 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20239 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20240 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20241 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20242 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20243 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20244 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20245 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20246 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20247 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20248 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20249 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20250 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20251 proto.
20252 (_IO_flush_all_internal, _IO_adjust_column_internal)
20253 (_IO_default_uflow_internal, _IO_default_finish_internal)
20254 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20255 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20256 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20257 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20258 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20259 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20260 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20261 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20262 (_IO_file_close_internal, _IO_file_close_it_internal)
20263 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20264 (_IO_file_init_internal, _IO_file_attach_internal)
20265 (_IO_file_fopen_internal, _IO_file_read_internal)
20266 (_IO_file_sync_internal, _IO_file_seek_internal)
20267 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20268 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20269 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20270 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20271 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20272 (_IO_list_all_internal, _IO_link_in_internal)
20273 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20274 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20275 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20276 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20277 (_IO_do_write_internal, _IO_padn_internal)
20278 (_IO_getline_info_internal, _IO_getline_internal)
20279 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20280 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20281 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20282 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20283 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20284 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20285 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20286 with libc_hidden_ver, remove use of INTUSE.
20287 * libio/genops.c: Likewise.
20288 * libio/freopen.c: Likewise.
20289 * libio/freopen64.c: Likewise.
20290 * libio/iofclose.c: Likewise.
20291 * libio/iofdopen.c: Likewise.
20292 * libio/iofflush.c: Likewise.
20293 * libio/iofflush_u.c: Likewise.
20294 * libio/iofgets.c: Likewise.
20295 * libio/iofgets_u.c: Likewise.
20296 * libio/iofopen.c: Likewise.
20297 * libio/iofopncook.c: Likewise.
20298 * libio/iofread.c: Likewise.
20299 * libio/iofread_u.c: Likewise.
20300 * libio/ioftell.c: Likewise.
20301 * libio/iofwrite.c: Likewise.
20302 * libio/iogetline.c: Likewise.
20303 * libio/iogets.c: Likewise.
20304 * libio/iogetwline.c: Likewise.
20305 * libio/iopadn.c: Likewise.
20306 * libio/iopopen.c: Likewise.
20307 * libio/ioseekoff.c: Likewise.
20308 * libio/ioseekpos.c: Likewise.
20309 * libio/iosetbuffer.c: Likewise.
20310 * libio/iosetvbuf.c: Likewise.
20311 * libio/ioungetc.c: Likewise.
20312 * libio/ioungetwc.c: Likewise.
20313 * libio/iovdprintf.c: Likewise.
20314 * libio/iovsprintf.c: Likewise.
20315 * libio/iovsscanf.c: Likewise.
20316 * libio/memstream.c: Likewise.
20317 * libio/obprintf.c: Likewise.
20318 * libio/oldfileops.c: Likewise.
20319 * libio/oldiofclose.c: Likewise.
20320 * libio/oldiofdopen.c: Likewise.
20321 * libio/oldiofopen.c: Likewise.
20322 * libio/oldiopopen.c: Likewise.
20323 * libio/oldstdfiles.c: Likewise.
20324 * libio/putc.c: Likewise.
20325 * libio/setbuf.c: Likewise.
20326 * libio/setlinebuf.c: Likewise.
20327 * libio/stdfiles.c: Likewise.
20328 * libio/strops.c: Likewise.
20329 * libio/vasprintf.c: Likewise.
20330 * libio/vscanf.c: Likewise.
20331 * libio/vsnprintf.c: Likewise.
20332 * libio/vswprintf.c: Likewise.
20333 * libio/wfiledoalloc.c: Likewise.
20334 * libio/wfileops.c: Likewise.
20335 * libio/wgenops.c: Likewise.
20336 * libio/wmemstream.c: Likewise.
20337 * libio/wstrops.c: Likewise.
20338 * libio/__fpurge.c: Likewise.
20339 * libio/__fsetlocking.c: Likewise.
20340 * assert/assert.c: Likewise.
20341 * debug/fgets_chk.c: Likewise.
20342 * debug/fgets_u_chk.c: Likewise.
20343 * debug/fread_chk.c: Likewise.
20344 * debug/fread_u_chk.c: Likewise.
20345 * debug/gets_chk.c: Likewise.
20346 * debug/obprintf_chk.c: Likewise.
20347 * debug/vasprintf_chk.c: Likewise.
20348 * debug/vdprintf_chk.c: Likewise.
20349 * debug/vsnprintf_chk.c: Likewise.
20350 * debug/vsprintf_chk.c: Likewise.
20351 * malloc/mtrace.c: Likewise.
20352 * misc/error.c: Likewise.
20353 * misc/syslog.c: Likewise.
20354 * stdio-common/asprintf.c: Likewise.
20355 * stdio-common/fxprintf.c: Likewise.
20356 * stdio-common/getw.c: Likewise.
20357 * stdio-common/isoc99_fscanf.c: Likewise.
20358 * stdio-common/isoc99_scanf.c: Likewise.
20359 * stdio-common/isoc99_vfscanf.c: Likewise.
20360 * stdio-common/isoc99_vscanf.c: Likewise.
20361 * stdio-common/isoc99_vsscanf.c: Likewise.
20362 * stdio-common/printf-prs.c: Likewise.
20363 * stdio-common/printf_fp.c: Likewise.
20364 * stdio-common/printf_fphex.c: Likewise.
20365 * stdio-common/printf_size.c: Likewise.
20366 * stdio-common/putw.c: Likewise.
20367 * stdio-common/scanf.c: Likewise.
20368 * stdio-common/sprintf.c: Likewise.
20369 * stdio-common/tmpfile.c: Likewise.
20370 * stdio-common/vfprintf.c: Likewise.
20371 * stdio-common/vfscanf.c: Likewise.
20372 * stdlib/strfmon_l.c: Likewise.
20373 * sunrpc/openchild.c: Likewise.
20374 * sunrpc/xdr_stdio.c: Likewise.
20375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20376 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20377
d6c33fda
RM
203782012-05-24 Roland McGrath <roland@hack.frob.com>
20379
c1487492
RM
20380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20381
20382 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20383 in the third column, to generate for the shared library an IFUNC
20384 that uses _dl_vdso_vsym.
20385 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20386 * Makeconfig (object-suffixes-noshared): New variable.
20387
20388 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20389 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20390 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20391 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20392
d6c33fda
RM
20393 [BZ #14132]
20394 * include/sys/time.h (__gettimeofday): Remove macro.
20395 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20396 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20397 Remove INTDEF.
20398 (__gettimeofday): Add libc_hidden_def.
20399 (gettimeofday): Add libc_hidden_weak.
20400 * sysdeps/mach/gettimeofday.c: Likewise.
20401 * sysdeps/posix/gettimeofday.c: Likewise.
20402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20403 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20405 (__gettimeofday_internal): Remove strong_alias.
20406 (__gettimeofday): Add libc_hidden_def.
20407 (gettimeofday): Add libc_hidden_weak.
20408 * sysdeps/unix/syscalls.list (gettimeofday):
20409 Remove __gettimeofday_internal alias.
20410
b5a2bbe6
L
204112012-05-24 Daniel Jacobowitz <drow@false.org>
20412 H.J. Lu <hongjiu.lu@intel.com>
20413
20414 [BZ #12495]
20415 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20416 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20417 (largebin_index_32_big): New.
20418 (largebin_index): Use it for 16-byte alignment.
20419 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20420 correction with front_misalign.
20421
cfba4fda
L
204222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20423
7f907421
L
20424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20426 Likewise.
20427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20428 Likewise.
20429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20430 Likewise.
20431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20432 Likewise.
20433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20434 Likewise.
20435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20436 Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20438 Likewise.
20439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20440 Likewise.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20442 Likewise.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20444 Likewise.
20445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20446 Likewise.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20448 Likewise.
20449
cfba4fda
L
20450 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20451 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20452
80bad0cc
JM
204532012-05-24 Joseph Myers <joseph@codesourcery.com>
20454
7a25eb06
JM
20455 [BZ #10846]
20456 [BZ #14036]
20457 * math/libm-test.inc (exp_test): Add test from bug 14036.
20458 (pow_test): Add test from bug 10846.
20459
795405f9
JM
20460 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20461 and other flags.
20462 (special_function): Do not include flags in test name.
20463 (parse_args): Likewise.
20464 * sysdeps/i386/fpu/libm-test-ulps: Update.
20465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20469
80bad0cc
JM
20470 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20471 exceptions.
20472 * math/libm-test.inc ("Philosophy"): Update comment about
20473 exception testing.
20474 (UNDERFLOW_EXCEPTION): New macro.
20475 (UNDERFLOW_EXCEPTION_OK): Likewise.
20476 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20477 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20478 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20479 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20480 (INVALID_EXCEPTION_OK): Update value.
20481 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20482 (OVERFLOW_EXCEPTION_OK): Likewise.
20483 (IGNORE_ZERO_INF_SIGN): Likewise.
20484 (test_exceptions): Handle underflow exceptions.
20485 (acos_test): Update for underflow exception expectations.
20486 (cexp_test): Likewise.
20487 (clog_test): Likewise.
20488 (clog10_test): Likewise.
20489 (csqrt_test): Likewise.
20490 (ctan_test): Likewise.
20491 (ctanh_test): Likewise.
20492 (exp_test): Likewise.
20493 (exp10_test): Likewise.
20494 (exp2_test): Likewise.
20495 (expm1_test): Likewise.
20496 (fma_test): Likewise.
20497 (j0_test): Likewise.
20498 (jn_test): Likewise.
20499 (nexttoward_test): Likewise.
20500 (pow_test): Likewise.
20501 (scalbn_test): Likewise.
20502 (scalbln_test): Likewise.
20503 (tan_test): Likewise.
20504 (y1_test): Likewise.
20505 * sysdeps/i386/fpu/libm-test-ulps: Update.
20506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20507
9e0e3d0b
DM
205082012-05-23 David S. Miller <davem@davemloft.net>
20509
20510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20511 (__libc_sigaction): Remove unused local variables.
20512
ccd0a08f
L
205132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20514
20515 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20516
62bdf9a6
PE
205172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20518
f8591f80
PE
20519 mktime: avoid signed integer overflow
20520 * time/mktime.c (__mktime_internal): Do not mishandle the case
20521 where diff == INT_MIN.
20522
94c7d826
PE
20523 mktime: simplify computation of average
20524 * time/mktime.c (ranged_convert): Use new time_t_avg function
20525 instead of rolling our own (probably-slower) code.
20526
ce73d683
PE
20527 mktime: do not assume signed right shift propagates sign bit
20528 * time/mktime.c (isdst_differ): New static function.
20529 (__mktime_internal): No need to normalize tm_isdst now.
20530 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20531 tm_isdst values.
20532
72a22e59
PE
20533 mktime: merge another wrapv change from gnulib
20534 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20535 from some compilers.
20536
68605433
PE
20537 mktime: remove incorrect attempt at unusual arithmetics
20538 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20539 The code didn't really work on such machines anyway.
20540 (TYPE_MINIMUM): Assume two's complement.
20541 (twos_complement_arithmetic): Verify that long_int and time_t
20542 are two's complement (or unsigned, in the latter case).
20543
03cf7fe3
PE
20544 mktime: check signed shifts on long_int and time_t, too
20545 * time/mktime.c (SHR): Check that shifts work as desired
20546 on the types long_int and time_t too, as SHR is used on
20547 such types.
20548
f04dfbc2
PE
20549 mktime: do not assume 'long' is wide enough
20550 * time/mktime.c (verify): Move decl up.
20551 (long_int): New type.
20552 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20553 to remove assumption in the code that 'long' is wide enough to
20554 store year values. This assumption is not true on x32 and on
20555 some non-glibc platforms.
20556
62bdf9a6
PE
20557 mktime: merge wrapv change from gnulib
20558 * time/mktime.c (WRAPV): New macro.
20559 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20560 (guess_time_tm, __mktime_internal): Do not assume that signed
20561 integer overflow wraps around; modern compilers generate code
20562 where this assumption is no longer valid.
20563
5e292e4f
L
205642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20565
20566 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20567 Replace "jmp L(pseudo_end)" with "ret".
20568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20569 Likewise.
20570
8caf8c87
AJ
205712012-05-23 Andreas Jaeger <aj@suse.de>
20572
20573 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20574 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20575
1a09dc56
AJ
205762012-05-23 Andreas Jaeger <aj@suse.de>
20577 Maximilian Attems <max@stro.at>
20578
20579 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20580 New macros.
20581
1c87aba0
L
205822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20583
20584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20585 code so that pseudo_end is just ret and the stack pointer is
20586 correct also for static library in error case.
20587
40e45bd5
JM
205882012-05-23 Joseph Myers <joseph@codesourcery.com>
20589
c2670533
JM
20590 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20591 move to syscalls.list.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20596
40e45bd5
JM
20597 * manual/install.texi (Running make install): Do not mention Linux
20598 kernel version for which pt_chown is not needed.
20599 (Linux): Do not mention problems with nscd with 2.0 kernels.
20600 * INSTALL: Regenerated.
20601
be08eda5
AJ
206022012-05-23 Andreas Jaeger <aj@suse.de>
20603
20604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20605 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20606 macro.
20607 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20609 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20611 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20617 * sysdeps/unix/sysv/linux/bits/in.h
20618 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20619
a6a056bb
RM
206202012-05-22 Roland McGrath <roland@hack.frob.com>
20621
20622 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20623 (PREPARE_VERSION): Just use assert instead, it will be elided
20624 under [NDEBUG] anyway.
20625
c9009328
L
206262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20627
20628 * sysdeps/unix/sysv/linux/Makefile: Include
20629 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20630 (sysdep_routines): Remove sysctl.
c9009328
L
20631 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20632 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20634 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20635 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20636
73338355
AJ
206372012-05-22 Andreas Jaeger <aj@suse.de>
20638
20639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20640 that pseudo_end is just ret and the stack pointer is correct also
20641 for static library in error case.
20642
d44638b0
PP
206432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20644
20645 [BZ #14122]
20646 * nss/nsswitch.c (defconfig_entries): New variable.
20647 (__nss_database_lookup): Don't leak defconfig entries.
20648 (nss_parse_service_list): Don't leak on error paths.
20649 (free_database_entries): New function.
20650 (free_defconfig): New function.
20651 (free_mem): Move common code to free_database_entries.
20652
31a39bd8
L
206532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20654
da0331a8
L
20655 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20656 Add arch_prctl.
20657 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20658
31a39bd8
L
20659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20660 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20662 New macro.
20663 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20664 (INTERNAL_SYSCALL_TYPES): Likewise.
20665 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20666 (LOAD_REGS_TYPES_[1-6]): Likewise.
20667 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20668 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20669
45470df3
AZ
206702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20671
20672 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20673 copysignl for GLIBC_2_0.
20674 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20675 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20677 logbl for GLIBC_2_0.
20678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20679 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20680
98a61bcb
L
206812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20682
a4f6e481
L
20683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20685
f63d5db6
L
20686 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20687 Use "neg %eax".
20688
98a61bcb
L
20689 * time/mktime.c: Update copyright years.
20690
95770f14
PE
206912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20692
6226efbd
PE
20693 mktime: merge comment-quoting-style change from gnulib
20694 * time/mktime.c: Quote 'like this' in comments.
20695 The GNU coding standards suggest that we no longer quote `like this',
20696 as "`" and "'" are typically rendered asymmetrically nowadays.
20697 The typical gnulib style is to quote 'like this' when quoting
20698 code, and "like this" when quoting English.
20699
b99e4f78
PE
20700 * time/mktime.c (compile-command): Add "-I.".
20701
643e01e6
PE
20702 mktime: merge mktime-internal.h change from gnulib
20703 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20704
2554247d
PE
20705 mktime: merge time_r change from gnulib
20706 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20707
826dd0ab
PE
20708 mktime: merge DEBUG change from gnulib
20709 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20710 case system <time.h> has a #define.
20711
bd83aabe
PE
20712 mktime: merge <sys/types.h> change from gnulib
20713 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20714 since <time.t> is now guaranteed to define time_t.
20715
95770f14
PE
20716 mktime: merge HAVE_CONFIG_H change from gnulib
20717 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20718
5e1a27a9
L
207192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20720
0e44a77e
L
20721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20722 Use "neg %eax".
20723
5e1a27a9
L
20724 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20725 __rlim_t cast.
20726 (struct rusage): Use anonymous union to pad each field to
20727 __syscall_slong_t.
20728
46259bec
DM
207292012-05-21 David S. Miller <davem@davemloft.net>
20730
20731 * Makefules (o-iterator): Remove .s cases.
20732 (compile-command.s): Delete.
20733 (COMPILE.s): Delete.
20734 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20735
59f0c22e
JM
207362012-05-21 Joseph Myers <joseph@codesourcery.com>
20737
20738 * configure.in (libc_cv_predef_stack_protector): Only consider
20739 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20740 * configure: Regenerated.
20741
20c07380
L
207422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20743
bbb3154b
L
20744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20745 New macro. Use R*LP on int and pointer.
20746 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20747 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20749 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20750
20c07380
L
20751 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20752 [__WORDSIZE_TIME64_COMPAT32] instead of
20753 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20754 (struct utmp): Likewise.
20755 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20756 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20757 Renamed to ...
20758 (__WORDSIZE_TIME64_COMPAT32): This.
20759 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20760 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20761 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20762 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20763 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20764 (__WORDSIZE_TIME64_COMPAT32): New macro.
20765
d8d1017e
AJ
207662012-05-21 Andreas Jaeger <aj@suse.de>
20767
20768 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20769 only if [SHARED]. Add prototype for __wcschr_ia32.
20770
6c7fb145
RM
207712012-05-21 Roland McGrath <roland@hack.frob.com>
20772
20773 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20774 of %rbp unmolested in the jmp_buf while mangling the low bits.
20775 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20776 unmolested high bits of %rbp while demangling the low bits.
20777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20778
66274218
AJ
207792012-05-21 Andreas Jaeger <aj@suse.de>
20780
07c58f8f
AJ
20781 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20782 * sunrpc/svc_simple.c: Use it for registerrpc.
20783 * sunrpc/xcrypt.c: Use it for passwd2des.
20784
66274218
AJ
20785 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20786
61f65140
L
207872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20788
20789 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20790 Don't define if [__SYSCALL_WORDSIZE != 32].
20791 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20792 New macro.
20793
5fefb436
AJ
207942012-05-21 Bruno Haible <bruno@clisp.org>
20795 Andreas Jaeger <aj@suse.de>
20796
20797 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20798 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20799 inptr and inend for must_buffer_ch.
20800 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20801 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20802 * stdio-common/Makefile (tests): Remove bug15.
20803 (bug15-ENV): Remove macro.
20804 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20805 anymore.
20806
d8e272ab
AJ
208072012-05-19 Andreas Jaeger <aj@suse.de>
20808 Roland McGrath <roland@hack.frob.com>
20809
20810 * manual/contrib.texi: Completely rewritten. It contains now an
20811 alphabetical list of contributors and their contributions.
20812
4a56a162
RH
208132012-05-21 Richard Henderson <rth@twiddle.net>
20814
20815 * misc/getauxval.c (__getauxval): Use unsigned long int.
20816 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20817 (getauxval): Use unsigned long int.
20818
d024d23c
L
208192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20822
cbc00a03
RM
208232012-05-21 Roland McGrath <roland@hack.frob.com>
20824
20825 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20826 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20827 __alignof__ (long double).
20828
478143fa
AZ
208292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20830
20831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20832
c7683a6d
RH
208332012-05-20 Richard Henderson <rth@twiddle.net>
20834
20835 * misc/getauxval.c: New file.
20836 * misc/sys/auxv.h: New file.
20837 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20838 (routines): Add getauxval.
20839 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20841 * elf/dl-sysdep.c (_dl_auxv): Remove.
20842 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20843 * elf/dl-support.c (_dl_auxv): New variable.
20844 (_dl_aux_init): Initialize it.
20845 * manual/startup.texi (Auxiliary Vector): New node.
20846 * sysdeps/generic/bits/hwcap.h: New file.
20847 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20848 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20849 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20850 * sysdeps/sparc/sysdep.h: ... here. Include it.
20851 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20854 Update.
c7683a6d
RH
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20863
a6f1845d
AZ
208642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20865
20866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20867
cbcbe830
DM
208682012-05-19 David S. Miller <davem@davemloft.net>
20869
20870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20871
e0b16cc2
JM
208722012-05-19 Joseph Myers <joseph@codesourcery.com>
20873
20874 [BZ #14123]
20875 * math/s_ccosh.c: Include <float.h>
20876 (__ccosh): Avoid internal overflow calculating sinh and cosh
20877 values before multiplying by sin and cos values.
20878 * math/s_ccoshf.c: Likewise.
20879 * math/s_ccoshl.c: Likewise.
20880 * math/s_csin.c: Likewise.
20881 * math/s_csinf.c: Likewise.
20882 * math/s_csinl.c: Likewise.
20883 * math/s_csinh.c: Likewise.
20884 * math/s_csinhf.c: Likewise.
20885 * math/s_csinhl.c: Likewise.
20886 * math/libm-test.inc (ccos_test): Add more tests.
20887 (ccosh_test): Likewise.
20888 (csin_test): Likewise.
20889 (csinh_test): Likewise.
20890 * sysdeps/i386/fpu/libm-test-ulps: Update.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892
6ad13e08
L
208932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20894
f66f0ce8
L
20895 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20896 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20897
6ad13e08
L
20898 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20899
b1d072a7
JM
209002012-05-19 Joseph Myers <joseph@codesourcery.com>
20901
20902 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20903 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20904 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20905 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20906 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20907 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20908 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20909 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20910 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20911 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20912 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20913 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20914 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20915 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20916 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20917 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20918 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20919 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20920 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20921 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20922 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20923 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20924 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20925 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20926 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20927 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20928 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20929 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20930 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20931 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20932 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20933
9eae47cb
AJ
209342012-05-18 Andreas Jaeger <aj@suse.de>
20935
20936 * csu/.gitignore: Delete.
20937
bb07f69f
L
209382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20939
20940 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20941 (timex): Use __syscall_slong_t.
20942
e6bdb741
AJ
209432012-05-18 Andreas Jaeger <aj@suse.de>
20944 Carlos O'Donell <carlos_odonell@mentor.com>
20945
20946 * manual/install.texi (Configuring and compiling): Update
20947 description about files modified in the source directory.
d6c33fda 20948 * INSTALL: Regenerated.
e6bdb741 20949
1b74487e
L
209502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20951
20952 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20953 value. Use "or" to set return value to -1.
20954 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20955 negate return value.
20956
a88b64b9
TMQMF
209572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20958
20959 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20960 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20961 failure if the compiler has Graphite support disabled.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20963 Likewise.
20964 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20965 CFLAGS-memmove.c): Likewise.
20966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20967 Likewise.
20968
3707636e
L
209692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20970
610b8622
L
20971 * sysdeps/x86_64/x32/_itoa.h: New file.
20972
7cd195df
L
20973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20974 getdents system call only if kernel and user dirents have the
20975 same d_ino and d_off.
20976
94b07d20
L
20977 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20978 LLONG_MAX != LONG_MAX.
20979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20980 (_fitoa_word): Likewise.
20981
18298070
L
20982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20983 years.
20984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20985 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20987
553c7ea4
L
20988 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20989 include <bits/wordsize.h>. Check __x86_64__ instead of
20990 __WORDSIZE.
20991 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20992 if __x86_64__ is defined. Use anonymous union on fpstate.
20993
3707636e
L
20994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20995 anonymous union.
20996
b53ef01a
AS
209972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20998
37fb1dc0
AS
20999 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21000 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21001 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21002 Refer to _rtld_local_ro instead of _rtld_global_ro.
21003 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21004 Likewise.
21005 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21006 Likewise.
21007 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21008 Likewise.
21009 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21010 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21011 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21012
b53ef01a
AS
21013 * sysdeps/powerpc/powerpc32/dl-machine.c
21014 (__elf_machine_runtime_setup) [PROF]: Don't reference
21015 _dl_prof_resolve.
21016
7a185db2
AJ
210172012-05-18 Andreas Jaeger <aj@suse.de>
21018
21019 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21020 function only available for GCCs before 3.4 since GCC 3.4
21021 introduced a builtin.
21022 (lrint): Likewise.
21023 (llrintf): Likewise.
21024 (llrint): Likewise.
21025 (fmaxf): Likewise.
21026 (fmax): Likewise.
21027 (fminf): Likewise.
21028 (fmin): Likewise.
21029 (rint): Likewise.
21030 (rintf): Likewise.
21031 (nearbyint): Likewise.
21032 (nearbyintf): Likewise.
21033 (ceil): Likewise.
21034 (ceilf): Likewise.
21035 (floor): Likewise.
21036 (floorf): Likewise.
21037
3e5aef87
L
210382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21039
428bd707
L
21040 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21041 on both fields and cast pointer to __syscall_ulong_t.
21042
3e5aef87
L
21043 * bits/types.h (__fsword_t): New type.
21044 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21045 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21047 (__FSWORD_T_TYPE): Likewise.
21048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21049 (__FSWORD_T_TYPE): Likewise.
21050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21051 (__FSWORD_T_TYPE): Likewise.
21052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21053 (__FSWORD_T_TYPE): Likewise.
21054 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21055 __SWORD_TYPE with __fsword_t.
21056 (statfs64): Likewise.
21057
1ba7c3dc
DM
210582012-05-17 David S. Miller <davem@davemloft.net>
21059
21060 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21061
59910343
AJ
210622012-05-17 Andreas Jaeger <aj@suse.de>
21063
21064 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21065 warning.
21066
2e4c1e9e
L
210672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21068
21069 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21070
de7f5ce7
AJ
210712012-05-17 Andreas Jaeger <aj@suse.de>
21072
21073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21074 when it is used.
21075
286abc3d
CM
210762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21077
21078 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21079
477cc68e
L
210802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21081
21082 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21083 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21084
1a0994f5
CD
210852012-05-17 Andreas Jaeger <aj@suse.de>
21086 Carlos O'Donell <carlos_odonell@mentor.com>
21087
21088 [BZ #14059]
21089 * sysdeps/x86_64/multiarch/init-arch.h
21090 (bit_YMM_Usable): Rename to...
21091 (bit_AVX_Usable): ... this.
21092 (bit_FMA4_Usable): New macro.
21093 (bit_XMM_state): New macro.
21094 (bit_YMM_state): New macro.
21095 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21096 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21097 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21098 (CPUID_OSXSAVE): New macro.
21099 (CPUID_AVX): New macro.
21100 (CPUID_FMA4): New macro.
21101 (index_YMM_Usable): Rename to...
21102 (index_AVX_Usable): ... this.
21103 (HAS_AVX): Use HAS_ARCH_FEATURE.
21104 (HAS_FMA4): Likewise.
21105 (HAS_YMM_USABLE): Remove.
21106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21107 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21108 are present.
21109 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21110 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21111 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21112 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21113 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21114
0af797de
CM
211152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21116
21117 * math/libm-test.c: Support platforms without multiple rounding modes.
21118 * math/bug-nextafter.c: Support platforms without FP exceptions.
21119 * math/bug-nexttoward.c: Likewise.
21120 * math/test-fenv.c: Likewise.
21121 * math/test-misc.c: Likewise.
21122 * stdlib/bug-getcontext.c: Likewise.
21123
e39745ff
AJ
211242012-05-17 Andreas Jaeger <aj@suse.de>
21125
21126 * manual/examples/search.c (critter_cmp): Change signature to
21127 avoid warnings.
21128 * manual/string.texi (Collation Functions): Likewise.
21129
48970aba
L
211302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21131
21132 * bits/types.h: Fold copyright years.
21133 * bits/typesizes.h: Likewise.
21134 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21138 * time/time.h: Likewise.
21139
bedee953
PP
211402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21141
21142 [BZ #208]
21143 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21144 in instead of returning them. Return void.
21145 (__libc_mallinfo): Accumulate over all arenas.
21146 (__malloc_stats): Adjust for change in int_mallinfo interface.
21147
61653dfb
RM
211482012-05-16 Roland McGrath <roland@hack.frob.com>
21149
30b99d79
RM
21150 [BZ #10375]
21151 * configure.in (NM): Add AC_CHECK_TOOL for it.
21152 (libc_extra_cflags): New substituted variable.
21153 Check for -fstack-protector being used implicitly.
21154 * configure: Regenerated.
21155 * config.make.in (config-extra-cflags): New variable,
21156 gets @libc_extra_cflags@.
21157 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21158
61653dfb
RM
21159 [BZ #10375]
21160 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21161 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21162 * configure: Regenerated.
21163 * config.make.in (CPPUNDEFS): New substituted variable.
21164 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21165 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21166 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21167
661768bb
L
211682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21169
21170 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21171 (mq_attr): Use __syscall_slong_t.
21172
d4261567
L
211732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21174
21175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21176 Check __x86_64__ instead of __WORDSIZE.
21177 (_STAT_VER_LINUX): Likewise.
21178 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21179 __syscall_ulong_t and __syscall_slong_t.
21180 (stat64): Likewise.
21181
cf3ff365
L
211822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21183
21184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21185
76cf3e4d
L
211862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21187
21188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21189
a637753a
L
211902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21191
21192 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21193 __syscall_ulong_t.
21194
d5e05119
L
21195 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21196 include <bits/wordsize.h>. Check __x86_64__ instead of
21197 __WORDSIZE.
21198 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21199 defined.
21200 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21201
f62ee380
L
21202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21203 include <bits/wordsize.h>. Check __x86_64__ instead of
21204 __WORDSIZE.
21205 (user_regs_struct): Use "__extension__ unsigned long long"
21206 instead of "unsigned long" if __x86_64__ is defined.
21207 (user): Likewise. Pad after pointer field if __ILP32__ is
21208 defined.
21209
4e124ced
JM
212102012-05-16 Joseph Myers <joseph@codesourcery.com>
21211
6a3951a0
JM
21212 * configure.in (makeinfo): Require version 4.5 or later. Allow
21213 versions 5 to 9.
21214 * configure: Regenerated.
21215 * manual/install.texi (texinfo): Increase version requirement to
21216 4.5 or later.
21217 * INSTALL: Regenerated.
21218
4e124ced
JM
21219 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21220
953ca31a
L
212212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21222
21223 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21224
617aca05
L
21225 * sysdeps/x86_64/x32/ffs.c: New file.
21226
5762f7ae
L
21227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21228 __syscall_ulong_t.
21229 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21230 defined. Use __syscall_ulong_t.
21231 (shminfo): Use __syscall_ulong_t.
21232 (shm_info): Likewise.
21233
a26b6856
L
21234 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21235 __syscall_ulong_t.
21236
cb2b9ef7
L
21237 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21238 <bits/wordsize.h>.
21239 (msgqnum_t): Use __syscall_ulong_t.
21240 (msglen_t): Likewise.
21241 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21242 __syscall_ulong_t.
21243
34683bb0
L
21244 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21246
84a68786
L
21247 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21248
48baa5f1
L
21249 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21250 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21251
180be88b
L
21252 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21253 __syscall_slong_t.
21254
5e90c8ad
L
21255 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21256 include <bits/wordsize.h>. Check __x86_64__ instead of
21257 __WORDSIZE.
21258
23dfb58b
L
21259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21260 "unsigned long long int" if __x86_64__ is defined.
21261 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21262
ce5d54b0
L
21263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21265 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21266
13dc9eac
L
21267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21268 <stdint.h>.
21269 (GET_PC): Cast to uintptr_t first.
21270 (GET_FRAME): Likewise.
21271 (GET_STACK): Likewise.
21272
a7895d15
L
21273 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21279 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21280 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21281 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21282 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21284 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21290 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21292 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21294 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21296 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21302
656416c9
AS
213032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21304
5bd66283
AS
21305 * Makerules (+depfiles): Also collect depfiles from .oS in
21306 $(extra-objs).
21307 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21308 .oS, $(libnldbl-routines)).
21309
656416c9
AS
21310 * Makerules (native-compile-mkdep-flags): Define.
21311 * sunrpc/Makefile (extra-objs): Add $(addprefix
21312 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21313 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21314 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21315 calling $(make-target-directory).
21316
a46f2169
L
213172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21318
21319 * bits/types.h (__snseconds_t): Removed.
21320 * time/time.h (struct timespec): Replace __snseconds_t with
21321 __syscall_slong_t.
21322 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21323 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21324 Likewise.
21325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21326 (__SNSECONDS_T_TYPE): Likewise.
21327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21328 (__SNSECONDS_T_TYPE): Likewise.
21329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21330 (__SNSECONDS_T_TYPE): Likewise.
21331
6af6528b
L
213322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21333
21334 * sysdeps/mach/hurd/bits/typesizes.h
21335 (__SYSCALL_SLONG_TYPE): New macro.
21336 (__SYSCALL_ULONG_TYPE): Likewise.
21337
de986b56
L
213382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21339
21340 * bits/types.h (__syscall_slong_t): New type.
21341 (__syscall_ulong_t): Likewise.
21342
21343 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21344 (__SYSCALL_ULONG_TYPE): Likewise.
21345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21346 (__SYSCALL_SLONG_TYPE): Likewise.
21347 (__SYSCALL_ULONG_TYPE): Likewise.
21348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21349 (__SYSCALL_SLONG_TYPE): Likewise.
21350 (__SYSCALL_ULONG_TYPE): Likewise.
21351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21352 (__SYSCALL_SLONG_TYPE): Likewise.
21353 (__SYSCALL_ULONG_TYPE): Likewise.
21354
85736dc7
L
213552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21358 Add sigaltstack-offsets.sym.
21359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21360 <sigaltstack-offsets.h>.
21361 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21362 longjmp_msg pointer.
21363 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21364 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21365 signal stack.
21366 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21367
cc03b296
JM
213682012-05-15 Joseph Myers <joseph@codesourcery.com>
21369
a9538892
JM
21370 * elf/stackguard-macros.h: Remove file.
21371 * sysdeps/generic/stackguard-macros.h: New file.
21372 * sysdeps/i386/stackguard-macros.h: Likewise.
21373 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21374 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21375 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21376 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21377 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21378 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21379 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21380 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21381 <elf/stackguard-macros.h>.
21382
cc03b296
JM
21383 [BZ #14109]
21384 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21385 __aligned__ in attribute.
21386 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21387 (gregset_t): Likewise.
21388
93171016
L
213892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21390
21391 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21392 * sysdeps/x86_64/64/Implies-after: Here. New file.
21393 * sysdeps/x86_64/x32/Implies-after: New file.
21394
d86813a0
L
213952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21396
21397 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21398 and access return value for _dl_profile_fixup. Use R10_LP to
21399 load frame size.
21400
2953ec75
L
214012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21402
21403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21404
3b550e9e
L
214052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21406
21407 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21408 * sysdeps/x86_64/x32/sysdep.h: New file.
21409
eda41706
L
214102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21411
21412 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21413 * sysdeps/x86_64/setjmp.S: Likewise.
21414
9ea01d93
AZ
214152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21416
21417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21419 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21421 remove unused global constant.
21422
02a91938
CM
214232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21424
21425 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21426 include of <not-cancel.h>.
21427
6540185f
RM
214282012-05-15 Roland McGrath <roland@hack.frob.com>
21429
21430 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21431
509072a0
AJ
214322012-05-15 Jeff Law <law@redhat.com>
21433 Andreas Jaeger <aj@suse.de>
21434
21435 [BZ #13594]
21436 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21437 out from...
21438 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21439 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21441 code changing __hst_map_handle.map.
21442
ba75122d
RM
214432012-05-15 Roland McGrath <roland@hack.frob.com>
21444
21445 * configure.in (sysnames): Look for Implies-before and Implies-after
21446 files.
21447 * configure: Regenerated.
21448
890d8bd8
L
214492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21450
21451 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21452 8-byte data alignment with LP_SIZE alignment.
21453
f6ee6623
L
214542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21455
21456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21457 into R10_LP.
21458
ea2626f6
L
214592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21462
085f715e
L
214632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21464
21465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21466 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21468 Likewise.
21469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21470
be8498fc
L
214712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21472
21473 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21474 (stackinfo_sub_sp): Likewise.
21475
70bc83b9
L
214762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21477
21478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21479 RAX_LP.
21480
9bc0b730
L
214812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21482
21483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21484 into R*_LP.
21485
6d2850e7
L
214862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21487
21488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21489 sizes into R*_LP.
21490
3cb84561
L
214912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21494
54e2ed81
L
214952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21496
21497 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21498 into R11_LP and load __x86_64_shared_cache_size_half into
21499 R8_LP.
21500
8a17f349
L
215012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21504 R8_LP.
21505
777b1eea
AZ
215062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21507
21508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21509 logb for POWER7.
21510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21511 logbf for POWER7.
21512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21513 logbl for POWER7.
21514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21515 powerpc32/power7/fpu/s_logb.c via #include.
21516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21517 powerpc32/power7/fpu/s_logbf.c via #include.
21518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21519 powerpc32/power7/fpu/s_logbl.c via #include.
21520
d20d4ac2
JM
215212012-05-15 Joseph Myers <joseph@codesourcery.com>
21522
21523 * README.libm: Remove file.
21524
6cdef1ab
L
215252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21526
21527 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21528 count for x32. Use R*_LP and omit operand-size suffix.
21529
0b254d8f
L
215302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21531
21532 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21533 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21534 * sysdeps/x86_64/x32/shlib-versions: New file.
21535
ceb809dc
RM
215362012-05-14 Roland McGrath <roland@hack.frob.com>
21537
21538 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21539 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21540 Use _dl_fatal_printf instead.
21541
37f1abd4
JM
215422012-05-14 Joseph Myers <joseph@codesourcery.com>
21543
21544 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21545 set if not set by the user. Do not allow for being unset.
21546 * sysdeps/unix/sysv/linux/configure: Regenerated.
21547
11de3a33
L
215482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21549
21550 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21551 the `q' suffix from lea and replace .quad with ASM_ADDR.
21552
e02f153a
L
215532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21554
21555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21556 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21557 instead of $17.
21558 (PTR_DEMANGLE): Likewise.
21559
520ae0fd
L
215602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21563 (LP_OP): Likewise.
21564 (ASM_ADDR): Likewise.
21565 (RAX_LP): Likewise.
21566 (RBP_LP): Likewise.
21567 (RBX_LP): Likewise.
21568 (RCX_LP): Likewise.
21569 (RDI_LP): Likewise.
21570 (RSI_LP): Likewise.
21571 (RSP_LP): Likewise.
21572 (R8_LP): Likewise.
21573 (R9_LP): Likewise.
21574 (R10_LP): Likewise.
21575 (R10_LP): Likewise.
21576 (R11_LP): Likewise.
21577 (R12_LP): Likewise.
21578 (R13_LP): Likewise.
21579 (R14_LP): Likewise.
21580 (R15_LP): Likewise.
21581
b985be81
L
215822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * sysdeps/x86_64/x32/dl-machine.h: New file.
21585
6a4888ff
AJ
215862012-05-14 Andreas Jaeger <aj@suse.de>
21587
21588 * manual/Makefile (subdir): Remove export of subdir.
21589 (all): Remove target.
21590 (.PHONY): Remove all from list.
21591 (mkinstalldirs): Remove.
21592 (.PHONY): Remove installdirs from list.
21593 ($(inst_infodir)/libc.info): Use make-target-directory.
21594 (installdirs): Remove.
21595 (subdir_%): Remove.
21596 (glibc-targets): Remove.
21597 (lib): Remove.
21598 (stubs): Remove.
21599 ($(objpfx)stubs ../po/manual.pot): Remove.
21600 ($(objpfx)stamp%): Remove.
21601 (make-target-directory): Remove.
21602 (subdir_install): Remove.
21603 (routines): Remove.
21604 (aux): Remove.
21605 (sources): Remove.
21606 (objects): Remove.
21607 (headers): Remove.
21608
21609 [BZ #13750]
21610 * manual/.gitignore: Remove, it's not needed anymore.
21611 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21612 all files in it.
21613 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21614 directory.
21615 (texis): Renamed to $(objpfx)texis.
21616 (texis-path): New, contains path to generated files.
21617 (chapters.%): Use texis-path for complete path, add extra argument
21618 libc-texinfo.sh.
21619 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21620 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21621 (summary,texi, stamp-summary): Use complete path of
21622 files. Generate files in build dir.
21623 (dir-add.texi): Build in build dir.
21624 (libm-err.texi,stamp-libm-err): Likewise.
21625 (version.texi, stamp-version): Likewise.
21626 (.%c.texi): Likewise.
21627 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21628 (mostlyclean): Remove target.
21629 (realclean): Remove target.
21630 (generated): Add new variable with contents from mostlyclean and
21631 realclean, remove entries duplicated in common-mostlyclean, add
21632 stamp-libm-err and stamp-version.
21633 (generated-dirs): Add libc directory.
21634 ($(inst_infodir)/libc.info): Install files from build dir.
21635
21636 * manual/install.texi (Configuring and compiling): Adjust since
21637 the info files are not part of the tar ball anymore.
21638
7ac77294
AJ
216392012-05-14 Andreas Jaeger <aj@suse.de>
21640
21641 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21642 variable.
21643
ffb7875d
JM
216442012-05-14 Joseph Myers <joseph@codesourcery.com>
21645
21646 [BZ #13717]
21647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21648 to 2.2.0 where earlier.
21649 * sysdeps/unix/sysv/linux/configure: Regenerated.
21650 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21651 Remove conditional code.
21652 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21653 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21654 Remove conditional code.
21655 [!__NR_lchown]: Likewise.
21656 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21657 [__NR_lchown]: Likewise.
21658 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21659 comment referencing __ASSUME_LCHOWN_SYSCALL.
21660 * sysdeps/unix/sysv/linux/i386/sigaction.c
21661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21663 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21664 Remove conditional code.
21665 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21666 (__protocol_available): Remove #if 0 code.
21667 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21668 conditional code.
21669 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21670 * sysdeps/unix/sysv/linux/kernel-features.h
21671 (__ASSUME_GETCWD_SYSCALL): Don't define.
21672 (__ASSUME_REALTIME_SIGNALS): Likewise.
21673 (__ASSUME_PREAD_SYSCALL): Likewise.
21674 (__ASSUME_PWRITE_SYSCALL): Likewise.
21675 (__ASSUME_POLL_SYSCALL): Likewise.
21676 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21677 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21678 non-SPARC.
21679 (__ASSUME_SIOCGIFNAME): Don't define.
21680 (__ASSUME_MSG_NOSIGNAL): Likewise.
21681 (__ASSUME_SENDFILE): Define unconditionally.
21682 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21683 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21684 conditional code.
21685 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21686 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21687 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21688 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21689 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21690 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21691 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21705 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21708 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21716 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21717 Remove conditional code.
21718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21719 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21720 Remove conditional code.
21721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21722 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21723 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21724 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21725 Remove conditional code.
21726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21727 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21728 Remove conditional code.
21729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21730 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21731 Remove conditional code.
21732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21733 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21734 Remove conditional code.
21735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21736 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21737 Remove conditional code.
21738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21739 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21742 * sysdeps/unix/sysv/linux/sigaction.c
21743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21745 * sysdeps/unix/sysv/linux/sigpending.c
21746 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21747 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21748 * sysdeps/unix/sysv/linux/sigprocmask.c
21749 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21750 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21751 * sysdeps/unix/sysv/linux/sigsuspend.c
21752 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21753 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21754 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21755 (__libc_missing_rt_sigs): Remove.
21756 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21757 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21758 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21759 Remove conditional code.
21760 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21761 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21762 return 1.
21763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21764 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21766 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21767
1bfb7291
AJ
217682012-05-14 Andreas Jaeger <aj@suse.de>
21769
caae5a81
AJ
21770 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21771 it's not used in glibc.
21772 (__coshm1): Likewise.
21773 (__acosh1p): Likewise.
21774 (__sgn): Likewise.
21775
1bfb7291
AJ
21776 * manual/string.texi (Copying and Concatenation): Add missing
21777 variable in concat example.
21778 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21779
c044d724
L
217802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21781
144c5467 21782 [BZ #14103]
c044d724
L
21783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21784 __builtin_clzl with __builtin_clzll.
21785
2523c62b
L
217862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 [BZ #14104]
21789 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21790 libc_freeres_ptr.
21791
d7bb4c42
LD
217922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21793
21794 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21795 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21796 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21797 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21798
9dc4e1fb
MF
217992012-05-14 Mike Frysinger <vapier@gentoo.org>
21800
21801 * NEWS: Update ia64 info.
21802
c7df0112
AS
218032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21804
21805 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21806 used as bcopy.
21807
dc70356c
TS
218082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21809
21810 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21811 * sysdeps/unix/syscalls.list (dup3): Likewise.
21812 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21813 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21814
9fb1a21f
L
218152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21816
21817 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21818 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21819
4822a2a5
L
218202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21823 thread pointer.
21824 (TLS_IE): Use mov/add instead of movq/addq to load thread
21825 pointer.
21826 (TLS_GD_PREFIX): New.
21827 (TLS_GD): Use it.
21828
842b81d6
DM
218292012-05-11 David S. Miller <davem@davemloft.net>
21830
21831 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21832 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21833 (_FPU_SETCW): Likewise.
21834
1cf463cd
L
218352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21836
21837 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21838 is 32-byte aligned.
21839
60cc4a18
AS
218402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21841
21842 [BZ #11837]
21843 * iconvdata/gb18030.c: Update tables.
21844 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21845 characters specially.
21846 (BODY for TO_LOOP): Add encoding of missing ranges.
21847
febb44a4
TS
218482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21849
21850 [BZ #13673]
21851 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21852 * sysdeps/mach/hurd/dup3.c: Likewise.
21853 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21854 * sysdeps/powerpc/memmove.c:: Likewise.
21855
0a10fb9e
L
218562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21859 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21860
df8a552f
L
218612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 * elf/elf.h (R_X86_64_RELATIVE64): New.
21864 (R_X86_64_NUM): Updated.
21865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21866 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21867 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21868 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21869 tst-quad1pie tst-quad2pie
21870 (modules-names): Add tst-quadmod1 tst-quadmod2.
21871 ($(objpfx)tst-quad1): New dependency.
21872 ($(objpfx)tst-quad2): Likewise.
21873 ($(objpfx)tst-quad1pie): Likewise.
21874 ($(objpfx)tst-quad2pie): Likewise.
21875 * sysdeps/x86_64/tst-quad1.c: New file.
21876 * sysdeps/x86_64/tst-quad1pie.c: New file.
21877 * sysdeps/x86_64/tst-quad2.c: Likewise.
21878 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21879 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21880 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21881 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21882 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21883
f34d6f84
ST
218842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21885
f42d41d1
ST
21886 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21887 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21888 * streams/stropts.h (t_scalar_t): Define type.
21889
3c3571fc
ST
21890 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21891 (_PATH_PRESERVE): Set to "/var/lib".
21892 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21893
61f06bd3
ST
21894 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21895 instead of int.
21896
918d4d71
ST
21897 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21898 if __dir_mkfile succeeded.
21899
f34d6f84
ST
21900 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21901 checking for _hurd_dtablesize. Unlock it right after having
21902 finished _hurd_dtable allocation.
21903
10589b4a
TS
219042012-05-10 Thomas Schwinge <thomas@schwinge.name>
21905
674cdbc7
TS
21906 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21907 * sysdeps/mach/hurd/configure: Regenerated.
21908 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21909 special-casing to...
21910 * sysdeps/gnu/configure.in: ... this new file.
21911 * sysdeps/unix/sysv/linux/configure: Regenerated.
21912 * sysdeps/gnu/configure: New generated file.
21913
8e41b99f
TS
21914 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21915 for Linux: use nsec instead of usec, as well as:
21916 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21917 members of type struct timespec.
21918 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21919 New macros.
21920 (struct stat64): Likewise.
21921 (_STATBUF_ST_NSEC): New macro.
21922 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21923
10589b4a
TS
21924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21925 __strtoul_internal rather than strtoul.
21926
63643c85
PT
219272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21928
21929 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21930 and reject them.
21931
3faebe6a
ST
219322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21933
21934 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21935 which preserves existing values.
21936 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21937
c6474b07
PT
219382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21939
21940 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21941 TIMEOUT values. Return EINVAL for NFDS values either negative or
21942 greater than FD_SETSIZE.
21943
1043890b
ST
219442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21945
21946 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21947 allocated, call __vm_protect to finish enabling the existing space, and
21948 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21949 allocate the remainder.
21950
37ed8b9b
PT
219512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21952
21953 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21954 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21955
db653660
ST
219562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21957
37ed8b9b
PT
21958 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21959 sysdeps/mach/hurd/readlink.c.
b29d4053 21960
db653660
ST
21961 * posix/tst-sysconf.c (posix_options): Only use
21962 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21963 _POSIX_SYNCHRONIZED_IO when they are defined
21964 * sysdeps/mach/hurd/bits/posix_opt.h:
21965 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21966 (_XOPEN_REALTIME): Undefine macro.
21967 (_XOPEN_REALTIME_THREADS): Undefine macro.
21968 (_XOPEN_SHM): Undefine macro.
21969 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21970 macro to -1.
21971 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21972 macro to -1.
21973 (_POSIX_ASYNC_IO): Undefine macro.
21974 (_POSIX_PRIORITIZED_IO): Undefine macro.
21975 (_POSIX_SPIN_LOCKS): Define macro to -1.
21976
ee16e894
ST
21977 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21978 SA_NODEFER, SA_RESETHAND.
21979 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21980 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21981 F_DUPFD_CLOEXEC.
21982
6103ae3b
TS
219832012-05-10 Thomas Schwinge <thomas@schwinge.name>
21984
21985 * elf/Makefile (pldd-modules): Define unconditionally.
21986
80b4e5f3
TS
219872012-05-10 Thomas Schwinge <thomas@schwinge.name>
21988
21989 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21990
edadcbd6
ST
219912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21992
21993 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21994 Return ENOENT when name is empty.
21995 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21996
80694780
TS
219972012-05-10 Thomas Schwinge <thomas@schwinge.name>
21998
1792c087
TS
21999 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22000
80694780
TS
22001 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22002
6b645f0d
ST
220032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22004
80694780
TS
22005 Fix mlock in all cases except non-readable pages.
22006 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22007 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22008
6b645f0d
ST
22009 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22010 (__mkdir): When path is `/', just fail with EEXIST.
22011 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22012
e468f8a3
TS
220132012-05-10 Thomas Schwinge <thomas@schwinge.name>
22014
22015 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22016 <sys/uio.h> (for writev).
22017 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22018 and <sys/param.h> (for MIN).
22019
a4186cff
PT
220202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22021
22022 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22023 REQUESTED_TIME. Properly set the remaining time and return EINTR
22024 if interrupted.
22025
510bbf14
TS
220262012-05-10 Thomas Schwinge <thomas@schwinge.name>
22027
22028 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22029 Depend on against $(link-rpcuserlibs).
22030
5d5722e8
ST
220312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22032
a4186cff
PT
22033 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22034 (__libc_stack_end): Do not use attribute_relro.
22035 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22036 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22037 to libthread-provided value.
a4186cff
PT
22038 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22039 attribute_relro.
5d5722e8 22040
37233df9
TS
220412012-05-10 Thomas Schwinge <thomas@schwinge.name>
22042
be971a2b
TS
22043 [BZ #3748]
22044 * bits/libc-lock.h (__libc_once_get): New macro.
22045 * sysdeps/mach/bits/libc-lock.h: Likewise.
22046 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22047 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22048 instead of using implementation details.
22049
37233df9
TS
22050 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22051 * libio/freopen.c: Likewise.
22052 * libio/freopen64.c: Likewise.
22053 * misc/syslog.c: Likewise.
22054 * nscd/connections.c: Likewise.
22055 * nscd/netgroupcache.c: Likewise.
22056 * sysdeps/posix/getcwd.c: Likewise.
22057
38de94a5
RM
220582012-05-10 Roland McGrath <roland@hack.frob.com>
22059
22060 * math/w_ilogbf.c: Add #include <limits.h>.
22061
67530489
ST
220622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22063
a4186cff 22064 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22065 path instead of returning without unlocking.
22066
67530489
ST
22067 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22068 immediate-write ioctls.
22069 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22070
5aa3a74a
TS
220712012-05-10 Thomas Schwinge <thomas@schwinge.name>
22072
18bad2ae
TS
22073 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22074 __builtin_frame_address instead of making assumptions about the
22075 location of the return address relative to DATA. Force early load of
22076 the return address.
22077 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22078 __builtin_frame_address.
22079
5aa3a74a
TS
22080 dup3 for GNU Hurd.
22081 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22082 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22083 implement dup3 and do some further code clean-ups.
22084 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22085 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22086
ecd0de9a
ST
220872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22088
cd9fa985
ST
22089 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22090
a4186cff
PT
22091 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22092 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22093 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22094 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22095 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22096 d->port.lock.
802ca5a5 22097
a4186cff
PT
22098 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22099 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22100 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22101
bcf55240
TS
221022012-05-10 Thomas Schwinge <thomas@schwinge.name>
22103
6960eb42
TS
22104 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22105 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22106 definitions.
22107
eb43375f
TS
22108 accept4 for GNU Hurd.
22109 * include/sys/socket.h (__libc_accept4): New prototype.
22110 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22111 to implement __libc_accept4.
22112 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22113 __libc_accept4.
22114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22115
bcf55240
TS
22116 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22117 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22118 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22119 signal-defines.sym.
22120
6178c55b
ST
221212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22122
a4186cff 22123 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22124
6f080c2f
TS
221252012-05-10 Thomas Schwinge <thomas@schwinge.name>
22126
22127 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22128 assertion on O_CLOEXEC flag.
22129 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22130 * hurd/intern-fd.c: Likewise.
22131 * hurd/port2fd.c: Likewise.
22132
bcfe3a54
ST
221332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22134
22135 [BZ #3906]
22136 * bits/in.h (IPV6_PKTINFO): Define new macro.
22137 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22138
89c9aa49
AZ
221392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22140
22141 [BZ #13954]
22142 [BZ #13955]
22143 [BZ #13956]
22144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22146 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22147 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22150 * math/libm-test.inc (logb_test) : Additional logb tests.
22151
021db4be
AJ
221522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22153 Andreas Jaeger <aj@suse.de>
22154
22155 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22156 * configure: Regenerated.
22157 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22158 * config.make.in (link-obsolete-rpc): New substituted variable.
22159 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22160 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22161 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22162 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22163 so that libc.a contains the symbols.
22164 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22165 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22166 * sunrpc/auth_none.c: Likewise.
22167 * sunrpc/auth_unix.c: Likewise.
22168 * sunrpc/authdes_prot.c: Likewise.
22169 * sunrpc/authuxprot.c: Likewise.
22170 * sunrpc/clnt_gen.c: Likewise.
22171 * sunrpc/clnt_perr.c: Likewise.
22172 * sunrpc/clnt_raw.c: Likewise.
22173 * sunrpc/clnt_simp.c: Likewise.
22174 * sunrpc/clnt_tcp.c: Likewise.
22175 * sunrpc/clnt_udp.c: Likewise.
22176 * sunrpc/clnt_unix.c: Likewise.
22177 * sunrpc/des_crypt.c: Likewise.
22178 * sunrpc/des_soft.c: Likewise.
22179 * sunrpc/get_myaddr.c: Likewise.
22180 * sunrpc/key_call.c: Likewise.
22181 * sunrpc/key_prot.c: Likewise.
22182 * sunrpc/netname.c: Likewise.
22183 * sunrpc/pm_getmaps.c: Likewise.
22184 * sunrpc/pm_getport.c: Likewise.
22185 * sunrpc/pmap_clnt.c: Likewise.
22186 * sunrpc/pmap_prot.c: Likewise.
22187 * sunrpc/pmap_prot2.c: Likewise.
22188 * sunrpc/pmap_rmt.c: Likewise.
22189 * sunrpc/publickey.c: Likewise.
22190 * sunrpc/rpc_cmsg.c: Likewise.
22191 * sunrpc/rpc_common.c: Likewise.
22192 * sunrpc/rpc_dtable.c: Likewise.
22193 * sunrpc/rpc_prot.c: Likewise.
22194 * sunrpc/rpc_thread.c: Likewise.
22195 * sunrpc/rtime.c: Likewise.
22196 * sunrpc/svc.c: Likewise.
22197 * sunrpc/svc_auth.c: Likewise.
22198 * sunrpc/svc_raw.c: Likewise.
22199 * sunrpc/svc_run.c: Likewise.
22200 * sunrpc/svc_tcp.c: Likewise.
22201 * sunrpc/svc_udp.c: Likewise.
22202 * sunrpc/svc_unix.c: Likewise.
22203 * sunrpc/svcauth_des.c: Likewise.
22204 * sunrpc/xcrypt.c: Likewise.
22205 * sunrpc/xdr.c: Likewise.
22206 * sunrpc/xdr_array.c: Likewise.
22207 * sunrpc/xdr_float.c: Likewise.
22208 * sunrpc/xdr_intXX_t.c: Likewise.
22209 * sunrpc/xdr_mem.c: Likewise.
22210 * sunrpc/xdr_rec.c: Likewise.
22211 * sunrpc/xdr_ref.c: Likewise.
22212 * sunrpc/xdr_sizeof.c: Likewise.
22213 * sunrpc/xdr_stdio.c: Likewise.
22214
b5c086a2
RM
222152012-05-10 Roland McGrath <roland@hack.frob.com>
22216
22217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22218 change. Update copyright years.
22219
6d74dd09
JM
222202012-05-10 Joseph Myers <joseph@codesourcery.com>
22221
22222 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22223
28e72501
MK
222242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22225 Joseph Myers <joseph@codesourcery.com>
22226 Paul Pluzhnikov <ppluzhnikov@google.com>
22227
22228 [BZ #14012]
22229 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22230 requiring rpcgen.
22231 [cross-compiling] (extra-libs): Likewise.
22232 [cross-compiling] (extra-libs-others): Likewise.
22233 [cross-compiling] (librpcsvc-routines): Likewise.
22234 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22235 [cross-compiling] (omit-deps): Likewise.
22236 (sunrpc-CPPFLAGS): New variable.
22237 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22238 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22239 (cross-rpcgen-objs): New variable.
22240 (extra-objs): Append $(cross-rpcgen-objs).
22241 ($(cross-rpcgen-objs)): New rule.
22242 ($(objpfx)cross-rpcgen): Likewise.
22243 (rpcgen-cmd): Define to use $(built-program-file). Expand
22244 comment.
22245 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22246 ($(objpfx)x%.stmp): Likewise.
22247 * sunrpc/proto.h [IS_IN_build] (_): Define.
22248 [IS_IN_build] (_libc_intl_domainname): Likewise.
22249
c8c59454
L
222502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22251
22252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22253 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22254 and R_X86_64_TPOFF64.
22255
6f27cd16
JM
222562012-05-10 Joseph Myers <joseph@codesourcery.com>
22257
22258 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22259 sysdeps/unix/sysv/syscalls.list.
22260 (stime): Likewise.
22261 (utime): Likewise.
22262 * sysdeps/unix/sysv/syscalls.list: Remove file.
22263
02467e1c
PE
222642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22265
22266 [BZ #3440]
22267 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22268 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22269 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22270 (__LC_IDENTIFICATION): Make these macros useful in #if
22271 expressions, as required by C99.
22272
da392631
AS
222732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22274
22275 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22276 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22277 after this.
22278
8115f29b
L
222792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22280
22281 * stdlib/longlong.h: Updated from GCC.
22282
bdd74070
AJ
222832012-05-09 Andreas Jaeger <aj@suse.de>
22284
edfe0dbe
AJ
22285 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22286 default is first entry.
22287 (run_mode): Set type.
22288 (main): Remove informal message about syslog.
22289 (options): Fix typo.
22290
bcfe3a54
ST
22291 [BZ #14053]
22292 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22293 to asm.
bcfe3a54
ST
22294 (lrint): Likewise.
22295 (llrintf): Likewise.
22296 (llrint): Likewise.
22297 (rint): Likewise.
22298 (rintf): Likewise.
22299 (nearbyint): Likewise.
22300 (nearbyintf): Likewise.
bdd74070 22301
91d8d69e
AJ
223022012-05-09 Andreas Jaeger <aj@suse.de>
22303 Pedro Alves <palves@redhat.com>
22304
22305 * nscd/nscd.c (run_mode): Use enum.
22306 (main): Cleanup coding style issue.
22307
bb90b80b
AJ
223082012-05-09 Alexandre Oliva <aoliva@redhat.com>
22309 Andreas Jaeger <aj@suse.de>
22310
bcfe3a54
ST
22311 * nscd/nscd.c (go_background): Replaced with...
22312 (run_mode): ... this.
bb90b80b 22313 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22314 (options): Add -F --foreground.
22315 (main): Implement it.
22316 (parse_opt): Parse it.
bb90b80b 22317
1a4b75a1
AJ
223182012-05-09 Andreas Jaeger <aj@suse.de>
22319
22320 [BZ #14083]
22321 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22322 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22323 -Wconversion warning.
22324 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22325 Likewise.
22326
b1cc2472
JM
223272012-05-09 Joseph Myers <joseph@codesourcery.com>
22328
22329 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22330 == 0.
22331 (LC_ALL): Use macro-int-constant.
22332 (LC_COLLATE): Likewise.
22333 (LC_CTYPE): Likewise.
22334 (LC_MESSAGES): Likewise.
22335 (LC_MONETARY): Likewise.
22336 (LC_NUMERIC): Likewise.
22337 (LC_TIME): Likewise.
22338 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22339 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22341 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22342 Specify type.
22343 [C99-based standards] (float_t): Expect type.
22344 [C99-based standards] (double_t): Expect type.
22345 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22346 type.
22347 [C99-based standards] (HUGE_VALL): Likewise.
22348 [C99-based standards] (INFINITY): Likewise.
22349 [C99-based standards] (NAN): Likewise.
22350 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22351 [C99-based standards] (FP_NAN): Likewise.
22352 [C99-based standards] (FP_NORMAL): Likewise.
22353 [C99-based standards] (FP_SUBNORMAL): Likewise.
22354 [C99-based standards] (FP_ZERO): Likewise.
22355 [C99-based standards] (FP_FAST_FMA): Use
22356 optional-macro-int-constant. Specify type. Require == 1.
22357 [C99-based standards] (FP_FAST_FMAF): Likewise.
22358 [C99-based standards] (FP_FAST_FMAL): Likewise.
22359 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22360 [C99-based standards] (FP_ILOGBNAN): Likewise.
22361 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22362 Specify type.
22363 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22364 [C99-based standards] (math_errhandling): Specify type.
22365 [ISO99 || ISO11] (signgam): Do not allow.
22366 [non-C99-based standards] (copysignf): Do not allow.
22367 [non-C99-based standards] (exp2f): Likewise.
22368 [non-C99-based standards] (log2f): Likewise.
22369 [non-C99-based standards] (modff): Allow.
22370 [non-C99-based standards] (erff): Do not allow.
22371 [non-C99-based standards] (erfcf): Likewise.
22372 [non-C99-based standards] (gammaf): Likewise.
22373 [non-C99-based standards] (hypotf): Likewise.
22374 [non-C99-based standards] (j0f): Likewise.
22375 [non-C99-based standards] (j1f): Likewise.
22376 [non-C99-based standards] (jnf): Likewise.
22377 [non-C99-based standards] (lgammaf): Likewise.
22378 [non-C99-based standards] (tgammaf): Likewise.
22379 [non-C99-based standards] (y0f): Likewise.
22380 [non-C99-based standards] (y1f): Likewise.
22381 [non-C99-based standards] (ynf): Likewise.
22382 [non-C99-based standards] (isnanf): Likewise.
22383 [non-C99-based standards] (acoshf): Likewise.
22384 [non-C99-based standards] (asinhf): Likewise.
22385 [non-C99-based standards] (atanhf): Likewise.
22386 [non-C99-based standards] (cbrtf): Likewise.
22387 [non-C99-based standards] (expm1f): Likewise.
22388 [non-C99-based standards] (ilogbf): Likewise.
22389 [non-C99-based standards] (log1pf): Likewise.
22390 [non-C99-based standards] (logbf): Likewise.
22391 [non-C99-based standards] (nextafterf): Likewise.
22392 [non-C99-based standards] (remainderf): Likewise.
22393 [non-C99-based standards] (rintf): Likewise.
22394 [non-C99-based standards] (scalbf): Likewise.
22395 [non-C99-based standards] (copysignl): Likewise.
22396 [non-C99-based standards] (exp2l): Likewise.
22397 [non-C99-based standards] (log2l): Likewise.
22398 [non-C99-based standards] (modfl): Allow.
22399 [non-C99-based standards] (erfl): Do not allow.
22400 [non-C99-based standards] (erfcl): Likewise.
22401 [non-C99-based standards] (gammal): Likewise.
22402 [non-C99-based standards] (hypotl): Likewise.
22403 [non-C99-based standards] (j0l): Likewise.
22404 [non-C99-based standards] (j1l): Likewise.
22405 [non-C99-based standards] (jnl): Likewise.
22406 [non-C99-based standards] (lgammal): Likewise.
22407 [non-C99-based standards] (tgammal): Likewise.
22408 [non-C99-based standards] (y0l): Likewise.
22409 [non-C99-based standards] (y1l): Likewise.
22410 [non-C99-based standards] (ynl): Likewise.
22411 [non-C99-based standards] (isnanl): Likewise.
22412 [non-C99-based standards] (acoshl): Likewise.
22413 [non-C99-based standards] (asinhl): Likewise.
22414 [non-C99-based standards] (atanhl): Likewise.
22415 [non-C99-based standards] (cbrtl): Likewise.
22416 [non-C99-based standards] (expm1l): Likewise.
22417 [non-C99-based standards] (ilogbl): Likewise.
22418 [non-C99-based standards] (log1pl): Likewise.
22419 [non-C99-based standards] (logbl): Likewise.
22420 [non-C99-based standards] (nextafterl): Likewise.
22421 [non-C99-based standards] (remainderl): Likewise.
22422 [non-C99-based standards] (rintl): Likewise.
22423 [non-C99-based standards] (scalbl): Likewise.
22424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22425 [non-C99-based standards] (FP_*): Do not allow.
22426 [C99-based standards] (FP_*): Change to
22427 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22428 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22429 allow.
22430 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22431 (SIG_ERR): Likewise.
22432 [X/Open-based standards] (SIG_HOLD): Likewise.
22433 (SIG_IGN): Likewise.
22434 (SIGABRT): Use macro-int-constant. Specify type. Require
22435 positive value.
22436 (SIGFPE): Likewise.
22437 (SIGILL): Likewise.
22438 (SIGINT): Likewise.
22439 (SIGSEGV): Likewise.
22440 (SIGTER): Likewise.
22441 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22442 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22443 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22444 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22445 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22446 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22447 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22448 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22449 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22450 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22451 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22452 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22453 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22454 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22455 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22456 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22457 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22458 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22459 [X/Open-based standards] (SIGTRAP): Likewise.
22460 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22461 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22462 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22463 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22464 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22465 allow.
22466
b9f1922d
IW
224672012-05-08 Ian Wienand <ianw@vmware.com>
22468
22469 [BZ #14080]
22470 * time/tzset.c (__tzset_parse_tz): Update default rules for
22471 daylight time changes in the Energy Policy Act of 2005.
22472
1db86e88
AJ
224732012-05-09 Andreas Jaeger <aj@suse.de>
22474
22475 [BZ #13983]
22476 * elf/ldconfig.c (parse_conf): Change string to make clear that
22477 ldconfig only issued a warning if ld.so.conf does not exist.
22478
dee4a4e3
DM
224792012-05-08 David S. Miller <davem@davemloft.net>
22480
ee0db190
DM
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22482 movxtod instead of popping the value on the stack.
22483
dee4a4e3
DM
22484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22485
6a43ec98
CD
224862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22487
22488 * config.h.in: Add HAVE_ARM_PCS_VFP.
22489
05c2c961
RMG
224902012-05-08 Roland Mc Grath <roland@hack.frob.com>
22491
bcfe3a54
ST
22492 [BZ #13979]
22493 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22494 checking but the checks are disabled for any reason.
05c2c961 22495
4b30f61a
L
224962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22497
22498 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22499 and ELF64_R_TYPE with ELFW(R_TYPE).
22500
eee2bc67
JM
225012012-05-08 Joseph Myers <joseph@codesourcery.com>
22502
7ea5391a
JM
22503 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22504 (ulimit): Likewise.
22505
eee2bc67
JM
22506 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22507 (settimeofday): Likewise.
22508
abb66a67
MF
225092012-05-08 Mike Frysinger <vapier@gentoo.org>
22510
22511 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22512 a struct th_u2 inside the union, and move tu_block/tu_code into
22513 a new th_u3 union of tu_block/tu_code inside of that. Move
22514 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22515 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22516 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22517 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22518 (th_stuff): Change to th_u1.tu_stuff.
22519 (th_data): Define.
22520 (th_msg): Change to th_u1.th_u2.tu_data.
22521
7f18b530
DM
225222012-05-07 David S. Miller <davem@davemloft.net>
22523
05760585
DM
22524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22525
7f18b530
DM
22526 [BZ #14074]
22527 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22528 (SETUP_PIC_REG): Use it.
22529 (SETUP_PIC_REG_LEAF): Use it.
22530
495fd99f
JM
225312012-05-07 Joseph Myers <joseph@codesourcery.com>
22532
22533 [BZ #13885]
22534 [BZ #13923]
22535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22536 USE_AS_EXPM1L.
22537 (EXPL_FINITE): Likewise.
22538 (FLDLOG): Likewise.
22539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22540 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22541 e_expl.S.
22542 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22543 USE_AS_EXPM1L.
22544 (EXPL_FINITE): Likewise.
22545 (FLDLOG): Likewise.
22546 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22547 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22548 e_expl.S.
22549 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22550 test of -max_value argument for long double.
22551 * sysdeps/i386/fpu/libm-test-ulps: Update.
22552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22553
6693d694
DM
225542012-05-06 David S. Miller <davem@davemloft.net>
22555
22556 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22557 quad soft-float symbols whose references which are compiler
22558 generated.
22559 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22560
6c23e11c
JM
225612012-05-06 Joseph Myers <joseph@codesourcery.com>
22562
d8b82cad
JM
22563 [BZ #13884]
22564 [BZ #13914]
22565 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22566 USE_AS_EXP10L.
22567 (EXPL_FINITE): Likewise.
22568 (FLDLOG): Likewise.
22569 (c0): Likewise.
22570 (c1): Likewise.
22571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22572 Adjust comments for base varying.
22573 (__expl_finite): Change alias to EXPL_FINITE.
22574 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22575 e_expl.S.
22576 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22577 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22579 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22581 USE_AS_EXP10L.
22582 (EXPL_FINITE): Likewise.
22583 (FLDLOG): Likewise.
22584 (c0): Likewise.
22585 (c1): Likewise.
22586 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22587 Adjust comments for base varying.
22588 (__expl_finite): Change alias to EXPL_FINITE.
22589 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22590 tests for bugs.
22591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22592
6c23e11c
JM
22593 [BZ #14064]
22594 * math/libm-test.inc (check_float_internal): Correct ulp
22595 calculation for subnormal expected results.
22596
29ba805c
AJ
225972012-05-06 Andreas Jaeger <aj@suse.de>
22598
22599 * Makeconfig (+math-flags): New, set to -frounding-math.
22600 (+cflags): Add +math-flags so that all of glibc gets compiled with
22601 it.
22602
22603 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22604
7b17aeda
JM
226052012-05-05 Joseph Myers <joseph@codesourcery.com>
22606
5779f134
JM
22607 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22608 Disable one test.
22609
41498f4d
JM
22610 [BZ #13787]
22611 [BZ #13922]
22612 [BZ #14036]
22613 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22614 (__ieee754_expl): Allow for and saturate large arguments.
22615 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22616 (u_threshold): Likewise.
22617 (__exp): Call __ieee754_exp before checking for overflow and
22618 underflow.
22619 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22620 (u_threshold): Likewise.
22621 (__expf): Call __ieee754_expf before checking for overflow and
22622 underflow.
22623 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22624 (u_threshold): Likewise.
22625 (__expl): Call __ieee754_expl before checking for overflow and
22626 underflow.
22627 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22628 (__ieee754_expl): Allow for and saturate large arguments.
22629 * math/libm-test.inc (exp_test): Add another test. Do not allow
22630 missing overflow exception on overflow.
22631 (expm1_test): Do not allow missing overflow exception on overflow.
22632
6698b8bf
JM
22633 * sysdeps/i386/fpu/e_expl.c: Move to ...
22634 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22635 rather than using inline asm.
22636 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22637 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22638 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22639
7b17aeda
JM
22640 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22641 (nice): Likewise.
22642 (poll): Likewise.
22643 (signal): Likewise.
22644 (time): Likewise.
22645 (times): Likewise.
22646
f7c85819
JM
226472012-05-04 Joseph Myers <joseph@codesourcery.com>
22648
22649 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22650 sysdeps/unix/common/syscalls.list.
22651 (fchmod): Likewise.
22652 (fchown): Likewise.
22653 (ftruncate): Likewise.
22654 (getrusage): Likewise.
22655 (gettimeofday): Likewise.
22656 (setpgid): Likewise.
22657 (setregid): Likewise.
22658 (setreuid): Likewise.
22659 (sigaction): Likewise.
22660 (truncate): Likewise.
22661 (vhangup): Likewise.
22662 * sysdeps/unix/common/syscalls.list: Remove file.
22663 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22664 * sysdeps/unix/sysv/linux/Implies: Likewise.
22665
336270d0
L
226662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22667
22668 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22670 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22671 Moved to ...
22672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22673 Here.
22674 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22675 to ...
22676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22677 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22678 to ...
22679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22680 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22681 to ...
22682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22684 to ...
22685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22686 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22687 to ...
22688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22689 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22690 to ...
22691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22692 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22693 to ...
22694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22695 Here.
22696 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22697 to ...
22698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22699 Here.
22700 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22701 to ...
22702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22703 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22704 Moved to ...
22705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22706 Here.
22707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22708 to ...
22709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22710
d128e450
JM
227112012-05-04 Joseph Myers <joseph@codesourcery.com>
22712
fa8ee516
JM
22713 * sysdeps/unix/common/bits/dirent.h: Remove file.
22714 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22715
d128e450
JM
22716 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22717 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22718 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22719 * sysdeps/unix/bsd/isatty.c: Likewise.
22720 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22721 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22722 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22723
ff8faaf0 227242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22725
62881be4 22726 [BZ #13563]
31dc8730
AZ
22727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22728 long double comparison inaccuracies.
22729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22731
6fef930c
AS
227322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22733
22734 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22736
8f203e6c
JM
227372012-05-04 Joseph Myers <joseph@codesourcery.com>
22738
22739 [BZ #14049]
22740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22741 nonzero digits before rounding a hex value.
22742 * stdlib/tst-strtod.c (tests): Add another test.
22743
5197d9c2
AK
227442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22745
22746 * sysdeps/s390/fpu/libm-test-ulps: Update.
22747
f0c1dedf
AJ
227482012-05-03 Andreas Jaeger <aj@suse.de>
22749
22750 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22751 does not get optimized out.
22752 (malloc_opt_barrier): New.
22753
a65ef2ae 227542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22755 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22756
2b942cb7 22757 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22758 intermediate file deletion.
2b942cb7 22759 (generated): Add .symlist files.
a65ef2ae 22760
54b71e02
JM
227612012-05-03 Joseph Myers <joseph@codesourcery.com>
22762
22763 [BZ #13775]
22764 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22765 Redirect under this condition.
22766 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22767 [__USE_GNU] (__dprintf_chk): Not under this condition.
22768 [__USE_GNU] (__vdprintf_chk): Likewise.
22769 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22770 under this condition.
22771 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22772 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22773 [__USE_XOPEN2K8] (vdprintf): Likewise.
22774 [__USE_GNU] (__dprintf_chk): Not under this condition.
22775 [__USE_GNU] (__vdprintf_chk): Likewise.
22776 [__USE_GNU] (dprintf): Likewise.
22777 [__USE_GNU] (vdprintf): Likewise.
22778
d3dfcc41
RM
227792012-05-03 Roland McGrath <roland@hack.frob.com>
22780
22781 * elf/Makefile (common-generated): Set this instead of generated for
22782 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22783 $(all-built-dso)-derived lists.
22784
7ac30cc5
AJ
227852012-05-03 Andreas Jaeger <aj@suse.de>
22786
0c51e550
AJ
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788
7ac30cc5
AJ
22789 * FAQ: Removed.
22790 * FAQ.in: Likewise.
22791 * scripts/gen-FAQ.pl: Likewise.
22792 * manual/install.texi (Installation): Point to online location of
22793 FAQ.
22794 * Makefile (files-for-dist): Remove FAQ.
22795 (FAQ): Remove.
22796
d4c2917f
AM
227972012-05-02 Allan McRae <allan@archlinux.org>
22798
22799 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22800 (LDFLAGS-reldepmod5.so): Likewise.
22801 (LDFLAGS-reldep6mod1.so): Likewise.
22802 (LDFLAGS-reldep6mod4.so): Likewise.
22803 (LDFLAGS-reldep8mod3.so): Likewise.
22804 (LDFLAGS-unload4mod1.so): Likewise.
22805 (LDFLAGS-unload4mod2.so): Likewise.
22806 (LDFLAGS-tst-initorder): Likewise.
22807 (LDFLAGS-tst-initordera2.so): Likewise.
22808 (LDFLAGS-tst-initordera3.so): Likewise.
22809 (LDFLAGS-tst-initordera4.so): Likewise.
22810 (LDFLAGS-tst-initorderb2.so): Likewise.
22811 (LDFLAGS-noload): Likewise.
22812 (LDFLAGS-next): Likewise.
22813 (LDFLAGS-order2mod1.so): Likewise.
22814 (LDFLAGS-order2mod2.so): Likewise.
22815 (LDFLAGS-tst-initorder2): Likewise.
22816 (LDFLAGS-tst-initorder2a.so): Likewise.
22817 (LDFLAGS-tst-initorder2b.so): Likewise.
22818 (LDFLAGS-tst-initorder2c.so): Likewise.
22819 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22820
d77f993f
DM
228212012-05-02 David S. Miller <davem@davemloft.net>
22822
22823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22824
171a70b4
PP
228252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22826
22827 [BZ #14055]
22828 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22829
0be196ad
AJ
228302012-05-02 Andreas Jaeger <aj@suse.de>
22831
22832 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22833 since we manipulate rounding mode.
22834 (CPPFLAGS-test-idouble.c): Likewise.
22835 (CPPFLAGS-test-ifloat.c): Likewise.
22836 (CFLAGS-test-ldouble.c): Likewise.
22837 (CFLAGS-test-double.c): Likewise.
22838 (CFLAGS-test-float.c): Likewise.
22839 (CFLAGS-test-misc.c): Likewise.
22840 (CFLAGS-test-test-fenv.c): Likewise.
22841
4f9d04aa
AZ
228422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22843
2b942cb7
RM
22844 [BZ #2550]
22845 [BZ #2570]
22846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22847 comparisons to determine direction to adjust input.
4f9d04aa 22848
82a79e7d
RM
228492012-05-01 Roland McGrath <roland@hack.frob.com>
22850
f5a01ca9
RM
22851 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22852 output to the target.
22853
90fe4186
RM
22854 * scripts/localplt.awk: New file.
22855 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22856 (check-localplt-CFLAGS): Variable removed.
22857 ($(all-built-dso:=.jmprel)): New static pattern rule.
22858 (generated): Add those targets.
22859 (localplt-built-dso): New variable.
22860 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22861
22862 * elf/check-localplt.c: File removed.
22863
82397ed6
RM
22864 * scripts/check-execstack.awk: New file.
22865 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22866 (check-execstack-CFLAGS): Variable removed.
22867 ($(objpfx)check-execstack.h): Target removed.
22868 ($(objpfx)execstack-default): New target.
22869 (generated): Add that instead of check-execstack.h.
22870 ($(all-built-dso:=.phdr)): New static pattern rule.
22871 (generated): Add those targets.
22872 * elf/check-execstack.c: File removed.
22873
82a79e7d
RM
22874 * scripts/check-textrel.awk: New file.
22875 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22876 (check-textrel-CFLAGS): Variable removed.
22877 (all-built-dso): Use := to define.o
22878 ($(all-built-dso:=.dyn)): New static pattern rule.
22879 (generated): Add those targets.
22880 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22881 * config.make.in (READELF): New substituted variable.
22882 * elf/check-textrel.c: File removed.
22883
62fde54f 228842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22885
615605c9
JM
22886 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22887 allow.
22888 * conform/data/ctype.h-data [C99-based standards] (isblank):
22889 Expect function.
22890 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22891 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22893 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22894 Specify type. Require positive value.
22895 (EILSEQ): Likewise.
22896 (ERANGE): Likewise.
22897 [ISO || POSIX] (EILSEQ): Do not expect.
22898 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22899 Specify type. Require positive value.
22900 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22901 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22902 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22903 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22904 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22905 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22906 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22907 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22908 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22909 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22910 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22911 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22912 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22913 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22914 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22915 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22916 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22917 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22918 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22919 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22920 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22921 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22922 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22923 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22924 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22925 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22926 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22927 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22928 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22929 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22930 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22932 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22933 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22936 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22941 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22942 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22974 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22975 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22976 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22977 Require >= 2.
22978 (FLT_ROUNDS): Expect as macro, not constant.
22979 (FLT_MANT_DIG): Use macro-int-constant.
22980 (DBL_MANT_DIG): Likewise.
22981 (LDBL_MANT_DIG): Likewise.
22982 (FLT_DIG): Likewise.
22983 (DBL_DIG): Likewise.
22984 (LDBL_DIG): Likewise.
22985 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22986 (DBL_MIN_EXP): Likewise.
22987 (LDBL_MIN_EXP): Likewise.
22988 (FLT_MAX_EXP): Use macro-int-constant.
22989 (DBL_MAX_EXP): Likewise.
22990 (LDBL_MAX_EXP): Likewise.
22991 (FLT_MAX_10_EXP): Likewise.
22992 (DBL_MAX_10_EXP): Likewise.
22993 (LDBL_MAX_10_EXP): Likewise.
22994 (FLT_MAX): Use macro-constant.
22995 (DBL_MAX): Likewise.
22996 (LDBL_MAX): Likewise.
22997 (FLT_EPSILON): Use macro-constant. Give upper bound.
22998 (DBL_EPSILON): Likewise.
22999 (LDBL_EPSILON): Likewise.
23000 (FLT_MIN): Likewise.
23001 (DBL_MIN): Likewise.
23002 (LDBL_MIN): Likewise.
23003 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23004 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23005 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23006 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23007 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23008 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23009 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23010 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23011 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23012 [ISO11] (FLT_TRUE_MIN): Likewise.
23013 [ISO11] (LDBL_TRUE_MIN): Likewise.
23014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23015 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23016 (SCHAR_MIN): Use macro-int-constant. Specify type.
23017 (SCHAR_MAX): Likewise.
23018 (UCHAR_MAX): Likewise.
23019 (CHAR_MIN): Likewise.
23020 (CHAR_MAX): Likewise.
23021 (MB_LEN_MAX): Use macro-int-constant.
23022 (SHRT_MIN): Use macro-int-constant. Specify type.
23023 (SHRT_MAX): Likewise.
23024 (USHRT_MAX): Likewise.
23025 (INT_MAX): Likewise.
23026 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23027 bound negative.
23028 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23029 bound with "U".
23030 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23031 bound with "L".
23032 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23033 bound negative. Suffix upper bound with "L".
23034 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23035 bound with "UL".
23036 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23037 Specify type.
23038 [C99-based standards] (LLONG_MAX): Likewise.
23039 [C99-based standards] (ULLONG_MAX): Likewise.
23040 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23041 == 0.
23042 [ISO11] (max_align_t): Require type.
23043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23044
c9140a62
JM
23045 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23046 from $CFLAGS, without defining away __attribute__ calls.
23047 (checknamespace): Use $CFLAGS_namespace.
23048
9af0bf29
JM
23049 * conform/conformtest.pl (@keywords): Only include C99 keywords
23050 for standards based on C99 or C11.
23051
343222a2
JM
23052 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23053 Disable tests.
23054 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23055 UNIX98]: Likewise.
23056
661f8cf0
JM
23057 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23058 usability of symbols in #if.
23059
ee74b9cb
JM
23060 * conform/conformtest.pl: If macro or constant types start
23061 "promoted:", expect the symbol to be of the following type
23062 promoted by the integer promotions.
62fde54f 23063
aafc49b3
JM
23064 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23065 in one place. Also handle "macro-constant".
23066
fefdf574
JM
23067 * conform/conformtest.pl: Only accept expected macro values with
23068 "==". Parse all "macro" lines in one place.
23069 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23070
f2d922fe
JM
23071 * conform/conformtest.pl: Handle braced types on "constant" lines
23072 instead of handling "typed-constant".
23073 * conform/data/signal.h-data: Use "constant" instead of
23074 "typed-constant".
23075
d22956c9
JM
23076 * conform/conformtest.pl: Handle "optional-" at start of lines in
23077 one place rather than duplicating several cases. Handle each
23078 format of "macro" line with initial "optional-".
23079
028e2e38
JM
23080 * conform/conformtest.pl: Only accept expected constant or
23081 optional-constant values with "==". Parse all "constant" lines in
23082 one place. Parse all "optional-constant" lines in one place.
23083 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23084 * conform/data/fmtmsg.h-data: Likewise.
23085 * conform/data/netinet/in.h-data: Likewise.
23086 * conform/data/tar.h-data: Likewise.
23087 * conform/data/limits.h-data: Use "==" form on "constant" and
23088 "optional-constant" lines.
23089
1b8f2850
JM
23090 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23091 Use -std=c99 for XOPEN2K.
23092 (@knownproblems): Remove.
23093 (newtoken): Don't check %isknown.
23094
a05a144b
JM
23095 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23096 Do not expect macro.
23097 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23098 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23099 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23100 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23101 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23102 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23103 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23104 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23105 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23106 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23107 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23108 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23109 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23110 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23111 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23112 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23113 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23114 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23115 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23116 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23117 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23118 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23119 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23121 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23122 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23123 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23124 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23125 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23126 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23127 [XPG3] (acosh): Likewise.
23128 [XPG3] (asinh): Likewise.
23129 [XPG3] (atanh): Likewise.
23130 [XPG3] (cbrt): Likewise.
23131 [XPG3] (expm1): Likewise.
23132 [XPG3] (ilogb): Likewise.
23133 [XPG3] (log1p): Likewise.
23134 [XPG3] (logb): Likewise.
23135 [XPG3] (nextafter): Likewise.
23136 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23137 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23138 [XPG3] (remainder): Likewise.
23139 [XPG3] (rint): Likewise.
23140 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23146 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23147 [UNIX98 || XOPEN2K] (scalb): Expect.
23148 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23149 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23150 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23151 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23152 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23153 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23154 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23155 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23156 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23157 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23160 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23161 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23164 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23165 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23166 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23167 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23168 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23169 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23170 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23171 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23172 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23173 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23174 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23175 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23176 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23177 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23178 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23179 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23180 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23181 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23182 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23183 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23184 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23185 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23186 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23189 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23190 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23191 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23192 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23195 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23196 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23214 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23215 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23216 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23217 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23219 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23220 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23221 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23285
73c5ebe3
JM
23286 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23287 _XOPEN_SOURCE_EXTENDED for XPG4.
23288
39c33b6c
JM
23289 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23290
62fde54f
JM
23291 * Makeconfig (localtime): Remove variable.
23292 (inst_localtime-file): Likewise.
23293
0741d64c
AS
232942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23295
23296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23297 Update.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23299 Update.
23300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23301 Update.
23302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23303 Update.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23305 Update.
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23307 Update.
23308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23309 Update.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23311 Update.
23312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23313 Update.
23314
7cb029ee
JM
233152012-05-01 Joseph Myers <joseph@codesourcery.com>
23316
23317 [BZ #2550]
23318 [BZ #2570]
23319 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23320 comparisons to determine direction to adjust input.
23321 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23322 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23324 Likewise.
23325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23326 Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23328 Likewise.
23329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23331 Likewise.
23332 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23333 Likewise.
23334 * math/libm-test.inc (nexttoward_test): Add more tests.
23335
412bd966
AS
233362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23337
23338 [BZ #14040]
23339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23340 in version GLIBC_2.1, not GLIBC_2.0.
23341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23342 Likewise.
23343
9568c0c2
JM
233442012-04-30 Joseph Myers <joseph@codesourcery.com>
23345
adfbc8ac
JM
23346 [BZ #13942]
23347 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23348 (1 - x) * (1 + x).
23349 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23350 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23351 * math/libm-test.inc (acos_test): Add more tests.
23352 (asin_test): Likewise.
23353 * sysdeps/i386/fpu/libm-test-ulps: Update.
23354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23355
5ba3cc69
JM
23356 [BZ #14034]
23357 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23358 of square root.
23359 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23360 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23361 * math/libm-test.inc (acos_test_tonearest): New function.
23362 (acos_test_towardzero): Likewise.
23363 (acos_test_downward): Likewise.
23364 (acos_test_upward): Likewise.
23365 (asin_test_tonearest): Likewise.
23366 (asin_test_towardzero): Likewise.
23367 (asin_test_downward): Likewise.
23368 (asin_test_upward): Likewise.
23369 (main): Call the new functions.
23370 * sysdeps/i386/fpu/libm-test-ulps: Update.
23371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23372
9568c0c2
JM
23373 [BZ #13884]
23374 [BZ #13924]
23375 * math/e_exp10.c: Include <float.h>.
23376 (__ieee754_exp10): Handle underflow here rather than multiplying
23377 large negative argument by M_LN10.
23378 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23379 of __ieee754_expf.
23380 * math/e_exp10l.c: Include <float.h>.
23381 (__ieee754_exp10l): Handle underflow here rather than multiplying
23382 large negative argument by M_LN10l.
23383 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23384 spurious overflow exception on underflow.
23385
5ac3ea17
MP
233862012-04-29 Marek Polacek <polacek@redhat.com>
23387
23388 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23389 (__fortify_function): New macro.
23390 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23391 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23392 __extern_always_inline.
23393 * libio/bits/stdio2.h: Likewise.
23394 * libio/bits/stdio.h: Likewise.
23395 * string/string.h: Likewise.
23396 * string/bits/string3.h: Likewise.
23397 * include/stdio.h: Likewise.
23398 * stdlib/bits/stdlib.h: Likewise.
23399 * stdlib/stdlib.h: Likewise.
23400 * rt/bits/mqueue2.h: Likewise.
23401 * rt/mqueue.h: Likewise.
23402 * posix/bits/unistd.h: Likewise.
23403 * posix/unistd.h: Likewise.
23404 * io/bits/poll2.h: Likewise.
23405 * io/bits/fcntl2.h: Likewise.
23406 * io/fcntl.h: Likewise.
23407 * io/sys/poll.h: Likewise.
23408 * misc/bits/syslog.h: Likewise.
23409 * misc/bits/syslog-ldbl.h: Likewise.
23410 * misc/sys/syslog.h: Likewise.
23411 * socket/bits/socket2.h: Likewise.
23412 * socket/sys/socket.h: Likewise.
23413 * debug/tst-chk1.c: Likewise.
23414 * wcsmbs/bits/wchar2.h: Likewise.
23415 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23416 * wcsmbs/wchar.h: Likewise.
23417
ecf0ebfb
AJ
234182012-04-29 Andreas Jaeger <aj@suse.de>
23419
23420 * Makerules (tests): Remove enable-check-abi protection.
23421 (check-abi-warn): Remove.
23422 (check-abi-%): Remove check-abi-warn usage.
23423
23424 * configure.in: Remove check-abi configure option.
23425 * configure: Regenerated.
23426 * config.make.in (enable-check-abi): Remove.
23427
6d5c57fa
AS
234282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23429
24c5d07e 23430 [BZ #14033]
ded5180a
AS
23431 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23432 double functions to double *_finite functions.
23433
7e0d315d
AS
23434 [BZ #13941]
23435 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23436 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23437 LDBL_MIN_EXP.
23438 * stdio-common/Makefile (tests): Add tst-sprintf3.
23439 * stdio-common/tst-sprintf3.c: New file.
23440
6d5c57fa
AS
23441 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23442 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23443
0749ff8b
JM
234442012-04-28 Joseph Myers <joseph@codesourcery.com>
23445
23446 * conform/conformtest.pl: Remove duplicate typed-constant
23447 handling.
23448
8dbd5d7b
DM
234492012-04-28 David S. Miller <davem@davemloft.net>
23450
23451 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23452 (check-abi-%): Remove AWK script prerequisite and explicit
23453 abilist directory.
23454 (check-abi): Rewrite to just diff the symlist with the abilist.
23455 (config-tls, config-abi-config): Delete, no longer used.
23456 (update-abi-%): Remove AWK script and explicit abilist directory.
23457 (update-abi): Rewrite to simply compare and conditionally copy the
23458 symlist and the sysdep abilist file. Remove update-abi-config
23459 checks.
23460 * abilist/ld.abilist: Remove.
23461 * abilist/libBrokenLocale.abilist: Remove.
23462 * abilist/libanl.abilist: Remove.
23463 * abilist/libcrypt.abilist: Remove.
23464 * abilist/libdl.abilist: Remove.
23465 * abilist/librt.abilist: Remove.
23466 * abilist/libthread_db.abilist: Remove.
23467 * abilist/libutil.abilist: Remove.
23468 * scripts/extract-abilist.awk: Remove.
23469 * scripts/merge-abilist.awk: Remove.
23470 * sysdeps/generic/libcidn.abilist: New file.
23471 * sysdeps/generic/libnss_compat.abilist: New file.
23472 * sysdeps/generic/libnss_db.abilist: New file.
23473 * sysdeps/generic/libnss_dns.abilist: New file.
23474 * sysdeps/generic/libnss_files.abilist: New file.
23475 * sysdeps/generic/libnss_hesiod.abilist: New file.
23476 * sysdeps/generic/libnss_nis.abilist: New file.
23477 * sysdeps/generic/libnss_nisplus.abilist: New file.
23478 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23479 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23480 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23481 file.
23482 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23483 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23484 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23485 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23486 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23487 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23488 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23489 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23490 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23491 file.
23492 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23493 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23494 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23495 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23496 file.
23497 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23499 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23500 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23501 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23503 file.
23504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23506 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23507 file.
23508 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23510 New file.
23511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23512 New file.
23513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23514 New file.
23515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23516 New file.
23517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23518 New file.
23519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23520 New file.
23521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23522 New file.
23523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23524 New file.
23525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23526 New file.
23527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23528 New file.
23529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23530 New file.
23531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23532 New file.
23533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23534 New file.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23536 file.
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23538 New file.
23539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23540 New file.
23541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23542 file.
23543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23544 New file.
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23546 New file.
23547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23548 file.
23549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23550 New file.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23552 New file.
23553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23554 New file.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23556 New file.
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23558 New file.
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23560 New file.
23561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23563 file.
23564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23565 New file.
23566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23567 file.
23568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23569 file.
23570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23571 file.
23572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23573 file.
23574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23575 file.
23576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23577 New file.
23578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23579 file.
23580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23581 file.
23582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23583 New file.
23584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23585 file.
23586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23588 file.
23589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23590 New file.
23591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23592 file.
23593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23594 file.
23595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23596 file.
23597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23598 file.
23599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23600 file.
23601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23602 New file.
23603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23604 file.
23605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23606 file.
23607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23608 New file.
23609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23610 file.
23611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23612 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23613 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23614 file.
23615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23616 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23617 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23618 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23619 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23620 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23621 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23622 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23623 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23624 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23627 file.
23628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23629 New file.
23630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23631 file.
23632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23633 file.
23634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23635 file.
23636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23637 file.
23638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23639 file.
23640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23641 New file.
23642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23643 New file.
23644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23645 file.
23646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23647 New file.
23648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23649 file.
23650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23652 file.
23653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23654 New file.
23655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23656 file.
23657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23658 file.
23659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23660 file.
23661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23662 file.
23663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23664 file.
23665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23666 New file.
23667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23668 New file.
23669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23670 file.
23671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23672 New file.
23673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23674 file.
23675
41d73a1b
JM
236762012-04-28 Joseph Myers <joseph@codesourcery.com>
23677
23678 * conform/conformtest.pl: Fix typo in handling typed-constant from
23679 allow-header.
23680
28aeeda4
JM
236812012-04-27 Joseph Myers <joseph@codesourcery.com>
23682
adae8f5e
JM
23683 * README: Cut down references to pre-2.6 Linux kernels and
23684 Linuxthreads. Update lists of configurations in libc and ports
23685 and sort alphabetically. Say "or newer" with Linux kernel version
23686 requirements.
23687
28aeeda4
JM
23688 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23689
a462cb63
RA
236902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23691
23692 [BZ #887]
23693 * math/libm-test.inc (logb_test_downward): New test to expose
23694 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23695 rounding mode.
23696
6ad3493e
JM
236972012-04-27 Joseph Myers <joseph@codesourcery.com>
23698
23699 [BZ #14027]
23700 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23701 to be done.
23702 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23703 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23704
2ce4f015
JM
237052012-04-26 Joseph Myers <joseph@codesourcery.com>
23706
5aeb141a
JM
23707 * sysdeps/unix/i386/brk.S: Remove file.
23708 * sysdeps/unix/i386/dl-brk.S: Likewise.
23709 * sysdeps/unix/i386/pipe.S: Likewise.
23710 * sysdeps/unix/i386/sigreturn.S: Likewise.
23711 * sysdeps/unix/i386/syscall.S: Likewise.
23712 * sysdeps/unix/i386/vfork.S: Likewise.
23713 * sysdeps/unix/i386/wait.S: Likewise.
23714
7143acae
JM
23715 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23716 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23717
2ce4f015
JM
23718 * configure.in (arm*-none*): Do not allow without
23719 --enable-hacker-mode.
23720 (netbsd*): Remove case setting base_os.
23721 (386bsd*): Likewise.
23722 (freebsd*): Likewise.
23723 (bsdi*): Likewise.
23724 (osf*): Likewise.
23725 (sunos*): Likewise.
23726 (ultrix*): Likewise.
23727 (newsos*): Likewise.
23728 (dynix*): Likewise.
23729 (*bsd*): Likewise.
23730 (sysv*): Likewise.
23731 (isc*): Likewise.
23732 (esix*): Likewise.
23733 (sco*): Likewise.
23734 (minix*): Likewise.
23735 (irix4*): Likewise.
23736 (irix6*): Likewise.
23737 (solaris[2-9]*): Likewise.
23738 (none): Likewise.
23739 * configure: Regenerated.
23740
0ac229c8
AZ
237412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23742
23743 [BZ #11521]
23744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23745 overflow or cancellation in calculating denominator.
23746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23748 down expression to avoid unexpected rounding in newer GCCs.
23749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23750
33f244f4
DM
237512012-04-26 David S. Miller <davem@davemloft.net>
23752
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23754 long-double compat symbols.
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23768
cfa1f3e8
DM
237692012-04-25 David S. Miller <davem@davemloft.net>
23770
23771 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23772 HWCAP_* values only after the memory barriers have been defined.
23773 (atomic_full_barrier): Define.
23774 (atomic_read_barrier): Define.
23775 (atomic_write_barrier): Define.
23776
6e236b92
SP
237772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23778
23779 * shlib-versions: Add libgcc_s version information.
23780 * sysdeps/generic/libgcc_s.h: Remove.
23781 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23782 libgcc_s.h.
23783 * sysdeps/gnu/unwind-resume.c: Likewise.
23784 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23785
aab39a09
DM
237862012-04-25 David S. Miller <davem@davemloft.net>
23787
23788 * sysdeps/unix/sparc/brk.S: Delete.
23789 * sysdeps/unix/sparc/dl-brk.S: Delete.
23790 * sysdeps/unix/sparc/pipe.S: Delete.
23791 * sysdeps/unix/sparc/sysdep.S: Delete.
23792 * sysdeps/unix/sparc/sysdep.h: Delete.
23793 * sysdeps/unix/sparc/vfork.S: Delete.
23794 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23795 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23797 ret_ERRVAL, r0, r1, MOVE): Define.
23798 (JUMPTARGET): Remove.
23799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23800 sysdeps/unix/sparc/sysdep.h
23801 (ENTRY, END): Remove.
23802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23803
a3cc4f48
JM
238042012-04-25 Joseph Myers <joseph@codesourcery.com>
23805
2ed8cda2
JM
23806 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23807 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23808 -DIS_IN_build.
23809
35d76d59
JM
23810 * timezone/README: Update upstream location and email address for
23811 tzcode and tzdata.
23812 * timezone/zdump.c: Update from tzcode 2012b.
23813 * timezone/zic.c: Likewise.
23814
a3cc4f48
JM
23815 * configure.in (libc_cv_as_needed): Remove test.
23816 * configure: Regenerated.
23817 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23818 conditional definition.
23819 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23820 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23821 * config.make.in (have-as-needed): Remove variable.
23822
ceab42c3
SP
238232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23824 Paul Pluzhnikov <ppluzhnikov@google.com>
23825
23826 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23827 strings correctly.
23828
3ce2865f
CLT
238292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23830
23831 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23832 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23833 * sysdeps/sh/strlen.S: Likewise.
23834
f37e0d68
JM
238352012-04-24 Joseph Myers <joseph@codesourcery.com>
23836
ae186e9a
JM
23837 * sysdeps/unix/fork.S: Remove file.
23838 * sysdeps/unix/i386/fork.S: Likewise.
23839 * sysdeps/unix/sparc/fork.S: Likewise.
23840
b96914af
JM
23841 * sysdeps/unix/system.c: Remove file.
23842 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23843
f37e0d68
JM
23844 * sysdeps/unix/getegid.S: Remove file.
23845 * sysdeps/unix/geteuid.S: Likewise.
23846
87ef29ca
RM
238472012-04-24 Roland McGrath <roland@hack.frob.com>
23848
83bcd236
RM
23849 * scripts/check-localplt.awk: New file.
23850 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23851 of diff.
23852 * scripts/data/localplt-generic.data: Add a comment.
23853
87ef29ca
RM
23854 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23855 NODE when __dir_mkfile failed.
23856 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23857 Reported by Ludovic Courtès <ludo@gnu.org>.
23858
e5a6e567
AJ
238592012-04-24 Andreas Jaeger <aj@suse.de>
23860
23861 * Makerules (common-clean): Also remove gen-as-const-headers
23862 files.
23863
c1820385
JM
238642012-04-24 Joseph Myers <joseph@codesourcery.com>
23865
23866 * Makerules (native-compile): Do not change working directory for
23867 build. Use $(OUTPUT_OPTION) in command.
23868 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23869
94e02fc4
AZ
238702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23871
23872 [BZ #13886]
23873 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23874 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23875 * math/libm-test.inc (floor_test): Add more tests.
23876 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23877
3a533ca3
JM
238782012-04-24 Joseph Myers <joseph@codesourcery.com>
23879
940ab4b3
JM
23880 * sysdeps/unix/getdents.c: Remove file.
23881 * sysdeps/unix/sysv/getdents.c: Likewise.
23882 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23883
90e037bd
JM
23884 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23885 sysdeps/unix/mman/syscalls.list.
23886 (mmap): Likewise.
23887 (mprotect): Likewise.
23888 (msync): Likewise.
23889 (munmap): Likewise.
23890 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23891 * sysdeps/unix/mman/syscalls.list: Remove.
23892 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23893
3a533ca3
JM
23894 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23895 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23896 * configure: Regenerated.
23897 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23898 $(libgcc_s_suffix).
23899 * config.make.in (libgcc_s_suffix): Remove variable.
23900
1ad743de
JM
239012012-04-23 Joseph Myers <joseph@codesourcery.com>
23902
4ad451e2
JM
23903 * sysdeps/unix/sysv/gethostname.c: Move to ...
23904 * sysdeps/posix/gethostname.c: ... here.
23905
5e37ce39
JM
23906 * sysdeps/unix/execve.S: Remove file.
23907
1ad743de
JM
23908 * sysdeps/unix/_exit.S: Remove file.
23909
4e681b5b
AJ
239102012-04-23 Andreas Jaeger <aj@suse.de>
23911
23912 [BZ #13739]
23913 * manual/Makefile: Remove make dist support, there's no
23914 need for a stand-alone documentation tar ball.
23915 (TEXI2DVI): Define always, it's not in Makeconfig.
23916 (dist): Removed.
23917 (tar-it): Removed.
23918 (edition): Removed.
23919 (glibc-doc-$(edition).tar): Removed
23920 (%.Z): Removed.
23921 (%.gz): Removed.
23922 (%.uu): Removed.
23923 (ETAGS): Remove, it's in Makeconfig.
23924 (move-if-change): Remove, it's in Makeconfig.
23925
38686a03 239262012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23927
23928 [BZ #13970]
23929 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23930 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23931 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23932 (strtod_l, strtof_l, strtold_l): Remove __wur.
23933 It is not necessarily an error to ignore strtol's return value.
23934 One can reliably look at the stored endptr to decide whether
23935 the number had valid syntax.
23936
7c0616fa
AJ
239372012-04-21 Andreas Jaeger <aj@suse.de>
23938
803cb6b7 23939 [BZ #13739]
7c0616fa
AJ
23940 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23941
b0fe253f
JM
239422012-04-21 Joseph Myers <joseph@codesourcery.com>
23943
23944 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23945 * sysdeps/unix/sysv/Versions: Remove file.
23946
8280f22d
MT
239472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23948
23949 [BZ #13927]
23950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23951
75ce411f 239522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23953
23954 [BZ #7064]
23955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23956 version from __vm86.
23957
097d59fa
JM
239582012-04-20 Joseph Myers <joseph@codesourcery.com>
23959
a90f3bcb
JM
23960 * sysdeps/unix/common/lxstat.c: Remove file.
23961 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23962
edc7ea78
JM
23963 * sysdeps/unix/sysv/Makefile: Remove file.
23964
cb78c221
JM
23965 * sysdeps/unix/sysv/direct.h: Remove file.
23966
efa6a45f
JM
23967 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23968 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23969 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23970 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23971 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23972 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23973 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23974
9c9f2d0c
JM
23975 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23976
4541c83b
JM
23977 * sysdeps/unix/xmknod.c: Remove file.
23978 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23979
f5d153a0
JM
23980 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23981
aa746595
JM
23982 * sysdeps/unix/sysv/i386/time.S: Remove file.
23983
cce5905e
JM
23984 * sysdeps/unix/fxstat.c: Remove file.
23985 * sysdeps/unix/xstat.c: Likewise.
23986 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23987
37fa3841
JM
23988 * sysdeps/unix/sysv/sigaction.c: Remove file.
23989
ff1962a3
JM
23990 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23991 (sysdep_headers): Remove variable.
23992 [termio.h not in sysdep_headers] (generated): Likewise.
23993 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23994 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23995 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23996 * sysdeps/unix/sysv/tcflow.c: Likewise.
23997 * sysdeps/unix/sysv/tcflush.c: Likewise.
23998 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23999 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24000 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24001 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24002 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24003
e7740d31
JM
24004 * sysdeps/unix/siglist.c: Remove file.
24005
ee06f18b
JM
24006 * sysdeps/unix/getppid.S: Remove file.
24007
097d59fa
JM
24008 * sysdeps/unix/mkdir.c: Remove file.
24009 * sysdeps/unix/rmdir.c: Likewise.
24010
ff3d51ec
AS
240112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24012
24013 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24014 ERR_MAX value.
24015 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24016 errlist-compat value.
24017
50f81fd7
DM
240182012-04-18 David S. Miller <davem@davemloft.net>
24019
24020 * sysdeps/generic/memcopy.h (reg_char): Delete.
24021 * debug/strcat_chk.c: Use char, not reg_char.
24022 * debug/strcpy_chk.c: Likewise.
24023 * debug/strncat_chk.c: Likewise.
24024 * debug/strncpy_chk.c: Likewise.
24025 * string/memchr.c: Likewise.
24026 * string/memrchr.c: Likewise.
24027 * string/rawmemchr.c: Likewise.
24028 * string/strcat.c: Likewise.
24029 * string/strchr.c: Likewise.
24030 * string/strchrnul.c: Likewise.
24031 * string/strcmp.c: Likewise.
24032 * string/strcpy.c: Likewise.
24033 * string/strncat.c: Likewise.
24034 * string/strncmp.c: Likewise.
24035 * string/strncpy.c: Likewise.
24036
8ff41c46
WS
240372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24038
24039 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24040 __builtin_memcopy is called when src and dest ranges are known to not
24041 overlap.
24042
6b652f46
WS
240432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24044
24045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24046 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24047 fwd_align_merge macro call.
24048 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24049 bwd_align_merge macro call.
24050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24051
b282631e
WS
240522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24053
24054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24055 bwd_align_merge macros.
24056 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24057 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24059
95aa737c
DM
240602012-04-18 David S. Miller <davem@davemloft.net>
24061
24062 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24063
7a99a614
AJ
240642012-04-18 Andreas Jaeger <aj@suse.de>
24065
24066 [BZ# 6794]
24067 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24068 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24070
24071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24072 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24074
24075 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24076 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24077 Adjust for changed ldbl-128 files.
24078
24079 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24080 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24082
e5270c23
DM
240832012-04-17 David S. Miller <davem@davemloft.net>
24084
24085 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24086
fb5e92c9
AS
240872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24088
24089 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24090 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24091 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24092 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24093 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24094 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24095
76da7265
AZ
240962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24097
24098 [BZ #6794]
24099 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24100 * math/libm-test.inc: Add ilogb errno and exception tests.
24101 * math/w_ilogb.c: New file: ilogb wrapper.
24102 * math/w_ilogbf.c: New file: ilogbf wrapper.
24103 * math/w_ilogbl.c: New file: ilogbl wrapper.
24104 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24105 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24106 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24107 exception being thrown with 0.0 as argument.
24108 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24109 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24110 exception being thrown with 0.0 as argument.
24111 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24112 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24113 exception being thrown with 0.0 as argument.
24114 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24115 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24116 exception being thrown with 0.0 as argument.
24117 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24118 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24120 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24122 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24123 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24124 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24125 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24126
0396e69d
PB
241272012-04-17 Petr Baudis <pasky@ucw.cz>
24128
24129 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24130 with altivec.
24131
750b5926
MP
241322012-04-16 Marek Polacek <polacek@redhat.com>
24133
24134 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24135
751728a1
MP
241362012-04-16 Marek Polacek <polacek@redhat.com>
24137
24138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24139 operands of fdivp instruction.
24140
34a27407
L
241412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24142
24143 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24144 * elf/tst-auditmod3b.c: Likewise.
24145 * elf/tst-auditmod4b.c: Likewise.
24146 * elf/tst-auditmod5b.c: Likewise.
24147 * elf/tst-auditmod6b.c: Likewise.
24148 * elf/tst-auditmod6c.c: Likewise.
24149 * elf/tst-auditmod7b.c: Likewise.
24150 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24151 * sysdeps/x86_64/preconfigure.in: Likewise.
24152 * sysdeps/x86_64/preconfigure: Regenerated.
24153
7e73e17d
L
241542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24155
24156 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24157 __ILP32__.
24158
c7a6ab72
AB
241592012-04-13 Antoine Balestrat <merkil33@gmail.com>
24160
24161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24162 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24163
a9e8e0e0
CL
241642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24165
24166 [BZ #13973]
24167 * locale/iso-639.def: Fix gl language name. Spotted by
24168 Yaron Shahrabani.
24169
ec98af7d
RM
241702012-04-12 Roland McGrath <roland@hack.frob.com>
24171
24172 [BZ #2074]
24173 * libio/libio.h (__io_write_fn): Update comment.
24174
247c3ede
PB
241752012-04-12 Petr Baudis <pasky@ucw.cz>
24176
24177 [BZ #2074]
24178 * stdio.texi (Hook Functions): The user provided writer function
24179 is not allowed to return -1.
24180
55939d6d
DM
241812012-04-11 David S. Miller <davem@davemloft.net>
24182
24183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24184
90020f5a
MF
241852012-04-11 Mike Frysinger <vapier@gentoo.org>
24186
24187 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24188 Add a leading slash to rtkaio.
24189
288f9098
JM
241902012-04-11 Jim Meyering <meyering@redhat.com>
24191
90020f5a
MF
24192 [BZ #11959]
24193 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24194 It is not necessarily an error to ignore fwrite's return
24195 value. One can reliably use ferror to test for errors after
24196 the fact.
288f9098 24197
4be2b570
L
241982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 * bits/types.h (__snseconds_t): New type.
24201 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24202
24203 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24205 (__SNSECONDS_T_TYPE): Likewise.
24206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24207 (__SNSECONDS_T_TYPE): Likewise.
24208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24209 (__SNSECONDS_T_TYPE): Likewise.
24210
288f9098 242112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24212
24213 [BZ #2636]
24214 * manual/time.texi (Processor Time): Return type of times is
24215 elapsed real time since an arbitrary point in the past.
24216 (CPU Time): Move CLK_TCK from here...
24217 (Processor Time): ...to here. Correct description.
24218 * manual/conf.texi (Constants for Sysconf): Correct description of
24219 _SC_CLK_TCK.
24220
d7dd4413
DM
242212012-04-10 David S. Miller <davem@davemloft.net>
24222
24223 [BZ #13967]
24224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24225 where the is a gap between DT_REL(A) and DT_JMPREL.
24226
b46068fc
L
242272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24228
24229 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24232
73d65cc3
SP
242332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24234
24235 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24236 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24237 (dl_main): Handle --inhibit-cache.
24238 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24239 _dl_inhibit_cache.
24240 * elf/dl-load.c (_dl_map_object): Use it.
24241 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24242
bcc8d661
JM
242432012-04-09 Joseph Myers <joseph@codesourcery.com>
24244
8f9a2fae
JM
24245 [BZ #13872]
24246 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24247 (__ieee754_powl): Saturate large exponents rather than testing for
24248 overflow of y*log2(x).
24249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24250 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24251 exceptions.
24252
bcc8d661
JM
24253 [BZ #11521]
24254 * math/s_ctan.c: Include <float.h>.
24255 (__ctan): Avoid internal overflow or cancellation in calculating
24256 denominator.
24257 * math/s_ctanf.c: Likewise.
24258 * math/s_ctanl.c: Likewise.
24259 * math/s_ctanh.c: Likewise.
24260 * math/s_ctanhf.c: Likewise.
24261 * math/s_ctanhl.c: Likewise.
24262 * math/libm-test.inc (ctan_test): Add more tests.
24263 (ctanh_test): Likewise.
24264 * sysdeps/i386/fpu/libm-test-ulps: Update.
24265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24266
823fbbb4
AJ
242672012-04-09 Andreas Jaeger <aj@suse.de>
24268
03879793
AJ
24269 [BZ #6894]
24270 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24271 is an optional BSD extension.
24272
823fbbb4
AJ
24273 [BZ #10254]
24274 * manual/stdio.texi (Opening Streams): Document additional fopen
24275 parameters.
24276
8de131cb
RM
242772012-04-09 Roland McGrath <roland@hack.frob.com>
24278
24279 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24280 %eax without telling the compiler.
24281
c0ed9d7d
CD
242822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24283
24284 [BZ # 13963]
24285 * manual/install.texi: Use sourceware.org.
24286
c483f6b4
JM
242872012-04-09 Joseph Myers <joseph@codesourcery.com>
24288
d7dd9453
JM
24289 [BZ #13873]
24290 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24291 (__ieee754_pow): Generate overflow and underflow using huge*huge
24292 and tiny*tiny rather than just returning constant infinity or zero
24293 for large exponents.
24294 * math/libm-test.inc (pow_test): Require overflow exceptions for
24295 applicable cases of large exponents.
24296
c483f6b4
JM
24297 [BZ #706]
24298 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24299 (__ieee754_pow): Use iterative multiplication algorithm only for
24300 integer exponents with absolute value below 1024. Check for odd
24301 integer exponents when using algorithm for real exponents.
24302 * math/libm-test.inc (pow_test): Add more tests.
24303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24304
d2de7579
JM
243052012-04-08 Joseph Myers <joseph@codesourcery.com>
24306
24307 [BZ #13705]
24308 * math/libm-test.inc (exp_test): Do not allow overflow exception
24309 on underflow test.
24310
f77f1232
AJ
243112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24312
24313 [BZ #13705]
24314 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24315 instead of __kernel_standard_f.
24316
3884932b
MF
243172012-04-08 Mike Frysinger <vapier@gentoo.org>
24318
24319 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24320 * sysdeps/x86_64/memset_chk.S: Likewise.
24321
54472e9c
AJ
243222012-04-08 Andreas Jaeger <aj@suse.de>
24323
6ab0fbfc
AJ
24324 [BZ #10153]
24325 * manual/startup.texi (Environment Access): Describe return value
24326 for putenv and setenv.
24327
61efba8c
AJ
24328 [BZ #6895]
24329 * manual/filesys.texi (Directory Entries): Add description for
24330 DT_LNK.
24331
95c3f29a
AJ
24332 [BZ #6890]
24333 * manual/filesys.texi (Directory Entries): Clarify that it's file
24334 system not operating system in the description of DT_UNKNOWN.
24335
54472e9c
AJ
24336 [BZ #6578]
24337 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24338
624254b1
SC
243392012-04-08 Stephen Compall <s11@member.fsf.org>
24340
24341 [BZ #6649]
24342 * manual/llio.texi (Opening and Closing Files): Add cross
24343 reference to explain mode argument.
24344
1e4920e0
MF
243452012-04-07 Mike Frysinger <vapier@gentoo.org>
24346
24347 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24348 * sysdeps/x86_64/memset_chk.S: Likewise.
24349
5ed848f3
DM
243502012-04-07 David S. Miller <davem@davemloft.net>
24351
24352 * elf/elf.h (R_SPARC_WDISP10): Define.
24353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24354 R_SPARC_SIZE32.
24355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24356 R_SPARC_SIZE64 and R_SPARC_H34.
24357
96154cd8
CD
243582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24359
24360 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24361 conditions and remove no longer applicable assertion.
24362
9904dc47
L
243632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24364
24365 * bits/byteswap.h: Include <features.h>.
24366 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24367 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24368
f8887d0a
L
243692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24370
24371 * bits/byteswap.h (__bswap_16): Removed.
24372 Include <bits/byteswap-16.h> to get __bswap_16.
24373 * sysdeps/i386/bits/byteswap.h: Likewise.
24374 * sysdeps/s390/bits/byteswap.h: Likewise.
24375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24376 * bits/byteswap-16.h: New file.
24377 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24378 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24379 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24380 * string/Makefile (headers): Add bits/byteswap-16.h.
24381
62470f60
PP
243822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24383
24384 [BZ #13895]
24385 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24386 extra indirection.
24387 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24388 * nss/tst-nss-static.c: New.
24389
4dad7bab
RM
243902012-04-06 Robert Millan <rmh@gnu.org>
24391
24392 [BZ #6486]
24393 * manual/llio.texi (File Position Primitive): lseek
24394 refers to WHENCE when it really means OFFSET.
24395
e9142a17
AJ
243962012-04-06 Andreas Jaeger <aj@suse.de>
24397
2c040eff
AJ
24398 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24399 strncmp declarations.
24400
e9142a17
AJ
24401 * abilist/libc.abilist: Add __poll and __ppoll.
24402
ff9f1c5f
DM
244032012-04-05 David S. Miller <davem@davemloft.net>
24404
dcd2ae90
DM
24405 * scripts/check-local-headers.sh: Accept a host triplet in the
24406 path matched by the exclude regexp.
24407
993eb054
DM
24408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24409 definition.
24410 * sysdeps/powerpc/powerpc32/dl-machine.h
24411 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24412 * sysdeps/s390/s390-32/dl-machine.h
24413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24414 * sysdeps/sparc/sparc32/dl-machine.h
24415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24416 * sysdeps/sparc/sparc64/dl-machine.h
24417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24418
ff9f1c5f
DM
24419 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24420 lazy binding.
48e2e132 24421 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24422 undefined symbol errors.
24423
48e2e132 24424 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24425 DT_NEEDED entries.
24426
e80d6f94
MM
244272012-04-05 Michael Matz <matz@suse.de>
24428
24429 [BZ #13592]
24430 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24431
349fa79f
AJ
244322012-04-05 Andreas Jaeger <aj@suse.de>
24433
24434 [BZ #13908]
24435 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24436 comment.
24437
f402708f
KK
244382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24439
24440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24441 which ROUND is no valid rounding mode.
24442
2ecccfc9
KK
244432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24444
24445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24446 read again.
24447 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24448
8a53f50f
KK
244492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24450
24451 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24452 an exception using FPU order intentionally.
24453
244542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24455
24456 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24457 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24458 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24459 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24460
d653abb7
SJ
244612012-04-05 Simon Josefsson <simon@josefsson.org>
24462
24463 [BZ #12340]
24464 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24465 EINVAL when BUFLEN is too smal.
24466
c3b1bf7d
TS
244672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24468
24469 [BZ #13553]
24470 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24471 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24472
b1aa60f3
AJ
244732012-04-03 Andreas Jaeger <aj@suse.de>
24474
c3b1bf7d 24475 [BZ #13938]
67f60a26
AJ
24476 * manual/setjmp.texi (System V contexts): Fix sentence.
24477
b1aa60f3
AJ
24478 [BZ #13926]
24479 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24480 New macro for this case.
24481 [!__GNUC__] (__bswap_64): New inline function for this case.
24482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24483 * bits/byteswap.h: Likewise.
24484 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24485 ull, guard with __GLIBC_HAVE_LONG_LONG.
24486
24487 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24488 __GLIBC_HAVE_LONG_LONG.
24489
24490 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24491 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24492
39c59c35
TMQMF
244932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24494
24495 [BZ #13691]
24496 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24497 inptr and inend, rather than using last_ch.
24498
135ffda8
DM
244992012-04-02 David S. Miller <davem@davemloft.net>
24500
24501 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24502 * stdio-common/printf-parse.h (read_int): Change return type to
24503 'int', return -1 on INT_MAX overflow.
24504 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24505 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24506 overflows INT_MAX. Check for overflow of in-format-string precision
24507 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24508 SIZE_MAX not INT_MAX for integer overflow test.
24509 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24510 skip the construct in the format string but do not record anything.
24511 * stdio-common/bug22.c: Adjust to test both width/prevision
24512 INT_MAX overflow as well as total length INT_MAX overflow. Check
24513 explicitly for proper errno values.
24514
228c019e
TS
245152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24516
302cadd3
TS
24517 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24518 CHAR_MAX.
24519 * string/test-strcmp.c [! WIDE]: Likewise.
24520 * time/tst-mktime2.c: Likewise for INT_MAX.
24521 * string/test-string.h: #include <sys/param.h> for MIN.
24522
228c019e
TS
24523 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24524 * sysdeps/i386/init-first.c (init): Likewise.
24525 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24526 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24527 * sysdeps/sh/init-first.c (init): Likewise.
24528
cfa633f5
UD
245292012-04-01 Ulrich Drepper <drepper@gmail.com>
24530
24531 * po/ru.po: Update from translation team.
d1635ef8 24532 * po/vi.po: Likewise.
cfa633f5 24533
6cd0a5ea
SP
245342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24535
24536 * resolv/nss_dns/dns-host.c: Merge copyright years.
24537
4b43400f
LD
245382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24539
24540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24541 Optimize memcpy with prefetch if
24542 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24543 src, dst pointers have unequal 16 byte alignments.
24544
48c41d04
SP
245452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24546
24547 [BZ #13928]
24548 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24549 from a CNAME entry and return the minimum ttl for the query.
24550 (gaih_getanswer_slice): Likewise.
24551
b8dc394d
JL
245522012-03-30 Jeff Law <law@redhat.com>
24553
24554 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24555 due to long keys.
24556 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24557 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24558
2f5a5ed0
JL
24559 * resolv/nss_dns/dns-host.c: Update copyright year.
24560
1d39e359
UD
245612012-03-30 Ulrich Drepper <drepper@gmail.com>
24562
c030f70c 24563 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24564 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24565
1d39e359
UD
24566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24567 comments for sendmmsg.
24568
245692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24570
24571 [BZ #13691]
24572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24573 with only 1 character between 0x0041 and 0x01b0.
24574 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24575 * wcsmbs/tst-mbsnrtowcs.c: New file.
24576
20fde227
DM
245772012-03-29 David S. Miller <davem@davemloft.net>
24578
24579 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24580 small copies by hand.
24581
984a4237
JL
245822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24583
24584 [BZ #13761]
24585 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24586 _nss_compat_initgroups_dyn): Fall back to malloc/free
24587 for large group memberships.
24588
18c9d62b
DM
245892012-03-28 David S. Miller <davem@davemloft.net>
24590
88d85d4f
DM
24591 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24592 that branches into memcpy.
24593 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24596 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24598 bits.
24599 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24600 implementation too.
24601 * sysdeps/sparc/mempcpy.S: New file.
24602
e5aa83e1
DM
24603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24604 the IFUNC routine in the libc case.
24605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24606
88570753
DM
24607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24608 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24609 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24610 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24611 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24612 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24613 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24614 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24615
249d7567
DM
24616 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24617 loop to 256 bytes instead of 64 bytes and fix test signedness.
24618
18c9d62b
DM
24619 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24620 * sysdeps/sparc/sparc32/Makefile: rather than here...
24621 * sysdeps/sparc/sparc64/Makefile: and here.
24622
05f3d1f6
UD
246232012-03-28 Ulrich Drepper <drepper@gmail.com>
24624
24625 * malloc/mallocbug.c: Avoid warnings about unused variables.
24626
86ae07a8
JL
246272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24628
24629 [BZ #13760]
24630 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24631 in the right place. Discard and retry query if response is
24632 larger than input buffer size.
24633
41bf21a1
JM
246342012-03-28 Joseph Myers <joseph@codesourcery.com>
24635
d6270972
JM
24636 [BZ #369]
24637 [BZ #2678]
24638 [BZ #3866]
24639 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24640 x for large integer exponent.
24641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24642 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24643 sign of result as needed afterwards.
24644 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24646 result for underflowing pow the same as for overflow.
24647 (__kernel_standard_l): Handle powl overflow and underflow here
24648 rather than calling __kernel_standard.
24649 * math/libm-test.inc (pow_test): Add more tests.
24650
414fca03 24651 [BZ #3868]
41bf21a1
JM
24652 [BZ #13879]
24653 [BZ #13910]
24654 [BZ #13911]
24655 [BZ #13912]
24656 [BZ #13913]
24657 [BZ #13915]
24658 [BZ #13916]
24659 [BZ #13917]
24660 [BZ #13918]
24661 [BZ #13919]
24662 [BZ #13920]
24663 [BZ #13921]
24664 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24665 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24666 (__kernel_standard_l): New function.
24667 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24668 __kernel_standard.
24669 * math/w_acosl.c (__acosl): Likewise.
24670 * math/w_asinl.c (__asinl): Likewise.
24671 * math/w_atan2l.c (__atan2l): Likewise.
24672 * math/w_atanhl.c (__atanhl): Likewise.
24673 * math/w_coshl.c (__coshl): Likewise.
24674 * math/w_exp10l.c (__exp10l): Likewise.
24675 * math/w_exp2l.c (__exp2l): Likewise.
24676 * math/w_fmodl.c (__fmodl): Likewise.
24677 * math/w_hypotl.c (__hypotl): Likewise.
24678 * math/w_j0l.c (__j0l, __y0l): Likewise.
24679 * math/w_j1l.c (__j1l, __y1l): Likewise.
24680 * math/w_jnl.c (__jnl, __ynl): Likewise.
24681 * math/w_lgammal.c (__lgammal): Likewise.
24682 * math/w_log10l.c (__log10l): Likewise.
24683 * math/w_log2l.c (__log2l): Likewise.
24684 * math/w_logl.c (__logl): Likewise.
24685 * math/w_powl.c (__powl): Likewise.
24686 * math/w_remainderl.c (__remainderl): Likewise.
24687 * math/w_scalbl.c (sysv_scalbl): Likewise.
24688 * math/w_sinhl.c (__sinhl): Likewise.
24689 * math/w_sqrtl.c (__sqrtl): Likewise.
24690 * math/w_tgammal.c (__tgammal): Likewise.
24691 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24692 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24693 * math/libm-test.inc (acos_test): Add more tests.
24694 (acosh_test): Likewise.
24695 (asin_test): Likewise.
24696 (atanh_test): Likewise.
24697 (exp_test): Likewise.
24698 (exp10_test): Likewise.
24699 (exp2_test): Likewise.
24700 (expm1_test): Likewise.
24701 (lgamma_test): Likewise.
24702 (log_test): Likewise.
24703 (log10_test): Likewise.
24704 (log1p_test): Likewise.
24705 (log2_test): Likewise.
24706 (pow_test): Do not allow some spurious overflow exceptions.
24707 (sqrt_test): Add more tests.
24708 (tgamma_test): Likewise.
24709 (y0_test): Likewise.
24710 (y1_test): Likewise.
24711 (yn_test): Likewise.
24712
dd62fda6
AB
247132012-03-27 Anton Blanchard <anton@samba.org>
24714
24715 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24716 MAP_HUGETLB.
24717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24720
1e3cdfda
AJ
247212012-03-27 David S. Miller <davem@davemloft.net>
24722
b855ab85
DM
24723 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24724
1e3cdfda
AJ
24725 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24726 have-as-vis3 check.
24727
247282012-03-27 Andreas Jaeger <aj@suse.de>
24729
24730 * sysdeps/x86_64/elf/configure.in: Moved to ...
24731 * sysdeps/x86_64/configure.in: ... here.
24732 * sysdeps/x86_64/elf/start.S: Moved to ...
24733 * sysdeps/x86_64/start.S: ... here.
24734 * sysdeps/x86_64/elf/configure: Delete.
24735
24736 * sysdeps/x86_64/configure.in: Merge contents from
24737 sysdeps/i386/configure.in (without i686 check).
24738
24739 * sysdeps/i386/elf/Versions: Merge into ...
24740 * sysdeps/i386/Versions: ... this.
24741 * sysdeps/i386/elf/Versions: Delete file.
24742 * sysdeps/i386/elf/start.S: Moved to ...
24743 * sysdeps/i386/start.S: ...here.
24744 * sysdeps/i386/elf/configure.in: Merge into...
24745 * sysdeps/i386/configure.in: ...here.
24746 * sysdeps/i386/elf/configure.in: Delete file.
24747 * sysdeps/i386/elf/configure: Delete file.
24748
24749 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24750 * debug/backtracesyms.c: ... here.
24751 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24752 * debug/backtracesymsfd.c: ... here.
24753 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24754 * sysdeps/generic/ifunc-sel.h: ... here.
24755
24756 * sysdeps/unix/i386/start.c: Delete file.
24757 * sysdeps/unix/sparc/start.c: Delete file.
24758 * sysdeps/unix/start.c: Delete file.
24759
24760 * sysdeps/sh/elf/configure.in: Moved to ...
24761 * sysdeps/sh/configure.in: ... here.
24762 * sysdeps/sh/elf/start.S: Moved to ...
24763 * sysdeps/sh/start.S: ... here.
24764 * sysdeps/sh/elf/configure: Delete file.
24765
24766 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24767 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24768 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24769 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24770 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24771 * sysdeps/powerpc/powerpc64/start.S: here.
24772 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24773 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24774 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24775 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24776 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24777
24778 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24779 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24780 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24781 * sysdeps/powerpc/powerpc32/start.S: ... here.
24782 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24783 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24784 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24785
24786 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24787 * sysdeps/powerpc/ifunc-sel.h: ... here.
24788 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24789 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24790
24791 * sysdeps/sparc/elf/configure.in: Moved to ...
24792 * sysdeps/sparc/configure.in: ... here.
24793 * sysdeps/sparc/elf/configure: Delete file.
24794 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24795 * sysdeps/sparc/sparc32/start.S: ... here.
24796 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24797 * sysdeps/sparc/sparc64/start.S: ... here.
24798 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24799 * sysdeps/sparc/sparc32/Makefile: ... this.
24800 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24801 * sysdeps/sparc/sparc64/Makefile: ... this.
24802
24803 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24804 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24805 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24806 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24807 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24808 * sysdeps/s390/s390-32/setjmp.S: ... here.
24809 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24810 * sysdeps/s390/s390-32/configure.in: ... here.
24811 * sysdeps/s390/s390-32/elf/configure: Delete file.
24812 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24813 * sysdeps/s390/s390-32/start.S: ... here.
24814
24815 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24816 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24817 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24818 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24819 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24820 * sysdeps/s390/s390-64/setjmp.S: ... here.
24821 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24822 * sysdeps/s390/s390-64/configure.in: ... here
24823 * sysdeps/s390/s390-64/elf/configure: Delete file.
24824 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24825 * sysdeps/s390/s390-64/start.S: ... here.
24826 * sysdeps/s390/s390-64/elf/configure: Delete.
24827
24828 * configure.in: Remove support for elf directories in sysdeps.
24829
24830 * configure: Regenerated.
24831 * sysdeps/i386/configure: Regenerated.
24832 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24833 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24834 * sysdeps/s390/s390-32/configure: Regenerated.
24835 * sysdeps/s390/s390-64/configure: Regenerated.
24836 * sysdeps/sh/configure: Regenerated.
24837 * sysdeps/sparc/configure: Regenerated.
24838 * sysdeps/x86_64/configure: Regenerated.
24839
a3f61311
AS
248402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24841
c876e002
AS
24842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24843
a3f61311
AS
24844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24845 denormal result into account.
24846
ac4c54f0
RM
248472012-03-25 Roland McGrath <roland@hack.frob.com>
24848
24849 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24850 Reported by Allan McRae <allan@archlinux.org>.
24851
6a9b9c02
JL
248522012-03-23 Jeff Law <law@redhat.com>
24853
24854 * nss/getnssent.c (__nss_getent): Fix typo.
24855
4c42a0c1
DM
248562012-03-23 David S. Miller <davem@davemloft.net>
24857
24858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24859
1532c7ac
L
248602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24861
24862 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24863 to pad to uint64_t for each field.
24864 (dl_tls_index): Replace unsigned long with uint64_t.
24865
3ff42526
PP
248662012-03-23 Daniel Jacobowitz <dmj@google.com>
24867 Paul Pluzhnikov <ppluzhnikov@google.com>
24868
24869 [BZ #6528]
24870 * grp/Makefile (otherlibs): Don't set it.
24871 * inet/Makefile (otherlibs): Likewise.
24872 * login/Makefile (otherlibs): Likewise.
24873 * nscd/Makefile (otherlibs): Likewise.
24874 * posix/Makefile (otherlibs): Likewise.
24875 * pwd/Makefile (otherlibs): Likewise.
24876 * rt/Makefile (otherlibs): Likewise.
24877 * sunrpc/Makefile (otherlibs): Likewise.
24878 * nss/Makefile (otherlibs): Likewise.
24879 Add libnss_files to routines and static-only-routines.
24880 ($(objpfx)getent): Remove rule.
24881 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24882 static-only-routines.
24883
7c69cd14
JM
248842012-03-22 Joseph Myers <joseph@codesourcery.com>
24885
24886 [BZ #13892]
24887 * math/s_cexp.c: Include <float.h>.
24888 (__cexp): Handle exp result overflowing not necessarily
24889 overflowing both real and imaginary parts of result.
24890 * math/s_cexpf.c: Likewise.
24891 * math/s_cexpl.c: Likewise.
24892 * math/libm-test.inc (cexp_test): Add more tests.
24893 * sysdeps/i386/fpu/libm-test-ulps: Update.
24894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24895
81b035fe
L
248962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24897
24898 * include/link.h (ELFW): New macro.
24899 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24900 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24901
1da7940c
L
249022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24905 with uint64_t.
24906
b749dbb9
L
249072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24908
24909 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24910 declaration.
24911 (struct La_x32_retval): Likewise.
24912
2ff87f3f
L
249132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24914
24915 * sysdeps/x86_64/preconfigure.in: New file.
24916 * sysdeps/x86_64/preconfigure: New generated file.
24917
c0df8e69
JM
249182012-03-22 Joseph Myers <joseph@codesourcery.com>
24919
48e44791
JM
24920 [BZ #13824]
24921 * math/e_exp2l.c: Include <float.h>.
24922 (__ieee754_exp2l): Handle overflow and underflow cases
24923 separately. Only pass fractional part of argument to
24924 __ieee754_expl.
24925 * math/libm-test.inc (exp2_test): Add more tests.
24926
c0df8e69
JM
24927 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24928 negating x to take absolute value.
24929 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24930 Likewise.
24931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24932 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24933 Likewise.
24934 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24935 computing low part if x was negated.
24936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24937
c8e43ba7
L
249382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24939
24940 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24941 la_x32_gnu_pltexit.
24942 (pltexit): Cast int_retval to ptrdiff_t.
24943 * elf/tst-auditmod3b.c: Likewise.
24944 * elf/tst-auditmod4b.c: Likewise.
24945 * elf/tst-auditmod5b.c: Likewise.
24946 * elf/tst-auditmod6b.c: Likewise.
24947 * elf/tst-auditmod6c.c: Likewise.
24948 * elf/tst-auditmod7b.c: Likewise.
24949
24950 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24951 and x32_gnu_pltexit.
24952
24953 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24954 __ELF_NATIVE_CLASS.
24955 (La_x32_regs): New macro.
24956 (La_x32_retval): Likewise.
24957 (la_x32_gnu_pltenter): New function prototype.
24958 (la_x32_gnu_pltexit): Likewise.
24959
7998fa78
AS
249602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24961
dcb33988
AS
24962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24963 exponent.
24964
233fc563
AS
24965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24966
7998fa78
AS
24967 * configure.in (libc_cv_cc_nofma): Check for option to disable
24968 generation of FMA instructions.
24969 * configure: Regenerate.
24970 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24971 * sysdeps/ieee754/dbl-64/Makefile: New file.
24972 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24973 Remove brandred-fma4.
24974 (CFLAGS-brandred-fma4.c): Remove.
24975 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24976 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24977 define.
24978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24979 define.
24980
8e95c99a
L
249812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24982
24983 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24984 LLONG_MAX != LONG_MAX.
24985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24986 (_fitoa_word): Likewise.
24987 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24988 LLONG_MAX != LONG_MAX.
24989 * stdio-common/_itowa.h: Include <_itoa.h>.
24990 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24991 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24992 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24993 only if not defined.
24994 (_ITOA_WORD_TYPE): Likewise.
24995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24996 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24997
6f4db457
DM
249982012-03-21 David S. Miller <davem@davemloft.net>
24999
25000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25001
7785fe5a
L
250022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25003
25004 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25005 of x86_64 when setting libc_cv_slibdir, libdir and
25006 libc_cv_localedir.
25007 * sysdeps/unix/sysv/linux/configure: Regenerated.
25008
4535cd55
JM
250092012-03-21 Joseph Myers <joseph@codesourcery.com>
25010
25011 * manual/lang.texi (Old Varargs): Remove section.
25012 (How Variadic): Update menu.
25013 (va_start): Do not mention varargs.h.
25014
17228132
TS
250152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25016 Joseph Myers <joseph@codesourcery.com>
25017
25018 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25019 link test.
25020 * configure: Regenerated.
25021
8149f976
TS
250222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25023
05f3d1f6
UD
25024 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25025 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25026 conformtest.pl
8149f976 25027
1a4ac776
JM
250282012-03-21 Joseph Myers <joseph@codesourcery.com>
25029
be22ce65
JM
25030 * NOTES: Remove.
25031 * Makefile (files-for-dist): Remove NOTES.
25032 (NOTES): Remove rule.
25033 * README: Don't refer to NOTES.
25034 * manual/creature.texi: Don't include macros.texi.
25035 * manual/intro.texi (creature.texi): Remove comment referring to
25036 NOTES.
25037
40b601fb
JM
25038 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25039 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25040 * configure: Regenerated.
25041 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25042 LIBC_TRY_CC_OPTION.
25043 (libc_cv_as_i686): Likewise.
25044 (libc_cv_cc_avx): Likewise.
25045 (libc_cv_cc_sse2avx): Likewise.
25046 (libc_cv_cc_fma4): Likewise.
25047 (libc_cv_cc_novzeroupper): Likewise.
25048 * sysdeps/i386/configure: Regenerated.
25049
1a4ac776
JM
25050 [BZ #13883]
25051 * sysdeps/i386/fpu/s_cexp.S: Remove.
25052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25054 * math/libm-test.inc (cexp_test): Add more tests.
25055 * sysdeps/i386/fpu/libm-test-ulps: Update.
25056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057
a458e7fe
AM
250582012-03-21 Allan McRae <allan@archlinux.org>
25059
25060 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25061
0cb7efc5
JM
250622012-03-21 Joseph Myers <joseph@codesourcery.com>
25063
25064 [BZ #13871]
25065 * math/w_exp2.c: Do not include <float.h>.
25066 (o_threshold, u_threshold): Remove.
25067 (__exp2): Calculate result before checking finiteness and calling
25068 __kernel_standard.
25069 * math/w_exp2f.c: Likewise.
25070 * math/w_exp2l.c: Likewise.
25071 * math/libm-test.inc (exp2_test): Require overflow exception for
25072 1e6 input.
2460d3aa
JM
25073
25074 [BZ #3866]
25075 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25076 range of signed 64-bit integers before using fistpll. Remove
25077 checks for whether integers fit in mantissa bits.
25078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25079 the range of signed 32-bit integers before using fistpl. Remove
25080 checks for whether integers fit in mantissa bits.
25081 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25082 (__ieee754_powl): Test for y outside the range of signed 64-bit
25083 integers before using fistpll. Reduce 64-bit values to 63-bit
25084 ones as needed.
25085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25086 divide-by-zero is raised for zero to large negative powers.
25087 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25088 (__ieee754_powl): Test for y outside the range of signed 64-bit
25089 integers before using fistpll. Reduce 64-bit values to 63-bit
25090 ones as needed.
25091 * math/libm-test.inc (pow_test): Add more tests.
25092
eb96ffb0
L
250932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25094
25095 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25096 <stdio-common/_itoa.h>.
25097 * debug/segfault.c: Likewise.
25098 * elf/dl-cache.c: Likewise.
25099 * elf/dl-minimal.c: Likewise.
25100 * elf/dl-misc.c: Likewise.
25101 * elf/dl-sysdep.c: Likewise.
25102 * elf/dl-version.c: Likewise.
25103 * elf/rtld.c: Likewise.
25104 * hurd/hurdsock.c: Likewise.
25105 * hurd/lookup-retry.c: Likewise.
25106 * malloc/malloc.c: Likewise.
25107 * malloc/mtrace.c: Likewise.
25108 * nscd/nscd_getgr_r.c: Likewise.
25109 * nscd/nscd_getpw_r.c: Likewise.
25110 * nscd/nscd_getserv_r.c: Likewise.
25111 * posix/getopt_init.c: Likewise.
25112 * posix/wordexp.c: Likewise.
25113 * stdio-common/_itoa.c: Likewise.
25114 * stdio-common/printf_fphex.c: Likewise.
25115 * stdio-common/vfprintf.c: Likewise.
25116 * string/_strerror.c: Likewise.
25117 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25118 * sysdeps/i386/i686/hp-timing.h: Likewise.
25119 * sysdeps/mach/_strerror.c: Likewise.
25120 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25121 * sysdeps/mach/hurd/sethostid.c: Likewise.
25122 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25123 * sysdeps/mach/xpg-strerror.c: Likewise.
25124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25125 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25126 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25127 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25129 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25131 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25132 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25133 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25134 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25135 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25136 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25137 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25138 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25140 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25141 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25142 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25143 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25144 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25145
25146 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25147
25148 * stdio-common/_itoa.h: Moved to ...
25149 * sysdeps/generic/_itoa.h: Here.
25150
25151 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25152
25153 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25154 instead of "_itoa.h" and "_itowa.h".
25155 * stdio-common/vfprintf.: Likewise.
25156
d1af992d
L
251572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25158
25159 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25160 <bits/wordsize.h>.
25161 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25162 (__signbit): Likwise.
25163 (llrintf): Likwise.
25164 (llrint): Likwise.
25165
114883e0
L
251662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25167
25168 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25169 __WORDSIZE != 64.
25170
c135cc1b
JM
251712012-03-20 Joseph Myers <joseph@codesourcery.com>
25172
25173 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25174 OVERFLOW_EXCEPTION_OK.
25175 * math/libm-test.inc ("Philosophy"): Update comment about
25176 exception testing.
25177 (OVERFLOW_EXCEPTION): Define.
25178 (OVERFLOW_EXCEPTION_OK): Likewise.
25179 (INVALID_EXCEPTION_OK): Renumber.
25180 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25181 (IGNORE_ZERO_INF_SIGN): Likewise.
25182 (test_exceptions): Handle FE_OVERFLOW.
25183 (exp10_test): Expect overflow exceptions.
25184 (exp2_test): Likewise.
25185 (expm1_test): Likewise.
25186 (nextafter_test): Likewise.
25187 (pow_test): Likewise.
25188 (scalbn_test): Likewise.
25189 (scalbln_test): Likewise.
25190
95443d88
L
251912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25192
25193 * sysdeps/x86_64/bits/atomic.h
25194 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25195 64bit integer.
25196 (atomic_exchange_acq): Likewise.
25197 (__arch_exchange_and_add_body): Likewise.
25198 (__arch_add_body): Likewise.
25199 (atomic_add_negative): Likewise.
25200 (atomic_add_zero): Likewise.
25201
490df6c4
L
252022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25203
c2722551 25204 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25205 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25206
5e52b189
L
252072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25208
25209 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25210 Check __x86_64__ instead of __WORDSIZE.
25211
a9879d4c
L
252122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25213
25214 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25215
5df98260
DM
252162012-03-19 David S. Miller <davem@davemloft.net>
25217
e1497744
DM
25218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25219
5df98260
DM
25220 * sysdeps/sparc/fpu/fenv_private.h: New file.
25221 * sysdeps/sparc/fpu/math_private.h: Use it.
25222 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25223 Remove.
25224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25225 (libc_feholdexcept_setroundl): Remove.
25226 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25227 Remove.
25228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25230
b4c35121
L
252312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25232
25233 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25234 int64_t instead of long int.
25235 (INSERT_WORDS64): Likwise.
25236
56965fd7
L
252372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25238
25239 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25240 _Unwind_GetCFA return to _Unwind_Ptr first.
25241
83d1aec8
JM
252422012-03-19 Joseph Myers <joseph@codesourcery.com>
25243
1897ad44
JM
25244 [BZ #13629]
25245 * math/s_clog.c: Include <float.h>.
25246 (__clog): Scale large or subnormal inputs.
25247 * math/s_clogf.c: Likewise.
25248 * math/s_clogl.c: Likewise.
25249 * math/s_clog10.c: Include <float.h>.
25250 (M_LOG10_2): Define.
25251 (__clog10): Scale large or subnormal inputs.
25252 * math/s_clog10f.c: Likewise.
25253 * math/s_clog10l.c: Likewise.
25254 * math/libm-test.inc (clog_test): Add more tests.
25255 (clog10_test): Likewise.
25256 * sysdeps/i386/fpu/libm-test-ulps: Update.
25257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25258
7726d6a9
JM
25259 [BZ #11451]
25260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25261 x and y.
25262 * math/libm-test.inc (atan2_test): Add another test.
25263
83d1aec8
JM
25264 * Makerules (common-objdir-compile): Remove.
25265 * sysdeps/unix/Makefile (config-generated): Do not add
25266 $(unix-generated) to variable.
25267 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25268 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25269 Remove rule.
25270 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25271 Likewise.
25272 [generic bits/local_lim.h] (before-compile): Do not append to
25273 variable.
25274 [generic bits/local_lim.h] (common-generated): Likewise.
25275 [generic sys/param.h] (before-compile): Do not append to variable.
25276 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25277 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25278 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25279 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25280 include.
25281 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25282 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25283 [generic sys/param.h] ($(addprefix
25284 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25285 [generic sys/param.h] (common-generated): Do not append to
25286 variable.
25287 [generic sys/param.h] (sysdep_headers): Likewise.
25288 [generic bits/errno.h] (before-compile): Do not append to
25289 variable.
25290 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25291 rule.
25292 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25293 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25294 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25295 [generic bits/errno.h] (common-generated): Do not append to
25296 variable.
25297 [generic bits/ioctls.h] (before-compile): Do not append to
25298 variable.
25299 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25300 rule.
25301 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25302 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25303 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25304 rule.
25305 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25306 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25307 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25308 [generic bits/ioctls.h] (common-generated): Do not append to
25309 variable.
25310 [generic sys/syscall.h] (syscall.h): Remove variable.
25311 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25312 rule.
25313 [generic sys/syscall.h] (before-compile): Do not append to
25314 variable.
25315 [generic sys/syscall.h] (common-generated): Likewise.
25316 * sysdeps/unix/errnos-tmpl.c: Remove file.
25317 * sysdeps/unix/errnos.awk: Likewise.
25318 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25319 * sysdeps/unix/ioctls.awk: Likewise.
25320 * sysdeps/unix/mk-local_lim.c: Likewise.
25321 * sysdeps/unix/snarf-ioctls: Likewise.
25322
4851a949
RH
253232012-03-19 Richard Henderson <rth@twiddle.net>
25324
bd37f2ee
RH
25325 * sysdeps/i386/fpu/fenv_private.h: New file.
25326 * sysdeps/i386/fpu/math_private.h: Use it.
25327 (math_opt_barrier, math_force_eval): Remove.
25328 (libc_feholdexcept_setround_53bit): Remove.
25329 (libc_feupdateenv_53bit): Remove.
25330 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25331 (math_opt_barrier, math_force_eval): Remove.
25332 (libc_feholdexcept): Remove.
25333 (libc_feholdexcept_setround): Remove.
25334 (libc_fetestexcept, libc_fesetenv): Remove.
25335 (libc_feupdateenv_test): Remove.
25336 (libc_feupdateenv, libc_feholdsetround): Remove.
25337 (libc_feresetround): Remove.
25338
d0adc922
RH
25339 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25340 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25341
0fe0f1f8
RH
25342 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25343 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25344 (libc_feupdateenv_testl): New.
25345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25346 (libc_feupdateenv_testf): New.
25347 (libc_feupdateenv): Use libc_feupdateenv_test.
25348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25350
eb92c487
RH
25351 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25352 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25353 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25354 (libc_feresetround_noex): New.
25355 (libc_feresetround_noexf): New.
25356 (libc_feresetround_noexl): New.
25357 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25358 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25359 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25360 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25361 SET_RESTORE_ROUND.
25362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25364 (__cos): Likewise.
25365 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25366 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25367 SET_RESTORE_ROUND_NOEX.
25368 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25369 SET_RESTORE_ROUND_NOEXF.
25370 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25371 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25372 (libc_feholdsetroundf): New.
25373 (libc_feresetround, libc_feresetroundf): New.
25374
7d2e8012
RH
25375 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25376 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25377 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25378
b4dabbb4
RH
25379 * sysdeps/generic/math_private.h: Include <fenv.h>.
25380 (default_libc_feholdexcept): New.
25381 (default_libc_feholdexcept_setround): New.
25382 (default_libc_fesetenv, default_libc_feupdateenv): New.
25383 (libc_feholdexcept): Only define if undefined.
25384 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25385 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25386 (libc_feholdexcept_setroundl): Likewise.
25387 (libc_feholdexcept_setround_53bit): Likewise.
25388 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25389 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25390 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25391 (libc_feupdateenv_53bit): Likewise.
25392 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25393 (libc_feholdexcept): Convert from macro to inline function.
25394 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25395 (libc_fesetenv, libc_feupdateenv): Likewise.
25396
4851a949
RH
25397 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25398 not previously defined.
25399 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25400 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25401 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25402 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25403 * sysdeps/ieee754/flt-32/math_private.h: New file.
25404 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25405 math_private.h below SET_FLOAT_WORD.
25406 (__isnan, __isinf_ns, __finite): Remove.
25407 (__isnanf, __isinf_nsf, __finitef): Remove.
25408
e79d442e
AS
254092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25410
25411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25412
90b80344
DM
254132012-03-17 David S. Miller <davem@davemloft.net>
25414
25415 [BZ #6471]
25416 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25417 for 2.16.
25418
edc21804
DM
254192012-03-16 David S. Miller <davem@davemloft.net>
25420
77e927af
DM
25421 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25422 warnings.
25423
374976dd
DM
25424 [BZ #6471]
25425 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25426 properly.
25427 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25428 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25429 sysdep_routines when subdir is sysvipc.
25430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25431 __getshmlba helper.
25432
edc21804
DM
25433 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25434
473c3ef3
L
254352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25436
25437 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25438 [__LP64__].
25439
eb0f39b6
L
254402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25441
25442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25443 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25444 (__lround): Renamed to ...
25445 (__llround): This. Replace long int with long long int.
25446 Define lround functions as aliases of llround functions.
25447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25448
6b6cd74b
L
254492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25450
25451 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25452 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25453 adresses to uintptr_t. Replace "long int" and "unsigned long
25454 int" with "greg_t" on va_arg.
25455
f1a77b01
L
254562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25457
25458 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25459 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25460
25461 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25462 Move e_machine check before EI_CLASS check. Handle x32
25463 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25464 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25465 SKIP_EM_IA_64 and include
25466 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25467
25468 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25469 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25470 (add_system_dir): New macro.
25471
25472 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25473 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25474
11b90b9f
JM
254752012-03-16 Joseph Myers <joseph@codesourcery.com>
25476
c36e1d23
JM
25477 [BZ #2551]
25478 [BZ #2552]
25479 [BZ #2553]
25480 [BZ #2554]
25481 [BZ #2562]
25482 [BZ #2563]
25483 [BZ #2565]
25484 [BZ #2566]
25485 [BZ #2576]
25486 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25487 (y0): Likewise.
25488 * math/w_j0f.c (j0f): Likewise.
25489 (y0f): Likewise.
25490 * math/w_j0l.c (__j0l): Likewise.
25491 (__y0l): Likewise.
25492 * math/w_j1.c (j1): Likewise.
25493 (y1): Likewise.
25494 * math/w_j1f.c (j1f): Likewise.
25495 (y1f): Likewise.
25496 * math/w_j1l.c (__j1l): Likewise.
25497 (__y1l): Likewise.
25498 * math/w_jn.c (jn): Likewise.
25499 (yn): Likewise.
25500 * math/w_jnf.c (jnf): Likewise.
25501 (ynf): Likewise.
25502 * math/w_jnl.c (__jnl): Likewise.
25503 (__ynl): Likewise.
25504 * math/libm-test.inc (j0_test): Add more tests.
25505 (j1_test): Likewise.
25506 (jn_test): Likewise. Add trailing semicolon to existing test.
25507 (y0_test): Likewise.
25508 (y1_test): Likewise.
25509 * sysdeps/i386/fpu/libm-test-ulps: Update.
25510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25511
11b90b9f
JM
25512 [BZ #13851]
25513 [BZ #13854]
25514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25515 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25516 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25517 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25518 (__tanl): Set errno for infinite argument.
25519 * sysdeps/i386/fpu/mptan.c: Remove.
25520 * sysdeps/i386/fpu/s_tan.S: Likewise.
25521 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25522 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25523 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25524 * math/libm-test.inc (tan_test): Add more tests and enable more
25525 tests for double and long double.
25526 * sysdeps/i386/fpu/libm-test-ulps: Update.
25527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25528
6a1bd2a1
JK
255292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25530
25531 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25532 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25533
10a803e0
RM
255342012-03-16 Roland McGrath <roland@hack.frob.com>
25535
25536 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25537 * configure.in: Use it for both main tree and add-ons.
25538 * configure: Regenerated.
25539
f196c7f7
L
255402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25541
25542 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25543
8848d99d
JM
255442012-03-16 Joseph Myers <joseph@codesourcery.com>
25545
96cbe7f4
JM
25546 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25547 in comment.
25548
8848d99d
JM
25549 [BZ #13851]
25550 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25551 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25555 infinite argument.
25556 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25558 != 0 for prec == 2.
25559 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25560 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25561 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25562 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25563 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25564 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25565 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25566 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25567 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25568 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25569 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25570 * math/libm-test.inc (cos_test): Add more tests and enable more
25571 tests for long double.
25572 (sin_test): Likewise.
25573 (sincos_test): Likewise.
25574 * sysdeps/i386/fpu/libm-test-ulps: Update.
25575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25576
dd7f4703
DM
255772012-03-16 David S. Miller <davem@davemloft.net>
25578
25579 * sysdeps/sparc/fpu/math_private.h: New file.
25580
006f1daa
DM
255812012-03-15 David S. Miller <davem@davemloft.net>
25582
c0c83bc8
DM
25583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25584 file.
e6a62e18 25585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25587 file.
e6a62e18
DM
25588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25594 sysdep routines.
25595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25596
88cb87d9
DM
25597 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25598 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25599
006f1daa 25600 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25602 sparc-ifunc.h
006f1daa 25603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25605 Likewise.
25606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25607 Likewise.
006f1daa
DM
25608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25612 Likewise.
006f1daa
DM
25613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25618 Likewise.
25619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25620 Likewise.
006f1daa
DM
25621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25645
11e0098e
AS
256462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25647
25648 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25649 scaling.
25650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25651
e85b09d0
AJ
256522012-03-15 Andreas Jaeger <aj@suse.de>
25653
25654 [BZ #13852]
25655 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25656 ieee754/flt-32 implementation for sin, cos and sincos.
25657 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25658 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25659 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25660 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25661 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25662 ieee754/flt-32 implementation for tan.
25663
25664 * math/libm-test.inc (cos_test): Enable some large input tests for
25665 float as well
25666 (sin_test): Likewise.
25667 (sincos_test): Likewise.
25668 (tan_test): Add tests for large input.
25669
25670 * sysdeps/i386/fpu/libm-test-ulps: Update.
25671
81c64153
AJ
256722012-03-15 Andreas Jaeger <aj@suse.de>
25673
25674 [BZ #13658]
25675 * math/libm-test.inc (cos_test): Add more test cases.
25676 (sin_test): Likewise.
25677 (sincos_test): Likewise.
25678
7bbfa5c6
AJ
256792012-03-15 Andreas Jaeger <aj@suse.de>
25680
25681 [BZ #13837]
25682 * math/libm-test.inc (cos_test): Add a test case for large input
25683 value.
25684 (sin_test): Likewise.
25685 (sincos_test): Likewise.
25686
256872012-03-15 Andreas Jaeger <aj@suse.de>,
25688 Joseph Myers <joseph@codesourcery.com>
25689
25690 [BZ #13658]
0671f479 25691 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25692 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25693 * sysdeps/i386/fpu/branred.c: Likewise.
25694 * sysdeps/i386/fpu/dosincos.c: Likewise.
25695 * sysdeps/i386/fpu/mpa.c: Likewise.
25696 * sysdeps/i386/fpu/s_cos.S: Likewise.
25697 * sysdeps/i386/fpu/s_sin.S: Likewise.
25698 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25699 * sysdeps/i386/fpu/sincos32.c: Likewise.
25700
25701 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25702 Define.
25703 (libc_feupdateenv_53bit): Define.
25704 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25705 Define.
25706 (libc_feupdateenv_53bit): Define.
25707
25708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25709 53 bit (without extend i386 double precision).
25710
25711 * math/libm-test.inc (sincos_test): Add tests for large input.
25712 (sin): Likewise.
25713 (cos): Likewise.
25714
25715 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25716
9cad04ea
AS
257172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25718
25719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25720
f7062b9a
DM
257212012-03-15 David S. Miller <davem@davemloft.net>
25722
25723 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25724 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25725 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25726 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25739 file.
f7062b9a 25740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25742 file.
f7062b9a 25743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25745 file.
f7062b9a 25746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25748 file.
f7062b9a
DM
25749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25751 fmin/fmax sysdep routines.
25752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25753
7bd951ff
DM
257542012-03-14 David S. Miller <davem@davemloft.net>
25755
559398ab
DM
25756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25785 routines.
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25787 file.
559398ab 25788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25790 file.
559398ab 25791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25793 file.
559398ab 25794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25796 file.
559398ab 25797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25799 file.
559398ab 25800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25802 file.
25803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25804 file.
25805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25806 file.
25807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25808 file.
25809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25810 New file.
25811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25812 file.
25813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25814 file.
559398ab 25815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25817 file.
559398ab 25818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25820 file.
559398ab 25821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25823 file.
559398ab 25824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25826 VIS3 routines.
559398ab
DM
25827
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25829 New file.
25830
5a1c1e32
DM
25831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25832
eae47a36
DM
25833 * sysdeps/sparc/configure.in: New file.
25834 * sysdeps/sparc/configure: Generate.
25835 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25836 * configure: Regenerate.
25837 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25838 * config.make.in (have-as-vis3): New.
25839 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25840 available use -Av9d instead of -Av9a.
25841 * sysdeps/sparc/sparc64/Makefile: Likewise.
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25844 New file.
25845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25846 file.
25847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25848 New file.
25849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25850 file.
eae47a36
DM
25851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25856
c0c83bc8
DM
25857 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25858 fzeros/fnegs to load 0x80000000 into a float register instead of
25859 using the stack.
7bd951ff
DM
25860 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25861
bd951ccb
JM
258622012-03-14 Joseph Myers <joseph@codesourcery.com>
25863
25864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25865 bits/syscall.h.
25866 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25867 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25868 ($(inst_includedir)/bits/syscall.h): Remove rule.
25869 ($(objpfx)bits/syscall.d): Include instead of
25870 $(objpfx)syscall-list.d.
25871 (generated): Change syscall-list.h and syscall-list.d to
25872 bits/syscall.h and bits/syscall.d.
25873
bb4e6db2
RM
258742012-03-14 Roland McGrath <roland@hack.frob.com>
25875
25876 [BZ #13846]
25877 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25878
aa4a2ae1
JM
258792012-03-14 Joseph Myers <joseph@codesourcery.com>
25880
e456826d
JM
25881 [BZ #13841]
25882 * math/s_csqrt.c: Include <float.h>.
25883 (__csqrt): Scale large or subnormal inputs.
25884 * math/s_csqrtf.c: Likewise.
25885 * math/s_csqrtl.c: Likewise.
25886 * math/libm-test.inc (csqrt_test): Add more tests.
25887 * sysdeps/i386/fpu/libm-test-ulps: Update.
25888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25889
aa4a2ae1
JM
25890 [BZ #13840]
25891 * math/libm-test.inc (hypot_test): Add more tests.
25892
7c10fd35
DM
258932012-03-13 David S. Miller <davem@davemloft.net>
25894
25895 [BZ #13840]
25896 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25897 double-precision for the calculation instead of scaling.
25898
f453b98b
JM
258992012-03-13 Joseph Myers <joseph@codesourcery.com>
25900
25901 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25902 manipulate bits before adding and subtracting TWO52[sx].
25903 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25905 Likewise.
25906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25907
09a3453f
DM
259082012-03-13 David S. Miller <davem@davemloft.net>
25909
8e59da90
DM
25910 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25911 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25913 rtld-global-offsets.h
25914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25915
2a8ab7f2
DM
25916 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25917 large parameters.
25918
10f62770
DM
25919 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25920
5f0bdb18
DM
25921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25922 'err' in the ifdef scope in which it is actually used.
25923
09a3453f
DM
25924 * nss/nss_db/db-init.c: Include string.h
25925
b4b2eb5e
DM
259262012-03-12 David S. Miller <davem@davemloft.net>
25927
98bb2f1c
DM
25928 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25929 masking out of the most significant byte of random value used.
25930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25931 Fix coding style in previous change.
25932
b4b2eb5e
DM
25933 * sysdeps/unix/sysv/linux/kernel-features.h
25934 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25935 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25936 expression.
25937 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25938 later.
25939
6e226b09
DM
259402012-03-11 David S. Miller <davem@davemloft.net>
25941
a1bcbd40
DM
25942 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25943 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25945 for 'resultvar' otherwise things get truncated on 64-bit.
25946
cb9d6174
DM
25947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25948 Fix masking out of the most significant byte of random value used.
25949
6e226b09
DM
25950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25951
058c132d
AS
259522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25953
25954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25955
2d2cd515
DM
259562012-03-09 David S. Miller <davem@davemloft.net>
25957
25958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25959 variables with appropriate CPP guards.
25960 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25961 frame pointer, not the stack pointer. Correct layout comments. Fix test
25962 on resulting framesize and the management of the outregs buffer for pltexit.
25963 Preserve floating point return values across _dl_call_pltexit call.
25964 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25965 framesize and the management of the outregs buffer for pltexit.
25966 Preserve floating point return values across _dl_call_pltexit
25967 call.
25968 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25969 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25970 (print_exit): Fix format string for return register value.
25971
9a07f9d0
JM
259722012-03-10 Joseph Myers <joseph@codesourcery.com>
25973
25974 * sunrpc/Makefile (others): Add rpcgen.
25975 ($(objpfx)rpcgen): Remove special build rule and dependency on
25976 libc.
25977 * sunrpc/rpcgen.c: New file.
25978
547b5e30
PE
259792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25980
c524201a
PE
25981 [BZ #13673]
25982 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25983 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25984 * sysdeps/i386/crti.S: Likewise.
25985 * sysdeps/i386/crtn.S: Likewise.
25986 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25987 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25988 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25989 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25990 * sysdeps/sh/crti.S: Likewise.
25991 * sysdeps/sh/crtn.S: Likewise.
25992 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25993
7b6235f2
PE
25994 [BZ #13673]
25995 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25996 with URL.
25997 * locale/programs/locfile-kw.gperf: Likewise.
25998 * locale/programs/charmap-kw.h: Regenerated.
25999 * locale/programs/locfile-kw.h: Likewise.
26000
547b5e30
PE
26001 [BZ #13673]
26002 * intl/plural.y: Replace FSF snail mail address with URL.
26003 * intl/plural.c: Regenerated.
26004
5f0a5dae
RH
260052012-03-09 Richard Henderson <rth@twiddle.net>
26006
26007 * include/math_private.h: Remove file.
26008 * math/math_private.h: Move file ...
26009 * sysdeps/generic/math_private.h: ... here.
26010
b8c03620
RH
26011 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26012 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26013 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26014
4e234f5d 26015 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26016 and <math_private.h>.
26017 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26018 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26019 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26020 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26021 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26023 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26025 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26026 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26029 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26031 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26032 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26034 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26035 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26036 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26038 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26039 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26041 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26052 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26053 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26054 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26055 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26105 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26108 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26110 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26111 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26112 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26113 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26114 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26116 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26117 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26118 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26119 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26120 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26121 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26122 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26123 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26124 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26125 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26126 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26127 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26128 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26129 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26130 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26131 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26136 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26137 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26138 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26139 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26140 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26141 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26142 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26144 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26145 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26146 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26147 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26148 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26149 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26150 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26151 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26155 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26156 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26157 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26159 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26160 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26162 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26164 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26166 * sysdeps/ieee754/k_standard.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26282 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26286 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26289 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26294 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26299 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26316 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26327 * sysdeps/ieee754/s_lib_version.c: Likewise.
26328 * sysdeps/ieee754/s_matherr.c: Likewise.
26329 * sysdeps/ieee754/s_signgam.c: Likewise.
26330 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26331 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26332 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26333 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26334 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26335 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26336 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26337 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26338 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26339 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26340 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26341 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26342 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26343 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26344 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26345 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26348 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26350 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26351
1991fa03
JM
263522012-03-09 Joseph Myers <joseph@codesourcery.com>
26353
26354 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26355 * sunrpc/rpc_main.c: Likewise.
26356 * sunrpc/rpc_svcout.c: Likewise.
26357
60d6f5a6
DM
263582012-03-09 David S. Miller <davem@davemloft.net>
26359
26360 * include/math_private.h: New file.
26361
4962050e
JM
263622012-03-09 Joseph Myers <joseph@codesourcery.com>
26363
02a6f887
JM
26364 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26365 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26366 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26367 from <bits/socket_type.h>.
26368 (enum __socket_type): Don't define here.
26369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26371 bits/socket_type.h.
26372
c6e013c1
JM
26373 [BZ #13566]
26374 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26375 checking __USE_GNU.
26376
4962050e
JM
26377 * Makerules ($(inst_includedir)/%.h): New rule.
26378 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26379 (install-others): Remove variable setting.
26380 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26381
38842f45
RH
263822012-03-08 Richard Henderson <rth@twiddle.net>
26383
67bb6da6
RH
26384 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26385 from macro to inline function; merge with the
26386 !__LIBC_INTERNAL_MATH_INLINES version.
26387 (__ieee754_sqrtf): Likewise.
26388
15194b4b
RH
26389 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26390 to inline function.
26391 (__rintf, __floor, __floorf): Likewise.
26392
64e21ede
RH
26393 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26394 macro to inline function.
26395 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26396
38842f45
RH
26397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26398 not <math/math_private.h>.
26399
c64bf5fe
DM
264002012-03-08 David S. Miller <davem@davemloft.net>
26401
26402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26403 copyright year.
26404 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26405
82d86f28
TS
264062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26407
26408 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26409 normalization.
26410 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26411 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26412
aea5d727
UD
264132012-03-08 Ulrich Drepper <drepper@gmail.com>
26414
26415 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26416 be defined individually, they must be defined as a block. Define
26417 S for printing a string instead of hidint the different by using a
26418 macro for adding the 'l'.
26419 * stdio-common/tst-fphex-wide.c: Adjust.
26420
70bca0a3
MP
264212012-03-07 Marek Polacek <polacek@redhat.com>
26422
26423 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26424
65b81130
MP
264252012-03-08 Marek Polacek <polacek@redhat.com>
26426
26427 [BZ #13806]
26428 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26429 * stdio-common/tst-fphex.c: Define a few macros to make the
26430 test reusable. Use them.
26431 * stdio-common/tst-fphex-wide.c: New file.
26432
07037eeb
JM
264332012-03-08 Joseph Myers <joseph@codesourcery.com>
26434
a7a93d50
JM
26435 [BZ #6911]
26436 * manual/macros.texi (gnusystems): New macro.
26437 (nongnusystems): Likewise.
26438 (gnulinuxhurdsystems): Likewise.
26439 (gnuhurdsystems): Likewise..
26440 (gnulinuxsystems): Likewise.
26441 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26442 variants of the GNU system, not "GNU system".
26443 * manual/conf.texi: Likewise.
26444 * manual/errno.texi: Likewise. Update example of errno macro
26445 expansion.
26446 * manual/filesys.texi: Likewise.
26447 (getumask): Document as specific to GNU/Hurd.
26448 * manual/install.texi: Likewise. Reword some references to
26449 GNU/Linux.
26450 * manual/intro.texi: Likewise.
26451 * manual/io.texi: Likewise.
26452 (File Name Portability): Detail which constraints are inapplicable
26453 to all GNU systems and which are only inapplicable to GNU/Hurd.
26454 * manual/job.texi: Likewise.
26455 * manual/llio.texi: Likewise.
26456 (O_NOCTTY): Document as present on GNU/Linux.
26457 * manual/maint.texi: Likewise.
26458 * manual/memory.texi: Likewise.
26459 * manual/pattern.texi: Likewise.
26460 * manual/pipe.texi: Likewise.
26461 * manual/process.texi: Likewise.
26462 * manual/resource.texi: Likewise.
26463 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26464 child on GNU/Hurd.
26465 * manual/setjmp.texi: Likewise.
26466 * manual/signal.texi: Likewise.
26467 * manual/startup.texi: Likewise.
26468 * manual/stdio.texi: Likewise.
26469 * manual/terminal.texi: Likewise.
26470 (ONLCR): Document as POSIX.
26471 (OXTABS): Document availability on GNU/Linux as XTABS.
26472 (ONOEOT): Document availability separately from other bits.
26473 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26474 * manual/time.texi: Likewise.
26475 * manual/users.texi: Likewise.
26476 * INSTALL: Regenerated.
26477 * sysdeps/gnu/errlist.c: Regenerated.
26478
07037eeb
JM
26479 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26480 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26481 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26482 puts.
26483 * configure: Regenerated.
26484
d1d3431a
JM
264852012-03-07 Joseph Myers <joseph@codesourcery.com>
26486
af6a1e37
JM
26487 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26488 default includes instead of AC_HEADER_CHECK.
26489 * sysdeps/i386/configure: Regenerated.
26490
d1d3431a
JM
26491 [BZ #10716]
26492 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26493 * math/s_cacoshf.c (__cacoshf): Likewise.
26494 * math/s_cacoshl.c (__cacoshl): Likewise.
26495 * math/s_casinh.c (__casinh): Set signs of result from argument.
26496 * math/s_casinhf.c (__casinhf): Likewise.
26497 * math/s_casinhl.c (__casinhl): Likewise.
26498 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26499 (casinh_test): Add more tests.
26500 * sysdeps/i386/fpu/libm-test-ulps: Update.
26501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26502
482ff4da
UD
265032012-03-07 Ulrich Drepper <drepper@gmail.com>
26504
872fda05
UD
26505 * po/zh_TW.po: Update from translation team.
26506
a4300c7a
UD
26507 * login/Makefile (distribute): Remove variable.
26508 * catgets/Makefile: Likewise.
26509 * mach/Makefile: Likewise.
26510 * malloc/Makefile: Likewise.
26511 * misc/Makefile: Likewise.
26512 * iconv/Makefile: Likewise.
26513 * nscd/Makefile: Likewise.
26514 * hurd/Makefile: Likewise.
26515 * manual/Makefile: Likewise.
26516 * locale/Makefile: Likewise.
26517 * intl/Makefile: Likewise.
26518 * conform/Makefile: Likewise.
26519 * nss/Makefile: Likewise.
26520 * time/Makefile: Likewise.
26521 * soft-fp/Makefile: Likewise.
26522 * dirent/Makefile: Likewise.
26523 * gmon/Makefile: Likewise.
26524 * po/Makefile: Likewise.
26525 * rt/Makefile: Likewise.
26526 * socket/Makefile: Likewise.
26527 * math/Makefile: Likewise.
26528 * signal/Makefile: Likewise.
26529 * debug/Makefile: Likewise.
26530 * elf/Makefile: Likewise.
26531 * timezone/Makefile: Likewise.
26532 * stdlib/Makefile: Likewise.
26533 * iconvdata/Makefile: Likewise.
26534 * sunrpc/Makefile: Likewise.
26535 * io/Makefile: Likewise.
26536 * argp/Makefile: Likewise.
26537 * inet/Makefile: Likewise.
26538 * hesiod/Makefile: Likewise.
26539 * grp/Makefile: Likewise.
26540 * csu/Makefile: Likewise.
26541 * wctype/Makefile: Likewise.
26542 * crypt/Makefile: Likewise.
26543 * libio/Makefile: Likewise.
26544 * string/Makefile: Likewise.
26545 * nis/Makefile: Likewise.
26546 * resolv/Makefile: Likewise.
26547 * stdio-common/Makefile: Likewise.
26548 * wcsmbs/Makefile: Likewise.
26549 * dlfcn/Makefile: Likewise.
26550 * posix/Makefile: Likewise.
26551
3b7c4e74 26552 [BZ #6959]
482ff4da
UD
26553 * timezone/Makefile: Don't install timezone files, just the programs
26554 and scripts.
26555
f72ed77d
UD
265562012-03-06 Ulrich Drepper <drepper@gmail.com>
26557
a000466f
UD
26558 * nss/databases.def: Add missing gshadow entry.
26559
f72ed77d
UD
26560 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26561
a53b7a4e
MP
265622012-03-06 Marek Polacek <polacek@redhat.com>
26563
26564 [BZ #13726]
26565 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26566 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26567 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26568 * stdio-common/tst-long-dbl-fphex.c: New file.
26569
e9258400
DM
265702012-03-06 David S. Miller <davem@davemloft.net>
26571
26572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26573 (set_obp_int): New function.
26574 (get_obp_int): New function.
26575 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26577 Avoid unused variable warnings on 'val' and use builtin_expect.
26578 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26579 __builtin_expect.
e9258400
DM
26580 (INLINE_CLONE_SYSCALL): Likewise.
26581
3bd2c723
DM
265822012-03-05 David S. Miller <davem@davemloft.net>
26583
26584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26585
bbb78d03
AS
265862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26587
884c5db4
AS
26588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26589
bbb78d03
AS
26590 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26591 only for |x| >= 40.
26592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26593
1c9f702a 265942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26595
26596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26597 Replace gettimeofday with __vdso_gettimeofday.
26598
7be16f82
RM
26599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26600 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26601 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26602
26603 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26604 time with __vdso_time.
26605
ed58a00f
JM
266062012-03-05 Joseph Myers <joseph@codesourcery.com>
26607
26608 * manual/lang.texi (size_t): Note types to which size_t may be
26609 equivalent with the GNU C Library, but do not describe when
26610 differences between them are significant.
26611
30ee4ced
AJ
266122012-03-05 Andreas Jaeger <aj@suse.de>
26613
26614 * sysdeps/i386/fpu/libm-test-ulps: Update.
26615
b7cd39e8
JM
266162012-03-05 Joseph Myers <joseph@codesourcery.com>
26617
26618 [BZ #3976]
26619 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26620 (__ieee754_pow): Save and restore rounding mode and use
26621 round-to-nearest for main computations.
26622 * math/libm-test.inc (pow_test_tonearest): New function.
26623 (pow_test_towardzero): Likewise.
26624 (pow_test_downward): Likewise.
26625 (pow_test_upward): Likewise.
26626 (main): Call the new functions.
26627 * sysdeps/i386/fpu/libm-test-ulps: Update.
26628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26629
26630 [BZ #3976]
26631 * math/libm-test.inc (cosh_test_tonearest): New function.
26632 (cosh_test_towardzero): Likewise.
26633 (cosh_test_downward): Likewise.
26634 (cosh_test_upward): Likewise.
26635 (sinh_test_tonearest): Likewise.
26636 (sinh_test_towardzero): Likewise.
26637 (sinh_test_downward): Likewise.
26638 (sinh_test_upward): Likewise.
26639 (main): Call the new functions.
26640 * sysdeps/i386/fpu/libm-test-ulps: Update.
26641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26642
6c6a98c9
TV
266432012-03-05 Tom de Vries <tom@codesourcery.com>
26644
26645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26646 default stack guard is set in last bytes.
26647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26648
21bb2d2e 266492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26650
21bb2d2e 26651 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26652
21bb2d2e
AJ
26653 [BZ #13656]
26654 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26655 possibly allocate from heap instead of stack.
26656 * stdio-common/bug-vfprintf-nargs.c: New file.
26657 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26658
c6922934
AS
266592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26660
26661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26662
bc957d53
MP
266632012-03-03 Marek Polacek <polacek@redhat.com>
26664
26665 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26666 * math/math_private.h: Likewise.
26667 * stdlib/tst-strtod.c: Likewise.
26668 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26669 * sysdeps/x86_64/bits/atomic.h: Likewise.
26670
6358490d
DM
266712012-03-02 David S. Miller <davem@davemloft.net>
26672
26673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26677 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26678 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26679 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26680 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26681
01ae168d
RM
266822012-03-02 Roland McGrath <roland@hack.frob.com>
26683
d9a17c07
RM
26684 [BZ #13792]
26685 * manual/examples/README: New file, says the example source files
26686 can be used under GPL>=2.
26687 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26688 line containing just "*/".
26689 * manual/examples/add.c: Add copyright header (GPL>=2).
26690 * manual/examples/argp-ex1.c: Likewise.
26691 * manual/examples/argp-ex2.c: Likewise.
26692 * manual/examples/argp-ex3.c: Likewise.
26693 * manual/examples/argp-ex4.c: Likewise.
26694 * manual/examples/atexit.c: Likewise.
26695 * manual/examples/db.c: Likewise.
26696 * manual/examples/dir.c: Likewise.
26697 * manual/examples/dir2.c: Likewise.
26698 * manual/examples/execinfo.c: Likewise.
26699 * manual/examples/filecli.c: Likewise.
26700 * manual/examples/filesrv.c: Likewise.
26701 * manual/examples/fmtmsgexpl.c: Likewise.
26702 * manual/examples/genpass.c: Likewise.
26703 * manual/examples/inetcli.c: Likewise.
26704 * manual/examples/inetsrv.c: Likewise.
26705 * manual/examples/isockad.c: Likewise.
26706 * manual/examples/longopt.c: Likewise.
26707 * manual/examples/memopen.c: Likewise.
26708 * manual/examples/memstrm.c: Likewise.
26709 * manual/examples/mkfsock.c: Likewise.
26710 * manual/examples/mkisock.c: Likewise.
26711 * manual/examples/mygetpass.c: Likewise.
26712 * manual/examples/pipe.c: Likewise.
26713 * manual/examples/popen.c: Likewise.
26714 * manual/examples/rprintf.c: Likewise.
26715 * manual/examples/search.c: Likewise.
26716 * manual/examples/select.c: Likewise.
26717 * manual/examples/setjmp.c: Likewise.
26718 * manual/examples/sigh1.c: Likewise.
26719 * manual/examples/sigusr.c: Likewise.
26720 * manual/examples/stpcpy.c: Likewise.
26721 * manual/examples/strdupa.c: Likewise.
26722 * manual/examples/strftim.c: Likewise.
26723 * manual/examples/strncat.c: Likewise.
26724 * manual/examples/subopt.c: Likewise.
26725 * manual/examples/swapcontext.c: Likewise.
26726 * manual/examples/termios.c: Likewise.
26727 * manual/examples/testopt.c: Likewise.
26728 * manual/examples/testpass.c: Likewise.
26729 * manual/examples/timeval_subtract.c: Likewise.
26730
01ae168d
RM
26731 [BZ #13792]
26732 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26733 function to ...
26734 * manual/timeval_subtract.c.texi: ... here, new file.
26735
49efa33d
DM
267362012-03-02 David S. Miller <davem@davemloft.net>
26737
26738 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26739
28afd92d
JM
267402012-03-02 Joseph Myers <joseph@codesourcery.com>
26741
804360ed
JM
26742 [BZ #3976]
26743 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26744 (__sin): Save and restore rounding mode and use round-to-nearest
26745 for all computations.
26746 (__cos): Save and restore rounding mode and use round-to-nearest
26747 for all computations.
26748 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26749 <fenv.h>.
26750 (tan): Save and restore rounding mode and use round-to-nearest for
26751 all computations.
26752 * math/libm-test.inc (cos_test_tonearest): New function.
26753 (cos_test_towardzero): Likewise.
26754 (cos_test_downward): Likewise.
26755 (cos_test_upward): Likewise.
26756 (sin_test_tonearest): Likewise.
26757 (sin_test_towardzero): Likewise.
26758 (sin_test_downward): Likewise.
26759 (sin_test_upward): Likewise.
26760 (tan_test_tonearest): Likewise.
26761 (tan_test_towardzero): Likewise.
26762 (tan_test_downward): Likewise.
26763 (tan_test_upward): Likewise.
26764 (main): Call the new functions.
26765 * sysdeps/i386/fpu/libm-test-ulps: Update.
26766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26767
a6d06d7b
JM
26768 [BZ #10135]
26769 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26770 small n, then large n, before computing and testing k+n.
26771 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26773 Likewise.
26774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26775 Likewise.
26776 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26777 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26778 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26779 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26782 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26783 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26784 * math/libm-test.inc (scalbn_test): Add more tests.
26785 (scalbln_test): Likewise.
26786
07e12bb3
JM
26787 * manual/filesys.texi (mode_t): Describe constraints on size and
26788 signedness, not exact equivalence to a particular type.
26789 (ino_t): Likewise.
26790 (ino64_t): Likewise.
26791 (dev_t): Likewise.
26792 (nlink_t): Likewise.
26793 (blkcnt_t): Likewise.
26794 (blkcnt64_t): Likewise.
26795 * manual/llio.texi (off_t): Likewise.
26796
28afd92d
JM
26797 [BZ #3976]
26798 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26799 (__ieee754_exp): Save and restore rounding mode and use
26800 round-to-nearest for all computations.
26801 * math/libm-test.inc (exp_test_tonearest): New function.
26802 (exp_test_towardzero): Likewise.
26803 (exp_test_downward): Likewise.
26804 (exp_test_upward): Likewise.
26805 (main): Call the new functions.
26806 * sysdeps/i386/fpu/libm-test-ulps: Update.
26807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26808
b1eeb65d
CD
268092012-03-01 Chris Demetriou <cgd@google.com>
26810
26811 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26812 have predictable order.
26813
53362a4b
DM
268142012-03-01 David S. Miller <davem@davemloft.net>
26815
3c969083
DM
26816 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26817
759707de
DM
26818 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26819 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26820 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26821 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26822
dfdb8ff2
DM
26823 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26824 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26825 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26827 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26828 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26829 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26830 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26831 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26832
ead89f96
DM
26833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26834
7f66bd07
DM
26835 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26836 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26837 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26838
53362a4b
DM
26839 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26840 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26841 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26842 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26843 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26846 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26847 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26852 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26855 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26856 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26857 * sysdeps/sparc/elf/configure: Regenerated.
26858
7b1902cb
JM
268592012-03-01 Joseph Myers <joseph@codesourcery.com>
26860
bec039bc
JM
26861 * configure.in (AS, LD): Require binutils 2.20 or later.
26862 * configure: Regenerated.
26863 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26864 as required minimum version.
26865 * INSTALL: Regenerated.
26866
7b1902cb
JM
26867 [BZ #2541]
26868 [BZ #4108]
26869 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26870 before squaring exponent.
26871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26872 bottom long double and 27 bits of top long double before squaring
26873 exponent.
26874 * math/libm-test.inc (erfc_test): Add more tests.
26875 * sysdeps/i386/fpu/libm-test-ulps: Update.
26876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26878
f775c276
KT
268792012-03-01 Kai Tietz <ktietz@redhat.com>
26880
26881 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26882 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26883 containing bit-fields.
26884 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26885 * soft-fp/single.h (_FP_UNION_S): Likewise.
26886 * soft-fp/double.h (_FP_UNION_D): Likewise.
26887
5b8a4d4a
JM
268882012-02-29 Joseph Myers <joseph@codesourcery.com>
26889
0bab47b6
JM
26890 [BZ #13786]
26891 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26892 not include ../strcmp.S.
26893 [USE_AS_STRNCASECMP_L]: Likewise.
26894 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26895 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26896 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26897 (__strncasecmp_l_ia32): Define as alias to
26898 __strncasecmp_l_nonascii.
26899
0fcad3e2
JM
26900 [BZ #5794]
26901 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26902 * sysdeps/i386/fpu/libm-test-ulps: Update.
26903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26904
5b8a4d4a
JM
26905 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26907
8fdceb2e
JL
269082012-02-29 Jeff Law <law@redhat.com>
26909
26910 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26911 out of bounds read.
26912
1f393a11
MP
269132012-02-29 Marek Polacek <polacek@redhat.com>
26914
26915 [BZ #13706]
26916 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26917 * elf/Makefile: Add rules to run tst-unused-dep.out.
26918
8847f037
DM
269192012-02-28 David S. Miller <davem@davemloft.net>
26920
26921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26927
169d7f11
JM
269282012-02-29 Joseph Myers <joseph@codesourcery.com>
26929
26930 * math/libm-test.inc (llround_test): Move one test from
26931 lround_test. Use TEST_f_L in moved test.
26932 (lround_test): Move misplaced test to llround_test. Add testcase
26933 from bug 2561.
26934
39adf059
UD
269352012-02-28 Ulrich Drepper <drepper@gmail.com>
26936
26937 * sysdeps/x86_64/fpu/e_expf.S: New file.
26938 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26939
71b5d1c5
SB
269402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26941
26942 [BZ #13637]
26943 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26944 of remain_len that may cause incomplete multi-byte character and
26945 false match.
26946 * posix/bug-regex33.c: New file.
26947 * posix/Makefile (tests): Add bug-regex33.
26948
1f77f049
JM
269492012-02-28 Joseph Myers <joseph@codesourcery.com>
26950
26951 * manual/macros.texi: New file.
26952 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26953 * manual/libc.texinfo: Include macros.texi.
26954 * manual/creatute.texi: Likewise.
26955 * manual/install.texi: Likewise.
26956 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26957 @glibcadj{} in references to the GNU C Library.
26958 * manual/charset.texi: Likewise.
26959 * manual/conf.texi: Likewise.
26960 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26961 when not using those macros.
26962 * manual/creature.texi: Likewise.
26963 * manual/crypt.texi: Likewise.
26964 * manual/errno.texi: Likewise.
26965 * manual/filesys.texi: Likewise.
26966 * manual/header.texi: Likewise.
26967 * manual/install.texi: Likewise.
26968 * manual/intro.texi: Likewise.
26969 * manual/io.texi: Likewise.
26970 * manual/job.texi: Likewise.
26971 * manual/lang.texi: Likewise.
26972 * manual/libc.texiinfo: Likewise.
26973 * manual/llio.texi: Likewise.
26974 * manual/locale.texi: Likewise.
26975 * manual/maint.texi: Likewise.
26976 * manual/math.texi: Likewise.
26977 * manual/memory.texi: Likewise.
26978 * manual/message.texi: Likewise.
26979 * manual/nss.texi: Likewise.
26980 * manual/pattern.texi: Likewise.
26981 * manual/process.texi: Likewise.
26982 * manual/resource.texi: Likewise.
26983 * manual/search.texi: Likewise.
26984 * manual/setjmp.texi: Likewise.
26985 * manual/signal.texi: Likewise.
26986 * manual/socket.texi: Likewise.
26987 * manual/startup.texi: Likewise.
26988 * manual/stdio.texi: Likewise.
26989 * manual/string.texi: Likewise.
26990 * manual/sysinfo.texi: Likewise.
26991 * manual/syslog.texi: Likewise.
26992 * manual/terminal.texi: Likewise.
26993 * manual/time.texi: Likewise.
26994 * manual/users.texi: Likewise.
26995 * INSTALL: Regenerated.
26996 * NOTES: Regenerated.
d40c5d54 26997 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26998
450bf206
AS
269992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27000
27001 * include/dirent.h: Include <dirstream.h> before
27002 <dirent/dirent.h>.
27003
741a235b
DM
270042012-02-28 David S. Miller <davem@davemloft.net>
27005
27006 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27007 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27008 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27009 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27010
d6b5aa58
DM
270112012-02-27 David S. Miller <davem@davemloft.net>
27012
1aff59a3
DM
27013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27015 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27016 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27017
d6b5aa58
DM
27018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27019 frame pointer instead of stack pointer relative arg slot.
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27023
433f48bf
CD
270242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27025
27026 [BZ #3992]
27027 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27028
d674b76d
DM
270292012-02-27 David S. Miller <davem@davemloft.net>
27030
27031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27037 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27038 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27039
0e7727f7
JM
270402012-02-27 Joseph Myers <joseph@codesourcery.com>
27041
27042 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27043 later. Allow versions 5-9.
43be4ca2 27044 * configure: Regenerated.
0e7727f7
JM
27045 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27046 required minimum version and 4.6 as recommended version. Do not
27047 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27048 * INSTALL: Regenerated.
0e7727f7 27049
a78bc654
DM
270502012-02-27 David S. Miller <davem@davemloft.net>
27051
428d5830
DM
27052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27058 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27059 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27060
a78bc654
DM
27061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27062 manipulate bits before adding and subtracting TWO112[sx].
27063 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27064
4579f81c
RM
270652012-02-27 Roland McGrath <roland@hack.frob.com>
27066
36c8acb4
RM
27067 [BZ #13775]
27068 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27069 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27070 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27071 being in POSIX, because they are in 1003.1-2008.
27072
84ad622b
RM
27073 * rt/tst-aio.c: Include <fcntl.h>.
27074 * rt/tst-aio7.c: Likewise.
27075 * rt/tst-aio64.c: Likewise.
27076
4579f81c
RM
27077 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27078
abd923db
JM
270792012-02-27 Joseph Myers <joseph@codesourcery.com>
27080
27081 * manual/install.texi (--with-headers): Describe headers as
27082 interface headers, not private headers.
27083 (Specific advice for GNU/Linux systems): Describe use of headers
27084 from "make headers_install", not private headers from older
27085 kernels.
43be4ca2 27086 * INSTALL: Regenerated.
abd923db
JM
27087 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27088 Change to 2.6.19.
27089 * sysdeps/unix/sysv/linux/configure: Regenerated.
27090
6664049b
JM
27091 * manual/llio.texi (fclean): Remove documentation.
27092
bb8b6697
JM
27093 * manual/Makefile (libc-texi-generated): New variable. Include
27094 version.texi.
27095 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27096 $(libc-texi-generated), not duplicated list of files.
27097 (version.texi, stamp-version): New rules.
27098 (realclean): Remove $(libc-texi-generated), not individual files
27099 from that list. Do not remove dir-add.texinfo.
27100 * manual/libc.texinfo: Comment out uses of edition numbers and
27101 references to printed manual. Remove last-updated dates.
27102 (EDITION): Comment out.
27103 (ISBN): Likewise.
27104 (VERSION, UPDATED): Remove.
27105 (version.texi): Include.
27106
12e5c3b9
AS
271072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27108
27109 * sysdeps/posix/spawni.c: Include <signal.h>.
27110 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27111 * sysdeps/pthread/aio_fsync.c: Likewise.
27112
4efeffc1 271132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27114
ba63ba08
UD
27115 * conform/Makefile (tests): Run only when not cross-compiling and
27116 when fast-check is not defined.
27117
d94a4670
UD
27118 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27119 * conform/data/limits.h-data: Fixes for POSIX2008.
27120 * conform/run-conformtest.sh: Run all tests.
27121 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27122 headers.
27123 * include/bits/dlfcn.h: Likewise.
27124 * include/langinfo.h: Likewise.
27125 * include/monetary.h: Likewise.
27126 * include/sys/poll.h: Likewise.
27127
27128 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27129 for __USE_GNU.
27130 * posix/spawn.h: Define __need_sigset_t.
27131 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27132 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27133 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27134 to get sigevent_t only.
27135 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27136 only for __USE_GNU.
27137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27138 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27139 process_vm_writev only for __USE_GNU.
27140 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27141
27142 * conform/Makefile: For now ignore errors from run-conformtest.
27143 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27144 POSIX to avoid namespace pollution. Don't prepend headers.
27145 * conform/data/aio.h-data: Fixes for POSIX testing.
27146 * conform/data/fcntl.h-data: Likewise.
27147 * conform/data/glob.h-data: Likewise.
27148 * conform/data/grp.h-data: Likewise.
27149 * conform/data/pthread.h-data: Likewise.
27150 * conform/data/pwd.h-data: Likewise.
27151 * conform/data/signal.h-data: Likewise.
27152 * conform/data/spawn.h-data: Likewise.
27153 * conform/data/stdio.h-data: Likewise.
27154 * conform/data/stdlib.h-data: Likewise.
27155 * conform/data/stropts.h-data: Likewise.
27156 * conform/data/sys/mman.h-data: Likewise.
27157 * conform/data/sys/stat.h-data: Likewise.
27158 * conform/data/sys/types.h-data: Likewise.
27159 * conform/data/sys/wait.h-data: Likewise.
27160 * conform/data/time.h-data: Likewise.
27161 * conform/data/unistd.h-data: Likewise.
27162 * conform/data/utime.h-data: Likewise.
27163
27164 * io/sys/stat.h: fchmod was always in POSIX.
27165 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27166 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27167 * rt/aio.h: Define __need_timespec before including <time.h>.
27168 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27169 struct. Add forward declaration of pthread_attr_t and use it in
27170 sigevent.
27171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27173 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27174 always remove CLK_TCK definition.
27175
c20105c3
AS
271762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27177
27178 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27179
7a270350
UD
271802012-02-25 Ulrich Drepper <drepper@gmail.com>
27181
31341567
UD
27182 * conform/run-conformtest.sh: New file.
27183 * conform/Makefile: Run run-conformtest for tests.
27184 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27185 support.
27186
27187 * conform/data/uchar.h-data: New file.
27188 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27189 * conform/data/arpa/inet.h-data: Likewise.
27190 * conform/data/assert.h-data: Likewise.
27191 * conform/data/complex.h-data: Likewise.
27192 * conform/data/cpio.h-data: Likewise.
27193 * conform/data/ctype.h-data: Likewise.
27194 * conform/data/dirent.h-data: Likewise.
27195 * conform/data/dlfcn.h-data: Likewise.
27196 * conform/data/errno.h-data: Likewise.
27197 * conform/data/fcntl.h-data: Likewise.
27198 * conform/data/float.h-data: Likewise.
27199 * conform/data/fmtmsg.h-data: Likewise.
27200 * conform/data/fnmatch.h-data: Likewise.
27201 * conform/data/ftw.h-data: Likewise.
27202 * conform/data/glob.h-data: Likewise.
27203 * conform/data/grp.h-data: Likewise.
27204 * conform/data/iconv.h-data: Likewise.
27205 * conform/data/inttypes.h-data: Likewise.
27206 * conform/data/langinfo.h-data: Likewise.
27207 * conform/data/libgen.h-data: Likewise.
27208 * conform/data/limits.h-data: Likewise.
27209 * conform/data/locale.h-data: Likewise.
27210 * conform/data/math.h-data: Likewise.
27211 * conform/data/monetary.h-data: Likewise.
27212 * conform/data/mqueue.h-data: Likewise.
27213 * conform/data/ndbm.h-data: Likewise.
27214 * conform/data/net/if.h-data: Likewise.
27215 * conform/data/netdb.h-data: Likewise.
27216 * conform/data/netinet/in.h-data: Likewise.
27217 * conform/data/nl_types.h-data: Likewise.
27218 * conform/data/poll.h-data: Likewise.
27219 * conform/data/pthread.h-data: Likewise.
27220 * conform/data/pwd.h-data: Likewise.
27221 * conform/data/regex.h-data: Likewise.
27222 * conform/data/sched.h-data: Likewise.
27223 * conform/data/search.h-data: Likewise.
27224 * conform/data/semaphore.h-data: Likewise.
27225 * conform/data/setjmp.h-data: Likewise.
27226 * conform/data/signal.h-data: Likewise.
27227 * conform/data/spawn.h-data: Likewise.
27228 * conform/data/stdarg.h-data: Likewise.
27229 * conform/data/stdio.h-data: Likewise.
27230 * conform/data/stdlib.h-data: Likewise.
27231 * conform/data/string.h-data: Likewise.
27232 * conform/data/strings.h-data: Likewise.
27233 * conform/data/stropts.h-data: Likewise.
27234 * conform/data/sys/ipc.h-data: Likewise.
27235 * conform/data/sys/mman.h-data: Likewise.
27236 * conform/data/sys/msg.h-data: Likewise.
27237 * conform/data/sys/resource.h-data: Likewise.
27238 * conform/data/sys/select.h-data: Likewise.
27239 * conform/data/sys/sem.h-data: Likewise.
27240 * conform/data/sys/shm.h-data: Likewise.
27241 * conform/data/sys/socket.h-data: Likewise.
27242 * conform/data/sys/stat.h-data: Likewise.
27243 * conform/data/sys/statvfs.h-data: Likewise.
27244 * conform/data/sys/time.h-data: Likewise.
27245 * conform/data/sys/timeb.h-data: Likewise.
27246 * conform/data/sys/times.h-data: Likewise.
27247 * conform/data/sys/types.h-data: Likewise.
27248 * conform/data/sys/uio.h-data: Likewise.
27249 * conform/data/sys/un.h-data: Likewise.
27250 * conform/data/sys/utsname.h-data: Likewise.
27251 * conform/data/sys/wait.h-data: Likewise.
27252 * conform/data/syslog.h-data: Likewise.
27253 * conform/data/tar.h-data: Likewise.
27254 * conform/data/termios.h-data: Likewise.
27255 * conform/data/utime.h-data: Likewise.
27256 * conform/data/utmpx.h-data: Likewise.
27257 * conform/data/varargs.h-data: Likewise.
27258 * conform/data/wchar.h-data: Likewise.
27259 * conform/data/wctype.h-data: Likewise.
27260 * conform/data/wordexp.h-data: Likewise.
27261
27262 * include/stropts.h: New file.
27263 * include/uchar.h: New file.
27264 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27265 * include/assert.h: Likewise.
27266 * include/ctype.h: Likewise.
27267 * include/dirent.h: Likewise.
27268 * include/dlfcn.h: Likewise.
27269 * include/fcntl.h: Likewise.
27270 * include/fnmatch.h: Likewise.
27271 * include/glob.h: Likewise.
27272 * include/grp.h: Likewise.
27273 * include/libio.h: Likewise.
27274 * include/locale.h: Likewise.
27275 * include/math.h: Likewise.
27276 * include/net/if.h: Likewise.
27277 * include/netdb.h: Likewise.
27278 * include/netinet/in.h: Likewise.
27279 * include/pthread.h: Likewise.
27280 * include/pwd.h: Likewise.
27281 * include/regex.h: Likewise.
27282 * include/sched.h: Likewise.
27283 * include/search.h: Likewise.
27284 * include/setjmp.h: Likewise.
27285 * include/signal.h: Likewise.
27286 * include/stdio.h: Likewise.
27287 * include/stdlib.h: Likewise.
27288 * include/string.h: Likewise.
27289 * include/sys/cdefs.h: Likewise.
27290 * include/sys/mman.h: Likewise.
27291 * include/sys/msg.h: Likewise.
27292 * include/sys/resource.h: Likewise.
27293 * include/sys/select.h: Likewise.
27294 * include/sys/socket.h: Likewise.
27295 * include/sys/stat.h: Likewise.
27296 * include/sys/statvfs.h: Likewise.
27297 * include/sys/time.h: Likewise.
27298 * include/sys/times.h: Likewise.
27299 * include/sys/uio.h: Likewise.
27300 * include/sys/utsname.h: Likewise.
27301 * include/sys/wait.h: Likewise.
27302 * include/termios.h: Likewise.
27303 * include/time.h: Likewise.
27304 * include/ulimit.h: Likewise.
27305 * include/unistd.h: Likewise.
27306 * include/utime.h: Likewise.
27307 * include/wchar.h: Likewise.
27308 * include/wctype.h: Likewise.
27309 * include/wordexp.h: Likewise.
27310
27311 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27312
7a270350
UD
27313 * time/time.h: TIME_UTC must be a macro.
27314 Make timespec_get available for ISO C11 only as well.
27315
7724defc
UD
273162012-02-24 Ulrich Drepper <drepper@gmail.com>
27317
27318 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27319 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27320
6b1d1d46
JM
273212012-02-24 Joseph Myers <joseph@codesourcery.com>
27322
27323 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27324
0f8bbd69
JM
273252012-02-24 Joseph Myers <joseph@codesourcery.com>
27326
27327 * manual/texinfo.tex: Update to version 2012-01-19.16.
27328
66ab80bc
JM
273292012-02-24 Joseph Myers <joseph@codesourcery.com>
27330
27331 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27332
74981cc5
RM
273332012-02-24 Roland McGrath <roland@hack.frob.com>
27334
ee968201
RM
27335 [BZ #13738]
27336 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27337 * manual/fdl-1.3.texi: New file.
27338 * manual/fdl-1.1.texi: File removed.
27339
74981cc5
RM
27340 [BZ #13738]
27341 * manual/libc.texinfo (FDL_VERSION): New @set.
27342 Use it for mention of FDL in cover text.
27343 (Documentation License): Use it in @include file name.
27344
7bb764bc
JM
273452012-02-22 Joseph Myers <joseph@codesourcery.com>
27346 Roland McGrath <roland@hack.frob.com>
27347
27348 [BZ #5461]
27349 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27350 not LONG_LONG_MAX and LONG_LONG_MIN.
27351 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27352 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27353 name.
27354 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27355
6cbeae47
JM
273562012-02-22 Joseph Myers <joseph@codesourcery.com>
27357
27358 [BZ #2547]
27359 [BZ #11365]
27360 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27361 manipulate bits before adding and subtracting TWO23[sx].
27362 * math/libm-test.inc (nearbyint_test): Add more tests.
27363
fe45ce09
JM
273642012-02-22 Joseph Myers <joseph@codesourcery.com>
27365
27366 [BZ #2548]
27367 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27368 bits before adding and subtracting TWO23[sx].
27369 * math/libm-test.inc (rint_test): Add more tests.
27370 (rint_test_tonearest): Likewise.
27371 (rint_test_towardzero): Likewise.
27372 (rint_test_downward): Likewise.
27373 (rint_test_upward: Likewise.
27374
ff3b3d82
JM
273752012-02-22 Joseph Myers <joseph@codesourcery.com>
27376
27377 [BZ #10110]
27378 * include/stdc-predef.h: New file. Extracted from features.h.
27379 * include/features.h: Include stdc-predef.h.
27380 * Makefile (headers): Add stdc-predef.h.
27381 * CONFORMANCE (Compiler limitations): Update.
27382
ef0aab35
JM
273832012-02-22 Joseph Myers <joseph@codesourcery.com>
27384
27385 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27386
58639409
DM
273872012-02-21 David S. Miller <davem@davemloft.net>
27388
27389 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27390 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27391
c0e70b25
DM
273922012-02-20 David S. Miller <davem@davemloft.net>
27393
27394 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27395 using a normal save/restore sequence, rather than allocating a
27396 dummy stack frame just to store a frame pointer and restore.
27397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27398
fb06851d
JM
273992012-02-21 Joseph Myers <joseph@codesourcery.com>
27400
27401 * manual/install.texi: Fix stray word in line-wrapped comment.
27402
7a8b71c3
DM
274032012-02-20 David S. Miller <davem@davemloft.net>
27404
d510c123
DM
27405 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27406 both binutils and gcc support GOTDATA.
27407
0722d7c2
DM
27408 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27409 "rd %pc" in the PIC register setup sequences.
27410
3d2b3019
DM
27411 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27412 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27413 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27414 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27417 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27420 (SYSCALL_ERROR_HANDLER): Likewise.
27421 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27424 (SYSCALL_ERROR_HANDLER): Likewise.
27425
c80098a9
DM
27426 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27427 (HAVE_GCC_GOTDATA): New.
27428 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27429 relocation support in both binutils and gcc.
27430 * sysdeps/sparc/elf/configure: Regenerate.
27431
3a2545a0
DM
27432 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27433 * sysdeps/sparc/sparc32/elf/configure: Delete.
27434 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27435 * sysdeps/sparc/sparc64/elf/configure: Delete.
27436 * sysdeps/sparc/elf/configure.in: New file.
27437 * sysdeps/sparc/elf/configure: Generate.
27438
7a8b71c3
DM
27439 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27440 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27441 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27442 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27443 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27444
f1e86fca
JM
274452012-02-21 Joseph Myers <joseph@codesourcery.com>
27446
27447 * manual/install.texi: Do not mention specific glibc version
27448 numbers.
27449 * manual/libc.texinfo (VERSION, UPDATED): Update.
27450 (@copying): Use @copyright{} and range of years.
27451
0e7dfaef
JM
274522012-02-21 Joseph Myers <joseph@codesourcery.com>
27453
27454 [BZ #13695]
27455 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27456 [crti.S not in sysdirs] (generated): Do not append.
27457 [crti.S not in sysdirs] (omit-deps): Likewise.
27458 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27459 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27460 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27461 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27462 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27463 Likewise.
27464 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27465 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27466 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27467 * csu/defs.awk: Remove file.
27468 * sysdeps/generic/initfini.c: Likewise.
27469 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27470 variable.
27471 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27472 Likewise.
27473
599af3ca
JM
274742012-02-20 Joseph Myers <joseph@codesourcery.com>
27475
27476 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27477 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27478 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27481 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27482 <bits/epoll.h>.
27483 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27484 (__EPOLL_PACKED): Define to empty if not defined by
27485 <bits/epoll.h>.
27486 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27488 bits/epoll.h.
27489
0e499750
JM
274902012-02-20 Joseph Myers <joseph@codesourcery.com>
27491
27492 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27493 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27494 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27495 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27496 <bits/timerfd.h>.
27497 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27499 bits/timerfd.h.
27500
5ad91f6e
JM
275012012-02-20 Joseph Myers <joseph@codesourcery.com>
27502
27503 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27504 in C locale.
27505 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27506 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27509
06b99b02
AJ
275102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27511
27512 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27513 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27514
7638c0fd
AS
275152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27516
27517 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27518 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27519 defined.
27520 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27521 Likewise.
27522 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27523 entry for 2.16.
27524
92221550
AJ
275252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27526
27527 * math/w_acos.c: Use non-signaling floating-point comparisons.
27528 * math/w_acosf.c: Likewise.
27529 * math/w_acosh.c: Likewise.
27530 * math/w_acoshf.c: Likewise.
27531 * math/w_acoshl.c: Likewise.
27532 * math/w_acosl.c: Likewise.
27533 * math/w_asin.c: Likewise.
27534 * math/w_asinf.c: Likewise.
27535 * math/w_asinl.c: Likewise.
27536 * math/w_atanh.c: Likewise.
27537 * math/w_atanhf.c: Likewise.
27538 * math/w_atanhl.c: Likewise.
27539 * math/w_exp2.c: Likewise.
27540 * math/w_exp2f.c: Likewise.
27541 * math/w_exp2l.c: Likewise.
27542 * math/w_j0.c: Likewise.
27543 * math/w_j0f.c: Likewise.
27544 * math/w_j0l.c: Likewise.
27545 * math/w_j1.c: Likewise.
27546 * math/w_j1f.c: Likewise.
27547 * math/w_j1l.c: Likewise.
27548 * math/w_jn.c: Likewise.
27549 * math/w_jnf.c: Likewise.
27550 * math/w_log.c: Likewise.
27551 * math/w_log10.c: Likewise.
27552 * math/w_log10f.c: Likewise.
27553 * math/w_log10l.c: Likewise.
27554 * math/w_log2.c: Likewise.
27555 * math/w_log2f.c: Likewise.
27556 * math/w_log2l.c: Likewise.
27557 * math/w_logf.c: Likewise.
27558 * math/w_logl.c: Likewise.
27559 * math/w_sqrt.c: Likewise.
27560 * math/w_sqrtf.c: Likewise.
27561 * math/w_sqrtl.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27564 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27565 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27566 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27567
ebaf36eb
JM
275682012-02-19 Joseph Myers <joseph@codesourcery.com>
27569
27570 [BZ #9739]
27571 * manual/string.texi (strnlen): Use correct parameter name in
27572 equivalent expression.
27573
71c254a6
JM
275742012-02-19 Joseph Myers <joseph@codesourcery.com>
27575
27576 [BZ #11174]
27577 * manual/users.texi (seteuid): Consistently use neweuid for
27578 argument name.
27579
16d2c631
JM
275802012-02-19 Joseph Myers <joseph@codesourcery.com>
27581
27582 [BZ #13704]
27583 * manual/nss.texi (Services in the NSS configuration): Correct
27584 list of services in example configuration file.
27585
cd837b09
NB
275862012-02-19 Nick Bowler <nbowler@draconx.ca>
27587
27588 [BZ #11322]
27589 * manual/arith.texi: Remove statements about negative zero
27590 behaving identically to zero.
27591
02c4bbad
JM
275922012-02-18 Joseph Myers <joseph@codesourcery.com>
27593
27594 [BZ #5993]
27595 * manual/install.texi: Do not document upgrading from libc5.
27596
366842e7
JM
275972012-02-18 Joseph Myers <joseph@codesourcery.com>
27598
27599 [BZ #4596]
27600 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27601
dd54084d
DM
276022012-02-18 David S. Miller <davem@davemloft.net>
27603
27604 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27605 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27606 %o7 across the call.
27607 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27608 instead.
27609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27610 SETUP_PIC_REG_LEAF.
27611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27612 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27613 * sysdeps/sparc/crtn.S: Likewise.
27614
2bcc53a3
UD
276152012-02-17 Ulrich Drepper <drepper@gmail.com>
27616
27617 * aout/Makefile: Remove.
27618
09c093b5
RK
276192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27620
27621 [BZ #13058]
27622 * manual/examples/argp-ex1.c (main): Format definition in GNU
27623 style.
27624 * manual/examples/argp-ex2.c (main): Likewise.
27625 * manual/examples/argp-ex3.c (main): Likewise.
27626 * manual/examples/argp-ex4.c (main): Likewise.
27627 * manual/examples/longopt.c (main): Use new-style prototype
27628 definition.
27629 * manual/examples/strncat.c (main): Specify return type and use
27630 (void) for arguments.
27631 * manual/examples/subopt.c (main): Use char **argv argument.
27632
2ee633a2
JM
276332012-02-17 Joseph Myers <joseph@codesourcery.com>
27634
27635 [BZ #5077]
27636 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27637 rounding modes.
27638
0520adde
FB
276392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27640
27641 [BZ #6907]
27642 * manual/string.texi (strchr): Change when strchrnul is
27643 recommended.
27644
3f4081cd
DGM
276452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27646
27647 [BZ #174]
27648 * manual/locale.texi (setlocale): Document LOCPATH.
27649
d1b10e78
JM
276502012-02-17 Joseph Myers <joseph@codesourcery.com>
27651
27652 [BZ #10210]
27653 * manual/process.texi (execle): Move @dots{} before last argument.
27654
79c6869c
PB
276552012-02-17 Paul Bolle <pebolle@tiscali.nl>
27656
27657 [BZ #12047]
27658 * manual/charset.texi (Generic Charset Conversion): Fix typo
27659 (LC_TYPE -> LC_CTYPE).
27660
cc6e48bc
NB
276612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27662
27663 [BZ #5805]
27664 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27665 (scalbnf): Likewise.
27666 (scalbnl): Likewise.
27667 (scalbln): Likewise.
27668 (scalblnf): Likewise.
27669 (scalblnl): Likewise.
27670 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27671 (vwarnx): Likewise.
27672 (verr): Likewise.
27673 (verrx): Likewise.
27674 * manual/filesys.texi (telldir): Use braces around return type.
27675 * manual/llio.texi (mmap): Add space after comma.
27676 (mmap64): Likewise.
27677 * manual/math.texi (jn): Use @var{} on parameter names.
27678 (jnf): Likewise.
27679 (jnl): Likewise.
27680 (yn): Likewise.
27681 (ynf): Likewise.
27682 (ynl): Likewise.
27683 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27684 line.
27685 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27686 "...".
27687 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27688 (sched_get_priority_max): Likewise.
27689 * manual/signal.texi (sigvec): Add space after comma.
27690 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27691 names.
27692 (if_indextoname): Likewise.
27693 (if_freenameindex): Likewise.
27694 (sendto): Use ',' instead of '.' in prototype.
27695 * manual/startup.texi (syscall): Use @dots{} instead of literal
27696 "...".
27697 * manual/stdio.texi (__fpending): Separate initial words of
27698 paragraph from @deftypefun line.
27699 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27700 "...".
27701 (vsyslog): Use @var{} on parameter names.
27702 * manual/terminal.texi (stty): Use @var{} on parameter names.
27703 * manual/users.texi (getutmp): Use @var{} on parameter names.
27704 (getutmpx): Likewise.
27705
5b23062f
JM
277062012-02-17 Joseph Myers <joseph@codesourcery.com>
27707
27708 [BZ #6884]
27709 * manual/stdio.texi (fopen): Fix typos in description of
27710 ",ccs=STRING".
27711
8dee4833
AJ
277122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27713
27714 [BZ #4026]
27715 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27716 get clock_id definition.
27717
9078ce93
TS
277182012-02-17 Thomas Schwinge <thomas@schwinge.name>
27719
27720 [BZ #4822]
27721 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27722 (madvise): Cast every argument to void on its own.
27723
3835c55f
JM
277242012-02-17 Joseph Myers <joseph@codesourcery.com>
27725
27726 [BZ #9902]
27727 * manual/startup.texi (Exit Status): Fix typo.
27728
35c47e37
JM
277292012-02-17 Joseph Myers <joseph@codesourcery.com>
27730
27731 [BZ #10140]
27732 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27733 * manual/examples/argp-ex2.c: Likewise.
27734 * manual/examples/argp-ex3.c: Likewise.
27735
e3b69ca7
RH
277362012-02-16 Richard Henderson <rth@redhat.com>
27737
27738 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27739 * sysdeps/s390/s390-32/initfini.c: Remove.
27740 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27741 * sysdeps/s390/s390-64/initfini.c: Remove.
27742
df83af67
KK
277432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27744
27745 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27746 compiler output for sysdeps/generic/initfini.c.
27747 * sysdeps/sh/elf/initfini.c: Remove file.
27748
f63f3380
DM
277492012-02-16 David S. Miller <davem@davemloft.net>
27750
fb59b3a4
DM
27751 [BZ #11494]
27752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27753
f63f3380
DM
27754 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27755 * sysdeps/sparc/crti.S: New file.
27756 * sysdeps/sparc/crtn.S: New file.
27757 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27758 * sysdeps/sparc/sparc64/Makefile: Likewise.
27759
df6a4a4a
MF
277602012-02-15 Mike Frysinger <vapier@gentoo.org>
27761
6dd8f3dc 27762 [BZ #3335]
df6a4a4a
MF
27763 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27764
1cac7236
RM
277652012-02-15 Roland McGrath <roland@hack.frob.com>
27766
d2c736f8
RM
27767 [BZ #4822]
27768 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27769
1cac7236
RM
27770 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27771 (write, read, close): Likewise.
27772 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27773
8e475601
JM
277742012-02-15 Joseph Myers <joseph@codesourcery.com>
27775
27776 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27777 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27778 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27779 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27780 <bits/signalfd.h>.
27781 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27783 bits/signalfd.h.
27784
ed656b40
MP
277852012-02-14 Marek Polacek <polacek@redhat.com>
27786
27787 * sysdeps/x86_64/crti.S: New file.
27788 * sysdeps/x86_64/crtn.S: New file.
27789 * sysdeps/x86_64/elf/initfini.c: Remove file.
27790
2a979d3a
JM
277912012-02-13 Joseph Myers <joseph@codesourcery.com>
27792
27793 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27794 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27795 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27796 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27797 <bits/inotify.h>.
27798 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27800 bits/inotify.h.
27801
2a418ac3
JM
278022012-02-13 Joseph Myers <joseph@codesourcery.com>
27803
27804 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27805 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27806 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27807 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27808 <bits/eventfd.h>.
27809 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27811 bits/eventfd.h.
27812
fb779be7
TS
278132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27814
e19e83c5
RM
27815 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27816 __feraiseexcept instead of feraiseexcept.
7c35ffed 27817
fb779be7
TS
27818 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27819 nanosleep invocations.
27820 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27821 strings, and add error checking for a nanosleep invocations.
27822
59ba27a6
PE
278232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27824
27825 Replace FSF snail mail address with URLs, as per GNU coding standards.
27826 Most of the snail mail addresses were wrong anyway, and omitting
27827 them makes the source code easier to maintain. Almost all of the
27828 changes are to license notices and to locale LC_IDENTIFICATION
27829 addresses, except for this one:
27830 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27831 not its snail mail address.
27832
57b957eb
RH
278332012-02-09 Richard Henderson <rth@twiddle.net>
27834
af850b1c
RH
27835 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27836 of kernel-features.h.
27837
57b957eb
RH
27838 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27839
6b73181a
MP
278402012-02-08 Marek Polacek <polacek@redhat.com>
27841
27842 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27843 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27844 * sysdeps/gnu/_G_config.h: Likewise.
27845 * sysdeps/generic/_G_config.h: Likewise.
27846
26ecc33a
AS
278472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27848
6c6dbc63
AS
27849 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27850 tests.
27851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27852
e216c012
AS
27853 * sysdeps/powerpc/powerpc32/crti.S: New file.
27854 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27855 * sysdeps/powerpc/powerpc64/crti.S: New file.
27856 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27857
26ecc33a
AS
27858 * Makeconfig (have-initfini): Don't set.
27859 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27860 * configure.in (nopic_initfini): Don't substitute.
27861 * config.h.in (HAVE_INITFINI): Don't #undef.
27862 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27863 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27864
3add8e13
JM
278652012-02-08 Joseph Myers <joseph@codesourcery.com>
27866
27867 Support crti.S and crtn.S provided directly by architectures.
27868 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27869 [crti.S in sysdirs] (omit-deps): Likewise.
27870 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27871 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27872 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27873 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27874 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27875 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27876 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27877 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27878 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27879 compiler output for sysdeps/generic/initfini.c.
27880 * sysdeps/i386/elf/Makefile: Remove file.
27881 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27882
a22f12b4
MP
278832012-02-07 Marek Polacek <polacek@redhat.com>
27884
27885 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27886 * sysdeps/gnu/_G_config.h: Likewise.
27887 * sysdeps/mach/hurd/_G_config.h: Likewise.
27888
148cf100
MP
278892012-02-07 Marek Polacek <polacek@redhat.com>
27890
27891 * math/Makefile (tests): Add tst-CMPLX2.
27892 * math/tst-CMPLX2.c: New file.
27893
cfdc0dd7
AS
278942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27895
84ba42c4
AS
27896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27897
cfdc0dd7
AS
27898 * math/libm-test.inc (jn_test): Add missing L suffix.
27899
622c86f4
MP
279002012-02-06 Marek Polacek <polacek@redhat.com>
27901
27902 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27903 * sysdeps/i386/fpu/e_powf.S: Likewise.
27904 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27905 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27906 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27907 * sysdeps/i386/fpu/e_pow.S: Likewise.
27908 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27909 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27910 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27911 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27912 * sysdeps/i386/fpu/e_log2.S: Likewise.
27913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27914 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27915 * sysdeps/i386/fpu/e_powl.S: Likewise.
27916 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27917 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27918 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27919 * sysdeps/i386/fpu/e_logl.S: Likewise.
27920 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27921 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27922 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27923 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27926 * sysdeps/i386/fpu/e_log.S: Likewise.
27927 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27928 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27929 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27930 * sysdeps/i386/fpu/e_logf.S: Likewise.
27931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27932 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27933 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27934 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27935 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27936 * sysdeps/i386/fpu/e_log10.S: Likewise.
27937 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27939 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27940 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27942 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27943 * sysdeps/i386/asm-syntax.h: Likewise.
27944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27945 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27947 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27948 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27949 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27950 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27951 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27952 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27953 * sysdeps/powerpc/sysdep.h: Likewise.
27954 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27955 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27956
d4a54ac6
JM
279572012-02-06 Joseph Myers <joseph@codesourcery.com>
27958
27959 [BZ #411]
27960 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27961
314054ea
JM
279622012-02-06 Joseph Myers <joseph@codesourcery.com>
27963
27964 * sysdeps/i386/sysdep.h: Include <features.h>.
27965 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27966 version.
27967
d8e0ca50
JM
279682012-02-05 Joseph Myers <joseph@codesourcery.com>
27969
27970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27971 Define.
27972 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27973 LOAD_PIC_REG_STR.
27974
b1da7dd9
JM
279752012-02-03 Joseph Myers <joseph@codesourcery.com>
27976
27977 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27978 (SETUP_PIC_REG): Use GET_PC_THUNK.
27979 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27980 macro.
27981
9a1d9254
JM
279822012-02-03 Joseph Myers <joseph@codesourcery.com>
27983
27984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27985 for non-PIC compilation.
27986 (SETUP_PIC_REG): Add .p2align directive.
27987 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27988 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27989 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27990 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27992 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27993 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27994 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27995 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27996 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27997 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27998 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27999 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28000 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28001 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28002 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28003 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28004 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28005 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28006 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28009 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28010 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28013 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28015 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28016 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28017 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28018 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28019 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28020 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28021 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28024 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28025 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28027 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28028
65dc3b75
JM
280292012-02-03 Joseph Myers <joseph@codesourcery.com>
28030
28031 * math/tst-CMPLX.c: Include <stdio.h>.
28032
d55bf177
JM
280332012-01-31 Joseph Myers <joseph@codesourcery.com>
28034
28035 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28036 float.
28037 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28038 * sysdeps/sparc/bits/mathdef.h: Likewise.
28039
69db4f8f
MP
280402012-01-31 Marek Polacek <polacek@redhat.com>
28041
28042 * libio/libio.h: Don't define _PARAMS.
28043 * locale/programs/config.h: Don't define PARAMS.
28044 * stdlib/strtol_l.c: Likewise.
28045 (__strtol_l): Remove PARAMS from the prototype.
28046
41b81892
UD
280472012-01-31 Ulrich Drepper <drepper@gmail.com>
28048
3b49edc0
UD
28049 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28050 names. Just use the correct names. Remove unnecessary wrapper
28051 functions.
28052 * malloc/arena.c: Likewise.
28053 * malloc/hooks.c: Likewise.
28054
41b81892
UD
28055 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28056 ARENA_TEST says not to. Simplify test for creation of a new arena.
28057 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28058
27a25b6e
UD
280592012-01-30 Ulrich Drepper <drepper@gmail.com>
28060
28061 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28062 into tail calls.
28063 (update_get_addr): New function.
28064 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28065 GET_ADDR_MODULE parameter.
28066
c8a89e7d
JM
280672012-01-30 Joseph Myers <joseph@codesourcery.com>
28068
28069 * crypt/cert.c: Remove __STDC__ conditionals.
28070 * crypt/crypt-entry.c: Likewise.
28071 * crypt/crypt_util.c: Likewise.
28072 * libio/filedoalloc.c: Likewise.
28073 * libio/fileops.c: Likewise.
28074 * libio/genops.c: Likewise.
28075 * libio/iofclose.c: Likewise.
28076 * libio/iofdopen.c: Likewise.
28077 * libio/iofopen.c: Likewise.
28078 * libio/iofopen64.c: Likewise.
28079 * libio/iogetdelim.c: Likewise.
28080 * libio/iopopen.c: Likewise.
28081 * libio/obprintf.c: Likewise.
28082 * libio/oldfileops.c: Likewise.
28083 * libio/oldiofclose.c: Likewise.
28084 * libio/oldiofdopen.c: Likewise.
28085 * libio/oldiofopen.c: Likewise.
28086 * libio/oldiopopen.c: Likewise.
28087 * libio/wfiledoalloc.c: Likewise.
28088 * libio/wgenops.c: Likewise.
28089 * locale/programs/xmalloc.c: Likewise.
28090 * misc/syslog.c: Likewise.
28091 * stdio-common/xbug.c: Likewise.
28092 * string/memchr.c: Likewise.
28093 * string/memcmp.c: Likewise.
28094 * string/memrchr.c: Likewise.
28095 * string/rawmemchr.c: Likewise.
28096 * sysdeps/posix/getcwd.c: Likewise.
28097 * time/strftime_l.c: Likewise.
28098
3b100462
JM
280992012-01-30 Joseph Myers <joseph@codesourcery.com>
28100
28101 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28102 * config.make.in (config-cflags-sse2avx): Define.
28103 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28104 Fix typo.
28105
607998af
CM
281062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28107
28108 * scripts/config.guess: Update from upstream config git repository.
28109 * scripts/config.sub: Likewise.
28110
3601428f
CM
281112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28112
3ac8b282
CM
28113 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28114 (EM_NUM): Update.
28115 (R_TILEPRO_*, R_TILEGX_*): New macros.
28116
e034841e
CM
28117 * scripts/firstversions.awk: Fix bug in version range handling.
28118
540d7568
CM
28119 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28120
3601428f
CM
28121 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28122
463de862
CM
28123 * include/sys/epoll.h: New file.
28124 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28125 libc_hidden_def.
28126
73139a76
UD
281272012-01-28 Ulrich Drepper <drepper@gmail.com>
28128
96bc5b45
UD
28129 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28130 Avoid unnecessary __WORDSIZE == 64 test.
28131 (fmaxf): Use VEX format if possible.
28132 (fmax): Likewise.
28133 (fminf): Likewise.
28134 (fmin): Likewise.
28135
56f6f6a2
UD
28136 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28137 * math/math_private.h: Remove libc_fegetround* and
28138 libc_fesetround*.
28139 * sysdeps/i386/configure.in: Check for -msse2avx.
28140 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28141 also if SSE2AVX is defined.
28142 Remove libc_fegetround* and libc_fesetround*.
28143 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28144 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28146 of HAS_YMM_USABLE.
28147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28152
73139a76
UD
28153 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28154
d73f93a4
AZ
281552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28156
28157 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28158 size is not set.
28159 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28160
6ee65ed6
UD
281612012-01-27 Ulrich Drepper <drepper@gmail.com>
28162
28163 [BZ #13618]
28164 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28165 relocation.
28166 * Makeconfig (libm): Define.
28167 * elf/Makefile: Add rules to build and run tst-relsort1.
28168 * elf/tst-relsort1.c: New file.
28169 * elf/tst-relsort1mod1.c: New file.
28170 * elf/tst-relsort1mod2.c: New file.
28171
8db21882
JM
281722012-01-27 Joseph Myers <joseph@codesourcery.com>
28173
28174 * math/s_ldexp.c: Remove __STDC__ conditionals.
28175 * math/s_ldexpf.c: Likewise.
28176 * math/s_ldexpl.c: Likewise.
28177 * math/s_nextafter.c: Likewise.
28178 * math/s_nexttowardf.c: Likewise.
28179 * math/s_significand.c: Likewise.
28180 * math/s_significandf.c: Likewise.
28181 * math/s_significandl.c: Likewise.
28182 * math/w_jnl.c: Likewise.
28183 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28184 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28185 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28186 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28187 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28189 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28192 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28193 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28202 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28204 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28213 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28214 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28215 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28216 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28217 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28220 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28221 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28222 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28223 * sysdeps/ieee754/k_standard.c: Likewise.
28224 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28226 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28227 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28228 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28229 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28231 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28232 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28233 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28237 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28238 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28242 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28246 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28247 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28248 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28249 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28255 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28259 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28260 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28285 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28290 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28298 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28303 * sysdeps/ieee754/s_matherr.c: Likewise.
28304 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28305 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28308
965a54a4
JM
283092012-01-26 Joseph Myers <joseph@codesourcery.com>
28310
28311 * crypt/md5.h: Remove __STDC__ conditionals.
28312 * libio/libioP.h: Likewise.
28313 * locale/programs/config.h: Likewise.
28314 * sysdeps/generic/sysdep.h: Likewise.
28315 * sysdeps/i386/asm-syntax.h: Likewise.
28316 * sysdeps/s390/asm-syntax.h: Likewise.
28317 * sysdeps/unix/sysdep.h: Likewise.
28318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28320
7071ad79
JM
283212012-01-26 Joseph Myers <joseph@codesourcery.com>
28322
28323 * libio/libio.h: Remove __STDC__ conditionals.
28324 * malloc/obstack.h: Likewise.
28325 * math/complex.h: Likewise.
28326 * math/math.h: Likewise.
28327 * sysdeps/generic/_G_config.h: Likewise.
28328 * sysdeps/gnu/_G_config.h: Likewise.
28329 * sysdeps/mach/hurd/_G_config.h: Likewise.
28330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28331 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28332 * sysdeps/sparc/bits/mathdef.h: Likewise.
28333
afc5ed09
UD
283342012-01-26 Ulrich Drepper <drepper@gmail.com>
28335
28336 [BZ #13583]
28337 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28338 Clean up HAS_* macros.
afc5ed09 28339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28340 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28341 possible.
28342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28343 HAS_AVX.
28344 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28345 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28346 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28347 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28348 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28349
bdb6de1d
JM
283502012-01-25 Joseph Myers <joseph@codesourcery.com>
28351
28352 * elf/tst-unique3.cc (gets): Remove declaration.
28353 * elf/tst-unique3lib.cc (gets): Likewise.
28354 * elf/tst-unique3lib2.cc (gets): Likewise.
28355 * elf/tst-unique4.cc (gets): Likewise.
28356
b15549e6
UD
283572012-01-24 Ulrich Drepper <drepper@gmail.com>
28358
28359 * include/stdio.h: Add C++ protection. Add gets declarations and
28360 definitions.
28361 * debug/tst-chk1.c: Don't declare gets here.
28362 * stdio-common/tst-gets.c: Likewise.
28363
a037381f
JM
283642012-01-24 Joseph Myers <joseph@codesourcery.com>
28365
28366 * posix/glob: Remove directory.
28367
f1d4aa75
JM
283682012-01-24 Joseph Myers <joseph@codesourcery.com>
28369
28370 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28371
81c0c964
PT
283722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28373
28374 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28375 of the non-standard EPFNOSUPPORT.
28376
0ea698ae
ST
283772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28378
28379 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28380 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28381 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28382
d220b117
UD
283832012-01-21 Ulrich Drepper <drepper@gmail.com>
28384
28385 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28386
3e1aa84e
UD
283872012-01-20 Ulrich Drepper <drepper@gmail.com>
28388
28389 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28390 transient errors.
28391 * nscd/grpcache.c (cache_addgr): Likewise.
28392 * nscd/hstcache.c (cache_addhst): Likewise.
28393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28394 * nscd/pwdcache.c (cache_addpw): Likewise.
28395 * nscd/servicescache.c (cache_addserv): Likewise.
28396
400aa020
UD
283972012-01-16 Ulrich Drepper <drepper@gmail.com>
28398
d77e7869
UD
28399 * malloc/malloc.c: Various cleanups.
28400 * malloc/hooks.c: Likewise.
28401
400aa020
UD
28402 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28403 * stdlib/bug-fmtmsg1.c: New file.
28404
28405 * stdlib/fmtmsg.c (init): Add missing unlock.
28406 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28407
e0a309cf
MP
284082012-01-12 Marek Polacek <polacek@redhat.com>
28409
28410 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28411 and _GNU_SOURCE.
28412
929d11c7
WS
284132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28414
28415 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28416 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28417 macro to ensure uniqueness of label name.
28418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28420
41d0e869
UD
284212012-01-11 Ulrich Drepper <drepper@gmail.com>
28422
0cc5ed3b
UD
28423 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28424
41d0e869
UD
28425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28426 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28429
a47a831a
UD
284302012-01-10 Ulrich Drepper <drepper@gmail.com>
28431
daa891c0
UD
28432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28433
28434 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28435 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28436 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28437
e58ef0f2
UD
28438 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28439
a47a831a 28440 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28441 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28442 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28444
28445 * math/bits/math-finite.h: Add ldexp support.
28446
a0bfc9c7
MP
284472012-01-10 Marek Polacek <polacek@redhat.com>
28448
28449 * locale/programs/localedef.h (show_archive_content): Add noreturn
28450 attribute.
28451
d6e97a1d
UD
284522012-01-09 Ulrich Drepper <drepper@gmail.com>
28453
28454 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28455
d5835c26
UD
284562012-01-08 Ulrich Drepper <drepper@gmail.com>
28457
e5f484c6
UD
28458 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28459
d5835c26
UD
28460 * io/Makefile (headers): Add bits/poll2.h.
28461
d1f741e9
WS
284622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28463
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28465 typo #include statement.
28466
ec09c1c4
UD
284672012-01-08 Ulrich Drepper <drepper@gmail.com>
28468
28469 * include/sys/cdefs.h: Define __attribute_alloc_size.
28470 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28471 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28472 * elf/pldd.c: Likewise.
28473 * iconv/iconv_charmap.c: Likewise.
28474 * iconv/iconvconfig.c: Likewise.
28475 * iconv/strtab.c: Likewise.
28476 * locale/programs/locale.c: Likewise.
28477 * locale/programs/localedef.h: Likewise.
28478 * locale/programs/simple-hash.c: Likewise.
28479 * nscd/nscd.h: Likewise.
28480 * nss/makedb.c: Likewise.
28481 * sysdeps/generic/ldconfig.h: Likewise.
28482 * locale/programs/localedef.c: Remove xmalloc prototype.
28483 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28484
20b38e03
PP
284852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28486
28487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28488 appropriate.
28489
a0da5fe1
UD
284902012-01-08 Ulrich Drepper <drepper@gmail.com>
28491
1d5a644a 28492 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28493 * math/tst-CMPLX.c: New file.
1d5a644a 28494
8784a6db
UD
28495 * math/complex.h (CMPLXL): Fix typo.
28496
d9a216c0
UD
28497 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28498 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28499 GLIBC_2.16.
28500 * debug/tst-chk1.c: Add poll and ppoll tests.
28501 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28502 * include/sys/poll.h: Add hidden proto for ppoll.
28503 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28504 * sysdeps/mach/hurd/ppoll.c: Likewise.
28505 * io/ppoll.c: Likewise.
28506 * debug/poll_chk.c: New file.
28507 * debug/ppoll_chk.c: New file.
28508 * include/bits/poll2.h: New file.
28509 * io/bits/poll2.h: New file.
28510
ac097f5c
UD
28511 [BZ #1350]
28512 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28513
2119dcfa
UD
28514 * configure.in: static is always set to yes. Remove.
28515 * config.make.in: Don't set build-static.
28516 * Makeconfig: Remove use of build-static.
28517 * dlfcn/Makefile: Likewise.
28518 * elf/Makefile: Likewise.
28519 * math/Makefile: Likewise.
28520 * misc/Makefile: Likewise.
28521 * nptl/Makefile: Likewise.
28522 * sysdeps/mach/hurd/Makefile: Likewise.
28523
121766a9
UD
28524 * configure.in: PWD_P is not used anymore.
28525 * config.make.in: Remove PWD_P entry.
28526
51a1d39c 28527 * configure.in: Remove last remnants of RANLIB.
8720d066 28528 No need to check for signed size_t anymore.
215f4bdc
UD
28529 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28530 and IA-64.
3857022a 28531 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28532 * aclocal.m4: Likewise.
28533
d3ed7225
UD
28534 * wcsmbs/mbrtoc16.c: Implement using towc function.
28535 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28536 * wcsmbs/wcsmbsload.c: Likewise.
28537 * iconv/gconv_simple.c: Likewise.
28538 * iconv/gconv_int.h: Likewise.
28539 * iconv/gconv_builtin.h: Likewise.
28540 * iconv/iconv_prog.c: Remove CHAR16 handling.
28541
28542 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28543
28544 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28545
a0da5fe1
UD
28546 * configure.in: Remove --with-elf and --enable-bounded options.
28547 Dont set base_machine for ia64. More non-ELF conditions removed.
28548 Remove testing and setting of leading underscore information.
28549 * config.make.in (build-bounded): Set to no.
28550 * config.h.in: Remove NO_UNDERSCORES entry.
28551 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28552 them.
28553 * csu/start.c: Remove !NO_UNDERSCORE code.
28554 * locale/localeinfo.h: Likewise.
28555 * sysdeps/generic/machine-gmon.h: Likewise.
28556 * sysdeps/generic/sysdep.h: Likewise.
28557 * sysdeps/i386/sysdep.h: Likewise.
28558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28559 * sysdeps/mach/sysdep.h: Likewise.
28560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28562 * sysdeps/sh/sysdep.h: Likewise.
28563 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28564 * sysdeps/unix/i386/sysdep.S: Likewise.
28565 * sysdeps/unix/sparc/start.c: Likewise.
28566 * sysdeps/unix/sparc/sysdep.S: Likewise.
28567 * sysdeps/unix/sparc/sysdep.h: Likewise.
28568 * sysdeps/unix/start.c: Likewise.
28569 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28570 * sysdeps/x86_64/sysdep.h: Likewise.
28571
df78418a
UD
285722012-01-07 Ulrich Drepper <drepper@gmail.com>
28573
a784e502
UD
28574 [BZ #13553]
28575 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28576 for non-gcc.
28577 * argp/argp-fmtstream.h: Use const instead __const.
28578 * argp/argp.h: Likewise.
28579 * assert/assert.h: Likewise.
28580 * bits/fenv.h: Likewise.
28581 * bits/sched.h: Likewise.
28582 * bits/sigset.h: Likewise.
28583 * bits/sigthread.h: Likewise.
28584 * catgets/nl_types.h: Likewise.
28585 * conform/data/pthread.h-data: Likewise.
28586 * crypt/crypt-private.h: Likewise.
28587 * crypt/crypt.h: Likewise.
28588 * crypt/crypt_util.c: Likewise.
28589 * ctype/ctype.h: Likewise.
28590 * debug/execinfo.h: Likewise.
28591 * debug/mbsnrtowcs_chk.c: Likewise.
28592 * debug/mbsrtowcs_chk.c: Likewise.
28593 * debug/wcsnrtombs_chk.c: Likewise.
28594 * debug/wcsrtombs_chk.c: Likewise.
28595 * debug/wcstombs_chk.c: Likewise.
28596 * dirent/dirent.h: Likewise.
28597 * dlfcn/dlfcn.h: Likewise.
28598 * elf/neededtest4.c: Likewise.
28599 * grp/grp.h: Likewise.
28600 * gshadow/gshadow.h: Likewise.
28601 * iconv/gconv.h: Likewise.
28602 * iconv/gconv_int.h: Likewise.
28603 * iconv/gconv_simple.c: Likewise.
28604 * iconv/iconv.h: Likewise.
28605 * iconv/loop.c: Likewise.
28606 * iconv/skeleton.c: Likewise.
28607 * include/aio.h: Likewise.
28608 * include/aliases.h: Likewise.
28609 * include/argz.h: Likewise.
28610 * include/arpa/inet.h: Likewise.
28611 * include/assert.h: Likewise.
28612 * include/dirent.h: Likewise.
28613 * include/dlfcn.h: Likewise.
28614 * include/execinfo.h: Likewise.
28615 * include/fcntl.h: Likewise.
28616 * include/fenv.h: Likewise.
28617 * include/glob.h: Likewise.
28618 * include/grp.h: Likewise.
28619 * include/libintl.h: Likewise.
28620 * include/mntent.h: Likewise.
28621 * include/netdb.h: Likewise.
28622 * include/pwd.h: Likewise.
28623 * include/rpc/netdb.h: Likewise.
28624 * include/sched.h: Likewise.
28625 * include/search.h: Likewise.
28626 * include/shadow.h: Likewise.
28627 * include/signal.h: Likewise.
28628 * include/stdio.h: Likewise.
28629 * include/stdlib.h: Likewise.
28630 * include/string.h: Likewise.
28631 * include/sys/socket.h: Likewise.
28632 * include/sys/stat.h: Likewise.
28633 * include/sys/statfs.h: Likewise.
28634 * include/sys/statvfs.h: Likewise.
28635 * include/sys/syslog.h: Likewise.
28636 * include/sys/time.h: Likewise.
28637 * include/sys/uio.h: Likewise.
28638 * include/time.h: Likewise.
28639 * include/unistd.h: Likewise.
28640 * include/utmp.h: Likewise.
28641 * include/wchar.h: Likewise.
28642 * include/wctype.h: Likewise.
28643 * inet/aliases.h: Likewise.
28644 * inet/arpa/inet.h: Likewise.
28645 * inet/netinet/ether.h: Likewise.
28646 * inet/netinet/in.h: Likewise.
28647 * intl/libintl.h: Likewise.
28648 * io/bits/fcntl2.h: Likewise.
28649 * io/fcntl.h: Likewise.
28650 * io/ftw.h: Likewise.
28651 * io/sys/poll.h: Likewise.
28652 * io/sys/stat.h: Likewise.
28653 * io/sys/statfs.h: Likewise.
28654 * io/sys/statvfs.h: Likewise.
28655 * io/utime.h: Likewise.
28656 * libio/bits/stdio.h: Likewise.
28657 * libio/bits/stdio2.h: Likewise.
28658 * libio/libio.h: Likewise.
28659 * libio/libioP.h: Likewise.
28660 * libio/stdio.h: Likewise.
28661 * locale/lc-ctype.c: Likewise.
28662 * locale/locale.h: Likewise.
28663 * login/utmp.h: Likewise.
28664 * malloc/arena.c: Likewise.
28665 * malloc/malloc.c: Likewise.
28666 * malloc/malloc.h: Likewise.
28667 * malloc/mcheck.c: Likewise.
28668 * malloc/mtrace.c: Likewise.
28669 * math/bits/mathcalls.h: Likewise.
28670 * math/fenv.h: Likewise.
28671 * math/math_private.h: Likewise.
28672 * misc/bits/error.h: Likewise.
28673 * misc/bits/syslog.h: Likewise.
28674 * misc/err.h: Likewise.
28675 * misc/error.h: Likewise.
28676 * misc/fstab.h: Likewise.
28677 * misc/mntent.h: Likewise.
28678 * misc/regexp.h: Likewise.
28679 * misc/search.h: Likewise.
28680 * misc/sgtty.h: Likewise.
28681 * misc/sys/mman.h: Likewise.
28682 * misc/sys/syslog.h: Likewise.
28683 * misc/sys/uio.h: Likewise.
28684 * misc/sys/xattr.h: Likewise.
28685 * misc/ttyent.h: Likewise.
28686 * nis/rpcsvc/ypclnt.h: Likewise.
28687 * nss/nss.h: Likewise.
28688 * posix/bits/unistd.h: Likewise.
28689 * posix/fnmatch.h: Likewise.
28690 * posix/glob.h: Likewise.
28691 * posix/sched.h: Likewise.
28692 * posix/spawn.h: Likewise.
28693 * posix/sys/wait.h: Likewise.
28694 * posix/unistd.h: Likewise.
28695 * posix/wordexp.h: Likewise.
28696 * pwd/pwd.h: Likewise.
28697 * resolv/netdb.h: Likewise.
28698 * resource/sys/resource.h: Likewise.
28699 * rt/aio.h: Likewise.
28700 * rt/bits/mqueue2.h: Likewise.
28701 * rt/mqueue.h: Likewise.
28702 * shadow/shadow.h: Likewise.
28703 * signal/signal.h: Likewise.
28704 * socket/send.c: Likewise.
28705 * socket/sendto.c: Likewise.
28706 * socket/sys/socket.h: Likewise.
28707 * stdio-common/printf.h: Likewise.
28708 * stdlib/bits/stdlib.h: Likewise.
28709 * stdlib/fmtmsg.h: Likewise.
28710 * stdlib/monetary.h: Likewise.
28711 * stdlib/stdlib.h: Likewise.
28712 * stdlib/ucontext.h: Likewise.
28713 * streams/stropts.h: Likewise.
28714 * string/argz.h: Likewise.
28715 * string/bits/string2.h: Likewise.
28716 * string/string.h: Likewise.
28717 * string/strings.h: Likewise.
28718 * sunrpc/rpc/auth.h: Likewise.
28719 * sunrpc/rpc/auth_des.h: Likewise.
28720 * sunrpc/rpc/clnt.h: Likewise.
28721 * sunrpc/rpc/netdb.h: Likewise.
28722 * sunrpc/rpc/pmap_clnt.h: Likewise.
28723 * sunrpc/rpc/xdr.h: Likewise.
28724 * sysdeps/generic/inttypes.h: Likewise.
28725 * sysdeps/generic/net/if.h: Likewise.
28726 * sysdeps/generic/sys/swap.h: Likewise.
28727 * sysdeps/gnu/net/if.h: Likewise.
28728 * sysdeps/gnu/utmpx.h: Likewise.
28729 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28730 * sysdeps/i386/i486/bits/string.h: Likewise.
28731 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28732 * sysdeps/s390/bits/string.h: Likewise.
28733 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28734 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28735 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28736 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28737 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28738 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28739 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28740 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28741 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28742 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28743 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28744 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28745 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28746 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28747 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28748 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28749 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28751 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28752 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28754 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28755 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28756 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28757 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28758 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28759 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28761 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28763 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28764 * sysvipc/sys/ipc.h: Likewise.
28765 * sysvipc/sys/msg.h: Likewise.
28766 * sysvipc/sys/sem.h: Likewise.
28767 * sysvipc/sys/shm.h: Likewise.
28768 * termios/termios.h: Likewise.
28769 * time/sys/time.h: Likewise.
28770 * time/time.h: Likewise.
28771 * wcsmbs/bits/wchar2.h: Likewise.
28772 * wcsmbs/uchar.h: Likewise.
28773 * wcsmbs/wchar.h: Likewise.
28774 * wctype/wctype.h: Likewise.
28775
0269750c
UD
28776 [BZ #13551]
28777 * Makeconfig: Remove all but ELF support including AIX support.
28778 * Makerules: Likewise.
28779 * config.h.in: Likewise.
28780 * config.make.in: Likewise.
28781 * configure: Likewise.
28782 * configure.in: Likewise.
28783 * csu/Makefile: Likewise.
28784 * csu/version.c: Likewise.
28785 * debug/Makefile: Likewise.
28786 * dlfcn/Makefile: Likewise.
28787 * elf/Makefile: Likewise.
28788 * extra-lib.mk: Likewise.
28789 * iconv/Makefile: Likewise.
28790 * include/libc-symbols.h: Likewise.
28791 * include/shlib-compat.h: Likewise.
28792 * resolv/Makefile: Likewise.
28793 * resolv/res_libc.c: Likewise.
28794 * rt/Makefile: Likewise.
28795 * sysdeps/i386/asm-syntax.h: Likewise.
28796 * sysdeps/i386/sysdep.h: Likewise.
28797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28798 * sysdeps/mach/sysdep.h: Likewise.
28799 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28800 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28801 * sysdeps/s390/asm-syntax.h: Likewise.
28802 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28804 * sysdeps/sh/sysdep.h: Likewise.
28805 * sysdeps/unix/sparc/sysdep.h: Likewise.
28806 * sysdeps/wordsize-32/divdi3.c: Likewise.
28807 * sysdeps/x86_64/sysdep.h: Likewise.
28808
00bbd29b
UD
28809 * argp/Versions: Remove _argp_unlock_xxx.
28810
28811 [BZ #13559]
28812 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28813 * abilist/libBrokenLocale.abilist: Likewise.
28814 * abilist/libanl.abilist: Likewise.
28815 * abilist/libc.abilist: Likewise.
28816 * abilist/libcrypt.abilist: Likewise.
28817 * abilist/libdl.abilist: Likewise.
28818 * abilist/libm.abilist: Likewise.
28819 * abilist/libnsl.abilist: Likewise.
28820 * abilist/libpthread.abilist: Likewise.
28821 * abilist/libresolv.abilist: Likewise.
28822 * abilist/librt.abilist: Likewise.
28823 * abilist/libthread_db.abilist: Likewise.
28824 * abilist/libutil.abilist: Likewise.
28825 * abilist/libnss_db.abilist: New file.
28826
28827 * scripts/abilist.awk: Add support for indirect functions.
28828
a2693a0e
UD
28829 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28830
3f05895f
UD
28831 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28832
ecb6fb48
UD
28833 * shlib-versions: Remove entries for ports architectures.
28834
664f8cb9
UD
28835 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28836 files in ports.
28837 * elf/stackguard-macros.h: Remove support for IA-64.
28838 * elf/tst-auditmod1.c: Likewise.
28839 * sysdeps/generic/ldsodefs.h: Likewise.
28840
7ae81d88
UD
28841 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28842 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28843 configure files.
28844
bdeba135
UD
28845 [BZ #13552]
28846 * configure.in: Remove --enable-omitfp support.
28847 * FAQ.in: Adjust.
28848 * config.make.in: Likewise.
28849 * Makeconfig: Likewise.
28850 * manual/install.texi: Likewise.
28851
d75a0a62
UD
28852 In case anyone cares, the IA-64 architecture could move to ports.
28853 * sysdeps/ia64/*: Removed.
28854 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28855 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28856
dcc9756b
UD
28857 [BZ #13555]
28858 * configure.in: Remove entries for unsupported architectures.
28859
d3761ebc 28860 [BZ #13533]
9954432e
UD
28861 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28862 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28863 routines.
28864 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28865 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28866 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28867 fall back to using wcrtomb.
28868 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28869 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28870 renaming.
28871 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28872 * wcsmbs/tst-c16c32-1.c: New file.
28873
28874 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28875 local variable.
28876
c3a87236
UD
28877 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28878
28926a1b
UD
28879 * elf/tst-unique3.cc: Add explicit declaration of gets.
28880 * elf/tst-unique3lib.cc: Likewise.
28881 * elf/tst-unique3lib2.cc: Likewise.
28882 * elf/tst-unique4.cc: Likewise.
28883
df78418a
UD
28884 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28885
8ecd6b2a
JM
288862012-01-06 Joseph Myers <joseph@codesourcery.com>
28887
28888 [BZ #13566]
28889 * assert/assert.h (static_assert): Don't define for C++.
28890 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28891 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28892
9f115170
UD
288932012-01-03 Ulrich Drepper <drepper@gmail.com>
28894
5e0d0300
UD
28895 * iconv/loop.c (single loop): Fix assertion in storing of
28896 remaining bytes.
28897
9f115170
UD
28898 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28899
81fb02b0
UD
289002012-01-01 Ulrich Drepper <drepper@gmail.com>
28901
28902 * posix/getconf.c: Update copyright year.
28903 * nss/getent.c: Likewise.
a316c1f6 28904 * nss/makedb.c: Likewise.
81fb02b0
UD
28905 * iconv/iconvconfig.c: Likewise.
28906 * iconv/iconv_prog.c: Likewise.
28907 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28908 * elf/pldd.c: Likewise.
28909 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28910 * catgets/gencat.c: Likewise.
28911 * csu/version.c: Likewise.
28912 * elf/ldd.bash.in: Likewise.
28913 * elf/sprof.c (print_version): Likewise.
28914 * locale/programs/locale.c: Likewise.
28915 * locale/programs/localedef.c: Likewise.
a316c1f6 28916 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28917 * nscd/nscd.c (print_version): Likewise.
28918 * debug/xtrace.sh: Likewise.
28919 * malloc/memusage.sh: Likewise.
28920 * malloc/mtrace.pl: Likewise.
28921 * debug/catchsegv.sh: Likewise.
28922
2ba92745
JJ
289232011-12-30 Jakub Jelinek <jakub@redhat.com>
28924
28925 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28926 pure attribute.
28927
dadebdae
UD
289282011-12-24 Ulrich Drepper <drepper@gmail.com>
28929
d3761ebc 28930 [BZ #13533]
db6af3eb
UD
28931 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28932 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28933 transformations.
28934 * iconv/gconv_int.h: Likewise.
28935 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28936 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28937 from libc for GLIBC_2.16.
28938 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28939 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28940 * wcsmbs/uchar.h: Really define mbstate_t.
28941 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28942 * wcsmbs/c16rtomb.c: New file.
28943 * wcsmbs/mbrtoc16.c: New file.
28944 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28945 for C/POSIX locale.
28946 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28947 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28948
dadebdae
UD
28949 * wcsmbs/wchar.h: Add missing __restrict.
28950
67371b56
UD
289512011-12-23 Ulrich Drepper <drepper@gmail.com>
28952
74033a25
UD
28953 [BZ #13532]
28954 * time/Makefile (routines): Add timespec_get.
28955 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28956 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28957 timespec for ISO C11.
28958 * time/timespec_get.c: New file.
28959 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28960 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28961
380d7e87
UD
28962 [BZ #13531]
28963 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28964 * stdlib/stdlib.h: Declare aligned_alloc.
28965 * Versions.def: Add GLIBC_2.16 for libc.
28966 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28967
4e9e7a35
UD
28968 [BZ 13527]
28969 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28970 ISO C11.
28971
380d7e87 28972 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28973 code.
28974
03a71829
UD
28975 [BZ #13528]
28976 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28977
839e283e
UD
28978 [BZ #13529]
28979 * assert/assert.h (static_assert): Define.
28980
ce5294e2 28981 * version.h: Update for 2.16 development version.
90fa7312 28982
8d44e150 28983 [BZ #13526]
d7809905
UD
28984 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28985 _ISOC11_SOURCE.
28986
c0da14cd
UD
28987 * version.h (RELEASE): Bump for 2.15 release.
28988 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28989
530a3249
MP
28990 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28991 Patch by Marek Polacek <mpolacek@redhat.com>.
28992
67371b56
UD
28993 * bits/byteswap.h: Protect long long constants with __extension__.
28994 * sysdeps/i386/bits/byteswap.h: Likewise.
28995 * sysdeps/ia64/bits/byteswap.h: Likewise.
28996 * sysdeps/s390/bits/byteswap.h: Likewise.
28997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28998
15db4de1
LD
289992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29000
29001 [BZ #13540]
bbe315ea
LD
29002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29003 destination buffer.
15db4de1
LD
29004 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29005
2b2596b1
MP
290062011-12-23 Marek Polacek <polacek@redhat.com>
29007
29008 * elf/dl-addr.c (determine_info): Add inline keyword.
29009 * elf/tst-auditmod4b.c (check_avx): Likewise.
29010 * elf/tst-auditmod6b.c (check_avx): Likewise.
29011 * elf/tst-auditmod6c.c (check_avx): Likewise.
29012 * elf/tst-auditmod7b.c (check_avx): Likewise.
29013
70c6c246
UD
290142011-12-23 Ulrich Drepper <drepper@gmail.com>
29015
29016 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29017 !__SSE_MATH__.
29018
c044cf14
LD
290192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29020
15db4de1 29021 [BZ #13540]
c044cf14
LD
29022 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29023 processing for last bytes.
29024
6b13d9d9
BH
290252011-08-06 Bruno Haible <bruno@clisp.org>
29026
d455f537
BH
29027 [BZ #13061]
29028 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29029 U+0385, not to U+1FEE.
29030
6b13d9d9
BH
29031 [BZ #13062]
29032 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29033 entry for U+00A5 U+0301.
29034
db910efd
UD
290352011-12-22 Ulrich Drepper <drepper@gmail.com>
29036
27deeafc
UD
29037 [BZ #13166]
29038 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29039 buffer for the output is too small.
29040
aed9d171
UD
29041 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29042 optimization.
29043
db910efd
UD
29044 [BZ #13185]
29045 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29046 SSE flags if possible.
29047
2bd779ae
LD
290482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29049
e7f9dac3 29050 [BZ #13540]
2bd779ae
LD
29051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29052 processing for last bytes.
29053
154bfc16
JM
290542011-12-22 Joseph Myers <joseph@codesourcery.com>
29055
29056 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29057 (syscall-list-default-options, syscall-list-default-condition)
29058 (syscall-list-includes): Define.
29059 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29060 list of ABIs and options and #if conditions for each ABI. Do not
29061 handle common syscalls between ABIs specially.
29062 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29063 Remove.
29064 (syscall-list-variants, syscall-list-32bit-options)
29065 (syscall-list-32bit-condition, syscall-list-64bit-options)
29066 (syscall-list-64bit-condition): Define.
29067 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29068 (syscall-list-variants, syscall-list-32bit-options)
29069 (syscall-list-32bit-condition, syscall-list-64bit-options)
29070 (syscall-list-64bit-condition): Define.
29071 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29072 Remove.
29073 (syscall-list-variants, syscall-list-32bit-options)
29074 (syscall-list-32bit-condition, syscall-list-64bit-options)
29075 (syscall-list-64bit-condition): Define.
29076 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29077 Remove.
29078 (syscall-list-variants, syscall-list-32bit-options)
29079 (syscall-list-32bit-condition, syscall-list-64bit-options)
29080 (syscall-list-64bit-condition): Define.
29081
21eaf3a5
UD
290822011-12-22 Ulrich Drepper <drepper@gmail.com>
29083
16c6f992
UD
29084 * locale/iso-639.def: Add brx entry.
29085
41043168
UD
29086 [BZ #13328]
29087 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29088 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29089
21eaf3a5
UD
29090 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29091 __feraiseexcept_renamed.
29092
e3a851a2
UD
290932011-12-21 Ulrich Drepper <drepper@gmail.com>
29094
4920765e
UD
29095 [BZ #13538]
29096 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29097 EPOLLET with unsigned values.
29098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29100
e3a851a2
UD
29101 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29102 to large cancellation.
29103 * math/s_cacoshf.c: Likewise.
29104 * math/s_cacoshl.c: Likewise.
29105
b27e24b8
RK
291062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29107
29108 [BZ #13305]
aebefeee 29109 [BZ #12786]
b27e24b8
RK
29110 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29111 * math/s_cacoshf.c: Likewise.
29112 * math/s_cacoshl.c: Likewise.
29113
ee190f67
UD
291142011-12-21 Ulrich Drepper <drepper@gmail.com>
29115
29116 [BZ #13439]
29117 * iconv/gconv.h: Define __GCONV_SWAP.
29118 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29119 * iconvdata/utf-16.c: Likewise.
29120 * iconvdata/utf-32.c: Likewise.
29121
707f25df
AS
291222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29123
29124 [BZ #13524]
29125 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29126 numerator after shifting it by one limb.
29127
d2daaa1e
RÁE
291282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29129
29130 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29131 under [__USE_EXTERN_INLINES].
29132
a4647e72
UD
291332011-12-17 Ulrich Drepper <drepper@gmail.com>
29134
29135 [BZ #13446]
29136 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29137
f0b264f1
AZ
291382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29139
29140 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29141 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29142 optimized code.
29143 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29144 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29145 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29146 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29147 for strncasecmp/strncasecmp_l compilation.
29148 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29149 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29150
8ef4f244
MP
291512011-12-08 Marek Polacek <mpolacek@redhat.com>
29152
29153 [BZ #13484]
29154 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29155 of __asm__.
29156
97ac2654
UD
291572011-12-17 Ulrich Drepper <drepper@gmail.com>
29158
29159 [BZ #13506]
29160 * time/tzfile.c (__tzfile_read): Check values from file header.
29161
91d2a845
WS
291622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29163
29164 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29165 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29166 * powerpc/powerpc32/dl-start.S: Likewise.
29167 * powerpc/powerpc32/elf/start.S: Likewise.
29168 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29169 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29170 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29171 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29172 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29173 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29174 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29175 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29176 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29177 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29178 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29179 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29180 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29181 * powerpc/powerpc32/memset.S: Likewise.
29182 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29183 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29184 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29185 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29186 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29187 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29188 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29189 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29190 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29191 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29192 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29193 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29194 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29195
a1267ba1
AZ
291962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29197
29198 * math/libm-test.inc: Added more nearbyint tests.
29199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29203
ad8ac1bd
RL
292042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29205
29206 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29207 FD_CLOEXEC.
29208
1d3e4b61
UD
292092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29210
29211 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29212 Add wcscpy-ssse3 wcscpy-c.
29213 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29214 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29215 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29216 * sysdeps/x86_64/wcschr.S: New file.
29217 * sysdeps/x86_64/wcsrchr.S: New file.
29218 * string/test-strcmp.c: Remove checking of wcscmp function for
29219 wrong alignments.
29220 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29221 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29222 wcsrchr-sse2 wcsrchr-c.
29223 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29224 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29225 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29226 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29227 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29228 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29229 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29230 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29231 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29232 * wcsmbc/wcschr.c (WCSCHR): New macro.
29233
5b330a2d
UD
292342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29235
29236 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29237 * wcsmbs/test-wcsrchr.c: New file.
29238 * string/test-strrchr.c: Add wcsrchr support.
29239 (WIDE): New macro.
29240 * wcsmbs/test-wcscpy.c: New file.
29241 * string/test-strcpy.c: Add wcscpy support.
29242 (WIDE): New macro.
26428b7c 29243
f039c043
UD
292442011-12-10 Ulrich Drepper <drepper@gmail.com>
29245
29246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29247 the inner loop.
29248
850fb039
AS
292492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29250
29251 [BZ #13472]
29252 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29253
4efbd5cb
UD
292542011-12-04 Ulrich Drepper <drepper@gmail.com>
29255
52ff5dd0 29256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29257 Minor optimizations.
52ff5dd0 29258
4efbd5cb
UD
29259 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29260 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29261 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29262
8a426e12
UD
292632011-12-03 Ulrich Drepper <drepper@gmail.com>
29264
aff2453d
UD
29265 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29266 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29267 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29268 for gcc to avoid warnings.
29269 * inet/Makefile (tests): Add tst-checks.
29270 * inet/tst-checks.c: New file.
29271
29272 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29273 warning.
29274
29275 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29276 __wmemcmp_sse2.
29277
29278 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29279 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29280
8a426e12
UD
29281 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29282
9bea3473
UD
292832011-12-02 Ulrich Drepper <drepper@gmail.com>
29284
3a965496
UD
29285 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29286 problem.
29287
9bea3473
UD
29288 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29289
f101631b
UD
292902011-11-29 Joseph Myers <joseph@codesourcery.com>
29291
29292 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29293 conditional on GCC version.
29294 (__arch_compare_and_exchange_val_8_acq)
29295 (__arch_compare_and_exchange_val_16_acq)
29296 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29297 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29298 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29299
a98275aa
UD
293002011-12-02 Joseph Myers <joseph@codesourcery.com>
29301
29302 * sysdeps/sh/backtrace.c: New file.
29303
d4cc29a2
AS
293042011-12-02 Andreas Schwab <schwab@redhat.com>
29305
29306 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29307 parenthesis.
29308
6257af2d
AS
293092011-12-01 Andreas Schwab <schwab@redhat.com>
29310
29311 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29312 falling back to utime.
29313
b5f44c1a
AS
293142011-11-30 Andreas Schwab <schwab@redhat.com>
29315
29316 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29317 expectations for float.
29318
f3a6cc0a
AS
293192011-11-29 Andreas Schwab <schwab@redhat.com>
29320
29321 * locale/weight.h (findidx): Add parameter len.
29322 * locale/weightwc.h (findidx): Likewise.
29323 * posix/fnmatch_loop.c (FCT): Adjust caller.
29324 * posix/regcomp.c (build_equiv_class): Likewise.
29325 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29326 * posix/regexec.c (check_node_accept_bytes): Likewise.
29327 * string/strcoll_l.c (STRCOLL): Likewise.
29328 * string/strxfrm_l.c (STRXFRM): Likewise.
29329
9d65ea3a
UD
293302011-11-17 Ulrich Drepper <drepper@gmail.com>
29331
29332 * Makefile.in: Remove CVSOPT handling.
29333 * configure.in: Remove use of AC_REVISION.
29334 * iconvdata/Makefile (distribute): No need to filter out CVS.
29335 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29336 handling.
29337
5583a086
AS
293382011-11-16 Andreas Schwab <schwab@redhat.com>
29339
29340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29341 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29342 [USE_AS_STRNCASECMP_L]: Likewise.
29343 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29344 NO_TLS_DIRECT_SEG_REFS.
29345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29346 Fix argument offsets for non-PIC.
29347 [USE_AS_STRNCASECMP_L]: Likewise.
29348 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29349 NO_TLS_DIRECT_SEG_REFS.
29350
d62a8200
UD
293512011-11-15 Ulrich Drepper <drepper@gmail.com>
29352
9d65ea3a 29353 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29354 O_CLOEXEC.
29355 * locale/loadlocale.c (_nl_load_locale): Likewise.
29356
09f93bd3
AS
293572011-11-15 Andreas Schwab <schwab@redhat.com>
29358
446514f9
AS
29359 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29360 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29361 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29362 (SYSCALL_GETTIME): Set errno on error.
29363
09f93bd3
AS
29364 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29365 count references to noai6ai_cached.
29366
312be3f9
UD
293672011-11-15 Ulrich Drepper <drepper@gmail.com>
29368
29369 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29370
29371 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29372 FD_CLOEXEC for /proc/self/maps.
29373
29374 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29375 FD_CLOEXEC for /proc/meminfo.
29376
29377 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29378 gai.conf.
29379
29380 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29381 FD_CLOEXEC for given file.
29382
29383 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29384
29385 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29386 FD_CLOEXEC for /etc/hosts.
29387 (_gethtent): Likewise.
29388
29389 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29390
29391 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29392 cancellation and set FD_CLOEXEC for /etc/netgroup.
29393
29394 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29395 reading /etc/publickey.
29396
29397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29398 allow cancellation when reading /etc/group.
29399
29400 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29401 cancellation.
29402 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29403
29404 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29405 when using data file.
29406
29407 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29408
29409 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29410 (write_nis_obj): Use "c" and "e" in fopen.
29411
29412 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29413
29414 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29415
29416 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29417
29418 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29419
29420 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29421 locale.alias.
29422
29423 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29424
29425 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29426
29427 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29428
29429 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29430 file parsing and set FD_CLOEXEC.
29431
82af0fa8
UD
294322011-11-14 Ulrich Drepper <drepper@gmail.com>
29433
29434 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29435
a5fb313c
AS
294362011-11-14 Andreas Schwab <schwab@redhat.com>
29437
29438 * malloc/arena.c (arena_get2): Don't call reused_arena when
29439 _int_new_arena failed.
29440
6abf3465
UD
294412011-11-14 Ulrich Drepper <drepper@gmail.com>
29442
29443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29444 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29445 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29447 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29449 to compile strcasecmp and strncasecmp.
29450 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29451 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29452
29453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29454
76e3966e
UD
294552011-11-13 Ulrich Drepper <drepper@gmail.com>
29456
29457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29458 locale-defines.sym to gen-as-const-headers.
29459 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29460 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29462 to compile strcasecmp and strncasecmp.
29463 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29464 strcasecmp_l and strncasecmp_l.
29465 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29466 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29467 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29468 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29469 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29470 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29471 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29472 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29473 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29474 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29475 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29476
ab26144e
UD
294772011-11-12 Ulrich Drepper <drepper@gmail.com>
29478
7edb22ef
UD
29479 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29480 result of SYSDEP_GETTIME_CPU to retval.
29481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29482 parameter list to macro. Remove trailing semicolon. Adjust users.
29483
9694fc44
UD
29484 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29485 variable.
29486
8ad89ef8
UD
29487 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29488 mantissa words.
29489 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29490
0c822ef9
UD
29491 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29492 from unused variable.
29493
874e0564
UD
29494 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29495 DWARF definitions.
29496 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29497 for assembling.
29498
3a2edc79
UD
29499 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29500 over namespaces.
29501
f3c2577f
UD
29502 * sunrpc/rpc_prot.c (rejected): Fix case value.
29503
294ce126
UD
29504 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29505 unsigned long long int to avoid warnings in shift.
29506
5e2b63c6
UD
29507 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29508 of use of trans.
29509 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29510 variable tmp.
29511
e7f4b08e
UD
29512 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29513 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29514 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29515
ab26144e
UD
29516 * nis/nis_table.c (nis_list): Use variable of correct type for
29517 result of __follow_path call.
29518
8a6d5255
AZ
295192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29520
29521 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29522 of math functions ceil, trunc, floor, round, and sqrt, when
29523 avaliable on the platform.
29524 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29525 name clash.
29526 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29527 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29528 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29529
aaddc98c
MP
295302011-10-30 Marek Polacek <mpolacek@redhat.com>
29531
29532 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29533 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29534
95b7042b
RM
295352011-11-11 Roland McGrath <roland@hack.frob.com>
29536
29537 * include/unistd.h: Fix __readlink return type.
29538 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29539
57769839
UD
295402011-11-11 Ulrich Drepper <drepper@gmail.com>
29541
29542 * stdlib/ucontext.h: Undo last change for makecontext.
29543
edc5984d
AS
295442011-11-11 Andreas Schwab <schwab@redhat.com>
29545
98591e58
AS
29546 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29547
edc5984d
AS
29548 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29549 * setjmp/setjmp.h: Mark functions as non-leaf.
29550 * setjmp/bits/setjmp2.h: Likewise.
29551 * stdlib/ucontext.h: Likewise.
29552
77cdc054
AS
295532011-11-10 Andreas Schwab <schwab@redhat.com>
29554
29555 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29556 (reused_arena): Don't check arena limit.
29557 (arena_get2): Atomically check arena limit.
29558
fe72eebd
UD
295592011-11-08 Ulrich Drepper <drepper@gmail.com>
29560
5f078c32
UD
29561 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29562 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29563
fe72eebd
UD
29564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29565 instructions.
29566
ae1bc2fa
AS
295672011-11-07 Andreas Schwab <schwab@redhat.com>
29568
7583a88d
AS
29569 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29570 handler when locking.
29571
ae1bc2fa
AS
29572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29573 Fix size of allocated buffer.
29574
10fb0bfa
AS
295752011-11-04 Andreas Schwab <schwab@redhat.com>
29576
998832a4
AS
29577 [BZ #10103]
29578 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29579 declarations for long double functions.
29580 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29581
10fb0bfa
AS
29582 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29583
3d7ba52b
AS
295842011-11-03 Andreas Schwab <schwab@redhat.com>
29585
a9ae54a1
AS
29586 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29587 installed.
29588
3d7ba52b
AS
29589 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29590 is disabled.
29591
bc8db248
ST
295922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29593
29594 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29595
45b96dd6
AS
295962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29597
647776f6
AS
29598 * include/alloca.h (stackinfo_alloca_round): Define.
29599 (extend_alloca): Use it.
29600 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29601 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29602 here.
29603
d91a8b93
AS
29604 * scripts/check-local-headers.sh: Ignore libaudit.h.
29605
45b96dd6
AS
29606 * nscd/Makefile (extra-objs): Make recursively expanded.
29607
432d41ce
UD
296082011-11-01 Ulrich Drepper <drepper@gmail.com>
29609
34372fc6
UD
29610 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29612
fadb59f8
UD
29613 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29614 * posix/tst-rfc3484-2.c: Likewise.
29615 * posix/tst-rfc3484-3.c: Likewise.
29616
78239589
UD
29617 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29618 process_vm_writev.
29619 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29620 process_vm_writev.
29621 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29622 process_vm_writev from libc using GLIBC_2.15 version.
29623
432d41ce
UD
29624 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29625
02f9c6cf
PP
296262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29627
29628 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29629 stack usage.
29630
3a2c0242
UD
296312011-10-31 Ulrich Drepper <drepper@gmail.com>
29632
f4ec4833
UD
29633 [BZ #13367]
29634 * nss/getent.c (initgroups_keys): Show error message in case no group
29635 names are given.
29636
3a2c0242
UD
29637 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29638 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29639 __bump_nl_timestamp.
29640 * nscd/connections (nscd_init): When host database is served open
29641 netlink socket and request notification about configuration changes.
29642 (main_loop_poll): Track netlink file descriptor and bump timestamp
29643 in case data becomes available.
29644 (main_loop_epoll): Likewise.
29645 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29646 (database_pers_head): Add extra_data fileds.
29647 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29648 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29649 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29650 Adjust caller.
29651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29652 in6ai data, call __free_in6ai.
29653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29654 Add -DHAVE_NETLINK.
29655 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29656 interface information. Reuse previous data if netlink timestamp
29657 is not changed.
29658 (__bump_nl_timestamp): New function.
29659 (__free_in6ai): New function.
29660
636064eb
UD
296612011-10-30 Ulrich Drepper <drepper@gmail.com>
29662
29663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29664 close_not_cancel_no_status here.
29665 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29666
9beb2334
UD
296672011-10-29 Ulrich Drepper <drepper@gmail.com>
29668
6ef76f3b
UD
29669 [BZ #13276]
29670 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29671 return value.
29672
0ffc4f3e 29673 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29674 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29675 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29676
cb95113e
UD
296772011-07-03 Andreas Jaeger <aj@suse.de>
29678
29679 [BZ #10709]
29680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29681 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29682 * math/libm-test.inc (sin_test): Add test case.
29683
a1b560ff
UD
296842011-10-29 Ulrich Drepper <drepper@gmail.com>
29685
c9aaface
UD
29686 [BZ #13337]
29687 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29688 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29689
d272e7f1
UD
29690 * elf/chroot_canon.c (chroot_canon): Cleanups.
29691
1bc33071
UD
29692 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29693
1760874d
TJ
29694 [BZ #13335]
29695 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29696 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29697
51d91b18
UD
29698 * string/test-strchr.c: Make usable for strchrnul testing.
29699 * string/test-strchrnul.c: New file.
29700 * string/Makefile (strop-tests): Add strchrnul.
29701
a1b560ff 29702 * po/it.po: Update from translation team.
b611fb81 29703 * po/es.po: Likewise.
a1b560ff 29704
a5b81e1f
UD
297052011-10-28 Ulrich Drepper <drepper@gmail.com>
29706
fd52bc6d
UD
29707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29708 the three constants needed as parameters. Drop the others.
29709 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29710 __m128i_strloadu_tolower.
52e4b9eb
UD
29711 Create and initialize variable zero and use it in all the places
29712 where _mm_setzero_si128 was used.
fd52bc6d 29713
a5b81e1f
UD
29714 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29715 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29716 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29717 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29718 anymore.
29719 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29720 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29721 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29722 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29723 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29724 __mpranred, __mptan.
29725 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29726 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29727 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29728 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29732 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29733 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29734
b4343346
AS
297352011-10-28 Andreas Schwab <schwab@redhat.com>
29736
0c92d8a8
AS
29737 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29738 redefine if SHARED.
29739 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29740
b4343346
AS
29741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29742 wide char related routines to wcsmbs subdir.
29743
3871f58f
AS
297442011-10-27 Andreas Schwab <schwab@redhat.com>
29745
29746 [BZ #13344]
29747 * misc/sys/cdefs.h (__THROWNL): Define.
29748 * posix/unistd.h: Use __THREADNL instead of __THREAD
29749 for memory synchronization functions.
29750
94d44d9f
RM
297512011-10-26 Roland McGrath <roland@hack.frob.com>
29752
21b64b15 29753 [BZ #13349]
94d44d9f
RM
29754 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29755 doesn't exist.
29756 * manual/stdio.texi (Obstack Streams): Node removed.
29757
f6ce9294
AS
297582011-10-26 Andreas Schwab <schwab@redhat.com>
29759
80479147
AS
29760 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29762 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29763
f6ce9294
AS
29764 * math/math_private.h (math_force_eval): Allow non-addressable
29765 arguments.
29766 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29767
618280a1
UD
297682011-10-25 Ulrich Drepper <drepper@gmail.com>
29769
e0016b11
UD
29770 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29771 file is not needed.
29772
29773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29779 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29780 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29781 Add AVX variants.
29782 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29783 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29784 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29785 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29786 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29787 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29788 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29789 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29790 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29791 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29792 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29793 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29795 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29796 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29797 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29798 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29799 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29800 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29801
29802 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29803 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29804
618280a1
UD
29805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29806 place. Use VEX encoding when compiling for AVX.
29807
37822576
AS
298082011-10-25 Andreas Schwab <schwab@redhat.com>
29809
1f1e1947
AS
29810 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29811 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29812
37822576
AS
29813 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29814
31ea014d
UD
298152011-10-25 Ulrich Drepper <drepper@gmail.com>
29816
d7826aa1 29817 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29818 useless if() expression.
d7826aa1
UD
29819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29828 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29829 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29831 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29833 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29834 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29837 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29838
31ea014d
UD
29839 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29840
16437fec
AS
298412011-10-25 Andreas Schwab <schwab@redhat.com>
29842
29843 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29844 condition.
29845 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29846
31d3cc00
UD
298472011-10-25 Ulrich Drepper <drepper@gmail.com>
29848
29849 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29850 .text section. Avoid duplicate constants.
29851 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29861 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29863 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29866 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29868 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29874 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29875 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29876 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29877 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29878 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29879 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29880 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29891 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29892 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29893 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29896
58985aa9
UD
298972011-10-24 Ulrich Drepper <drepper@gmail.com>
29898
202c9deb
UD
29899 * sysdeps/x86_64/dla.h: Move to ...
29900 * sysdeps/x86_64/fpu/dla.h: ...here.
29901 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29902 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29903
af968f62
UD
29904 * config.make.in: Add have-mfma4 entry.
29905 * configure.in: Substitute libc_cv_cc_fma4.
29906 * math/Makefile (dbl-only-routines): Add sincostab.
29907 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29908 Use __sincostab not sincos.
29909 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29910 name is a macro.
29911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29915 using __copysign.
29916 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29917 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29918 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29919 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29920 and __inv.
29921 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29922 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29923 __copysign.
29924 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29925 define aliases when function name is a macro.
29926 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29927 sysdeps/ieee754/dbl-64/sincos.tbl.
29928 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29929 fma4-enabled routines.
29930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29931 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29932 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29933 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29934 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29935 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29936 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29937 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29938 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29939 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29940 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29941 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29942 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29943 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29945 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29946 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29947 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29948 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29949 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29950 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29951 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29957 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29959 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29960
58985aa9
UD
29961 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29962 rename.
29963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29969 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29971
a201fbcf
AS
299722011-10-24 Andreas Schwab <schwab@redhat.com>
29973
29974 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29975
fc2ee42a
LD
299762011-10-23 Ulrich Drepper <drepper@gmail.com>
29977
bb3129bd
UD
29978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29979
0275fff8
UD
29980 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29981 prediction.
29982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29983
2fa2ae85
UD
29984 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29985 Remove unused variable magic_bits.
29986 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29987
fc2ee42a
LD
29988 * string/strnlen.c: Define and use STRNLEN macro.
29989 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29990 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29992 * wcsmbs/wcslen.c: Define and use WCSLEN.
29993 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29994 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29995 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29996 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29997 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29998 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29999 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30000
ce7dd29f
LD
300012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30002
30003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30004 strnlen-sse2-no-bsf.
30005 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30007 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30008 Add strnlen support.
30009 (USE_AS_STRNLEN): New macro.
30010 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30011 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30012 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30013 * sysdeps/x86_64/wcslen.S: New file.
30014
979c70a3
MZ
300152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30016
30017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30018 XMM-moves are used for copying on small sizes.
30019
2d09f82f
LD
300202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30021
30022 * wcsmbs/Makefile (strop-tests): Add wcschr.
30023 * wcsmbs/test-wcschr.c: New file.
30024 * string/test-strchr.c: Update.
30025 Add wcschr support.
30026 (WIDE): New macro.
30027
619fccca
LD
300282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30029
2d09f82f 30030 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30031 * wcsmbs/test-wcslen.c: New file.
30032 * string/test-strlen.c: Update.
30033 Add wcslen support.
30034 (WIDE): New macro.
30035
09f699ea
UD
300362011-10-23 Ulrich Drepper <drepper@gmail.com>
30037
30038 * po/it.po: Update from translation team.
30039
95584d3b
LD
300402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30041
30042 * sysdeps/x86_64/wcscmp.S: Update.
30043 Fix wrong comparison semantics.
30044 wcscmp shall use signed comparison not unsigned.
30045 Don't use substraction to avoid overflow bug.
30046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30047 * wcsmbc/wcscmp.c: Likewise.
30048 * string/test-strcmp.c: Likewise.
30049 Add new tests to check cases with negative values.
30050
c8b3296b
UD
300512011-10-23 Ulrich Drepper <drepper@gmail.com>
30052
30053 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30054 * sysdeps/x86_64/dla.h: ...here. New file.
30055 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30064
246ad57a
AS
300652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30066
30067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30068 __ynl_finite aliases.
30069
a1a87169
UD
300702011-10-22 Ulrich Drepper <drepper@gmail.com>
30071
0d355eb7
UD
30072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30073
a1a87169
UD
30074 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30075 define DLA_FMA.
30076 [DLA_FMA] (EMULV): Use DLA_FMA.
30077 [DLA_FMA] (MUL12): Use EMULV.
30078 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30079 that are not needed.
30080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30087
ee2aafe0
AS
300882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30089
30090 * math/s_nan.c: Undef __nan.
30091 * math/s_nanf.c: Undef __nanf.
30092 * math/s_nanl.c: Undef __nanl.
30093 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30094 "math_private.h".
30095
bc62c2fb
UD
300962011-10-22 Ulrich Drepper <drepper@gmail.com>
30097
77425c63
UD
30098 * math/s_catan.c: Add branch predictions.
30099 * math/s_catanf.c: Likewise.
30100 * math/s_catanh.c: Likewise.
30101 * math/s_catanhf.c: Likewise.
30102 * math/s_catanhl.c: Likewise.
30103 * math/s_catanl.c: Likewise.
30104 * math/s_cexp.c: Likewise.
30105 * math/s_cexpf.c: Likewise.
30106 * math/s_cexpl.c: Likewise.
30107 * math/s_clog.c: Likewise.
30108 * math/s_clog10.c: Likewise.
30109 * math/s_clog10f.c: Likewise.
30110 * math/s_clog10l.c: Likewise.
30111 * math/s_clogf.c: Likewise.
30112 * math/s_clogl.c: Likewise.
30113 * math/s_csqrt.c: Likewise.
30114 * math/s_csqrtf.c: Likewise.
30115 * math/s_csqrtl.c: Likewise.
30116 * math/s_ctanf.c: Likewise.
30117 * math/s_ctanh.c: Likewise.
30118 * math/s_ctanhf.c: Likewise.
30119 * math/s_ctanhl.c: Likewise.
30120 * math/s_ctanl.c: Likewise.
30121
bc62c2fb
UD
30122 * math/math_private.h: Define __nan, __nanf, __nanl.
30123 * math/s_cacosh.c: Include <math_private.h>.
30124 * math/s_cacoshl.c: Likewise.
30125 * math/s_casinh.c: Likewise.
30126 * math/s_casinhf.c: Likewise.
30127 * math/s_casinhl.c: Likewise.
30128 * math/s_ccos.c: Rely entire on ccosh.
30129 * math/s_ccosf.c: Rely entire on ccoshf.
30130 * math/s_ccosl.c: Rely entirely on ccoshl.
30131 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30132 Remove tests for FE_INVALID.
30133 * math/s_ccoshf.c: Likewise.
30134 * math/s_ccoshl.c: Likewise.
30135 * math/s_csin.c: Likewise.
30136 * math/s_csinf.c: Likewise.
30137 * math/s_csinh.c Likewise.
30138 * math/s_csinhf.c: Likewise.
30139 * math/s_csinhl.c: Likewise.
30140 * math/s_csinl.c: Likewise.
30141 * math/s_ctan.c: Likewise.
30142 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30143 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30145
8ec250a4
UD
301462011-10-21 Ulrich Drepper <drepper@gmail.com>
30147
c196fed8
UD
30148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30149 compilation problems.
30150
8ec250a4
UD
30151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30152 __builtin_expect.
30153
8d4f46c6
UD
301542011-10-20 Ulrich Drepper <drepper@gmail.com>
30155
ed72b654
UD
30156 * sysdeps/i386/configure.in: Test for -mfma4 option.
30157 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30158 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30159 COMMON_CPUID_INDEX_80000001.
30160 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30161 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30162 use it if FMA3 is not supported.
30163 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30164
8d4f46c6
UD
30165 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30167
d45c60c2
AS
301682011-10-20 Andreas Schwab <schwab@redhat.com>
30169
30170 [BZ #12892]
30171 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30172 it would create a cycle with a link time dependency.
30173
d9a4d2ab
UD
301742011-10-19 Ulrich Drepper <drepper@gmail.com>
30175
855d1560
UD
30176 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30177 instruction.
30178 * string/Makefile (strop-tests): Add rawmemchr.
30179 * string/test-rawmemchr.c: New file.
30180
d9a4d2ab
UD
30181 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30183 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30184 when compiling str{,n}casecmp and when AVX is available. Hook up
30185 new optimized code in initializers.
30186
8f3b1ffe
AS
301872011-10-19 Andreas Schwab <schwab@redhat.com>
30188
30189 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30190 __feraiseexcept instead of feraiseexcept.
30191
d38f1dba
UD
301922011-10-18 Ulrich Drepper <drepper@gmail.com>
30193
d9a8d0ab
UD
30194 * math/math_private.h: Define defaults for libc_fetestexcept and
30195 libc_feupdateenv.
30196 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30197 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30198 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30199 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30200 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30202 libc_fetestexcept and libc_feupdateenv.
30203
4855e3dd
UD
30204 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30205 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30206 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30207 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30208 libc_feholdexcept_setround.
30209
581d30e3
UD
30210 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30211 Add s_nearbyint-c and s_nearbyintf-c.
30212 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30213 nearbyintf inlines.
30214 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30216 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30217 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30218
d38f1dba
UD
30219 * math/math_private.h: Define defaults for libc_fegetround,
30220 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30221 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30222 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30224 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30225 standard functions.
30226 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30227 Remove comments and hacks for old compiler versions.
30228 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30229 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30230 libc_feholdexceptl.
30231
caa6c9d8
AS
302322011-10-18 Andreas Schwab <schwab@redhat.com>
30233
30234 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30235 (__feraiseexcept_renamed): Add __NTH.
30236 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30237 namespace violations.
30238
97c066e6
UD
302392011-10-17 Ulrich Drepper <drepper@gmail.com>
30240
99ce7b04
UD
30241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30242
1004d182
UD
30243 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30244
228a984d
UD
30245 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30246 recently added interfaces.
30247 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30248
c8553a6a
UD
30249 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30250 about macro parameter expansion.
30251
ed22dcf6
UD
30252 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30253 __NO_MATH_INLINES is defined. Cleanups.
30254
30255 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30256 and __floorf is target has SSE4.1.
30257 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30258 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30259 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30260 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30261
b171c137
UD
30262 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30263 name.
30264 (floorf): Likewise.
30265
97c066e6
UD
30266 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30267
629f62ef
AS
302682011-10-17 Andreas Schwab <schwab@redhat.com>
30269
49a43d80
AS
30270 * misc/sys/cdefs.h: Fix last change.
30271
629f62ef
AS
30272 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30273 database lookup.
30274
e453f6cd
UD
302752011-10-16 Ulrich Drepper <drepper@gmail.com>
30276
aa78043a
UD
30277 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30278
ad0f5cad
UD
30279 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30281 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30283 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30285 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30286 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30287 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30288 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30289 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30290 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30291 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30292 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30293 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30294 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30295 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30296 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30297 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30298 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30299 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30300 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30301
30302 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30303 ceil, ceilf, floor, floorf.
30304
30305 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30306 Perform IRELATIVE relocations last.
30307
e453f6cd
UD
30308 * elf/do-rel.h: Add another parameter nrelative, replacing the
30309 local variable with the same name. Change name of the function
30310 to end in Rel or Rela (uppercase).
30311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30312 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30313 elf_dynamic_do_##reloc function.
30314
fd5bdc09
UD
303152011-10-15 Ulrich Drepper <drepper@gmail.com>
30316
79b195b5
UD
30317 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30318 is sufficient, at least on modern CPUs.
30319
d4a28569
UD
30320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30321
b61099b5
UD
30322 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30323 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30324
bcf01e6d
UD
30325 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30326 __expl_finite.
30327 * math/bits/math-finite.h: Add entries for exp.
30328 * math/e_expl.c: Add __*_finite alias.
30329 * sysdeps/i386/fpu/e_exp.S: Likewise.
30330 * sysdeps/i386/fpu/e_expf.S: Likewise.
30331 * sysdeps/i386/fpu/e_expl.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30337 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30338 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30339
ba1a0d59
UD
30340 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30341 is sufficient, at least on modern CPUs.
30342
fd5bdc09
UD
30343 * ctype/ctype-info.c (__ctype_init): Define.
30344 * include/ctype.h (__ctype_init): Declare.
30345 (__ctype_b_loc): The variable is always initialized.
30346 (__ctype_toupper_loc): Likewise.
30347 (__ctype_tolower_loc): Likewise.
30348 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30349 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30350
7872cfb0
AS
303512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30352
b468825a
AS
30353 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30354
7872cfb0
AS
30355 * configure.in: Also look in $cxxmachine/include for C++ system
30356 headers.
30357
be13f7bf
LD
303582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30359
30360 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30361 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30362 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30363 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30364 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30365 (USE_AS_WMEMCMP): New macro.
30366 Fixing indents.
30367 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30368 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30369 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30370 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30372 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30373 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30374 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30375 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30376 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30377 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30378 (USE_AS_WMEMCMP): New macro.
30379 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30380 * sysdeps/string/test-memcmp.c: Update.
30381 Fix simple_wmemcmp.
30382 Add new tests.
30383 * wcsmbs/wmemcmp.c: Update.
30384 (WMEMCMP): New macro.
30385 Fix overflow bug.
30386
556a2007
AJ
303872011-10-12 Andreas Jaeger <aj@suse.de>
30388
30389 [BZ #13268]
30390 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30391
538faaa7
UD
303922011-10-15 Ulrich Drepper <drepper@gmail.com>
30393
ab6737ff
UD
30394 * libio/iofwide.c (do_length): Avoid warning.
30395
538faaa7
UD
30396 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30397
396a21b1
UD
303982011-10-14 Ulrich Drepper <drepper@gmail.com>
30399
cdf2901f
UD
30400 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30401
38ad40ce
UD
30402 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30403 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30404 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30405 * sysdeps/i386/i686/fpu/e_log.S: New file.
30406 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30407 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30408
396a21b1
UD
30409 * ctype/ctype.h: Add support for inlined isXXX functions when
30410 compiling C++ code.
30411
6b1f68c9
AS
304122011-10-14 Andreas Schwab <schwab@redhat.com>
30413
349290c0
AS
30414 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30415
6b1f68c9
AS
30416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30417
f2282d42
RM
304182011-10-13 Roland McGrath <roland@hack.frob.com>
30419
30420 [BZ #13291]
30421 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30422
5298ffa8
AS
304232011-10-13 Andreas Schwab <schwab@redhat.com>
30424
714fad23
AS
30425 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30426 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30427 feraiseexcept.
30428
81dcc7fb
AS
30429 * sysdeps/x86_64/memrchr.S: Check for zero size.
30430
5298ffa8
AS
30431 * string/stratcliff.c: Add memrchr tests.
30432
951fbcec
LD
304332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30434
30435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30436 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30437 rawmemchr-sse2 rawmemchr-sse2-bsf.
30438 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30439 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30440 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30441 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30442 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30443 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30444 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30445 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30446 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30447 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30448 * string/memrchr.c (MEMRCHR): New macro.
30449
0ac5ae23
UD
304502011-10-12 Ulrich Drepper <drepper@gmail.com>
30451
30452 Add integration with gcc's -ffinite-math-only and optimize wrapper
30453 functions in libm.
30454 * Versions.def: Define GLIBC_2.15 version for libm.
30455 * math/Makefile (headers): Add bits/math-finite.h.
30456 * math/bits/math-finite.h: New file.
30457 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30458 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30459 * math/e_acoshl.c: Add __*_finite alias.
30460 * math/e_acosl.c: Likewise.
30461 * math/e_asinl.c: Likewise.
30462 * math/e_atan2l.c: Likewise.
30463 * math/e_atanhl.c: Likewise.
30464 * math/e_coshl.c: Likewise.
30465 * math/e_exp10.c: Likewise.
30466 * math/e_exp10f.c: Likewise.
30467 * math/e_exp10l.c: Likewise.
30468 * math/e_exp2l.c: Likewise.
30469 * math/e_fmodl.c: Likewise.
30470 * math/e_gammal_r.c: Likewise.
30471 * math/e_hypotl.c: Likewise.
30472 * math/e_j0l.c: Likewise.
30473 * math/e_j1l.c: Likewise.
30474 * math/e_jnl.c: Likewise.
30475 * math/e_lgammal_r.c: Likewise.
30476 * math/e_log10l.c: Likewise.
30477 * math/e_log2l.c: Likewise.
30478 * math/e_logl.c: Likewise.
30479 * math/e_powl.c: Likewise.
30480 * math/e_sinhl.c: Likewise.
30481 * math/e_sqrtl.c: Likewise.
30482 * math/e_scalb.c: Completely rewritten and optimized.
30483 * math/e_scalbf.c: Likewise.
30484 * math/e_scalbl.c: Likewise.
30485 * math/w_acos.c: Likewise.
30486 * math/w_acosf.c: Likewise.
30487 * math/w_acosl.c: Likewise.
30488 * math/w_acosh.c: Likewise.
30489 * math/w_acoshf.c: Likewise.
30490 * math/w_acoshl.c: Likewise.
30491 * math/w_asin.c: Likewise.
30492 * math/w_asinf.c: Likewise.
30493 * math/w_asinl.c: Likewise.
30494 * math/w_atan2.c: Likewise.
30495 * math/w_atan2f.c: Likewise.
30496 * math/w_atan2l.c: Likewise.
30497 * math/w_atanh.c: Likewise.
30498 * math/w_atanhf.c: Likewise.
30499 * math/w_atanhl.c: Likewise.
30500 * math/w_exp10.c: Likewise.
30501 * math/w_exp10f.c: Likewise.
30502 * math/w_exp10l.c: Likewise.
30503 * math/w_fmod.c: Likewise.
30504 * math/w_fmodf.c: Likewise.
30505 * math/w_fmodl.c: Likewise.
30506 * math/w_j0.c: Likewise.
30507 * math/w_j0f.c: Likewise.
30508 * math/w_j0l.c: Likewise.
30509 * math/w_j1.c: Likewise.
30510 * math/w_j1f.c: Likewise.
30511 * math/w_j1l.c: Likewise.
30512 * math/w_jn.c: Likewise.
30513 * math/w_jnf.c: Likewise.
30514 * math/w_log.c: Likewise.
30515 * math/w_logf.c: Likewise.
30516 * math/w_logl.c: Likewise.
30517 * math/w_log10.c: Likewise.
30518 * math/w_log10f.c: Likewise.
30519 * math/w_log10l.c: Likewise.
30520 * math/w_log2.c: Likewise.
30521 * math/w_log2f.c: Likewise.
30522 * math/w_log2l.c: Likewise.
30523 * math/w_pow.c: Likewise.
30524 * math/w_powf.c: Likewise.
30525 * math/w_powl.c: Likewise.
30526 * math/w_remainder.c: Likewise.
30527 * math/w_remainderf.c: Likewise.
30528 * math/w_remainderl.c: Likewise.
30529 * math/w_scalb.c: Likewise.
30530 * math/w_scalbf.c: Likewise.
30531 * math/w_scalbl.c: Likewise.
30532 * math/w_sqrt.c: Likewise.
30533 * math/w_sqrtf.c: Likewise.
30534 * math/w_sqrtl.c: Likewise.
30535 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30536 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30537 used.
30538 * math/math_private.h: Declare __kernel_standard_f.
30539 * math/w_cosh.c: Remove cruft and optimize a bit.
30540 * math/w_coshf.c: Likewise.
30541 * math/w_coshl.c: Likewise.
30542 * math/w_exp2.c: Likewise.
30543 * math/w_exp2f.c: Likewise.
30544 * math/w_exp2l.c: Likewise.
30545 * math/w_hypot.c: Likewise.
30546 * math/w_hypotf.c: Likewise.
30547 * math/w_hypotl.c: Likewise.
30548 * math/w_lgamma.c: Likewise.
30549 * math/w_lgamma_r.c: Likewise.
30550 * math/w_lgammaf.c: Likewise.
30551 * math/w_lgammaf_r.c: Likewise.
30552 * math/w_lgammal.c: Likewise.
30553 * math/w_lgammal_r.c: Likewise.
30554 * math/w_sinh.c: Likewise.
30555 * math/w_sinhf.c: Likewise.
30556 * math/w_sinhl.c: Likewise.
30557 * math/w_tgamma.c: Likewise.
30558 * math/w_tgammaf.c: Likewise.
30559 * math/w_tgammal.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30562 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30563 Minor optimizations. Pretty printing. Remove cruft.
30564 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30565 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30566 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30567 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30568 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30569 * sysdeps/i386/fpu/e_asin.S: Likewise.
30570 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30571 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30572 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30573 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30574 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30576 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30577 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30578 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30579 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30580 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30581 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30582 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30583 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30584 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30585 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30586 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30587 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30588 * sysdeps/i386/fpu/e_log.S: Likewise.
30589 * sysdeps/i386/fpu/e_log10.S: Likewise.
30590 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30591 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30592 * sysdeps/i386/fpu/e_log2.S: Likewise.
30593 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30594 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30595 * sysdeps/i386/fpu/e_logf.S: Likewise.
30596 * sysdeps/i386/fpu/e_logl.S: Likewise.
30597 * sysdeps/i386/fpu/e_pow.S: Likewise.
30598 * sysdeps/i386/fpu/e_powf.S: Likewise.
30599 * sysdeps/i386/fpu/e_powl.S: Likewise.
30600 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30601 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30602 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30604 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30606 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30607 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30608 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30630 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30633 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30636 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30637 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30648 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30650 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30694 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30695 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30697 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30700 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30701 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30702 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30703 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30704 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30705 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30706 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30707 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30708 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30709 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30710 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30711 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30712 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30713 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30714 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30715 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30717 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30718 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30719 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30720 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30721 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30722 (__isnanf): Likewise.
30723 (__isinf_ns): Likewise.
30724 (__isinf_nsf): Likewise.
30725 (__finite): Likewise.
30726 (__finitef): Likewise.
30727 (__ieee754_sqrt): Define as macro.
30728 (__ieee754_sqrtf): Define as macro.
30729 (__ieee754_sqrtl): Define as macro.
30730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30731 inlined copy.
30732 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30733 __FINITE_MATH_ONLY__ consistent.
30734 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30735
12cc2fcd
AS
307362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30737
a843a204
AS
30738 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30739 of rawmemchr.
30740
12cc2fcd
AS
30741 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30742
c853acd5
UD
307432011-10-09 Ulrich Drepper <drepper@gmail.com>
30744
30745 * po/ja.po: Update from translation team.
30746
c658d255
RM
307472011-10-08 Roland McGrath <roland@hack.frob.com>
30748
110946e4
RM
30749 * locale/programs/locarchive.c (prepare_address_space): New function.
30750 (create_archive, enlarge_archive, open_archive): Use it.
30751
50604220
RM
30752 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30753 inside [SHARED], where it is used.
30754
c658d255
RM
30755 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30756
30757 * nss/getent.c (netgroup_keys): Remove unused variable.
30758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30759
6a621eb7
UD
307602011-10-08 Ulrich Drepper <drepper@gmail.com>
30761
7edb55ce
UD
30762 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30763 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30765 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30766 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30767 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30768 * math/Makefile (libm-calls): Add s_isinf_ns.
30769 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30770 * math/multc3.c: Likewise.
30771 * math/s_casin.c: Likewise.
30772 * math/s_casinf.c: Likewise.
30773 * math/s_casinl.c: Likewise.
30774 * math/s_ccos.c: Likewise.
30775 * math/s_ccosf.c: Likewise.
30776 * math/s_ccosl.c: Likewise.
30777 * math/s_ctan.c: Likewise.
30778 * math/s_ctanf.c: Likewise.
30779 * math/s_ctanh.c: Likewise.
30780 * math/s_ctanhf.c: Likewise.
30781 * math/s_ctanhl.c: Likewise.
30782 * math/s_ctanl.c: Likewise.
30783 * math/w_fmod.c: Likewise.
30784 * math/w_fmodf.c: Likewise.
30785 * math/w_fmodl.c: Likewise.
30786 * math/w_remainder.c: Likewise.
30787 * math/w_remainderf.c: Likewise.
30788 * math/w_remainderl.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30790 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30793 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30794 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30795 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30796 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30797
187da0ae
UD
30798 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30799 of the number.
30800 * stdio-common/printf_fphex.c: Likewise.
30801 * stdio-common/printf_size.c: Likewise.
30802
9277c064
UD
30803 * math/e_exp10.c: Include math_private.h using <...> not "...".
30804 * math/e_exp10f.c: Likewise.
30805 * math/e_exp10l.c: Likewise.
30806 * math/e_exp2l.c: Likewise.
30807 * math/e_j0l.c: Likewise.
30808 * math/e_j1l.c: Likewise.
30809 * math/e_jnl.c: Likewise.
30810 * math/e_lgammal_r.c: Likewise.
30811 * math/e_rem_pio2l.c: Likewise.
30812 * math/e_scalb.c: Likewise.
30813 * math/e_scalbf.c: Likewise.
30814 * math/e_scalbl.c: Likewise.
30815 * math/k_cosl.c: Likewise.
30816 * math/k_sinl.c: Likewise.
30817 * math/k_tanl.c: Likewise.
30818 * math/s_cacoshf.c: Likewise.
30819 * math/s_catan.c: Likewise.
30820 * math/s_catanf.c: Likewise.
30821 * math/s_catanh.c: Likewise.
30822 * math/s_catanhf.c: Likewise.
30823 * math/s_catanhl.c: Likewise.
30824 * math/s_catanl.c: Likewise.
30825 * math/s_ccosh.c: Likewise.
30826 * math/s_ccoshf.c: Likewise.
30827 * math/s_ccoshl.c: Likewise.
30828 * math/s_cexp.c: Likewise.
30829 * math/s_cexpf.c: Likewise.
30830 * math/s_cexpl.c: Likewise.
30831 * math/s_clog.c: Likewise.
30832 * math/s_clog10.c: Likewise.
30833 * math/s_clog10f.c: Likewise.
30834 * math/s_clog10l.c: Likewise.
30835 * math/s_clogf.c: Likewise.
30836 * math/s_clogl.c: Likewise.
30837 * math/s_csin.c: Likewise.
30838 * math/s_csinf.c: Likewise.
30839 * math/s_csinh.c: Likewise.
30840 * math/s_csinhf.c: Likewise.
30841 * math/s_csinhl.c: Likewise.
30842 * math/s_csinl.c: Likewise.
30843 * math/s_csqrt.c: Likewise.
30844 * math/s_csqrtf.c: Likewise.
30845 * math/s_csqrtl.c: Likewise.
30846 * math/s_ctan.c: Likewise.
30847 * math/s_ctanf.c: Likewise.
30848 * math/s_ctanh.c: Likewise.
30849 * math/s_ctanhf.c: Likewise.
30850 * math/s_ctanhl.c: Likewise.
30851 * math/s_ctanl.c: Likewise.
30852 * math/s_ldexp.c: Likewise.
30853 * math/s_ldexpf.c: Likewise.
30854 * math/s_ldexpl.c: Likewise.
30855 * math/s_significand.c: Likewise.
30856 * math/s_significandf.c: Likewise.
30857 * math/s_significandl.c: Likewise.
30858 * math/w_acos.c: Likewise.
30859 * math/w_acosf.c: Likewise.
30860 * math/w_acosh.c: Likewise.
30861 * math/w_acoshf.c: Likewise.
30862 * math/w_acoshl.c: Likewise.
30863 * math/w_acosl.c: Likewise.
30864 * math/w_asin.c: Likewise.
30865 * math/w_asinf.c: Likewise.
30866 * math/w_asinl.c: Likewise.
30867 * math/w_atan2.c: Likewise.
30868 * math/w_atan2f.c: Likewise.
30869 * math/w_atan2l.c: Likewise.
30870 * math/w_atanh.c: Likewise.
30871 * math/w_atanhf.c: Likewise.
30872 * math/w_atanhl.c: Likewise.
30873 * math/w_cosh.c: Likewise.
30874 * math/w_coshf.c: Likewise.
30875 * math/w_coshl.c: Likewise.
30876 * math/w_dremf.c: Likewise.
30877 * math/w_exp10.c: Likewise.
30878 * math/w_exp10f.c: Likewise.
30879 * math/w_exp10l.c: Likewise.
30880 * math/w_exp2.c: Likewise.
30881 * math/w_exp2f.c: Likewise.
30882 * math/w_fmod.c: Likewise.
30883 * math/w_fmodf.c: Likewise.
30884 * math/w_fmodl.c: Likewise.
30885 * math/w_hypot.c: Likewise.
30886 * math/w_hypotf.c: Likewise.
30887 * math/w_hypotl.c: Likewise.
30888 * math/w_j0.c: Likewise.
30889 * math/w_j0f.c: Likewise.
30890 * math/w_j0l.c: Likewise.
30891 * math/w_j1.c: Likewise.
30892 * math/w_j1f.c: Likewise.
30893 * math/w_j1l.c: Likewise.
30894 * math/w_jn.c: Likewise.
30895 * math/w_jnf.c: Likewise.
30896 * math/w_jnl.c: Likewise.
30897 * math/w_lgamma.c: Likewise.
30898 * math/w_lgamma_r.c: Likewise.
30899 * math/w_lgammaf.c: Likewise.
30900 * math/w_lgammaf_r.c: Likewise.
30901 * math/w_lgammal.c: Likewise.
30902 * math/w_lgammal_r.c: Likewise.
30903 * math/w_log.c: Likewise.
30904 * math/w_log10.c: Likewise.
30905 * math/w_log10f.c: Likewise.
30906 * math/w_log10l.c: Likewise.
30907 * math/w_log2.c: Likewise.
30908 * math/w_log2f.c: Likewise.
30909 * math/w_log2l.c: Likewise.
30910 * math/w_logf.c: Likewise.
30911 * math/w_logl.c: Likewise.
30912 * math/w_pow.c: Likewise.
30913 * math/w_powf.c: Likewise.
30914 * math/w_powl.c: Likewise.
30915 * math/w_remainder.c: Likewise.
30916 * math/w_remainderf.c: Likewise.
30917 * math/w_remainderl.c: Likewise.
30918 * math/w_scalb.c: Likewise.
30919 * math/w_scalbf.c: Likewise.
30920 * math/w_scalbl.c: Likewise.
30921 * math/w_sinh.c: Likewise.
30922 * math/w_sinhf.c: Likewise.
30923 * math/w_sinhl.c: Likewise.
30924 * math/w_sqrt.c: Likewise.
30925 * math/w_sqrtf.c: Likewise.
30926 * math/w_sqrtl.c: Likewise.
30927 * math/w_tgamma.c: Likewise.
30928 * math/w_tgammaf.c: Likewise.
30929 * math/w_tgammal.c: Likewise.
30930
6a621eb7
UD
30931 * po/ja.po: Update from translation team.
30932
bf582445
AJ
309332011-09-29 Andreas Jaeger <aj@suse.de>
30934
f9efbf3a
AJ
30935 [BZ #13179]
30936 * sunrpc/netname.c (netname2host): Fix logic.
30937
bf582445
AJ
30938 [BZ #6779]
30939 [BZ #6783]
30940 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30941 correctly.
30942 * math/w_remainder.c (__remainder): Likewise.
30943 * math/w_remainderf.c (__remainderf): Likewise.
30944 * math/libm-test.inc (remainder_test): Add test cases.
30945
48693bea
AK
309462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30947
30948 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30949 sdiv_qrnnd.
30950
42622229
LD
309512011-10-07 Ulrich Drepper <drepper@gmail.com>
30952
30953 * string/test-memcmp.c: Avoid unncessary #defines.
30954 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30955
093ecf92
LD
309562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30957
30958 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30959 Use new sse2 version for core i3 - i7 as it's faster
30960 than sse42 version.
30961 (bit_Prefer_PMINUB_for_stringop): New.
30962 * sysdeps/x86_64/rawmemchr.S: Update.
30963 Replace with faster SSE2 version.
30964 * sysdeps/x86_64/memrchr.S: New file.
30965 * sysdeps/x86_64/memchr.S: Update.
30966 Replace with faster SSE2 version.
30967
fde56e5c
MP
309682011-09-12 Marek Polacek <mpolacek@redhat.com>
30969
30970 * elf/dl-load.c (lose): Add cast to avoid warning.
30971
21fd49a9
UD
309722011-10-07 Ulrich Drepper <drepper@gmail.com>
30973
5a06e643
UD
30974 * po/ca.po: Update from translation team.
30975
684ae515
UD
30976 * inet/getnetgrent_r.c: Hook up nscd.
30977 * nscd/Makefile (routines): Add nscd_netgroup.
30978 (nscd-modules): Add netgroupcache.
30979 (CFLAGS-netgroupcache.c): Define.
30980 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30981 (cache_search): Add const to second parameter.
30982 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30983 INNETGR.
30984 (dbs): Add netgrdb entry.
30985 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30986 (verify_persistent_db): Handle netgrdb.
30987 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30988 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30989 GETFDNETGR.
30990 (netgroup_response_header): Define.
30991 (innetgroup_response_header): Define.
30992 (datahead): Add netgroup_response_header and innetgroup_response_header
30993 elements.
30994 * nscd/nscd.conf: Add entries for netgroup cache.
30995 * nscd/nscd.h (dbtype): Add netgrdb.
30996 (_PATH_NSCD_NETGROUP_DB): Define.
30997 (netgroup_iov_disabled): Declare.
30998 (xmalloc, xcalloc, xrealloc): Move declarations here.
30999 (cache_search): Adjust prototype.
31000 Add netgroup-related prototypes.
31001 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31002 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31003 (__nscd_innetgr): Declare.
31004 * nscd/selinux.c (perms): Use access_vector_t as element type and
31005 add netgroup-related initializers.
31006 * nscd/netgroupcache.c: New file.
31007 * nscd/nscd_netgroup.c: New file.
31008 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31009 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31010 For four parameters use innetgr.
31011 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31012 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31013 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31014 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31015
21fd49a9
UD
31016 * nscd/connections.c (register_traced_file): Don't register file
31017 for disabled databases.
31018
054c0457
UD
310192011-10-06 Ulrich Drepper <drepper@gmail.com>
31020
32b63198
UD
31021 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31022
054c0457
UD
31023 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31024 from tree and freeing node.
31025
64031225
JO
310262011-09-25 Jiri Olsa <jolsa@redhat.com>
31027
31028 * nss/nsswitch.c (__nss_database_lookup): Handle
31029 nss_parse_service_list out of memory case.
31030
0490345c
JO
310312011-09-15 Jiri Olsa <jolsa@redhat.com>
31032
31033 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31034 out of memory case.
31035
3a62d00d
AS
310362011-10-04 Andreas Schwab <schwab@redhat.com>
31037
31038 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31039 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31040 pass it down.
31041 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31042 elf_machine_rela, elf_machine_lazy_rel.
31043 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31044 (ELF_DYNAMIC_DO_REL): Likewise.
31045 (ELF_DYNAMIC_DO_RELA): Likewise.
31046 (ELF_DYNAMIC_RELOCATE): Likewise.
31047 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31048 to ELF_DYNAMIC_DO_REL.
31049 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31050 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31051 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31052 elf_machine_rela.
31053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31054 skip_ifunc, don't call ifunc function if non-zero.
31055 (elf_machine_rela): Likewise.
31056 (elf_machine_lazy_rel): Likewise.
31057 (elf_machine_lazy_rela): Likewise.
31058 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31059 (elf_machine_lazy_rel): Likewise.
31060 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31061 Likewise.
31062 (elf_machine_lazy_rel): Likewise.
31063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31064 Likewise.
31065 (elf_machine_lazy_rel): Likewise.
31066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31067 (elf_machine_lazy_rel): Likewise.
31068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31069 (elf_machine_lazy_rel): Likewise.
31070 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31071 (elf_machine_lazy_rel): Likewise.
31072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31073 (elf_machine_lazy_rel): Likewise.
31074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31075 (elf_machine_lazy_rel): Likewise.
31076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31077 (elf_machine_lazy_rel): Likewise.
31078
68577918
UD
310792011-09-28 Ulrich Drepper <drepper@gmail.com>
31080
31081 * nss/nss_files/files-init.c (_nss_files_init): Use static
31082 initialization for all the *_traced_file variables.
31083
68822d74
AS
310842011-09-28 Andreas Schwab <schwab@redhat.com>
31085
31086 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31087
2056100b
RM
310882011-09-27 Roland McGrath <roland@hack.frob.com>
31089
31090 [BZ #13226]
31091 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31092
32c76b63
AS
310932011-09-27 Andreas Schwab <schwab@redhat.com>
31094
31095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31096 Reread the line before reparsing it.
31097
bf972c9d
AS
310982011-09-26 Andreas Schwab <schwab@redhat.com>
31099
31100 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31101
e057a1b5
JM
311022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31103 Maxim Kuvyrkov <maxim@codesourcery.com>
31104 Joseph Myers <joseph@codesourcery.com>
31105
31106 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31107 if needed for __stack_chk_guard.
31108
bc7e1c36
RM
311092011-09-19 Roland McGrath <roland@hack.frob.com>
31110
ecb1482f
RM
31111 * sysdeps/posix/spawni.c (script_execute): Always define it.
31112 It will be optimized away if unused.
31113 (maybe_script_execute): New function.
31114 (__spawni): Call it.
31115
bc7e1c36
RM
31116 * Makerules: Don't include tls.make.
31117 (config-tls): Always set to thread.
31118 * tls.make.c: File removed.
31119
1c3b002b
MF
311202011-09-19 Mike Frysinger <vapier@gentoo.org>
31121
31122 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31123 * config.make.in (CPPFLAGS-config): New substituted variable.
31124
2840865d
UD
311252011-09-15 Ulrich Drepper <drepper@gmail.com>
31126
88738eb6
UD
31127 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31128
cbf645a6 31129 [BZ #13192]
2840865d
UD
31130 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31131 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31132
b402e91a
RM
311332011-09-15 Roland McGrath <roland@hack.frob.com>
31134
31135 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31136 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31138 (CALL_FAIL): Likewise.
31139 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31140 (CALL_FAIL): Macro removed.
31141 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31142
4c1a1f71
UD
311432011-09-15 Ulrich Drepper <drepper@gmail.com>
31144
31145 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31146 for __FINITE_MATH_ONLY__ == 1.
31147
edc121be
AS
311482011-09-15 Andreas Schwab <schwab@redhat.com>
31149
31150 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31151 __ieee754_sqrt instead of sqrt.
31152 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31153 __ieee754_sqrtf instead of sqrtf.
31154 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31155 __floorf instead of floorf.
31156 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31157 __floorf, __truncf instead of floorf, truncf.
31158
cd205654
UD
311592011-09-14 Ulrich Drepper <drepper@gmail.com>
31160
ee4d0315
UD
31161 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31162
cd205654
UD
31163 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31164 __extern_always_inline.
31165 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31166 32-bit.
31167
48b67d71
AS
311682011-09-14 Andreas Schwab <schwab@redhat.com>
31169
31170 * elf/rtld.c (dl_main): Also relocate in dependency order when
31171 doing symbol dependency testing.
31172
1ae12c75
AS
311732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31174
31175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31176 Always define `refsym'.
31177
995a80df
AS
311782011-09-13 Andreas Schwab <schwab@redhat.com>
31179
e529793b
AS
31180 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31181 (__FD_ELT): Renamed from __FDELT.
31182 * misc/bits/select2.h (__FD_ELT): Likewise.
31183 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31184 __FD_MASK instead of __FDELT, __FDMASK.
31185 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31186 Likewise.
31187 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31188 Likewise.
31189
52d4fef8
AS
31190 * elf/Makefile (gen-ldd): Fix pattern.
31191
995a80df
AS
31192 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31193 (init_tls): Likewise.
31194
8682f8b0
UD
311952011-09-12 Ulrich Drepper <drepper@gmail.com>
31196
31197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31198
de82006d
AS
311992011-09-12 Andreas Schwab <schwab@redhat.com>
31200
a7c8e6a1
AS
31201 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31202 `struct cmsghdr *' instead of `void *'.
31203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31204 Likewise.
31205
0f31fe77
AS
312062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31207
31208 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31209 if non-absolute.
31210 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31211 ldd_rewrite_script.
0f31fe77 31212
32b4c839
UD
312132011-09-11 Ulrich Drepper <drepper@gmail.com>
31214
83cd1420
UD
31215 * configure.in: Remove --with-tls option.
31216 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31217 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31218 out in case it is missing.
31219 * sysdeps/ia64/elf/configure.in: Likewise.
31220 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31221 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31222 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31223 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31224 * sysdeps/sh/elf/configure.in: Likewise.
31225 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31226 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31227 * sysdeps/x86_64/elf/configure.in: Likewise.
31228 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31229 * sysdeps/mach/hurd/tls.h: Likewise.
31230
633f745d
UD
31231 [BZ #13067]
31232 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31233
f318beb8
UD
31234 [BZ #13090]
31235 * configure.in: Fix use of AC_INIT.
31236
32b4c839
UD
31237 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31238
3ce1f295
UD
312392011-09-10 Ulrich Drepper <drepper@gmail.com>
31240
bb016596
UD
31241 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31242 __set_errno.
8e58439c
UD
31243 * malloc/hooks.c: Likewise.
31244
aebae053 31245 [BZ #11929]
02d46fc4
UD
31246 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31247 variables statically.
31248 (narenas): Initialize.
31249 (list_lock): Initialize.
bb016596
UD
31250 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31251 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31252 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31253 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31254 Add initializers to main_arena and mp_.
31255 (malloc_state): Remove pagesize member. Change all users to use
31256 GLRO(dl_pagesize).
31257
31258 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31259 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31260 is always initialized.
31261
22a89187
UD
31262 * malloc/malloc.c: Removed unused configurations and dead code.
31263 * malloc/arena.c: Likewise.
31264 * malloc/hooks.c: Likewise.
02d46fc4 31265 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31266
d063d164
UD
31267 * include/tls.h: Removed. USE___THREAD must always be defined.
31268 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31269 * elf/dl-libc.c: Likewise.
31270 * elf/dl-tsd.c: Likewise.
31271 * include/errno.h: Likewise.
31272 * include/netdb.h: Likewise.
31273 * include/resolv.h: Likewise.
31274 * inet/herrno-loc.c: Likewise.
31275 * inet/herrno.c: Likewise.
31276 * malloc/arena.c: Likewise.
31277 * malloc/hooks.c: Likewise.
31278 * malloc/malloc.c: Likewise.
31279 * resolv/res-state.c: Likewise.
31280 * resolv/res_libc.c: Likewise.
31281 * sysdeps/i386/dl-machine.h: Likewise.
31282 * sysdeps/ia64/dl-machine.h: Likewise.
31283 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31284 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31285 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31286 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31287 * sysdeps/sh/dl-machine.h: Likewise.
31288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31289 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31290 * sysdeps/unix/i386/sysdep.S: Likewise.
31291 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31292 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31297 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31301 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31302 * sysdeps/x86_64/dl-machine.h: Likewise.
31303 * tls.make.c: Likewise.
31304
3ce1f295
UD
31305 * configure.in: Remove --with-__thread option. Make tests for
31306 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31307 tls_model attribute fail if no support is available. Remove
31308 USE_IN_LIBIO.
31309 * Makeconfig: Adjust for dropped configure option. All features are
31310 now mandatory.
31311 * Makerules: Likewise.
31312 * Versions.def: Likewise.
31313 * argp/argp-fmtstream.c: Likewise.
31314 * argp/argp-fmtstream.h: Likewise.
31315 * argp/argp-help.c: Likewise.
31316 * assert/assert.c: Likewise.
31317 * config.h.in: Likewise.
31318 * config.make.in: Likewise.
31319 * configure: Likewise.
31320 * configure.in: Likewise.
31321 * csu/Versions: Likewise.
31322 * csu/init.c: Likewise.
31323 * elf/tst-audit2.c: Likewise.
31324 * elf/tst-tls10.c: Likewise.
31325 * elf/tst-tls10.h: Likewise.
31326 * elf/tst-tls11.c: Likewise.
31327 * elf/tst-tls12.c: Likewise.
31328 * elf/tst-tls14.c: Likewise.
31329 * elf/tst-tlsmod11.c: Likewise.
31330 * elf/tst-tlsmod12.c: Likewise.
31331 * elf/tst-tlsmod13.c: Likewise.
31332 * elf/tst-tlsmod13a.c: Likewise.
31333 * elf/tst-tlsmod14a.c: Likewise.
31334 * elf/tst-tlsmod15b.c: Likewise.
31335 * elf/tst-tlsmod16a.c: Likewise.
31336 * elf/tst-tlsmod16b.c: Likewise.
31337 * elf/tst-tlsmod7.c: Likewise.
31338 * elf/tst-tlsmod8.c: Likewise.
31339 * elf/tst-tlsmod9.c: Likewise.
31340 * gmon/gmon.c: Likewise.
31341 * grp/fgetgrent_r.c: Likewise.
31342 * grp/putgrent.c: Likewise.
31343 * hurd/fopenport.c: Likewise.
31344 * include/libc-symbols.h: Likewise.
31345 * include/tls.h: Likewise.
31346 * intl/gettextP.h: Likewise.
31347 * intl/loadinfo.h: Likewise.
31348 * locale/global-locale.c: Likewise.
31349 * locale/localeinfo.h: Likewise.
31350 * mach/devstream.c: Likewise.
31351 * malloc/arena.c: Likewise.
31352 * malloc/set-freeres.c: Likewise.
31353 * misc/err.c: Likewise.
31354 * misc/getttyent.c: Likewise.
31355 * misc/mntent_r.c: Likewise.
31356 * posix/getopt.c: Likewise.
31357 * posix/wordexp.c: Likewise.
31358 * pwd/fgetpwent_r.c: Likewise.
31359 * resolv/Versions: Likewise.
31360 * resolv/res_hconf.c: Likewise.
31361 * shadow/fgetspent_r.c: Likewise.
31362 * shadow/putspent.c: Likewise.
31363 * stdio-common/printf_fphex.c: Likewise.
31364 * stdio-common/tmpfile.c: Likewise.
31365 * stdlib/abort.c: Likewise.
31366 * stdlib/fmtmsg.c: Likewise.
31367 * sunrpc/auth_unix.c: Likewise.
31368 * sunrpc/clnt_perr.c: Likewise.
31369 * sunrpc/clnt_tcp.c: Likewise.
31370 * sunrpc/clnt_udp.c: Likewise.
31371 * sunrpc/clnt_unix.c: Likewise.
31372 * sunrpc/openchild.c: Likewise.
31373 * sunrpc/svc_simple.c: Likewise.
31374 * sunrpc/svc_tcp.c: Likewise.
31375 * sunrpc/svc_udp.c: Likewise.
31376 * sunrpc/svc_unix.c: Likewise.
31377 * sunrpc/xdr.c: Likewise.
31378 * sunrpc/xdr_array.c: Likewise.
31379 * sunrpc/xdr_rec.c: Likewise.
31380 * sunrpc/xdr_ref.c: Likewise.
31381 * sunrpc/xdr_stdio.c: Likewise.
31382
1248c1c4
PB
313832011-09-09 Ulrich Drepper <drepper@gmail.com>
31384
31385 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31386
313872011-07-03 Andreas Jaeger <aj@suse.de>
31388
31389 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31390 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31391 regenerate with gen-libm-tests.pl.
31392
313932010-05-12 Petr Baudis <pasky@suse.cz>
31394
31395 [BZ #11589]
31396 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31397 around j0() zero points by switching to j1().
31398 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31402
f22e1074
UD
314032011-09-09 Ulrich Drepper <drepper@gmail.com>
31404
f19009c1
UD
31405 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31406 instead of 0.
31407 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31408 instead of 0.
f19009c1
UD
31409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31410 Patch in part by Pavel Roskin <proski@gnu.org>.
31411
3f8cc204
UD
31412 [BZ #13138]
31413 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31414 realloc.
31415 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31416 Free memory block if necessary.
31417
f22e1074
UD
31418 [BZ #12847]
31419 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31420 be NULL. Don't lock in this case.
31421
0a2349f9
RM
314222011-09-09 Roland McGrath <roland@hack.frob.com>
31423
31424 * elf/elf.h (ELFOSABI_GNU): New macro.
31425 (ELFOSABI_LINUX): Define to that.
31426
f3cdd467
DZ
314272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31428
31429 * string/strncat.c (strncat): Undef the symbol in case it has been
31430 defined in bits/string.h.
31431
74718d13
UD
314322011-09-09 Ulrich Drepper <drepper@gmail.com>
31433
633e9e0f
UD
31434 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31435
0a2349f9 31436 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31437 link map.
31438
f9924780
AJ
314392011-08-17 Andreas Jaeger <aj@suse.de>
31440
31441 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31442
7f5517aa
PP
314432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31444 Ian Lance Taylor <iant@google.com>
31445
31446 * math/libm-test.inc (lround_test): New testcase.
31447 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31448
762011fe
UD
314492011-09-08 Ulrich Drepper <drepper@gmail.com>
31450
92963737
UD
31451 * Makefile: Remove support for automatic cvs check-ins.
31452 * Makerules: Likewise.
31453 * config.make.in: Likewise.
31454 * configure.in: Likewise.
31455 * intl/Makefile: Likewise.
31456 * locale/Makefile: Likewise.
31457 * po/Makefile: Likewise.
31458 * posix/Makefile: Likewise.
31459 * sysdeps/gnu/Makefile: Likewise.
31460 * sysdeps/mach/hurd/Makefile: Likewise.
31461 * sysdeps/sparc/sparc32/Makefile: Likewise.
31462
b0727fd8
JS
31463 [BZ #13118]
31464 * posix/Makefile (bug-regex32-ENV): Define.
31465 Patch by John Stanley <jpsinthemix@verizon.net>.
31466
a0f33f99
UD
31467 * misc/Makefile (headers): Add bits/select2.h.
31468 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31469 * misc/bits/select2.h: New file.
31470 * include/bits/select2.h: New file.
31471 * debug/Makefile (routines): Add fdelt_chk.
31472 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31473 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31474 FD_ISSET.
31475 * debug/fdelt_chk.c: New file.
31476
762011fe
UD
31477 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31478 * wcsmbs/test-wmemcmp.c: Likewise.
31479 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31480 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31481
314822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31483
31484 * string/Makefile (strop-tests): Add memcmp.
31485 * string/test-wmemcmp.c: New file.
31486 * string/test-memcmp.c: Add wmemcmp support.
31487
7f513ec8
RM
314882011-09-08 Roland McGrath <roland@hack.frob.com>
31489
0442afb4
RM
31490 [BZ #13153]
31491 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31492 2011-07-19 change.
31493
7f513ec8
RM
31494 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31495 garbage value in a __mach_port_mod_refs call in the cases of the
31496 task-self and thread-self ports.
31497
a12b2239
ST
314982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31499
31500 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31501
610f9ab4
AS
315022011-09-08 Andreas Schwab <schwab@redhat.com>
31503
7f513ec8 31504 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31505
48882a1a
LD
315062011-09-07 Ulrich Drepper <drepper@gmail.com>
31507
b49865be
UD
31508 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31509
fdc86bc9
UD
31510 * elf/dl-libc.c (dlerror_run): Pass back error code from
31511 dl_catch_error.
31512
c966526a
UD
31513 [BZ #13123]
31514 * elf/dl-load.c (lose): Free l_origin if it is valid.
31515
48882a1a
LD
31516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31517 names.
31518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31522 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31523 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31524
77a2a8b4
AZ
315252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31526
31527 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31528 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31529 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31530 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31531 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31532 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31533 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31534 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31535 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31536 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31537
24f579d8
AM
315382011-08-15 Alan Modra <amodra@gmail.com>
31539
31540 [BZ #13092]
31541 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31542 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31543 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31544 ppc_mcount to static-only-routines.
31545 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31546 __mcount_internal.
31547 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31548 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31549
3d4837df
UD
315502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31551
31552 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31553 for finite and infinity parameters.
31554
22700377
WS
315552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31556
31557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31558 and add nop instructions for throughput optimization.
31559 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31560
5025581e
WS
315612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31562
31563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31564 aligned copy for power7 with vector-scalar instructions.
31565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31566
08a300c9
L
315672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31568
31569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31570 AVX check.
31571
59178ef9
AS
315722011-09-07 Andreas Schwab <schwab@redhat.com>
31573
31574 [BZ #13144]
31575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31576 last change.
31577
e38ba7ab
UD
315782011-09-07 Ulrich Drepper <drepper@gmail.com>
31579
31580 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31581 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31582 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31583 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31584 clock_gettime.
31585
d53a73ac
UD
315862011-09-06 Ulrich Drepper <drepper@gmail.com>
31587
fc8bffcc
UD
31588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31589 Forgot to demangle the pointer.
31590
ceaa0c5d
UD
31591 * sysdeps/i386/sysdep.h: Define atom_text_section.
31592 * sysdeps/x86_64/sysdep.h: Likewise.
31593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31594 section with atom_text_section.
31595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31596 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31597 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31599 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31600
a77d3c17
UD
31601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31602 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31603 already be defined. Change to take two parameters and don't assign
31604 result to variable. Adjust all users.
31605 Define INTERNAL_GETTIME if not already defined.
31606 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31607 call.
31608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31609 HAVE_CLOCK_GETTIME_VSYSCALL.
31610 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31611
d53a73ac
UD
31612 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31613 gettimeofday vsyscall, just use time.
31614
a8f84144
AS
316152011-09-06 Andreas Schwab <schwab@redhat.com>
31616
31617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31618 <errno.h>.
31619
ef606249
UD
316202011-09-06 Ulrich Drepper <drepper@gmail.com>
31621
31622 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31623 syscall on x86-64.
31624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31625 syscall.
31626 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31628 syscall if possible.
31629
6585cb60
UD
316302011-09-05 Ulrich Drepper <drepper@gmail.com>
31631
31632 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31633 e_ident. Don't pass to find_mapsXX.
31634 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31635
a5f524e4
LD
316362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31637
31638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31639 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31640 * sysdeps/x86_64/multiarch/strchr.S: Update.
31641 Check bit_slow_BSF bit.
31642 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31643 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31644 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31645
554881ef
UD
316462011-09-05 Ulrich Drepper <drepper@gmail.com>
31647
d96de963
UD
31648 [BZ #13134]
31649 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31650 before glibc 2.15.
31651 (tryshell): Define.
31652 (__spawni): Change last parameter to be flag. Test
31653 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31654 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31655 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31656 * posix/spawni.c: Likewise.
31657 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31658 * posix/spawnp.c: Likewise. Change normal version to use
31659 SPAWN_XFLAGS_USE_PATH.
31660 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31661 SPAWN_XFLAGS_TRY_SHELL.
31662
d48e5868
UD
31663 [BZ #13150]
31664 * posix/glob.h: Remove gcc 1.x support.
31665
554881ef
UD
31666 [BZ #13068]
31667 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31668
693fb948
LD
316692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31670
31671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31672 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31673 strrchr-sse2-bsf
31674 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31675 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31676 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31678 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31680
1b48c537
UD
316812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31682
49d42c37
UD
31683 * sysdeps/x86_64/wcscmp.S: New file.
31684
1b48c537
UD
31685 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31686 wcscmp-c wcscmp-sse2
31687 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31688 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31689 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31690 * wcsmbs/wcscmp.c: Allow renaming.
31691
15c95c5d
DM
316922011-09-05 David S. Miller <davem@davemloft.net>
31693
31694 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31695 stack slot, rather than the struct return pointer slot.
31696 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31697 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31699 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31700
2f0ad8f3
UD
317012011-09-05 Ulrich Drepper <drepper@gmail.com>
31702
d88ae418
UD
31703 * po/ja.po: Update from translation team.
31704
2f0ad8f3
UD
31705 [BZ #13144]
31706 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31707 kernel in 64-bit binaries.
31708
5f4318d1
DM
317092011-09-01 David S. Miller <davem@davemloft.net>
31710
31711 * elf/elf.h (HWCAP_SPARC_*): Move to..
31712 * sysdeps/sparc/sysdep.h: this new file and add new values.
31713 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31714 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31715 _DL_HWCAP_COUNT to 24.
31716 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31717 entries.
31718 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31719 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31720 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31722 instead of magic constants.
31723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31724
3ba57516
DM
317252011-08-31 David S. Miller <davem@davemloft.net>
31726
31727 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31728 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31729 Reimplement to do errno handling inline.
31730 (SYSCALL_ERROR_HANDLER): New macro.
31731 (__SYSCALL_STRING): Do not do errno handling in asm.
31732 (__CLONE_SYSCALL_STRING): Delete.
31733 (__INTERNAL_SYSCALL_STRING): Delete.
31734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31735 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31736 (PSEUDO): Reimplement to do errno handling inline.
31737 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31738 (SYSCALL_ERROR_HANDLER): New macro.
31739 (__SYSCALL_STRING): Do not do errno handling in asm.
31740 (__CLONE_SYSCALL_STRING): Delete.
31741 (__INTERNAL_SYSCALL_STRING): Delete.
31742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31743 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31744 i386.
31745 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31746 (inline_syscall*): Add 'err' argument.
31747 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31748 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31749 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31750 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31751
31752 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31753 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31754
2bc17433
AS
317552011-08-30 Andreas Schwab <schwab@redhat.com>
31756
31757 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31758
fbeb5f4d
JO
317592011-08-29 Jiri Olsa <jolsa@redhat.com>
31760
31761 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31762 directive.
31763
ad69cc26
DM
317642011-08-24 David S. Miller <davem@davemloft.net>
31765
31766 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31767
39dd69df
AS
317682011-08-24 Andreas Schwab <schwab@redhat.com>
31769
31770 * elf/Makefile: Add rules to build and run unload8 test.
31771 * elf/unload8.c: New file.
31772 * elf/unload8mod1.c: New file.
31773 * elf/unload8mod1x.c: New file.
31774 * elf/unload8mod2.c: New file.
31775 * elf/unload8mod3.c: New file.
31776
31777 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31778 it wasn't used.
31779
2c0b250a
DM
317802011-08-23 David S. Miller <davem@davemloft.net>
31781
31782 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31783 subtract stack bias.
31784 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31785 %sp not %fp in calculations.
31786 (_JMPBUF_UNWINDS_ADJ): Likewise.
31787
22044b48
DM
31788 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31789 (aio_suspend): Call it to force an exception region around the
31790 AIO_MISC_WAIT() invocation.
31791
2cae4995
AS
317922011-08-23 Andreas Schwab <schwab@redhat.com>
31793
31794 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31795 backslash.
31796
873a772e
AJ
317972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31798
31799 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31800 protection macro.
31801 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31802 and <dl-machine.h>.
31803 (Elf64_FuncDesc): Remove.
31804
25ad0df1
DM
318052011-08-22 David S. Miller <davem@davemloft.net>
31806
31807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31808 sigaltstack check, add missing cfi directives.
31809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31810 missing cfi directives, and sigaltstack handling.
31811
e888bcbe
AS
318122011-08-16 Andreas Schwab <schwab@redhat.com>
31813
31814 [BZ #11724]
31815 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31816 object is seen twice.
31817 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31818
31819 * elf/Makefile (distribute): Add tst-initorder2.c.
31820 (tests): Add tst-initorder2.
31821 (modules-names): Add tst-initorder2a tst-initorder2b
31822 tst-initorder2c tst-initorder2d. Add rules to build them.
31823 ($(objpfx)tst-initorder2.out): New rule.
31824 * elf/tst-initorder2.c: New file.
31825 * elf/tst-initorder2.exp: New file.
31826
87162f46
AS
318272011-08-22 Andreas Schwab <schwab@redhat.com>
31828
70538b7f
AS
31829 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31830
f55ffe58
AS
31831 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31832 dependencies back to end of function.
31833
87162f46
AS
31834 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31835 $(elfobjdir)/ld.so.
31836
91b392a4
UD
318372011-08-21 Ulrich Drepper <drepper@gmail.com>
31838
31839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31840 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31842 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31843 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31844 of __vdso_gettimeofday.
31845 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31846 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31847 attribute_hidden.
31848 (_libc_vdso_platform_setup): Remove initialization of
31849 __vdso_gettimeofday and __vdso_time.
31850
5c43483f
UD
318512011-08-20 Ulrich Drepper <drepper@gmail.com>
31852
775a77e7
UD
31853 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31854 and fgetc_unlocked.
31855 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31856 getc_unlocked.
89f447ed 31857
49c74ba9
UD
31858 * elf/dl-open.c (add_to_global): Report additions to the global scope
31859 for LD_DEBUG=scopes.
31860 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31861 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31862
5c43483f
UD
31863 [BZ #13114]
31864 * stdio-common/Makefile (tests): Add bug24.
31865 * stdio-common/bug24.c: New file.
31866
a101b025
AJ
318672011-08-19 Andreas Jaeger <aj@suse.de>
31868
31869 [BZ #13114]
31870 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31871 non-existant file when using close-on-exec mode.
31872
c88f1766
UD
318732011-08-20 Ulrich Drepper <drepper@gmail.com>
31874
0276a718
UD
31875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31876 the very first instruction.
31877
c88f1766
UD
31878 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31879 the CFI state in the end.
31880 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31881 inclusion of dl-trampoline.h.
31882 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31883
51ccffa0
AS
318842011-08-19 Andreas Schwab <schwab@redhat.com>
31885
94d7165f
AS
31886 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31887 expectations for long double.
31888
51ccffa0
AS
31889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31890 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31891
fd708658 318922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31893
31894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31895 artificual limit depends upon the system page size.
31896
44f0a71e
UD
318972011-08-17 Ulrich Drepper <drepper@gmail.com>
31898
31899 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31900 * resolv/Makefile: Define CFLAGS-libresolv.
31901
8de79a24
AS
319022011-08-17 Andreas Schwab <schwab@redhat.com>
31903
31904 * nss/makedb.c (compute_tables): Make variables used in nested
31905 function static.
31906
27724598
UD
319072011-08-17 Ulrich Drepper <drepper@gmail.com>
31908
c5305d88
UD
31909 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31910 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31911 if buffer was too small.
31912
27724598
UD
31913 * elf/pldd.c (main): Attach to all threads in the process.
31914 Rewrite /proc handling to use *at functions.
31915
076fe015
UD
319162011-08-16 Ulrich Drepper <drepper@gmail.com>
31917
174baab3
UD
31918 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31919 specifies first scope to show.
31920 (dl_open_worker): Update callers. Move printing scope of new
31921 object to before the relocation.
44f0a71e 31922 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31923 * sysdeps/generic/ldsodefs.h: Update declaration.
31924
076fe015
UD
31925 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31926 string for the scope number.
31927
a60df2c3
UD
319282011-08-14 Ulrich Drepper <drepper@gmail.com>
31929
31930 * nscd/servicescache.c (cache_addserv): Make sure written is always
31931 initialized.
31932
5e4287d1
RM
319332011-08-14 Roland McGrath <roland@hack.frob.com>
31934
85ae0589
RM
31935 * sysdeps/i386/i486/bits/atomic.h
31936 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31937 statement expression, so as to suppress "set but not used" warning.
31938 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31939
69f63097
RM
31940 * string/strncat.c (STRNCAT): Use prototype definition.
31941
675456ef
RM
31942 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31943 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31944 -Iprograms here.
31945 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31946 (localedef-modules): Add localedef.
31947 (locale-modules): Add locale.
31948
5e4287d1
RM
31949 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31950 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31951 to avoid a warning.
31952
9c96ff23
DM
319532011-08-14 David S. Miller <davem@davemloft.net>
31954
31955 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31956 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31957
f9ddf089
UD
319582011-08-13 Ulrich Drepper <drepper@gmail.com>
31959
44f0a71e 31960 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31961 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31962 * elf/rtld.c (dl_main): Set l_name of vDSO.
31963 Call _dl_show_scope when DL_DEBUG_SCOPES.
31964 (process_dl_debug): Recognize scopes flag and also set it for all.
31965 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31966 Declare _dl_show_scope.
31967
1dc27704
UD
31968 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31969 (do_dlopen): Pass caller_dlopen to dl_open.
31970 (__libc_dlopen_mode): Initialize caller_dlopen.
31971
f9ddf089
UD
31972 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31973 of libc. Make tolower call locale-independent. Optimize a bit by
31974 using isdigit instead of isalnum.
31975 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31976
9ac533d3
UD
319772011-08-12 Ulrich Drepper <drepper@gmail.com>
31978
31979 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31980 was a dependency or dynamically loaded.
31981
89edf2e9
UD
319822011-08-11 Ulrich Drepper <drepper@gmail.com>
31983
8e999d29
UD
31984 * intl/l10nflist.c: Allow architecture-specific pop function.
31985 * sysdeps/x86_64/l10nflist.c: New file.
31986
89edf2e9
UD
31987 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31988 classification.
31989
14d96785
AS
319902011-08-10 Andreas Schwab <schwab@redhat.com>
31991
31992 * include/dirent.h: Add libc_hidden_proto for scandirat and
31993 scandirat64. Don't declare __scandirat64.
31994 * dirent/scandirat.c: Add libc_hidden_def.
31995 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31996 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31997
6761ac04
DM
319982011-08-10 David S. Miller <davem@davemloft.net>
31999
32000 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32001 enum.
32002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32004 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32005
c55fbd1e
UD
320062011-08-09 Ulrich Drepper <drepper@gmail.com>
32007
32008 * Versions.def [libc]: Add GLIBC_2.15.
32009 * dirent/Makefile (routines): Add scandirat and scandirat64.
32010 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32011 GLIBC_2.15.
32012 * dirent/dirent.h: Declare scandirat and scandirat64.
32013 * dirent/scandirat.c: New file.
32014 * dirent/scandirat64.c: New file.
32015 * sysdeps/wordsize-64/scandirat.c: New file.
32016 * sysdeps/wordsize-64/scandirat64.c: New file.
32017 * dirent/opendir.c: Define opendirat.
32018 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32019 using scandirat.
32020 * dirent/scandir64.c: Adjust for scandir.c change.
32021 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32022 __scandirat64, and __scandir_cancel_handler.
32023 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32024 additional parameter and use openat instead of open (outside of ld.so).
32025 Add new __opendir as wrapper around __opendirat.
32026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32027 here without requiring old scandirat implementation.
32028
879165f2
UD
320292011-08-08 Ulrich Drepper <drepper@gmail.com>
32030
32031 * dirent/scandir.c (cancel_handler): Renamed to
32032 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32033 defined. Adjust users.
32034 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32036
cb7e923b
UD
320372011-08-04 Ulrich Drepper <drepper@gmail.com>
32038
16292edd
UD
32039 * string/test-string.h (IMPL): Use __STRING to expand name and then
32040 stringify it.
32041
cb7e923b
UD
32042 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32043 of cleanups.
32044
cff82933
LD
320452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32046
32047 * string/Makefile: Update.
32048 (strop-tests): Append strncat.
32049 * string/test-wcscmp.c: New file.
32050 New comprehensive test for wcscmp.
32051 * string/test-strcmp.c: Update.
32052 (WIDE): New define.
32053
9be9bfcc
AS
320542011-07-22 Andreas Schwab <schwab@redhat.com>
32055
32056 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32057 line.
32058
2e96f1c7
AS
320592011-07-26 Andreas Schwab <schwab@redhat.com>
32060
32061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32062 encoding to ACE if AI_IDN.
32063
85188888
JJ
320642011-08-01 Jakub Jelinek <jakub@redhat.com>
32065
32066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32067 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32068
5fa16e9b
LD
320692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32070
32071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32072 Fix overflow bug in strncat.
32073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32074
32075 * string/test-strncat.c: Update.
32076 Add new tests for checking overflow bugs.
32077
320782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32079
32080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32081 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32082 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32083 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32085 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32086 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32087 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32088 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32089
32090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32091 (USE_AS_STRCAT): Define.
32092 Add strcat and strncat support.
32093 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32094
8c1a459f
AS
320952011-07-25 Andreas Schwab <schwab@redhat.com>
32096
32097 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32098 __n bigger than INT_MAX+1.
32099 (__strncmp_g): Likewise.
32100
bba33c28
UD
321012011-07-23 Ulrich Drepper <drepper@gmail.com>
32102
798be72d
UD
32103 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32104 * libio/stido.h: Likewise.
32105
8accd4dc
UD
32106 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32107 (AF_NFC): Define.
32108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32109 (AF_NFC): Define.
32110
cbff0d96
UD
32111 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32114 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32116
9191c04a
UD
32117 [BZ #13021]
32118 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32119 installed.
32120
bba33c28
UD
32121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32122 typo.
32123 (_dl_x86_64_save_sse): Likewise.
32124
90f139dd
UD
321252011-07-22 Ulrich Drepper <drepper@gmail.com>
32126
1aae088a
UD
32127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32128 OSXSAVE.
32129 (_dl_x86_64_save_sse): Likewise.
32130
8e2045f5
UD
32131 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32132
90f139dd
UD
32133 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32134
1d002f25
AS
321352011-07-21 Andreas Schwab <schwab@redhat.com>
32136
32137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32138 change.
32139 (_dl_x86_64_save_sse): Use correct AVX check.
32140
21137f89
UD
321412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32142
32143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32144 bug in strncpy/strncat.
32145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32146
a65c0b7a
UD
321472011-07-21 Ulrich Drepper <drepper@gmail.com>
32148
32149 * string/tester.c (test_strcat): Add tests for different alignments
32150 of source and destination.
32151 (test_strncat): Likewise.
32152
6986b98a
UD
321532011-07-20 Ulrich Drepper <drepper@gmail.com>
32154
90bb2039
UD
32155 [BZ #12852]
32156 * posix/glob.c (glob): Check passed in values before using them in
32157 expressions to avoid some overflows.
32158 (glob_in_dir): Likewise.
32159
5644ef54
UD
32160 [BZ #13007]
32161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32162 check for AVX enablement so that we don't crash with old kernels and
32163 new hardware.
32164 * elf/tst-audit4.c: Add same checks here.
32165 * elf/tst-audit6.c: Likewise.
32166
32167 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32168
bfc9dc9b
AS
321692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32170
32171 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32172
702e64bb
UD
321732011-07-20 Ulrich Drepper <drepper@gmail.com>
32174
32175 * po/cs.po: Update from translation team.
32176 * po/bg.po: Likewise.
32177
295e904f
MP
321782011-07-12 Marek Polacek <mpolacek@redhat.com>
32179
32180 * misc/sys/cdefs.h: Add support for const attribute.
32181 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32182 to gnu_dev_{major,minor,makedev} functions.
32183
3ff94596
MP
321842011-07-20 Marek Polacek <mpolacek@redhat.com>
32185
32186 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32187
28b59fca
AS
321882011-07-20 Andreas Schwab <schwab@redhat.com>
32189
32190 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32191 strlen results.
32192
19df733e
AK
321932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32194
32195 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32196 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32197 register in order to avoid conflicts with the soft frame pointer
32198 being held in r11 when necessary.
32199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32200 (INTERNAL_VSYSCALL_NCS): Likewise.
32201
c8835729
MP
322022011-07-14 Marek Polacek <mpolacek@redhat.com>
32203
32204 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32205 * elf/dl-fini.c (_dl_fini): Adjust caller.
32206 * elf/dl-close.c (_dl_close_worker): Likewise.
32207 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32208
b902330c
MP
322092011-07-15 Marek Polacek <mpolacek@redhat.com>
32210
8991e135
MP
32211 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32212 "aux_cache->nlibs < 0".
32213
b902330c
MP
32214 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32215 in the reload-count case.
32216
99710781
LD
322172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32218
32219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32220 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32221 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32222 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32223 * sysdeps/x86_64/multiarch/strcat.S: New file.
32224 * sysdeps/x86_64/multiarch/strncat.S: New file.
32225 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32226 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32227 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32228 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32230 (USE_AS_STRCAT): Define.
32231 Add strcat and strncat support.
32232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32234 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32235 * string/strncat.c: Update.
32236 (USE_AS_STRNCAT): Define.
32237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32238 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32239 and i7.
32240 * sysdeps/x86_64/multiarch/init-arch.h
32241 (bit_Prefer_PMINUB_for_stringop): New.
32242 (index_Prefer_PMINUB_for_stringop): Likewise.
32243 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32244 bit_Prefer_PMINUB_for_stringop.
32245
7dc6bd90
UD
322462011-07-19 Ulrich Drepper <drepper@gmail.com>
32247
32248 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32249 buffer64.
32250 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32251 of casting of buffer.
32252 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32253 buffer32 and buffer64.
32254 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32255 writes instead of casting of buffer.
32256 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32257 buffer32.
32258 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32259 casting of buffer.
32260
e0e72284
AS
322612011-07-19 Andreas Schwab <schwab@redhat.com>
32262
32263 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32264
feb1eb0b
UD
322652011-07-19 Ulrich Drepper <drepper@gmail.com>
32266
32267 * nscd/nscd.c (termination_handler): Don't do anything for a database
32268 if it has not yet been initialized.
32269
298711ff
UD
322702011-07-18 Ulrich Drepper <drepper@gmail.com>
32271
32272 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32273
322742011-07-15 Marek Polacek <mpolacek@redhat.com>
32275
32276 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32277
f9d68389
UD
322782011-07-18 Ulrich Drepper <drepper@gmail.com>
32279
32280 * po/nl.po: Update from translation team.
32281 * po/sv.po: Likewise.
32282
db290cf5
RM
322832011-07-16 Roland McGrath <roland@hack.frob.com>
32284
32285 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32286 now disallowed by GCC.
5c550700 32287
fd5e21c7
RM
32288 * configure.in (use-default-link): Default to yes if a test -shared
32289 link meets our qualifications.
32290 * configure: Regenerated.
32291
5c550700
RM
32292 * config.make.in (output-format): New variable.
32293 * configure.in: Check for ld --print-output-format support.
32294 * configure: Regenerated.
32295 * Makerules ($(common-objpfx)format.lds)
32296 [$(output-format) != unknown]: Just use $(output-format),
32297 instead of the linker-script munging.
32298
9fa2c032
RM
322992011-07-14 Roland McGrath <roland@hack.frob.com>
32300
a6928d51
RM
32301 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32302 of $(common-objpfx)shlib.lds.
32303 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32304
661607b3
RM
32305 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32306 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32307
9fa2c032
RM
32308 * configure.in (-z relro check): Adjust test code to add a large
32309 writable data section after it.
32310 * configure: Regenerated.
32311
defe9061
RM
323122011-07-11 Roland McGrath <roland@hack.frob.com>
32313
32314 * configure.in (-z relro check): Fix test code to make the variable
32315 truly const.
32316 * configure: Regenerated.
32317
319b9ad4
UD
323182011-07-11 Ulrich Drepper <drepper@gmail.com>
32319
32320 * nscd/nscd.h (struct traced_file): Define.
32321 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32322 elements. Add traced_files.
32323 (inotify_fd): Declare.
32324 (register_traced_file): Declare.
32325 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32326 (inotify_fd): Export.
32327 (resolv_conf_descr): Remove.
32328 (nscd_init): Move inotify descriptor creation to main.
32329 Don't register files for notification here.
32330 (register_traced_file): New function.
32331 (invalidate_cache): Don't use reset_res to determine whether to call
32332 res_init, go through the list of registered files.
32333 (main_loop_poll): The inotify descriptors are now stored in the
32334 structures for the traced files.
32335 (main_loop_epoll): Likewise
32336 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32337 to __nss_disable_nscd.
32338 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32339 for a database anymore. Check the records for all the registered
32340 files instead.
32341 * nss/Makefile (libnss_files-routines): Add files-init.
32342 (libnss_db-routines): Add db-init.
32343 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32344 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32345 * nss/nss_db/db-init.c: New file.
32346 * nss/nss_files/files-init.c: New file.
32347 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32348 __nss_lookup_function.
32349 (__nss_lookup_function): Call nss_load_library.
32350 (nss_load_all_libraries): New function.
32351 (__nss_disable_nscd): Take parameter with callback function for files
32352 to register. Set is_nscd. Load all the DSOs for the NSS modules
32353 used for the cached services.
32354 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32355 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32356 options for features to all the files in nscd.
32357
32358 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32359
23bee3e8
RM
323602011-07-10 Roland McGrath <roland@hack.frob.com>
32361
32362 * csu/elf-init.c (__libc_csu_init): Comment typo.
32363
46a5b7f0
UD
323642011-07-09 Ulrich Drepper <drepper@gmail.com>
32365
32366 * po/pl.po: Update from translation team.
32367 * po/ja.po: Likewise.
32368 * po/ru.po: Likewise.
32369 * po/ko.po: Likewise.
32370 * po/fr.po: Likewise.
32371
d30cf5bb
RM
323722011-07-09 Roland McGrath <roland@hack.frob.com>
32373
113ddea4
RM
32374 * configure.in (.ctors/.dtors header and trailer check):
32375 Use an empirical test on a built program.
32376 * configure: Regenerated.
32377
574920b4
RM
32378 * configure.in (-z relro check): Use an empirical test on a built DSO.
32379 Detect, but do not require, on ia64.
32380 * configure: Regenerated.
32381
d30cf5bb
RM
32382 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32383 Update tests that use readelf to use $READELF instead.
32384 * configure: Regenerated.
32385
8538fdb3
UD
323862011-07-08 Ulrich Drepper <drepper@gmail.com>
32387
32388 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32389 if the result is not used.
32390
04d08991
AJ
323912011-07-05 Andreas Jaeger <aj@suse.de>
32392
32393 [BZ#9696]
32394 * stdlib/tst-strtod.c: Add testcase.
32395
de283087
AD
323962011-07-07 Ulrich Drepper <drepper@gmail.com>
32397
4e5f31c8 32398 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32399 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32400 The latter has a higher limit. Take additional parameter to pass to
32401 the new function.
32402 (__pathconf): Pass file to __statfs_link_max.
32403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32404 __statfs_link_max.
32405 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32406 __statfs_link_max.
32407
de283087
AD
32408 [BZ #12868]
32409 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32411 Handle Lustre.
32412 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32413 (__statfs_filesize_max): Likewise.
32414 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32415
c75fa153
AJ
324162011-07-05 Andreas Jaeger <aj@suse.de>
32417
32418 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32419
1a544854
UD
324202011-07-06 Marek Polacek <mpolacek@redhat.com>
32421
32422 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32423 `status' variable.
32424 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32425 Likewise.
32426
6f0eec67
UD
324272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32428
32429 * Makefile (strop-tests): Add strncat.
32430 * string/test-strncat.c: New file.
32431
aae30307
UD
324322011-06-30 Marek Polacek <mpolacek@redhat.com>
32433
32434 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32435
c0cfb5eb
UD
324362011-06-21 Andreas Jaeger <aj@suse.de>
32437
32438 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32439 Copy rule from iconvdata/Makefile.
32440
01636b21
UD
324412011-07-06 Ulrich Drepper <drepper@gmail.com>
32442
32443 [BZ #12922]
32444 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32445 but no long options are defined, just return 'W'.
32446
9895c8bc
UD
324472011-06-22 Marek Polacek <mpolacek@redhat.com>
32448
32449 [BZ #9696]
32450 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32451
5d4cf042
UD
324522011-07-06 Ulrich Drepper <drepper@gmail.com>
32453
32454 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32455 netgroups to read.
960e5535 32456 (innetgr): Likewise.
5d4cf042 32457
751eb97e
RM
324582011-07-05 Roland McGrath <roland@hack.frob.com>
32459
32460 * config.make.in (install_root): Default to $(DESTDIR).
32461
f15f1e45
UD
324622011-07-05 Ulrich Drepper <drepper@gmail.com>
32463
32464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32465
4e34ac6a
RM
324662011-07-02 Roland McGrath <roland@hack.frob.com>
32467
5e9b6af4
RM
32468 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32469
84f9ea0f
RM
32470 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32471 containing directory rather than embedding absolute directory names.
32472
ea5ee9f7
RM
32473 * scripts/check-local-headers.sh: Rewritten using awk.
32474 Match by word, not by line. Print error messages for matches.
32475 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32476
1b74661a
RM
32477 * Makerules [shlib-lds-flags empty]:
32478 ($(common-objpfx)libc_pic.opts): New target.
32479 ($(common-objpfx)libc_pic.os.clean): New target.
32480 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32481
32482 * config.make.in (OBJCOPY): New variable.
32483 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32484 * configure: Regenerated.
32485
f781ef40
RM
32486 * config.make.in (use-default-link): New variable.
32487 * configure.in (use_default_link): Grok --with-default-link to set it.
32488 * configure: Regenerated.
32489 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32490 (shlib-lds, shlib-lds-flags): Define to empty.
32491
2d4fa81e
RM
32492 * Makerules (shlib-lds): New variable.
32493 (shlib-lds-flags): New variable.
32494 (build-shlib, build-moduile, build-module-asneeded): Use it.
32495 ($(common-objpfx)libc.so): Use $(shlib-lds).
32496 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32498
31fffa6b
RM
32499 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32500 DT_FLAGS/DT_FLAGS_1 with zero flags.
32501
4e34ac6a
RM
32502 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32503 linker script munging.
32504
fcfc776b
UD
325052011-07-02 Ulrich Drepper <drepper@gmail.com>
32506
32507 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32508 as 128-bit value.
32509 * crypt/sha512.c (sha512_process_block): Perform total addition using
32510 128-bit if possible.
32511 (__sha512_finish_ctx): Likewise.
32512 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32513 as 64-bit value.
32514 * crypt/sha256.c (SWAP64): Define.
32515 (sha256_process_block): Perform total addition using 64-bit if
32516 possible.
32517 (__sha256_finish_ctx): Likewise.
32518
99231d9a
UD
325192011-07-01 Ulrich Drepper <drepper@gmail.com>
32520
32521 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32523 * nscd/hstcache.c (cache_addhst): Likewise.
32524 * nscd/grpcache.c (cache_addgr): Likewise.
32525 * nscd/aicache.c (addhstaiX): Likewise
32526 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32527
445b4a53
TK
325282011-07-01 Thorsten Kukuk <kukuk@suse.de>
32529
32530 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32531 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32532 * nscd/hstcache.c (cache_addhst): Likewise.
32533 * nscd/grpcache.c (cache_addgr): Likewise.
32534 * nscd/aicache.c (addhstaiX): Likewise
32535
6d4d8e8e
AS
325362011-07-01 Andreas Schwab <schwab@redhat.com>
32537
32538 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32539 domain only when needed.
32540
89f654c5
AS
325412011-06-30 Andreas Schwab <schwab@redhat.com>
32542
32543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32544 is always restored.
32545
cf3b23ff
UD
325462011-06-29 Ulrich Drepper <drepper@gmail.com>
32547
32548 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32549 are re-adding the entry.
32550 * nscd/servicescache.c (cache_addserv): Likewise.
32551
751626f9
AJ
325522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32553
32554 * sysdeps/generic/dl-irel.h: fix protection against multiple
32555 inclusions.
32556 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32557
9113ea1f
UD
325582011-06-28 Ulrich Drepper <drepper@gmail.com>
32559
5c0b8d90
UD
32560 [BZ #12935]
32561 * malloc/memusage.sh: Fix quoting in message.
32562 * debug/xtrace.sh: Likewise.
32563
9113ea1f
UD
32564 * configure.in: Remove support for --experimental-malloc option, make
32565 it the default.
32566 * config.make.in: Likewise.
32567 * malloc/Makefile: Likewise.
32568
a4172181
AS
325692011-06-27 Andreas Schwab <schwab@redhat.com>
32570
32571 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32572 two-byte characters.
32573
78a7eee7
RM
325742011-06-27 Roland McGrath <roland@hack.frob.com>
32575
62bede13
RM
32576 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32577 AC_CACHE_CHECK invocation.
32578 * configure: Regenerated.
32579
78a7eee7
RM
32580 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32581
5ce33a62
UD
325822011-06-27 Ulrich Drepper <drepper@gmail.com>
32583
034807a9
UD
32584 [BZ #12350]
32585 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32586 bit from old_res_options.
32587
4902da17
UD
32588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32589
5ce33a62
UD
32590 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32591 value type for setfct.
32592
c2344f56
L
325932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32594
32595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32596 __gettimeofday instead of gettimeofday.
32597
68468076
UD
325982011-06-26 Ulrich Drepper <drepper@gmail.com>
32599
32600 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32601
acb0d739
L
326022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32603
32604 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32605
32606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32607 info.
32608
8912479f
L
326092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32610
32611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32612 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32613 strcpy-sse2-unaligned strncpy-sse2-unaligned
32614 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32615 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32616 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32617 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32618 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32620 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32621 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32622 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32623 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32624 (STRCPY): Support SSE2 and SSSE3 versions.
32625
d5495a11
UD
326262011-06-24 Ulrich Drepper <drepper@gmail.com>
32627
32628 [BZ #12874]
32629 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32630 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32631 kernels which artificially limit size of requests.
32632
0b1cbaae
L
326332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32634
32635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32636 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32637 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32638 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32639 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32640 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32641 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32642 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32643 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32645 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32646 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32647 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32648 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32649 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32651 Enable unaligned load optimization for Intel Core i3, i5 and i7
32652 processors.
32653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32654 Define.
32655 (index_Fast_Unaligned_Load): Define.
32656 (HAS_FAST_UNALIGNED_LOAD): Define.
32657
07f494a0
MP
326582011-06-23 Marek Polacek <mpolacek@redhat.com>
32659
32660 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32661
fa3fc0fe
UD
326622011-06-22 Ulrich Drepper <drepper@gmail.com>
32663
32664 [BZ #12907]
32665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32666 until it is clear that the information is realy needed.
32667 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32668
e12df166
AS
326692011-06-22 Andreas Schwab <schwab@redhat.com>
32670
32671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32672
852eb34d
UD
326732011-06-22 Ulrich Drepper <drepper@gmail.com>
32674
84e2a551
UD
32675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32676 /sys/devices/system/cpu/online if it is usable.
32677
852eb34d
UD
32678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32679 reading the information from the /proc filesystem to once a second.
32680
6e502e19
UD
326812011-06-21 Andreas Jaeger <aj@suse.de>
32682
32683 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32684 NULL after inclusion of kernel headers.
32685
75d39ff2
UD
326862011-06-21 Ulrich Drepper <drepper@gmail.com>
32687
51f9aa6a
UD
32688 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32689 calls to internal_setent.
32690
c0244a9d
UD
32691 [BZ #12885]
32692 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32693 addresses using gethostbyname4_r ignore IPv4 addresses.
32694
c5e3c2ae
UD
32695 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32696 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32697
75d39ff2
UD
32698 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32699
42675c6f
DM
327002011-06-20 David S. Miller <davem@davemloft.net>
32701
32702 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32703 inclusions.
32704 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32705
32706 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32707 (elf_irel): Use it.
32708 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32709 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32710 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32711 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32712 * sysdeps/x86_64/dl-irel.h: Likewise.
32713
32714 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32715 * elf/dl-sym.c: Likewise.
32716
57912a71
UD
327172011-06-15 Ulrich Drepper <drepper@gmail.com>
32718
32719 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32720 need to dereference resplen2.
32721
ee22793d
AS
327222011-06-14 Andreas Schwab <schwab@redhat.com>
32723
32724 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32725
a9e836b0
UD
327262011-06-15 Ulrich Drepper <drepper@gmail.com>
32727
77fb9117
UD
32728 * Makeconfig: Define vardbdir and inst_vardbdir.
32729 * nss/Makefile: Add rules to install db-Makefile.
32730
40c1b22c
UD
32731 * nss/nss_db/db-XXX.c: Cleanup.
32732
9f2da732
UD
32733 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32734 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32735 GLIBC_PRIVATE.
32736 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32737 * nss/makedb.c: Implement -g option to specify that value strings
32738 are generated and should not be added to table iterated over for
32739 get*ent calls.
32740 * nss/nss_db/db-initgroups.c: New file.
32741
82e9a1f7
UD
32742 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32743 interface.
32744
c41af17e
UD
32745 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32746 (internal_getgrouplist): Adjust to name change.
32747 Update use_initgroups_entry if this is not the first call.
32748 * nss/databases.def: Add initgroups entry.
32749
a9e836b0
UD
32750 * nss/makedb.c (compute_tables): Check result of multiple hash table
32751 sizes to minimize maximum chain length.
32752
2666d441
UD
327532011-06-14 Ulrich Drepper <drepper@gmail.com>
32754
32755 * Versions.def: Add entry for libnss_db.
32756 * shlib-versions: Likewise.
32757 * nss/Makefile: Add rules to build libnss_db.
32758 * nss/Versions: Add libnss_db information. Organize libnss_files
32759 entries better.
32760 * nss/db-Makefile: Add gshadow support. Change rules for the new
32761 makedb progra. Some minor improvements to generate smaller files.
32762 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32763 here from...
32764 * nss/makedb.c: ...here.
32765 Improve database format to be smaller and require less memory at
32766 runtime.
32767 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32768 db anymore.
32769 * nss/nss_db/db-netgrp.c: Likewise.
32770 * nss/nss_db/db-open.c: Likewise.
32771 * nss/nss_files/flies-XXX.x: Adjust comments.
32772 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32773 * nss/nss_files/files-grp.c: Likewise.
32774 * nss/nss_files/files-hosts.c: Likewise.
32775 * nss/nss_files/files-network.c: Likewise.
32776 * nss/nss_files/files-proto.c: Likewise.
32777 * nss/nss_files/files-pwd.c: Likewise.
32778 * nss/nss_files/files-rpc.c: Likewise.
32779 * nss/nss_files/files-service.c: Likewise.
32780 * nss/nss_files/files-sgrp.c: Likewise.
32781 * nss/nss_files/files-spwd.c: Likewise.
32782 * nss/nss_db/db-alias.c: Removed.
32783 * nss/nss_db/dummy-db.h: Removed.
32784
9ee76b5a
UD
327852011-06-02 Ulrich Drepper <drepper@gmail.com>
32786
32787 * nss/makedb.c: Rewritten to not use database library.
32788 * nss/Makefile: Update to build new makedb program.
32789
c71ca1f8
AJ
327902011-06-14 Andreas Jaeger <aj@suse.de>
32791
32792 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32793 memset declaration.
32794
3154bfb8
UD
327952011-06-10 Andreas Schwab <schwab@redhat.com>
32796
32797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32798 tmpbuf.
32799
b350afab
RM
328002011-06-10 Roland McGrath <roland@hack.frob.com>
32801
decd4e50
RM
32802 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32803 * elf/Makefile ($(objpfx)ld.so): Likewise.
32804
5615eaf2
RM
32805 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32806 Don't list ld.so twice in dependencies.
32807
32808 * posix/bug-regex31.c: Include <stdlib.h>.
32809
32810 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32811
32812 * nis/nss_compat/compat-spwd.c
32813 (getspent_next_nss_netgr): Remove unused variable.
32814 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32815
32816 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32817 nonmembers" output to use the right array.
32818
32819 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32820
32821 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32822
32823 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32824 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32825 * catgets/gencat.c (read_input_file): Likewise.
32826 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32827
32828 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32829 variable definition inside #if's controlling its use.
32830
32831 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32832
32833 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32834
32835 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32836
32837 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32838 unreachable code.
32839
32840 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32841
b68e08db
RM
32842 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32843 * configure: Regenerated.
32844
b350afab
RM
32845 * Makerules: Revert last change.
32846 * elf/Makefile: Likewise.
32847
28368601
RM
328482011-06-09 Roland McGrath <roland@hack.frob.com>
32849
32850 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32851 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32852 (reloc-link): Likewise.
32853
11988f8f
UD
328542011-06-09 Ulrich Drepper <drepper@gmail.com>
32855
32856 * elf/Makefile: Add rules to build pldd.
32857 * elf/pldd.c: New file.
32858 * elf/pldd-xx.c: New file.
32859
e80fab37
UD
328602011-06-07 Ulrich Drepper <drepper@gmail.com>
32861
32862 * version.h: Update for 2.15 development version.
32863
9b849836
DM
328642011-06-07 David S. Miller <davem@davemloft.net>
32865
32866 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32867 ifuncs.
32868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32869 elf_machine_lazy_rel): Likewise.
32870 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32872 elf_machine_lazy_rel): Likewise.
32873 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32874 dl_hwcap via passed in argument.
32875 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32876 Likewise.
32877
5a31b283
AK
328782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32879
32880 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32881
069e52f8
RM
328822011-06-06 Roland McGrath <roland@hack.frob.com>
32883
32884 [BZ #12849]
32885 * manual/fdl-1.1.texi: New file, verbatim from:
32886 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32887 * manual/lgpl-2.1.texi: New file, verbatim from:
32888 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32889 * manual/Makefile (licenses): New variable, list those new file names.
32890 (texis): Use it.
32891 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32892
32893 * manual/fdl.texi: File removed.
32894 * manual/lesser.texi: File removed.
32895 * manual/libc.texinfo (Copying, Documentation License):
32896 Use new @include file names, put @appendix directive before @include.
32897
f16846a5
JJ
328982011-06-04 Jakub Jelinek <jakub@redhat.com>
32899
32900 [BZ #12841]
32901 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32902 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32903 (mq_open): Add __NTH.
32904
3d29045b
L
329052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32906
32907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32908 Assume Intel Core i3/i5/i7 processor if AVX is available.
32909
8c297311
UD
329102011-05-31 Ulrich Drepper <drepper@gmail.com>
32911
32912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32913 typo.
32914
c8fc0c91
UD
329152011-05-31 Andreas Schwab <schwab@redhat.com>
32916
32917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32918 memory. Use alloca_account. Fix memory leak when retrying.
32919
5b27a807
UD
329202011-05-31 Ulrich Drepper <drepper@gmail.com>
32921
356f8bc6
UD
32922 * version.h (RELEASE): Bump for 2.14 release.
32923 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32924
5b27a807
UD
32925 * config.make.in (RANLIB): Remove entry.
32926
01f16ab0
UD
329272011-05-30 Ulrich Drepper <drepper@gmail.com>
32928
41fce8bd
UD
32929 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32930 (libc.pot): Work around missing support for .ksh extension in xgettext.
32931
4769ae77
UD
32932 [BZ #12684]
32933 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32934 if both request failed.
32935 (send_dg): In case of server errors clear resplen or *resplen2.
32936
6b1e7d19
UD
32937 [BZ #12454]
32938 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32939 when there are multiple maps.
32940 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32941 (_dl_fini): Remove test here.
32942
01f16ab0
UD
32943 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32944
b1ebd700
UD
329452011-05-29 Ulrich Drepper <drepper@gmail.com>
32946
7ae22829
UD
32947 [BZ #12350]
32948 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32949 bit from old_res_options.
32950 (gaih_inet): Likewise.
32951
553149f6 32952 [BZ #11099]
18a84741 32953 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32954 as signed.
32955
652ffab1
UD
32956 * resolv/res_init.c (res_setoptions): Make the code more compact.
32957
16985fd0
UD
32958 [BZ #11558]
32959 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32960 set RES_USEVC.
32961
0464f746
UD
32962 [BZ #11634]
32963 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32964
7d17596c
UD
32965 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32966
cf6bbbd7
UD
32967 [BZ #11781]
32968 * malloc/malloc.h: Declare malloc hook variables as volatile.
32969
13f1ab36
UD
32970 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32971 in last patch.
32972
b1ebd700
UD
32973 [BZ #11799]
32974 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32975 raise in the comment.
80e2212d
UD
32976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32978 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32979
ce67228d
UD
329802011-05-28 Ulrich Drepper <drepper@gmail.com>
32981
8887a920
UD
32982 [BZ #12811]
32983 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32984 grow the buffers more if it already has to be sufficient.
32985 (build_wcs_upper_buffer): Likewise.
32986 * posix/regexec.c (check_matching): Likewise.
32987 (clean_state_log_if_needed): Likewise.
32988 (extend_buffers): Don't enlarge buffers beyond size of the input
32989 buffer.
32990 Patches mostly by Emil Wojak <emil@wojak.eu>.
32991 * posix/bug-regex32.c: New file.
32992 * posix/Makefile (tests): Add bug-regex32.
32993
4f031072
UD
32994 * locale/findlocale.c (_nl_find_locale): Return right away if
32995 _nl_explode_name failed.
32996 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32997
d0478f0c
UD
32998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32999
de81b246
UD
33000 * debug/xtrace.sh: Unify messages.
33001 * malloc/memusage.sh: Likewise.
33002
c738465a
UD
33003 [BZ #12813]
33004 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33005 time symbol from vDSO. Substitute with vsyscall if not available.
33006 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33007 __vdso_time.
33008
f1f929d7
UD
33009 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33010 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33011 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33012 Add sendmmsg and internal_sendmmsg.
33013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33014 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33016
ce67228d
UD
33017 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33018 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33020
e57420c6
UD
330212011-05-27 Ulrich Drepper <drepper@gmail.com>
33022
a8509ca5
UD
33023 [BZ #12813]
33024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33025 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33026 available.
33027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33028 __vdso_getcpu.
33029
e57420c6
UD
33030 [BZ #12814]
33031 * iconvdata/Makefile (tests): Add bug-iconv9.
33032 * iconvdata/bug-iconv9.c: New file.
33033
4d07db15
AS
330342011-05-27 Andreas Schwab <schwab@redhat.com>
33035
33036 [BZ #12814]
33037 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33038
ea486f69
JJ
330392011-05-25 Jakub Jelinek <jakub@redhat.com>
33040
33041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33042 (struct user_regs_struct): Change intcs field back to cs.
33043
6f038433
UD
330442011-05-25 Ulrich Drepper <drepper@gmail.com>
33045
33046 * po/ja.po: Update from translation team.
33047
67f86a25
UD
330482011-05-23 Ulrich Drepper <drepper@gmail.com>
33049
33050 [BZ #12795]
33051 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33053
def7fbd6
AS
330542011-05-20 Andreas Schwab <schwab@redhat.com>
33055
33056 * stdlib/longlong.h: Update from GCC.
33057
f50ef8f1
AS
330582011-05-23 Andreas Schwab <schwab@redhat.com>
33059
33060 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33061 parameter name.
33062 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33063 Add parameter name.
33064 (__sysconf): Pass it down.
33065
de7ce8f1
UD
330662011-05-22 Ulrich Drepper <drepper@gmail.com>
33067
f2962a71
UD
33068 [BZ #12671]
33069 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33070 some situations.
33071 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33072 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33073 add in in __libc_use_alloca calls. Adjust callers.
33074 (glob): Use malloc in some situations.
33075
de7ce8f1
UD
33076 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33077 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33078 pltexit.
33079
aec84f53
UD
330802011-05-21 Ulrich Drepper <drepper@gmail.com>
33081
05bb4a68
UD
33082 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33083 and CLOCK_BOOTTIME_ALARM.
33084
7ea72f99
UD
33085 [BZ #12782]
33086 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33087 is returned.
33088
7e4afad5
UD
33089 * string/_strerror.c (__strerror_r): Print negative errors as signed
33090 numbers.
33091
8e211fec
UD
33092 [BZ #12777]
33093 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33094 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33095 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33096
f7d82dc9
UD
33097 * configure.in: Fix typo in redirection and correct removal of test
33098 files in two cases.
33099
cc9e536d
UD
33100 [BZ #12788]
33101 * locale/setlocale.c (new_composite_name): Fix test to check for
33102 identical name of all categories.
33103
aec84f53
UD
33104 [BZ #12792]
33105 * libio/filedoalloc.c (local_isatty): New function.
33106 (_IO_file_doallocate): Use local_isatty.
33107 * stdio-common/perror.c (perror): In case a new stream is used
33108 forward the stream error.
33109 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33110 error flag.
33111
78e64fdc
RT
331122011-05-20 Ulrich Drepper <drepper@gmail.com>
33113
34a9094f
UD
33114 [BZ #11869]
33115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33116 alloca.
33117 * include/alloca.h (extend_alloca_account): Define.
33118
78e64fdc
RT
33119 [BZ #11857]
33120 * posix/regex.h: Fix comments with documentation of user-accessible
33121 fields after compilation and describe correct free'ing of pattern
33122 after re_compile_pattern.
33123 Patch by Reuben Thomas <rrt@sc3d.org>.
33124
457bddfc
RA
331252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33126
33127 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33128 and -mno-altivec to prevent the compiler from using Altivec and/or
33129 VSX instructions when the corresponding registers are not available.
33130
a4527b51
AS
331312011-05-19 Andreas Schwab <schwab@redhat.com>
33132
33133 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33134
ed690b2f
UD
331352011-05-19 Ulrich Drepper <drepper@gmail.com>
33136
33137 * libio/freopen.c (freopen): Use __dup2, not dup2.
33138 * libio/freopen64.c (freopen64): Likewise.
33139
8db73634
L
331402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33141
33142 [BZ #12775]
33143 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33144 * math/Makefile (tests): Add test-powl.
33145 (CFLAGS-test-powl.c): Define.
33146 * math/test-powl.c: New file.
33147
0a197a9d
L
331482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33151
ee30c380
UD
331522011-05-17 Ulrich Drepper <drepper@gmail.com>
33153
33154 [BZ #11837]
33155 * iconvdata/gb18030.c: Update to GB18020-2005.
33156
6ce75379
UD
331572011-05-16 Ulrich Drepper <drepper@gmail.com>
33158
a4b89fd8
AR
33159 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33160 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33161 Patch by Aharon Robbins <arnold@skeeve.com>.
33162
ea389b12
UD
33163 [BZ #11892]
33164 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33165 on the stack.
33166
68a3f91f
UD
33167 [BZ #11895]
33168 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33169 through underflows.
33170
15cc7dd1
UD
33171 [BZ #12766]
33172 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33173 point to strings before performing equality test for error_one_per_line
33174 mode.
33175
f3799213
UD
33176 [BZ #11697]
33177 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33178
d79a9c94
UD
33179 [BZ #11820]
33180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33181 (struct user_fpregs_struct): Avoid __uint*_t types.
33182
56e5eb46
UD
33183 [BZ #6420]
33184 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33185 symbol info. Use it instead of calling _dl_addr locally.
33186 (lock_and_info): New function.
33187 (tr_freehook): Call lock_and_info and pass symbol info as additional
33188 parameter to tr_where.
33189 (tr_mallochook): Likewise.
33190 (tr_reallochook): Likewise.
33191 (tr_memalignhook): Likewise.
33192
6ce75379
UD
33193 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33194 used and couldn't be at all thread-safe.
33195
f8a3b5bf
UD
331962011-05-15 Ulrich Drepper <drepper@gmail.com>
33197
94b7cc37
UD
33198 * libio/freopen.c (freopen): Don't close old file descriptor
33199 before the new one is opened. Instead dup the new file descriptor
33200 to the old one after the new stream is created.
33201 * libio/freopen64.c (freopen64): Likewise.
33202 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33203 * libio/fileops.c (_IO_new_file_close_it): Handle new
33204 _IO_FLAGS2_NOCLOSE flag.
33205 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33206 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33207 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33208 _IO_FLAGS2_NOCLOSE flag.
33209 * include/unistd.h: Add hidden_proto for dup3.
33210 Define __have_dup3.
33211 * io/dup3.c: Define hidden symbol.
33212 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33213
bd25564e
UD
33214 [BZ #7101]
33215 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33216 when an incomplete long option is used.
33217 * posix/tst-getopt_long1.c: New file.
33218 * posix/Makefile (tests): Add tst-getopt_long1.
33219
c84cfef4
UD
33220 [BZ #10138]
33221 * scripts/config.guess: Update from autoconf-2.68.
33222 * scripts/config.sub: Likewise.
33223
3b85df27
UD
33224 [BZ #10157]
33225 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33226 tests into ...
33227 (has_cpuclock): ...this. New function.
33228 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33229 macro here based on has_cpuclock code.
33230
15a856b1
UD
33231 [BZ #10149]
33232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33233 First byte (not low byte) is now always NUL.
33234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33235
05f399e6
UD
33236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33237 Use non-cancelable interfaces.
33238
10a52685 33239 [BZ #9809]
94ecc67d
UD
33240 * locale/iso-639.def: Add entry for Sorani.
33241
f8a3b5bf
UD
33242 [BZ #11901]
33243 * include/stdlib.h: Move include protection to the right place.
33244 Define abort_msg_s. Declare __abort_msg with it.
33245 * stdlib/abort.c (__abort_msg): Adjust type.
33246 * assert/assert.c (__assert_fail_base): New function. Majority
33247 of code from __assert_fail. Allocate memory for __abort_msg with
33248 mmap.
33249 (__assert_fail): Now call __assert_fail_base.
33250 * assert/assert-perr.c: Remove bulk of implementation. Use
33251 __assert_fail_base.
33252 * include/assert.hL Declare __assert_fail_base.
33253 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33254 mmap.
33255 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33256
1af4e298
UD
332572011-05-14 Ulrich Drepper <drepper@gmail.com>
33258
f8a3b5bf 33259 [BZ #11952]
d26dfc60
MG
33260 [BZ #12453]
33261 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33262 until all modules are registered in the DTV.
33263 * elf/Makefile: Add rules to build and run tst-tls19.
33264 * elf/tst-tls19.c: New file.
33265 * elf/tst-tls19mod1.c: New file.
33266 * elf/tst-tls19mod2.c: New file.
33267 * elf/tst-tls19mod3.c: New file.
33268 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33269
2fc54d6f
UD
33270 [BZ #12083]
33271 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33272 correctly.
33273
98d76b46
UD
33274 [BZ #12601]
33275 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33276 two-byte sequence errors.
33277 * iconvdata/Makefile (tests): Add bug-iconv8.
33278 * iconvdata/bug-iconv8.c: New file.
33279
da3c19ef
UD
33280 [BZ #12626]
33281 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33282 buf2 definition.
33283
ca408c15
UD
33284 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33285
d6f67f7d
UD
33286 [BZ #12432]
33287 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33288 (dummy_getcfa): New function.
33289 (init): Get _Unwind_GetCFA address, use dummy if not found.
33290 (backtrace_helper): In recursion check, also check whether CFA changes.
33291 (__backtrace): Completely initialize arg.
33292
1af4e298 33293 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33294 storing incomplete byte sequence in state object. Avoid testing for
33295 guaranteed too small input if we know there is enough data available.
1af4e298 33296
da62f81b
AS
332972011-05-11 Andreas Schwab <schwab@redhat.com>
33298
33299 * Makeconfig (+link-pie): Indent.
33300 * Rules (binaries-pie): Define if $(have-fpie) and
33301 $(build-shared).
33302 (binaries-shared): Also filter out $(binaries-pie).
33303 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33304 * nscd/Makefile (others-pie): Add nscd.
33305 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33306 ($(objpfx)nscd): Remove command override.
33307 * login/Makefile (others-pie): Add pt_chown.
33308 ($(objpfx)pt_chown): Remove command override.
33309 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33310 remove command overrides.
33311
fcabc0f8
UD
333122011-05-13 Ulrich Drepper <drepper@gmail.com>
33313
20030ae6
UD
33314 * libio/tst_putwc.c: Fix error messages.
33315
fcabc0f8
UD
33316 [BZ #12724]
33317 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33318 currently writing and seek to current position when not.
33319 * libio/Makefile (tests): Add bug-fclose1.
33320 * libio/bug-fclose1.c: New file.
33321
320a5dc0
PB
333222011-05-12 Ulrich Drepper <drepper@gmail.com>
33323
33324 [BZ #12511]
33325 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33326 don't set DF_1_NODELETE here.
33327 (do_lookup_x): When entering new entry test for copy relocation
33328 and if necessary set DF_1_NODELETE flag.
33329 * elf/tst-unique4.cc: New file.
33330 * elf/tst-unique4.h: New file.
33331 * elf/tst-unique4lib.cc: New file.
33332 * elf/Makefile: Add rules to build and run tst-unique4.
33333 Patch by Piotr Bury <pbury@goahead.com>.
33334
22836f52
UD
333352011-05-11 Ulrich Drepper <drepper@gmail.com>
33336
f574184a
UD
33337 [BZ #12052]
33338 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33339
e1fb097f
UD
33340 [BZ #12625]
33341 * misc/mntent_r.c (addmntent): Flush the stream after the output
33342
22836f52
UD
33343 [BZ #12393]
33344 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33345 (is_trusted_path_normalize): Skip initial colon. Append slash
33346 to empty buffer. Duplicate is_trusted_path code but allow
33347 constructed patch to be prefix.
33348 (is_dst): Allow $ORIGIN followed by /.
33349 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33350 Correct testing of result of is_trusted_path_normalize
33351 (decompose_rpath): Fix warning.
33352
7b3b0b2a
UD
333532011-05-10 Ulrich Drepper <drepper@gmail.com>
33354
33355 [BZ #11257]
33356 * grp/initgroups.c (internal_getgrouplist): When we found the service
33357 list through the initgroups entry in nsswitch.conf do not always
33358 continue on a successful lookup. Don't always use the
eac80ce2 33359 __nss_group_database value if it is set.
7b3b0b2a
UD
33360 * nss/nsswitch.conf (initgroups): Change action for successful db
33361 lookup to continue for compatibility.
33362
2a81eaa5
UD
333632011-05-09 Ulrich Drepper <drepper@gmail.com>
33364
be97a69e
UD
33365 [BZ #11532]
33366 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33367 and CP774 modules.
33368 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33369 and CP774 modules.
33370 * iconvdata/tst-tables.sh: Likewise.
33371 * iconvdata/cp770.c: New file.
33372 * iconvdata/cp771.c: New file.
33373 * iconvdata/cp772.c: New file.
33374 * iconvdata/cp773.c: New file.
33375 * iconvdata/cp774.c: New file.
33376 * iconvdata/testdata/CP770: New file.
33377 * iconvdata/testdata/CP770..UTF8: New file.
33378 * iconvdata/testdata/CP771: New file.
33379 * iconvdata/testdata/CP771..UTF8: New file.
33380 * iconvdata/testdata/CP772: New file.
33381 * iconvdata/testdata/CP772..UTF8: New file.
33382 * iconvdata/testdata/CP773: New file.
33383 * iconvdata/testdata/CP773..UTF8: New file.
33384 * iconvdata/testdata/CP774: New file.
33385 * iconvdata/testdata/CP774..UTF8: New file.
33386
33387 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33388 END CHARMAP line.
33389 * iconvdata/gen-8bit-gap.sh: Likewise.
33390 * iconvdata/gen-8bit.sh: Likewise.
33391
c1e9e399
UD
33392 * locale/iso-639.def: Add ary entry.
33393
24c55fb3 33394 [BZ #11258]
96b4b1b0
UD
33395 * locale/C-translit.h.in: Add U20A1 transliteration.
33396
bdc2f971
KB
33397 [BZ #12178]
33398 * locale/iso-639.def: Add wae entry.
33399 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33400
2952b117
UD
33401 [BZ #12545]
33402 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33403 for n.
33404
2a81eaa5
UD
33405 [BZ #12711]
33406 * locale/C-translit.h.in: Add entry for U20B9.
33407 Patch by pravin.d.s@gmail.com.
33408
28377d1b
UD
334092011-05-08 Ulrich Drepper <drepper@gmail.com>
33410
7fb90fb8
UD
33411 [BZ #12713]
33412 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33413 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33414 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33415 in rtld. Use *stat64.
7fb90fb8 33416 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33417 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33418 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33419 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33420 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33421 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33422 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33423 __fstatat64 macros.
7fb90fb8
UD
33424 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33425 * dirent/rewinddir.c: Add libc_hidden_def.
33426 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33427 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33428
28377d1b
UD
33429 * include/dirent.h (__alloc_dir): Add flags parameter.
33430 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33431 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33432 __alloc_dir.
33433 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33434 from fdopendir if O_CLOEXEC is already set.
33435
66bdbaa4
AM
334362011-03-15 Alan Modra <amodra@gmail.com>
33437
33438 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33439 l_tls_firstbyte_offset non-zero. Save padding offset in
33440 l_tls_firstbyte_offset for later use.
33441 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33442 freeing static tls block.
33443
95721191
JN
334442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33445
33446 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33447 where #ifdef was intended. The intent is to prevent ARG_MAX from
33448 being defined by the kernel headers.
33449
f87dfb1f
UD
334502011-05-07 Ulrich Drepper <drepper@gmail.com>
33451
33452 [BZ #12734]
33453 * resolv/resolv.h: Define RES_NOTLDQUERY.
33454 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33455 no-tld-query and set RES_NOTLDQUERY.
33456 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33457 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33458 modern BIND to search name as TLD unless forbidden.
33459
47c3cd7a
UD
334602011-05-07 Petr Baudis <pasky@suse.cz>
33461 Ulrich Drepper <drepper@gmail.com>
33462
33463 [BZ #12393]
33464 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33465 (is_trusted_path): ...to here.
c1e9ea35 33466 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33467 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33468 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33469
8a35c912
PP
334702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33471
33472 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33473 __BEGIN/__END_DECLS.
33474
acd41f47
UD
334752011-05-06 Ulrich Drepper <drepper@gmail.com>
33476
33477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33478 NSS_STATUS_NOTFOUND if no record was found.
33479
597df647
AS
334802011-05-05 Andreas Schwab <schwab@redhat.com>
33481
33482 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33483 (headers-not-in-tirpc): Remove rpc/netdb.h
33484 * resolv/netdb.h: Revert last change.
33485
b9af1301
PP
334862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33487
33488 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33489 circular dependency between libgcc.a and libc.a.
33490
4e34d5f5
AS
334912011-05-05 Andreas Schwab <schwab@redhat.com>
33492
33493 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33494 * nis/Makefile: Don't install rpcsvc/*.
33495 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33496 instead of <rpc/types.h>.
33497 (MAXHOSTNAMELEN): Define.
33498
00ee369c
AS
334992011-05-03 Andreas Schwab <schwab@redhat.com>
33500
33501 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33502
0b592a30
MB
335032011-04-28 Maciej Babinski <mbabinski@google.com>
33504
33505 [BZ #12714]
33506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33507 gethostbyname4_r when IPv6 results are possible.
33508
6e04cbbe
UD
335092011-05-02 Ulrich Drepper <drepper@gmail.com>
33510
33511 [BZ #12723]
33512 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33513 _PC_PIPE_BUF handling.
33514
e4ecafe0
BH
335152011-04-30 Bruno Haible <bruno@clisp.org>
33516
33517 [BZ #12717]
33518 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33519 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33520 to 'int'.
33521 * inet/getnameinfo.c (getnameinfo): Likewise.
33522
125ee683
UD
335232011-04-29 Ulrich Drepper <drepper@gmail.com>
33524
33525 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33526 to groups setting in database lookup.
33527 * nss/nsswitch.conf: Add initgroups entry.
33528
b722481a
EB
335292011-04-22 Ulrich Drepper <drepper@gmail.com>
33530
33531 [BZ #12685]
33532 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33533 mode string.
33534 Patch by Eric Blake <eblake@redhat.com>.
33535
4df46dbd
L
335362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33537
33538 * sunrpc/Makefile (need-export-routines): Add svc_run.
33539 (routines): Remove svc_run.
33540 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33541 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33542 * sunrpc/svc_run.c (svc_run): Likewise.
33543 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33544
e84142d2
UD
335452011-04-21 Ulrich Drepper <drepper@gmail.com>
33546
33547 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33548 problem in reallocation in last patch.
33549
877175d8
UD
335502011-04-20 Ulrich Drepper <drepper@gmail.com>
33551
33552 * sunrpc/Makefile: Move inclusion of Rules.
33553
ab8eed78
UD
335542011-04-19 Ulrich Drepper <drepper@gmail.com>
33555
33556 * nss/nss_files/files-initgroups.c: New file.
33557 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33558 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33559 _nss_files_initgroups_dyn.
33560
e3d8f584
RS
335612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33562
33563 * elf/elf.h (R_ARM_IRELATIVE): Define.
33564
af190f45
UD
335652011-04-19 Ulrich Drepper <drepper@gmail.com>
33566
33567 * po/ru.po: Update from translation team.
33568
53cf59ef
UD
335692011-04-17 Ulrich Drepper <drepper@gmail.com>
33570
33571 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33572 dependencies.
33573
4c559bcd
MF
335742011-02-06 Mike Frysinger <vapier@gentoo.org>
33575
33576 [BZ #12653]
33577 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33578 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33580 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33582
4420675c
AS
335832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33584
33585 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33586 differing bytes.
33587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33588 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33590
75ea32ab
UD
335912011-04-17 Ulrich Drepper <drepper@gmail.com>
33592
33593 [BZ #12420]
33594 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33595 storing it.
33596 * stdlib/bug-getcontext.c: New file.
33597 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33598
27390476
AK
335992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33600
33601 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33602 instructions into .machine "z9-109".
33603 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33604 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33605
10442705
AK
336062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33607
33608 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33609 between environment variables and auxiliary vector.
33610
7b57bfe5
UD
336112011-04-16 Ulrich Drepper <drepper@gmail.com>
33612
33613 * Makefile: Add rules to build linkobj/libc.so.
33614 * include/libc-symbols.h: Define libc_hidden_nolink.
33615 * include/rpc/auth.h: Mark functions which are to be hidden.
33616 * include/rpc/auth_des.h: Likewise.
33617 * include/rpc/auth_unix.h: Likewise.
33618 * include/rpc/clnt.h: Likewise.
33619 * include/rpc/des_crypt.h: Likewise.
33620 * include/rpc/key_prot.h: Likewise.
33621 * include/rpc/pmap_clnt.h: Likewise.
33622 * include/rpc/pmap_prot.h: Likewise.
33623 * include/rpc/pmap_rmt.h: Likewise.
33624 * include/rpc/rpc_msg.h: Likewise.
33625 * include/rpc/svc.h: Likewise.
33626 * include/rpc/svc_auth.h: Likewise.
33627 * include/rpc/xdr.h: Likewise.
33628 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33629 * nss/Makefile: Likewise.
33630 * sunrpc/Makefile: Don't install headers. Build library with normal
33631 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33632 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33633 for the compat linking library. Remove use of INTDEF/INTUSE.
33634 * sunrpc/auth_none.c: Likewise.
33635 * sunrpc/auth_unix.c: Likewise.
33636 * sunrpc/authdes_prot.c: Likewise.
33637 * sunrpc/authuxprot.c: Likewise.
33638 * sunrpc/clnt_gen.c: Likewise.
33639 * sunrpc/clnt_perr.c: Likewise.
33640 * sunrpc/clnt_raw.c: Likewise.
33641 * sunrpc/clnt_simp.c: Likewise.
33642 * sunrpc/clnt_tcp.c: Likewise.
33643 * sunrpc/clnt_udp.c: Likewise.
33644 * sunrpc/clnt_unix.c: Likewise.
33645 * sunrpc/des_crypt.c: Likewise.
33646 * sunrpc/des_soft.c: Likewise.
33647 * sunrpc/get_myaddr.c: Likewise.
33648 * sunrpc/key_call.c: Likewise.
33649 * sunrpc/key_prot.c: Likewise.
33650 * sunrpc/netname.c: Likewise.
33651 * sunrpc/pm_getmaps.c: Likewise.
33652 * sunrpc/pm_getport.c: Likewise.
33653 * sunrpc/pmap_clnt.c: Likewise.
33654 * sunrpc/pmap_prot.c: Likewise.
33655 * sunrpc/pmap_prot2.c: Likewise.
33656 * sunrpc/pmap_rmt.c: Likewise.
33657 * sunrpc/publickey.c: Likewise.
33658 * sunrpc/rpc_cmsg.c: Likewise.
33659 * sunrpc/rpc_common.c: Likewise.
33660 * sunrpc/rpc_dtable.c: Likewise.
33661 * sunrpc/rpc_prot.c: Likewise.
33662 * sunrpc/rpc_thread.c: Likewise.
33663 * sunrpc/rtime.c: Likewise.
33664 * sunrpc/svc.c: Likewise.
33665 * sunrpc/svc_auth.c: Likewise.
33666 * sunrpc/svc_authux.c: Likewise.
33667 * sunrpc/svc_raw.c: Likewise.
33668 * sunrpc/svc_run.c: Likewise.
33669 * sunrpc/svc_simple.c: Likewise.
33670 * sunrpc/svc_tcp.c: Likewise.
33671 * sunrpc/svc_udp.c: Likewise.
33672 * sunrpc/svc_unix.c: Likewise.
33673 * sunrpc/svcauth_des.c: Likewise.
33674 * sunrpc/xcrypt.c: Likewise.
33675 * sunrpc/xdr.c: Likewise.
33676 * sunrpc/xdr_array.c: Likewise.
33677 * sunrpc/xdr_float.c: Likewise.
33678 * sunrpc/xdr_intXX_t.c: Likewise.
33679 * sunrpc/xdr_mem.c: Likewise.
33680 * sunrpc/xdr_rec.c: Likewise.
33681 * sunrpc/xdr_ref.c: Likewise.
33682 * sunrpc/xdr_sizeof.c: Likewise.
33683 * sunrpc/xdr_stdio.c: Likewise.
33684
e6c61494
UD
336852011-04-10 Ulrich Drepper <drepper@gmail.com>
33686
33687 [BZ #12650]
33688 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33689 * sysdeps/ia64/dl-tls.h: Likewise.
33690 * sysdeps/powerpc/dl-tls.h: Likewise.
33691 * sysdeps/s390/dl-tls.h: Likewise.
33692 * sysdeps/sh/dl-tls.h: Likewise.
33693 * sysdeps/sparc/dl-tls.h: Likewise.
33694 * sysdeps/x86_64/dl-tls.h: Likewise.
33695 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33696
34fe483e
AS
336972011-03-14 Andreas Schwab <schwab@redhat.com>
33698
33699 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33700 rpath element also skip the following colon.
33701 (expand_dynamic_string_token): Add is_path parameter and pass
33702 down to DL_DST_REQUIRED and _dl_dst_substitute.
33703 (decompose_rpath): Call expand_dynamic_string_token with
33704 non-zero is_path. Ignore empty rpaths.
33705 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33706 with zero is_path.
33707
f12a32e6
AS
337082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33709
33710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33711 Make cancelable.
33712
38a7d692
UD
337132011-04-09 Ulrich Drepper <drepper@gmail.com>
33714
33715 [BZ #12655]
33716 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33717 Patch by Filipe David Manana <fdmanana@apache.org>.
33718
e451d22b
AS
337192011-04-07 Andreas Schwab <schwab@redhat.com>
33720
33721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33722 Maintain aligned stack.
33723 (CHECK_RSP): Remove unused macro.
33724
dedc7c7b
UD
337252011-04-03 Ulrich Drepper <drepper@gmail.com>
33726
33727 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33729
94521213
UD
337302011-04-02 Ulrich Drepper <drepper@gmail.com>
33731
33732 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33733
8cb700c0 33734 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33735
0354e355
L
337362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33737
33738 [BZ #12518]
33739 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33740 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33741 * sysdeps/x86_64/memmove.c: New file.
33742 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33743 (memcpy): Renamed to ...
33744 (__new_memcpy): This.
33745 (memcpy): Provide GLIBC_2_14 memcpy.
33746 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33747 (memcpy): Provide GLIBC_2_2_5 memcpy.
33748
8593482f
UD
337492011-04-01 Ulrich Drepper <drepper@gmail.com>
33750
33751 [BZ #12631]
33752 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33753
81a5726b
AS
337542011-03-30 Andreas Schwab <schwab@redhat.com>
33755
33756 * misc/syncfs.c: New file.
33757 * misc/Makefile (routines): Add syncfs.
33758 * posix/unistd.h: Declare syncfs.
33759 * sysdeps/unix/syscalls.list: Add syncfs.
33760
00e5419f
AS
337612011-04-01 Andreas Schwab <schwab@redhat.com>
33762
33763 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33764 open_by_handle_at.
33765 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33770 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33772
748876bf
UD
337732011-04-01 Ulrich Drepper <drepper@gmail.com>
33774
658e451d
UD
33775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33782
748876bf
UD
33783 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33784 sync_file_range.c with -fexceptions.
33785 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33786 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33787 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33788 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33789 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33790 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33792 sync_file_range as cancellation point
33793 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33794 now a wrapper around __call_sync_file_range with cancellation handling.
33795 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33797 function name to __call_sync_file_range.
33798 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33799 Add call_sync_file_range.
748876bf 33800
6e63d5e1
AS
338012011-04-01 Andreas Schwab <schwab@redhat.com>
33802
33803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33804 bits/timex.h.
6e63d5e1 33805
46998f74
UD
338062011-04-01 Ulrich Drepper <drepper@gmail.com>
33807
4c1423ed
UD
33808 * iconv/iconv.h: Fix typo in comment.
33809 * io/fcntl.h: Likewise.
33810 * libio/stdio.h: Likewise.
33811 * posix/spawn.h: Likewise.
33812 * posix/unistd.h: Likewise.
33813 * stdlib/stdlib.h: Likewise.
33814 * time/time.h: Likewise.
33815 * wcsmbs/wchar.h: Likewise.
33816
158648c0
UD
33817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33818 open_by_handle): Add.
33819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33820 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33821 Augment a few comments.
33822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33827 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33828 open_by_handle.
33829
46998f74
UD
33830 * io/fcntl.h (AT_EMPTY_PATH): Define.
33831
83fe108b
UD
338322011-03-30 Ulrich Drepper <drepper@gmail.com>
33833
33834 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33835 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33836 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33837 to...
33838 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33839 * Versions.def: Add GLIBC_2.14.
33840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33841 Export.
83fe108b 33842
bb242059
UD
338432011-03-22 Ulrich Drepper <drepper@gmail.com>
33844
33845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33846 round counter.
33847 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33848
c97a1282
L
338492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33850
33851 [BZ #12597]
33852 * string/test-strncmp.c (do_page_test): New function.
33853 (check2): Likewise.
33854 (test_main): Call check2.
33855 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33856
2a115601
UD
338572011-03-20 Ulrich Drepper <drepper@gmail.com>
33858
33859 [BZ #12587]
33860 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33861 Handle cache information in CPU leaf 4.
33862 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33863
8126d904
UD
338642011-03-18 Ulrich Drepper <drepper@gmail.com>
33865
042c49c6 33866 [BZ #12583]
8126d904
UD
33867 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33868 character representation.
33869 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33870
ccfe366e
RA
338712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33872
33873 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33874 END(__isnan) to END(__isnanf) to match function entry point/label
33875 EALIGN(__isnanf,...).
33876
c6e13027
JJ
338772011-03-10 Jakub Jelinek <jakub@redhat.com>
33878
33879 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33880
33f85a3f
UD
338812011-03-10 Ulrich Drepper <drepper@gmail.com>
33882
028478fa
UD
33883 [BZ #12510]
33884 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33885 copy from the symbol referenced in the relocation to initialize the
33886 used variable.
33887 Patch by Piotr Bury <pbury@goahead.com>.
33888 * elf/Makefile: Add rules to build and tst-unique3.
33889 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33890 * elf/tst-unique3.cc: New file.
33891 * elf/tst-unique3.h: New file.
33892 * elf/tst-unique3lib.cc: New file.
33893 * elf/tst-unique3lib2.cc: New file.
33894
33f85a3f
UD
33895 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33896
03592fc7
MF
338972011-03-10 Mike Frysinger <vapier@gentoo.org>
33898
33899 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33900 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33901 to _start.
03592fc7 33902
6a5ee102
UD
339032011-03-06 Ulrich Drepper <drepper@gmail.com>
33904
33905 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33906 to-be-loaded object along a path to loader is ld.so.
33907
7e4ba49c
HJ
339082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33909 Ulrich Drepper <drepper@gmail.com>
33910
33911 * sysdeps/x86_64/memset.S: After aligning destination, code
33912 branches to different locations depending on the value of
33913 misalignment, when multiarch is enabled. Fix this.
33914
339152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33916
33917 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33918 Set _x86_64_preferred_memory_instruction for AMD processsors.
33919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33920 Set bit_Prefer_SSE_for_memop for AMD processors.
33921
13a804de
UD
339222011-03-04 Ulrich Drepper <drepper@gmail.com>
33923
33924 * libio/fmemopen.c (fmemopen): Optimize a bit.
33925
9d25c392
AS
339262011-03-03 Andreas Schwab <schwab@redhat.com>
33927
33928 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33929
a5543c6a
RM
339302011-03-03 Roland McGrath <roland@redhat.com>
33931
33932 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33933
012d35f7
DM
339342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33935
7e4ba49c 33936 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33937 __bzero_ultra1 instead of __memset_ultra1.
33938
4bff6e01
AS
339392011-02-23 Andreas Schwab <schwab@redhat.com>
33940 Ulrich Drepper <drepper@gmail.com>
33941
33942 [BZ #12509]
33943 * include/link.h (struct link_map): Add l_orig_initfini.
33944 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33945 returning unsuccessfully.
33946 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33947 close of a file loaded at startup, restore the original l_initfini
33948 list.
33949 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33950 list, store the pointer.
33951 * elf/Makefile ($(objpfx)noload-mem): New rule.
33952 (noload-ENV): Define.
33953 (tests): Add $(objpfx)noload-mem.
33954 * elf/noload.c: Include <memcheck.h>.
33955 (main): Call mtrace. Close all opened handles.
33956
f2092faf
AS
339572011-02-17 Andreas Schwab <schwab@redhat.com>
33958
33959 [BZ #12454]
33960 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33961 dependencies are missing.
33962
6c8a2e88
ST
339632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33964
f2092faf 33965 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33966 Hurd needs munmap.
33967 * sysdeps/mach/hurd/ifreq.h: New file.
33968
84a42118
PB
339692011-01-27 Petr Baudis <pasky@suse.cz>
33970 Ulrich Drepper <drepper@gmail.com>
33971
071f805e 33972 [BZ 12445]#
84a42118
PB
33973 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33974 to extend_alloca().
33975 * stdio-common/bug23.c: New file.
33976 * stdio-common/Makefile (tests): Add bug23.
33977
e23fe25b
AS
339782010-09-28 Andreas Schwab <schwab@redhat.com>
33979 Ulrich Drepper <drepper@gmail.com>
33980
33981 [BZ #12489]
33982 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33983 before performing relro protection. At old place add assertion
33984 to make sure nothing changed.
33985
d3f02e10
NS
339862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33987 Glauber de Oliveira Costa <glommer@gmail.com>
33988
33989 * elf/elf.h: Add new ARM TLS relocs.
33990
d55fd7a5
RA
339912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33992
33993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33994 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33995 cast from r3.
33996 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33997 'tests' variable.
33998 * sysdeps/wordsize-64/tst-writev.c: New file.
33999
2206397e
RA
340002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34001
34002 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34003 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34004 insns in _dl_start to prevent a TOC reference before relocs are
34005 resolved.
34006
e9433893
UD
340072011-02-15 Ulrich Drepper <drepper@gmail.com>
34008
34009 [BZ #12469]
34010 * Makeconfig: Remove RANLIB definition.
34011 * Makerules: Don't use RANLIB.
34012 * aclocal.m4: Remove ranlib test.
34013 * configure.in: No need to check for ranlib.
34014 * elf/rtld-Rules: Don't use RANLIB.
34015
f75286c6
ST
340162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34017
8e31c82d
ST
34018 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34019 protection macro.
34020 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34021 inclusion protection macro.
34022
f75286c6
ST
34023 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34024 SIGRTMIN and SIGRTMAX and print information in that case only when
34025 SIGRTMIN is defined.
34026
c1d0e639
JJ
340272011-02-11 Jakub Jelinek <jakub@redhat.com>
34028
34029 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34030 arginfo fn returning -1.
34031
34032 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34033 and thousands string is zero terminated.
34034
edf9294e
AS
340352011-02-03 Andreas Schwab <schwab@redhat.com>
34036
34037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34038 sysdeps/unix/sysv/linux/bits/socket.h.
34039
2b7e92df
ST
340402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34041
edf9294e
AS
34042 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34043 (__CPU_COUNT): Remove old macros.
34044 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34045 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34046 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34047 (__sched_cpualloc, __sched_cpufree): Add declarations.
34048
a4c7ea7b
UD
340492011-02-05 Ulrich Drepper <drepper@gmail.com>
34050
34051 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34052 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34053 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34054 (readdhstai): Return value of addhstaiX call.
34055 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34056 (addgrbyX): Return value returned by cache_addgr.
34057 (readdgrbyname): Return value returned by addgrbyX.
34058 (readdgrbygid): Likewise.
34059 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34060 (addpwbyX): Return value returned by cache_addpw.
34061 (readdpwbyname): Return value returned by addhstbyX.
34062 (readdpwbyuid): Likewise.
34063 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34064 (addservbyX): Return value returned by cache_addserv.
34065 (readdservbyname): Return value returned by addservbyX:
34066 (readdservbyport): Likewise.
34067 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34068 (addhstbyX): Return value returned by cache_addhst.
34069 (readdhstbyname): Return value returned by addhstbyX.
34070 (readdhstbyaddr): Likewise.
34071 (readdhstbynamev6): Likewise.
34072 (readdhstbyaddrv6): Likewise.
34073 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34074 (readdinitgroups): Return value returned by addinitgroupsX.
34075 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34076 (prune_cache): Keep track of timeout value of re-added entries.
34077 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34078 * nscd/nscd.h: Adjust prototypes of readd* functions.
34079
a0bf67cc
RM
340802011-02-04 Roland McGrath <roland@redhat.com>
34081
34082 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34083 (nis_stats): Likewise.
34084 * nis/nis_modify.c (nis_modify): Likewise.
34085 * nis/nis_remove.c (nis_remove): Likewise.
34086 * nis/nis_add.c (nis_add): Likewise.
34087
34088 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34089
34090 * posix/fnmatch_loop.c: Add some consts.
34091
34092 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34093
435b95eb
L
340942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34095
34096 [BZ #12460]
34097 * config.make.in (config-cflags-novzeroupper): Define.
34098 * configure.in: Substitute libc_cv_cc_novzeroupper.
34099 * elf/Makefile (AVX-CFLAGS): Define.
34100 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34101 (CFLAGS-tst-auditmod4a.c): Likewise.
34102 (CFLAGS-tst-auditmod4b.c): Likewise.
34103 (CFLAGS-tst-auditmod6b.c): Likewise.
34104 (CFLAGS-tst-auditmod6c.c): Likewise.
34105 (CFLAGS-tst-auditmod7b.c): Likewise.
34106 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34107
8517b15e
UD
341082011-02-02 Ulrich Drepper <drepper@gmail.com>
34109
34110 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34111 function to the callback.
34112 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34113
10a656fe
AS
341142011-02-02 Andreas Schwab <schwab@redhat.com>
34115
34116 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34117 of errno.
34118
968dad0a
UD
341192011-01-19 Ulrich Drepper <drepper@gmail.com>
34120
9f94d2ea 34121 [BZ #11724]
968dad0a
UD
34122 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34123 of constructors.
34124 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34125 of destructors.
34126 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34127
34128 [BZ #11724]
34129 * elf/Makefile: Add rules to build and run new test.
34130 * elf/tst-initorder.c: New file.
34131 * elf/tst-initorder.exp: New file.
34132 * elf/tst-initordera1.c: New file.
34133 * elf/tst-initordera2.c: New file.
34134 * elf/tst-initordera3.c: New file.
34135 * elf/tst-initordera4.c: New file.
34136 * elf/tst-initorderb1.c: New file.
34137 * elf/tst-initorderb2.c: New file.
34138 * elf/tst-order-a1.c: New file.
34139 * elf/tst-order-a2.c: New file.
34140 * elf/tst-order-a3.c: New file.
34141 * elf/tst-order-a4.c: New file.
34142 * elf/tst-order-b1.c: New file.
34143 * elf/tst-order-b2.c: New file.
34144 * elf/tst-order-main.c: New file.
34145 New test case by George Gensure <werkt0@gmail.com>.
34146
86e92359
UD
341472010-10-01 Andreas Schwab <schwab@redhat.com>
34148
34149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34150 decoding ACE if AI_CANONIDN.
34151
5d5732b0
UD
341522011-01-18 Ulrich Drepper <drepper@gmail.com>
34153
34154 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34155
a77e8cbc
UD
341562011-01-17 Ulrich Drepper <drepper@gmail.com>
34157
6392473f
UD
34158 * version.h (RELEASE): Bump for 2.13 release.
34159 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34160
620a0529
UD
34161 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34162
18ba70a5
UD
34163 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34164 MADV_NOHUGEPAGE.
32465c3e
UD
34165 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34168 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34171
c0dafcf1
UD
34172 * posix/getconf.c: Update copyright year.
34173 * catgets/gencat.c: Likewise.
34174 * csu/version.c: Likewise.
34175 * debug/catchsegv.sh: Likewise.
34176 * debug/xtrace.sh: Likewise.
34177 * elf/ldconfig.c: Likewise.
34178 * elf/ldd.bash.in: Likewise.
34179 * elf/sprof.c (print_version): Likewise.
34180 * iconv/iconv_prog.c: Likewise.
34181 * iconv/iconvconfig.c: Likewise.
34182 * locale/programs/locale.c: Likewise.
34183 * locale/programs/localedef.c: Likewise.
34184 * malloc/memusage.sh: Likewise.
34185 * malloc/mtrace.pl: Likewise.
34186 * nscd/nscd.c (print_version): Likewise.
34187 * nss/getent.c: Likewise.
34188
a77e8cbc
UD
34189 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34190 PF_CAIF, and PF_ALG.
34191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34192
77e8bddf
AS
341932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34194
1f20b93a
AS
34195 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34196 (modules-names): Use them.
34197 (ifunc-test-modules, ifunc-pie-tests): Define.
34198 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34199 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34200 (test-extras): Likewise.
34201 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34202 $(compile-command.c).
34203 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34204 (all-built-dso): Define.
34205 (check-textrel.out, check-execstack.out): Depend on it.
34206
77e8bddf
AS
34207 * configure.in: Don't override --enable-multi-arch.
34208
bc425b33
UD
342092011-01-15 Ulrich Drepper <drepper@gmail.com>
34210
34211 [BZ #6812]
34212 * nscd/hstcache.c (tryagain): Define.
34213 (cache_addhst): Return tryagain not notfound for temporary errors.
34214 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34215 failed.
34216
794c3ad3
UD
342172011-01-14 Ulrich Drepper <drepper@gmail.com>
34218
70181fdd
UD
34219 [BZ #10563]
34220 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34221 to make the syscall.
34222 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34223
794c3ad3
UD
34224 [BZ #12378]
34225 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34226 and fall back to matching as normal character if the string ends before
34227 the matching ']' is found. This is what POSIX requires.
34228 * posix/testfnm.c: Adjust test result.
34229 * posix/globtest.sh: Adjust test result. Add new test.
34230 * posix/tst-fnmatch.input: Likewise.
34231 * posix/tst-fnmatch2.c: Add new test.
34232
68dc9497
AS
342332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34234
34235 * elf/Makefile (check-execstack): Revert last change. Depend on
34236 check-execstack.h.
34237 (check-execstack.h): New target.
34238 (generated): Add check-execstack.h.
34239 * elf/check-execstack.c: Include "check-execstack.h".
34240 (main): Revert last change.
34241 (handle_file): Return zero if GNU_STACK is absent and
34242 DEFAULT_STACK_PERMS doesn't include PF_X.
34243
451f001b
UD
342442011-01-13 Ulrich Drepper <drepper@gmail.com>
34245
cfa28e56
UD
34246 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34247 in child fails because the descriptor is already closed.
8cf8ce17
UD
34248 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34249 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34250 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34251
1086d70d
UD
34252 [BZ #12397]
34253 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34254 syscall.
34255
451f001b
UD
34256 [BZ #10484]
34257 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34258 temporary buffer used to handle multi lookups locally.
a85b5cb4 34259 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34260
08769175
UD
342612011-01-12 Ulrich Drepper <drepper@gmail.com>
34262
34263 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34264 loader is ld.so.
34265
5e49c52e
UD
342662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34267
34268 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34269 alignment for SSE2.
34270
60522a5f
UD
342712011-01-12 Ulrich Drepper <drepper@gmail.com>
34272
34273 [BZ #12394]
34274 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34275 characters. When rounding increased number of integer digits recompute
34276 number of groups.
34277 * stdio-common/tst-grouping.c: New file.
34278 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34279
f257bbd7
UD
342802011-01-09 Ulrich Drepper <drepper@gmail.com>
34281
34282 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34283 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34284
34285 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34286 void.
34287 * bits/select.h: Likewise.
34288
fa9c15cb
UD
342892011-01-08 Ulrich Drepper <drepper@gmail.com>
34290
34291 * po/ja.po: Update from translation team.
34292
16c2895f
DM
342932011-01-04 David S. Miller <davem@sunset.davemloft.net>
34294
34295 [BZ #11155]
34296 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34297 implementation just like for lxstat, fxstatat, et al.
34298
2543fef2
JM
342992010-12-27 Jim Meyering <meyering@redhat.com>
34300
34301 [BZ #12348]
34302 * posix/regexec.c (build_trtable): Return failure indication upon
34303 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34304
98727dbe
UD
343052010-12-25 Ulrich Drepper <drepper@gmail.com>
34306
5bd6dc5c
UD
34307 [BZ #12201]
34308 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34309 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34310 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34312
97983464
UD
34313 [BZ #12207]
34314 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34315
98727dbe
UD
34316 [BZ #12204]
34317 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34318 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34319
4a531bb0
L
343202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34321
34322 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34323 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34324 script has SORT_BY_INIT_PRIORITY.
34325 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34326 NO_CTORS_DTORS_SECTIONS is defined.
34327 * elf/soinit.c: Likewise.
34328 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34329 NO_CTORS_DTORS_SECTIONS is defined.
34330 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34331 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34332 * sysdeps/sh/init-first.c: Likewise.
34333 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34334
07eb4b71
UD
343352010-12-24 Ulrich Drepper <drepper@gmail.com>
34336
34337 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34338 always use the slow path.
34339
30950a5f
RA
343402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34341
34342 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34343 similar rule which adds the sysdep directories to the header search in
34344 order to pick up the correct platform stackinfo.h.
34345 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34346 perform test if it is, otherwise return successfully without testing.
34347 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34348 DEFAULT_STACK_PERMS define in stackinfo.h.
34349 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34350 defined in stackinfo.h.
34351 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34352 DEFAULT_STACK_PERMS defined in stackinfo.h.
34353 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34354 * sysdeps/ia64/stackinfo.h: Likewise.
34355 * sysdeps/s390/stackinfo.h: Likewise.
34356 * sysdeps/sh/stackinfo.h: Likewise.
34357 * sysdeps/sparc/stackinfo.h: Likewise.
34358 * sysdeps/x86_64/stackinfo.h: Likewise.
34359 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34360 PF_X for powerpc64. Retain PF_X for powerpc32.
34361
db753e2c
UD
343622010-12-19 Ulrich Drepper <drepper@gmail.com>
34363
14b697f7
UD
34364 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34365 accurately.
db753e2c
UD
34366 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34367 GETDENTS_64BIT_ALIGNED.
34368
28300719
UD
343692010-12-14 Ulrich Drepper <dreper@gmail.com>
34370
14b697f7 34371 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34372
4f197237
AS
343732010-12-10 Andreas Schwab <schwab@redhat.com>
34374
dbb0472f
AS
34375 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34376 _GNU_SOURCE.
34377
4f197237
AS
34378 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34379 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34380 Remove __restrict.
34381 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34382 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34383
fb88ac72
UD
343842010-12-09 Ulrich Drepper <drepper@gmail.com>
34385
34386 [BZ #11655]
34387 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34388 are initialized.
34389
42acbb92
JJ
343902010-12-09 Jakub Jelinek <jakub@redhat.com>
34391
34392 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34393
c038d98d
UD
343942010-12-03 Ulrich Drepper <drepper@gmail.com>
34395
34396 * po/it.po: Update from translation team.
34397
3a4a2499
L
343982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34399
34400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34401 unused codes.
34402
1e24cf6e
UD
344032010-11-30 Ulrich Drepper <drepper@gmail.com>
34404
34405 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34406
a7690819
AS
344072010-11-24 Andreas Schwab <schwab@redhat.com>
34408
34409 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34410 specially.
34411 (gaih_getanswer_slice): Likewise.
34412
3bf8d1b1
JJ
344132010-10-20 Jakub Jelinek <jakub@redhat.com>
34414
34415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34416
6db52fbb
PB
344172010-05-31 Petr Baudis <pasky@suse.cz>
34418
34419 [BZ #11149]
34420 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34421 silently even in the chroot mode.
34422
eaca7569
UD
344232010-11-22 Ulrich Drepper <drepper@gmail.com>
34424
34425 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34426 last patch a bit. Pretty printing
34427
3056dcdb
UD
344282010-05-31 Petr Baudis <pasky@suse.cz>
34429
34430 [BZ #10085]
34431 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34432 initialization of skip_initgroups_dyn.
34433
cf7c9078
UD
344342010-11-19 Ulrich Drepper <drepper@gmail.com>
34435
34436 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34438
a1fb5e3e
UD
344392010-11-16 Ulrich Drepper <drepper@gmail.com>
34440
34441 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34442
3540d66b
AS
344432010-11-11 Andreas Schwab <schwab@redhat.com>
34444
34445 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34446 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34447 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34448 ($(objpfx)tst-fnmatch-mem): New rule.
34449 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34450 * posix/tst-fnmatch.c (main): Call mtrace.
34451
13b69574
L
344522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34453
34454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34455 Support Intel processor model 6 and model 0x2c.
34456
da93d214
LM
344572010-11-10 Luis Machado <luisgpm@br.ibm.com>
34458
34459 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34460 signed comparison.
34461
8ca52c6e
L
344622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34463
34464 [BZ #12205]
34465 * string/test-strncasecmp.c (check_result): New function.
34466 (do_one_test): Use it.
34467 (check1): New function.
34468 (test_main): Use it.
34469 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34470 Support strcasecmp and strncasecmp.
34471
69da074d
UD
344722010-11-08 Ulrich Drepper <drepper@gmail.com>
34473
34474 [BZ #12194]
34475 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34477
ff02d528
L
344782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34479
34480 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34481 IFUNC support.
34482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34483 memset-x86-64.
34484 * sysdeps/x86_64/multiarch/bzero.S: New file.
34485 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34486 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34487 * sysdeps/x86_64/multiarch/memset.S: New file.
34488 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34490 Set bit_Prefer_SSE_for_memop for Intel processors.
34491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34492 Define.
34493 (index_Prefer_SSE_for_memop): Define.
34494 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34495
344d0b54
LM
344962010-11-04 Luis Machado <luisgpm@br.ibm.com>
34497
34498 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34499 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34500
c0dde15b
UD
345012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34502
34503 [BZ #12191]
34504 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34505 (__x86_64_raw_data_cache_size_half): Likewise.
34506 (__x86_64_raw_shared_cache_size): Likewise.
34507 (__x86_64_raw_shared_cache_size_half): Likewise.
34508
34509 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34510 (__x86_64_raw_data_cache_size_half): Likewise.
34511 (__x86_64_raw_shared_cache_size): Likewise.
34512 (__x86_64_raw_shared_cache_size_half): Likewise.
34513 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34514 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34515 and __x86_64_raw_shared_cache_size_half. Round
34516 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34517 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34518 to multiple of 256 bytes.
34519
0e516e0e
MS
345202010-11-03 Ulrich Drepper <drepper@gmail.com>
34521
34522 [BZ #12167]
34523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34524 of inacessible symlinks. Verify result of symlink before returning it.
34525 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34526 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34527
0e012e87
ER
345282010-10-28 Erich Ritz <erichritz@gmail.com>
34529
34530 * math/math.h (isinf): Fix typo in comment.
34531
de0ff7bc
UD
345322010-11-01 Ulrich Drepper <drepper@gmail.com>
34533
34534 * po/da.po: Update from translation team.
34535
fa41c84d
UD
345362010-10-26 Ulrich Drepper <drepper@gmail.com>
34537
34538 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34539 is added to the list.
34540
f0967738
AK
345412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34542 Ulrich Drepper <drepper@gmail.com>
34543
34544 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34545 the global list here. Move code to...
34546 (_dl_add_to_namespace_list): ...here. New function.
34547 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34548 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34549 * elf/dl-load.c (lose): Don't remove the element from the list.
34550 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34551 (_dl_map_object): Likewise.
34552
345532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34554
34555 [BZ #12159]
34556 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34557 into all bytes of SSE register.
34558 Patch by Richard Li <richardpku@gmail.com>.
34559
f0967738 345602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34561
34562 [BZ #12140]
34563 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34564 perturbing.
34565
d0b9e94f
MB
345662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34567
34568 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34569 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34570 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34571 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34573 submachine.
34574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34575
8e9f92e9
AS
345762010-10-22 Andreas Schwab <schwab@redhat.com>
34577
34578 * include/dlfcn.h (__RTLD_SECURE): Define.
34579 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34580 mode & __RTLD_SECURE instead.
34581 (open_path): Rename preloaded parameter to secure.
34582 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34583 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34584 * elf/dl-deps.c (openaux): Likewise.
34585 * elf/rtld.c (struct map_args): Remove is_preloaded.
34586 (map_doit): Don't use it.
34587 (dl_main): Likewise.
34588 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34589 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34590
bc96fbda
AS
345912010-09-09 Andreas Schwab <schwab@redhat.com>
34592
34593 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34594 (sysd-rules-targets): Remove duplicates.
34595 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34596 rtld-%.$o dependency.
34597
22cd1c9b
AS
345982010-10-18 Andreas Schwab <schwab@redhat.com>
34599
34600 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34601 _dl_map_object do it.
34602
18edac48
UD
346032010-10-19 Ulrich Drepper <drepper@gmail.com>
34604
34605 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34606 fast fma builtins, define the macros in the C99 standard.
34607 (FP_FAST_FMAF): Likewise.
34608 (FP_FAST_FMAL): Likewise.
34609 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34610
34611 * bits/mathdef.h: Update copyright year.
34612 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34613
d2050124
MM
346142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34615
34616 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34617 builtins, define the macros in the C99 standard.
34618 (FP_FAST_FMAF): Likewise.
34619 (FP_FAST_FMAL): Likewise.
34620 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34621 multiply/add.
34622 (FP_FAST_FMAF): Likewise.
34623
475facd1
JJ
346242010-10-15 Jakub Jelinek <jakub@redhat.com>
34625
34626 [BZ #3268]
34627 * math/libm-test.inc (fma_test): Some new testcases.
34628 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34630 y and infinite z. Do multiplication by C already in long double.
34631 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34633 y and infinite z. Do bitwise or of inexact bit into u.d.
34634 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34635 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34636 * sysdeps/i386/fpu/s_fma.S: Removed.
34637 * sysdeps/i386/fpu/s_fmal.S: Removed.
34638
7c08a05c
JJ
346392010-10-16 Jakub Jelinek <jakub@redhat.com>
34640
34641 [BZ #3268]
34642 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34644 computation is not scheduled after fetestexcept. Fix value
34645 of minimum denormal long double.
34646
f3f7372d
JJ
346472010-10-14 Jakub Jelinek <jakub@redhat.com>
34648
34649 [BZ #3268]
34650 * math/libm-test.inc (fma_test): Add some more tests.
34651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34652 correctly.
34653
14d43591
AS
346542010-10-15 Andreas Schwab <schwab@redhat.com>
34655
34656 * scripts/data/localplt-s390-linux-gnu.data: New file.
34657 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34658
5e908464
JJ
346592010-10-13 Jakub Jelinek <jakub@redhat.com>
34660
34661 [BZ #3268]
34662 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34663 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34664 instead of dbl-64.
34665 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34666 inlines.
34667 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34669 if one of x and y is very large and the other is subnormal.
34670 * sysdeps/s390/fpu/s_fmaf.c: New file.
34671 * sysdeps/s390/fpu/s_fma.c: New file.
34672 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34673 * sysdeps/powerpc/fpu/s_fma.S: New file.
34674 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34675 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34676 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34677
346782010-10-12 Jakub Jelinek <jakub@redhat.com>
34679
34680 [BZ #3268]
34681 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34682 fma tests.
34683 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34684 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34685 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34686 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34687 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34688 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34690
b833d51f
UD
346912010-10-12 Ulrich Drepper <drepper@redhat.com>
34692
34693 [BZ #12078]
34694 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34695 * posix/bug-regex31.input: Add test case.
34696
1751705d
UD
346972010-10-11 Ulrich Drepper <drepper@gmail.com>
34698
e9b9cbf5
UD
34699 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34700 * posix/bug-regex31.input: New file.
34701
34702 [BZ #12078]
34703 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34704 (parse_sub_exp): Fix last change, use postorder.
34705
ef06edbe
UD
34706 * posix/bug-regex31.c: New file.
34707 * posix/Makefile: Add rules to build and run bug-regex31.
34708
a129c80d
UD
34709 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34710
34711 [BZ #12078]
34712 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34713
b76b818e
UD
34714 [BZ #12108]
34715 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34716 to have entries in sys_siglist.
34717
1751705d
UD
34718 [BZ #12093]
34719 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34720 be NULL.
34721
9ff8d36f
JJ
347222010-10-07 Jakub Jelinek <jakub@redhat.com>
34723
34724 [BZ #3268]
34725 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34726 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34727 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34728 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34729 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34730 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34731 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34732 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34733 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34734 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34735 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34736 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34737 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34738 * math/ftestexcept.c (fetestexcept): Likewise.
34739 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34740 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34741 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34742 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34743 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34744 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34746
af325969
UD
347472010-10-11 Ulrich Drepper <drepper@gmail.com>
34748
c579b202 34749 [BZ #12107]
af325969
UD
34750 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34751 newline.
34752
67a67b95
UD
347532010-10-06 Ulrich Drepper <drepper@gmail.com>
34754
34755 * string/bug-strstr1.c: New file.
34756 * string/Makefile: Add rules to build and run bug-strstr1.
34757
5fb308bc
EB
347582010-10-05 Eric Blake <eblake@redhat.com>
34759
34760 [BZ #12092]
34761 * string/str-two-way.h (two_way_long_needle): Always clear memory
34762 when skipping input due to the shift table.
34763
45db99c7
UD
347642010-10-03 Ulrich Drepper <drepper@gmail.com>
34765
3b111893
UD
34766 [BZ #12005]
34767 * malloc/mcheck.c: Handle large requests.
34768
45db99c7
UD
34769 [BZ #12077]
34770 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34771 for strncmp and strncasecmp.
34772 * string/stratcliff.c: Add tests for strcmp and strncmp.
34773 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34774
cf7a1eb8
NI
347752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34776
34777 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34778 __set_fpscr.
34779
6484ba5e
AJ
347802010-09-30 Andreas Jaeger <aj@suse.de>
34781
34782 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34783 (CGROUP_SUPER_MAGIC): Define.
34784 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34785 Handle btrfs and cgroup file systems.
34786 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34787 Likewise.
34788
91c42559
LM
347892010-09-27 Luis Machado <luisgpm@br.ibm.com>
34790
34791 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34792 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34793
87a97932
AK
347942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34795
34796 [BZ #12067]
34797 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34798 trying to locate the ELF header.
34799
c21cc9bc
AS
348002010-09-27 Andreas Schwab <schwab@redhat.com>
34801
34802 [BZ #11611]
34803 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34804 Mask out sign-bit copies when constructing f_fsid.
34805
315970f6
PB
348062010-09-24 Petr Baudis <pasky@suse.cz>
34807
34808 * debug/stack_chk_fail_local.c: Add missing licence exception.
34809 * debug/warning-nop.c: Likewise.
34810
1ac7a2c7
JM
348112010-09-15 Joseph Myers <joseph@codesourcery.com>
34812
34813 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34814 implementing getdents64 using getdents syscall, set d_type if
34815 __ASSUME_GETDENTS32_D_TYPE.
34816
56801c50
AS
348172010-09-16 Andreas Schwab <schwab@redhat.com>
34818
34819 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34820 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34821
dda51327
UD
348222010-09-21 Ulrich Drepper <drepper@redhat.com>
34823
34824 [BZ #12037]
34825 * posix/unistd.h: Undo change of feature selection for ftruncate from
34826 2010-01-11.
34827
8ffcee4a
UD
348282010-09-20 Ulrich Drepper <drepper@redhat.com>
34829
a545ecd9 34830 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34831 detection.
34832
e24f0a8b
AS
348332010-09-20 Andreas Schwab <schwab@redhat.com>
34834
34835 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34836 fanotify_mark.
34837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34838
7291c56f
AS
348392010-09-14 Andreas Schwab <schwab@redhat.com>
34840
34841 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34842 variables after CHECK_SP call.
34843 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34844
bc5fb037
AS
348452010-09-13 Andreas Schwab <schwab@redhat.com>
34846 Ulrich Drepper <drepper@redhat.com>
34847
34848 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34849 re-relocationg ld.so.
34850 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34851 _dl_init_paths call.
34852 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34853 here anymore.
34854
e66e7419
UD
348552010-09-14 Ulrich Drepper <drepper@redhat.com>
34856
34857 * resolv/res_init.c (__res_vinit): Count the default server we added.
34858
c044aa75
CLT
348592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34860 Ulrich Drepper <drepper@redhat.com>
34861
34862 [BZ #11968]
34863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34864 (____longjmp_chk): Use %ebx for saving value across system call.
34865 Add unwind info.
34866
32cf4069
AS
348672010-09-06 Andreas Schwab <schwab@redhat.com>
34868
34869 * manual/Makefile: Don't mix pattern rules with normal rules.
34870
817328ee
AS
348712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34872
34873 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34874 operation.
34875 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34876 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34877 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34878 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34880 Likewise.
34881
29fddf61
UD
348822010-09-04 Ulrich Drepper <drepper@redhat.com>
34883
34884 [BZ #11979]
34885 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34886 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34887
0959ffc9
UD
348882010-09-02 Ulrich Drepper <drepper@redhat.com>
34889
34890 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34891 * sysdeps/x86_64/addmul_1.S: Likewise.
34892 * sysdeps/x86_64/lshift.S: Likewise.
34893 * sysdeps/x86_64/mul_1.S: Likewise.
34894 * sysdeps/x86_64/rshift.S: Likewise.
34895 * sysdeps/x86_64/sub_n.S: Likewise.
34896 * sysdeps/x86_64/submul_1.S: Likewise.
34897
ece29840
ST
348982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34899
0959ffc9
UD
34900 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34901 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34902 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34903 * bits/sched.h [__need_schedparam]
ece29840 34904 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34905 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34906 (__defined_schedparam): Define to 1.
ece29840
ST
34907 (__sched_param): New structure, identical to sched_param.
34908 (__need_schedparam): Undefine.
34909
e53a31fe
MF
349102010-08-31 Mike Frysinger <vapier@gentoo.org>
34911
fdc0c10d
MF
34912 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34913 (epoll_create1): Declare.
34914
e53a31fe
MF
34915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34916
a726d796
AS
349172010-08-31 Andreas Schwab <schwab@redhat.com>
34918
34919 [BZ #7066]
34920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34921 shifting retval into place.
34922
2f3e3dc7
UD
349232010-09-01 Ulrich Drepper <drepper@redhat.com>
34924
f2933da9
UD
34925 * nis/rpcsvc/nis.h: Update copyright notice.
34926 * nis/rpcsvc/nis.x: Likewise.
34927 * nis/rpcsvc/nis_callback.h: Likewise.
34928 * nis/rpcsvc/nis_callback.x: Likewise.
34929 * nis/rpcsvc/nis_object.x: Likewise.
34930 * nis/rpcsvc/nis_tags.h: Likewise.
34931 * nis/rpcsvc/yp.h: Likewise.
34932 * nis/rpcsvc/yp.x: Likewise.
34933 * nis/rpcsvc/ypupd.h: Likewise.
34934 * nis/yp_xdr.c: Likewise.
34935 * nis/ypupdate_xdr.c: Likewise.
34936
2f3e3dc7
UD
34937 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34938 mainly the body of pmap_getport. Add parameters to specify timeouts.
34939 (pmap_getport): Use __libc_rpc_getport.
34940 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34941 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34942 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34943
f3dcc2f9
AS
349442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34945
34946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34947 fanotify_mark.
34948
6d34eb5b
RM
349492010-08-27 Roland McGrath <roland@redhat.com>
34950
34951 * sysdeps/i386/i686/multiarch/Makefile
34952 (CFLAGS-varshift.c): New variable.
34953
9ea3de11
UD
349542010-08-27 Ulrich Drepper <drepper@redhat.com>
34955
c96d23fc
UD
34956 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34957 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34958
9ea3de11
UD
34959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34960
34961 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34962
623aac7f
L
349632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34964
34965 * sysdeps/x86_64/strlen.S: Unroll the loop.
34966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34967 strlen-sse2 strlen-sse2-bsf.
34968 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34969 __strlen_no_bsf if bit_Slow_BSF is set.
34970 (__strlen_sse42): Removed.
34971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34972 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34973
8b2b7715
RM
349742010-08-25 Roland McGrath <roland@redhat.com>
34975
34976 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34977 * sysdeps/x86_64/multiarch/varshift.c: New file.
34978 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34979 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34980 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34981 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34982
e73015f2
L
349832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34984
34985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34986 strlen-sse2 strlen-sse2-bsf.
34987 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34988 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34989 (__strlen_sse2): Removed.
34990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34993 bit_Slow_BSF for Atom.
34994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34995 (index_Slow_BSF): Define.
34996 (HAS_SLOW_BSF): Define.
34997
df24a73e
UD
349982010-08-25 Ulrich Drepper <drepper@redhat.com>
34999
35000 [BZ #10851]
35001 * resolv/res_init.c (__res_vinit): When no server address at all
35002 is given default to loopback.
35003
f2ac4868
RM
350042010-08-24 Roland McGrath <roland@redhat.com>
35005
09055553
RM
35006 * configure.in: Remove config-name.h generation.
35007 * configure: Regenerated.
35008 * config-name.in: File removed.
35009 * scripts/config-uname.sh: New file.
35010 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35011 ($(objdir)config-name.h): New target.
35012
f2ac4868
RM
35013 * sunrpc/rpc_parse.h: Avoid nested comment.
35014
73f27d5e
RH
350152010-08-24 Richard Henderson <rth@redhat.com>
35016 Ulrich Drepper <drepper@redhat.com>
35017 H.J. Lu <hongjiu.lu@intel.com>
35018
35019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35021 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35022 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35023 _mm_alignr_epi8 with _mm_loadu_si128.
35024 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35025 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35026 (__m128i_shift_right): Removed.
35027 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35028 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35029 * sysdeps/x86_64/multiarch/varshift.h: New file.
35030 * sysdeps/x86_64/multiarch/varshift.S: New file.
35031
84b9230c
MF
350322010-08-21 Mike Frysinger <vapier@gentoo.org>
35033
35034 * configure.in: Move assembler checks to before sysdep dir checking.
35035
9bbd0ddc
PB
350362010-08-20 Petr Baudis <pasky@suse.cz>
35037
35038 * LICENSES: Sync the sunrpc license.
35039
9da4bb31
UD
350402010-08-19 Ulrich Drepper <drepper@redhat.com>
35041
a7ab6ec8
UD
35042 * sunrpc/auth_des.c: Update copyright notice once again.
35043 * sunrpc/auth_none.c: Likewise.
35044 * sunrpc/auth_unix.c: Likewise.
35045 * sunrpc/authdes_prot.c: Likewise.
35046 * sunrpc/authuxprot.c: Likewise.
35047 * sunrpc/bindrsvprt.c: Likewise.
35048 * sunrpc/clnt_gen.c: Likewise.
35049 * sunrpc/clnt_perr.c: Likewise.
35050 * sunrpc/clnt_raw.c: Likewise.
35051 * sunrpc/clnt_simp.c: Likewise.
35052 * sunrpc/clnt_tcp.c: Likewise.
35053 * sunrpc/clnt_udp.c: Likewise.
35054 * sunrpc/clnt_unix.c: Likewise.
35055 * sunrpc/des_crypt.c: Likewise.
35056 * sunrpc/des_soft.c: Likewise.
35057 * sunrpc/get_myaddr.c: Likewise.
35058 * sunrpc/getrpcport.c: Likewise.
35059 * sunrpc/key_call.c: Likewise.
35060 * sunrpc/key_prot.c: Likewise.
35061 * sunrpc/openchild.c: Likewise.
35062 * sunrpc/pm_getmaps.c: Likewise.
35063 * sunrpc/pm_getport.c: Likewise.
35064 * sunrpc/pmap_clnt.c: Likewise.
35065 * sunrpc/pmap_prot.c: Likewise.
35066 * sunrpc/pmap_prot2.c: Likewise.
35067 * sunrpc/pmap_rmt.c: Likewise.
35068 * sunrpc/rpc/auth.h: Likewise.
35069 * sunrpc/rpc/auth_unix.h: Likewise.
35070 * sunrpc/rpc/clnt.h: Likewise.
35071 * sunrpc/rpc/des_crypt.h: Likewise.
35072 * sunrpc/rpc/key_prot.h: Likewise.
35073 * sunrpc/rpc/netdb.h: Likewise.
35074 * sunrpc/rpc/pmap_clnt.h: Likewise.
35075 * sunrpc/rpc/pmap_prot.h: Likewise.
35076 * sunrpc/rpc/pmap_rmt.h: Likewise.
35077 * sunrpc/rpc/rpc.h: Likewise.
35078 * sunrpc/rpc/rpc_des.h: Likewise.
35079 * sunrpc/rpc/rpc_msg.h: Likewise.
35080 * sunrpc/rpc/svc.h: Likewise.
35081 * sunrpc/rpc/svc_auth.h: Likewise.
35082 * sunrpc/rpc/types.h: Likewise.
35083 * sunrpc/rpc/xdr.h: Likewise.
35084 * sunrpc/rpc_clntout.c: Likewise.
35085 * sunrpc/rpc_cmsg.c: Likewise.
35086 * sunrpc/rpc_common.c: Likewise.
35087 * sunrpc/rpc_cout.c: Likewise.
35088 * sunrpc/rpc_dtable.c: Likewise.
35089 * sunrpc/rpc_hout.c: Likewise.
35090 * sunrpc/rpc_main.c: Likewise.
35091 * sunrpc/rpc_parse.c: Likewise.
35092 * sunrpc/rpc_parse.h: Likewise.
35093 * sunrpc/rpc_prot.c: Likewise.
35094 * sunrpc/rpc_sample.c: Likewise.
35095 * sunrpc/rpc_scan.c: Likewise.
35096 * sunrpc/rpc_scan.h: Likewise.
35097 * sunrpc/rpc_svcout.c: Likewise.
35098 * sunrpc/rpc_tblout.c: Likewise.
35099 * sunrpc/rpc_util.c: Likewise.
35100 * sunrpc/rpc_util.h: Likewise.
35101 * sunrpc/rpcinfo.c: Likewise.
35102 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35103 * sunrpc/rpcsvc/key_prot.x: Likewise.
35104 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35105 * sunrpc/rpcsvc/mount.x: Likewise.
35106 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35107 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35108 * sunrpc/rpcsvc/rex.x: Likewise.
35109 * sunrpc/rpcsvc/rstat.x: Likewise.
35110 * sunrpc/rpcsvc/rusers.x: Likewise.
35111 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35112 * sunrpc/rpcsvc/spray.x: Likewise.
35113 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35114 * sunrpc/rtime.c: Likewise.
35115 * sunrpc/svc.c: Likewise.
35116 * sunrpc/svc_auth.c: Likewise.
35117 * sunrpc/svc_authux.c: Likewise.
35118 * sunrpc/svc_raw.c: Likewise.
35119 * sunrpc/svc_run.c: Likewise.
35120 * sunrpc/svc_simple.c: Likewise.
35121 * sunrpc/svc_tcp.c: Likewise.
35122 * sunrpc/svc_udp.c: Likewise.
35123 * sunrpc/svc_unix.c: Likewise.
35124 * sunrpc/svcauth_des.c: Likewise.
35125 * sunrpc/xcrypt.c: Likewise.
35126 * sunrpc/xdr.c: Likewise.
35127 * sunrpc/xdr_array.c: Likewise.
35128 * sunrpc/xdr_float.c: Likewise.
35129 * sunrpc/xdr_mem.c: Likewise.
35130 * sunrpc/xdr_rec.c: Likewise.
35131 * sunrpc/xdr_ref.c: Likewise.
35132 * sunrpc/xdr_sizeof.c: Likewise.
35133 * sunrpc/xdr_stdio.c: Likewise.
35134
9da4bb31
UD
35135 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35136 handling.
35137
bdaa77bc
AS
351382010-08-19 Andreas Schwab <schwab@redhat.com>
35139
35140 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35141
fe2f79db
LM
351422010-08-19 Luis Machado <luisgpm@br.ibm.com>
35143
35144 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35145 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35146 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35147 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35148 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35149 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35150 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35151 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35153 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35154 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35155 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35156 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35157 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35158
b9b42ee0
AB
351592010-07-26 Anton Blanchard <anton@samba.org>
35160
35161 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35162 * malloc/arena.c (heap_trim): Likewise.
35163
1c06ba31
UD
351642010-08-16 Ulrich Drepper <drepper@redhat.com>
35165
35166 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35167 here. Not...
35168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35169 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35170
f8392f40
L
351712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35172
35173 * sysdeps/i386/elf/Makefile: New file.
35174
3162f12e
AS
351752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35176
35177 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35178 from fanotify_init.
35179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35181
28c90b2c
UD
351822010-08-15 Ulrich Drepper <drepper@redhat.com>
35183
35184 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35185 of strncasecmp_l.
1feccb6c 35186 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35187
ca6bb004
UD
351882010-08-14 Ulrich Drepper <drepper@redhat.com>
35189
e9f82e0d
UD
35190 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35191 strncase_l-nonascii.
35192 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35193 Add strncase_l-ssse3.
35194 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35195 * sysdeps/x86_64/strcmp.S: Likewise.
35196 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35197 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35198 * sysdeps/x86_64/strncase.S: New file.
35199 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35200 * sysdeps/x86_64/strncase_l.S: New file.
35201 * string/Makefile (strop-tests): Add strncasecmp.
35202 * string/test-strncasecmp.c: New file.
35203
35204 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35205 warning.
35206
ca6bb004
UD
35207 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35208 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35209
052fa7b3
AS
352102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35211
35212 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35213
962dba78
UD
352142010-08-12 Ulrich Drepper <drepper@redhat.com>
35215
35216 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35219
bebff237
AM
352202010-05-01 Alan Modra <amodra@gmail.com>
35221
35222 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35223 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35224 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35225 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35226 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35227 tidying. Don't tail-call __sigjmp_save for static lib.
35228 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35229 save location.
35230 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35231 (CALL_MCOUNT): Add eh info, and nop after bl.
35232 (TAIL_CALL_SYSCALL_ERROR): New macro.
35233 (PSEUDO_RET): Use it.
35234 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35235 Correct save location of integer regs and cr.
35236 (_dl_profile_resolve): Correct cr save location. Delete nops
35237 after bl when SHARED. Reduce cfi size a little by better
35238 placement of cfi directives.
35239 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35240 make a stack frame. Instead use parm save area as a temp.
35241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35242 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35244 Don't make a stack frame for parent, use parm save area.
35245 Increase child stack frame to 112 bytes. Don't save unused reg,
35246 and adjust reg usage. Set up cfi on error recovery and
35247 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35249 (__makecontext): Add dummy nop after jump to exit.
35250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35251 Use correct parm save area and cr save, reduce stack frame.
35252 Correct cfi for possible PSEUDO_RET frame setup.
35253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35254 Branch to local label emitted by PSEUDO_RET rather than
35255 __syscall_error.
35256
02637374
AS
352572010-08-12 Andreas Schwab <schwab@redhat.com>
35258
35259 [BZ #11904]
35260 * locale/programs/locale.c (print_assignment): New function.
35261 (show_locale_vars): Use it.
35262
c3e2f19b
UD
352632010-08-11 Ulrich Drepper <drepper@redhat.com>
35264
3cdaa6ad
UD
35265 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35266 field.
35267 (struct statfs64): Likewise.
35268 (_STATFS_F_FLAGS): Define.
35269 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35271 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35272 (ST_VALID): Define locally.
35273 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35274 __statvfs_getflags, use the provided value.
35275 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35276 __ASSUME_STATFS_F_FLAGS.
35277
754f7da3
UD
35278 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35279
10b3bedc
UD
35280 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35281 Add sys/fanotify.h.
35282 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35283 fanotify_mask for GLIBC_2.13.
35284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35285 fanotify_init and fanotify_mark.
35286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35287 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35288
c08fb0d7
UD
35289 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35290 Add prlimit.
35291 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35292 prlimit64 for GLIBC_2.13.
35293 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35294 prlimit64.
35295 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35296 syscall.
35297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35298 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35299 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35302 add prlimit alias.
35303 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35304
15bac72b
UD
35305 [BZ #11903]
35306 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35307 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35308
c3e2f19b
UD
35309 * nss/Makefile: Add rules to build and run tst-nss-test1.
35310 * shlib-versions: Add entry for libnss_test1.
35311 * nss/nss_test1.c: New file.
35312 * nss/tst-nss-test1.c: New file.
35313
35314 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35315 (__nss_configure_lookup): Set appropriate entry in
35316 __nss_configure_lookup to true.
35317 * nss/nsswitch.h: Define enum with indeces of databases in
35318 databases and __nss_database_custom arrays. Declare
35319 __nss_database_custom.
35320 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35321 to avoid using nscd when custom rules are installed.
35322 * nss/getXXbyYY_r.c: Likewise.
35323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35324
35325 * nss/nss_files/files-parse.c: Whitespace fixes.
35326
f15ce4d8
UD
353272010-08-09 Ulrich Drepper <drepper@redhat.com>
35328
35329 [BZ #11883]
35330 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35331 * posix/fnmatch_loop.c: Likewise.
35332
d22e4cc9
AK
353332010-07-17 Andi Kleen <ak@linux.intel.com>
35334
35335 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35336 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35337 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35338 * Versions.def [GLIBC_2.13]: Add.
35339
805bc17d
UD
353402010-08-06 Ulrich Drepper <drepper@redhat.com>
35341
35342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35343 Also fail if tpwd after pwuid call is NULL.
35344
5a42321d
ST
353452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35346
35347 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35348 when converting to ms.
35349
fd3ebeda
ST
353502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35351
35352 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35353 EOPNOTSUPP errors with ENOTTY.
35354 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35355 EOPNOTSUPP errors with ENOTTY.
35356
73507d3a
UD
353572010-07-31 Ulrich Drepper <drepper@redhat.com>
35358
35359 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35360 Add strcasecmp_l-ssse3.
35361 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35362 strcasecmp.
35363 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35364 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35365 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35366
fe36dd02
UD
353672010-07-30 Ulrich Drepper <drepper@redhat.com>
35368
66f6765a
UD
35369 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35370
42e08a54
UD
35371 * string/Makefile (strop-tests): Add strcasecmp.
35372 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35373 strcasecmp_l-nonascii.
35374 (gen-as-const-headers): Add locale-defines.sym.
35375 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35376 * sysdeps/x86_64/strcasecmp.S: New file.
35377 * sysdeps/x86_64/strcasecmp_l.S: New file.
35378 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35379 * sysdeps/x86_64/locale-defines.sym: New file.
35380 * string/test-strcasecmp.c: New file.
35381
fe36dd02
UD
35382 * string/test-strcasestr.c: Test both ends of the range of characters.
35383 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35384
48cbc0d6
RM
353852010-07-29 Roland McGrath <roland@redhat.com>
35386
76e6d6bc 35387 [BZ #11856]
48cbc0d6
RM
35388 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35389
880113d9
UD
353902010-07-27 Ulrich Drepper <drepper@redhat.com>
35391
35392 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35393 for ld.so.
35394
deb9cabb
AS
353952010-07-27 Andreas Schwab <schwab@redhat.com>
35396
35397 * manual/memory.texi (Malloc Tunable Parameters): Document
35398 M_PERTURB.
35399
1c7570ff
RM
354002010-07-26 Roland McGrath <roland@redhat.com>
35401
35402 [BZ #11840]
35403 * configure.in (-fgnu89-inline check): Set and substitute
35404 gnu89_inline, not libc_cv_gnu89_inline.
35405 * configure: Regenerated.
35406 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35407
24fb0f88
UD
354082010-07-26 Ulrich Drepper <drepper@redhat.com>
35409
35410 * string/test-strnlen.c: New file.
35411 * string/Makefile (strop-tests): Add strnlen.
35412 * string/tester.c (test_strnlen): Add a few more test cases.
35413 * string/tst-strlen.c: Better error reporting.
35414
35415 * sysdeps/x86_64/strnlen.S: New file.
35416
8e96b93a
UD
354172010-07-24 Ulrich Drepper <drepper@redhat.com>
35418
35419 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35420 lower-latency instructions.
35421
dbc676d4
UD
354222010-07-23 Ulrich Drepper <drepper@redhat.com>
35423
35424 * string/test-strcasestr.c: New file.
35425 * string/test-strstr.c: New file.
35426 * string/Makefile (strop-tests): Add strstr and strcasestr.
35427 * string/str-two-way.h: Don't undefine MAX.
35428 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35429
f6a31e0e
AS
354302010-07-21 Andreas Schwab <schwab@redhat.com>
35431
35432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35433 strcasestr-nonascii.
35434 (CFLAGS-strcasestr-nonascii.c): Define.
35435 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35437 Remove unused attribute.
35438
5dbc3b6c
RM
354392010-07-20 Roland McGrath <roland@redhat.com>
35440
35441 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35442 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35443 ld.so.cache was broken. With it, there is no way to disable dsocaps
35444 like LD_HWCAP_MASK can disable hwcaps.
35445
23d101d8
EPM
354462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35447
35448 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35449
cc9f2e47
UD
354502010-07-16 Ulrich Drepper <drepper@redhat.com>
35451
35452 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35453 call in strcasestr.
35454 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35455 __strcasestr_sse42_nonascii.
35456 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35457 strcasestr-nonascii.c.
35458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35459
77c1b069
LM
354602010-06-15 Luis Machado <luisgpm@br.ibm.com>
35461
35462 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35463 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35465 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35466
440566c3
UD
354672010-07-09 Ulrich Drepper <drepper@redhat.com>
35468
35469 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35470 fcntl.
35471
5be9d05d
AS
354722010-07-06 Andreas Schwab <schwab@redhat.com>
35473
c30b7ee2 35474 [BZ #11577]
5be9d05d
AS
35475 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35476 dl_signal_cerror.
35477
8a492a67
UD
354782010-07-06 Ulrich Drepper <drepper@redhat.com>
35479
35480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35481 _PC_PIPE_BUF using F_GETPIPE_SZ.
35482
713df3d5
RM
354832010-07-05 Roland McGrath <roland@redhat.com>
35484
35485 * manual/arith.texi (Rounding Functions): Fix rint description
35486 implicit in round description.
35487
702e8f14
UD
354882010-07-02 Ulrich Drepper <drepper@redhat.com>
35489
35490 * elf/Makefile: Fix linking for a few tests to make recent linker
35491 happy.
35492
52ed8be9
AS
354932010-06-30 Andreas Schwab <schwab@redhat.com>
35494
35495 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35496 $(common-objpfx)libc_nonshared.a.
35497
f47c9a11
LM
354982010-06-21 Luis Machado <luisgpm@br.ibm.com>
35499
35500 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35501 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35502 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35503 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35504 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35505 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35506 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35507 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35522 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35523 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35524 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35525 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35526 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35527 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35528 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35529 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35530 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35531 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35532 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35533 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35548
6fb8cbcb
L
355492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35550
35551 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35552 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35553 * string/memmove.c (memmove): Renamed to ...
35554 (MEMMOVE): ...this. Default to memmove.
35555 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35556 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35557 (END_CHK): Define.
35558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35559 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35560 mempcpy-ssse3-back memmove-ssse3-back.
35561 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35562 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35564 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35565 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35566 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35567 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35568 * sysdeps/x86_64/multiarch/memmove.c: New file.
35569 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35570 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35571 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35572 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35573 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35575 Define.
35576 (index_Fast_Copy_Backward): Define.
35577 (HAS_ARCH_FEATURE): Define.
35578 (HAS_FAST_REP_STRING): Define.
35579 (HAS_FAST_COPY_BACKWARD): Define.
35580
4e733bac 355812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35582
35583 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35584 Restore proper fallback handling.
35585
63c4ed22
UD
355862010-06-19 Ulrich Drepper <drepper@redhat.com>
35587
ac2b484c
UD
35588 [BZ #11701]
35589 * posix/group_member.c (__group_member): Correct checking loop.
35590
63c4ed22
UD
35591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35592 OOM in getpwuid_r correctly. Return error number when the caller
35593 should return, otherwise -1.
35594 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35595 call returning > 0 value.
35596 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35597
765ade4b
AS
355982010-06-07 Andreas Schwab <schwab@redhat.com>
35599
35600 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35601 libc_nonshared.a from targets in modules-names.
35602
80da2e09
KS
356032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35604
35605 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35606 requires it.
35607
158db122
LM
356082010-06-10 Luis Machado <luisgpm@br.ibm.com>
35609
35610 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35611 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35614
caa78cf8
AS
356152010-06-02 Andreas Schwab <schwab@redhat.com>
35616
35617 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35618
b2ef2c01
UD
356192010-06-14 Ulrich Drepper <drepper@redhat.com>
35620
35621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35622 and F_GETPIPE_SZ.
35623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35629
fbd643b6
RM
356302010-06-14 Roland McGrath <roland@redhat.com>
35631
35632 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35633
f32f2869
JJ
356342010-06-07 Jakub Jelinek <jakub@redhat.com>
35635
35636 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35637 __REDIRECT followed by __THROW.
35638 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35639 * posix/getopt.h (getopt): Likewise.
35640
2a50c078
EPM
356412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35642
35643 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35644 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35645 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35646 in AT_FLAGS.
35647 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35648 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35649
eb5ad2eb
LM
356502010-05-28 Luis Machado <luisgpm@br.ibm.com>
35651
35652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35653
3c88fe1e
L
356542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35655
35656 [BZ #11640]
35657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35658 Properly check family and model.
35659
d2f73151
TY
356602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35661
35662 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35663
ebd2e13d
LM
356642010-05-24 Luis Machado <luisgpm@br.ibm.com>
35665
35666 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35667
b32b8b45
UD
356682010-05-21 Ulrich Drepper <drepper@redhat.com>
35669
35670 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35671 symbol reference.
35672
9acbe24d
AS
356732010-05-19 Andreas Schwab <schwab@redhat.com>
35674
35675 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35676 symbol reference.
35677
f0ccf6ea
AS
356782010-05-21 Andreas Schwab <schwab@redhat.com>
35679
3d04ff3a
AS
35680 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35681 and internal_recvmmsg.
35682 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35683 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35685 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35686
f0ccf6ea
AS
35687 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35688 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35689 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35690
5b08ac57
AS
356912010-05-20 Andreas Schwab <schwab@redhat.com>
35692
35693 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35694
4828935d
LM
356952010-05-17 Luis Machado <luisgpm@br.ibm.com>
35696
35697 POWER7 optimizations.
35698 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35699 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35700
373d545e
UD
357012010-05-19 Ulrich Drepper <drepper@redhat.com>
35702
35703 * version.h: Update for 2.13 development version.
35704
21a2b1ae
AS
357052010-05-12 Andrew Stubbs <ams@codesourcery.com>
35706
35707 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35708 exceptions. Return 0.
35709
3f7dcb2b
RM
357102010-05-07 Roland McGrath <roland@redhat.com>
35711
35712 * elf/ldconfig.c (main): Add a const.
35713
5f24d53a 357142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35715
a160f8d8
UD
35716 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35717 (args_options): Add no-idn option.
35718 (ahosts_keys_int): Add idn_flags to ai_flags.
35719 (parse_option): Handle 'i' option to clear idn_flags.
35720
5f24d53a
UD
35721 * malloc/malloc.c (_int_free): Possible race in the most recently
35722 added check. Only act on the data if no current modification
35723 happened.
265bb1ce
UD
35724
35725See ChangeLog.17 for earlier changes.
This page took 4.847001 seconds and 5 git commands to generate.