]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add ChangeLog entry for sqrt tests.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9d17796a
SE
12013-12-02 Steve Ellcey <sellcey@mips.com>
2
3 * benchtests/Makefile (bench): Add sqrt.
4 (LDLIBS-bench-sqrt): New.
5 * benchtests/sqrt-input: New.
6
f524d6a8
PS
72013-12-02 Pavel Simerda <psimerda@redhat.com>
8
639a0ef8
PS
9 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10 (GAIH_EAI): Likewise.
11 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12 (gaih_inet): Likewise.
13 (getaddrinfo): Don't use GAIH_EAI.
14
f524d6a8
PS
15 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16 (struct gaih): Remove definition.
17
df3aedaf
SP
182013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19
20 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21 Use HERRNOP directly.
22
1ab19dec
AZ
232013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
b42ad38d 25 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 26
176b0c79
JM
272013-11-30 Joseph Myers <joseph@codesourcery.com>
28
29 * math/gen-auto-libm-tests.c (test_functions): Add more
30 single-argument functions.
31 (special_fill_pi_2): New function.
32 (special_fill_minus_pi_2): Likewise.
33 (special_fill_pi_6): Likewise.
34 (special_fill_minus_pi_6): Likewise.
35 (special_fill_pi_3): Likewise.
36 (special_fill_2pi_3): Likewise.
37 (special_fill_e): Likewise.
38 (special_fill_1_e): Likewise.
39 (special_fill_e_minus_1): Likewise.
40 (special_real_inputs): Add more special inputs.
41 (output_for_one_input_case): Do not require ERANGE on underflow to
42 zero if round-to-nearest result does not underflow to zero, unless
43 exact results required.
44 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45 atan, atanh, cbrt, cos and cosh.
46 * math/auto-libm-test-out: Regenerated.
47 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
48 (acos_tonearest_test_data): Likewise.
49 (acos_towardzero_test_data): Likewise.
50 (acos_downward_test_data): Likewise.
51 (acos_upward_test_data): Likewise.
52 (acosh_test_data): Likewise.
53 (asin_test_data): Likewise.
54 (asin_tonearest_test_data): Likewise.
55 (asin_towardzero_test_data): Likewise.
56 (asin_upward_test_data): Likewise.
57 (asinh_test_data): Likewise.
58 (atan_test_data): Likewise.
59 (atanh_test_data): Likewise.
60 (cbrt_test_data): Likewise.
61 (cos_test_data): Likewise.
62 (cos_tonearest_test_data): Likewise.
63 (cos_towardzero_test_data): Likewise.
64 (cos_downward_test_data): Likewise.
65 (cos_upward_test_data): Likewise.
66 (cosh_test_data): Likewise.
67 (cosh_tonearest_test_data): Likewise.
68 (cosh_towardzero_test_data): Likewise.
69 (cosh_downward_test_data): Likewise.
70 (cosh_upward_test_data): Likewise.
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
72 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73
ffb536d0
JM
742013-11-29 Joseph Myers <joseph@codesourcery.com>
75
2a77a467
JM
76 [BZ #6787]
77 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
78 * math/w_exp10f.c (__exp10f): Likewise.
79 * math/w_exp10l.c (__exp10l): Likewise.
80 * math/libm-test.inc (exp10_test_data): Add more tests and expect
81 errno settings in existing tests.
82
ea3bc4e8
JM
83 [BZ #14032]
84 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
85 precision control set to double precision.
86 * sysdeps/i386/fpu/w_sqrt.c: New file.
87 * math/auto-libm-test-in: Add more tests.
88 * math/auto-libm-test-out: Update.
89
0712c9d8
JM
90 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
91 (sqrt_test_tonearest): New function.
92 (sqrt_towardzero_test_data): New variable.
93 (sqrt_test_towardzero): New function.
94 (sqrt_downward_test_data): New variable.
95 (sqrt_test_downward): New function.
96 (sqrt_upward_test_data): New variable.
97 (sqrt_test_upward): New function.
98 (main): Call the new functions.
99
ffb536d0
JM
100 * math/gen-auto-libm-tests.c: New file.
101 * math/auto-libm-test-in: Likewise.
102 * math/auto-libm-test-out: New generated file.
103 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
104 variables.
105 (%beautify): Add generated representations of zero.
106 (top level): Set $auto_input and call parse_auto_input.
107 (beautify): Remove trailing "f" from hex float constants.
108 (parse_args): Handle XFAIL_TEST.
109 (convert_condition): New function.
110 (or_value): Likewise.
111 (or_cond_value): Likewise.
112 (generate_testfile): Handle AUTO_TESTS_* lines.
113 (parse_auto_input): New function.
114 * math/libm-test.inc (XFAIL_TEST): New macro.
115 (ERRNO_UNCHANGED): Update value.
116 (ERRNO_EDOM): Likewise.
117 (ERRNO_ERANGE): Likewise.
118 (IGNORE_RESULT): Likewise.
119 (TEST_COND_flt_32): New macro.
120 (TEST_COND_dbl_64): Likewise.
121 (TEST_COND_ldbl_96_intel): Likewise.
122 (TEST_COND_ldbl_96_m68k): Likewise.
123 (TEST_COND_ldbl_128): Likewise.
124 (TEST_COND_ldbl_128ibm): Likewise.
125 (TEST_COND_long32): Likewise.
126 (TEST_COND_long64): Likewise.
127 (TEST_COND_before_rounding): Likewise.
128 (TEST_COND_after_rounding): Likewise.
129 (enable_test): Handle XFAIL_TEST flag.
130 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
131 with finite results.
132 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
133 auto-libm-test-out.
134
acd98a8e
AK
1352013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
136 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
137
138 [BZ #16214]
139 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
140 __tls_get_addr_internal instead of __tls_get_offset in order to
141 avoid GOT pointer dependency. Make rtld export
142 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
143 __tls_get_addr since we are a __tls_get_offset platform.
144 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
145 GOT pointer being set up before.
146 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
147
3c1c46a6
JM
1482013-11-28 Joseph Myers <joseph@codesourcery.com>
149
7475aef5
JM
150 * manual/math.texi (Errors in Math Functions): Document accuracy
151 goals.
152
8bca7cd8
JM
153 [BZ #15004]
154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
155 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
156 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
158 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
159 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
160 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
161 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
162 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
163 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
164 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
165 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
166 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
167 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
169 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
170
91a1f3fe
JM
171 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
172 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
173 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
174 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
175 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
176 Likewise.
177 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
178 Likewise.
179 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
180 Likewise.
181 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
182 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
183 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
184 atomic-feupdateenv and flt-rounds.
185 * sysdeps/powerpc/nofpu/Versions (libc): Add
186 __atomic_feholdexcept, __atomic_feclearexcept,
187 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
188 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
189 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
190 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
191 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
192 here.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
194 Update.
195
c5df7609
JM
196 * manual/arith.texi (FP Exceptions): Document that exceptions may
197 not be raised when matherr is used.
198 (Math Error Reporting): Document overflow in directed rounding
199 modes. Document that errno may not be set when finite values are
200 returned on overflow. Document intent to set errno on underflow
201 only for underflow to zero.
202
3c1c46a6
JM
203 [BZ #16271]
204 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
205 round-to-nearest then adjust result for other rounding modes.
206 * include/fenv.h (fegetround): Use libm_hidden_proto.
207 * math/fegetround.c (fegetround): Use libm_hidden_def.
208 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
209 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
210 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
212 Likewise.
213 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
214 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
215 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
216 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
217
5a4c6d53
SP
2182013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
219
220 [BZ #16077]
221 * nss/Versions (libnss_files): Add
222 _nss_files_gethostbyname3_r.
223 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
224 New function.
225 (HOST_DB_LOOKUP): Remove macro.
226 (_nss_files_gethostbyname_r): Implement function without the
227 HOST_DB_LOOKUP macro.
228 (_nss_files_gethostbyname2_r): Likewise.
229
897b98ba
OB
2302013-11-28 Ondřej Bílka <neleai@seznam.cz>
231
232 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
233
6f476861
UB
2342013-11-26 Uros Bizjak <ubizjak@gmail.com>
235
236 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
237 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
238 warning.
239
bd12ab55
AZ
2402013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
241
242 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
243 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
244 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
245 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
246 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
247 __fe_nomask_env_priv and attribute_hidden.
248 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
249 (libc_feupdateenv_test_ppc): Likewise.
250 (libc_feresetround_ppc): Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
252 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
253 compat_symbol macro.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
255 (__fe_nomask_env): Likewise.
256 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
257
52bb6543
OB
2582013-11-26 Ondřej Bílka <neleai@seznam.cz>
259
260 * string/Makefile: Remove ifunc tests.
261 * string/test-string.h: Define TEST_IFUNC.
262 * string/test-bcopy-ifunc.c: Remove.
263 * string/test-bzero-ifunc.c: Likewise.
264 * string/test-memccpy-ifunc.c: Likewise.
265 * string/test-memchr-ifunc.c: Likewise.
266 * string/test-memcmp-ifunc.c: Likewise.
267 * string/test-memcpy-ifunc.c: Likewise.
268 * string/test-memmem-ifunc.c: Likewise.
269 * string/test-memmove-ifunc.c: Likewise.
270 * string/test-mempcpy-ifunc.c: Likewise.
271 * string/test-memrchr-ifunc.c: Likewise.
272 * string/test-memset-ifunc.c: Likewise.
273 * string/test-rawmemchr-ifunc.c: Likewise.
274 * string/test-stpcpy-ifunc.c: Likewise.
275 * string/test-stpncpy-ifunc.c: Likewise.
276 * string/test-strcasecmp-ifunc.c: Likewise.
277 * string/test-strcasestr-ifunc.c: Likewise.
278 * string/test-strcat-ifunc.c: Likewise.
279 * string/test-strchr-ifunc.c: Likewise.
280 * string/test-strchrnul-ifunc.c: Likewise.
281 * string/test-strcmp-ifunc.c: Likewise.
282 * string/test-strcpy-ifunc.c: Likewise.
283 * string/test-strcspn-ifunc.c: Likewise.
284 * string/test-strlen-ifunc.c: Likewise.
285 * string/test-strncasecmp-ifunc.c: Likewise.
286 * string/test-strncat-ifunc.c: Likewise.
287 * string/test-strncmp-ifunc.c: Likewise.
288 * string/test-strncpy-ifunc.c: Likewise.
289 * string/test-strnlen-ifunc.c: Likewise.
290 * string/test-strpbrk-ifunc.c: Likewise.
291 * string/test-strrchr-ifunc.c: Likewise.
292 * string/test-strspn-ifunc.c: Likewise.
293 * string/test-strstr-ifunc.c: Likewise.
294
ab260039 2952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
296
297 * benchtests/Makefile: Remove ifunc tests.
298 * benchtests/bench-string.h: Define TEST_IFUNC.
299 * benchtests/bench-bcopy-ifunc.c: Remove.
300 * benchtests/bench-bzero-ifunc.c: Likewise.
301 * benchtests/bench-memccpy-ifunc.c: Likewise.
302 * benchtests/bench-memchr-ifunc.c: Likewise.
303 * benchtests/bench-memcmp-ifunc.c: Likewise.
304 * benchtests/bench-memcpy-ifunc.c: Likewise.
305 * benchtests/bench-memmem-ifunc.c: Likewise.
306 * benchtests/bench-memmove-ifunc.c: Likewise.
307 * benchtests/bench-mempcpy-ifunc.c: Likewise.
308 * benchtests/bench-memrchr-ifunc.c: Likewise.
309 * benchtests/bench-memset-ifunc.c: Likewise.
310 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
311 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
312 * benchtests/bench-stpcpy-ifunc.c: Likewise.
313 * benchtests/bench-stpncpy-ifunc.c: Likewise.
314 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
315 * benchtests/bench-strcasestr-ifunc.c: Likewise.
316 * benchtests/bench-strcat-ifunc.c: Likewise.
317 * benchtests/bench-strchr-ifunc.c: Likewise.
318 * benchtests/bench-strchrnul-ifunc.c: Likewise.
319 * benchtests/bench-strcmp-ifunc.c: Likewise.
320 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
321 * benchtests/bench-strcpy-ifunc.c: Likewise.
322 * benchtests/bench-strcspn-ifunc.c: Likewise.
323 * benchtests/bench-strlen-ifunc.c: Likewise.
324 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
325 * benchtests/bench-strncat-ifunc.c: Likewise.
326 * benchtests/bench-strncmp-ifunc.c: Likewise.
327 * benchtests/bench-strncpy-ifunc.c: Likewise.
328 * benchtests/bench-strnlen-ifunc.c: Likewise.
329 * benchtests/bench-strpbrk-ifunc.c: Likewise.
330 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 331 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
332 * benchtests/bench-strspn-ifunc.c: Likewise.
333 * benchtests/bench-strstr-ifunc.c: Likewise.
334
3352013-11-26 Ondřej Bílka <neleai@seznam.cz>
336
ab260039
OB
337 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
338
d1d9eaf4 3392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 340
d1d9eaf4
OB
341 * resolv/netdb.h: Use __glibc_reserved instead __unused.
342 * rt/aio.h: Likewise.
343 * sysdeps/gnu/bits/utmp.h: Likewise.
344 * sysdeps/gnu/bits/utmpx.h: Likewise.
345 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
346 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
347 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
348 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
349 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
350 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
351 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
352 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
353 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
354 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
355 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
357 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
359 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
360 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
361 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
362 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
363 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
364 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
365 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
366 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
367 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
368 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
369 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
371 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
372 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
373 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
374 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
376 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
377 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
378 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
379 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
380 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
381 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
382 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
383 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
384 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
385 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
386 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
387
a7624ed9
CD
3882013-11-25 Carlos O'Donell <carlos@redhat.com>
389
390 [BZ #16245]
391 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
392 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
393
63cfe52b
JM
3942013-11-25 Joseph Myers <joseph@codesourcery.com>
395
396 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
397 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
398 Likewise.
399
41e8926a
AZ
4002013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
401
402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
403 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
404 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
405 (__fesetround): Remove define.
406 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
407 rounding and exceptions handling.
408 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
409 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
410 (__fe_nomask_env): Likewise.
411 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
412 __fegetround instead of fegetround.
413 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
414 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
415
6851bd4d
RM
4162013-11-21 Roland McGrath <roland@hack.frob.com>
417
070906ff
RM
418 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
419 it's there.
420
6851bd4d
RM
421 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
422
84ae135d
MI
4232013-11-21 Meador Inge <meadori@codesourcery.com>
424
425 [BZ #11157]
426 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
427 (encrypt_r): Likewise.
428 * malloc/obstack.h (obstack_free): Likewise.
429 * posix/unistd.h (encrypt): Likewise.
430
daf75146
GM
4312013-11-21 Guy Martin <gmsoft@tuxicoman.be>
432
433 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
434 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
435 DL_CALL_DT_FINI() that call the functions directly.
436 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
437 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
438 * elf/dl-fini.c: Likewise.
439
10ad46bc
OB
4402013-11-20 Ondřej Bílka <neleai@seznam.cz>
441
442 * malloc/hooks.c (memalign_check): Add alignment rounding.
443 * malloc/malloc.c (_mid_memalign): New function.
444 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
445 Implement by calling _mid_memalign.
446 * manual/probes.texi (Memory Allocation Probes): Remove
447 memory_valloc_retry and memory_pvalloc_retry.
448
f3fd2628
SP
4492013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
450
4712799f
SP
451 * locale/programs/locarchive.c (open_archive): Add const
452 qualifier to ARCHIVEFNAME and copy default fname to
453 DEFAULT_FNAME.
454
0417b20f
SP
455 [BZ #15601]
456 * libio/tst-widetext.input: Rename Oriya to Odia.
457 * locale/iso-639.def: Likewise.
458
f3fd2628
SP
459 * manual/probes.texi (Mathematical Function Probes): Add
460 documentation for sin, cos, asin and acos probes.
461 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
462 (__sin32): Add slowasin probe.
463 (__cos32): Add slowacos probe.
464 (__mpsin): Add slowsin probe.
465 (__mpcos): Add slowcos probe.
466
73c1ce4f
JM
4672013-11-19 Joseph Myers <joseph@codesourcery.com>
468
469 [BZ #15483]
470 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
471 thread-local __sim_exceptions_thread and global
472 __sim_exceptions_global.
473 (__sim_disabled_exceptions): Change to thread-local
474 __sim_disabled_exceptions_thread and global
475 __sim_disabled_exceptions_global.
476 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
477 and global __sim_round_mode_global.
478 (__simulate_exceptions): Use thread-local floating-point state and
479 set global state from it as needed.
480 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
481 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
482 __sim_round_mode_thread.
483 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
484 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
485 and global __sim_exceptions_global.
486 (__sim_disabled_exceptions): Change to thread-local
487 __sim_disabled_exceptions_thread and global
488 __sim_disabled_exceptions_global.
489 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
490 and global __sim_round_mode_global.
491 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
492 (SIM_SET_GLOBAL): Likewise.
493 * sysdeps/powerpc/soft-fp/sfp-machine.h
494 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
495 __sim_round_mode_thread.
496 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
497 __sim_disabled_exceptions_thread.
498 (__sim_exceptions): Change to __sim_exceptions_thread.
499 (__sim_disabled_exceptions): Change to
500 __sim_disabled_exceptions_thread.
501 (__sim_round_mode): Change to __sim_round_mode_thread.
502 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
503 thread-local floating-point state and set global state from it as
504 needed.
505 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
506 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
507 (__sim_disabled_exceptions): Remove extern declaration.
508 (feenableexcept): Use thread-local floating-point state and set
509 global state from it as needed.
510 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
511 extern declaration.
512 (__sim_disabled_exceptions): Likewise.
513 (__sim_round_mode): Likewise.
514 (__fegetenv): Use thread-local floating-point state.
515 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
516 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
517 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
518 floating-point state and set global state from it as needed.
519 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
520 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
521 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
522 Likewise.
523 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
524 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
525 Likewise.
526 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
527 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
528 Use __sim_round_mode_thread.
529 * math/test-fenv-tls.c: New file.
530 * math/Makefile (tests): Add test-fenv-tls.
531 ($(objpfx)test-fenv-tls): Depend on
532 $(common-objpfx)nptl/libpthread.so.
533
b5449b12
AS
5342013-11-19 Andreas Schwab <schwab@suse.de>
535
536 * locale/programs/locale.c (show_info): Decode wordarray elements.
537 * locale/categories.def (LC_MONETARY): Add element for
538 _NL_MONETARY_CRNCYSTR.
539 * locale/C-monetary.c (conversion_rate): New variable.
540 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
541 element.
542
e186536b
CM
5432013-11-18 Chris Metcalf <cmetcalf@tilera.com>
544
545 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
546 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
547
5c349950
PP
5482013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
549
550 * elf/Makefile (tst-auxv): New test.
551 * elf/tst-auxv.c: New
552 * elf/rtld.c (dl_main): Adjust AT_EXECFN
553
699df45b
JM
5542013-11-18 Joseph Myers <joseph@codesourcery.com>
555
556 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
557 (hidden_proto): Caller changed.
558 (hidden_tls_proto): New macro.
559 (libc_hidden_tls_proto): Likewise.
560 (rtld_hidden_tls_proto): Likewise.
561 (libm_hidden_tls_proto): Likewise.
562 (libresolv_hidden_tls_proto): Likewise.
563 (librt_hidden_tls_proto): Likewise.
564 (libdl_hidden_tls_proto): Likewise.
565 (libnss_files_hidden_tls_proto): Likewise.
566 (libnsl_hidden_tls_proto): Likewise.
567 (libnss_nisplus_hidden_tls_proto): Likewise.
568 (libutil_hidden_tls_proto): Likewise.
569
b7589107
OB
5702013-11-18 Ondřej Bílka <neleai@seznam.cz>
571
572 [BZ #10253]
573 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
574 (decompose_rpath): Defer expansion to fillin_rpath.
575 (_dl_init_paths): Pass linkmap to fillin_rpath.
576
250c23bd
RS
5772013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
578
579 * benchtests/Makefile: Add strsep.
580 * benchtests/bench-strsep.c: New file: strsep benchtest.
581 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
582
a7931fcf
AS
5832013-11-18 Andreas Schwab <schwab@suse.de>
584
585 * locale/programs/locale.c (show_info) [case byte]: Check for
586 '\377' instead of '\177'.
587 * locale/C-monetary.c (not_available): Always use "\377".
588 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
589 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
590 detect unavailable sign_posn locale elements.
591 * locale/localeconv.c (__localeconv): For grouping and
592 mon_grouping handle "\177" and "\377" like no grouping.
593 (INT_ELEM): New macro. Use it to set all numeric members.
594 * locale/programs/ld-monetary.c (monetary_read)
595 <tok_mon_grouping>: Normalize single -1 to the empty string.
596 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
597 Likewise.
598
728dab0e
OB
5992013-11-07 Ondřej Bílka <neleai@seznam.cz>
600
601 [BZ #16055]
602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
603 when we match (nil).
604 * stdio-common/tst-sscanf.c (struct test): Add testcase.
605
66294491
JM
6062013-11-16 Joseph Myers <joseph@codesourcery.com>
607
ce665817
JM
608 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
609 (NO_TEST_INLINE): Update value.
610 (ERRNO_UNCHANGED): Likewise.
611 (ERRNO_EDOM): Likewise.
612 (ERRNO_ERANGE): Likewise.
613 (IGNORE_RESULT): Likewise.
614 (check_float_internal): Check signs of NaN results if
615 TEST_NAN_SIGN used.
616 (check_complex): Pass TEST_NAN_SIGN flag through to second
617 check_float_internal call.
618 (copysign_test_data): Add tests with quiet NaNs as second
619 argument. Use TEST_NAN_SIGN.
620 (fabs_test_data): Add test of negative quiet NaN argument. Use
621 TEST_NAN_SIGN.
622 (signbit_test_data): Add tests of quiet NaN argument.
623 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
624
ee1466a9
JM
625 * math/gen-libm-test.pl (show_exceptions): Take extra argument
626 $ignore_result.
627 (parse_args): Handle function results specified as IGNORE.
628 * math/libm-test.inc (IGNORE_RESULT): New macro.
629 (check_float_internal): Do not check numerical result if flag
630 IGNORE_RESULT set.
631 (check_complex): Pass through IGNORE_RESULT to second
632 check_float_internal call.
633 (check_int): Do not check numerical result if flag IGNORE_RESULT
634 set.
635 (check_long): Likewise.
636 (check_bool): Likewise.
637 (check_longlong): Likewise.
638 (lrint_test_data): Add tests of infinite and NaN arguments.
639 (lrint_tonearest_test_data): Likewise.
640 (lrint_towardzero_test_data): Likewise.
641 (lrint_downward_test_data): Likewise.
642 (lrint_upward_test_data): Likewise.
643 (llrint_test_data): Likewise.
644 (llrint_tonearest_test_data): Likewise.
645 (llrint_towardzero_test_data): Likewise.
646 (llrint_downward_test_data): Likewise.
647 (llrint_upward_test_data): Likewise.
648 (lround_test_data): Likewise.
649 (llround_test_data): Likewise.
650
14407b7e
JM
651 * math/libm-test.inc (NO_TEST_INLINE): New macro.
652 (ERRNO_UNCHANGED): Update value.
653 (ERRNO_EDOM): Likewise.
654 (ERRNO_ERANGE): Likewise.
655 (NO_TEST_INLINE_FLOAT): New macro.
656 (NO_TEST_INLINE_DOUBLE): Likewise.
657 (enable_test): New function.
658 (RUN_TEST_f_f): Check enable_test before running test.
659 (RUN_TEST_2_f): Likewise.
660 (RUN_TEST_fff_f): Likewise.
661 (RUN_TEST_c_f): Likewise.
662 (RUN_TEST_f_f1): Likewise.
663 (RUN_TEST_fF_f1): Likewise.
664 (RUN_TEST_fI_f1): Likewise.
665 (RUN_TEST_ffI_f1): Likewise.
666 (RUN_TEST_c_c): Likewise.
667 (RUN_TEST_cc_c): Likewise.
668 (RUN_TEST_f_i): Likewise.
669 (RUN_TEST_f_i_tg): Likewise.
670 (RUN_TEST_ff_i_tg): Likewise.
671 (RUN_TEST_f_b): Likewise.
672 (RUN_TEST_f_b_tg): Likewise.
673 (RUN_TEST_f_l): Likewise.
674 (RUN_TEST_f_L): Likewise.
675 (RUN_TEST_fFF_11): Likewise.
676 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
677 conditionals.
678 (cosh_test_data): Likewise.
679 (exp_test_data): Likewise.
680 (expm1_test_data): Likewise.
681 (hypot_test_data): Likewise.
682 (pow_test_data): Likewise.
683 (sinh_test_data): Likewise.
684 (tanh_test_data): Likewise.
685 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
686 flags argument.
687
ca07f197
JM
688 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
689 tests with quiet NaN input and output.
690 (acosh_test_data): Likewise.
691 (asin_test_data): Likewise.
692 (asinh_test_data): Likewise.
693 (atan_test_data): Likewise.
694 (atanh_test_data): Likewise.
695 (atan2_test_data): Likewise.
696 (cbrt_test_data): Likewise.
697 (cos_test_data): Likewise.
698 (cosh_test_data): Likewise.
699 (erf_test_data): Likewise.
700 (erfc_test_data): Likewise.
701 (exp_test_data): Likewise.
702 (exp10_test_data): Likewise.
703 (exp2_test_data): Likewise.
704 (expm1_test_data): Likewise.
705 (hypot_test_data): Likewise.
706 (j0_test_data): Likewise.
707 (j1_test_data): Likewise.
708 (jn_test_data): Likewise.
709 (lgamma_test_data): Likewise.
710 (log_test_data): Likewise.
711 (log10_test_data): Likewise.
712 (log1p_test_data): Likewise.
713 (log2_test_data): Likewise.
714 (pow_test_data): Likewise.
715 (scalb_test_data): Likewise.
716 (sin_test_data): Likewise.
717 (sincos_test_data): Likewise.
718 (sinh_test_data): Likewise.
719 (tan_test_data): Likewise.
720 (tanh_test_data): Likewise.
721 (tgamma_test_data): Likewise.
722 (y0_test_data): Likewise.
723 (y1_test_data): Likewise.
724 (yn_test_data): Likewise.
725
66294491
JM
726 [BZ #16167]
727 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
728 argument being NaN and avoid computations with second argument in
729 that case.
730 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
731 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
732 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
733
1820b143
CL
7342013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
735
736 * locale/iso-639.def: Add Chitwani Tharu (the).
737
714bd261
AS
7382013-11-14 Andreas Schwab <schwab@suse.de>
739
740 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
741 word instead of empty string.
742
7ab44563
AZ
7432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744
745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
746 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
748 (__fe_nomask_env): Likewise.
749
e8470ea2
SE
7502013-11-13 Steve Ellcey <sellcey@mips.com>
751
752 * benchtests/bench-timing.h: Include time.h.
753
17c1d9f0
L
7542013-11-13 H.J. Lu <hongjiu.lu@intel.com>
755
756 [BZ #15997]
757 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
758 to 3.4.0 for x32.
759 * sysdeps/unix/sysv/linux/configure: Regenerated.
760
9310c284
JM
7612013-11-13 Joseph Myers <joseph@codesourcery.com>
762
763 [BZ #16151]
764 * stdlib/strtod_l.c (round_and_return): Do not consider
765 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
766 exponent one less than half the least subnormal exponent.
767 * stdlib/test-strtod-round-data: Add more tests.
768 * stdlib/tst-strtod-round.c (tests): Regenerated.
769
7a2ad8cf
AZ
7702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771
772 [BZ #14143]
773 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
774 (__fe_mask_env): Likewise.
775 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
776 libm_hidden_proto and add function prototype.
777 (__fe_mask_env): Add function prototype.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
779 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
781 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
783 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
784
50727aa7
MS
7852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
786
b2f386c1 787 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
788 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
789
a615be46
MS
7902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
791
792 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
793 of htab_find_slot().
794
7ddace62
DM
7952013-11-11 David S. Miller <davem@davemloft.net>
796
797 [BZ #16150]
798 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
799 symbol in the non-vis3 case in static builds.
800 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
801 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
802 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
803 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
804
9182aa67
JK
8052013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
806
807 [BZ #387]
808 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
809 it is empty.
810
450a2e2d
AZ
8112013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
812
b2f386c1
SP
813 * benchtests/Makefile: Add bench-strtod.
814 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 815
8ec3f656
AS
8162013-11-11 Andreas Schwab <schwab@suse.de>
817
818 [BZ #16153]
819 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
820 terminating NUL in key length.
821
76a9b998
AZ
8222013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823
824 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
825 Add artificial ODP entry for vDSO symbol for PPC64.
826 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
827 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
828
e4368156
OB
8292013-11-07 Ondřej Bílka <neleai@seznam.cz>
830
831 [BZ #15374]
832 * nss/getent.c (services_keys): Recognize services starting with digit.
833
8d6bb57c
DM
8342013-11-06 David S. Miller <davem@davemloft.net>
835
836 [BZ #15985]
837 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
838 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
839
e256c421
WN
8402013-11-06 Will Newton <will.newton@linaro.org>
841
842 * manual/memory.texi (Malloc Examples): Remove register
843 keyword from examples.
844
f6e12daa 8452013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 846
f6e12daa 847 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 848
9d880655
AS
8492013-11-04 Joseph Myers <joseph@codesourcery.com>
850
851 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
852 depending on [__GCC_IEC_559 > 0].
853 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
854 depending on [__GCC_IEC_559_COMPLEX > 0].
855
ae129d3c
CL
8562013-11-03 Chris Leonard <cjl@sugarlabs.org>
857
858 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
859 to iso-639.def.
860
4a15c2a4 8612013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
862
863 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
864
8b35e35d
OB
8652013-11-01 Ondřej Bílka <neleai@seznam.cz>
866
867 [BZ #16112]
868 * malloc/malloc (malloc_info): Do not handle first bin as
869 special case.
870
1d70fd6c
CL
8712013-11-01 Chris Leonard <cjl@sugarlabs.org>
872
873 * locale/iso-639.def: Add Central Nahuatl (nhn).
874
8c5c2600
BH
8752013-11-01 Bruno Haible <bruno@clisp.org>
876
877 [BZ #7003]
878 * manual/math.texi (BSD Random): Specify range upper bound as
879 in POSIX.
880
da5579c2
CL
8812013-10-31 Chris Leonard <cjl@sugarlabs.org>
882
883 * locale/iso-639.def: Add Meadow Mari (mhr).
884
5d30d853
OB
8852013-10-31 Ondřej Bílka <neleai@seznam.cz>
886
887 [BZ #14752], [BZ #15763]
888 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
889 Validate name.
890 * rt/tst_shm.c: Add test for escaping directory.
891
a4966c61
AS
8922013-10-31 Andreas Schwab <schwab@suse.de>
893
8a43e768 894 [BZ #15917]
a4966c61
AS
895 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
896 followed by 'x' as part of digit sequence.
897 * stdio-common/tst-sscanf.c (double_tests2): New tests.
898
28d708c4
MAP
8992013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
900
901 [BZ #16037]
902 * configure.ac: allow GNU Make 4.0 and greater.
903 * configure: Regenerated.
904
a56ee40b
WN
9052013-10-30 Will Newton <will.newton@linaro.org>
906
907 [BZ #16038]
908 * malloc/hooks.c (memalign_check): Limit alignment to the
909 maximum representable power of two.
910 * malloc/malloc.c (__libc_memalign): Likewise.
911 * malloc/tst-memalign.c (do_test): Add test for very
912 large alignment values.
913 * malloc/tst-posix_memalign.c (do_test): Likewise.
914
c6e4925d
OB
9152013-10-30 Ondřej Bílka <neleai@seznam.cz>
916
917 [BZ #11087]
918 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
919 (munmap_chunk): Likewise.
920 (mremap_chunk): Likewise.
921
9222013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 923
8a43e768 924 [BZ #15799]
bbea82f7
OB
925 * stdlib/div.c (div): Remove obsolete code.
926 * stdlib/ldiv.c (ldiv): Likewise.
927 * stdlib/lldiv.c (lldiv): Likewise.
928
977f4b31
SP
9292013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
930
931 [BZ #16071]
932 * nss/nss_files/files-XXX.c (get_contents_ret): New
933 enumerator.
934 (get_contents): New function.
935 (internal_getent): Use it. Expand size of LINEBUFLEN.
936
cb8a6dbd
MF
9372013-10-30 Mike Frysinger <vapier@gentoo.org>
938
939 * configure.in: Moved to ...
940 * configure.ac: ... here. Change reference to configure.in
941 to configure.ac.
942 * sysdeps/arm/preconfigure.ac: ... here.
943 configure.in to configure.ac.
944 * sysdeps/gnu/configure.in: Moved to ...
945 * sysdeps/gnu/configure.ac: ... here.
946 * sysdeps/i386/configure.in: Moved to ...
947 * sysdeps/i386/configure.ac: ... here.
948 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
949 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
950 * sysdeps/mach/configure.in: Moved to ...
951 * sysdeps/mach/configure.ac: ... here.
952 * sysdeps/mach/hurd/configure.in: Moved to ...
953 * sysdeps/mach/hurd/configure.ac: ... here.
954 * sysdeps/powerpc/configure.in: Moved to ...
955 * sysdeps/powerpc/configure.ac: ... here.
956 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
957 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
958 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
959 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
960 * sysdeps/s390/s390-32/configure.in: Moved to ...
961 * sysdeps/s390/s390-32/configure.ac: ... here.
962 * sysdeps/s390/s390-64/configure.in: Moved to ...
963 * sysdeps/s390/s390-64/configure.ac: ... here.
964 * sysdeps/sh/configure.in: Moved to ...
965 * sysdeps/sh/configure.ac: ... here.
966 * sysdeps/sparc/configure.in: Moved to ...
967 * sysdeps/sparc/configure.ac: ... here.
968 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
969 * sysdeps/unix/sysv/linux/configure.ac: ... here.
970 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
971 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
972 * sysdeps/x86_64/configure.in: Moved to ...
973 * sysdeps/x86_64/configure.ac: ... here.
974 * sysdeps/x86_64/preconfigure.in: Moved to ...
975 * sysdeps/x86_64/preconfigure.ac: ... here.
976 * aclocal.m4: Change reference to configure.in to configure.ac.
977 * config.h.in: Likewise.
978 * manual/install.texi: Likewise.
979 * manual/maint.texi: Likewise.
980 * Makefile: Likewise.
981 * malloc/Makefile: Likewise.
982 * nscd/Makefile: Likewise.
983 * Makeconfig: Change reference to configure.in and
984 preconfigure.in to configure.ac and preconfigure.ac
985 respectively.
986 * INSTALL: Regenerated.
987 * configure: Likewise.
988 * sysdeps/gnu/configure: Likewise.
989 * sysdeps/i386/configure: Likewise.
990 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
991 * sysdeps/mach/configure: Likewise.
992 * sysdeps/mach/hurd/configure: Likewise.
993 * sysdeps/powerpc/configure: Likewise.
994 * sysdeps/powerpc/powerpc32/configure: Likewise.
995 * sysdeps/powerpc/powerpc64/configure: Likewise.
996 * sysdeps/s390/s390-32/configure: Likewise.
997 * sysdeps/s390/s390-64/configure: Likewise.
998 * sysdeps/sh/configure: Likewise.
999 * sysdeps/sparc/configure: Likewise.
1000 * sysdeps/unix/sysv/linux/configure: Likewise.
1001 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1002 * sysdeps/x86_64/configure: Likewise.
1003 * sysdeps/x86_64/preconfigure: Likewise.
1004
36a4953a
AS
10052013-10-29 Andreas Schwab <schwab@suse.de>
1006
1007 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1008
c79a1204
SP
10092013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1010
dfa1b402
SP
1011 * benchtests/pow-inputs: Add new inputs.
1012
54f73d9c
SP
1013 * benchtests/exp-inputs: Add new inputs.
1014
c79a1204
SP
1015 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1016 conditional check for return value.
1017 (__cos32): Likewise.
1018
67beb545 10192013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1020
1021 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1022 to provide a boost for large inputs with word alignment.
1023 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1024 implementation based on optimized PPC64 strcpy.
1025 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1026 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1027 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1028 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1029
151659f6
OB
10302013-10-25 Ondřej Bílka <neleai@seznam.cz>
1031
482a077e 1032 [BZ #2801]
151659f6
OB
1033 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1034
10b0f26b
OB
10352013-10-25 Ondřej Bílka <neleai@seznam.cz>
1036
1037 [BZ #14876]
1038 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1039 * time/tst-strptime.c (day_tests): Add testcase.
1040
ca42d35e
OB
10412013-10-25 Ondřej Bílka <neleai@seznam.cz>
1042
482a077e 1043 [BZ #14029]
ca42d35e
OB
1044 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1045
52e6d801
FB
10462013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1047
1048 [BZ #16074]
1049 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1050 MAP_FAILED on error.
1051
7cbcdb36
SP
10522013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1053
1054 [BZ #16072]
1055 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1056 heap for large requests.
1057
894f3f10
AM
10582013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1059
1060 [BZ #9954]
1061 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1062 result if the result has no associated interface.
1063 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1064 interface for all 127.X.Y.Z addresses.
1065
b85545a6
CL
10662013-10-24 Chris Leonard <cjl@sugarlabs.org>
1067
1068 * locale/iso-639.def: Add Ligurian (lij)
1069
d1f23d46
OB
10702013-10-21 Ondřej Bílka <neleai@seznam.cz>
1071
1072 [BZ #15825]
1073 * sunrpc/rpc_main.c: Document rpcgen -5.
1074
4db5b08f
MS
10752013-10-19 Michael Stahl <mstahl@redhat.com>
1076
1077 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1078
a471e96a
OB
10792013-10-19 Ondřej Bílka <neleai@seznam.cz>
1080
d1f23d46 1081 [BZ #10278]
a471e96a
OB
1082 * posix/glob.c: Match only directories when trailing slash is present.
1083 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1084 (main): Add testcase.
1085
45c30c61
OB
10862013-10-19 Ondřej Bílka <neleai@seznam.cz>
1087
1088 [BZ #15670]
1089 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1090
484c12fb
CD
10912013-10-18 Carlos O'Donell <carlos@redhat.com>
1092
3d7dc513
CD
1093 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1094 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1095 AUTH_DES and cindex for FIPS 140-2.
1096 (DES Encryption): Add cindex FIPS 46-3.
1097
484c12fb
CD
1098 * locale/locarchive.h (struct locarhandle): Add fname.
1099 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1100 if an optional argument was specified to --list-archive,
1101 otherwise NULL.
1102 * locale/programs/locarchive.c (show_archive_content): Take new
1103 argument fname and pass it via ah.fname to open_archive.
1104 * locale/programs/localedef.h: Update decl.
1105 (open_archive): If AH->fname is non-null, open that file
1106 rather than the default file name, and don't ignore ENOENT.
1107 (create_archive): Set AH.fname to NULL.
1108 (delete_locales_from_archive): Likewise.
1109 (add_locales_to_archive): Likewise.
1110 * locale/programs/locfile.c (write_all_categories): Likewise.
1111
3c8325fb
JM
11122013-10-18 Joseph Myers <joseph@codesourcery.com>
1113 Aldy Hernandez <aldyh@redhat.com>
1114
1115 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1116 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1117 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1118 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1119 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1120 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1121 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1122 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1123 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1124 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1125 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1126 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1127 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1128 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1129 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1130 Likewise.
1131 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1132 Likewise.
1133 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1134 Likewise.
1135 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1136 Likewise.
1137 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1138 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1139 Likewise.
1140 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1141 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1142 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1144 Likewise.
1145 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1146 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1147 * sysdeps/powerpc/preconfigure: Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1149 Likewise.
1150 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1151 Replace contents of file by #include of <fenv_libc.h>.
1152 * sysdeps/powerpc/soft-fp/sfp-machine.h
1153 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1154 and <sys/prctl.h>.
1155 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1156 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1162 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1163 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1164 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1165 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1166 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1168 Allow copysignl PLT reference to be missing.
1169
5abe0682
RS
11702013-10-18 Richard Sandiford <richard@codesourcery.com>
1171 Joseph Myers <joseph@codesourcery.com
1172
1173 [BZ #15948]
1174 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1175 single character.
1176 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1177
c7738d08
SP
11782013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1179
1180 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1181 * elf/tst-tls1.c: Likewise.
1182 * elf/tst-tls10.h: Likewise.
1183 * elf/tst-tls14.c: Likewise.
1184 * elf/tst-tls2.c: Likewise.
1185 * elf/tst-tls3.c: Likewise.
1186 * elf/tst-tls4.c: Likewise.
1187 * elf/tst-tls5.c: Likewise.
1188 * elf/tst-tls6.c: Likewise.
1189 * elf/tst-tls7.c: Likewise.
1190 * elf/tst-tls8.c: Likewise.
1191 * elf/tst-tls9.c: Likewise.
1192 * elf/tst-tlsmod1.c: Likewise.
1193 * elf/tst-tlsmod13.c: Likewise.
1194 * elf/tst-tlsmod13a.c: Likewise.
1195 * elf/tst-tlsmod14a.c: Likewise.
1196 * elf/tst-tlsmod16a.c: Likewise.
1197 * elf/tst-tlsmod16b.c: Likewise.
1198 * elf/tst-tlsmod2.c: Likewise.
1199 * elf/tst-tlsmod3.c: Likewise.
1200 * elf/tst-tlsmod4.c: Likewise.
1201 * elf/tst-tlsmod5.c: Likewise.
1202 * elf/tst-tlsmod6.c: Likewise.
1203
0bfcf2c7
OB
12042013-10-18 Ondřej Bílka <neleai@seznam.cz>
1205
1206 [BZ #12486]
1207 * malloc/malloc.c: remove checks for statistics.
1208
264aad1e
OB
12092013-10-17 Ondřej Bílka <neleai@seznam.cz>
1210
1211 [BZ #15277]
1212 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1213 * inet/tst-network.c: Add testcase.
1214
b957ced8
AS
12152013-10-17 Andreas Schwab <schwab@suse.de>
1216
1217 [BZ #15218]
1218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1219 to determine canonical name.
1220
c5d5d574
OB
12212013-10-17 Ondřej Bílka <neleai@seznam.cz>
1222
1223 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1224 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1226 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1229 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1231 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1232 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1233 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1234 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1235 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1236 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1241 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1246 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1247 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1248 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1253 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1259 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1260 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1263 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1265 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1266 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1267 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1269 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1270 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1271 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1272 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1273 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1274 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1281
e5c2c2d0
JM
12822013-10-17 Joseph Myers <joseph@codesourcery.com>
1283
1284 [BZ #16041]
1285 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1286 make result into a quiet NaN.
1287
51ca9e29
JM
12882013-10-16 Joseph Myers <joseph@codesourcery.com>
1289
1290 * soft-fp/adddf3.c: Fix horizontal whitespace.
1291 * soft-fp/addsf3.c: Likewise.
1292 * soft-fp/addtf3.c: Likewise.
1293 * soft-fp/divdf3.c: Likewise.
1294 * soft-fp/divsf3.c: Likewise.
1295 * soft-fp/divtf3.c: Likewise.
1296 * soft-fp/double.h: Likewise.
1297 * soft-fp/eqdf2.c: Likewise.
1298 * soft-fp/eqsf2.c: Likewise.
1299 * soft-fp/eqtf2.c: Likewise.
1300 * soft-fp/extenddftf2.c: Likewise.
1301 * soft-fp/extended.h: Likewise.
1302 * soft-fp/extendsfdf2.c: Likewise.
1303 * soft-fp/extendsftf2.c: Likewise.
1304 * soft-fp/extendxftf2.c: Likewise.
1305 * soft-fp/fixdfdi.c: Likewise.
1306 * soft-fp/fixdfsi.c: Likewise.
1307 * soft-fp/fixdfti.c: Likewise.
1308 * soft-fp/fixsfdi.c: Likewise.
1309 * soft-fp/fixsfsi.c: Likewise.
1310 * soft-fp/fixsfti.c: Likewise.
1311 * soft-fp/fixtfdi.c: Likewise.
1312 * soft-fp/fixtfsi.c: Likewise.
1313 * soft-fp/fixtfti.c: Likewise.
1314 * soft-fp/fixunsdfdi.c: Likewise.
1315 * soft-fp/fixunsdfsi.c: Likewise.
1316 * soft-fp/fixunsdfti.c: Likewise.
1317 * soft-fp/fixunssfdi.c: Likewise.
1318 * soft-fp/fixunssfsi.c: Likewise.
1319 * soft-fp/fixunssfti.c: Likewise.
1320 * soft-fp/fixunstfdi.c: Likewise.
1321 * soft-fp/fixunstfsi.c: Likewise.
1322 * soft-fp/fixunstfti.c: Likewise.
1323 * soft-fp/floatdidf.c: Likewise.
1324 * soft-fp/floatdisf.c: Likewise.
1325 * soft-fp/floatditf.c: Likewise.
1326 * soft-fp/floatsidf.c: Likewise.
1327 * soft-fp/floatsisf.c: Likewise.
1328 * soft-fp/floatsitf.c: Likewise.
1329 * soft-fp/floattidf.c: Likewise.
1330 * soft-fp/floattisf.c: Likewise.
1331 * soft-fp/floattitf.c: Likewise.
1332 * soft-fp/floatundidf.c: Likewise.
1333 * soft-fp/floatundisf.c: Likewise.
1334 * soft-fp/floatunditf.c: Likewise.
1335 * soft-fp/floatunsidf.c: Likewise.
1336 * soft-fp/floatunsisf.c: Likewise.
1337 * soft-fp/floatunsitf.c: Likewise.
1338 * soft-fp/floatuntidf.c: Likewise.
1339 * soft-fp/floatuntisf.c: Likewise.
1340 * soft-fp/floatuntitf.c: Likewise.
1341 * soft-fp/fmadf4.c: Likewise.
1342 * soft-fp/fmasf4.c: Likewise.
1343 * soft-fp/fmatf4.c: Likewise.
1344 * soft-fp/gedf2.c: Likewise.
1345 * soft-fp/gesf2.c: Likewise.
1346 * soft-fp/getf2.c: Likewise.
1347 * soft-fp/ledf2.c: Likewise.
1348 * soft-fp/lesf2.c: Likewise.
1349 * soft-fp/letf2.c: Likewise.
1350 * soft-fp/muldf3.c: Likewise.
1351 * soft-fp/mulsf3.c: Likewise.
1352 * soft-fp/multf3.c: Likewise.
1353 * soft-fp/negdf2.c: Likewise.
1354 * soft-fp/negsf2.c: Likewise.
1355 * soft-fp/negtf2.c: Likewise.
1356 * soft-fp/op-1.h: Likewise.
1357 * soft-fp/op-2.h: Likewise.
1358 * soft-fp/op-4.h: Likewise.
1359 * soft-fp/op-8.h: Likewise.
1360 * soft-fp/op-common.h: Likewise.
1361 * soft-fp/quad.h: Likewise.
1362 * soft-fp/single.h: Likewise.
1363 * soft-fp/soft-fp.h: Likewise.
1364 * soft-fp/sqrtdf2.c: Likewise.
1365 * soft-fp/sqrtsf2.c: Likewise.
1366 * soft-fp/sqrttf2.c: Likewise.
1367 * soft-fp/subdf3.c: Likewise.
1368 * soft-fp/subsf3.c: Likewise.
1369 * soft-fp/subtf3.c: Likewise.
1370 * soft-fp/truncdfsf2.c: Likewise.
1371 * soft-fp/trunctfdf2.c: Likewise.
1372 * soft-fp/trunctfsf2.c: Likewise.
1373 * soft-fp/trunctfxf2.c: Likewise.
1374 * soft-fp/unorddf2.c: Likewise.
1375 * soft-fp/unordsf2.c: Likewise.
1376 * soft-fp/unordtf2.c: Likewise.
1377
9ebb0332
JM
13782013-10-15 Joseph Myers <joseph@codesourcery.com>
1379
1380 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1381 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1382
4b1a6d8b
OB
13832013-10-15 Ondřej Bílka <neleai@seznam.cz>
1384
1385 * elf/dl-libc.c: Clear initfini list after freeing.
1386
1e145589
JM
13872013-10-14 Joseph Myers <joseph@codesourcery.com>
1388
1389 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1390 * soft-fp/addsf3.c: Likewise.
1391 * soft-fp/addtf3.c: Likewise.
1392 * soft-fp/divdf3.c: Likewise.
1393 * soft-fp/divsf3.c: Likewise.
1394 * soft-fp/divtf3.c: Likewise.
1395 * soft-fp/double.h: Likewise.
1396 * soft-fp/eqdf2.c: Likewise.
1397 * soft-fp/eqsf2.c: Likewise.
1398 * soft-fp/eqtf2.c: Likewise.
1399 * soft-fp/extenddftf2.c: Likewise.
1400 * soft-fp/extended.h: Likewise.
1401 * soft-fp/extendsfdf2.c: Likewise.
1402 * soft-fp/extendsftf2.c: Likewise.
1403 * soft-fp/extendxftf2.c: Likewise.
1404 * soft-fp/fixdfdi.c: Likewise.
1405 * soft-fp/fixdfsi.c: Likewise.
1406 * soft-fp/fixdfti.c: Likewise.
1407 * soft-fp/fixsfdi.c: Likewise.
1408 * soft-fp/fixsfsi.c: Likewise.
1409 * soft-fp/fixsfti.c: Likewise.
1410 * soft-fp/fixtfdi.c: Likewise.
1411 * soft-fp/fixtfsi.c: Likewise.
1412 * soft-fp/fixtfti.c: Likewise.
1413 * soft-fp/fixunsdfdi.c: Likewise.
1414 * soft-fp/fixunsdfsi.c: Likewise.
1415 * soft-fp/fixunsdfti.c: Likewise.
1416 * soft-fp/fixunssfdi.c: Likewise.
1417 * soft-fp/fixunssfsi.c: Likewise.
1418 * soft-fp/fixunssfti.c: Likewise.
1419 * soft-fp/fixunstfdi.c: Likewise.
1420 * soft-fp/fixunstfsi.c: Likewise.
1421 * soft-fp/fixunstfti.c: Likewise.
1422 * soft-fp/floatdidf.c: Likewise.
1423 * soft-fp/floatdisf.c: Likewise.
1424 * soft-fp/floatditf.c: Likewise.
1425 * soft-fp/floatsidf.c: Likewise.
1426 * soft-fp/floatsisf.c: Likewise.
1427 * soft-fp/floatsitf.c: Likewise.
1428 * soft-fp/floattidf.c: Likewise.
1429 * soft-fp/floattisf.c: Likewise.
1430 * soft-fp/floattitf.c: Likewise.
1431 * soft-fp/floatundidf.c: Likewise.
1432 * soft-fp/floatundisf.c: Likewise.
1433 * soft-fp/floatunsidf.c: Likewise.
1434 * soft-fp/floatunsisf.c: Likewise.
1435 * soft-fp/floatuntidf.c: Likewise.
1436 * soft-fp/floatuntisf.c: Likewise.
1437 * soft-fp/floatuntitf.c: Likewise.
1438 * soft-fp/fmadf4.c: Likewise.
1439 * soft-fp/fmasf4.c: Likewise.
1440 * soft-fp/fmatf4.c: Likewise.
1441 * soft-fp/gedf2.c: Likewise.
1442 * soft-fp/gesf2.c: Likewise.
1443 * soft-fp/getf2.c: Likewise.
1444 * soft-fp/ledf2.c: Likewise.
1445 * soft-fp/lesf2.c: Likewise.
1446 * soft-fp/letf2.c: Likewise.
1447 * soft-fp/muldf3.c: Likewise.
1448 * soft-fp/mulsf3.c: Likewise.
1449 * soft-fp/multf3.c: Likewise.
1450 * soft-fp/negdf2.c: Likewise.
1451 * soft-fp/negsf2.c: Likewise.
1452 * soft-fp/negtf2.c: Likewise.
1453 * soft-fp/op-1.h: Likewise.
1454 * soft-fp/op-2.h: Likewise.
1455 * soft-fp/op-4.h: Likewise.
1456 * soft-fp/op-8.h: Likewise.
1457 * soft-fp/op-common.h: Likewise.
1458 * soft-fp/quad.h: Likewise.
1459 * soft-fp/single.h: Likewise.
1460 * soft-fp/soft-fp.h: Likewise.
1461 * soft-fp/sqrtdf2.c: Likewise.
1462 * soft-fp/sqrtsf2.c: Likewise.
1463 * soft-fp/sqrttf2.c: Likewise.
1464 * soft-fp/subdf3.c: Likewise.
1465 * soft-fp/subsf3.c: Likewise.
1466 * soft-fp/subtf3.c: Likewise.
1467 * soft-fp/truncdfsf2.c: Likewise.
1468 * soft-fp/trunctfdf2.c: Likewise.
1469 * soft-fp/trunctfsf2.c: Likewise.
1470 * soft-fp/trunctfxf2.c: Likewise.
1471 * soft-fp/unorddf2.c: Likewise.
1472 * soft-fp/unordsf2.c: Likewise.
1473 * soft-fp/unordtf2.c: Likewise.
1474
17c48a60
OB
14752013-10-14 Ondřej Bílka <neleai@seznam.cz>
1476
1477 [BZ #15672]
1478 * misc/error.c (error_tail): Fix possible buffer overflow.
1479
cabba934
OB
14802013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1481
1482 [BZ #13028]
1483 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1484 address.
1485
94bf958a
PM
14862013-10-14 P. J. McDermott <pj@pehjota.net>
1487
1488 [BZ #832]
1489 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1490 testing pipefail option.
1491
71b4dea7
JM
14922013-10-12 Joseph Myers <joseph@codesourcery.com>
1493
1494 * soft-fp/double.h: Indent preprocessor directives inside #if.
1495 * soft-fp/extended.h: Likewise.
1496 * soft-fp/op-2.h: Likewise.
1497 * soft-fp/op-4.h: Likewise.
1498 * soft-fp/op-common.h: Likewise.
1499 * soft-fp/quad.h: Likewise.
1500 * soft-fp/single.h: Likewise.
1501 * soft-fp/soft-fp.h: Likewise.
1502
55602758
YC
15032013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1504
1505 * iconv/iconv_prog.c: Fix typos.
1506 * stdio-common/psiginfo-data.h: Likewise.
1507
9cd83302
RT
15082013-10-12 Reuben Thomas <rrt@sc3d.org>
1509
1510 [BZ #15764]
1511 * locale/setlocale.c: Fix typo.
1512
99fd9f47
JM
15132013-10-12 Joseph Myers <joseph@codesourcery.com>
1514
b7ea74f0
JM
1515 [BZ #16036]
1516 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1517 signaling NaN arguments.
1518 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1519 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1520
8a509447
JM
1521 [BZ #14910]
1522 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1523 unordered operands.
1524 * soft-fp/gesf2.c (__gesf2): Likewise.
1525 * soft-fp/getf2.c (__getf2): Likewise.
1526 * soft-fp/ledf2.c (__ledf2): Likewise.
1527 * soft-fp/lesf2.c (__lesf2): Likewise.
1528 * soft-fp/letf2.c (__letf2): Likewise.
1529
98998e9f
JM
1530 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1531 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1532 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1533 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1534 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1535 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1536 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1537 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1538 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1539 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1540 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1541 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1542 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1543 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1544 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1545 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1546 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1547 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1548 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1549 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1550 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1551 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1552 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1553 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1554 * soft-fp/floattidf.c (__floattidf): Likewise.
1555 * soft-fp/floattisf.c (__floattisf): Likewise.
1556 * soft-fp/floattitf.c (__floattitf): Likewise.
1557 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1558 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1559 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1560 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1561 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1562 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1563 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1564 * soft-fp/gesf2.c (__gesf2): Likewise.
1565 * soft-fp/getf2.c (__getf2): Likewise.
1566 * soft-fp/ledf2.c (__ledf2): Likewise.
1567 * soft-fp/lesf2.c (__lesf2): Likewise.
1568 * soft-fp/letf2.c (__letf2): Likewise.
1569
8edc4a11
JM
1570 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1571 Undefine and redefine.
1572 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1573 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1574 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1575 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1576 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1577 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1578 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1579 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1580 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1581 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1582 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1583 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1584 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1585 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1586 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1587
8399acaf
JM
1588 [BZ #16032]
1589 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1590 without decrementing exponent if mantissa >= that for the
1591 denominator, not >.
1592 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1593 denominator, not >. Decrement exponent in < case instead of
1594 incrementing in >= case.
1595 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1596 without decrementing exponent if mantissa >= that for the
1597 denominator, not >.
1598
99fd9f47
JM
1599 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1600 computing saturated result for unsigned overflow.
1601
10e1cf6b
SP
16022013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1603 Jeff Law <law@redhat.com>
1604
1605 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1606 (atan2Mp): Add systemtap probe marker.
1607 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1608 (__ieee754_log): Add systemtap probe marker.
1609 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1610 (atanMp): Add systemtap probe marker.
1611 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1612 (tanMp): Add systemtap probe marker.
1613 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1614 (__slowexp): Add systemtap probe marker.
1615 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1616 (__slowpow): Add systemtap probe marker.
1617 * manual/probes.texi: Document probes.
1618
3d110c7c
EB
16192013-10-11 Eric Biggers <ebiggers3@gmail.com>
1620
1621 [BZ #15362]
1622 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1623 written.
1624 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1625 written.
1626 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1627 written to buffer but not flushed.
1628 * libio/iofwrite_u.c: Likewise.
1629 * libio/iopadn.c: Return bytes returned even if EOF was
1630 encountered.
1631 * libio/iowpadn.c: Likewise.
1632 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1633 if _IO_padn does not write the whole buffer.
1634 [!COMPILE_WPRINTF] (PAD): Likewise.
1635
75b4202a
DM
16362013-10-10 David S. Miller <davem@davemloft.net>
1637
1638 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1639 directory block.
1640
6c6352e6
JM
16412013-10-10 Joseph Myers <joseph@codesourcery.com>
1642
33b853c3
JM
1643 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1644 instead of FSF address.
1645 * soft-fp/fixdfti.c: Likewise.
1646 * soft-fp/fixsfti.c: Likewise.
1647 * soft-fp/fixtfti.c: Likewise.
1648 * soft-fp/fixunsdfti.c: Likewise.
1649 * soft-fp/fixunssfti.c: Likewise.
1650 * soft-fp/fixunstfti.c: Likewise.
1651 * soft-fp/floattidf.c: Likewise.
1652 * soft-fp/floattisf.c: Likewise.
1653 * soft-fp/floattitf.c: Likewise.
1654 * soft-fp/floatuntidf.c: Likewise.
1655 * soft-fp/floatuntisf.c: Likewise.
1656 * soft-fp/floatuntitf.c: Likewise.
1657 * soft-fp/trunctfxf2.c: Likewise.
1658
6c6352e6
JM
1659 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1660 * soft-fp/fixdfti.c: Likewise.
1661 * soft-fp/fixsfti.c: Likewise.
1662 * soft-fp/fixtfti.c: Likewise.
1663 * soft-fp/fixunsdfti.c: Likewise.
1664 * soft-fp/fixunssfti.c: Likewise.
1665 * soft-fp/fixunstfti.c: Likewise.
1666 * soft-fp/floattidf.c: Likewise.
1667 * soft-fp/floattisf.c: Likewise.
1668 * soft-fp/floattitf.c: Likewise.
1669 * soft-fp/floatuntidf.c: Likewise.
1670 * soft-fp/floatuntisf.c: Likewise.
1671 * soft-fp/floatuntitf.c: Likewise.
1672 * soft-fp/trunctfxf2.c: Likewise.
1673
3bf78b71
DM
16742013-10-10 David S. Miller <davem@davemloft.net>
1675
1676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1677
6f10289e
JM
16782013-10-10 Joseph Myers <joseph@codsourcery.com>
1679
bd878fc0
JM
1680 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1681 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1682 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1683 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1684 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1685 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1686 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1687
6f10289e
JM
1688 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1689 for NaNs before doing comparisons on argument.
1690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1691 Likewise.
1692
321e2684
WN
16932013-10-10 Will Newton <will.newton@linaro.org>
1694
1695 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1696 passed to _int_memalign does not overflow.
1697
40fefba1
TR
16982013-10-10 Torvald Riegel <triegel@redhat.com>
1699
1700 * scripts/bench.pl: Add include-sources directive.
1701 * benchtests/README: Update documentation.
1702
2ae21ed2
JM
17032013-10-10 Joseph Myers <joseph@codesourcery.com>
1704
dcc2dd3f
JM
1705 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1706 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1707 instead of FP_INIT_ROUNDMODE.
1708 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1709 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1710
2ae21ed2
JM
1711 [BZ #16034]
1712 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1713 copy class of input value.
1714 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1715 not handle exceptions.
1716 * soft-fp/negsf2.c (__negsf2): Likewise.
1717 * soft-fp/negtf2.c (__negtf2): Likewise.
1718 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1719
cb8f9562
JM
17202013-10-09 Joseph Myers <joseph@codesourcery.com>
1721
1722 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1723 semicolon. From Linux kernel.
1724
5b60c59d
AB
17252013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1726
1727 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1728
b86835ca
YC
17292013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1730
1731 [BZ #156]
1732 * manual/socket.texi: Added statement about buffer
1733 for gethostbyname2_r.
1734
e7044ea7
OB
17352013-10-08 Ondřej Bílka <neleai@seznam.cz>
1736
1737 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1738 Use .p2align directive instead, throughout.
1739 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1740 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1741 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1742 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1743 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1744 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1745 * sysdeps/x86_64/strchr.S: Likewise.
1746 * sysdeps/x86_64/strrchr.S: Likewise.
1747
09544cbc
SP
17482013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1749
88576635
SP
1750 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1751
e7b2d1dd
SP
1752 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1753
09544cbc
SP
1754 * sysdeps/generic/math_private.h (__mpsin1): Remove
1755 declaration.
1756 (__mpcos1): Likewise.
1757 (__mpsin): New argument __range_reduce.
1758 (__mpcos): Likewise.
1759 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1760 (slow): Use __mpsin and __mpcos.
1761 (slow1): Likewise.
1762 (slow2): Likewise.
1763 (sloww): Likewise.
1764 (sloww1): Likewise.
1765 (sloww2): Likewise.
1766 (bsloww): Likewise.
1767 (bsloww1): Likewise.
1768 (bsloww2): Likewise.
1769 (cslow2): Likewise.
1770 (csloww): Likewise.
1771 (csloww1): Likewise.
1772 (csloww2): Likewise.
1773 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1774 range_reduce. Merge in __mpsin1.
1775 (__mpcos): Likewise.
1776 (__mpsin1): Remove.
1777 (__mpcos1): Likewise.
1778
7602d070
JM
17792013-10-07 Joseph Myers <joseph@codesourcery.com>
1780
1781 * locale/loadlocale.c (_nl_intern_locale_data): Use
1782 LOCFILE_ALIGNED_P.
1783 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1784 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1785 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1786 obstack data is appropriately aligned.
1787 (obstack_int32_grow_fast): Likewise.
1788 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1789 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1790 (add_locale_uint32_array): Likewise.
1791
a357259b
SP
17922013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1793
1794 * benchtests/Makefile: Remove ARGLIST and RET variables.
1795 ($(objpfx)bench-%.c): Pass only function name to the script.
1796 * benchtests/README: Update documentation.
1797 * benchtests/acos-inputs: Add new directives.
1798 * benchtests/acosh-inputs: Likewise.
1799 * benchtests/asin-inputs: Likewise.
1800 * benchtests/asinh-inputs: Likewise.
1801 * benchtests/atan-inputs: Likewise.
1802 * benchtests/atanh-inputs: Likewise.
1803 * benchtests/cos-inputs: Likewise.
1804 * benchtests/cosh-inputs: Likewise.
1805 * benchtests/exp-inputs: Likewise.
1806 * benchtests/log-inputs: Likewise.
1807 * benchtests/pow-inputs: Likewise.
1808 * benchtests/rint-inputs: Likewise.
1809 * benchtests/sin-inputs: Likewise.
1810 * benchtests/sinh-inputs: Likewise.
1811 * benchtests/tan-inputs: Likewise.
1812 * benchtests/tanh-inputs: Likewise.
1813 * scripts/bench.pl: Add support for new directives.
1814
9ec1b13d
AM
18152013-10-07 Alan Modra <amodra@gmail.com>
1816
1817 * README: Fix careless merge.
1818
8b7d57cd
AM
18192013-10-05 Alan Modra <amodra@gmail.com>
1820
1821 * NEWS: Mention powerpc64le support and bugs fixed.
1822 * README: Both big-endian and little-endian powerpc64 supported.
1823
7b7bab13
ST
18242013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1825
1826 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1827 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1828 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1829 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1830
d39baad1
RA
18312013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1832
1833 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1834 match prototype.
1835
cd78f7e7
JM
18362013-10-04 Joseph Myers <joseph@codesourcery.com>
1837
29d73d86
JM
1838 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1839 Move -mhard-float appending from
1840 ports/sysdeps/powerpc/powerpc32/Makefile.
1841 [$(with-fp) = yes] (ASFLAGS): Likewise.
1842 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1843 * sysdeps/powerpc/nofpu: Move directory from
1844 ports/sysdeps/powerpc/nofpu.
1845 * sysdeps/powerpc/soft-fp: Move directory from
1846 ports/sysdeps/powerpc/soft-fp.
1847 * sysdeps/powerpc/powerpc32/405: Move directory from
1848 ports/sysdeps/powerpc/powerpc32/405.
1849 * sysdeps/powerpc/powerpc32/440: Move directory from
1850 ports/sysdeps/powerpc/powerpc32/440.
1851 * sysdeps/powerpc/powerpc32/464: Move directory from
1852 ports/sysdeps/powerpc/powerpc32/464.
1853 * sysdeps/powerpc/powerpc32/476: Move directory from
1854 ports/sysdeps/powerpc/powerpc32/476.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1856 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1858 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1860 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1862 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1864 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1865 * README: Update for powerpc-*-linux-gnu software floating point
1866 support in libc.
1867
e246b347
JM
1868 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1869 case to powerpc/powerpc32*.
1870 * sysdeps/unix/sysv/linux/configure: Regenerated.
1871
89c2003e
JM
1872 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1873 (_FPU_MASK_OM): Define as 0x04.
1874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1876 0x00c10080.
1877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1878 0x0000003c.
1879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1880
cd78f7e7
JM
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1882 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1883 getcontext_e500.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1885 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1886 setcontext_e500.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1888 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1889 and setcontext_e500.
1890
c755294d
CL
18912013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1892
1893 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1894
e16d221c
SP
18952013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1896
1897 * manual/threads.texi (Default Thread Attributes): Fix typo.
1898
215c7d43
WN
18992013-10-04 Will Newton <will.newton@linaro.org>
1900
1901 * malloc/Makefile: Add tst-memalign.
1902 * malloc/tst-memalign.c: New file.
1903
27d0461b
WN
1904 * malloc/tst-posix_memalign.c: Add comments.
1905 (do_test): Add comments and call free on all potentially
1906 allocated pointers. Add space after cast.
1907
1bc92709
WN
1908 * malloc/tst-pvalloc.c: Add comments.
1909 (do_test): Add comments and call free on all potentially
1910 allocated pointers. Remove duplicate check for NULL pointer.
1911 Add space after cast.
1912
66a9be9d
WN
1913 * malloc/tst-valloc.c: Add comments.
1914 (do_test): Add comments and call free on all potentially
1915 allocated pointers. Remove duplicate check for NULL pointer.
1916 Add space after cast.
1917
4cb81307
AM
19182013-10-04 Alan Modra <amodra@gmail.com>
1919
1920 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1921 Use stdint types in rather than __attribute__((mode())).
1922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1923
f8e3e9f3
AM
19242013-10-04 Alan Modra <amodra@gmail.com>
1925
1926 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1927 Correct handling of unaligned relocs for little-endian.
1928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1929
8f9ebb08
AM
19302013-10-04 Alan Modra <amodra@gmail.com>
1931
1932 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1933 * configure: Regenerate.
1934 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1935 * shlib-versions: Likewise.
1936
0edf96c2
AM
19372013-10-04 Alan Modra <amodra@gmail.com>
1938
1939 * string/tester.c (test_memrchr): Increment reported test cycle.
1940
e0f7a380
AM
19412013-10-04 Alan Modra <amodra@gmail.com>
1942
1943 * string/test-memcpy.c (do_one_test): When reporting errors, print
1944 string address and don't overrun end of string.
1945
466b0393
AM
19462013-10-04 Alan Modra <amodra@gmail.com>
1947
1948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1949 insrdi. Make better use of reg selection to speed exit slightly.
1950 Schedule entry path a little better. Remove useless "are we done"
1951 checks on entry to main loop. Handle wrapping around zero address.
1952 Correct main loop count. Handle single left-over word from main
1953 loop inline rather than by using loop_small. Remove extra word
1954 case in loop_small caused by wrong loop count. Add little-endian
1955 support.
1956 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1958 cache hint.
1959 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1960 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1961 support. Avoid rlwimi.
1962 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1963
3be87c77
AM
19642013-10-04 Alan Modra <amodra@gmail.com>
1965
1966 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1967 insrdi. Formatting.
3be87c77
AM
1968 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1969 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1970 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1971 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1972 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1973 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1974
759cfef3
AM
19752013-10-04 Alan Modra <amodra@gmail.com>
1976
1977 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1978 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1979 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1981 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1982 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1983 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1985 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1986 use of regs. Use power7 mtocrf. Tidy function tails.
1987
fe6e95d7
AM
19882013-10-04 Alan Modra <amodra@gmail.com>
1989
1990 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1991 Formatting. Consistently use rXXX register defines or rN defines.
1992 Use early exit labels that avoid restoring unused non-volatile regs.
1993 Make cr field use more consistent with rWORDn compares. Rename
1994 regs used as shift registers for unaligned loop, using rN defines
1995 for short lifetime/multiple use regs.
1996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1997 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1998 addi 1,1,64 to pop stack frame. Simplify return value code.
1999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2000
664318c3
AM
20012013-10-04 Alan Modra <amodra@gmail.com>
2002
2003 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2004 support. Correct typos, formatting. Optimize tail. Use insrdi
2005 rather than rlwimi.
2006 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2007 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2008 little-endian support. Correct typos.
2009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2010 rather than rlwimi.
2011 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2012 in loop and entry code to keep "and." results.
2013 (strchr): Add little-endian support. Comment. Move cntlzd
2014 earlier in tail.
2015 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2016
43b84013
AM
20172013-10-04 Alan Modra <amodra@gmail.com>
2018
2019 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2020 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2021 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2022 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2023
8a7413f9
AM
20242013-10-04 Alan Modra <amodra@gmail.com>
2025
2026 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2027 (rTMP): Define as r11.
2028 (strcmp): Add little-endian support. Optimise tail.
2029 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2030 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2036
33ee81de
AM
20372013-10-04 Alan Modra <amodra@gmail.com>
2038
2039 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2040 little-endian support. Remove unnecessary "are we done" tests.
2041 Handle "s" wrapping around zero and extremely large "size".
2042 Correct main loop count. Handle single left-over word from main
2043 loop inline rather than by using small_loop. Correct comments.
2044 Delete "zero" tail, use "end_max" instead.
2045 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2046
db9b4570
AM
20472013-10-04 Alan Modra <amodra@gmail.com>
2048
2049 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2050 support. Don't branch over align.
2051 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2053 support. Rearrange tmp reg use to suit. Comment.
2054 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2055
f7c399cf
AM
20562013-10-04 Alan Modra <amodra@gmail.com>
2057
2058 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2059
0b2c2ace
AM
20602013-10-04 Alan Modra <amodra@gmail.com>
2061
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2063 conditional form of branch and link when obtaining pc.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2065
02f04a6c
AM
20662013-10-04 Alan Modra <amodra@gmail.com>
2067
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2069 HIWORD/LOWORD.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2072
9b874b2f
AM
20732013-10-04 Alan Modra <amodra@gmail.com>
2074
2075 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2076 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2077 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2078 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2079 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2080 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2081 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2083 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2084 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2085
be1e5d31
AB
20862013-10-04 Anton Blanchard <anton@au1.ibm.com>
2087 Alistair Popple <alistair@ozlabs.au.ibm.com>
2088 Alan Modra <amodra@gmail.com>
2089
2090 [BZ #15723]
2091 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2092 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2093 _dl_hwcap access for little-endian.
2094 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2095 destroy vmx regs when saving unaligned.
2096 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2097 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2098 destroy vmx regs when saving unaligned.
2099
fef13a78
AM
21002013-10-04 Alan Modra <amodra@gmail.com>
2101
2102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2103 Don't use a union to pack hi/low value.
2104
76a66d51
AB
21052013-10-04 Anton Blanchard <anton@au1.ibm.com>
2106
2107 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2108 for little-endian.
2109 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2114
6a31fe7f
AM
21152013-10-04 Alan Modra <amodra@gmail.com>
2116
2117 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2118 constants to usual value for .cst8 section, and remove redundant
2119 high address load.
2120 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2121 constant for 0x1p52. Load little-endian words of double from
2122 correct stack offsets.
2123
7b88401f
AM
21242013-10-04 Alan Modra <amodra@gmail.com>
2125
2126 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2127 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2128 words of double from correct stack offsets.
2129 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2130 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2131 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2134 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2136 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2138 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2139 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2140 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2141 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2142 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2143 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2144 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2145 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2146
9c008155
AM
21472013-10-04 Alan Modra <amodra@gmail.com>
2148
2149 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2150 64-bit int/double union.
2151 (_FPU_SETCW): Likewise.
2152 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2153 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2154
da13146d
AM
21552013-10-04 Alan Modra <amodra@gmail.com>
2156
2157 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2158 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2159
603e8410
AM
21602013-10-04 Alan Modra <amodra@gmail.com>
2161
2162 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2163 use vector int constants.
2164 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2165
4a28b3ca
AB
21662013-10-04 Anton Blanchard <anton@au1.ibm.com>
2167
2168 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2169 array with long long.
2170 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2171 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2172 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2173 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2174 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2175 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2176 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2177 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2179 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2180 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2181 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2182 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2183
2ca85d2b
AB
21842013-10-04 Anton Blanchard <anton@au1.ibm.com>
2185
2186 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2187 (__signbit): Likewise. Correct for little-endian.
2188 (__signbitl): Call __signbit.
2189 (lrint): Correct for little-endian.
2190 (lrintf): Call lrint.
2191
62a728ae
AM
21922013-10-04 Alan Modra <amodra@gmail.com>
2193
2194 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2195 union 32-bit int array member with 64-bit int array.
2196 (t515, tm256): Double rather than long double.
2197 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2198
32c301df
AM
21992013-10-04 Alan Modra <amodra@gmail.com>
2200
2201 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2202 Delete.
2203 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2205 version of math_ldbl.h.
2206
650ef4bd
AM
22072013-10-04 Alan Modra <amodra@gmail.com>
2208
2209 [BZ #15734], [BZ #15735]
2210 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2211 all uses of ieee875 long double macros and unions. Simplify test
2212 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2213 ldbl_extract_mantissa value for ix,iy exponents. Properly
2214 normalize after ldbl_extract_mantissa, and don't add hidden bit
2215 already handled. Don't treat low word of ieee854 mantissa like
2216 low word of IBM long double and mask off bit when testing for
2217 zero.
2218 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2219 all uses of ieee875 long double macros and unions. Simplify tests
2220 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2221 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2222 two1022, instead use their values. Recognise that tests for large
2223 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2224 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2225 Rewrite all uses of ieee875 long double macros and unions. Simplify
2226 test for 0.0L and nan. Correct negation.
2227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2228 ieee875 long double macros and unions. Correct output for large
2229 magnitude x. Correct absolute value calculation.
2230 (__erfcl): Likewise.
2231 * math/libm-test.inc: Add tests for errors discovered in IBM long
2232 double versions of fmodl, remainderl, erfl and erfcl.
2233
765714ca
AM
22342013-10-04 Alan Modra <amodra@gmail.com>
2235
2236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2237 all uses of ieee854 long double macros and unions. Simplify tests
2238 for long doubles that are fully specified by the high double.
2239 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2240 Likewise.
2241 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2242 Remove dead code too.
2243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2244 (__ieee754_ynl): Likewise.
2245 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2248 Remove dead code too.
2249 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2253 Simplify.
2254 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2255 Simplify.
2256 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2259 Comment on variable precision.
2260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2262 Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2267 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2268
4ebd120c
AM
22692013-10-04 Alan Modra <amodra@gmail.com>
2270
2271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2273 all uses of ieee854 long double macros and unions.
2274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2280 Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2287 Simplify sign and nan test too.
2288 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2292 Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2295 Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2302
1b6adf88
AM
23032013-10-04 Alan Modra <amodra@gmail.com>
2304
2305 * stdio-common/printf_size.c (__printf_size): Don't use
2306 union ieee854_long_double in fpnum union.
2307 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2308 signbit macro to retrieve sign from long double.
2309 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2310 retrieve sign from long double.
2311 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2312 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2314 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2315 * math/test-misc.c (main): Don't use union ieee854_long_double.
2316
4cf69995
AM
23172013-10-04 Alan Modra <amodra@gmail.com>
2318
2319 [BZ #15680]
2320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2321 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2322 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2323 calculation. Remove unnecessary test for denormal exponent.
2324 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2325 Correct handling of denormals. Avoid undefined shift behaviour.
2326 Correct normalisation of low mantissa when low double is denormal.
2327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2328 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2329 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2330 Correct normalisation of low mantissa. Test for overflow of high
2331 mantissa and normalise.
2332 (ldbl_nearbyint): Use more readable constant for two52.
2333 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2334 (__mpn_construct_long_double): Fix test for overflow of high
2335 mantissa and correct normalisation. Avoid undefined shift.
2336
9605ca6c
AM
23372013-10-04 Alan Modra <amodra@gmail.com>
2338
2339 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2340 (union ibm_extended_long_double): Define as an array of ieee754_double.
2341 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2342 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2343 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2344 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2352
975569d0
JM
23532013-10-03 Joseph Myers <joseph@codesourcery.com>
2354
d3d23756
JM
2355 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2356 page size instead of calling getpagesize.
2357
975569d0
JM
2358 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2359 (LOCFILE_ALIGN_MASK): Likewise.
2360 (LOCFILE_ALIGN_UP): Likewise.
2361 (LOCFILE_ALIGNED_P): Likewise.
2362 * locale/programs/ld-collate.c (collate_output): Use the new
2363 macros instead of __alignof__ (int32_t).
2364 * locale/weight.h (findidx): Likewise.
2365
b1fe1f2b
OB
23662013-10-03 Ondřej Bílka <neleai@seznam.cz>
2367
2368 [BZ #431]
2369 * manual/string.texi: Fix strncat and wcsncat.
2370
5f855e35
BM
23712013-10-03 Brooks Moses <bmoses@google.com>
2372
2373 [BZ #15915]
2374 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2375 * Makerules: ...here, and adjust associated comments.
2376
3cef6009
WN
23772013-10-02 Will Newton <will.newton@linaro.org>
2378
2379 * malloc/Makefile: Add tst-pvalloc.
2380 * malloc/tst-pvalloc.c: New file.
2381
7815420b
WN
23822013-10-02 Will Newton <will.newton@linaro.org>
2383
2384 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2385 improve test coverage.
2386
4868b204
WN
23872013-10-02 Will Newton <will.newton@linaro.org>
2388
2389 * malloc/Makefile: Add tst-posix_memalign.
2390 * malloc/tst-posix_memalign.c: New file.
2391
29c793b3
EB
23922013-10-01 Eric Blake <eblake@redhat.com>
2393
2394 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2395 Use __THROWNL rather than __THROW on static functions.
2396
fd967522
PM
23972013-09-30 Petr Machata <pmachata@redhat.com>
2398
2399 * elf/elf.h (R_AARCH64_ABS16): New macro.
2400 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2401 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2402 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2403 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2404 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2405 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2406 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2407 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2408 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2409 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2410 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2411 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2412 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2413 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2414 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2415 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2416 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2417 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2418 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2419 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2420 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2421 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2422 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2423 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2424 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2425 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2426 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2427 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2428 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2429 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2430 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2431 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2432 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2433 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2434 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2435 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2436 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2437 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2438 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2439 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2440 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2441 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2442 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2443 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2444 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2445 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2446 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2447 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2448 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2449 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2450 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2451 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2452 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2453 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2454 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2455 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2456 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2457 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2458 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2459 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2460 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2461 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2462 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2463 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2464 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2465 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2466 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2467 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2468 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2469 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2470 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2471 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2472 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2473 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2474 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2475 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2476 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2477 (R_AARCH64_TLSDESC_LDR): Likewise.
2478 (R_AARCH64_TLSDESC_ADD): Likewise.
2479 (R_AARCH64_TLSDESC_CALL): Likewise.
2480
b2179107
AS
24812013-09-30 Andreas Schwab <schwab@suse.de>
2482
2483 [BZ #15048]
2484 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2485 the nss database lookup.
2486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2488
47f28d0a
MF
24892013-09-28 Mike Frysinger <vapier@gentoo.org>
2490
2491 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2492
24932013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2494
2495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2496 ${Bash-specific parameter/pattern/string} parameter expansion.
2497 * sysdeps/unix/make-syscalls.sh: Likewise.
2498
f4518a17
KK
24992013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2500
2501 * sysdeps/sh/stackguard-macros.h: New file.
2502
dc1a95c7
OB
25032013-09-26 Ondřej Bílka <neleai@seznam.cz>
2504
2505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2507 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2509 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2510 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2511
5ebbff8f
AZ
25122013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2513
2514 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2515 Fix thread ID register.
2516
4fd2cf9f
JM
25172013-09-25 Joseph Myers <joseph@codesourcery.com>
2518
2519 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2520 [POSIX || UNIX98]: Require rather than permitting all symbols from
2521 <time.h>.
2522 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2523 element of struct sched_param.
2524 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2525 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2526 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2527 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2528 constant.
2529
12c22bc4
OL
25302013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2531
2532 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2533 argument calculation.
2534
a03d8ea7
JM
25352013-09-24 Joseph Myers <joseph@codesourcery.com>
2536
2537 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2538 Expect macro.
2539 [POSIX] (pthread_attr_t): Do not require type.
2540 [POSIX] (pthread_cond_t): Likewise.
2541 [POSIX] (pthread_condattr_t): Likewise.
2542 [POSIX] (pthread_key_t): Likewise.
2543 [POSIX] (pthread_mutex_t): Likewise.
2544 [POSIX] (pthread_mutexattr_t): Likewise.
2545 [POSIX] (pthread_once_t): Likewise.
2546 [POSIX] (pthread_t): Likewise.
2547 [POSIX-based standards] (pthread_atfork): Expect function.
2548
6055173a
JM
25492013-09-24 Joseph Myers <joseph@codesourcery.com>
2550 Richard Sandiford <richard@codesourcery.com>
2551
2552 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2553 (swap_endianness_p): New extern variable.
2554 (set_big_endian): New inline function.
2555 (maybe_swap_uint32): Likewise.
2556 (maybe_swap_uint32_array): Likewise.
2557 (maybe_swap_uint32_obstack): Likewise.
2558 * locale/programs/locfile.c: Include <stdbool.h>.
2559 (swap_endianness_p): New variable.
2560 (add_locale_uint32): Call maybe_swap_uint32.
2561 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2562 (write_locale_data): Call maybe_swap_uint32_array.
2563 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2564 maybe_swap_uint32.
2565 (obstack_int32_grow_fast): Likewise.
2566 (output_weightwc): Call maybe_swap_uint32_obstack.
2567 (collate_output): Likewise.
2568 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2569 (OPT_LITTLE_ENDIAN): Likewise.
2570 (options): Add --little-endian and --big-endian options.
2571 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2572 * locale/programs/locarchive.c: Include "locfile.h".
2573 (GET): New macro.
2574 (SET): Likewise.
2575 (INC): Likewise.
2576 (create_archive): Use the new macros to access fields of
2577 structures directly mapped from or written to locale archives.
2578 (oldlocrecentcmp): Likewise.
2579 (enlarge_archive): Likewise.
2580 (insert_name): Likewise.
2581 (add_alias): Likewise.
2582 (add_locale): Likewise.
2583 (delete_locales_from_archive): Likewise.
2584 (show_archive_content): Likewise.
2585 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2586 locale data.
2587
39bf0bb4
RM
25882013-09-24 Roland McGrath <roland@hack.frob.com>
2589
2590 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2591 http://www.gnu.org/doc/freemanuals.texi.
2592 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2593
f02eed10
WN
25942013-09-24 Will Newton <will.newton@linaro.org>
2595
2596 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2597 macro.
2598
a3a6c312
JM
25992013-09-23 Joseph Myers <joseph@codesourcery.com>
2600
2601 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2602 unsigned char.
2603
107375ac
MR
26042013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2605
2606 * manual/threads.texi (POSIX Threads): Fix a typo.
2607
141f3a77
SP
26082013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2609
303e567a
SP
2610 [BZ #14547]
2611 * string/tst-strcoll-overflow.c: New test case.
2612 * string/Makefile (xtests): Add tst-strcoll-overflow.
2613 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2614 cache if string sizes may cause integer overflow.
2615
141f3a77
SP
2616 [BZ #14547]
2617 * string/strcoll_l.c (coll_seq): New members rule, idx,
2618 save_idx and back_us.
2619 (get_next_seq_nocache): New function.
2620 (do_compare_nocache): New function.
2621 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2622 when malloc fails.
2623
c61b4d41
CD
26242013-09-23 Carlos O'Donell <carlos@redhat.com>
2625
0b1f8e35
CD
2626 [BZ #15754]
2627 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2628 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2629 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2630
c61b4d41
CD
2631 [BZ #15754]
2632 * elf/Makefile (tests): Add tst-ptrguard1.
2633 (tests-static): Add tst-ptrguard1-static.
2634 (tst-ptrguard1-ARGS): Define.
2635 (tst-ptrguard1-static-ARGS): Define.
2636 * elf/tst-ptrguard1.c: New file.
2637 * elf/tst-ptrguard1-static.c: New file.
2638 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2639 * sysdeps/i386/stackguard-macros.h: Likewise.
2640 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2641 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2642 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2643 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2644 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2645 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2646
26472013-09-23 Hector Marco <hecmargi@upv.es>
2648 Ismael Ripoll <iripoll@disca.upv.es>
2649 Carlos O'Donell <carlos@redhat.com>
2650
2651 [BZ #15754]
2652 * sysdeps/generic/stackguard-macros.h: Define
2653 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2654 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2655 Define __pointer_chk_guard_local.
2656 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2657 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2658
f5f4e7b4
VV
26592013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2660
2661 [BZ #15859]
2662 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2663
5bb43a43
AS
26642013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2665
2666 * include/string.h (__ffs): Declare as hidden.
2667 * string/ffs.c (__ffs): Define as hidden.
2668 * sysdeps/i386/ffs.c (__ffs): Likewise.
2669 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2670 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2671 * sysdeps/s390/ffs.c (__ffs): Likewise.
2672 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2673
3ea5be54
AO
26742013-09-20 Alexandre Oliva <aoliva@redhat.com>
2675
ffb89e53
AO
2676 * NEWS: Mention malloc probes.
2677
322dea08
AO
2678 * malloc/arena.c (new_heap): New memory_heap_new probe.
2679 (grow_heap): New memory_heap_more probe.
2680 (shrink_heap): New memory_heap_less probe.
2681 (heap_trim): New memory_heap_free probe.
2682 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2683 (systrim): New memory_sbrk_less probe.
2684 * manual/probes.texi: Document them.
2685
655673f3
AO
2686 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2687 * manual/probes.texi: Document it.
2688
35fed6f1
AO
2689 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2690 (__libc_realloc): Add memory_realloc_retry probe.
2691 (__libc_memalign): Add memory_memalign_retry probe.
2692 (__libc_valloc): Add memory_valloc_retry probe.
2693 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2694 (__libc_calloc): Add memory_calloc_retry probe.
2695 * manual/probes.texi: Document them.
2696
6999d38c
AO
2697 * malloc/arena.c (get_free_list): Add probe
2698 memory_arena_reuse_free_list.
2699 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2700 and memory_arena_reuse.
2701 (arena_get2) [!PER_THREAD]: Likewise.
2702 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2703 memory_arena_reuse_realloc.
2704 * manual/probes.texi: Document them.
2705
0653427f
AO
2706 * malloc/malloc.c (__libc_free): Add
2707 memory_mallopt_free_dyn_thresholds probe.
2708 (__libc_mallopt): Add multiple memory_mallopt probes.
2709 * manual/probes.texi: Document them.
2710
3ea5be54
AO
2711 * malloc/malloc.c: Include stap-probe.h.
2712 (__libc_mallopt): Add memory_mallopt probe.
2713 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2714 * manual/probes.texi: New.
2715 * manual/Makefile (chapters): Add probes.
2716 * manual/threads.texi: Set next node.
2717
e35696c3 27182013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2719
e35696c3
CL
2720 [BZ #15963, #13985]
2721 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2722 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2723 Add `Chinese' to `nan' entry name.
2724
4aafb73c
SP
27252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2726
2727 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2728 (POLYNOMIAL): Likewise.
2729 (TAYLOR_SINCOS): Likewise.
2730 (TAYLOR_SLOW): Likewise.
2731 (__sin): Use TAYLOR_SINCOS.
2732 (__cos): Likewise.
2733 (slow): Use TAYLOR_SLOW.
2734 (sloww): Likewise.
2735 (bsloww): Likewise.
2736 (csloww): Likewise.
2737
d84f25c7
LD
27382013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2739
2740 * stdlib/strtod_l.c: Fix buffer overrun.
2741
5eea0404
SP
27422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2743
7849ff93
SP
2744 * benchtests/Makefile (bench): Add sincos.
2745 * benchtests/bench-sincos.c: New file.
2746
cfa3c886
SP
2747 * math/libm-test.inc (cos_test_data): New test inputs.
2748 (sin_test_data): Likewise.
2749
b348e1e3
SP
2750 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2751 macro.
2752 (__sin): Use it.
2753 (__cos): Likewise.
2754 (slow1): Likewise.
2755 (slow2): Likewise.
2756 (sloww1): Likewise.
2757 (sloww2): Likewise.
2758 (bsloww1): Likewise.
2759 (bsloww2): Likewise.
2760 (cslow2): Likewise.
2761 (csloww1): Likewise.
2762 (csloww2): Likewise.
2763
6cce25f8
SP
2764 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2765 function.
2766 (__sin): Use it.
2767 (__cos): Likewise.
2768
5eea0404
SP
2769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2770 gotos.
2771 (__cos): Likewise.
2772
9c21573c
MR
27732013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2774
2775 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2776 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2777 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2778 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2779 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2780 * elf/cache.c (print_entry): Handle the new cache flags.
2781
24d22e65
JM
27822013-09-18 Joseph Myers <joseph@codesourcery.com>
2783 Aldy Hernandez <aldyh@redhat.com>
2784
2785 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2786 Change condition to [_SOFT_FLOAT].
2787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2799 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2802 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2803 declaration.
2804
d13ef066
JM
28052013-09-18 Joseph Myers <joseph@codesourcery.com>
2806
2e071de0
JM
2807 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2808 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2809 (__longjmp): Use LOAD_GP to load saved GPRs.
2810 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2811 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2812 (__sigsetjmp): Use SAVE_GP to save GPRs.
2813
d13ef066
JM
2814 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2815 Do not append -msoft-float.
2816 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2817
97a0650b
SP
28182013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2819
2820 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2821
11ca09e9
JM
28222013-09-17 Joseph Myers <joseph@codesourcery.com>
2823
2824 [BZ #15966]
2825 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2826 (_FPU_GETCW): Use initial "__" on variable and field names but not
2827 on macro parameter name.
2828 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2829 parentheses around reference to macro parameter.
2830
08ffcf34
RS
28312013-09-13 Richard Sandiford <richard@codesourcery.com>
2832
2833 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2834 prototype.
2835 (ctype_startup): Use uint32_t in cast and sizeof for
2836 ctype->charnames.
2837
ae7080d3
JL
28382013-09-11 Jia Liu <proljc@gmail.com>
2839
2840 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2841 __daddr_t_defined.
2842 [__FreeBSD__]: Likewise.
2843
5905e7b3
OB
28442013-09-11 Ondřej Bílka <neleai@seznam.cz>
2845
2846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2847 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2848 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2849 (strchr): Remove __strchr_sse42 ifunc selection.
2850 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2851 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2852
b987c776
WN
28532013-09-11 Will Newton <will.newton@linaro.org>
2854
2855 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2856 parameter to RES. Remove hardcoded 1000 value.
2857 * benchtests/bench-skeleton.c (main): Pass RES parameter
2858 to TIMING_INIT and multiply result by 1000.
2859
ddf985af
AZ
28602013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2861
2862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2863
ffdd3181
AS
28642013-09-11 Andreas Schwab <schwab@suse.de>
2865
2866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2867 if not defined.
2868 (O_TMPFILE) [__USE_GNU]: Define.
2869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2870 Define.
2871
b73ed247
WN
28722013-09-11 Will Newton <will.newton@linaro.org>
2873
2874 [BZ #15857]
2875 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2876 does not overflow.
2877
55e17aad
WN
28782013-09-11 Will Newton <will.newton@linaro.org>
2879
2880 [BZ #15856]
2881 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2882 does not overflow.
2883
1159a193
WN
28842013-09-11 Will Newton <will.newton@linaro.org>
2885
2886 [BZ #15855]
2887 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2888 does not overflow.
2889
5905e7b3 28902013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2891
2892 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2895 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2897
cdfc721b
AM
28982013-09-10 Allan McRae <allan@archlinux.org>
2899
aa04af00
AM
2900 [BZ #15748]
2901 * manual/arith.texi (Parsing of Floats): Clarify
2902 cross-reference.
2903
cdfc721b
AM
2904 [BZ #15849]
2905 * manual/install.texi (Running make install): Mention
2906 --enable-pt-chown.
2907 * INSTALL: Regenerated.
2908
95e7cf29
MR
29092013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2910
2911 * csu/init-first.c (_init): Remove the !SHARED condition around
2912 FPU control word initialization.
2913 * elf/dl-support.c (_dl_fpu_control): New variable.
2914 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2915 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2916 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2917 * math/test-fpucw-static.c: New file.
2918 * math/test-fpucw-ieee.c: New file.
2919 * math/test-fpucw-ieee-static.c: New file.
2920 * math/Makefile (tests): Add `test-fpucw-ieee' and
2921 `$(tests-static)'.
2922 (tests-static): New variable.
2923 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2924 dependency to...
2925 [($(build-shared),yes)]
2926 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2927 ... this.
2928 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2929 New dependency.
2930
83e43bf0
AM
29312013-09-09 Allan McRae <allan@archlinux.org>
2932
a9f5ce09
AM
2933 [BZ #15939]
2934 * manual/string.texi (Collation Functions): Fix typo in
2935 strcoll example.
2936 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2937
34829bc2
AM
2938 [BZ #15893]
2939 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2940
3932737d
AM
2941 [BZ #15892]
2942 * libio/memstream.c (open_memstream): Fix memory leak.
2943 * libio/wmemstream.c (open_wmemstream): Likewise.
2944
83e43bf0
AM
2945 [BZ #15895]
2946 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2947
0c66b8e9
WN
29482013-09-09 Will Newton <will.newton@linaro.org>
2949
2950 * malloc/Makefile: Add tst-realloc to tests.
2951 * malloc/tst-realloc.c: New file.
2952
f6b00fd1
AM
29532013-09-09 Allan McRae <allan@archlinux.org>
2954
2955 [BZ #15844]
2956 * COPYING: Update from GNU website to fix FSF address.
2957 * COPYING.LIB: Likewise.
2958
eec55e16
DM
29592013-09-06 David S. Miller <davem@davemloft.net>
2960
2961 * po/zh_TW.po: Update Chinese (traditional) translation from
2962 translation project.
2963
1ecbb381
RS
29642013-09-06 Richard Sandiford <richard@codesourcery.com>
2965 Joseph Myers <joseph@codesourcery.com>
2966
2967 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2968 "localeinfo.h".
2969 (obstack_chunk_alloc): New macro.
2970 (obstack_chunk_free): Likewise.
2971 (record_offset): New function.
2972 (init_locale_data): Likewise.
2973 (align_locale_data): Likewise.
2974 (add_locale_empty): Likewise.
2975 (add_locale_raw_data): Likewise.
2976 (add_locale_raw_obstack): Likewise.
2977 (add_locale_string): Likewise.
2978 (add_locale_wstring): Likewise.
2979 (add_locale_uint32): Likewise.
2980 (add_locale_uint32_array): Likewise.
2981 (add_locale_char): Likewise.
2982 (start_locale_structure): Likewise.
2983 (end_locale_structure): Likewise.
2984 (start_locale_prelude): Likewise.
2985 (end_locale_prelude): Likewise.
2986 (write_locale_data): Take locale_file structure rather than an
2987 iovec.
2988 * locale/programs/locfile.h: Include "obstack.h".
2989 (struct locale_file): Change to store locale file contents instead
2990 of header.
2991 (init_locale_data): New prototype.
2992 (align_locale_data): Likewise.
2993 (add_locale_empty): Likewise.
2994 (add_locale_raw_data): Likewise.
2995 (add_locale_raw_obstack): Likewise.
2996 (add_locale_string): Likewise.
2997 (add_locale_wstring): Likewise.
2998 (add_locale_uint32): Likewise.
2999 (add_locale_uint32_array): Likewise.
3000 (add_locale_char): Likewise.
3001 (start_locale_structure): Likewise.
3002 (end_locale_structure): Likewise.
3003 (start_locale_prelude): Likewise.
3004 (end_locale_prelude): Likewise.
3005 (write_locale_data): Update prototype.
3006 * locale/programs/3level.h (struct TABLE): Remove result field.
3007 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3008 Use new locale_file interface.
3009 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3010 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3011 * locale/programs/ld-address.c (address_output): Use new
3012 locale_file interface.
3013 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3014 NO_ADD_LOCALE.
3015 (collate_finish): Don't call collseq_table_finalize.
3016 (collate_output): Use new locale_file interface.
3017 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3018 in file.
3019 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3020 (TABLE): Move defines earlier in file.
3021 (ELEMENT): Likewise.
3022 (DEFAULT): Likewise.
3023 (wctrans_table_add): Move macro and inline function earlier in
3024 file.
3025 (struct wctype_table): Move type earlier in file.
3026 (add_locale_wctype_table): New static prototype.
3027 (struct locale_ctype_t): Use logical types instead of struct iovec
3028 pointers for members.
3029 (ctype_output): Use new locale_file interface.
3030 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3031 new locale_file interface.
3032 (allocate_arrays): Update for use of new locale_file interface.
3033 * locale/programs/ld-identification.c (identification_output): Use
3034 new locale_file interface.
3035 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3036 * locale/programs/ld-messages.c (messages_output): Likewise.
3037 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3038 * locale/programs/ld-name.c (name_output): Likewise.
3039 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3040 * locale/programs/ld-paper.c (paper_output): Likewise.
3041 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3042 * locale/programs/ld-time.c (time_output): Likewise.
3043
e029e2e5
AZ
30442013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3045
3046 * benchtests/Makefile: Add memrchr benchmark.
3047 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3048 benchmark as memrchr.
3049 * benchtests/bench-memrchr-ifunc.c: New file.
3050 * benchtests/bench-memrchr.c: New file.
3051
bbf6e8e4
WN
30522013-09-06 Will Newton <will.newton@linaro.org>
3053
3054 * benchtests/Makefile (string-bench): Add memcpy.
3055
6c82a2f8
CD
30562013-09-05 Carlos O'Donell <carlos@redhat.com>
3057 Cong Wang <amwang@redhat.com>
3058
3059 * sysdeps/unix/sysv/linux/bits/in.h
3060 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3061 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3062 before __USE_KERNEL_IPV6_DEFS uses.
3063 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3064 IPPROTO_BEETPH.
3065 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3066 sockaddr_in6, or ipv6_mreq.
3067
5430fc65
AZ
30682013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069
3070 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3071 memory access for final bytes in some large inputs.
3072 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3073
4660856c
AZ
30742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3075
3076 * string/test-memrchr.c: New file.
3077 * string/test-memrchr-ifunc.c: New file.
3078 * string/Makefile: Add new memrchr testcase.
3079
bb8ea713
MF
30802013-09-05 Mike Frysinger <vapier@gentoo.org>
3081
3082 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3083 fanotify_init returns EPERM.
3084
b92a20b5
JM
30852013-09-04 Joseph Myers <joseph@codesourcery.com>
3086
3087 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3088 errors.
3089 (top level): Treat second token from macro or constant entries for
3090 allowed headers as allowed.
3091 * include/complex.h: Condition internal declarations on
3092 [!_ISOMAC].
3093 * include/fenv.h: Condition include of <stdbool.h> and internal
3094 declarations on [!_ISOMAC].
7447ccd9
CL
3095
30962013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3097
3e181dda 3098 [BZ #15923]
7447ccd9
CL
3099 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3100
3f2e46a4
JM
31012013-09-04 Joseph Myers <joseph@codesourcery.com>
3102
3103 * configure.in (--enable-versioning): Remove configure option.
3104 (libc_cv_asm_symver_directive): Remove configure test.
3105 (libc_cv_ld_version_script_option): Likewise.
3106 (VERSIONING): Remove variable and AC_SUBST.
3107 (DO_VERSIONING): Remove AC_DEFINE.
3108 * configure: Regenerated.
3109 * config.h.in (DO_VERSIONING): Remove macro.
3110 * Makerules [$(versioning) = yes]: Change conditionals to
3111 [$(build-shared) = yes].
3112 * config.make.in (versioning): Remove variable.
3113 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3114 [$(build-shared) = yes].
3115 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3116 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3117 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3118 [$(build-shared) = yes].
3119 * extra-lib.mk [$(versioning) = yes]: Likewise.
3120 * hurd/Makefile [$(versioning) = yes]: Likewise.
3121 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3122 [SHARED].
3123 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3124 [SHARED].
3125 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3126 [SHARED && !NO_HIDDEN].
3127 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3128 [SHARED].
3129 [SHARED && DO_VERSIONING]: Likewise..
3130 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3131 [$(build-shared) = yes].
3132 * manual/install.texi (--disable-versioning): Remove
3133 documentation.
3134 * INSTALL: Regenerated.
3135 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3136 to [SHARED].
3137 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3138 [$(build-shared) = yes].
3139 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3140 * sysdeps/i386/i686/multiarch/strstr-c.c
3141 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3142 [SHARED && !NO_HIDDEN].
3143 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3144 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3145 * sysdeps/powerpc/powerpc32/dl-machine.c
3146 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3147 * sysdeps/powerpc/powerpc32/sysdep.h
3148 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3149 to [SHARED && PIC && !NO_HIDDEN].
3150 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3151 conditional to [SHARED].
3152
44558701
WN
31532013-09-04 Will Newton <will.newton@linaro.org>
3154
3155 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3156 * benchtests/bench-string.h: Include bench-timing.h instead
3157 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3158 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3159 call to HP_TIMING_DIFF_INIT.
3160 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3161 instead of hp-timing.h macros.
3162 * benchtests/bench-memchr.c: Likewise.
3163 * benchtests/bench-memcmp.c: Likewise.
3164 * benchtests/bench-memcpy.c: Likewise.
3165 * benchtests/bench-memmem.c: Likewise.
3166 * benchtests/bench-memmove.c: Likewise.
3167 * benchtests/bench-memset.c: Likewise.
3168 * benchtests/bench-rawmemchr.c: Likewise.
3169 * benchtests/bench-strcasecmp.c: Likewise.
3170 * benchtests/bench-strcasestr.c: Likewise.
3171 * benchtests/bench-strcat.c: Likewise.
3172 * benchtests/bench-strchr.c: Likewise.
3173 * benchtests/bench-strcmp.c: Likewise.
3174 * benchtests/bench-strcpy.c: Likewise.
3175 * benchtests/bench-strcpy_chk.c: Likewise.
3176 * benchtests/bench-strlen.c: Likewise.
3177 * benchtests/bench-strncasecmp.c: Likewise.
3178 * benchtests/bench-strncat.c: Likewise.
3179 * benchtests/bench-strncmp.c: Likewise.
3180 * benchtests/bench-strncpy.c: Likewise.
3181 * benchtests/bench-strnlen.c: Likewise.
3182 * benchtests/bench-strpbrk.c: Likewise.
3183 * benchtests/bench-strrchr.c: Likewise.
3184 * benchtests/bench-strspn.c: Likewise.
3185 * benchtests/bench-strstr.c: Likewise.
3186
cae16d66
WN
31872013-09-04 Will Newton <will.newton@linaro.org>
3188
3189 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3190
ffa3cd7f
JM
31912013-09-03 Joseph Myers <joseph@codesourcery.com>
3192
3193 [BZ #15427]
3194 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3195 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3196 * math/libm-test.inc (lgamma_test_data): Add more tests.
3197 * sysdeps/i386/fpu/libm-test-ulps: Update.
3198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3199
8f02859f
OB
32002013-09-03 Ondřej Bílka <neleai@seznam.cz>
3201
3202 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3204 Add ifunc.
3205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3206 Add strcmp-sse2-unaligned
3207 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3208
18d43716
MF
32092013-09-02 Mike Frysinger <vapier@gentoo.org>
3210
3211 * Versions.def (libc): Add GLIBC_2.19.
3212
ac444012
MF
32132013-09-02 Mike Frysinger <vapier@gentoo.org>
3214
3215 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3216 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3217
b7835e32
JM
32182013-09-02 Joseph Myers <joseph@codesourcery.com>
3219
3220 [BZ #14155]
3221 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3222 intermediate calculations in recurrence.
3223 (__ieee754_ynf): Likewise.
3224 * math/libm-test.inc (jn_test_data): Do not allow spurious
3225 underflow exception. Add more tests.
3226 (yn_test_data): Add more tests.
3227 * sysdeps/i386/fpu/libm-test-ulps: Update.
3228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229
8220f4f0
OB
32302013-09-02 Ondřej Bílka <neleai@seznam.cz>
3231
3232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3233
f24a6d08
OB
32342013-08-30 Ondřej Bílka <neleai@seznam.cz>
3235
3236 * csu/init-first.c: Fix then/than typos.
3237 * locale/programs/ld-collate.c: Likewise.
3238 * locale/programs/linereader.h: Likewise.
3239 * manual/charset.texi: Likewise.
3240 * manual/filesys.texi: Likewise.
3241 * manual/stdio.texi: Likewise.
3242 * manual/string.texi: Likewise.
3243 * stdlib/fmtmsg.c: Likewise.
3244 * sysdeps/i386/stpncpy.S: Likewise.
3245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3246 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3247 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3248 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3249
382466e0
OB
32502013-08-30 Ondřej Bílka <neleai@seznam.cz>
3251
3252 * elf/dl-open.c: Fix typos.
3253 * iconvdata/gbbig5.c: Likewise.
3254 * iconvdata/iso-2022-jp.c: Likewise.
3255 * iconv/gconv_int.h: Likewise.
3256 * iconv/loop.c: Likewise.
3257 * nis/rpcsvc/nis.h: Likewise.
3258 * resolv/ns_name.c: Likewise.
3259 * stdio-common/vfscanf.c: Likewise.
3260 * streams/stropts.h: Likewise.
3261 * sunrpc/rpc_thread.c: Likewise.
3262 * sysdeps/i386/strpbrk.S: Likewise.
3263 * sysdeps/ieee754/k_standard.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3266 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3267 * sysdeps/mach/hurd/profil.c: Likewise.
3268 * sysdeps/s390/dl-procinfo.h: Likewise.
3269 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3271 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3272 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3274
0186c6e9
OB
32752013-08-30 Ondřej Bílka <neleai@seznam.cz>
3276
3277 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3279
d4e16af1
OB
32802013-08-29 Ondřej Bílka <neleai@seznam.cz>
3281
3282 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3283 aix specific files.
3284 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3285 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3286 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3288 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3291 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3292
88335980
TS
32932013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3294 Roland McGrath <roland@hack.frob.com>
3295
3296 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3297 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3298
ed479b02
ST
32992013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3300
3301 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3302 __executable_start symbol instead of _start.
3303
f1cc4c86
TS
33042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3305
d821f07c
TS
3306 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3307 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3308 Move macros to...
3309 * sysdeps/gnu/ldsodefs.h: ... this new file.
3310
c54290cf
TS
3311 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3312 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3313 instead of ELFOSABI_LINUX.
3314
0007fc9b 3315 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3316 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3317 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3318 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3319 Likewise.
3320 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3321 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3322 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3323 Likewise.
3324 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3325 (ibm_extended_long_double): Add ieee_nan member.
3326 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3327 (do_test): New function.
3328
f1cc4c86
TS
3329 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3330 TEST_TRUNC.
3331 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3332 functions, renamed from truncdfsf_test, trunctfsf_test,
3333 trunctfdf_test.
3334 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3335 functions.
3336 (do_test): Run all these.
3337
6f65e668
OB
33382013-08-29 Ondřej Bílka <neleai@seznam.cz>
3339
3340 * argp/argp-help.c: Fix typos.
3341 * argp/argp-parse.c: Likewise.
3342 * debug/backtracesyms.c: Likewise.
3343 * elf/elf.h: Likewise.
3344 * malloc/malloc.c: Likewise.
3345 * nis/nis_print.c: Likewise.
3346 * resolv/res_comp.c: Likewise.
3347 * stdlib/stdlib.h: Likewise.
3348 * sunrpc/clnt_tcp.c: Likewise.
3349 * sunrpc/clnt_udp.c: Likewise.
3350 * sunrpc/clnt_unix.c: Likewise.
3351 * sysdeps/unix/bsd/ptsname.c: Likewise.
3352 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3355 Likewise.
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3357 Likewise.
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3359 Likewise.
6f65e668
OB
3360 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3361
3a309239
SP
33622013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3363
3364 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3366
3b813b29
MF
33672013-08-27 Mike Frysinger <vapier@gentoo.org>
3368
3369 [BZ #15897]
3370 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3371 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3372 ($(objpfx)bug-dl-leaf): New rule.
3373 ($(objpfx)bug-dl-leaf.so): Likewise.
3374 ($(objpfx)bug-dl-leaf.out): Likewise.
3375 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3376 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3377 * dlfcn/bug-dl-leaf.c: New test.
3378 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3379 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3380 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3381 (dlclose): Likewise.
3382 (dlmopen): Likewise.
3383
8cc3269f
RM
33842013-08-27 Roland McGrath <roland@hack.frob.com>
3385
7f9d0034
RM
3386 * include/netdb.h [!_ISOMAC]:
3387 Don't include <tls.h>.
3388 (h_errno, __libc_h_errno): Move declaration and macros out of
3389 [_LIBC_REENTRANT].
3390
fb431262
RM
3391 * include/resolv.h [_RESOLV_H_]:
3392 Don't include <tls.h>.
3393 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3394 * resolv/res_libc.c: Don't include <tls.h>.
3395 (_res): Use __attribute__ ((nocommon)) in place of
3396 __attribute__ ((section (".bss"))).
3397
bd81123a
RM
3398 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3399 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3400
c4e42566
RM
3401 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3402
f890a59b
RM
3403 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3404 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3405
3406 * resolv/res_mkquery.c: Include <sys/time.h>.
3407
5d1f0a09
RM
3408 * inet/ifreq.c: Moved to ...
3409 * sysdeps/unix/ifreq.c: ... here.
3410 * inet/ifreq.c: New file, true stub version.
3411
6fcf28b3
RM
3412 * socket/sa_len.c: New file.
3413 * socket/Makefile (aux): Add it.
3414 * sysdeps/unix/sysv/linux/Makefile
3415 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3416 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3417 and #include <socket/sa_len.c>.
3418 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3419 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3420
e041fb8b
RM
3421 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3422 * bits/socket.h: ... here.
3423
8cc3269f
RM
3424 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3425 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3426 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3427
5d228a43
AS
34282013-08-27 Andreas Schwab <schwab@suse.de>
3429
45b8accc
AS
3430 [BZ #15736]
3431 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3432 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3433 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3434 * string/test-strcasecmp.c (test_main): Run tests in several
3435 locales.
3436 * string/test-strncasecmp.c (test_main): Likewise.
3437
5d228a43
AS
3438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3439 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3440 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3442 (__strncasecmp_ssse3) [PIC]: Likewise.
3443
59d112a4
RM
34442013-08-26 Roland McGrath <roland@hack.frob.com>
3445
53234cc3
RM
3446 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3447
59d112a4
RM
3448 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3449 instead of explicitly declaring xdecrypt.
3450 * nis/nss_nis/nis-publickey.c: Likewise.
3451
595aba70
SP
34522013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
3454 [BZ #15890]
3455 * nscd/aicache.c: Include res_hconf.h.
3456 (addhstaiX): Initialize res_hconf.
3457
ffabd393
AS
34582013-08-26 Andreas Schwab <schwab@suse.de>
3459
3460 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3461 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3462
e0a69f5c
SP
34632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3464
3465 * nscd/aicache.c (addhstaiX): Fix indentation.
3466
8c12f01d
MF
34672013-08-25 Mike Frysinger <vapier@gentoo.org>
3468
3469 * configure.ac: Quote $build_pt_chown test.
3470 * configure: Regenerated.
3471
8fe89494
JM
34722013-08-23 Joseph Myers <joseph@codesourcery.com>
3473
3474 [BZ #15532]
3475 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3476 * math/s_cexpf.c (__cexpf): Likewise.
3477 * math/s_cexpl.c (__cexpl): Likewise.
3478 * math/libm-test.inc (cexp_test_data): Correct expected return
3479 value for NaN + i0. Add another test.
3480
75b181d6
DM
34812013-08-22 David S. Miller <davem@davemloft.net>
3482
3483 * po/ca.po: Update Catalan translation from translation project.
936241e4 3484 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3485
acd06bb1
JM
34862013-08-21 Joseph Myers <joseph@codesourcery.com>
3487
3488 [BZ #15797]
3489 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3490 is infinite, not alongside NaN test.
3491 * math/s_fdimf.c (__fdimf): Likewise.
3492 * math/s_fdiml.c (__fdiml): Likewise.
3493 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3494 errno is unchanged.
3495
c0c3f78a
OB
34962013-08-21 Ondřej Bílka <neleai@seznam.cz>
3497
3498 * argp/argp-help.c: Fix typos.
3499 * crypt/speeds.c: Likewise.
3500 * csu/check_fds.c: Likewise.
3501 * elf/dl-load.c: Likewise.
3502 * elf/dl-open.c: Likewise.
3503 * elf/reldep3.c: Likewise.
3504 * elf/reldep.c: Likewise.
3505 * elf/sprof.c: Likewise.
3506 * iconv/iconv_charmap.c: Likewise.
3507 * iconv/skeleton.c: Likewise.
3508 * iconv/strtab.c: Likewise.
3509 * io/lockf64.c: Likewise.
3510 * libio/libioP.h: Likewise.
3511 * resolv/gai_notify.c: Likewise.
3512 * resolv/ns_name.c: Likewise.
3513 * resolv/ns_samedomain.c: Likewise.
3514 * resolv/res_send.c: Likewise.
3515 * stdlib/random.c: Likewise.
3516 * sunrpc/rpc/xdr.h: Likewise.
3517 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3518 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3525 * sysdeps/mach/hurd/check_fds.c: Likewise.
3526 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3527 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3529 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3530 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3531 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3532 * sysdeps/pthread/aio_notify.c: Likewise.
3533 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3534 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3535 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3537 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3538
46ed1038
LD
35392013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3540
3541 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3542 version if bit_Slow_SSE4_2 is set.
3543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3545
d400dcac
AZ
35462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547
3548 [BZ #15867]
3549 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3550 trampoline stack frame information.
3551 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3552 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3553 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3554 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3555 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3556 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3557 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3558 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3559 sa_flags value.
3560 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3561 interrupting a syscall and set with option SA_SIGINFO.
3562
42c8fdd8
JM
35632013-08-20 Joseph Myers <joseph@codesourcery.com>
3564
c980f2f4
JM
3565 [BZ #15531]
3566 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3567 argument is infinite.
3568 * math/s_cprojf.c (__cprojf): Likewise.
3569 * math/s_cprojl.c (__cprojl): Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3571 * math/libm-test.inc (cproj_test_data): Add more tests.
3572
0716c4fc
JM
3573 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3574
42c8fdd8
JM
3575 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3576 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3577 size. Use __ffs to determine corresponding shift.
3578
b31469d0
JM
35792013-08-20 Joseph Myers <joseph@codesourcery.com>
3580 Roland McGrath <roland@hack.frob.com>
3581
3582 * Makefile (INSTALL): Remove trailing blank lines from output of
3583 makeinfo.
3584
4e39af6e
AK
35852013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3586
3587 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3588 Align 32 bit compat elf_greg to 8 bytes.
3589
f315524e
AA
35902013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3591
3592 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3593
1326ba1a
SP
35942013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3595
3596 * string/strcoll_l.c (coll_seq): New structure.
3597 (get_next_seq_cached): New function.
3598 (get_next_seq): New function.
3599 (do_compare): New function.
3600 (STRCOLL): Use GNU style definition. Simplify implementation
3601 by using get_next_seq, get_next_seq_cached and do_compare.
3602
91ce4085
FW
36032013-08-16 Florian Weimer <fweimer@redhat.com>
3604
3605 [BZ #14699]
3606 CVE-2013-4237
3607 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3608 member.
3609 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3610 member.
3611 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3612 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3613 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3614 conditional.
3615 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3616 GETDENTS_64BIT_ALIGNED.
3617 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3618 * manual/filesys.texi (Reading/Closing Directory): Document
3619 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3620 strongly.
3621 * manual/conf.texi (Limits for Files): Add portability note to
3622 NAME_MAX, PATH_MAX.
3623 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3624
ca0a6bc4
AS
36252013-08-13 Andreas Schwab <schwab@suse.de>
3626
3627 [BZ #15749]
3628 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3629 of fabs.
3630 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3631 LDBL_MAX_EXP >= 16384]: Add tests for it.
3632
6c1fd795
DM
36332013-08-12 David S. Miller <davem@davemloft.net>
3634
3635 * version.h (RELEASE): Set to "development".
3636 (VERSION): Set to "2.18.90".
3637 * NEWS: Add 2.19 section.
3638
31ad488d
DM
36392013-08-03 David S. Miller <davem@davemloft.net>
3640
3641 * po/ko.po: Update Korean translation from translation project.
3642
db24e684
DM
36432013-08-01 David S. Miller <davem@davemloft.net>
3644
3645 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3646 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3647 Bilka.
3648
f723285b
DM
36492013-07-30 David S. Miller <davem@davemloft.net>
3650
3651 * po/fr.po: Update French translation from translation project.
3652
3cbc52db
DM
36532013-07-28 David S. Miller <davem@davemloft.net>
3654
30bbc0cc
DM
3655 * po/cs.po: Update Czech translation from translation project.
3656
3cbc52db
DM
3657 * po/sv.po: Update Swedish translation from translation project.
3658
d492e6d0
DM
36592013-07-27 David S. Miller <davem@davemloft.net>
3660
f1a7f492
DM
3661 * po/eo.po: Update Esperanto translation from translation project.
3662
90e62a4a
DM
3663 * po/vi.po: Update Vietnamese translation from translation project.
3664
d492e6d0
DM
3665 * po/de.po: Update German translation from translation project.
3666
d4baa62d
DM
36672013-07-26 David S. Miller <davem@davemloft.net>
3668
641aa7b4
DM
3669 * po/bg.po: Update Bulgarian translation from translation project.
3670
d4baa62d
DM
3671 * po/nl.po: Update Dutch translation from translation project.
3672 * po/pl.po: Update Polish translation from translation project.
3673 * po/ru.po: Update Russian translation from translation project.
3674
61a9dcb9
DM
36752013-07-24 David S. Miller <davem@davemloft.net>
3676
3677 * po/libc.pot: Update.
3678
7b1f8b58
AZ
36792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
3681 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3682 variable page size.
3683 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3684 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3686
a8fc7a03
AK
36872013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3688
3689 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3690
e4608715
CD
36912013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3692 Andreas Schwab <schwab@suse.de>
3693 Roland McGrath <roland@hack.frob.com>
3694 Joseph Myers <joseph@codesourcery.com>
3695 Carlos O'Donell <carlos@redhat.com>
3696
3697 [BZ #15755]
3698 * config.h.in: Define HAVE_PT_CHOWN.
3699 * config.make.in (build-pt-chown): New variable.
3700 * configure.in (--enable-pt_chown): New configure option.
3701 * configure: Regenerate.
3702 * login/Makefile: Include Makeconfig. Build pt_chown only if
3703 build-pt-chown is enabled.
3704 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3705 pt_chown to fix pty ownership.
3706 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3707 CLOSE_ALL_FDS.
3708 * manual/install.texi (Configuring and compiling): Mention
3709 --enable-pt_chown. Add @findex for grantpt.
3710 * INSTALL: Regenerate.
3711
da2d62df
DM
37122013-07-20 David S. Miller <davem@davemloft.net>
3713
3714 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3715 difference between 32-bit and 64-bit.
3716
d7e06450
CD
37172013-07-15 Carlos O'Donell <carlos@redhat.com>
3718
3719 [BZ #15711]
3720 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3721 Avoid system header dependency with -ffreestanding.
3722 ($(objpfx)bits/syscall%d): Likewise.
3723
f959cfd7
DM
37242013-07-13 David S. Miller <davem@davemloft.net>
3725
3726 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3727 underflows from atanl/atan2l due to bug 15319.
3728 (casinh_test_data): Likewise.
3729
c61f8513
DM
37302013-07-07 David S. Miller <davem@davemloft.net>
3731
3732 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3733
72c90ed0
JA
37342013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3735
3736 * sysdeps/i386/fpu/libm-test-ulps: Update.
3737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3738
52dfbe13
SP
37392013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3740
3741 * configure.in (--enable-lock-elision): Fix message text.
3742 * INSTALL: Regenerate.
3743 * configure: Regenerate.
3744
3f169543
AZ
37452013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3746
3747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3748
521c6785
AJ
37492013-07-03 Andreas Jaeger <aj@suse.de>
3750
3751 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3752 define.
3753 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3754 (ptrace_peeksiginfo_args): Add.
3755 (__ptrace_peeksiginfo_flags): Add.
3756 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3757 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3759
d2cc15cb
AM
37602013-07-03 Allan McRae <allan@archlinux.org>
3761
3762 * sysdeps/i386/fpu/libm-test-ulps: Update.
3763
3aaeeca7
DM
37642013-07-02 David S. Miller <davem@davemloft.net>
3765
3766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3767
5314ed1a
MT
37682013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3769
3770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3771
67338156
JM
37722013-07-02 Joseph Myers <joseph@codesourcery.com>
3773
3774 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3776
1717da59
AK
37772013-07-02 Andi Kleen <ak@linux.intel.com>
3778
3779 * config.h.in (ENABLE_LOCK_ELISION): Add.
3780 * configure.in (--enable-lock-elision): Add option.
3781 * manual/install.texi: Document --enable lock elision.
3782 * configure: Regenerate
3783 * INSTALL: Regenerate.
3784
1c81621c
L
37852013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3786
3787 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3788 SSE4.2 strcasecmp for libc.a.
3789 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3790
77f01ab5
JM
37912013-07-02 Joseph Myers <joseph@codesourcery.com>
3792
3793 [BZ #13304]
3794 * soft-fp/op-common.h (_FP_FMA): New macro.
3795 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3796 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3797 (_FP_MUL_MEAT_1_imm): ... here.
3798 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3799 (_FP_MUL_MEAT_1_wide): ... here.
3800 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3801 (_FP_MUL_MEAT_1_hard): ... here.
3802 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3803 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3804 (_FP_MUL_MEAT_2_wide): ... here.
3805 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3806 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3807 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3808 (_FP_MUL_MEAT_2_gmp): ... here.
3809 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3810 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3811 (_FP_MUL_MEAT_4_wide): ... here.
3812 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3813 (_FP_MUL_MEAT_4_gmp): ... here.
3814 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3815 (_FP_WFRACBITS_DW_S): Likewise.
3816 (_FP_WFRACXBITS_DW_S): Likewise.
3817 (_FP_HIGHBIT_DW_S): Likewise.
3818 (FP_FMA_S): Likewise.
3819 (_FP_FRAC_HIGH_DW_S): Likewise.
3820 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3821 (_FP_WFRACBITS_DW_D): Likewise.
3822 (_FP_WFRACXBITS_DW_D): Likewise.
3823 (_FP_HIGHBIT_DW_D): Likewise.
3824 (FP_FMA_D): Likewise.
3825 (_FP_FRAC_HIGH_DW_D): Likewise.
3826 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3827 (_FP_WFRACBITS_DW_E): Likewise.
3828 (_FP_WFRACXBITS_DW_E): Likewise.
3829 (_FP_HIGHBIT_DW_E): Likewise.
3830 (FP_FMA_E): Likewise.
3831 (_FP_FRAC_HIGH_DW_E): Likewise.
3832 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3833 (_FP_WFRACBITS_DW_Q): Likewise.
3834 (_FP_WFRACXBITS_DW_Q): Likewise.
3835 (_FP_HIGHBIT_DW_Q): Likewise.
3836 (FP_FMA_Q): Likewise.
3837 (_FP_FRAC_HIGH_DW_Q): Likewise.
3838 * soft-fp/fmasf4.c: New file.
3839 * soft-fp/fmadf4.c: Likewise.
3840 * soft-fp/fmatf4.c: Likewise.
3841
6308fd9a
LD
38422013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3843
3844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3845 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3846 Silvermont.
3847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3848 macro.
3849 (index_Slow_SSE4_2): Likewise.
3850 (index_Prefer_PMINUB_for_stringop): Likewise.
3851 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3852 bit_Slow_SSE4_2 is set.
3853 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3854 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3855
89cd9569
RA
38562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3857
3858 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3859 rtld_global._dl_hwcap2.
3860 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3861 POWER8.
3862 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3863 POWER8 feature descriptions defined in _dl_hwcap2.
3864 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3865 string handling for POWER8 feature bits.
3866 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3867 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3868 _dl_powerpc_cap_flags.
3869 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3870 * sysdeps/powerpc/rtld-global-offsets.sym
3871 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3872 _dl_hwcap2 in the rtld_global_ro structure.
3873
1ae8bfe0
RA
38742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3875
3876 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3877 hardware capabilities in support of AT_HWCAP2.
3878 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3879 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3880 GLRO(dl_hwcap2).
3881 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3882 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3883 explicitly the unknown a_type display mechanism is used.
3884 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3885 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3886 struct member.
3887 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3888 to macro prototype for AT_HWCAP2 support.
3889 * sysdeps/i386/dl-procinfo.h: Likewise.
3890 * sysdeps/s390/dl-procinfo.h: Likewise.
3891 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3892 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3893 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3894 return -1 for unknown a_type display fallback.
3895 * sysdeps/sparc/dl-procinfo.h: Likewise.
3896 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3897 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3898
8fbec010
JM
38992013-06-28 Joseph Myers <joseph@codesourcery.com>
3900
3901 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3902 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3903
0432680e
PY
39042013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3905
3906 [BZ #12492]
3907 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3908 mprotect making __stack_prot writable.
3909
ce61a2ad
NF
39102013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3911 Joseph Myers <joseph@codesourcery.com>
3912
3913 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3914 as being properly aligned.
3915
f91f1c0f
MR
39162013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3917
3d0f5d0c
MR
3918 * dlfcn/modstatic5.c: New file.
3919 * dlfcn/tststatic5.c: New file.
3920 * dlfcn/Makefile (tests): Add tststatic5.
3921 (tests-static): Likewise.
3922 (modules-names): Add modstatic5.
3923 (tststatic5-ENV): New variable.
3924 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3925
f91f1c0f
MR
3926 [BZ #15022]
3927 * elf/dl-support.c (_dl_main_map): New variable.
3928 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3929 (_dl_nns, _dl_load_adds): Set to 1.
3930 (_dl_initial_searchlist): Refer to _dl_main_map.
3931 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3932 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3933 call to _dl_get_origin.
3934 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3935 around call_map.
3936 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3937 * dlfcn/modstatic3.c: New file.
3938 * dlfcn/tststatic3.c: New file.
3939 * dlfcn/tststatic4.c: New file.
3940 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3941 (tests-static): Likewise.
3942 (modules-names): Add modstatic3.
3943 (tststatic3-ENV, tststatic4-ENV): New variables.
3944 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3945 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3946
cbe7d24b
JM
39472013-06-26 Joseph Myers <joseph@codesourcery.com>
3948
3949 * configure.in (CC): Require GCC version 4.4 or later.
3950 * configure: Regenerated.
3951 * manual/install.texi (Tools for Compilation): Update GCC version
3952 requirement.
3953 * INSTALL: Regenerated.
3954
11b8a0e1
LD
39552013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3956
3957 [BZ #15674]
bb5bb87c
L
3958 * string/test-memcmp.c (check2): New.
3959 (main): Call check2.
3960
11b8a0e1
LD
3961 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3962
b0037103
MR
39632013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3964
3965 [BZ #15022]
3966 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3967 over to...
3968 (dl_open_worker) [!SHARED]: ... here.
3969
c18c701d
RA
39702013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3971
3972 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3973
1d17fa5f
RH
39742013-06-25 Richard Henderson <rth@redhat.com>
3975
3976 * locale/programs/locarchive.c: Include <libc-internal.h>
3977
8fcb833a
JM
39782013-06-25 Joseph Myers <joseph@codesourcery.com>
3979
3980 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3981 trailing whitespace removed.
3982
17db6e8d
MF
39832013-06-24 Mike Frysinger <vapier@gentoo.org>
3984
3985 [BZ #10283]
17db6e8d
MF
3986 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3987 * locale/programs/locarchive.c: Include libc-mmap.h.
3988 (prepare_address_space): Take two new outputs (the mmap base and len).
3989 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3990 values.
3991 (create_archive): Declare new mmap base and len values for
3992 prepare_address_space, and store the result in ah.
3993 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3994 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3995 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3996 Declare new mmap base and len values for
3997 prepare_address_space, and store the result in new_ah.
3998 (open_archive): Declare new mmap base and len values for
3999 prepare_address_space, and store the result in ah.
4000 (close_archive): If ah->mmap_base is not NULL, use that and
4001 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4002 * sysdeps/generic/libc-mmap.h: New file.
4003
d605071e
MF
40042013-06-24 Mike Frysinger <vapier@gentoo.org>
4005
4006 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4007 (ALIGN_UP): Likewise.
4008 (PTR_ALIGN_DOWN): Likewise.
4009 (PTR_ALIGN_UP): Likewise.
4010
2f063a6e
RA
40112013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4012
4013 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4014 entry mapped to PPC_PLATFORM_POWER8.
4015 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4016 POWER8.
4017 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4018 (_dl_string_platform): Add case for exporting platform position for
4019 POWER8.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4021 search path to sysdeps/powerpc/powerpc32/power8 directory.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4023 search path to sysdeps/powerpc/powerpc64/power8 directory.
4024 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4025 power7 directories.
4026 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4027 power7 directories.
4028
a31ee4b3
SP
40292013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4030
a74ca98f
SP
4031 * INSTALL: Regenerate.
4032
a31ee4b3
SP
4033 * nscd/connections.c (nscd_init): Fix comment.
4034
695c378f
JM
40352013-06-22 Joseph Myers <joseph@codesourcery.com>
4036
d8412221
JM
4037 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4038
695c378f
JM
4039 [BZ #15667]
4040 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4041 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4042
d1d54715
MR
40432013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4044
4045 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4046 DL_DST_REQ_STATIC.
4047 (DL_DST_REQ_STATIC): Remove macro.
4048
8fdda7af
JM
40492013-06-21 Joseph Myers <joseph@codesourcery.com>
4050
4051 [BZ #7006]
4052 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4053 with a shift of 0 bits.
4054
f3bc5e5a
MR
40552013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4056
4057 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4058 $(tststatic-ENV).
4059
be09e8c9
KK
40602013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4061
4062 [BZ #15655]
4063 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4064
85c2e611
AZ
40652013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4066
4067 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4068 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4069 accepts -fno-tree-loop-distribute-patterns.
4070 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4071 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4072 recursive call.
4073 * string/memset.c (memset): Likewise.
4074 * string/test-memmove.c (simple_memmove): Disable loop transformation
4075 to library calls.
4076 * string/test-memset.c (simple_memset): Likewise.
4077 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4078 * benchtests/bench-memset.c (simple_memset): Likewise.
4079 * configure: Regenerated.
4080
c91e0825
JM
40812013-06-20 Joseph Myers <joseph@codesourcery.com>
4082
b8c792af
JM
4083 * math/test-misc.c (main): Ignore fesetround failure when failures
4084 of subsequent rounding tests would be ignored.
4085
c91e0825
JM
4086 [BZ #15654]
4087 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4088 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4089 * math/fegetenv.c (__fegetenv): Return 0.
4090 * math/fegetexcept.c (fegetexcept): Return 0.
4091 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4092 FE_TONEAREST.
4093 * math/feholdexcpt.c (feholdexcept): Return 0.
4094 * math/fesetenv.c (__fesetenv): Return 0.
4095 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4096 argument FE_TONEAREST.
4097 * math/feupdateenv.c (__feupdateenv): Return 0.
4098 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4099
bfcacbde
RM
41002013-06-18 Roland McGrath <roland@hack.frob.com>
4101
4102 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4103 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4104 ($(objpfx)rtld-%.os rules): Use them.
4105
e55a9b25
AZ
41062013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107
4108 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4109 fields.
4110
346d65b3
RM
41112013-06-17 Roland McGrath <roland@hack.frob.com>
4112
12086fb4
RM
4113 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4114 length of target pattern, then descending length of dependency pattern.
4115 * configure.in (AWK): Require gawk 3.1.2 or newer.
4116 * manual/install.texi (Tools for Compilation): Say that we do.
4117 * configure: Regenerated.
4118
346d65b3
RM
4119 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4120 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4121 * scripts/sysd-rules.awk: ... this new script.
4122 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4123 than a glob-style pattern.
4124
1a846317
JM
41252013-06-17 Joseph Myers <joseph@codesourcery.com>
4126
4127 * math/test-misc.c (main): Do not treat incorrectly rounded
4128 conversions as failure unless ROUNDING_TESTS passes.
4129
8fc75e6f
JM
41302013-06-15 Joseph Myers <joseph@codesourcery.com>
4131
3711a167
JM
4132 [BZ #15631]
4133 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4134 restore exception state around main square root computation, then
4135 check for inexactness explicitly.
4136
8fc75e6f
JM
4137 * math/libm-test.inc (fma_test_data): Add another test.
4138
61dd6208
SP
41392013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4140
adf23d2c
SP
4141 * manual/threads.texi (Non-POSIX Extensions): New document
4142 node. Document pthread_getattr_default_np and
4143 pthread_setattr_default_np.
4144
61dd6208
SP
4145 * Versions.def (libpthread): Add GLIBC_2.18.
4146 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4148 Likewise.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4150 Likewise.
4151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4152 Likewise.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4154 Likewise.
4155 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4156 Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4158 Likewise.
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4160 Likewise.
4161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4162 Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4164 Likewise.
4165
d086fc7b
LD
41662013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4167
4168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4169 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4170
747ef469
SP
41712013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4172 H.J. Lu <hjl.tools@gmail.com>
4173
4174 [BZ #15627]
4175 * sysdeps/x86_64/rtld-memset.c: Remove file.
4176 * sysdeps/x86_64/rtld-memset.S: New file.
4177
1b2feed2
JM
41782013-06-14 Joseph Myers <joseph@codesourcery.com>
4179
4180 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4181 (test_in_one_mode): Take arguments for whether the rounding mode
4182 is supported for each floating-point type.
4183 (do_test): Pass new arguments to test_in_one_mode using
4184 ROUNDING_TESTS.
4185
a58ad3f8
RM
41862013-06-13 Roland McGrath <roland@hack.frob.com>
4187
4188 * posix/tst-waitid.c (do_test): Distinguish different instances of
4189 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4190 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4191 before entering the kernel for waitpid.
4192
c204ab28
SP
41932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4194
4195 * NEWS: Fix note on clock function precision. Text by Roland
4196 McGrath.
4197
f4a29fba
RM
41982013-06-13 Roland McGrath <roland@hack.frob.com>
4199
4200 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4201 it into place only when and if the sanity check passes.
4202
1f24b9ad
JM
42032013-06-13 Joseph Myers <joseph@codesourcery.com>
4204
4205 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4206 output for whether conversion result is exact. Take argument
4207 indicating whether type is IBM long double.
4208 (round_for_all): Change need_exact field to ibm_ld.
4209 * stdlib/tst-strtod-round.c (struct exactness): New type.
4210 (struct test): Change bool ld_ok field to struct exactness exact.
4211 (TEST): Update all definitions for change to field.
4212 (tests): Regenerate array contents.
4213 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4214 field value. Check for IBM long double here.
4215 (do_test): Update calls to test_in_one_mode.
4216
58206c68
SP
42172013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4218
4219 [BZ #12515]
4220 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4221 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4222
2d6f4c5b 42232013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4224
4225 [BZ #15605]
4226 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4227 generated by the compiler on loop optimizations.
4228 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4229 general definitions.
4230
94f2c076
JM
42312013-06-12 Joseph Myers <joseph@codesourcery.com>
4232
4233 * math/bug-nextafter.c: Include <math-tests.h>.
4234 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4235 the relevant type.
4236 * math/bug-nexttoward.c: Include <math-tests.h>.
4237 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4238 the relevant type.
4239 * math/test-misc.c: Include <math-tests.h>.
4240 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4241 the relevant type.
4242
e0e50a0a
AJ
42432013-06-12 Andreas Jaeger <aj@suse.de>
4244
4245 * po/ia.po: Update Interlingua translation from translation
4246 project.
4247
25061094
SP
42482013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4249
4250 * include/fenv.h: Include stdbool.h.
4251 (struct rm_ctx): New structure.
4252 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4253 Define macro.
4254 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4255 (SET_RESTORE_ROUNDF): Likewise.
4256 (SET_RESTORE_ROUNDL): Likewise.
4257 (SET_RESTORE_ROUND_NOEX): Likewise.
4258 (SET_RESTORE_ROUND_NOEXF): Likewise.
4259 (SET_RESTORE_ROUND_NOEXL): Likewise.
4260 (SET_RESTORE_ROUND_53BIT): Likewise.
4261 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4262 (libc_feresetround_noexf_ctx): Likewise.
4263 (libc_feresetround_noexl_ctx): Likewise.
4264 (libc_feholdsetround_53bit_ctx): Likewise.
4265 (libc_feresetround_53bit_ctx): Likewise.
4266 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4267 (libc_feholdexcept_setround_sse_ctx): New function.
4268 (libc_fesetenv_sse_ctx): Likewise.
4269 (libc_feupdateenv_sse_ctx): Likewise.
4270 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4271 (libc_feholdexcept_setround_387_ctx): Likewise.
4272 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4273 (libc_feholdsetround_387_prec_ctx): Likewise.
4274 (libc_feholdsetround_387_ctx): Likewise.
4275 (libc_feholdsetround_387_53bit_ctx): Likewise.
4276 (libc_feholdsetround_sse_ctx): Likewise.
4277 (libc_feresetround_sse_ctx): Likewise.
4278 (libc_feresetround_387_ctx): Likewise.
4279 (libc_feupdateenv_387_ctx): Likewise.
4280 (libc_feholdexcept_setroundf_ctx): Define macro.
4281 (libc_fesetenvf_ctx): Likewise.
4282 (libc_feupdateenvf_ctx): Likewise.
4283 (libc_feholdsetroundf_ctx): Likewise.
4284 (libc_feresetroundf_ctx): Likewise.
4285 (libc_feholdexcept_setround_ctx): Likewise.
4286 (libc_fesetenv_ctx): Likewise.
4287 (libc_feupdateenv_ctx): Likewise.
4288 (libc_feholdsetround_ctx): Likewise.
4289 (libc_feresetround_ctx): Likewise.
4290 (libc_feholdexcept_setroundl_ctx): Likewise.
4291 (libc_feupdateenvl_ctx): Likewise.
4292 (libc_feholdsetroundl_ctx): Likewise.
4293 (libc_feresetroundl_ctx): Likewise.
4294 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4295 (libc_feresetround_53bit_ctx): Likewise.
4296
59b30555
SP
42972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4298
4299 * locale/iso-639.def: Convert to UTF-8.
4300
f1d73d30
JM
43012013-06-11 Joseph Myers <joseph@codesourcery.com>
4302
4303 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4304 (EXCEPTION_TESTS_double): Likewise.
4305 (EXCEPTION_TESTS_long_double): Likewise.
4306 (EXCEPTION_TESTS): Likewise.
4307 * math/libm-test.inc (test_exceptions): Only test exceptions if
4308 EXCEPTION_TESTS (FLOAT).
4309
94aca5e7
SP
43102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4311
4312 * benchtests/Makefile (string-bench): Add strcpy_chk and
4313 stpcpy_chk.
4314 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4315 * benchtests/bench-stpcpy_chk.c: New file.
4316 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4317 * benchtests/bench-strcpy_chk.c: New file.
4318 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4319 code.
4320 (do_test): Likewise.
4321
fac0c5f2
RA
43222013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4323
4324 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4325 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4326 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4327 with tabs where appropriate.
4328 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4329 dl-procinfo.h.
4330 [PPC_PLATFORM_PPC440]: Likewise.
4331 [PPC_PLATFORM_PPC464]: Likewise.
4332 [PPC_PLATFORM_PPC476]: Likewise.
4333 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4334 ppc464, and ppc476 platform strings merging from ports/
4335 dl-procinfo.h.
4336
f22bc486
AS
43372013-06-11 Andreas Schwab <schwab@suse.de>
4338
4339 [BZ #14991]
4340 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4341 (from_ucs4_idx): Regenerate.
4342 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4343 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4344 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4345 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4346 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4347 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4348 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4349 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4350 from FROM_LOOP and TO_LOOP specific macros.
4351 (BODY): Handle combining characters.
4352 * iconvdata/BIG5HKSCS.irreversible: Update.
4353 * iconvdata/BIG5HKSCS.precomposed: New file.
4354 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4355 characters.
4356 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4357
c1f75dc3
SP
43582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
4eacded2
SP
4360 * include/sys/time.h: Fix indentation and add copyright header.
4361
fec799f8
SP
4362 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4363 (do_test): Likewise.
4364 * string/test-memchr.c (do_one_test): Likewise.
4365 (do_test): Likewise.
4366 * string/test-memcmp.c (do_one_test): Likewise.
4367 (do_test): Likewise.
4368 * string/test-memcpy.c (do_one_test): Likewise.
4369 (do_test): Likewise.
4370 * string/test-memmem.c (do_one_test): Likewise.
4371 (do_test): Likewise.
4372 (do_random_tests): Likewise.
4373 * string/test-memmove.c (do_one_test): Likewise.
4374 (do_test): Likewise.
4375 * string/test-memset.c (do_one_test): Likewise.
4376 (do_test): Likewise.
4377 * string/test-rawmemchr.c (do_one_test): Likewise.
4378 (do_test): Likewise.
4379 * string/test-strcasecmp.c (do_one_test): Likewise.
4380 (do_test): Likewise.
4381 * string/test-strcasestr.c (do_one_test): Likewise.
4382 (do_test): Likewise.
4383 * string/test-strcat.c (do_one_test): Likewise.
4384 (do_test): Likewise.
4385 * string/test-strchr.c (do_one_test): Likewise.
4386 (do_test): Likewise.
4387 * string/test-strcmp.c (do_one_test): Likewise.
4388 (do_test): Likewise.
4389 * string/test-strcpy.c (do_one_test): Likewise.
4390 (do_test): Likewise.
4391 * string/test-string.h: Likewise.
4392 (test_init): Likewise.
4393 * string/test-strlen.c (do_one_test): Likewise.
4394 (do_test): Likewise.
4395 * string/test-strncasecmp.c (do_one_test): Likewise.
4396 (do_test): Likewise.
4397 * string/test-strncat.c (do_one_test): Likewise.
4398 (do_test): Likewise.
4399 * string/test-strncmp.c (do_one_test): Likewise.
4400 (do_test_limit): Likewise.
4401 (do_test): Likewise.
4402 * string/test-strncpy.c (do_one_test): Likewise.
4403 (do_test): Likewise.
4404 * string/test-strnlen.c (do_one_test): Likewise.
4405 (do_test): Likewise.
4406 * string/test-strpbrk.c (do_one_test): Likewise.
4407 (do_test): Likewise.
4408 * string/test-strrchr.c (do_one_test): Likewise.
4409 (do_test): Likewise.
4410 * string/test-strspn.c (do_one_test): Likewise.
4411 (do_test): Likewise.
4412 * string/test-strstr.c (do_one_test): Likewise.
4413 (do_test): Likewise.
4414
97020474
SP
4415 * benchtests/Makefile (string-bench): Add string benchmarks.
4416 * benchtests/bench-bcopy-ifunc.c: New file.
4417 * benchtests/bench-bcopy.c: New file.
4418 * benchtests/bench-bzero-ifunc.c: New file.
4419 * benchtests/bench-bzero.c: New file.
4420 * benchtests/bench-memccpy-ifunc.c: New file.
4421 * benchtests/bench-memccpy.c: New file.
4422 * benchtests/bench-memchr-ifunc.c: New file.
4423 * benchtests/bench-memchr.c: New file.
4424 * benchtests/bench-memcmp-ifunc.c: New file.
4425 * benchtests/bench-memcmp.c: New file.
4426 * benchtests/bench-memmem-ifunc.c: New file.
4427 * benchtests/bench-memmem.c: New file.
4428 * benchtests/bench-memmove-ifunc.c: New file.
4429 * benchtests/bench-memmove.c: New file.
4430 * benchtests/bench-mempcpy-ifunc.c: New file.
4431 * benchtests/bench-mempcpy.c: New file.
4432 * benchtests/bench-memset-ifunc.c: New file.
4433 * benchtests/bench-memset.c: New file.
4434 * benchtests/bench-rawmemchr-ifunc.c: New file.
4435 * benchtests/bench-rawmemchr.c: New file.
4436 * benchtests/bench-stpcpy-ifunc.c: New file.
4437 * benchtests/bench-stpcpy.c: New file.
4438 * benchtests/bench-stpncpy-ifunc.c: New file.
4439 * benchtests/bench-stpncpy.c: New file.
4440 * benchtests/bench-strcasecmp-ifunc.c: New file.
4441 * benchtests/bench-strcasecmp.c: New file.
4442 * benchtests/bench-strcasestr-ifunc.c: New file.
4443 * benchtests/bench-strcasestr.c: New file.
4444 * benchtests/bench-strcat-ifunc.c: New file.
4445 * benchtests/bench-strcat.c: New file.
4446 * benchtests/bench-strchr-ifunc.c: New file.
4447 * benchtests/bench-strchr.c: New file.
4448 * benchtests/bench-strchrnul-ifunc.c: New file.
4449 * benchtests/bench-strchrnul.c: New file.
4450 * benchtests/bench-strcmp-ifunc.c: New file.
4451 * benchtests/bench-strcmp.c: New file.
4452 * benchtests/bench-strcpy-ifunc.c: New file.
4453 * benchtests/bench-strcpy.c: New file.
4454 * benchtests/bench-strcspn-ifunc.c: New file.
4455 * benchtests/bench-strcspn.c: New file.
4456 * benchtests/bench-strlen-ifunc.c: New file.
4457 * benchtests/bench-strlen.c: New file.
4458 * benchtests/bench-strncasecmp-ifunc.c: New file.
4459 * benchtests/bench-strncasecmp.c: New file.
4460 * benchtests/bench-strncat-ifunc.c: New file.
4461 * benchtests/bench-strncat.c: New file.
4462 * benchtests/bench-strncmp-ifunc.c: New file.
4463 * benchtests/bench-strncmp.c: New file.
4464 * benchtests/bench-strncpy-ifunc.c: New file.
4465 * benchtests/bench-strncpy.c: New file.
4466 * benchtests/bench-strnlen-ifunc.c: New file.
4467 * benchtests/bench-strnlen.c: New file.
4468 * benchtests/bench-strpbrk-ifunc.c: New file.
4469 * benchtests/bench-strpbrk.c: New file.
4470 * benchtests/bench-strrchr-ifunc.c: New file.
4471 * benchtests/bench-strrchr.c: New file.
4472 * benchtests/bench-strspn-ifunc.c: New file.
4473 * benchtests/bench-strspn.c: New file.
4474 * benchtests/bench-strstr-ifunc.c: New file.
4475 * benchtests/bench-strstr.c: New file.
4476
c1f75dc3
SP
4477 * benchtests/Makefile: Disable parallel execution of targets.
4478 (string-bench): Add memcpy.
4479 (benchset): New variable to store a list of benchmark sets.
4480 (bench-func): Renamed from bench.
4481 (bench-set): New target.
4482 (bench): Depend on bench-func and bench-set.
4483 * benchtests/README: Add section on benchmark sets.
4484 * benchtests/bench-memcpy-ifunc.c: New file.
4485 * benchtests/bench-memcpy.c: New file.
4486 * benchtests/bench-string.h: New file.
4487
50fd745b
AS
44882013-06-11 Andreas Schwab <schwab@suse.de>
4489
4490 [BZ #15577]
4491 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4492 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4493 values in the triple.
4494 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4495 terminator in the group key.
4496
3ee7e9fe
AJ
44972013-06-11 Andreas Jaeger <aj@suse.de>
4498
4499 * po/zh_TW.po: Update Chinese (traditional) translation from
4500 translation project.
4501
89fb6835
SP
45022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4503
4504 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4505 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4506 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4508 (clock_getcpuclockid): Likewise.
4509 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4510 Add weak_alias and libc_hidden_def.
4511 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4512 * rt/clock_gettime.c (clock_gettime): Rename to
4513 __clock_gettime. Add weak_alias and libc_hidden_def.
4514 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4515 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4516 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4517 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4518 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4519 Likewise.
4520 * rt/clock_settime.c (clock_settime): Rename to
4521 __clock_settime. Add weak_alias and libc_hidden_def.
4522 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4523
0efa6f8b
JM
45242013-06-10 Joseph Myers <joseph@codesourcery.com>
4525
b8c61b4b
JM
4526 * mach/err_boot.sub: Remove trailing whitespace.
4527 * mach/err_ipc.sub: Likewise.
4528 * mach/err_mach.sub: Likewise.
4529
0efa6f8b
JM
4530 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4531 (ROUNDING_TESTS_double): Likewise.
4532 (ROUNDING_TESTS_long_double): Likewise.
4533 (ROUNDING_TESTS): Likewise.
4534 * math/libm-test.inc: Include <math-tests.h>.
4535 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4536 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4537 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4538 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4539
50b818bf
SP
45402013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4541
4542 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4543 of assigning.
4544
60d2f8f3
JM
45452013-06-08 Joseph Myers <joseph@codesourcery.com>
4546
4902d2c3
JM
4547 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4548 otherwise empty TRANS lines.
4549 * sysdeps/gnu/errlist.c: Regenerated.
4550
60d2f8f3
JM
4551 * catgets/gencat.c (error_print): Use (void) in function
4552 definition.
4553 * crypt/crypt_util.c (__init_des): Likewise.
4554 * crypt/speeds.c (Stop): Likewise.
4555 (main): Likewise.
4556 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4557 * inet/ruserpass.c (token): Likewise.
4558 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4559 * intl/localealias.c (extend_alias_table): Likewise.
4560 * intl/plural-exp.c (init_germanic_plural): Likewise.
4561 * libio/fcloseall.c (__fcloseall): Likewise.
4562 * libio/genops.c (_IO_flush_all): Likewise.
4563 (_IO_flush_all_linebuffered): Likewise.
4564 (_IO_cleanup): Likewise.
4565 (_IO_iter_begin): Likewise.
4566 (_IO_iter_end): Likewise.
4567 (_IO_list_lock): Likewise.
4568 (_IO_list_unlock): Likewise.
4569 (_IO_list_resetlock): Likewise.
4570 * libio/getchar.c (getchar): Likewise.
4571 * libio/getchar_u.c (getchar_unlocked): Likewise.
4572 * libio/getwchar.c (getwchar): Likewise.
4573 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4574 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4575 * login/getpt.c (__getpt): Likewise.
4576 * login/tst-utmp.c (main): Likewise.
4577 * malloc/hooks.c (__malloc_check_init): Likewise.
4578 * malloc/malloc.c (__malloc_stats): Likewise.
4579 * malloc/mtrace.c (tr_break): Likewise.
4580 (mtrace): Likewise.
4581 (muntrace): Likewise.
4582 * misc/fstab.c (endfsent): Likewise.
4583 * misc/getclktck.c (__getclktck): Likewise.
4584 * misc/getdtsz.c (__getdtablesize): Likewise.
4585 * misc/gethostid.c (gethostid): Likewise.
4586 * misc/getpagesize.c (__getpagesize): Likewise.
4587 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4588 (__get_nprocs): Likewise.
4589 (__get_phys_pages): Likewise.
4590 (__get_avphys_pages): Likewise.
4591 * misc/getttyent.c (getttyent): Likewise.
4592 (setttyent): Likewise.
4593 (endttyent): Likewise.
4594 * misc/getusershell.c (getusershell): Likewise.
4595 (endusershell): Likewise.
4596 (setusershell): Likewise.
4597 (initshells): Likewise.
4598 * misc/hsearch.c (__hdestroy): Likewise.
4599 * misc/sync.c (sync): Likewise.
4600 * misc/syslog.c (closelog_internal): Likewise.
4601 (closelog): Likewise.
4602 * misc/ttyslot.c (ttyslot): Likewise.
4603 * misc/vhangup.c (vhangup): Likewise.
4604 * posix/fork.c (__fork): Likewise.
4605 * posix/getegid.c (__getegid): Likewise.
4606 * posix/geteuid.c (__geteuid): Likewise.
4607 * posix/getgid.c (__getgid): Likewise.
4608 * posix/getpid.c (__getpid): Likewise.
4609 * posix/getppid.c (__getppid): Likewise.
4610 * posix/getuid.c (__getuid): Likewise.
4611 * posix/pause.c (pause): Likewise.
4612 * posix/setpgrp.c (setpgrp): Likewise.
4613 * posix/setsid.c (__setsid): Likewise.
4614 * posix/test-vfork.c (noop): Likewise.
4615 * resolv/gethnamaddr.c (_endhtent): Likewise.
4616 (_gethtent): Likewise.
4617 (ht_endhostent): Likewise.
4618 (gethostent): Likewise.
4619 (dns_service): Likewise.
4620 * stdlib/drand48.c (drand48): Likewise.
4621 * stdlib/lrand48.c (lrand48): Likewise.
4622 * stdlib/mrand48.c (mrand48): Likewise.
4623 * stdlib/rand.c (rand): Likewise.
4624 * stdlib/random.c (__random): Likewise.
4625 * stdlib/setenv.c (clearenv): Likewise.
4626 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4627 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4628 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4629 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4630 (__get_nprocs): Likewise.
4631 (__get_phys_pages): Likewise.
4632 (__get_avphys_pages): Likewise.
4633 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4634 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4635 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4636 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4637 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4638 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4639 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4640 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4641 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4642 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4643 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4644 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4645 * sysdeps/posix/clock.c (clock): Likewise.
4646 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4647 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4648 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4649 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4650 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4652 (__get_nprocs_conf): Likewise.
4653 (__get_phys_pages): Likewise.
4654 (__get_avphys_pages): Likewise.
4655 * time/clock.c (clock): Likewise.
4656 * time/tzset.c (__tzname_max): Likewise.
4657
2e09a79a
JM
46582013-06-07 Joseph Myers <joseph@codesourcery.com>
4659
4660 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4661 (__bswap_32): Do not use "register".
4662 * crypt/crypt.c (_ufc_doit_r): Likewise.
4663 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4664 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4665 * gmon/gmon.c (__monstartup): Likewise.
4666 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4667 * hurd/hurdmalloc.c (more_memory): Likewise.
4668 (malloc): Likewise.
4669 (free): Likewise.
4670 (realloc): Likewise.
4671 (malloc_fork_prepare): Likewise.
4672 (malloc_fork_parent): Likewise.
4673 (malloc_fork_child): Likewise.
4674 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4675 (_svcauth_des): Likewise.
4676 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4677 * inet/inet_net.c (inet_network): Likewise.
4678 * inet/inet_netof.c (inet_netof): Likewise.
4679 * inet/rcmd.c (__validuser2_sa): Likewise.
4680 * io/fts.c (fts_open): Likewise.
4681 (fts_load): Likewise.
4682 (fts_close): Likewise.
4683 (fts_read): Likewise.
4684 (fts_children): Likewise.
4685 (fts_build): Likewise.
4686 (fts_stat): Likewise.
4687 (fts_sort): Likewise.
4688 (fts_alloc): Likewise.
4689 (fts_lfree): Likewise.
4690 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4691 (_IO_file_xsgetn): Likewise.
4692 (_IO_file_xsgetn_mmap): Likewise.
4693 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4694 (_IO_cookie_write): Likewise.
4695 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4696 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4697 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4698 * malloc/obstack.c (_obstack_begin): Likewise.
4699 (_obstack_begin_1): Likewise.
4700 (_obstack_newchunk): Likewise.
4701 (_obstack_allocated_p): Likewise.
4702 (obstack_free): Likewise.
4703 (_obstack_memory_used): Likewise.
4704 * misc/getttyent.c (getttynam): Likewise.
4705 (getttyent): Likewise.
4706 (skip): Likewise.
4707 (value): Likewise.
4708 * misc/getusershell.c (initshells): Likewise.
4709 * misc/syslog.c (__vsyslog_chk): Likewise.
4710 * misc/ttyslot.c (ttyslot): Likewise.
4711 * nis/nis_hash.c (__nis_hash): Likewise.
4712 * posix/fnmatch_loop.c (FCT): Likewise.
4713 * posix/getconf.c (print_all): Likewise.
4714 (main): Likewise.
4715 * posix/getopt.c (exchange): Likewise.
4716 * posix/glob.c (globfree): Likewise.
4717 (prefix_array): Likewise.
4718 (__glob_pattern_type): Likewise.
4719 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4720 (NS_GET32): Likewise.
4721 (NS_PUT16): Likewise.
4722 (NS_PUT32): Likewise.
4723 * resolv/gethnamaddr.c (getanswer): Likewise.
4724 (gethostbyname2): Likewise.
4725 (gethostbyaddr): Likewise.
4726 (_gethtent): Likewise.
4727 (_gethtbyname2): Likewise.
4728 (_gethtbyaddr): Likewise.
4729 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4730 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4731 * resolv/res_init.c (__res_vinit): Likewise.
4732 (net_mask): Likewise.
4733 * resolv/res_mkquery.c (outchar): Likewise.
4734 (PRINT): Likewise.
4735 * stdio-common/printf_fp.c (outchar): Likewise.
4736 (PRINT): Likewise.
4737 * stdio-common/printf_fphex.c (outchar): Likewise.
4738 (PRINT): Likewise.
4739 * stdio-common/printf_size.c (outchar): Likewise.
4740 (PRINT): Likewise.
4741 * stdio-common/test_rdwr.c (main): Likewise.
4742 * stdio-common/tfformat.c (matches): Likewise.
4743 * stdio-common/vfprintf.c (outchar): Likewise.
4744 (printf_unknown): Likewise.
4745 (buffered_vfprintf): Likewise.
4746 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4747 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4748 (ReadFile): Likewise.
4749 * stdlib/qsort.c (SWAP): Likewise.
4750 (_quicksort): Likewise.
4751 * stdlib/setenv.c (__add_to_environ): Likewise.
4752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4753 * stdlib/strtol_l.c (__strtol_l): Likewise.
4754 * stdlib/tst-strtod.c (main): Likewise.
4755 * stdlib/tst-strtol.c (main): Likewise.
4756 * stdlib/tst-strtoll.c (main): Likewise.
4757 * string/bits/string2.h (__strcmp_cc): Likewise.
4758 (__strcmp_cg): Likewise.
4759 (__strcspn_c1): Likewise.
4760 (__strcspn_c2): Likewise.
4761 (__strcspn_c3): Likewise.
4762 (__strspn_c1): Likewise.
4763 (__strspn_c2): Likewise.
4764 (__strspn_c3): Likewise.
4765 (__strsep_1c): Likewise.
4766 (__strsep_2c): Likewise.
4767 (__strsep_3c): Likewise.
4768 * string/memccpy.c (__memccpy): Likewise.
4769 * string/stpcpy.c (__stpcpy): Likewise.
4770 * string/strcmp.c (strcmp): Likewise.
4771 * string/strrchr.c (strrchr): Likewise.
4772 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4773 Likewise.
4774 * sysdeps/mach/hurd/getcwd.c
4775 (_hurd_canonicalize_directory_name_internal): Likewise.
4776 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4777 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4778 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4779 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4780 Likewise, in both definitions.
4781 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4782 definitions.
4783 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4784 64] (__bswap_64): Likewise.
4785 * time/test_time.c (main): Likewise.
4786 * time/tzfile.c (__tzfile_read): Likewise.
4787 (__tzfile_compute): Likewise.
4788 * time/tzset.c (__tzset_parse_tz): Likewise.
4789 (tzset_internal): Likewise.
4790 (compute_change): Likewise.
4791 * wcsmbs/wcscat.c (__wcscat): Likewise.
4792 * wcsmbs/wcschr.c (wcschr): Likewise.
4793 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4794 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4795 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4796 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4797 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4798 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4799 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4800 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4801 * wcsmbs/wmemset.c (wmemset): Likewise.
4802
9e54314b
JM
48032013-06-06 Joseph Myers <joseph@codesourcery.com>
4804
4805 * scripts/config.guess: Update to version 2013-05-16.
4806 * scripts/config.sub: Update to version 2013-04-24.
4807 * scripts/install-sh: Update to version 2011-11-20.07.
4808 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4809 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4810
350635a5
OB
48112013-06-06 Ondřej Bílka <neleai@seznam.cz>
4812
4813 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4814 * elf/sln.c: Likewise.
4815 * hurd/hurd/ioctl.h: Likewise.
4816 * hurd/hurdmalloc.c: Likewise.
4817 * hurd/xattr.c: Likewise.
4818 * include/shlib-compat.h: Likewise.
4819 * inet/ruserpass.c: Likewise.
4820 * libio/iofgets_u.c: Likewise.
4821 * libio/iofgetws_u.c: Likewise.
4822 * locale/programs/ld-identification.c: Likewise.
4823 * locale/programs/ld-time.c: Likewise.
4824 * mach/msg-destroy.c: Likewise.
4825 * nss/nss_files/files-netgrp.c: Likewise.
4826 * resolv/res_data.c: Likewise.
4827 * soft-fp/op-1.h: Likewise.
4828 * soft-fp/op-2.h: Likewise.
4829 * soft-fp/op-4.h: Likewise.
4830 * soft-fp/op-common.h: Likewise.
4831 * stdio-common/printf_fphex.c: Likewise.
4832 * stdlib/strtod_l.c: Likewise.
4833 * sunrpc/rpc/clnt.h: Likewise.
4834 * sysdeps/generic/framestate.c: Likewise.
4835 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4836 * sysdeps/i386/bsd-setjmp.S: Likewise.
4837 * sysdeps/i386/__longjmp.S: Likewise.
4838 * sysdeps/i386/setjmp.S: Likewise.
4839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4840 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4857 * sysdeps/ieee754/support.c: Likewise.
4858 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4859 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4860 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4861 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4862 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4863 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4864 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4865 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4866 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4867 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4868 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4869 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4870 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4871 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4872 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4873 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4874 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4876
44a988af
OB
48772013-06-05 Ondřej Bílka <neleai@seznam.cz>
4878
25506f09 4879 * posix/transbug.c: Remove executable mode.
44a988af 4880
9c84384c
JM
48812013-06-05 Joseph Myers <joseph@codesourcery.com>
4882
4883 * crypt/speeds.c: Remove trailing whitespace.
4884 * dlfcn/default.c: Likewise.
4885 * elf/ifuncdep2.c: Likewise.
4886 * elf/ifuncmain1.c: Likewise.
4887 * elf/ifuncmain1vis.c: Likewise.
4888 * elf/testobj.h: Likewise.
4889 * elf/tst-stackguard1.c: Likewise.
4890 * gmon/sys/gmon.h: Likewise.
4891 * hurd/hurdmsg.c: Likewise.
4892 * hurd/new-fd.c: Likewise.
4893 * hurd/ports-get.c: Likewise.
4894 * iconvdata/ibm1008_420.c: Likewise.
4895 * inet/tst-getni1.c: Likewise.
4896 * inet/tst-getni2.c: Likewise.
4897 * libio/ioungetc.c: Likewise.
4898 * libio/wfiledoalloc.c: Likewise.
4899 * manual/libm-err-tab.pl: Likewise.
4900 * math/w_dremf.c: Likewise.
4901 * misc/ftruncate.c: Likewise.
4902 * posix/bug-glob2.c: Likewise.
4903 * posix/tst-pcre.c: Likewise.
4904 * posix/wait4.c: Likewise.
4905 * resolv/README: Likewise.
4906 * resolv/res_debug.h: Likewise.
4907 * resolv/tst-inet_ntop.c: Likewise.
4908 * setjmp/bug269-setjmp.c: Likewise.
4909 * soft-fp/extended.h: Likewise.
4910 * soft-fp/op-1.h: Likewise.
4911 * soft-fp/op-2.h: Likewise.
4912 * soft-fp/op-4.h: Likewise.
4913 * soft-fp/op-8.h: Likewise.
4914 * soft-fp/testit.c: Likewise.
4915 * stdio-common/bug16.c: Likewise.
4916 * stdlib/random.c: Likewise.
4917 * sunrpc/rpcsvc/rquota.x: Likewise.
4918 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4919 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4921 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4922 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4923 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4924 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4925 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4927 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4928 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4947 * sysdeps/ieee754/s_lib_version.c: Likewise.
4948 * sysdeps/mach/hurd/check_fds.c: Likewise.
4949 * sysdeps/mach/hurd/getsockname.c: Likewise.
4950 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4951 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4952 * sysdeps/powerpc/bits/link.h: Likewise.
4953 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4954 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4955 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4956 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4957 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4958 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4959 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4960 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4961 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4962 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4963 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4964 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4965 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4966 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4967 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4968 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4969 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4970 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4971 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4973 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4974 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4976 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4978 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4980 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4981 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4982 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4987 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4991 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4994 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4995 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4996 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4997 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4998 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4999 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5000 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5001 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5002 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5005 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5007 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5008 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5010 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5012 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5017 * sysdeps/powerpc/sysdep.h: Likewise.
5018 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5019 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5020 * sysdeps/sh/dl-trampoline.S: Likewise.
5021 * sysdeps/sh/memset.S: Likewise.
5022 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5023 * sysdeps/sh/strlen.S: Likewise.
5024 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5025 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5026 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5027 * sysdeps/sparc/sparc32/rem.S: Likewise.
5028 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5029 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5030 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5031 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5032 * sysdeps/sparc/sparc32/urem.S: Likewise.
5033 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5034 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5035 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5036 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5037 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5038 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5039 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5040 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5041 * sysdeps/unix/bsd/times.c: Likewise.
5042 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5043 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5047 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5049 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5050 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5051 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5052 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5053 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5054 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5055 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5056 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5057 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5059 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5060 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5061 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5062 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5063 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5064 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5065 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5067 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5068 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5069 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5070 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5071 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5072 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5073 * sysdeps/x86_64/strcspn.S: Likewise.
5074
869378a5
RA
50752013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5076
5077 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5078 generated file. Regenerate properly from gen-translit.pl.
5079 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5080 locale/C-translit.h.
5081
840e2943
AS
50822013-06-05 Andreas Schwab <schwab@suse.de>
5083
5084 [BZ #15100]
5085 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5086 week as 6 instead of -1.
5087 * time/tst-strptime.c (day_tests): Add test case.
5088
4c60cb0c
SP
50892013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
5091 * sysdeps/generic/math_private.h
5092 (libc_feholdexcept_setround_53bit): Replace with
5093 libc_feholdsetround_53bit.
5094 (libc_feupdateenv_53bit): Replace with
5095 libc_feresetround_53bit.
5096 (SET_RESTORE_ROUND_53BIT): Adjust.
5097
d180203e
SP
50982013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5099
96df079a
SP
5100 * string/test-strchrnul.c: Add copyright header.
5101
d180203e
SP
5102 * posix/tst-getaddrinfo4.c: Increase test timeout.
5103
8b0ccb2d
CD
51042013-06-03 Carlos O'Donell <carlos@redhat.com>
5105
5106 [BZ #15536]
5107 * math/libm-test.inc (MAX_EXP): Remove
5108 (MIN_EXP): Define.
5109 (ulp): Use MIN_EXP - MANT_DIG.
5110 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5111
3b3c4d40
CD
51122013-05-31 Carlos O'Donell <carlos@redhat.com>
5113
5114 * po/be.po: Revert last change.
5115 * po/zh_CN.po: Likewise.
5116 * po/header.pot: Likewise.
5117
fab7ce3f
JM
51182013-05-31 Joseph Myers <joseph@codesourcery.com>
5119
5120 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5121 link-libc-deps to empty as target-specific variable.
5122 * Makerules (link-libc-args): New variable.
5123 (libc-for-link): Likewise.
5124 (link-libc-deps): Likewise.
5125 (lib%.so): Depend on $(link-libc-deps). Link with
5126 $(link-libc-args).
5127 (build-module): Link with $(link-libc-args).
5128 (build-module-asneeded): Likewise.
5129 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5130 list of objects.
5131 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5132 target-specific variable.
5133 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5134 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5135 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5136 libc.
5137 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5138 libc and ld.so.
5139 ($(objpfx)libpcprofile.so): Likewise.
5140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5141 libc_nonshared.a.
5142 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5143 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5144 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5145 $(link-libc-deps).
5146 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5147 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5148 * login/Makefile ($(objpfx)libutil.so): Likewise.
5149 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5150 * math/Makefile ($(objpfx)libm.so): Likewise.
5151 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5152 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5153 variable instead of depending directly on libc.
5154 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5155 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5156 $(link-libc-deps).
5157 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5158 libc.
5159 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5160 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5161 ($(objpfx)libanl.so): Likewise.
5162 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5163 ld.so.
5164 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5165 $(link-libc-deps).
5166 * sysdeps/i386/fpu/Makefile: Remove file.
5167 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5168 ($(objpfx)libm.so): Remove dependency on ld.so.
5169
eca5920c
PF
51702013-05-30 Patsy Franklin <pfrankli@redhat.com>
5171
5172 [BZ # 15553]
5173 * nis/yp_xdr.c (XDRMAXNAME): Define.
5174 (XDRMAXRECORD): Define.
5175 (xdr_domainname): Use XDRMAXNAME.
5176 (xdr_mapname): Likewise.
5177 (xdr_peername): Likewise.
5178 (xdr_keydat): Use XDRMAXRECORD.
5179 (xdr_valdat): Likewise.
5180
51812013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5182
5183 [BZ #14256]
5184 * manual/errno.texi (ESTALE): Update to account for more than
5185 just NFS file systems.
5186 * sysdeps/gnu/errlist.c: Regenerated.
5187
b9375348
SP
51882013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5189
5190 [BZ #15465]
5191 * elf/Makefile (tests): Add tst-null-argv.
5192 (modules-names): Add tst-null-argv-lib.
5193 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5194 (tst-null-argv-ENV): Set environment for tst-null-argv.
5195 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5196 (RTLD_PROGNAME): New macro.
5197 * elf/tst-null-argv.c: New test case.
5198 * elf/tst-null-argv-lib.c: Library for test case.
5199 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5200 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5201 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5202 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5203 * elf/dl-init.c (call_init): Likewise.
5204 (_dl_init): Likewise.
5205 * elf/dl-load.c (print_search_path): Likewise.
5206 (_dl_map_object): Likewise.
5207 * elf/dl-lookup.c (do_lookup_x): Likewise.
5208 (add_dependency): Likewise.
5209 (_dl_lookup_symbol_x): Likewise.
5210 (_dl_debug_bindings): Likewise.
5211 * elf/dl-open.c (_dl_show_scope): Likewise.
5212 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5213 * elf/dl-version.c (match_symbol): Likewise.
5214 (_dl_check_map_versions): Likewise.
5215 * elf/rtld.c (dl_main): Likewise.
5216 (print_unresolved): Use RTLD_PROGNAME.
5217 (print_missing_version): Likewise.
5218 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5219 (elf_machine_rela): Likewise.
5220 * sysdeps/powerpc/powerpc32/dl-machine.c
5221 (__process_machine_rela): Likewise.
5222 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5223 Likewise.
5224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5225 Likewise.
5226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5227 Likewise.
5228 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5230 Likewise.
5231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5232 Likewise.
5233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5234
8a9f20c8
CD
52352013-05-28 Carlos O'Donell <carlos@redhat.com>
5236
5237 * po/be.po: Add descriptive title.
5238 * po/zh_CN.po: Likewise.
5239 * po/header.pot: Likewise.
5240
0e60d68e
MF
52412013-05-28 Mike Frysinger <vapier@gentoo.org>
5242
5243 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5244 error message.
5245 (enlarge_archive): Likewise.
5246
56b672e9
BN
52472013-05-28 Ben North <ben@redfrontdoor.org>
5248
5249 * manual/arith.texi (frexp): It is the magnitude of the return
5250 value which lies in [0.5, 1), not the return value itself.
5251
5e056687
AZ
52522013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5253
5254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5255
2b66ef5d
TS
52562013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5257
528c2405
TS
5258 * stdio-common/bug26.c (main): Correct fscanf template.
5259
07b4c13d
TS
5260 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5261 declare _dl_skip_args.
5262
ec9dd97c
TS
5263 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5264 Don't declare.
5265
2b66ef5d
TS
5266 * manual/platform.texi: Add missing @end deftypefun.
5267
4f8dfe27
JM
52682013-05-24 Joseph Myers <joseph@codesourcery.com>
5269
0323d086
JM
5270 [BZ #15529]
5271 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5272 bit of mantissa of 2^16382.
5273 * math/libm-test.inc (hypot_test_data): Add more tests.
5274
dd4259b9
JM
5275 * math/libm-test.inc: Add drem and pow10 to list of tested
5276 functions.
5277 (pow10_test): New function.
5278 (drem_test): Likewise.
5279 (drem_test_tonearest): Likewise.
5280 (drem_test_towardzero): Likewise.
5281 (drem_test_downward): Likewise.
5282 (drem_test_upward): Likewise.
5283 (main): Call the new functions.
5284
4f8dfe27
JM
5285 * math/libm-test.inc (finite_test_data): Remove.
5286 (finite_test): Run tests from isfinite_test_data.
5287 (gamma_test_data): Remove.
5288 (gamma_test): Run tests from lgamma_test_data.
5289 * sysdeps/i386/fpu/libm-test-ulps: Update.
5290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291
d116b7c4
AZ
52922013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5293
5294 * manual/platform.texi: Add PowerPC PPR function set documentation.
5295 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5296 implementation.
5297
e96e3767
CD
52982013-05-24 Carlos O'Donell <carlos@redhat.com>
5299
5300 * math/libm-test.inc (MAX_EXP): Define.
5301 (ULPDIFF): Define.
5302 (ulp): New function.
5303 (check_float_internal): Use ULPDIFF.
5304 (cpow_test): Disable failing test.
5305 (check_ulp): Test ulp() implemetnation.
5306 (main): Call check_ulp before starting tests.
5307
b679a606
JM
53082013-05-24 Joseph Myers <joseph@codesourcery.com>
5309
e8bdba36
JM
5310 * math/gen-libm-test.pl (generate_testfile): Do not handle
5311 START_DATA and END_DATA.
5312 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5313 END_DATA.
5314 (acos_tonearest_test_data): Likewise.
5315 (acos_towardzero_test_data): Likewise.
5316 (acos_downward_test_data): Likewise.
5317 (acos_upward_test_data): Likewise.
5318 (acosh_test_data): Likewise.
5319 (asin_test_data): Likewise.
5320 (asin_tonearest_test_data): Likewise.
5321 (asin_towardzero_test_data): Likewise.
5322 (asin_downward_test_data): Likewise.
5323 (asin_upward_test_data): Likewise.
5324 (asinh_test_data): Likewise.
5325 (atan_test_data): Likewise.
5326 (atanh_test_data): Likewise.
5327 (atan2_test_data): Likewise.
5328 (cabs_test_data): Likewise.
5329 (cacos_test_data): Likewise.
5330 (cacosh_test_data): Likewise.
5331 (carg_test_data): Likewise.
5332 (casin_test_data): Likewise.
5333 (casinh_test_data): Likewise.
5334 (catan_test_data): Likewise.
5335 (catanh_test_data): Likewise.
5336 (cbrt_test_data): Likewise.
5337 (ccos_test_data): Likewise.
5338 (ccosh_test_data): Likewise.
5339 (ceil_test_data): Likewise.
5340 (cexp_test_data): Likewise.
5341 (cimag_test_data): Likewise.
5342 (clog_test_data): Likewise.
5343 (clog10_test_data): Likewise.
5344 (conj_test_data): Likewise.
5345 (copysign_test_data): Likewise.
5346 (cos_test_data): Likewise.
5347 (cos_tonearest_test_data): Likewise.
5348 (cos_towardzero_test_data): Likewise.
5349 (cos_downward_test_data): Likewise.
5350 (cos_upward_test_data): Likewise.
5351 (cosh_test_data): Likewise.
5352 (cosh_tonearest_test_data): Likewise.
5353 (cosh_towardzero_test_data): Likewise.
5354 (cosh_downward_test_data): Likewise.
5355 (cosh_upward_test_data): Likewise.
5356 (cpow_test_data): Likewise.
5357 (cproj_test_data): Likewise.
5358 (creal_test_data): Likewise.
5359 (csin_test_data): Likewise.
5360 (csinh_test_data): Likewise.
5361 (csqrt_test_data): Likewise.
5362 (ctan_test_data): Likewise.
5363 (ctan_tonearest_test_data): Likewise.
5364 (ctan_towardzero_test_data): Likewise.
5365 (ctan_downward_test_data): Likewise.
5366 (ctan_upward_test_data): Likewise.
5367 (ctanh_test_data): Likewise.
5368 (ctanh_tonearest_test_data): Likewise.
5369 (ctanh_towardzero_test_data): Likewise.
5370 (ctanh_downward_test_data): Likewise.
5371 (ctanh_upward_test_data): Likewise.
5372 (erf_test_data): Likewise.
5373 (erfc_test_data): Likewise.
5374 (exp_test_data): Likewise.
5375 (exp_tonearest_test_data): Likewise.
5376 (exp_towardzero_test_data): Likewise.
5377 (exp_downward_test_data): Likewise.
5378 (exp_upward_test_data): Likewise.
5379 (exp10_test_data): Likewise.
5380 (exp2_test_data): Likewise.
5381 (expm1_test_data): Likewise.
5382 (fabs_test_data): Likewise.
5383 (fdim_test_data): Likewise.
5384 (finite_test_data): Likewise.
5385 (floor_test_data): Likewise.
5386 (fma_test_data): Likewise.
5387 (fma_towardzero_test_data): Likewise.
5388 (fma_downward_test_data): Likewise.
5389 (fma_upward_test_data): Likewise.
5390 (fmax_test_data): Likewise.
5391 (fmin_test_data): Likewise.
5392 (fmod_test_data): Likewise.
5393 (fpclassify_test_data): Likewise.
5394 (frexp_test_data): Likewise.
5395 (gamma_test_data): Likewise.
5396 (hypot_test_data): Likewise.
5397 (ilogb_test_data): Likewise.
5398 (isfinite_test_data): Likewise.
5399 (isgreater_test_data): Likewise.
5400 (isgreaterequal_test_data): Likewise.
5401 (isinf_test_data): Likewise.
5402 (isless_test_data): Likewise.
5403 (islessequal_test_data): Likewise.
5404 (islessgreater_test_data): Likewise.
5405 (isnan_test_data): Likewise.
5406 (isnormal_test_data): Likewise.
5407 (issignaling_test_data): Likewise.
5408 (isunordered_test_data): Likewise.
5409 (j0_test_data): Likewise.
5410 (j1_test_data): Likewise.
5411 (jn_test_data): Likewise.
5412 (ldexp_test_data): Likewise.
5413 (lgamma_test_data): Likewise.
5414 (lrint_test_data): Likewise.
5415 (lrint_tonearest_test_data): Likewise.
5416 (lrint_towardzero_test_data): Likewise.
5417 (lrint_downward_test_data): Likewise.
5418 (lrint_upward_test_data): Likewise.
5419 (llrint_test_data): Likewise.
5420 (llrint_tonearest_test_data): Likewise.
5421 (llrint_towardzero_test_data): Likewise.
5422 (llrint_downward_test_data): Likewise.
5423 (llrint_upward_test_data): Likewise.
5424 (log_test_data): Likewise.
5425 (log10_test_data): Likewise.
5426 (log1p_test_data): Likewise.
5427 (log2_test_data): Likewise.
5428 (logb_test_data): Likewise.
5429 (logb_downward_test_data): Likewise.
5430 (lround_test_data): Likewise.
5431 (llround_test_data): Likewise.
5432 (modf_test_data): Likewise.
5433 (nearbyint_test_data): Likewise.
5434 (nextafter_test_data): Likewise.
5435 (nexttoward_test_data): Likewise.
5436 (pow_test_data): Likewise.
5437 (pow_tonearest_test_data): Likewise.
5438 (pow_towardzero_test_data): Likewise.
5439 (pow_downward_test_data): Likewise.
5440 (pow_upward_test_data): Likewise.
5441 (remainder_test_data): Likewise.
5442 (remainder_tonearest_test_data): Likewise.
5443 (remainder_towardzero_test_data): Likewise.
5444 (remainder_downward_test_data): Likewise.
5445 (remainder_upward_test_data): Likewise.
5446 (remquo_test_data): Likewise.
5447 (rint_test_data): Likewise.
5448 (rint_tonearest_test_data): Likewise.
5449 (rint_towardzero_test_data): Likewise.
5450 (rint_downward_test_data): Likewise.
5451 (rint_upward_test_data): Likewise.
5452 (round_test_data): Likewise.
5453 (scalb_test_data): Likewise.
5454 (scalbn_test_data): Likewise.
5455 (scalbln_test_data): Likewise.
5456 (signbit_test_data): Likewise.
5457 (sin_test_data): Likewise.
5458 (sin_tonearest_test_data): Likewise.
5459 (sin_towardzero_test_data): Likewise.
5460 (sin_downward_test_data): Likewise.
5461 (sin_upward_test_data): Likewise.
5462 (sincos_test_data): Likewise.
5463 (sinh_test_data): Likewise.
5464 (sinh_tonearest_test_data): Likewise.
5465 (sinh_towardzero_test_data): Likewise.
5466 (sinh_downward_test_data): Likewise.
5467 (sinh_upward_test_data): Likewise.
5468 (sqrt_test_data): Likewise.
5469 (tan_test_data): Likewise.
5470 (tan_tonearest_test_data): Likewise.
5471 (tan_towardzero_test_data): Likewise.
5472 (tan_downward_test_data): Likewise.
5473 (tan_upward_test_data): Likewise.
5474 (tanh_test_data): Likewise.
5475 (tgamma_test_data): Likewise.
5476 (trunc_test_data): Likewise.
5477 (y0_test_data): Likewise.
5478 (y1_test_data): Likewise.
5479 (yn_test_data): Likewise.
5480 (significand_test_data): Likewise.
5481
b679a606
JM
5482 * math/gen-libm-test.pl (@functions): Remove variable.
5483 (generate_testfile): Don't handle START and END lines.
5484 * math/libm-test.inc (START): New macro.
5485 (END): Likewise.
5486 (END_COMPLEX): Likewise.
5487 (acos_test): Use END macro without arguments.
5488 (acos_test_tonearest): Likewise.
5489 (acos_test_towardzero): Likewise.
5490 (acos_test_downward): Likewise.
5491 (acos_test_upward): Likewise.
5492 (acosh_test): Likewise.
5493 (asin_test): Likewise.
5494 (asin_test_tonearest): Likewise.
5495 (asin_test_towardzero): Likewise.
5496 (asin_test_downward): Likewise.
5497 (asin_test_upward): Likewise.
5498 (asinh_test): Likewise.
5499 (atan_test): Likewise.
5500 (atanh_test): Likewise.
5501 (atan2_test): Likewise.
5502 (cabs_test): Likewise.
5503 (cacos_test): Use END_COMPLEX macro without arguments.
5504 (cacosh_test): Likewise.
5505 (carg_test): Use END macro without arguments.
5506 (casin_test): Use END_COMPLEX macro without arguments.
5507 (casinh_test): Likewise.
5508 (catan_test): Likewise.
5509 (catanh_test): Likewise.
5510 (cbrt_test): Use END macro without arguments.
5511 (ccos_test): Use END_COMPLEX macro without arguments.
5512 (ccosh_test): Likewise.
5513 (ceil_test): Use END macro without arguments.
5514 (cexp_test): Use END_COMPLEX macro without arguments.
5515 (cimag_test): Use END macro without arguments.
5516 (clog_test): Use END_COMPLEX macro without arguments.
5517 (clog10_test): Likewise.
5518 (conj_test): Likewise.
5519 (copysign_test): Use END macro without arguments.
5520 (cos_test): Likewise.
5521 (cos_test_tonearest): Likewise.
5522 (cos_test_towardzero): Likewise.
5523 (cos_test_downward): Likewise.
5524 (cos_test_upward): Likewise.
5525 (cosh_test): Likewise.
5526 (cosh_test_tonearest): Likewise.
5527 (cosh_test_towardzero): Likewise.
5528 (cosh_test_downward): Likewise.
5529 (cosh_test_upward): Likewise.
5530 (cpow_test): Use END_COMPLEX macro without arguments.
5531 (cproj_test): Likewise.
5532 (creal_test): Use END macro without arguments.
5533 (csin_test): Use END_COMPLEX macro without arguments.
5534 (csinh_test): Likewise.
5535 (csqrt_test): Likewise.
5536 (ctan_test): Likewise.
5537 (ctan_test_tonearest): Likewise.
5538 (ctan_test_towardzero): Likewise.
5539 (ctan_test_downward): Likewise.
5540 (ctan_test_upward): Likewise.
5541 (ctanh_test): Likewise.
5542 (ctanh_test_tonearest): Likewise.
5543 (ctanh_test_towardzero): Likewise.
5544 (ctanh_test_downward): Likewise.
5545 (ctanh_test_upward): Likewise.
5546 (erf_test): Use END macro without arguments.
5547 (erfc_test): Likewise.
5548 (exp_test): Likewise.
5549 (exp_test_tonearest): Likewise.
5550 (exp_test_towardzero): Likewise.
5551 (exp_test_downward): Likewise.
5552 (exp_test_upward): Likewise.
5553 (exp10_test): Likewise.
5554 (exp2_test): Likewise.
5555 (expm1_test): Likewise.
5556 (fabs_test): Likewise.
5557 (fdim_test): Likewise.
5558 (finite_test): Likewise.
5559 (floor_test): Likewise.
5560 (fma_test): Likewise.
5561 (fma_test_towardzero): Likewise.
5562 (fma_test_downward): Likewise.
5563 (fma_test_upward): Likewise.
5564 (fmax_test): Likewise.
5565 (fmin_test): Likewise.
5566 (fmod_test): Likewise.
5567 (fpclassify_test): Likewise.
5568 (frexp_test): Likewise.
5569 (gamma_test): Likewise.
5570 (hypot_test): Likewise.
5571 (ilogb_test): Likewise.
5572 (isfinite_test): Likewise.
5573 (isgreater_test): Likewise.
5574 (isgreaterequal_test): Likewise.
5575 (isinf_test): Likewise.
5576 (isless_test): Likewise.
5577 (islessequal_test): Likewise.
5578 (islessgreater_test): Likewise.
5579 (isnan_test): Likewise.
5580 (isnormal_test): Likewise.
5581 (issignaling_test): Likewise.
5582 (isunordered_test): Likewise.
5583 (j0_test): Likewise.
5584 (j1_test): Likewise.
5585 (jn_test): Likewise.
5586 (ldexp_test): Likewise.
5587 (lgamma_test): Likewise.
5588 (lrint_test): Likewise.
5589 (lrint_test_tonearest): Likewise.
5590 (lrint_test_towardzero): Likewise.
5591 (lrint_test_downward): Likewise.
5592 (lrint_test_upward): Likewise.
5593 (llrint_test): Likewise.
5594 (llrint_test_tonearest): Likewise.
5595 (llrint_test_towardzero): Likewise.
5596 (llrint_test_downward): Likewise.
5597 (llrint_test_upward): Likewise.
5598 (log_test): Likewise.
5599 (log10_test): Likewise.
5600 (log1p_test): Likewise.
5601 (log2_test): Likewise.
5602 (logb_test): Likewise.
5603 (logb_test_downward): Likewise.
5604 (lround_test): Likewise.
5605 (llround_test): Likewise.
5606 (modf_test): Likewise.
5607 (nearbyint_test): Likewise.
5608 (nextafter_test): Likewise.
5609 (nexttoward_test): Likewise.
5610 (pow_test): Likewise.
5611 (pow_test_tonearest): Likewise.
5612 (pow_test_towardzero): Likewise.
5613 (pow_test_downward): Likewise.
5614 (pow_test_upward): Likewise.
5615 (remainder_test): Likewise.
5616 (remainder_test_tonearest): Likewise.
5617 (remainder_test_towardzero): Likewise.
5618 (remainder_test_downward): Likewise.
5619 (remainder_test_upward): Likewise.
5620 (remquo_test): Likewise.
5621 (rint_test): Likewise.
5622 (rint_test_tonearest): Likewise.
5623 (rint_test_towardzero): Likewise.
5624 (rint_test_downward): Likewise.
5625 (rint_test_upward): Likewise.
5626 (round_test): Likewise.
5627 (scalb_test): Likewise.
5628 (scalbn_test): Likewise.
5629 (scalbln_test): Likewise.
5630 (signbit_test): Likewise.
5631 (sin_test): Likewise.
5632 (sin_test_tonearest): Likewise.
5633 (sin_test_towardzero): Likewise.
5634 (sin_test_downward): Likewise.
5635 (sin_test_upward): Likewise.
5636 (sincos_test): Likewise.
5637 (sinh_test): Likewise.
5638 (sinh_test_tonearest): Likewise.
5639 (sinh_test_towardzero): Likewise.
5640 (sinh_test_downward): Likewise.
5641 (sinh_test_upward): Likewise.
5642 (sqrt_test): Likewise.
5643 (tan_test): Likewise.
5644 (tan_test_tonearest): Likewise.
5645 (tan_test_towardzero): Likewise.
5646 (tan_test_downward): Likewise.
5647 (tan_test_upward): Likewise.
5648 (tanh_test): Likewise.
5649 (tgamma_test): Likewise.
5650 (trunc_test): Likewise.
5651 (y0_test): Likewise.
5652 (y1_test): Likewise.
5653 (yn_test): Likewise.
5654 (significand_test): Likewise.
5655
bae143d2
OB
56562013-05-24 Ondřej Bílka <neleai@seznam.cz>
5657
5658 [BZ #15381]
5659 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5660
9323d39b
EM
56612013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5662
d4ea44a0 5663 [BZ #14894]
9323d39b
EM
5664 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5665 __ppc_mdoio and __ppc_mdoom.
5666 * manual/platform.texi: Document new functions __ppc_yield,
5667 __ppc_mdoio and __ppc_mdoom.
5668
13e23af7
CD
56692013-05-22 Carlos O'Donell <carlos@redhat.com>
5670
5671 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5672 (main): Mention "tls" pseudo-hwcap is legacy.
5673 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5674
351fe550
JM
56752013-05-22 Joseph Myers <joseph@codesourcery.com>
5676
5677 * math/gen-libm-test.pl (parse_args): Output only string of
5678 arguments as text for test name, not full call or descriptions of
5679 tests for extra outputs.
5680 (generate_testfile): Do not pass function name to parse_args.
5681 Generate this_func variable from START.
5682 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5683 field to arg_str.
5684 (struct test_ff_f_data): Likewise.
5685 (test_ff_f_data_nexttoward): Likewise.
5686 (struct test_fi_f_data): Likewise.
5687 (struct test_fl_f_data): Likewise.
5688 (struct test_if_f_data): Likewise.
5689 (struct test_fff_f_data): Likewise.
5690 (struct test_c_f_data): Likewise.
5691 (struct test_f_f1_data): Likewise. Remove field extra_name.
5692 (struct test_fF_f1_data): Likewise.
5693 (struct test_ffI_f1_data): Likewise.
5694 (struct test_c_c_data): Rename test_name field to arg_str.
5695 (struct test_cc_c_data): Likewise.
5696 (struct test_f_i_data): Likewise.
5697 (struct test_ff_i_data): Likewise.
5698 (struct test_f_l_data): Likewise.
5699 (struct test_f_L_data): Likewise.
5700 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5701 and extra2_name.
5702 (COMMON_TEST_SETUP): New macro.
5703 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5704 (COMMON_TEST_CLEANUP): Likewise.
5705 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5706 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5707 macros.
5708 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5709 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5710 macros.
5711 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5712 (RUN_TEST_fff_f): Take argument string. Call new setup and
5713 cleanup macros.
5714 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5715 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5716 macros.
5717 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5718 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5719 macros.
5720 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5721 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5722 cleanup macros.
5723 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5724 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5725 cleanup macros.
5726 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5727 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5728 cleanup macros.
5729 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5730 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5731 macros.
5732 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5733 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5734 macros.
5735 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5736 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5737 macros.
5738 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5739 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5740 cleanup macros.
5741 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5742 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5743 cleanup macros.
5744 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5745 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5746 macros.
5747 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5748 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5749 cleanup macros.
5750 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5751 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5752 macros.
5753 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5754 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5755 macros.
5756 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5757 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5758 cleanup macros.
5759 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5760
85118d4d
EBM
57612013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5762
5763 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5764 to _sifields.sigfault.
5765 (si_addr_lsb): Define new macro.
5766 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5767 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5768 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5769
7a44c18f
CD
57702013-05-03 Carlos O'Donell <carlos at redhat.com>
5771
5772 [BZ #15441]
5773 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5774 returns -1.
5775 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5776 null return -1.
5777 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5778 loading the domain.
5779
b50a7181
JM
57802013-05-22 Joseph Myers <joseph@codesourcery.com>
5781
5782 * math/gen-libm-test.pl (parse_args): Do not include expected
5783 result in test name.
5784 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5786 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5787 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5788 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5790
051063c8
SP
57912013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5792
3ce9e010
SP
5793 * benchtests/Makefile: Sort function entries.
5794
051063c8
SP
5795 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5796 tanh, asinh, acosh, atanh.
5797 * benchtests/acos-inputs: New file.
5798 * benchtests/acosh-inputs: New file.
5799 * benchtests/asin-inputs: New file.
5800 * benchtests/asinh-inputs: New file.
5801 * benchtests/atanh-inputs: New file.
5802 * benchtests/cosh-inputs: New file.
5803 * benchtests/log-inputs: New file.
5804 * benchtests/sinh-inputs: New file.
5805 * benchtests/tanh-inputs: New file.
5806
47c22455
DL
58072013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5808
5809 [BZ #15339]
5810 * posix/tst-getaddrinfo4.c: New test.
5811 * posix/Makefile (tests): Add it.
5812
3d04f5db
SP
58132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5814
5815 [BZ #15339]
5816 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5817 when no services were used.
5818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5819 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5820
d5dd6189
AS
58212013-05-21 Andreas Schwab <schwab@suse.de>
5822
5823 [BZ #15014]
5824 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5825 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5826 successful.
5827 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5828 redundant variable declarations and reallocation of buffer when
5829 parsing as IPv6 address. Always set NSS status when called from
5830 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5831 buffer too small. Correct computation of needed size.
5832 * nss/Makefile (tests): Add test-digits-dots.
5833 * nss/test-digits-dots.c: New test.
5834
fef94eab
SP
58352013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
5837 * benchtests/Makefile: Remove instructions for adding
5838 benchmark tests.
5839 * benchtests/README: New file to explain how to execute and
5840 enhance the benchmark tests.
5841
e39adf43
AS
58422013-05-21 Andreas Schwab <schwab@suse.de>
5843
5844 [BZ #15493]
5845 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5846 * setjmp/tst-sigsetjmp.c: New test.
5847
b2b671b6
OB
58482013-05-20 Ondřej Bílka <neleai@seznam.cz>
5849
5850 * sysdeps/x86_64/memset.S (memset): New implementation.
5851 (__bzero): Likewise.
5852 (__memset_tail): New function.
5853
2d48b41c
OB
58542013-05-20 Ondřej Bílka <neleai@seznam.cz>
5855
5856 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5857 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5858 __memcpy_sse2_unaligned ifunc selection.
5859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5860 Add memcpy-sse2-unaligned.S.
5861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5862 Add: __memcpy_sse2_unaligned.
5863
f16cc3eb
JM
58642013-05-19 Joseph Myers <joseph@codesourcery.com>
5865
3e694268
JM
5866 [BZ #15490]
5867 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5868 math_force_eval before restoring floating-point envrionment.
5869 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5871 Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5873 <math_private.h>.
5874 (__nearbyintl): Use math_force_eval before restoring
5875 floating-point environment.
5876 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5877
db62a907
JM
5878 * math/gen-libm-test.pl (special_functions): Remove.
5879 (parse_args): Don't handle TEST_extra. Handle functions with no
5880 return value.
5881 * math/libm-test.inc (struct test_sincos_data): Replace with
5882 struct test_fFF_11_data.
5883 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5884 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5885 (sincos_test_data): Change element type to struct
5886 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5887 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5888 RUN_TEST_LOOP_sincos.
5889 * math/README.libm-test: Don't mention special handling of
5890 individual functions.
5891 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5893 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5894 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5895 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897
f16cc3eb
JM
5898 * math/gen-libm-test.pl (get_variable): Remove function.
5899 (parse_args): Don't show pointer parameters to call in test
5900 names. Use "extra output N" in test names for extra outputs
5901 rather than naming variables.
5902
3779b5b6
JM
59032013-05-18 Joseph Myers <joseph@codesourcery.com>
5904
2ee094ff
JM
5905 [BZ #15488]
5906 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5907 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5908 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5909 double tests.
5910 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5911 disable.
5912 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5913 check_long_double.
5914
3779b5b6
JM
5915 * math/gen-libm-test.pl (@tests): Remove variable.
5916 ($count): Likewise.
5917 (new_test): Remove function.
5918 (show_exceptions): New function.
5919 (special_functions): Use show_exceptions instead of new_test.
5920 (parse_args): Likewise.
5921 (generate_testfile): Pass only function name in generated call to
5922 print_max_error or print_complex_max_error.
5923 (get_ulps): Do not handle complex tests specially.
5924 (output_test): Rename to ...
5925 (get_all_ulps_for_test): ... this. Return a string rather than
5926 printing to a file. Require ulps to be present.
5927 (output_ulps): Generate arrays rather than #defines.
5928 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5929 (struct ulp_data): New type.
5930 (BUILD_COMPLEX_ULP): Remove macro.
5931 (compare_ulp_data): New function.
5932 (find_ulps): Likewise.
5933 (find_test_ulps): Likewise.
5934 (find_function_ulps): Likewise.
5935 (find_complex_function_ulps): Likewise.
5936 (print_max_error): Determine allowed ulps using
5937 find_function_ulps.
5938 (print_complex_max_error): Determine allowed ulps using
5939 find_complex_function_ulps.
5940 (check_float_internal): Determine max ulps using find_test_ulps.
5941 (check_float): Do not take max_ulp parameter. Update call to
5942 check_float_internal.
5943 (check_complex): Likewise.
5944 (check_int): Do not take max_ulp parameter.
5945 (check_long): Likewise.
5946 (check_bool): Likewise.
5947 (check_longlong): Likewise.
5948 (struct test_f_f_data): Remove max_ulp field.
5949 (struct test_ff_f_data): Likewise.
5950 (struct test_ff_f_data_nexttoward): Likewise.
5951 (struct test_fi_f_data): Likewise.
5952 (struct test_fl_f_data): Likewise.
5953 (struct test_if_f_data): Likewise.
5954 (struct test_fff_f_data): Likewise.
5955 (struct test_c_f_data): Likewise.
5956 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5957 (struct test_fF_f1_data): Likewise.
5958 (struct test_ffI_f1_data): Likewise.
5959 (struct test_c_c_data): Remove max_ulp field.
5960 (struct test_cc_c_data): Likewise.
5961 (struct test_f_i_data): Likewise.
5962 (struct test_ff_i_data): Likewise.
5963 (struct test_f_l_data): Likewise.
5964 (struct test_f_L_data): Likewise.
5965 (struct test_sincos_data): Likewise.
5966 (RUN_TEST_f_f): Do not handle ulps.
5967 (RUN_TEST_LOOP_f_f): Likewise.
5968 (RUN_TEST_2_f): Likewise.
5969 (RUN_TEST_LOOP_2_f): Likewise.
5970 (RUN_TEST_fff_f): Likewise.
5971 (RUN_TEST_LOOP_fff_f): Likewise.
5972 (RUN_TEST_c_f): Likewise.
5973 (RUN_TEST_LOOP_c_f): Likewise.
5974 (RUN_TEST_f_f1): Likewise.
5975 (RUN_TEST_LOOP_f_f1): Likewise.
5976 (RUN_TEST_fF_f1): Likewise.
5977 (RUN_TEST_LOOP_fF_f1): Likewise.
5978 (RUN_TEST_fI_f1): Likewise.
5979 (RUN_TEST_LOOP_fI_f1): Likewise.
5980 (RUN_TEST_ffI_f1): Likewise.
5981 (RUN_TEST_LOOP_ffI_f1): Likewise.
5982 (RUN_TEST_c_c): Likewise.
5983 (RUN_TEST_LOOP_c_c): Likewise.
5984 (RUN_TEST_cc_c): Likewise.
5985 (RUN_TEST_LOOP_cc_c): Likewise.
5986 (RUN_TEST_f_i): Likewise.
5987 (RUN_TEST_LOOP_f_i): Likewise.
5988 (RUN_TEST_f_i_tg): Likewise.
5989 (RUN_TEST_LOOP_f_i_tg): Likewise.
5990 (RUN_TEST_ff_i_tg): Likewise.
5991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5992 (RUN_TEST_f_b): Likewise.
5993 (RUN_TEST_LOOP_f_b): Likewise.
5994 (RUN_TEST_f_b_tg): Likewise.
5995 (RUN_TEST_LOOP_f_b_tg): Likewise.
5996 (RUN_TEST_f_l): Likewise.
5997 (RUN_TEST_LOOP_f_l): Likewise.
5998 (RUN_TEST_f_L): Likewise.
5999 (RUN_TEST_LOOP_f_L): Likewise.
6000 (RUN_TEST_sincos): Likewise.
6001 (RUN_TEST_LOOP_sincos): Likewise.
6002
8269107f
JM
60032013-05-17 Joseph Myers <joseph@codesourcery.com>
6004
bb38759d
JM
6005 [BZ #15480]
6006 [BZ #15485]
6007 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6008 main case of finite arguments, set rounding mode to FE_TONEAREST
6009 and discard exceptions.
6010 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6011 exceptions.
6012 (remainder_tonearest_test_data): New variable.
6013 (remainder_test_tonearest): New function.
6014 (remainder_towardzero_test_data): New variable.
6015 (remainder_test_towardzero): New function.
6016 (remainder_downward_test_data): New variable.
6017 (remainder_test_downward): New function.
6018 (remainder_upward_test_data): New variable.
6019 (remainder_test_upward): New function.
6020 (main): Call the new test functions.
6021
a00bdcf0
JM
6022 * math/libm-test.inc (struct test_f_f1_data): Remove field
6023 extra_init.
6024 (struct test_fF_f1_data): Likewise.
6025 (struct test_ffI_f1_data): Likewise.
6026 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6027 based on value of EXTRA_EXPECTED.
6028 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6029 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6030 EXTRA_VAR based on value of EXTRA_EXPECTED.
6031 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6032 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6033 EXTRA_VAR based on value of EXTRA_EXPECTED.
6034 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6035 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6036 EXTRA_VAR based on value of EXTRA_EXPECTED.
6037 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6038 * math/gen-libm-test.pl (parse_args): Don't output initializers
6039 for extra output values.
6040
de407f79
JM
6041 * math/libm-test.inc (check_int): Expect result to be exactly
6042 equal to expected value and do not handle ulps.
6043 (check_long): Likewise.
6044 (check_longlong): Likewise.
6045
8269107f
JM
6046 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6047 exceptions.
6048 (cimag_test_data): Likewise.
6049 (conj_test_data): Likewise.
6050 (copysign_test_data): Likewise.
6051 (cproj_test_data): Likewise.
6052 (creal_test_data): Likewise.
6053 (fabs_test_data): Likewise.
6054 (fdim_test_data): Likewise.
6055 (finite_test_data): Likewise.
6056 (floor_test_data): Likewise.
6057 (fmax_test_data): Likewise.
6058 (fmin_test_data): Likewise.
6059 (fmod_test_data): Likewise.
6060 (fpclassify_test_data): Likewise.
6061 (frexp_test_data): Likewise.
6062 (ilogb_test_data): Likewise.
6063 (isfinite_test_data): Likewise.
6064 (isgreater_test_data): Likewise.
6065 (isgreaterequal_test_data): Likewise.
6066 (isinf_test_data): Likewise.
6067 (isless_test_data): Likewise.
6068 (islessequal_test_data): Likewise.
6069 (islessgreater_test_data): Likewise.
6070 (isnan_test_data): Likewise.
6071 (isnormal_test_data): Likewise.
6072 (issignaling_test_data): Likewise.
6073 (isunordered_test_data): Likewise.
6074 (ldexp_test_data): Likewise.
6075 (lrint_test_data): Likewise.
6076 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6077 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6078 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6079 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6080 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6081 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6082 test input.
6083 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6084 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6085 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6086 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6087 that test input.
6088 (lrint_downward_test_data): Test for "inexact" exceptions.
6089 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6090 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6091 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6092 test input.
6093 (lrint_upward_test_data): Test for "inexact" exceptions.
6094 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6095 test input.
6096 (llrint_test_data): Test for "inexact" exceptions.
6097 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6098 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6099 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6100 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6101 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6102 (llrint_downward_test_data): Test for "inexact" exceptions.
6103 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6104 (llrint_upward_test_data): Test for "inexact" exceptions.
6105 (logb_test_data): Likewise.
6106 (logb_downward_test_data): Likewise.
6107 (nextafter_test_data): Likewise.
6108 (nexttoward_test_data): Likewise.
6109 (remainder_test_data): Likewise.
6110 (remquo_test_data): Likewise.
6111 (scalbn_test_data): Likewise.
6112 (scalbln_test_data): Likewise.
6113 (signbit_test_data): Likewise.
6114 (sqrt_test_data): Likewise.
6115 (significand_test_data): Likewise.
6116
48a18de1
SP
61172013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6118
6119 [BZ #15424]
6120 * benchtests/bench-modf.c (struct args): Mark arg0 as
6121 volatile.
6122 * scripts/bench.pl: Mark members of struct args as volatile.
6123
13d3b41a
AZ
61242013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125
68191c1d 6126 [BZ # 15497]
13d3b41a
AZ
6127 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6128 negative infinity on POWER6 or lower.
6129 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6130
2848b105
MR
61312013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6132
6133 [BZ #15442]
6134 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6135 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6136 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6137 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6138 (_FP_SETQNAN): New macro.
6139 (_FP_SETQNAN_SEMIRAW): Likewise.
6140 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6141 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6142 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6143 (FP_EXTEND): Use _FP_FRAC_SNANP.
6144 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6145 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6146 into account.
6147 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6148 New macro.
6149 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6150 Likewise.
6151
323e5cb7
JM
61522013-05-16 Joseph Myers <joseph@codesourcery.com>
6153
c58b274f
JM
6154 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6155 with DIVIDE_BY_ZERO_EXCEPTION.
6156 (gamma_test_data): Likewise.
6157 (lgamma_test_data): Likewise.
6158 (log_test_data): Likewise.
6159 (log10_test_data): Likewise.
6160 (log2_test_data): Likewise.
6161 (tgamma_test_data): Likewise.
6162
0ab34904
JM
6163 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6164 (acos_test_tonearest): Likewise.
6165 (acos_test_towardzero): Likewise.
6166 (acos_test_downward): Likewise.
6167 (acos_test_upward): Likewise.
6168 (acosh_test): Likewise.
6169 (asin_test): Likewise.
6170 (asin_test_tonearest): Likewise.
6171 (asin_test_towardzero): Likewise.
6172 (asin_test_downward): Likewise.
6173 (asin_test_upward): Likewise.
6174 (asinh_test): Likewise.
6175 (atan_test): Likewise.
6176 (atanh_test): Likewise.
6177 (atan2_test): Likewise.
6178 (cabs_test): Likewise.
6179 (cacos_test): Likewise.
6180 (cacosh_test): Likewise.
6181 (casin_test): Likewise.
6182 (casinh_test): Likewise.
6183 (catan_test): Likewise.
6184 (catanh_test): Likewise.
6185 (cbrt_test): Likewise.
6186 (ccos_test): Likewise.
6187 (ccosh_test): Likewise.
6188 (cexp_test): Likewise.
6189 (clog_test): Likewise.
6190 (clog10_test): Likewise.
6191 (cos_test): Likewise.
6192 (cos_test_tonearest): Likewise.
6193 (cos_test_towardzero): Likewise.
6194 (cos_test_downward): Likewise.
6195 (cos_test_upward): Likewise.
6196 (cosh_test): Likewise.
6197 (cosh_test_tonearest): Likewise.
6198 (cosh_test_towardzero): Likewise.
6199 (cosh_test_downward): Likewise.
6200 (cosh_test_upward): Likewise.
6201 (cpow_test): Likewise.
6202 (csin_test): Likewise.
6203 (csinh_test): Likewise.
6204 (csqrt_test): Likewise.
6205 (ctan_test): Likewise.
6206 (ctan_test_tonearest): Likewise.
6207 (ctan_test_towardzero): Likewise.
6208 (ctan_test_downward): Likewise.
6209 (ctan_test_upward): Likewise.
6210 (ctanh_test): Likewise.
6211 (ctanh_test_tonearest): Likewise.
6212 (ctanh_test_towardzero): Likewise.
6213 (ctanh_test_downward): Likewise.
6214 (ctanh_test_upward): Likewise.
6215 (erf_test): Likewise.
6216 (erfc_test): Likewise.
6217 (exp_test): Likewise.
6218 (exp_test_tonearest): Likewise.
6219 (exp_test_towardzero): Likewise.
6220 (exp_test_downward): Likewise.
6221 (exp_test_upward): Likewise.
6222 (exp10_test): Likewise.
6223 (exp2_test): Likewise.
6224 (expm1_test): Likewise.
6225 (fmod_test): Likewise.
6226 (gamma_test): Likewise.
6227 (hypot_test): Likewise.
6228 (j0_test): Likewise.
6229 (j1_test): Likewise.
6230 (jn_test): Likewise.
6231 (lgamma_test): Likewise.
6232 (log_test): Likewise.
6233 (log10_test): Likewise.
6234 (log1p_test): Likewise.
6235 (log2_test): Likewise.
6236 (logb_test_downward): Likewise.
6237 (pow_test): Likewise.
6238 (pow_test_tonearest): Likewise.
6239 (pow_test_towardzero): Likewise.
6240 (pow_test_downward): Likewise.
6241 (pow_test_upward): Likewise.
6242 (remainder_test): Likewise.
6243 (remquo_test): Likewise.
6244 (sin_test): Likewise.
6245 (sin_test_tonearest): Likewise.
6246 (sin_test_towardzero): Likewise.
6247 (sin_test_downward): Likewise.
6248 (sin_test_upward): Likewise.
6249 (sincos_test): Likewise.
6250 (sinh_test): Likewise.
6251 (sinh_test_tonearest): Likewise.
6252 (sinh_test_towardzero): Likewise.
6253 (sinh_test_downward): Likewise.
6254 (sinh_test_upward): Likewise.
6255 (sqrt_test): Likewise.
6256 (tan_test): Likewise.
6257 (tan_test_tonearest): Likewise.
6258 (tan_test_towardzero): Likewise.
6259 (tan_test_downward): Likewise.
6260 (tan_test_upward): Likewise.
6261 (tanh_test): Likewise.
6262 (tgamma_test): Likewise.
6263 (y0_test): Likewise.
6264 (y1_test): Likewise.
6265 (yn_test): Likewise.
6266
323e5cb7
JM
6267 * math/gen-libm-test.pl (adjust_arg): Remove function.
6268 (special_function): Remove argument $in_func. Only handle
6269 generating output for tables of tests, not inside functions.
6270 (parse_args): Likewise.
6271 (generate_testfile): Remove variable $in_func. Update call to
6272 parse_args.
6273 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6274 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6275 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6276 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6277 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6278 (MAX_VALUE_INIT): Rename macro to max_value.
6279 (MIN_VALUE_INIT): Rename macro to min_value.
6280 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6281 (plus_zero): Remove variable.
6282 (minus_zero): Likewise.
6283 (plus_infty): Likewise.
6284 (minus_infty): Likewise.
6285 (qnan_value): Likewise.
6286 (max_value): Likewise.
6287 (min_value): Likewise.
6288 (min_subnorm_value): Likewise.
6289
e054f494
RA
62902013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6291
6292 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6293 uint64_t or uint32_t usage.
6294 * crypt/sha256-block.c: Likewise.
6295 * crypt/sha256-crypt.c: Likewise.
6296 * crypt/sha256.c: Likewise.
6297 * crypt/sha512-block.c: Likewise.
6298 * crypt/sha512-crypt.c: Likewise.
6299 * crypt/sha512.c: Likewise.
6300 * debug/backtrace-tst.c: Likewise.
6301 * debug/pcprofiledump.c: Likewise.
6302 * elf/cache.c: Likewise.
6303 * elf/dl-cache.c: Likewise.
6304 * elf/dl-misc.c: Likewise.
6305 * elf/dl-profile.c: Likewise.
6306 * elf/dl-support.c: Likewise.
6307 * elf/ldconfig.c: Likewise.
6308 * elf/sprof.c: Likewise.
6309 * iconv/dummy-repertoire.c: Likewise.
6310 * iconv/iconv_charmap.c: Likewise.
6311 * iconv/skeleton.c: Likewise.
6312 * iconvdata/8bit-generic.c: Likewise.
6313 * iconvdata/cp737.h: Likewise.
6314 * iconvdata/cp775.h: Likewise.
6315 * iconvdata/ibm1008.h: Likewise.
6316 * iconvdata/ibm1025.h: Likewise.
6317 * iconvdata/ibm1046.h: Likewise.
6318 * iconvdata/ibm1097.h: Likewise.
6319 * iconvdata/ibm1112.h: Likewise.
6320 * iconvdata/ibm1122.h: Likewise.
6321 * iconvdata/ibm1123.h: Likewise.
6322 * iconvdata/ibm1124.h: Likewise.
6323 * iconvdata/ibm1129.h: Likewise.
6324 * iconvdata/ibm1130.h: Likewise.
6325 * iconvdata/ibm1132.h: Likewise.
6326 * iconvdata/ibm1133.h: Likewise.
6327 * iconvdata/ibm1137.h: Likewise.
6328 * iconvdata/ibm1140.h: Likewise.
6329 * iconvdata/ibm1141.h: Likewise.
6330 * iconvdata/ibm1142.h: Likewise.
6331 * iconvdata/ibm1143.h: Likewise.
6332 * iconvdata/ibm1144.h: Likewise.
6333 * iconvdata/ibm1145.h: Likewise.
6334 * iconvdata/ibm1146.h: Likewise.
6335 * iconvdata/ibm1147.h: Likewise.
6336 * iconvdata/ibm1148.h: Likewise.
6337 * iconvdata/ibm1149.h: Likewise.
6338 * iconvdata/ibm1153.h: Likewise.
6339 * iconvdata/ibm1154.h: Likewise.
6340 * iconvdata/ibm1155.h: Likewise.
6341 * iconvdata/ibm1156.h: Likewise.
6342 * iconvdata/ibm1157.h: Likewise.
6343 * iconvdata/ibm1158.h: Likewise.
6344 * iconvdata/ibm1160.h: Likewise.
6345 * iconvdata/ibm1161.h: Likewise.
6346 * iconvdata/ibm1162.h: Likewise.
6347 * iconvdata/ibm1163.h: Likewise.
6348 * iconvdata/ibm1164.h: Likewise.
6349 * iconvdata/ibm1166.h: Likewise.
6350 * iconvdata/ibm1167.h: Likewise.
6351 * iconvdata/ibm12712.h: Likewise.
6352 * iconvdata/ibm1390.h: Likewise.
6353 * iconvdata/ibm1399.h: Likewise.
6354 * iconvdata/ibm16804.h: Likewise.
6355 * iconvdata/ibm4517.h: Likewise.
6356 * iconvdata/ibm4899.h: Likewise.
6357 * iconvdata/ibm4909.h: Likewise.
6358 * iconvdata/ibm4971.h: Likewise.
6359 * iconvdata/ibm5347.h: Likewise.
6360 * iconvdata/ibm803.h: Likewise.
6361 * iconvdata/ibm856.h: Likewise.
6362 * iconvdata/ibm901.h: Likewise.
6363 * iconvdata/ibm902.h: Likewise.
6364 * iconvdata/ibm9030.h: Likewise.
6365 * iconvdata/ibm9066.h: Likewise.
6366 * iconvdata/ibm921.h: Likewise.
6367 * iconvdata/ibm922.h: Likewise.
6368 * iconvdata/ibm9448.h: Likewise.
6369 * iconvdata/isiri-3342.h: Likewise.
6370 * iconvdata/jis0201.h: Likewise.
6371 * include/link.h: Likewise.
6372 * include/netdb.h: Likewise.
6373 * inet/check_native.c: Likewise.
6374 * inet/check_pf.c: Likewise.
6375 * inet/getipv4sourcefilter.c: Likewise.
6376 * inet/getnameinfo.c: Likewise.
6377 * inet/getsourcefilter.c: Likewise.
6378 * inet/htonl.c: Likewise.
6379 * inet/setipv4sourcefilter.c: Likewise.
6380 * inet/setsourcefilter.c: Likewise.
6381 * inet/test-inet6_opt.c: Likewise.
6382 * inet/tst-network.c: Likewise.
6383 * locale/C-collate.c: Likewise.
6384 * locale/C-ctype.c: Likewise.
6385 * locale/C-time.c: Likewise.
6386 * locale/C-translit.h: Likewise.
6387 * locale/loadarchive.c: Likewise.
6388 * locale/programs/3level.h: Likewise.
6389 * locale/programs/charmap.c: Likewise.
6390 * locale/programs/charmap.h: Likewise.
6391 * locale/programs/ld-address.c: Likewise.
6392 * locale/programs/ld-collate.c: Likewise.
6393 * locale/programs/ld-ctype.c: Likewise.
6394 * locale/programs/ld-identification.c: Likewise.
6395 * locale/programs/ld-measurement.c: Likewise.
6396 * locale/programs/ld-messages.c: Likewise.
6397 * locale/programs/ld-monetary.c: Likewise.
6398 * locale/programs/ld-name.c: Likewise.
6399 * locale/programs/ld-numeric.c: Likewise.
6400 * locale/programs/ld-paper.c: Likewise.
6401 * locale/programs/ld-telephone.c: Likewise.
6402 * locale/programs/ld-time.c: Likewise.
6403 * locale/programs/linereader.c: Likewise.
6404 * locale/programs/locale.c: Likewise.
6405 * locale/programs/locarchive.c: Likewise.
6406 * locale/programs/locfile.h: Likewise.
6407 * locale/programs/repertoire.c: Likewise.
6408 * locale/programs/simple-hash.c: Likewise.
6409 * locale/programs/simple-hash.h: Likewise.
6410 * malloc/memusage.c: Likewise.
6411 * malloc/memusagestat.c: Likewise.
6412 * nis/nis_defaults.c: Likewise.
6413 * nis/nis_hash.c: Likewise.
6414 * nis/nis_print.c: Likewise.
6415 * nis/nis_xdr.c: Likewise.
6416 * nscd/connections.c: Likewise.
6417 * nscd/hstcache.c: Likewise.
6418 * nscd/nscd_gethst_r.c: Likewise.
6419 * nscd/nscd_getserv_r.c: Likewise.
6420 * nscd/nscd_helper.c: Likewise.
6421 * nscd/servicescache.c: Likewise.
6422 * nss/makedb.c: Likewise.
6423 * nss/nss_db/db-XXX.c: Likewise.
6424 * nss/nss_db/db-initgroups.c: Likewise.
6425 * nss/nss_db/db-netgrp.c: Likewise.
6426 * nss/nss_files/files-network.c: Likewise.
6427 * nss/nss_files/files-parse.c: Likewise.
6428 * posix/bug-regex5.c: Likewise.
6429 * posix/fnmatch_loop.c: Likewise.
6430 * posix/regcomp.c: Likewise.
6431 * posix/regexec.c: Likewise.
6432 * posix/tst-rfc3484-2.c: Likewise.
6433 * posix/tst-rfc3484-3.c: Likewise.
6434 * posix/tst-rfc3484.c: Likewise.
6435 * resolv/nss_dns/dns-canon.c: Likewise.
6436 * resolv/nss_dns/dns-network.c: Likewise.
6437 * resolv/res_init.c: Likewise.
6438 * resolv/res_mkquery.c: Likewise.
6439 * resolv/tst-aton.c: Likewise.
6440 * stdlib/cxa_atexit.c: Likewise.
6441 * stdlib/cxa_finalize.c: Likewise.
6442 * stdlib/gen-fpioconst.c: Likewise.
6443 * stdlib/strtol_l.c: Likewise.
6444 * string/tst-endian.c: Likewise.
6445 * sunrpc/auth_des.c: Likewise.
6446 * sunrpc/clnt_udp.c: Likewise.
6447 * sunrpc/rtime.c: Likewise.
6448 * sunrpc/svcauth_des.c: Likewise.
6449 * sunrpc/xdr.c: Likewise.
6450 * sunrpc/xdr_intXX_t.c: Likewise.
6451 * sunrpc/xdr_rec.c: Likewise.
6452 * sysdeps/generic/ldconfig.h: Likewise.
6453 * sysdeps/generic/ldsodefs.h: Likewise.
6454 * sysdeps/generic/memusage.h: Likewise.
6455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6465 * sysdeps/posix/getaddrinfo.c: Likewise.
6466 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6467 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6468 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6470 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6471 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6472 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6473 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6474 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6475 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6476 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6477 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6478 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6479 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6481 * sysdeps/x86_64/dl-tls.h: Likewise.
6482 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6483 * time/alt_digit.c: Likewise.
6484 * time/era.c: Likewise.
6485 * wcsmbs/tst-c16c32-1.c: Likewise.
6486
8c75f674
JM
64872013-05-16 Joseph Myers <joseph@codesourcery.com>
6488
6489 * math/libm-test.inc (struct test_sincos_data): New type.
6490 (RUN_TEST_LOOP_sincos): New macro.
6491 (sincos_test_data): New variable.
6492 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6493
e6e49e59
RH
64942013-05-16 Richard Henderson <rth@redhat.com>
6495
6496 * math/atest-exp2.c (LIMB64): New macro.
6497 (CONSTSZ): New macro.
6498 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6499 (hexdig): Move ...
6500 (print_mpn_fp): ... to function scope.
6501 (read_mpn_hex): Remove.
6502 (get_log2): Remove.
6503 (exp2_mpn): Use mp_log2.
6504 (main): Use mp_exp1.
6505
15c7c18d
JM
65062013-05-16 Joseph Myers <joseph@codesourcery.com>
6507
105a07df
JM
6508 * math/libm-test.inc: Remove comment about not testing "inexact"
6509 exceptions.
6510 (INEXACT_EXCEPTION): New macro.
6511 (NO_INEXACT_EXCEPTION): Likewise.
6512 (INVALID_EXCEPTION_OK): Update value.
6513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6514 (OVERFLOW_EXCEPTION_OK): Likewise.
6515 (UNDERFLOW_EXCEPTION_OK): Likewise.
6516 (IGNORE_ZERO_INF_SIGN): Likewise.
6517 (ERRNO_UNCHANGED): Likewise.
6518 (ERRNO_EDOM): Likewise.
6519 (ERRNO_ERANGE): Likewise.
6520 (test_exceptions): Handle testing "inexact" exceptions.
6521 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6522 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6523 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6524 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6525 INEXACT_EXCEPTION.
6526 (rint_towardzero_test_data): Likewise.
6527 (rint_downward_test_data): Likewise.
6528 (rint_upward_test_data): Likewise.
6529
e9eee333
JM
6530 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6531 with OVERFLOW_EXCEPTION.
6532 (exp10_test_data): Likewise.
6533 (exp2_test_data): Likewise.
6534 (expm1_test_data): Likewise.
6535 (lgamma_test_data): Likewise.
6536 (pow_test_data): Likewise.
6537 (tgamma_test_data): Likewise.
6538 (yn_test_data): Remove duplicate test of overflow.
6539
1c38ff73
JM
6540 * math/libm-test.inc (struct test_cc_c_data): New type.
6541 (RUN_TEST_LOOP_cc_c): New macro.
6542 (cpow_test_data): New variable.
6543 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6544
15c7c18d
JM
6545 * math/libm-test.inc (struct test_f_L_data): New type.
6546 (RUN_TEST_LOOP_f_L): New macro.
6547 (llrint_test_data): New variable.
6548 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6549 (llrint_tonearest_test_data): New variable.
6550 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6551 (llrint_towardzero_test_data): New variable.
6552 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6553 (llrint_downward_test_data): New variable.
6554 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6555 (llrint_upward_test_data): New variable.
6556 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6557 (llround_test_data): New variable.
6558 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6559
f137ff13
PC
65602013-05-13 Peter Collingbourne <pcc@google.com>
6561
6562 * math/atest-exp2.c (get_log2): Remove const attribute.
6563
3608cb24
JM
65642013-05-15 Joseph Myers <joseph@codesourcery.com>
6565
6566 * math/libm-test.inc (struct test_f_l_data): New type.
6567 (RUN_TEST_LOOP_f_l): New macro.
6568 (lrint_test_data): New variable.
6569 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6570 (lrint_tonearest_test_data): New variable.
6571 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6572 (lrint_towardzero_test_data): New variable.
6573 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6574 (lrint_downward_test_data): New variable.
6575 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6576 (lrint_upward_test_data): New variable.
6577 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6578 (lround_test_data): New variable.
6579 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6580
39b1f617
PC
65812013-05-15 Peter Collingbourne <pcc@google.com>
6582
1deff3dc
PC
6583 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6584 (EXTRACT_WORDS64) Use where appropriate.
6585 (INSERT_WORDS64) Likewise.
6586
791f3ba0
PC
6587 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6588 constraints with x constraints.
6589 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6590
39b1f617
PC
6591 * malloc/obstack.c (_obstack_compat): Add initializer.
6592
12fba011
EM
65932013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6594
6595 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6596 si_trapno and add si_addr_lsb to _sifields.sigfault.
6597 (si_trapno): Remove macro.
6598 (si_addr_lsb): Define new macro.
6599 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6600
d369f531
JM
66012013-05-15 Joseph Myers <joseph@codesourcery.com>
6602
b861c6c4
JM
6603 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6604 instead of TEST_f_l.
6605 (llrint_test_tonearest): Likewise.
6606 (llrint_test_towardzero): Likewise.
6607 (llrint_test_downward): Likewise.
6608 (llrint_test_upward): Likewise.
6609 (llround_test): Likewise.
6610
7abeee12
JM
6611 * math/libm-test.inc (struct test_f_i_data): Add comment.
6612 (RUN_TEST_LOOP_f_b): New macro.
6613 (RUN_TEST_LOOP_f_b_tg): Likewise.
6614 (finite_test_data): New variable.
6615 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6616 (isfinite_test_data): New variable.
6617 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6618 (isinf_test_data): New variable.
6619 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6620 (isnan_test_data): New variable.
6621 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6622 (isnormal_test_data): New variable.
6623 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6624 (issignaling_test_data): New variable.
6625 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6626 (signbit_test_data): New variable.
6627 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6628
cbe8c4d3
JM
6629 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6630 with INVALID_EXCEPTION.
6631 (acosh_test_data): Likewise.
6632 (asin_test_data): Likewise.
6633 (atanh_test_data): Likewise.
6634 (fmod_test_data): Likewise.
6635 (log_test_data): Likewise.
6636 (log10_test_data): Likewise.
6637 (log2_test_data): Likewise.
6638 (pow_test_data): Likewise.
6639 (sqrt_test_data): Likewise.
6640 (y0_test_data): Likewise.
6641 (y1_test_data): Likewise.
6642 (yn_test_data): Likewise.
6643
5575c0e5
JM
6644 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6645 function contents.
6646
d369f531
JM
6647 * math/libm-test.inc (struct test_ff_i_data): New type.
6648 (RUN_TEST_LOOP_ff_i_tg): New macro.
6649 (isgreater_test_data): New variable.
6650 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6651 (isgreaterequal_test_data): New variable.
6652 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6653 (isless_test_data): New variable.
6654 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6655 (islessequal_test_data): New variable.
6656 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6657 (islessgreater_test_data): New variable.
6658 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6659 (isunordered_test_data): New variable.
6660 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6661
781fd748
DM
66622013-05-14 David S. Miller <davem@davemloft.net>
6663
6664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6665
87aa21df
JM
66662013-05-14 Joseph Myers <joseph@codesourcery.com>
6667
5e908270
JM
6668 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6669
f71172e5
JM
6670 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6671 extra_test to int.
6672 (struct test_f_i_data): Change type of max_ulp to int.
6673
8cfa635a
JM
6674 * math/libm-test.inc (test_ffI_f1_data): New type.
6675 (RUN_TEST_LOOP_ffI_f1): New macro.
6676 (remquo_test_data): New variable.
6677 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6678
2bcb36b2
JM
6679 * setjmp/tst-setjmp-fp.c: New file.
6680 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6681 (link-libm): New variable.
6682 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6683
acbd839a
JM
6684 * math/libm-test.inc (struct test_f_i_data): New type.
6685 (RUN_TEST_LOOP_f_i): New macro.
6686 (RUN_TEST_LOOP_f_i_tg): Likewise.
6687 (fpclassify_test_data): New variable.
6688 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6689 (ilogb_test_data): New variable.
6690 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6691
e414d745
JM
6692 * math/libm-test.inc (scalbln_test): Correct function name in END
6693 call.
6694
d9c2a0fd
JM
6695 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6696 (RUN_TEST_LOOP_fI_f1): New macro.
6697 (frexp_test_data): New variable.
6698 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6699
9dc9095d
JM
6700 * math/libm-test.inc (struct test_fF_f1_data): New type.
6701 (RUN_TEST_LOOP_fF_f1): New macro.
6702 (modf_test_data): New variable.
6703 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6704
87aa21df
JM
6705 * math/libm-test.inc (struct test_f_f1_data): New type.
6706 (RUN_TEST_LOOP_f_f1): New macro.
6707 (gamma_test_data): New variable.
6708 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6709 (lgamma_test_data): New variable.
6710 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6711
141af660
CD
67122013-05-13 Carlos O'Donell <carlos@redhat.com>
6713
6714 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6715 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6716 (main): Comment "tls" pseudo-hwcap.
6717
6d33265c
JM
67182013-05-13 Joseph Myers <joseph@codesourcery.com>
6719
68fc074c
JM
6720 * math/libm-test.inc (struct test_fl_f_data): New type.
6721 (RUN_TEST_LOOP_fl_f): New variable.
6722 (scalbln_test_data): New variable.
6723 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6724
243216e1
JM
6725 * math/libm-test.inc (struct test_fi_f_data): New type.
6726 (RUN_TEST_LOOP_fi_f): New macro.
6727 (ldexp_test_data): New variable.
6728 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6729 (scalbn_test_data): New variable.
6730 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6731
6a1992e2
JM
6732 * math/libm-test.inc (struct test_c_f_data): New type.
6733 (RUN_TEST_LOOP_c_f): New macro.
6734 (cabs_test_data): New variable.
6735 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6736 (carg_test_data): New variable.
6737 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6738 (cimag_test_data): New variable.
6739 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6740 (creal_test_data): New variable.
6741 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6742
0e400df5
JM
6743 * math/libm-test.inc (struct test_if_f_data): New type.
6744 (RUN_TEST_LOOP_if_f): New macro.
6745 (jn_test_data): New variable.
6746 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6747 (yn_test_data): New variable.
6748 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6749
6d33265c
JM
6750 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6751
f98ece5f
AZ
67522013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6753
6754 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6755 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6756
0f7d347b
SP
67572013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6758
43fe811b
SP
6759 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6760 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6761 (bench-deps): Add bench-timing.h.
6762 * benchtests-bench-skeleton.c: Include bench-timing.h.
6763 (main): Use TIMING_* macros instead of clock_gettime.
6764 * benchtests/bench-timing.h: New file.
6765
0f7d347b
SP
6766 [BZ #14582]
6767 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6768 Renamed from _LIB_VERSION.
6769 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6770
601a3a5f
JM
67712013-05-12 Joseph Myers <joseph@codesourcery.com>
6772
4f184d30
JM
6773 * math/libm-test.inc (struct test_fff_f_data): New type.
6774 (RUN_TEST_LOOP_fff_f): New macro.
6775 (fma_test_data): New variable.
6776 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6777 (fma_towardzero_test_data): New variable.
6778 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6779 (fma_downward_test_data): New variable.
6780 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6781 (fma_upward_test_data): New variable.
6782 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6783
08198877
JM
6784 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6785 (struct test_c_c_data): New type.
6786 (RUN_TEST_LOOP_c_c): New macro.
6787 (cacos_test_data): New variable.
6788 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6789 (cacosh_test_data): New variable.
6790 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6791 (casin_test_data): New variable.
6792 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6793 (casinh_test_data): New variable.
6794 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6795 (catan_test_data): New variable.
6796 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6797 (catanh_test_data): New variable.
6798 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6799 (ccos_test_data): New variable.
6800 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6801 (ccosh_test_data): New variable.
6802 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6803 (cexp_test_data): New variable.
6804 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6805 (clog_test_data): New variable.
6806 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6807 (clog10_test_data): New variable.
6808 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6809 (conj_test_data): New variable.
6810 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6811 (cproj_test_data): New variable.
6812 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6813 (csin_test_data): New variable.
6814 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6815 (csinh_test_data): New variable.
6816 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6817 (csqrt_test_data): New variable.
6818 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6819 (ctan_test_data): New variable.
6820 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6821 (ctan_tonearest_test_data): New variable.
6822 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6823 (ctan_towardzero_test_data): New variable.
6824 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6825 (ctan_downward_test_data): New variable.
6826 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6827 (ctan_upward_test_data): New variable.
6828 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6829 (ctanh_test_data): New variable.
6830 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6831 (ctanh_tonearest_test_data): New variable.
6832 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6833 (ctanh_towardzero_test_data): New variable.
6834 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6835 (ctanh_downward_test_data): New variable.
6836 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6837 (ctanh_upward_test_data): New variable.
6838 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6839 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6840 of BUILD_COMPLEX.
6841
601a3a5f
JM
6842 * math/libm-test.inc (struct test_ff_f_data): New type.
6843 (struct test_ff_f_data_nexttoward): Likewise.
6844 (RUN_TEST_LOOP_2_f): New macro.
6845 (RUN_TEST_LOOP_ff_f): Likewise.
6846 (atan2_test_data): New variable.
6847 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6848 (copysign_test_data): New variable.
6849 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6850 (fdim_test_data): New variable.
6851 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6852 (fmax_test_data): New variable.
6853 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6854 (fmin_test_data): New variable.
6855 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6856 (fmod_test_data): New variable.
6857 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6858 (hypot_test_data): New variable.
6859 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6860 (nextafter_test_data): New variable.
6861 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6862 (nexttoward_test_data): New variable.
6863 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6864 (pow_test_data): New variable.
6865 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6866 (pow_tonearest_test_data): New variable.
6867 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6868 (pow_towardzero_test_data): New variable.
6869 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6870 (pow_downward_test_data): New variable.
6871 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6872 (pow_upward_test_data): New variable.
6873 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6874 (remainder_test_data): New variable.
6875 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6876 (scalb_test_data): New variable.
6877 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6878 * sysdeps/i386/fpu/libm-test-ulps: Update.
6879
74c57478
JM
68802013-05-11 Joseph Myers <joseph@codesourcery.com>
6881
8329e4da
JM
6882 * math/libm-test.inc (fma_test): Use max_value instead of local
6883 variable fltmax.
6884 (nextafter_test): Likewise.
6885
74c57478
JM
6886 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6887 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6888 (acos_downward_test_data): New variable.
6889 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6890 (acos_upward_test_data): New variable.
6891 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6892 (acosh_test_data): New variable.
6893 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6894 (asin_test_data): New variable.
6895 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6896 (asin_tonearest_test_data): New variable.
6897 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6898 (asin_towardzero_test_data): New variable.
6899 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6900 (asin_downward_test_data): New variable.
6901 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6902 (asin_upward_test_data): New variable.
6903 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6904 (asinh_test_data): New variable.
6905 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6906 (atan_test_data): New variable.
6907 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6908 (atanh_test_data): New variable.
6909 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6910 (cbrt_test_data): New variable.
6911 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6912 (ceil_test_data): New variable.
6913 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6914 (cos_test_data): New variable.
6915 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6916 (cos_tonearest_test_data): New variable.
6917 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6918 (cos_towardzero_test_data): New variable.
6919 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6920 (cos_downward_test_data): New variable.
6921 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6922 (cos_upward_test_data): New variable.
6923 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6924 (cosh_test_data): New variable.
6925 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6926 (cosh_tonearest_test_data): New variable.
6927 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6928 (cosh_towardzero_test_data): New variable.
6929 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6930 (cosh_downward_test_data): New variable.
6931 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6932 (cosh_upward_test_data): New variable.
6933 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6934 (erf_test_data): New variable.
6935 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6936 (erfc_test_data): New variable.
6937 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6938 (exp_test_data): New variable.
6939 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6940 (exp_tonearest_test_data): New variable.
6941 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6942 (exp_towardzero_test_data): New variable.
6943 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6944 (exp_downward_test_data): New variable.
6945 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6946 (exp_upward_test_data): New variable.
6947 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6948 (exp10_test_data): New variable.
6949 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6950 (exp2_test_data): New variable.
6951 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6952 (expm1_test_data): New variable.
6953 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6954 (fabs_test_data): New variable.
6955 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6956 (floor_test_data): New variable.
6957 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6958 (j0_test_data): New variable.
6959 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6960 (j1_test_data): New variable.
6961 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6962 (log_test_data): New variable.
6963 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6964 (log10_test_data): New variable.
6965 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6966 (log1p_test_data): New variable.
6967 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6968 (log2_test_data): New variable.
6969 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6970 (logb_test_data): New variable.
6971 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6972 (logb_downward_test_data): New variable.
6973 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6974 (nearbyint_test_data): New variable.
6975 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6976 (rint_test_data): New variable.
6977 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6978 (rint_tonearest_test_data): New variable.
6979 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6980 (rint_towardzero_test_data): New variable.
6981 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6982 (rint_downward_test_data): New variable.
6983 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6984 (rint_upward_test_data): New variable.
6985 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6986 (round_test_data): New variable.
6987 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6988 (sin_test_data): New variable.
6989 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6990 (sin_tonearest_test_data): New variable.
6991 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6992 (sin_towardzero_test_data): New variable.
6993 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6994 (sin_downward_test_data): New variable.
6995 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6996 (sin_upward_test_data): New variable.
6997 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6998 (sinh_test_data): New variable.
6999 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7000 (sinh_tonearest_test_data): New variable.
7001 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7002 (sinh_towardzero_test_data): New variable.
7003 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7004 (sinh_downward_test_data): New variable.
7005 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7006 (sinh_upward_test_data): New variable.
7007 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7008 (sqrt_test_data): New variable.
7009 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7010 (tan_test_data): New variable.
7011 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7012 (tan_tonearest_test_data): New variable.
7013 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7014 (tan_towardzero_test_data): New variable.
7015 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7016 (tan_downward_test_data): New variable.
7017 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7018 (tan_upward_test_data): New variable.
7019 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7020 (tanh_test_data): New variable.
7021 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7022 (tgamma_test_data): New variable.
7023 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7024 (trunc_test_data): New variable.
7025 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7026 (y0_test_data): New variable.
7027 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7028 (y1_test_data): New variable.
7029 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7030 (significand_test_data): New variable.
7031 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7032
7187d844
CG
70332013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7034
7035 [BZ #12387]
7036 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7037
f63fae73
PT
70382013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7039
7040 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7041
8a67a4b3
AJ
70422013-05-10 Andreas Jaeger <aj@suse.de>
7043
7044 [BZ #15448]
7045 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7046 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7047
51df539d
JM
70482013-05-10 Joseph Myers <joseph@codesourcery.com>
7049
7050 * math/gen-libm-test.pl (adjust_arg): New function.
7051 (special_functions): Handle generating output in both functions
7052 and arrays.
7053 (parse_args): Likewise.
7054 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7055 $in_func argument to parse_args.
7056 * math/libm-test.inc (struct test_f_f_data): New type.
7057 (IF_ROUND_INIT_): New macro.
7058 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7059 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7060 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7061 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7062 (ROUND_RESTORE_): Likewise.
7063 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7064 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7065 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7066 (ROUND_RESTORE_FE_UPWARD): Likewise.
7067 (RUN_TEST_LOOP_f_f): New macro.
7068 (acos_test_data): New variable.
7069 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7070 (acos_tonearest_test_data): New variable.
7071 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7072
5c637fe5
SP
70732013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7074
7075 * benchtests/bench-skeleton.c (startup): Fix coding style.
7076
ab2b9461
JM
70772013-05-10 Joseph Myers <joseph@codesourcery.com>
7078
7079 [BZ #6809]
7080 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7081 negative infinity argument.
7082 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7083 negative infinity argument.
7084 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7085 negative infinity argument.
7086 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7087 domain errors.
7088
4c0fe6fe
FW
70892013-05-10 Florian Weimer <fweimer@redhat.com>
7090
7091 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7092 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7093 * iconv/iconv_prog.c (main): Likewise.
7094 * locale/programs/charmap-dir.c (charmap_readdir)
7095 (fopen_uncompressed): Likewise.
7096 * locale/programs/locfile.c (siblings_uncached)
7097 (write_locale_data): Use lstat64 instead of lstat.
7098 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7099 stat.
7100
a3375d29
AJ
71012013-05-10 Andreas Jaeger <aj@suse.de>
7102
7103 [BZ #15395]
7104 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7105 localization.
7106 Include <locale.h>.
7107
36129722
CD
71082013-05-09 Carlos O'Donell <carlos@redhat.com>
7109
7110 * elf/dl-close.c (_dl_close_worker): Add comments.
7111
faa7f811
JM
71122013-05-09 Joseph Myers <joseph@codesourcery.com>
7113
ed41ffef
JM
7114 [BZ #15359]
7115 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7116 high part of pi/2.
7117 (__ieee754_rem_pio2l): Update comments.
7118
d0213cd0
JM
7119 [BZ #15429]
7120 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7121 high part of pi/2.
7122 (__ieee754_rem_pio2l): Update comments.
7123
0d3e777a
JM
7124 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7125 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7126
24f56066
JM
7127 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7128 M_PI_4l.
7129
faa7f811
JM
7130 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7131 (M_PI_34_LOG10El): Likewise.
7132 (M_PI2_LOG10El): Likewise.
7133 (M_PI4_LOG10El): Likewise.
7134 (M_PI_LOG10El): Likewise.
7135
e9a5e0fd
AZ
71362013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7137
7138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7139
d8cd06db
JM
71402013-05-08 Joseph Myers <joseph@codesourcery.com>
7141
a0d9f9d7
JM
7142 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7143 (MINUS_ZERO_INIT): Likewise.
7144 (PLUS_INFTY_INIT): Likewise.
7145 (MINUS_INFTY_INIT): Likewise.
7146 (QNAN_VALUE_INIT): Likewise.
7147 (MAX_VALUE_INIT): Likewise.
7148 (MIN_VALUE_INIT): Likewise.
7149 (MIN_SUBNORM_VALUE_INIT): Likewise.
7150 (plus_zero): Initialize with PLUS_ZERO_INIT.
7151 (minus_zero): Initialize with MINUS_ZERO_INIT.
7152 (plus_infty): Initialize with PLUS_INFTY_INIT.
7153 (minus_infty): Initialize with MINUS_INFTY_INIT.
7154 (qnan_value): Initialize with QNAN_VALUE_INIT.
7155 (max_value): Initialize with MAX_VALUE_INIT.
7156 (min_value): Initialize with MIN_VALUE_INIT.
7157 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7158
ae08db3b
JM
7159 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7160 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7161 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7162 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7163
f44bf14a
JM
7164 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7165 (RUN_TEST_2_f): Likewise.
7166 (RUN_TEST_ff_f): Likewise.
7167 (RUN_TEST_fi_f): Likewise.
7168 (RUN_TEST_fl_f): Likewise.
7169 (RUN_TEST_fff_f): Likewise.
7170 (RUN_TEST_c_f): Likewise.
7171 (RUN_TEST_f_f1): Likewise.
7172 (RUN_TEST_fF_f1): Likewise.
7173 (RUN_TEST_fI_f1): Likewise.
7174 (RUN_TEST_ffI_f1): Likewise.
7175 (RUN_TEST_c_c): Likewise.
7176 (RUN_TEST_cc_c): Likewise.
7177 (RUN_TEST_f_i): Likewise.
7178 (RUN_TEST_f_i_tg): Likewise.
7179 (RUN_TEST_ff_i_tg): Likewise.
7180 (RUN_TEST_f_b): Likewise.
7181 (RUN_TEST_f_b_tg): Likewise.
7182 (RUN_TEST_f_l): Likewise.
7183 (RUN_TEST_f_L): Likewise.
7184 (RUN_TEST_sincos): Likewise.
7185 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7186 whether to show exceptions. Do not include ");\n" in return
7187 value.
7188 (special_functions): Output call to RUN_TEST_sincos instead of
7189 check_float calls. Update calls to new_test.
7190 (parse_args): Output call to single RUN_TEST_* macro instead of
7191 check_* calls and other assignments. Update calls to new_test.
7192
d8cd06db
JM
7193 [BZ #2546]
7194 [BZ #2560]
7195 [BZ #5159]
7196 [BZ #15426]
7197 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7198 input to result for tgamma overflow.
7199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7200 (gamma_coeff): New variable.
7201 (NCOEFF): New macro.
7202 (gamma_positive): New function.
7203 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7204 underflow here. Use gamma_positive instead of exp (lgamma) for
7205 other arguments.
7206 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7207 (gamma_coeff): New variable.
7208 (NCOEFF): New macro.
7209 (gammaf_positive): New function.
7210 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7211 underflow here. Use gamma_positive instead of exp (lgamma) for
7212 other arguments.
7213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7214 (gamma_coeff): New variable.
7215 (NCOEFF): New macro.
7216 (gammal_positive): New function.
7217 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7218 underflow here. Use gamma_positive instead of exp (lgamma) for
7219 other arguments.
7220 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7221 (gamma_coeff): New variable.
7222 (NCOEFF): New macro.
7223 (gammal_positive): New function.
7224 (__ieee754_gammal_r): Handle positive infinity, overflow and
7225 underflow here. Handle NaN the same as positive infinity. Remove
7226 check x < 0xffffffff for negative integers. Use gamma_positive
7227 instead of exp (lgamma) for other arguments.
7228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7229 (gamma_coeff): New variable.
7230 (NCOEFF): New macro.
7231 (gammal_positive): New function.
7232 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7233 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7234 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7235 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7236 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7237 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7238 * sysdeps/generic/math_private.h (__gamma_productf): New
7239 prototype.
7240 (__gamma_product): Likewise.
7241 (__gamma_productl): Likewise.
7242 * math/Makefile (libm-calls): Add gamma_product.
7243 * math/libm-test.inc (tgamma_test): Add more tests.
7244 * sysdeps/i386/fpu/libm-test-ulps: Update.
7245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7246
bb7cf681
OB
72472013-05-08 Ondřej Bílka <neleai@seznam.cz>
7248
7249 * benchtests/bench-skeleton.c (main): Preheat CPU.
7250
ba853947
AJ
72512013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7252
7253 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7254
8347c74c
RM
72552013-05-07 Roland McGrath <roland@hack.frob.com>
7256
7257 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7258 and _dl_skip_args_internal.
7259
e8dd4791
CD
72602013-05-07 Carlos O'Donell <carlos@redhat.com>
7261
7262 * manual/message.texi (Message Translation): Talk about users.
7263 Message to key mapping impacts design.
7264
c7405830
RM
72652013-05-06 Roland McGrath <roland@hack.frob.com>
7266
a9173057
RM
7267 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7268
976e2f03
RM
7269 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7270
9723ffc5
RM
7271 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7272 * sysdeps/wordsize-64/glob64.c: ... here.
7273
962e6658
RM
7274 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7275 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7276 New macros.
7277
ee586a6d
RM
7278 * debug/getlogin_r_chk.c: Moved to ...
7279 * login/getlogin_r_chk.c: ... here.
7280 * debug/Makefile (routines): Move getlogin_r_chk to ...
7281 * login/Makefile (routines): ... here.
7282 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7283 * login/Versions (libc: GLIBC_2.4): ... here.
7284
355f9165
RM
7285 * io/poll.c (__poll): Renamed from poll.
7286 Add libc_hidden_def.
7287 (poll): Define as weak alias.
7288
bd9ffde6
RM
7289 * debug/ptsname_r_chk.c: Moved to ...
7290 * login/ptsname_r_chk.c: ... here.
7291 * debug/Makefile (routines): Move ptsname_r_chk to ...
7292 * login/Makefile (routines): ... here.
7293 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7294 * login/Versions (libc: GLIBC_2.4): ... here.
7295
8fb16a04
RM
7296 * posix/getlogin.c: Moved to ...
7297 * login/getlogin.c: ... here.
7298 * posix/getlogin_r.c: Moved to ...
7299 * login/getlogin_r.c: ... here.
7300 * posix/getlogin_r.c: Moved to ...
7301 * login/getlogin_r.c: ... here.
7302 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7303 * login/Makefile (routines): ... here.
7304 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7305 * login/Versions (libc: GLIBC_2.0): ... here.
7306
b99b892f
RM
7307 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7308 (setrlimit): Define as weak alias.
7309
c7405830
RM
7310 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7311 Call __ names for open, ftruncate, and close.
7312 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7313 (truncate): Define as weak alias.
7314
5bf96de5
JM
73152013-05-06 Joseph Myers <joseph@codesourcery.com>
7316
9ea3513c
JM
7317 * math/gen-libm-test.pl (parse_args): Initialize x before each
7318 test of frexp, modf and remquo.
7319
5bf96de5
JM
7320 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7321 test signgam value.
7322
16e616a7
AZ
73232013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324
7325 [BZ #15418]
7326 [BZ #15419]
7327 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7328 internal tests.
7329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7330
d5e82754
RM
73312013-05-06 Roland McGrath <roland@hack.frob.com>
7332
7333 * elf/dl-writev.h: New file.
7334 * elf/dl-misc.c: Include it.
7335 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7336 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7337
a7548d41
JM
73382013-05-04 Joseph Myers <joseph@codesourcery.com>
7339
b7dab1e4
JM
7340 * math/libm-test.inc (noXFails): Remove variable.
7341 (noXPasses): Likewise.
7342 (BUILD_COMPLEX_INT): Remove macro.
7343 (print_screen): Remove xfail argument.
7344 (print_screen_max_error): Likewise.
7345 (update_stats): Likewise.
7346 (print_max_error): Likewise. Update calls to other affected
7347 functions.
7348 (print_complex_max_error): Likewise.
7349 (test_single_exception): Update calls to print_screen.
7350 (test_single_errno): Likewise.
7351 (check_float_internal): Remove xfail argument. Update calls to
7352 other affected functions.
7353 (check_float): Likewise.
7354 (check_complex): Likewise.
7355 (check_int): Likewise.
7356 (check_long): Likewise.
7357 (check_bool): Likewise.
7358 (check_longlong): Likewise.
7359 (main): Don't print noXFails and noXPasses.
7360 * math/gen-libm-test.pl (top level): Don't mention expected
7361 failure handling in comment.
7362 (new_test): Don't handle expected failures.
7363 (parse_args): Don't mention expected failure handling in comment.
7364 (generate_testfile): Don't handle expected failures.
7365 (parse_ulps): Likewise.
7366 (print_ulps_file): Likewise.
7367 (get_failure): Remove function.
7368 (output_test): Don't handle expected failures.
7369 * make/README.libm-test: Don't mention expected failure handling.
7370
a7548d41
JM
7371 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7372 (minus_zero): Likewise.
7373 (plus_infty): Likewise.
7374 (minus_infty): Likewise.
7375 (qnan_value): Likewise.
7376 (max_value): Likewise.
7377 (min_value): Likewise.
7378 (min_subnorm_value): Likewise.
7379 (initialize): Do not initialize those variables dynamically.
7380
60bfd54c
RM
73812013-05-03 Roland McGrath <roland@hack.frob.com>
7382
cc0e6ed8
RM
7383 * io/open.c (__open_2): Moved to ...
7384 * io/open_2.c: ... this new file.
7385 * io/open64.c (__open64_2): Moved to ...
7386 * io/open64_2.c: ... this new file.
7387 * io/openat.c (__openat_2): Moved to ...
7388 * io/openat_2.c: ... this new file.
7389 * io/openat64.c (__openat64_2): Moved to ...
7390 * io/openat64_2.c: ... this new file.
7391 * io/Makefile (routines): Add them.
7392 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7393 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7394 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7395 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7396 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7397 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7398 (__openat64): Add hidden_ver.
7399 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7400 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7401
60bfd54c
RM
7402 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7403 Separately conditionalize setting of GLRO(dl_sysinfo) so
7404 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7405 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7406
83e7640f
AZ
74072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408
7409 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7410 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7411 definition.
7412 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7413 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7414 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7415 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7416 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7417
d5dc2af3
JM
74182013-05-03 Joseph Myers <joseph@codesourcery.com>
7419
c31a5b1e
JM
7420 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7421 test signgam value.
7422
d5dc2af3
JM
7423 * math/libm-test.inc (hypot_test): Do not use
7424 IGNORE_ZERO_INF_SIGN.
7425
164fd39d
AJ
74262013-05-03 Andreas Jaeger <aj@suse.de>
7427
7428 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7429 Linux 3.9.
7430 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7431 (PF_MAX): Adjust for VSOCK change.
7432
8237f48c
AZ
74332013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7434
7435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7436
9df02941
CD
74372013-05-02 Carlos O'Donell <carlos@redhat.com>
7438
7439 [BZ #15264]
7440 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7441 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7442 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7443
d422395e
DM
74442013-05-02 David S. Miller <davem@davemloft.net>
7445
7446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7447
a07c5731
OB
74482013-05-01 Ondřej Bílka <neleai@seznam.cz>
7449
7450 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7451
1324e37f
RM
74522013-05-01 Roland McGrath <roland@hack.frob.com>
7453
7454 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7455
0695940b
RS
74562013-05-01 Richard Smith <richard@metafoo.co.uk>
7457
bb5f27ad 7458 [BZ #14952]
0695940b
RS
7459 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7460 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7461 Use __attribute__ ((__gnu_inline__)).
7462 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7463 Don't use __attribute__ ((__gnu_inline__)).
7464
10de07f5
JM
74652013-05-01 Joseph Myers <joseph@codesourcery.com>
7466
7467 [BZ #15423]
7468 * math/s_catan.c (__catan): Handle small real or imaginary part of
7469 input specially to avoid spurious underflow.
7470 * math/s_catanf.c (__catanf): Likewise.
7471 * math/s_catanh.c (__catanh): Likewise.
7472 * math/s_catanhf.c (__catanhf): Likewise.
7473 * math/s_catanhl.c (__catanhl): Likewise.
7474 * math/s_catanl.c (__catanl): Likewise.
7475 * math/libm-test.inc (catan_test): Add more tests.
7476 (catanh_test): Likewise.
7477 * sysdeps/i386/fpu/libm-test-ulps: Update.
7478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7479
cb4d5414
AZ
74802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7481
7482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7483
caf84319
JM
74842013-04-30 Joseph Myers <joseph@codesourcery.com>
7485
7486 [BZ #15416]
7487 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7488 accurately for denominator in atan2.
7489 * math/s_catanf.c (__catanf): Likewise.
7490 * math/s_catanh.c (__catanh): Likewise.
7491 * math/s_catanhf.c (__catanhf): Likewise.
7492 * math/s_catanhl.c (__catanhl): Likewise.
7493 * math/s_catanl.c (__catanl): Likewise.
7494 * math/libm-test.inc (catan_test): Add more tests.
7495 (catanh_test): Likewise.
7496 * sysdeps/i386/fpu/libm-test-ulps: Update.
7497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7498
d569c6ee
SP
74992013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7500
6dbe713d
SP
7501 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7502
f0ee064b
SP
7503 * benchtests/Makefile (bench): Remove slow benchmarks.
7504 * benchtests/atan-inputs: Add slow benchmark inputs.
7505 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7506 (BENCH_FUNC): Accept variant offset.
7507 (VARIANT): Define.
7508 * benchtests/bench-skeleton.c (main): Run benchmark for each
7509 variant.
7510 * benchtests/cos-inputs: Add slow benchmark inputs.
7511 * benchtests/exp-inputs: Likewise.
7512 * benchtests/pow-inputs: Likewise.
7513 * benchtests/sin-inputs: Likewise.
7514 * benchtests/slowatan-inputs: Remove.
7515 * benchtests/slowatan.c: Remove.
7516 * benchtests/slowcos-inputs: Remove.
7517 * benchtests/slowcos.c: Remove.
7518 * benchtests/slowexp-inputs: Remove.
7519 * benchtests/slowexp.c: Remove.
7520 * benchtests/slowpow-inputs: Remove.
7521 * benchtests/slowpow.c: Remove.
7522 * benchtests/slowsin-inputs: Remove.
7523 * benchtests/slowsin.c: Remove.
7524 * benchtests/slowtan-inputs: Remove.
7525 * benchtests/slowtan.c: Remove.
7526 * benchtests/tan-inputs: Add slow benchmark inputs.
7527 * scripts/bench.pl: Parse comments and directives.
7528
d569c6ee
SP
7529 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7530 in CPPFLAGS.
7531 ($(objpfx)bench-%.c): Remove *-ITER.
7532 * benchtests/bench-modf.c: Remove definition of ITER.
7533 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7534 (main): Loop for DURATION seconds instead of fixed number of
7535 iterations.
7536 * scripts/bench.pl: Don't expect iterations in parameters.
7537
a6a242fe
RM
75382013-04-29 Roland McGrath <roland@hack.frob.com>
7539
7540 * io/fchdir.c (__fchdir): Renamed from fchdir.
7541 (fchdir): Define as weak alias.
7542
f2da7793
JM
75432013-04-29 Joseph Myers <joseph@codesourcery.com>
7544
7545 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7546 (ERRNO_EDOM): Likewise.
7547 (ERRNO_ERANGE): Likewise.
7548 (noErrnoTests): New variable.
7549 (init_max_error): Set errno to 0.
7550 (test_single_errno): New function.
7551 (test_errno): Likewise.
7552 (check_float_internal): Call test_errno. Set errno to 0.
7553 (check_complex): Refer to errno tests in comment.
7554 (check_int): Call test_errno. Set errno to 0.
7555 (check_long): Likewise.
7556 (check_bool): Likewise.
7557 (check_longlong): Likewise.
7558 (cos_test): Use ERRNO_* flags for errno tests instead of
7559 check_int.
7560 (expm1_test): Likewise.
7561 (fmod_test): Likewise.
7562 (ilogb_test): Likewise.
7563 (lgamma_test): Likewise.
7564 (pow_test): Likewise.
7565 (remainder_test): Likewise.
7566 (sin_test): Likewise.
7567 (tan_test): Likewise.
7568 (yn_test): Likewise.
7569 (initialize): Set errno to 0.
7570 (main): Print number of errno tests.
7571 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7572
b1a36ceb
AJ
75732013-04-29 Andreas Jaeger <aj@suse.de>
7574
c3ed8088
AJ
7575 [BZ #15084]
7576 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7577 and RES_USEVC.
7578
f1a24198
AJ
7579 [BZ #15085]
7580 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7581 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7582 unimplemented.
7583
9ce3b2cb
AJ
7584 [BZ #15380]
7585 * stdlib/random.c (__initstate): Return NULL if
7586 __initstate fails.
7587
f1a24198 7588 [BZ #15086]
b1a36ceb
AJ
7589 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7590 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7591 RES_SNGLKUPREOP.
7592
7e7b6f36
AZ
75932013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7594
7595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7596
4d14f449
JM
75972013-04-29 Joseph Myers <joseph@codesourcery.com>
7598
7599 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7600 of individual tests.
7601 (casin_test): Likewise.
7602 (casinh_test): Likewise.
7603
5b4217d7
JM
76042013-04-27 Joseph Myers <joseph@codesourcery.com>
7605
7606 [BZ #15409]
7607 * math/s_catan.c (__catan): Handle arguments with large real or
7608 imaginary part separately without squaring.
7609 * math/s_catanf.c (__catanf): Likewise.
7610 * math/s_catanh.c (__catanh): Likewise.
7611 * math/s_catanhf.c (__catanhf): Likewise.
7612 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7613 and redefine.
7614 (__catanhl): Handle arguments with large real or imaginary part
7615 separately without squaring.
7616 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7617 and redefine.
7618 (__catanl): Handle arguments with large real or imaginary part
7619 separately without squaring.
7620 * math/libm-test.inc (catan_test): Add more tests.
7621 (catanh_test): Likewise.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update.
7623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624
4220c3ef
AJ
76252013-04-27 Andreas Jaeger <aj@suse.de>
7626
7627 [BZ #15007]
7628 * stdlib/stdlib.h: Update guards for qecvt.
7629 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7630 <stdlib.h>.
7631
4721b2d1
AM
76322013-04-27 Allan McRae <allan@archlinux.org>
7633
7634 * sysdeps/i386/fpu/libm-test-ulps: Update.
7635
f0302940
JM
76362013-04-26 Joseph Myers <joseph@codesourcery.com>
7637
9457fd95
JM
7638 [BZ #15406]
7639 * math/s_catan.c: Include <float.h>.
7640 (__catan): Ensure underflow exception occurs for underflowed
7641 result.
7642 * math/s_catanf.c: Include <float.h>.
7643 (__catanf): Ensure underflow exception occurs for underflowed
7644 result.
7645 * math/s_catanh.c: Include <float.h>.
7646 (__catanh): Ensure underflow exception occurs for underflowed
7647 result.
7648 * math/s_catanhf.c: Include <float.h>.
7649 (__catanhf): Ensure underflow exception occurs for underflowed
7650 result.
7651 * math/s_catanhl.c: Include <float.h>.
7652 (__catanhl): Ensure underflow exception occurs for underflowed
7653 result.
7654 * math/s_catanl.c: Include <float.h>.
7655 (__catanl): Ensure underflow exception occurs for underflowed
7656 result.
7657 * math/libm-test.inc (catan_test): Add more tests.
7658 (catanh_test): Likewise.
7659
f0302940
JM
7660 [BZ #15405]
7661 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7662 underflowed result.
7663 * math/s_ccoshf.c (__ccoshf): Likewise.
7664 * math/s_ccoshl.c (__ccoshl): Likewise.
7665 * math/s_csin.c (__csin): Likewise.
7666 * math/s_csinf.c (__csinf): Likewise.
7667 * math/s_csinh.c (__csinh): Likewise.
7668 * math/s_csinhf.c (__csinhf): Likewise.
7669 * math/s_csinhl.c (__csinhl): Likewise.
7670 * math/s_csinl.c (__csinl): Likewise.
7671 * math/libm-test.inc (ccos_test): Add more tests.
7672 (ccosh_test): Likewise.
7673 (csin_test): Likewise.
7674 (csinh_test): Likewise.
7675
aa630f59
AZ
76762013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7677
7678 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7679 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7680 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7681 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7682 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7683 powerpc/power5+/fpu folders.
7684 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7685
7686
1b835983
MT
76872013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7688
7689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7690
73709b26
JM
76912013-04-25 Joseph Myers <joseph@codesourcery.com>
7692
7693 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7694 additions to variable.
7695 [$(config-machine) = x86_64] (modules-names): Likewise.
7696 ($(objpfx)tst-audit3): Remove dependency.
7697 ($(objpfx)tst-audit3.out): Likewise.
7698 ($(objpfx)tst-audit4): Likewise.
7699 ($(objpfx)tst-audit4.out): Likewise.
7700 ($(objpfx)tst-audit5): Likewise.
7701 ($(objpfx)tst-audit5.out): Likewise.
7702 ($(objpfx)tst-audit6): Likewise.
7703 ($(objpfx)tst-audit6.out): Likewise.
7704 ($(objpfx)tst-audit7): Likewise.
7705 ($(objpfx)tst-audit7.out): Likewise.
7706 (tst-audit3-ENV): Remove variable.
7707 (tst-audit4-ENV): Likewise.
7708 (tst-audit5-ENV): Likewise.
7709 (tst-audit6-ENV): Likewise.
7710 (tst-audit7-ENV): Likewise.
7711 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7712 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7713 addition to variable.
7714 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7715 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7716 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7717 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7718 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7719 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7720 tst-audit3, tst-audit4 and tst-audit5.
7721 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7722 tst-audit6 and tst-audit7.
7723 [$(subdir) = elf] (modules-names): Add audit modules for those
7724 tests.
7725 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7726 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7727 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7728 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7729 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7730 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7731 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7732 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7733 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7734 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7735 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7736 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7737 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7738 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7739 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7740 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7741 Likewise.
7742 [$(subdir) = elf && $(config-cflags-avx) = yes]
7743 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7744 [$(subdir) = elf && $(config-cflags-avx) = yes]
7745 (CFLAGS-tst-auditmod4a.c): Likewise.
7746 [$(subdir) = elf && $(config-cflags-avx) = yes]
7747 (CFLAGS-tst-auditmod4b.c): Likewise.
7748 [$(subdir) = elf && $(config-cflags-avx) = yes]
7749 (CFLAGS-tst-auditmod6b.c): Likewise.
7750 [$(subdir) = elf && $(config-cflags-avx) = yes]
7751 (CFLAGS-tst-auditmod6c.c): Likewise.
7752 [$(subdir) = elf && $(config-cflags-avx) = yes]
7753 (CFLAGS-tst-auditmod7b.c): Likewise.
7754 * elf/tst-audit3.c: Move to ...
7755 * sysdeps/x86_64/tst-audit3.c: ... here.
7756 * elf/tst-audit4.c: Move to ...
7757 * sysdeps/x86_64/tst-audit4.c: ... here.
7758 * elf/tst-audit5.c: Move to ...
7759 * sysdeps/x86_64/tst-audit5.c: ... here.
7760 * elf/tst-audit6.c: Move to ...
7761 * sysdeps/x86_64/tst-audit6.c: ... here.
7762 * elf/tst-audit7.c: Move to ...
7763 * sysdeps/x86_64/tst-audit7.c: ... here.
7764 * elf/tst-auditmod3a.c: Move to ...
7765 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7766 * elf/tst-auditmod3b.c: Move to ...
7767 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7768 * elf/tst-auditmod4a.c: Move to ...
7769 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7770 * elf/tst-auditmod4b.c: Move to ...
7771 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7772 * elf/tst-auditmod5a.c: Move to ...
7773 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7774 * elf/tst-auditmod5b.c: Move to ...
7775 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7776 * elf/tst-auditmod6a.c: Move to ...
7777 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7778 * elf/tst-auditmod6b.c: Move to ...
7779 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7780 * elf/tst-auditmod6c.c: Move to ...
7781 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7782 * elf/tst-auditmod7a.c: Move to ...
7783 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7784 * elf/tst-auditmod7b.c: Move to ...
7785 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7786
1ef74943
PP
77872013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7788
7789 [BZ #15366]
7790 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7791 define unconditionally.
7792 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7793 define unconditionally.
7794 (INT8_C, INT16_C, etc.): Likewise.
7795
93fd48c5
MR
77962013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7797
ae9552cf
MR
7798 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7799 __ehdr_start with hidden visibility.
7800
93fd48c5
MR
7801 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7802
418601aa
CD
78032013-04-24 Carlos O'Donell <carlos@redhat.com>
7804
7805 * math/libm-test.inc (cos_test): Use accurate hex constants.
7806 (sincost_test): Likewise.
7807
2f38fbfe
JM
78082013-04-24 Joseph Myers <joseph@codesourcery.com>
7809
5e221800
JM
7810 * math/libm-test.inc (catan_test): Add more tests.
7811 (catanh_test): Likewise.
7812
77f143fd
JM
7813 * math/s_catanf.c (__catanf): Use suffixed floating-point
7814 constants.
7815 * math/s_catanhf.c (__catanhf): Likewise.
7816 * math/s_catanhl.c (__catanhl): Likewise.
7817 * math/s_catanl.c (__catanl): Likewise.
7818
2f38fbfe
JM
7819 [BZ #15394]
7820 * math/s_catan.c (__catan): Calculate imaginary part of result
7821 with log1p not log unless computing log of number close to 0.
7822 * math/s_catanf.c (__catanf): Likewise.
7823 * math/s_catanl.c (__catanl): Likewise.
7824 * math/s_catanh.c (__catanh): Calculate real part of result with
7825 log1p not log unless computing log of number close to 0.
7826 * math/s_catanhf.c (__catanhf): Likewise.
7827 * math/s_catanhl.c (__catanhl): Likewise.
7828 * math/libm-test.inc (catan_test): Add more tests.
7829 (catanh_test): Likewise.
7830 * sysdeps/i386/fpu/libm-test-ulps: Update.
7831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7832
45d69176
SP
78332013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7834
7835 * benchtests/Makefile: Mention files in which fast and slow
7836 paths of math functions are implemented.
7837
87f51853
RM
78382013-04-23 Roland McGrath <roland@hack.frob.com>
7839
7840 * sysdeps/posix/timespec_get.c: New file.
7841
3c026539
AZ
78422013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7843
7844 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7845 POWER.
7846 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7847 for POWER.
7848 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7849 powerpc/power5/fpu folders.
7850 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7851 * benchtests/Makefile: Add modf testcase.
7852 * benchtests/bench-modf.c: New file: Benchmark test for mo
7853
ff491d14
SP
78542013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
7856 [BZ #14888]
7857 * time/Makefile (tests): Add tst-strptime-whitespace.
7858 * time/strptime_l.c (get_number): Use ISSPACE.
7859 (__strptime_internal): Likewise.
7860 * time/tst-strptime-whitespace.c: New test case.
7861
7ed3f4e8
AS
78622013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7863
7864 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7865 member.
7866 (_nss_files_init): Set it here.
7867
5c95f7b6
HC
78682013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7869
7870 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7871 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7872 unsigned.
7873
d34c9158
JBG
78742013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7875
7876 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7877
2169712d
SP
78782013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7879
7880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7881 size just once.
7882
29c5de99
DM
78832013-04-21 David S. Miller <davem@davemloft.net>
7884
7885 * po/ru.po: Update Russion translation from translation project.
7886
ccdad15d
AC
78872013-04-17 Adam Conrad <adconrad@0c3.net>
7888
7889 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7890 and setfsgid.
7891
0f122b8d
CD
78922013-04-17 Carlos O'Donell <carlos@redhat.com>
7893
5c5b07da 7894 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7895 * configure: Regenerate.
5c5b07da 7896 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7897 Add example to error message.
7898 * sysdeps/i386/configure: Regenerate.
7899
037714dd
SP
79002013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7901
7902 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7903 slowtan.
7904 * benchtests/cos-inputs: New file.
7905 * benchtests/slowcos-inputs: New file.
7906 * benchtests/slowcos.c: New file.
7907 * benchtests/slowtan-inputs: New file.
7908 * benchtests/slowtan.c: New file.
7909 * benchtests/tan-inputs: New file.
7910
e913141d
RM
79112013-04-16 Roland McGrath <roland@hack.frob.com>
7912
7913 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7914 considered kosher.
7915
a2964074
SP
79162013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7917
4856bcd2
SP
7918 * benchtests/Makefile: Include cppflags-iterator.mk to add
7919 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7920
a2964074
SP
7921 * Makefile.in (bench-clean): New target.
7922 * benchtests/Makefile (bench-clean): Likewise.
7923
9fbf9aca
DH
79242013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7925
7926 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7927
207d1e2a
TS
79282013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7929
7930 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7931
306dfba9
AS
79322013-04-15 Andreas Schwab <schwab@suse.de>
7933
7934 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7936 * nscd/pwdcache.c (cache_addpw): Likewise.
7937 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7938 more than recsize.
7939
206a6699
SP
79402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7941
7942 * benchtests/Makefile (bench): Write all output to
7943 bench-out.tmp together.
7944
0582f6b3
AS
79452013-04-15 Andreas Schwab <schwab@suse.de>
7946
7947 * nscd/nscd.c (main): Don't fork again after closing files.
7948
acb4325f
SP
79492013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7950
5cb26d0a
SP
7951 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7952
acb4325f
SP
7953 * benchtests/Rules (bench-deps): Collect dependencies into a
7954 single variable. Add Makefile to dependencies.
7955 ($(objpfx)bench-%.c): Depend on bench-deps.
7956
47792506
RM
79572013-04-12 Roland McGrath <roland@hack.frob.com>
7958 Xavier Roche <roche+kml2@exalead.com>
7959
7960 [BZ #15361]
7961 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7962 just that it's a file descriptor.
7963 * manual/llio.texi (Synchronizing AIO Operations): Update description
7964 for EBADF error from aio_fsync.
7965
8fc1bee5
SP
79662013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7967
7968 * Rules (bench): Move target definition...
7969 * benchtests/Makefile: ... here.
7970
aba5e333
CD
79712013-04-11 Carlos O'Donell <carlos@redhat.com>
7972
7973 * math/libm-test.inc (cos_test): Fix PI/2 test.
7974 (sincos_test): Likewise.
7975 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7976 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7977
273cdee8
AS
79782013-04-11 Andreas Schwab <schwab@suse.de>
7979
6ecec3b6
AS
7980 [BZ #13988]
7981 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7982 accept exponent character only when digits were seen.
7983 * stdio-common/Makefile (tests): Add bug26.
7984 * stdio-common/bug26.c: New file.
7985
273cdee8
AS
7986 [BZ #14293]
7987 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7988 non-freeable.
7989
8da491f5
SP
79902013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7991
01dc6df9
SP
7992 * Makeconfig (rtld-prefix): Define built linker prefix.
7993 * Rules (run-bench): Use it.
7994 * math/Makefile (run-regen-ulps): Likewise.
7995
8da491f5
SP
7996 * Rules (bench): Remove eval.
7997
abe7f530
SP
79982013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 Roland McGrath <roland@hack.frob.com>
8000 Ondrej Bilka <neleai@seznam.cz>
8001
8002 [BZ #15346]
8003 * time/getdate.c: Include ctype.h and alloca.h.
8004 (__getdate_r): Trim leading and trailing spaces of input.
8005 * time/tst-getdate.c (tests): Add tests with leading and
8006 trailing spaces.
8007
61c23e62
RM
80082013-04-08 Roland McGrath <roland@hack.frob.com>
8009
8010 [BZ #14280]
8011 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8012 when computing value.
8013
7208a313
CD
80142013-04-06 Carlos O'Donell <carlos@redhat.com>
8015
085b2d41
CD
8016 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8017 Use testrun.sh to run libm tests.
8018
7208a313
CD
8019 [BZ #15309]
8020 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8021
872c0acd
MM
80222013-04-06 Marko Myllynen <myllynen@redhat.com>
8023
8024 [BZ #15264]
8025 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8026
26510bdd
CD
80272013-04-06 Carlos O'Donell <carlos@redhat.com>
8028
8029 * Makefile.in (regen-ulps): New target.
8030 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8031 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8032 [ifneq (no,$(PERL)] (regen-ulps): New target.
8033 [ifeq (no,$(PERL)] (regen-ulps): New target.
8034 * math/libm-test.inc (ulps_file_name): Define.
8035 (output_dir): New variable.
8036 (options): Add "output-dir" option.
8037 (parse_opt): Handle 'o' case.
8038 (main): If output_dir is non-NULL use it as a prefix
8039 otherwise use "".
8040 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8041
a01f19c8
CD
80422013-04-06 Carlos O'Donell <carlos@redhat.com>
8043
8044 [BZ #10060, #10062]
8045 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8046 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8047 fail configure if __sync_val_compare_and_swap is not inlined.
8048 * sysdeps/i386/configure: Regenerate.
8049 * configure.in: Build for i686 when configured for i386.
8050 * configure: Regenerate.
8051 * README: Remove i386 reference.
8052
b7a329a5
CD
80532013-04-06 Carlos O'Donell <carlos@redhat.com>
8054
8055 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8057
bf0f50df
TS
80582013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8059
ee091edf
TS
8060 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8061 (lmsnanval): New variables.
8062 (F): Add conversion tests.
8063 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8064 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8065
a8b792d6
TS
8066 * stdio-common/tstdiomisc.c (F): Properly collect individual
8067 tests' results.
8068
a1cbf437
TS
8069 [BZ #14686, #15336]
8070 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8072 Instead, use input NaN values or generate a qNaN by arithmetic
8073 operation. Also fix bugs to comply with the standard.
8074 * math/libm-test.inc (remainder_test): Add more tests.
8075
8b43a0c9
TS
8076 [BZ #15335, #15342]
8077 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8078 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8079 input NaN values or generate a qNaN by arithmetic operation.
8080
d91da4ce
TS
8081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8082 unreachable code.
8083
bf0f50df
TS
8084 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8085 definitions.
8086
05e166c8
JM
80872013-04-03 Joseph Myers <joseph@codesourcery.com>
8088
8089 [BZ #14478]
8090 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8091 underflowed result.
8092 * math/s_cexpf.c (__cexpf): Likewise.
8093 * math/s_cexpl.c (__cexpl): Likewise.
8094 * math/libm-test.inc (cexp_test): Add more tests.
8095
1cef1b19
AS
80962013-04-03 Andreas Schwab <schwab@suse.de>
8097
8098 [BZ #15330]
8099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8100 order arrays from heap if bigger than alloca cutoff.
8101
74d87055
TS
81022013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8103
8104 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8105 (SNAN_TESTS_double): Refer to GCC PR56831.
8106 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8107 GCC PR56828.
8108
d755bba4
SP
81092013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8110
90d5d5bb
SP
8111 * Rules (bench): Move bench.out after the run is complete.
8112
73e0cd5d
SP
8113 * Rules (bench): Echo currently running benchmark.
8114
64aabd4b
SP
8115 * benchtests/Makefile (bench): Add atan and slowatan.
8116 * benchtests/atan-inputs: New file.
8117 * benchtests/slowatan-inputs: New file.
8118 * benchtests/slowatan.c: New file.
8119
c871eccd
SP
8120 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8122 its value.
8123
d755bba4
SP
8124 [BZ #15305]
8125 * sysdeps/unix/sysv/linux/kernel-features.h
8126 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8127 __ASSUME_XFS_RESTRICTED_CHOWN.
8128 * sysdeps/unix/sysv/linux/pathconf.c
8129 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8130 Save and restore errno.
8131
52ce4860
JM
81322013-04-02 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #15327]
8135 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8136 arguments using __kernel_casinh.
8137 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8138 arguments using __kernel_casinhf.
8139 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8140 arguments using __kernel_casinhl.
8141 * math/libm-test.inc (cacosh_test): Add more tests.
8142 * sysdeps/i386/fpu/libm-test-ulps: Update.
8143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8144
81f311c2
SP
81452013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8146
e7906a47
SP
8147 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8149
92e3664b
SP
8150 * bench/Makefile (bench): Add sin and slowsin.
8151 * benchtests/sin-inputs: New file.
8152 * benchtests/slowsin-inputs: New file.
8153 * benchtests/slowsin.c: New file.
8154
81f311c2
SP
8155 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8156 (bench): Add slowexp and slowpow.
8157 (exp-ITER): Increase iterations.
8158 (pow-ITER): Likewise.
8159 * benchtests/exp-inputs: Change input.
8160 * benchtests/pow-inputs: Likewise.
8161 * benchtests/slowexp-inputs: New file.
8162 * benchtests/slowexp.c: New file.
8163 * benchtests/slowpow-inputs: New file.
8164 * benchtests/slowpow.c: New file.
8165
ab0f1aa9
AZ
81662013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167
8168 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8169 instructions.
8170 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8171 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8172 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8173 * benchtests/Makefile: Add rint benchtest.
8174 * benchtests/rint-inputs: Input for rint benchtest.
8175
57267616
TS
81762013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8177
8178 * Versions.def (libm): Add GLIBC_2.18.
8179 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8180 hidden libm prototypes.
8181 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8182 * math/Makefile (libm-calls): Add s_issignaling.
8183 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8184 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8185 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8186 declaration.
8187 * math/math.h [__USE_GNU] (issignaling): New macro.
8188 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8189 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8191 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8194 * manual/arith.texi (issignaling): New section.
8195 * manual/libm-err-tab.pl (@all_functions): Update comment.
8196 * math/gen-libm-test.pl (parse_args): Apply special handling for
8197 issignaling.
8198 * math/libm-test.inc (print_float, issignaling_test): New
8199 functions.
8200 (check_float_internal): Add issignaling checks.
8201 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8202 default definition.
8203 * sysdeps/powerpc/math-tests.h: New file.
8204 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8205 tests.
8206 * math/test-snan.c (TEST_FUNC): Likewise.
8207
6142896d
DM
82082013-03-30 David S. Miller <davem@davemloft.net>
8209
8210 * po/de.po: Update from translation team.
8211
ccc8cadf
JM
82122013-03-30 Joseph Myers <joseph@codesourcery.com>
8213
8214 [BZ #10357]
8215 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8216 imaginary part less than 1.0 and real part less than 0.5
8217 specially.
8218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8220 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8221 (cacos_test): Add more tests.
8222 (casin_test): Likewise.
8223 (casinh_test): Likewise.
8224 * sysdeps/i386/fpu/libm-test-ulps: Update.
8225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8226
0f6a8d4b
SP
82272013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8228
0d1029de
SP
8229 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8230 ONE with its value.
8231
c2d94018
SP
8232 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8233 (__pow_mp): Replace ONE and MONE with their values.
8234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8236 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8237 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8238 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8239 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8240
27ec37f1
SP
8241 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8242
a64d7e0e
SP
8243 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8244 (__pow_mp): Replace ZERO and MZERO with their values.
8245 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8247 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8249 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8250 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8251 (__sqr): Likewise.
8252
d26dd3eb
SP
8253 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8254
0f6a8d4b
SP
8255 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8256
e57b0c61
RM
82572013-03-28 Roland McGrath <roland@hack.frob.com>
8258
8259 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8260 Declare with __attribute__ ((weak)).
8261 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8262 Call __call_tls_dtors only if it's not NULL.
8263
356b3480
RM
82642013-03-28 Roland McGrath <roland@hack.frob.com>
8265
288f7d79
RM
8266 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8267 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8268 magic __ehdr_start linker symbol if it's defined.
8269 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8270 them up here if it was already done.
8271
dc0a0263
RM
8272 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8273 (_dl_aux_init): Use const in cast when setting it.
8274 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8275 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8276 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8277
3d3436ae
RM
8278 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8279 Declare them here.
8280 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8281 * csu/libc-tls.c: Nor here.
8282 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8283
356b3480
RM
8284 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8285 (__libc_message): Never call vsyslog.
8286
b0f1246a
AM
82872013-03-28 Alan Modra <amodra@gmail.com>
8288
8289 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8290 Define as empty.
8291 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8292 Likewise.
8293
fbbe2b9a
AZ
82942013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8295
8296 [BZ #15214]
8297 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8298 underflow.
8299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8300
1728ab37
SP
83012013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8302
7a86be6e
SP
8303 [BZ #15304]
8304 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8305 Don't add gid passed as argument.
8306
1728ab37
SP
8307 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8308
3a7182a1
JM
83092013-03-27 Joseph Myers <joseph@codesourcery.com>
8310
8311 [BZ #15307]
8312 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8313 imaginary part between 1.0 and 1.5 and real part less than 0.5
8314 specially.
8315 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8316 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8317 * math/libm-test.inc (cacos_test): Add more tests.
8318 (casin_test): Likewise.
8319 (casinh_test): Likewise.
8320 * sysdeps/i386/fpu/libm-test-ulps: Update.
8321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8322
6f2e90e7
SP
83232013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8324
5739f705
SP
8325 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8326 constants.
8327 (norm): Likewise.
8328 (denorm): Likewise.
8329 (__dbl_mp): Likewise.
8330 (add_magnitudes): Likewise.
8331 (sub_magnitudes): Likewise.
8332 (__add): Likewise.
8333 (__sub): Likewise.
8334 (__mul): Likewise.
8335 (__sqr): Likewise.
8336 (__inv): Likewise.
8337 (__dvd): Likewise.
8338
e375e83d
SP
8339 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8340 commented code.
8341 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8342 (__dubcos): Likewise.
8343 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8344 (__ieee754_acos): Likewise.
8345 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8346 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8347 (__exp1): Likewise.
8348 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8350 (log1): Likewise.
8351 (my_log2): Likewise.
8352 (checkint): Likewise.
8353 * sysdeps/ieee754/dbl-64/e_remainder.c
8354 (__ieee754_remainder): Likewise.
8355 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8357 (bsloww): Likewise.
8358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8359
6f2e90e7
SP
8360 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8361 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8362 MANTISSA_STORE_T to store computations on mantissa. Use
8363 macros for rounding and division.
8364 (denorm): Likewise.
8365 (__dbl_mp): Likewise.
8366 (add_magnitudes): Likewise.
8367 (sub_magnitudes): Likewise.
8368 (__mul): Likewise.
8369 (__sqr): Likewise.
8370 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8371 powers of two in terms of TWOPOW macro.
8372 (mp_no): Make type of mantissa as MANTISSA_T.
8373 [!RADIXI]: Define RADIXI.
8374 [!TWO52]: Define TWO52.
8375 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8376
fce14d4e
AZ
83772013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8378
8379 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8380 llroundl symbol when building for PPC32.
8381
9ad027fb
MW
83822013-03-24 Mark H Weaver <mhw@netris.org>
8383
8384 * manual/arith.texi (Normalization Functions): Fix prototypes for
8385 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8386
e42a38dd
AZ
83872013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8388
8389 [BZ #13889]
8390 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8391 high value to check if expl overflow.
8392 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8393 to check for underflow and overflow.
8394 * math/libm-test.inc: Add exp test.
8395
2e0fb521
DL
83962013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8397
8398 [BZ #11120]
8399 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8400 with NOT_IN_libc.
8401
b5784d95
AZ
84022013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8403
8404 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8405 symbol.
8406
5aa4a1a1
TS
84072013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8408
bdef0be7
TS
8409 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8410 wrap blocks consisting of several statements.
8411
5aa4a1a1
TS
8412 * sysdeps/generic/math-tests.h: New file.
8413 * sysdeps/i386/fpu/math-tests.h: Likewise.
8414 * math/test-snan.c: Include it.
8415 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8416
98c48fe5
JM
84172013-03-21 Joseph Myers <joseph@codesourcery.com>
8418
8419 [BZ #15285]
8420 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8421 (__ieee754_j0l): Do not improve calculations using cos of twice
8422 input for inputs above LDBL_MAX / 2.0L.
8423 (__ieee754_y0l): Likewise.
8424 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8425 (__ieee754_j1l): Do not improve calculations using cos of twice
8426 input for inputs above LDBL_MAX / 2.0L.
8427 (__ieee754_y1l): Likewise.
8428 * math/libm-test.inc (j0_test): Add another test.
8429 (j1_test): Likewise.
8430 (y0_test): Likewise.
8431 (y1_test): Likewise.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update.
8433
3775a8bc
SP
84342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8435
8436 * Rules ($(objpfx)bench-%.c): Include code from a C source
8437 file.
8438
0a1b2ae6
JM
84392013-03-21 Joseph Myers <joseph@codesourcery.com>
8440
8441 [BZ #15287]
8442 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8443 imaginary part 1.0 and real part less than 0.5 specially.
8444 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8445 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8446 * math/libm-test.inc (cacos_test): Add more tests.
8447 (casin_test): Likewise.
8448 (casinh_test): Likewise.
8449 * sysdeps/i386/fpu/libm-test-ulps: Update.
8450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8451
b33d4ce4
SP
84522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8453
8454 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8455 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8456
bef0b507
JM
84572013-03-20 Joseph Myers <joseph@codesourcery.com>
8458
8459 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8460 * config.make.in (config-cflags-sse4): Remove variable.
8461 (config-cflags-avx): Likewise.
8462 (config-cflags-sse2avx): Likewise.
8463 (config-cflags-novzeroupper): Likewise.
8464 (config-asflags-i686): Likewise.
8465 (have-mfma4): Likewise.
8466 (have-as-vis3): Likewise.
8467 (MIG): Likewise.
8468 * configure.in (MIG): Do not AC_SUBST.
8469 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8470 (libc_cv_cc_sse4): Do not AC_SUBST.
8471 (libc_cv_cc_avx): Likewise.
8472 (libc_cv_cc_sse2avx): Likewise.
8473 (libc_cv_cc_novzeroupper): Likewise.
8474 (libc_cv_cc_fma4): Likewise.
8475 (libc_cv_as_i686): Likewise.
8476 (libc_cv_sparc_as_vis3): Likewise.
8477 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8478 LIBC_CONFIG_VAR.
8479 (config-asflags-i686): Likewise.
8480 (config-cflags-avx): Likewise.
8481 (config-cflags-sse2avx): Likewise.
8482 (have-mfma4): Likewise.
8483 (config-cflags-novzeroupper): Likewise.
8484 * sysdeps/mach/configure.in (MIG): Likewise.
8485 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8486 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8487 LIBC_CONFIG_VAR.
8488 (config-cflags-avx): Likewise.
8489 (config-cflags-sse2avx): Likewise.
8490 (have-mfma4): Likewise.
8491 (config-cflags-novzeroupper): Likewise.
8492 * configure: Regenerated.
8493 * sysdeps/i386/configure: Likewise.
8494 * sysdeps/mach/configure: Likewise.
8495 * sysdeps/sparc/configure: Likewise.
8496 * sysdeps/x86_64/configure: Likewise.
8497
912cc4b3
RM
84982013-03-20 Roland McGrath <roland@hack.frob.com>
8499
8500 [BZ #14812]
8501 * locale/programs/localedef.c (options): Put N_ translation marker
8502 on argument names, not just descriptions.
8503
04eed2b0
MS
85042013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8505
8506 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8507
a065ceff
OB
85082013-03-20 Ondřej Bílka <neleai@seznam.cz>
8509
9bb2a810 8510 [BZ #14176]
a065ceff
OB
8511 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8512
a600e5ce
RM
85132013-03-19 Roland McGrath <roland@hack.frob.com>
8514
8515 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8516 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8517 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8518 [!BEFORE_ABORT] (before_abort): New function.
8519 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8520 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8521 (writev_for_fatal): New function.
8522 (WRITEV_FOR_FATAL): New macro; call that.
8523 (backtrace_and_maps): New function.
8524 (BEFORE_ABORT): New macro; call that.
8525 (struct str_list): Type removed.
8526 (__libc_message, __libc_fatal): Functions removed.
8527 Include <sysdeps/posix/libc_fatal.c> instead.
8528
6b18bea6
JM
85292013-03-19 Joseph Myers <joseph@codesourcery.com>
8530
8531 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8532 constants.
8533 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8534 double constants.
8535
aaa8cb4b
AS
85362013-03-19 Andreas Schwab <schwab@suse.de>
8537
44673770
AS
8538 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8539 * sysdeps/gnu/configure: Regenerate.
8540
aaa8cb4b
AS
8541 * configure.in: Substitute libc_cv_rtlddir.
8542 * configure: Regenerate.
8543 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8544 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8545 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8546 * elf/Makefile (install-others, CFLAGS-interp.c)
8547 (ldso_install, common-ldd-rewrite): Likewise.
8548 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8549 $(inst_slibdir)/$(rtld-installed-name).
8550 * scripts/rellns-sh: Add -p option.
8551 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8552 for source.
8553
d3cfc668
SP
85542013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8555
8556 * manual/nptl.texi: Renamed to ...
8557 * manual/threads.texi: ... this.
8558 * manual/Makefile (chapters): Update.
8559
0e2b9cdd
RM
85602013-03-18 Roland McGrath <roland@hack.frob.com>
8561
8562 [BZ #14812]
8563 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8564 on argument names, not just descriptions.
0e2b9cdd
RM
8565 * malloc/memusagestat.c (options): Likewise.
8566 * nss/getent.c (options): Likewise.
63270c24
RM
8567
85682013-03-18 Benno Schulenberg <bensberg@justemail.net>
8569
8570 [BZ #14812]
8571 * iconv/iconv_prog.c (options): Put N_ translation marker
8572 on argument names, not just descriptions.
8573 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8574
b2e1393c
OB
85752013-03-18 Ondrej Bilka <neleai@seznam.cz>
8576
8577 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8578 implementation which is faster on all x86_64 architectures.
8579 Tested on AMD, Intel Nehalem, SNB, IVB.
8580 * sysdeps/x86_64/strnlen.S: Likewise.
8581
8582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8583 Remove all multiarch strlen and strnlen versions.
8584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8585 Remove strlen and strnlen related parts.
8586
8587 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8588 Inline strlen part.
8589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8590
8591 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8592 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8593 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8594 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8595 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8596 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8597
ec4ff04d
CD
85982013-03-17 Carlos O'Donell <carlos@redhat.com>
8599
8600 * manual/memory.texi (Malloc Tunable Parameters):
8601 Sort parameters alphabetically. Add comments for missing entries.
8602
cd18e90a
DM
86032013-03-17 David S. Miller <davem@davemloft.net>
8604
8605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8606
2a185d32
JM
86072013-03-16 Joseph Myers <joseph@codesourcery.com>
8608
d2f9799e
JM
8609 [BZ #15283]
8610 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8611 for arguments at most half maximum finite value.
8612 * math/libm-test.inc (j0_test): Add more tests.
8613 (j1_test): Likewise.
8614 (y0_test): Likewise.
8615 (y1_test): Likewise.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618
2a185d32
JM
8619 [BZ #14155]
8620 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8621 1 / x and functions P and Q for arguments above 0x1p256L.
8622 (__ieee754_y0l): Likewise.
8623 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8624 (__ieee754_y1l): Likewise.
8625 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8626 (j1_test): Likewise.
8627 (y0_test): Likewise.
8628 (y1_test): Likewise.
8629
6cbec759
TS
86302013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8631
8632 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8633 variable.
8634
bc16e260
RM
86352013-03-15 Roland McGrath <roland@hack.frob.com>
8636
aefc9b8c
RM
8637 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8638 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8639 zero since it's initialized to EXEC_PAGESIZE.
8640
bc16e260
RM
8641 * sysdeps/unix/sysv/linux/ldsodefs.h
8642 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8643 * sysdeps/generic/ldsodefs.h: ... here.
8644
a57da955
TS
86452013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8646
af00a34d
TS
8647 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8648
495ded2c
TS
8649 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8650 math/test-snan.c.
8651 * math/test-snan.c: Renamed from
8652 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8653 * math/Makefile (tests): Add test-snan.
8654 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8655 test-powerpc-snan.
8656
777b0332
TS
8657 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8658 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8659 functions.
8660 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8661 __builtin_nan family of functions.
8662 * math/libm-test.inc (initialize): Initialize qnan_value with
8663 __builtin_nan family of functions.
8664 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8665 Remove variables.
8666 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8667 Remove functions.
8668 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8669 storage class. Initialize qNaN_var and sNaN_var with
8670 __builtin_nan and __builtin_nans families of functions,
8671 respectively.
8672
64d063b8
TS
8673 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8674 (sqrt_test): Remove duplicate test with qNaN input.
8675 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8676 (round_test, signbit_test, significand_test): Note missing +/-Inf
8677 as well as qNaN tests.
8678
67e971f1
TS
8679 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8680 qNaN_var. Fix a few strings, too.
8681 * math/libm-test.inc (nan_value): Rename to qnan_value.
8682 * math/gen-libm-test.pl (%beautify): Adjust to that.
8683 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8684 * math/test-misc.c (main): Likewise.
8685 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8686 to __qnan_bytes, and __qnan_union, respectively.
8687 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8688 Likewise.
8689 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8690 and lqnanval, respectively.
8691 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8692 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8693 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8694 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8695
64487e12
TS
8696 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8697 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8698 doubles.
8699
e015e27b
TS
8700 * math/test-misc.c (main): Fix copy'n'pastos.
8701 * misc/tst-efgcvt.c (special): Likewise.
8702
a57da955
TS
8703 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8704 Remove declarations.
8705
1e380345
SP
87062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
8708 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8709 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8710 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8711 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8712
ef26eece
AZ
87132013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8714
8715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8716 macro to return vdso values correctly in IFUNC implementations.
8717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8718 Optimization by using IFUNC.
8719
8cfdb7e0
SP
87202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8721 Richard Henderson <rth@redhat.com>
8722 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8723
8724 * Makefile.in (bench): New target.
8725 * NEWS: Mention the benchmark framework.
8726 * Rules (bench): Likewise.
8727 (binaries-bench): Generate binaries for functions to
8728 benchmark.
8729 * benchtests/Makefile: New makefile for benchmark tests.
8730 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8731 programs.
8732 * benchtests/exp-inputs: New input file for EXP function.
8733 * benchtests/pow-inputs: New input file for POW function.
8734 * scripts/bench.pl: New script to generate source files for
8735 benchmark programs.
8736
bcda9880
SP
87372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8738
d22ca8cd
SP
8739 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8740 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8741 computations on mantissa. Use macros for rounding and
8742 division.
8743 (denorm): Likewise.
8744 (__dbl_mp): Likewise.
8745 (add_magnitudes): Likewise.
8746 (sub_magnitudes): Likewise.
8747 (__mul): Likewise.
8748 (__sqr): Likewise.
8749 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8750 powers of two in terms of TWOPOW macro.
8751 (mp_no): Make type of mantissa as MANTISSA_T.
8752 [!RADIXI]: Define RADIXI.
8753 [!TWO52]: Define TWO52.
8754 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8755
bcda9880
SP
8756 * manual/nptl.texi (cindex): Modify threads to pthreads.
8757
06d5adfb
JM
87582013-03-15 Joseph Myers <joseph@codesourcery.com>
8759
8760 * sysdeps/x86_64/preconfigure: Regenerated.
8761
41c7328e
JM
87622013-03-14 Joseph Myers <joseph@codesourcery.com>
8763
8764 [BZ #14155]
8765 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8766 0x1p28 and above.
8767 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8768 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8769 0x1p28 and above.
8770 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8771 * math/libm-test.inc (j0_test): Do not allow one spurious
8772 underflow exception.
8773 (y1_test): Likewise.
8774
e25cfa60
SP
87752013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8776
0409959c
SP
8777 * manual/Makefile (chapters): Add nptl.
8778 * manual/debug.texi (Debugging Support): Add link to Threads
8779 chapter.
8780 * manual/nptl.texi: New file.
8781
e25cfa60
SP
8782 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8783
58a1335e
PB
87842013-03-14 Petr Baudis <pasky@ucw.cz>
8785
8786 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8787 for non-NULL pointer before the memory validity test. Pointed
8788 out by Holger Brunck <holger.brunck@keymile.com>.
8789
9dc7c64f
AS
87902013-03-13 Andreas Schwab <schwab@suse.de>
8791
8792 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8793 instead of .os.
8794
54206aa6
JM
87952013-03-13 Joseph Myers <joseph@codesourcery.com>
8796
8797 * timezone/zic.c: Update from tzcode 2013b.
8798
e98cdb38
CD
87992013-03-12 Carlos O'Donell <carlos@redhat.com>
8800
8801 * manual/install.texi (Configuring and compiling):
8802 Mention i686 and i586.
8803 * INSTALL: Regenerate.
8804
9967e003
RM
88052013-03-12 Roland McGrath <roland@hack.frob.com>
8806
8807 * sysdeps/init_array/elf-init.c: New file.
8808 * csu/elf-init.c
8809 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8810 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8811
8812 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8813 __gmon_start__ as global, but as static with a .preinit_array pointer.
8814 * sysdeps/init_array/gmon-start.c: New file. Use that.
8815 * sysdeps/init_array/crti.S: New file, empty except for comments.
8816 * sysdeps/init_array/crtn.S: Likewise.
8817
e6b5a293 88182013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8819
8820 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8821 definining bcopy.
80f844c9
OB
8822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8823 Remove Prefer_SSE_for_memop.
8824 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8825 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8826 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8828 memset-x86-64.
80f844c9 8829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8830 Remove bzero, memset ifunc support.
80f844c9
OB
8831 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8832 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8833 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8834 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8835
fb6b0fcb
AS
88362013-03-11 Andreas Schwab <schwab@suse.de>
8837
8838 [BZ #15234]
8839 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8840 by SHLIB_COMPAT.
8841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8842 (GLIBC_2.16): Remove pthread_atfork.
8843
3e6bd4b1
PP
88442013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8845
8846 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8847 (ptestcases.h): Likewise.
8848
222d7f00
RM
88492013-03-08 Roland McGrath <roland@hack.frob.com>
8850
8851 * Makeconfig ($(common-objpfx)config.status): Depend on
8852 sysdeps/*/preconfigure{,.in} too.
8853
1ba4f030
JM
88542013-03-08 Joseph Myers <joseph@codesourcery.com>
8855
a222d91a
JM
8856 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8857 (__free_hook): Use void * instead of __malloc_ptr_t.
8858 (__malloc_hook): Likewise.
8859 (__realloc_hook): Likewise.
8860 (__memalign_hook): Likewise.
8861 (__after_morecore_hook): Likewise.
8862 * malloc/arena.c (save_malloc_hook): Likewise.
8863 (save_free_hook): Likewise.
8864 * malloc/hooks.c (malloc_hook_ini): Likewise.
8865 (realloc_hook_ini): Likewise.
8866 (memalign_hook_ini): Likewise.
8867 * malloc/malloc.c (malloc_hook_ini): Likewise.
8868 (realloc_hook_ini): Likewise.
8869 (memalign_hook_ini): Likewise.
8870 (__free_hook): Likewise.
8871 (__malloc_hook): Likewise.
8872 (__realloc_hook): Likewise.
8873 (__memalign_hook): Likewise.
8874 (__libc_malloc): Likewise.
8875 (__libc_free): Likewise.
8876 (__libc_realloc): Likewise.
8877 (__libc_memalign): Likewise.
8878 (__libc_valloc): Likewise.
8879 (__libc_pvalloc): Likewise.
8880 (__libc_calloc): Likewise.
8881 (__posix_memalign): Likewise.
8882 * malloc/morecore.c (__sbrk): Likewise.
8883 (__default_morecore): Likewise.
8884
5cc45e10
JM
8885 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8886
dd54b864
JM
8887 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8888 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8889 __malloc_ptrdiff_t.
8890
1ba4f030
JM
8891 * malloc/malloc.h (__malloc_size_t): Remove macro.
8892 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8893 __malloc_size_t.
8894 (old_memalign_hook): Likewise.
8895 (old_realloc_hook): Likewise.
8896 (struct hdr): Likewise.
8897 (flood): Likewise.
8898 (mallochook): Likewise.
8899 (memalignhook): Likewise.
8900 (reallochook): Likewise.
8901 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8902 (tr_old_realloc_hook): Likewise.
8903 (tr_old_memalign_hook): Likewise.
8904 (tr_mallochook): Likewise.
8905 (tr_reallochook): Likewise.
8906 (tr_memalignhook): Likewise.
8907
edf66e57
AZ
89082013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8909
8910 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8911 default_ldbl_pack and using as default implementation.
8912 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8913 implementation.
8914 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8915 redundant definition.
8916 (ldbl_insert_mantissa): Likewise.
8917 (ldbl_canonicalize): Likewise.
8918 (ldbl_nearbyint): Likewise.
8919 (ldbl_pack): Rename to ldbl_pack_ppc.
8920 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8921 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8922 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8923
6d9145d8
SP
89242013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
8926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8927 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8928 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8929 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8931 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8932 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8933 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8934
4dd4e157
AJ
89352013-03-07 Andreas Jaeger <aj@suse.de>
8936
8937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8938 bits/mman-linux.h.
8939
adbb8027
SP
89402013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8941
ce544b5b
SP
8942 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8943 Include mpa.h and declare __MPEXP.
8944 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8946 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8948 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8949 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8950 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8951
4cc149fd
SP
8952 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8953 (__slowpow): Use long double EXPL and LOGL functions to
8954 compute POW.
8955 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8956 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8957 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8959 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8961
e6ebd4a7
SP
8962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8963 intermediate variable to calculate exponent.
8964 (__sqr): Likewise.
8965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8966 Likewise.
8967 (__sqr): Likewise.
8968
82a9811d
SP
8969 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8970 [!NO__SQR]: Define __sqr.
8971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8972 and NO__SQR. Remove all code except __mul and __sqr. Include
8973 sysdeps/ieee754/dbl-64/mpa.c.
8974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8975
adbb8027
SP
8976 [BZ #12723]
8977 * posix/Makefile (tests): Add tst-pathconf.
8978 * posix/tst-pathconf.c: New test case.
8979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8980 _PC_PIPE_BUF.
8981 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8982
39120df9
PF
89832013-03-06 Patsy Franklin <pfrankli@redhat.com>
8984
8985 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8986
67525cb8
AJ
89872013-03-06 Andreas Jaeger <aj@suse.de>
8988
664a9ce4
AJ
8989 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8990 definition via __MAP_ANONYMOUS.
8991
8e39047d
AJ
8992 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8993 it's not part of Linux headers.
8994
67525cb8
AJ
8995 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8996 (MAP_HUGE_MASK): Define.
8997
8998 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8999 Define.
9000 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9002 Define.
9003 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9004 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9005 Define.
9006 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9008 Define.
9009 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9010
9011 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9012 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9013 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9014 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9015 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9016 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9017
9018 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9019 Handle f2fs.
9020
9021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9022 Handle f2fs and efivarfs.
9023
9024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9025 f2fs.
9026
9027 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9028 (EFIVARFS_MAGIC): Add.
9029 (F2FS_LINK_MAX): Add.
9030
e1b42695
PP
90312013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9032
9033 * stdio-common/vfprintf.c: Replace __builtin_expect with
9034 __glibc_unlikely.
9035
2d67d91a
JM
90362013-03-06 Joseph Myers <joseph@codesourcery.com>
9037
9038 [BZ #13550]
9039 * sysdeps/generic/bp-sym.h: Remove file.
9040 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9041 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9042 <bp-sym.h> and <bp-asm.h>.
9043 (__longjmp): Don't use BP_SYM.
9044 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9045 and <bp-asm.h>.
9046 (memcpy): Don't use BP_SYM.
9047 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9048 <bp-sym.h> and <bp-asm.h>.
9049 (memcpy): Don't use BP_SYM.
9050 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9051 <bp-asm.h>.
9052 (memcpy): Don't use BP_SYM.
9053 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9054 <bp-asm.h>.
9055 (memset): Don't use BP_SYM.
9056 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9057 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9058 (__bzero): Don't use BP_SYM.
9059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9061 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9062 <bp-sym.h> and <bp-asm.h>.
9063 (memcmp): Don't use BP_SYM. Remove comment about bounded
9064 pointers.
9065 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9066 <bp-sym.h> and <bp-asm.h>.
9067 (memcpy): Don't use BP_SYM.
9068 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9069 <bp-sym.h> and <bp-asm.h>.
9070 (memset): Don't use BP_SYM.
9071 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9072 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9073 (__bzero): Don't use BP_SYM.
9074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9077 <bp-sym.h> and <bp-asm.h>.
9078 (strncmp): Don't use BP_SYM. Remove comment about bounded
9079 pointers.
9080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9081 <bp-sym.h> and <bp-asm.h>.
9082 (memcpy): Don't use BP_SYM.
9083 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9084 <bp-sym.h> and <bp-asm.h>.
9085 (memset): Don't use BP_SYM.
9086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9088 (__bzero): Don't use BP_SYM.
9089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9091 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9092 <bp-sym.h> and <bp-asm.h>.
9093 (__memchr): Don't use BP_SYM.
9094 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9095 <bp-sym.h> and <bp-asm.h>.
9096 (memcmp): Don't use BP_SYM. Remove comment about bounded
9097 pointers.
9098 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9099 <bp-sym.h> and <bp-asm.h>.
9100 (memcpy): Don't use BP_SYM.
9101 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9102 <bp-sym.h> and <bp-asm.h>.
9103 (__mempcpy): Don't use BP_SYM.
9104 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9105 <bp-sym.h> and <bp-asm.h>.
9106 (__memrchr): Don't use BP_SYM.
9107 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9108 <bp-sym.h> and <bp-asm.h>.
9109 (memset): Don't use BP_SYM.
9110 (__bzero): Likewise.
9111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9112 <bp-sym.h> and <bp-asm.h>.
9113 (__rawmemchr): Don't use BP_SYM.
9114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9115 <bp-sym.h> and <bp-asm.h>.
9116 (__STRCMP): Don't use BP_SYM.
9117 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9118 <bp-sym.h> and <bp-asm.h>.
9119 (strchr): Don't use BP_SYM.
9120 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9121 <bp-sym.h> and <bp-asm.h>.
9122 (__strchrnul): Don't use BP_SYM.
9123 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9124 <bp-sym.h> and <bp-asm.h>.
9125 (strlen): Don't use BP_SYM.
9126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9127 <bp-sym.h> and <bp-asm.h>.
9128 (strncmp): Don't use BP_SYM. Remove comment about bounded
9129 pointers.
9130 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9131 <bp-sym.h> and <bp-asm.h>.
9132 (__strnlen): Don't use BP_SYM.
9133 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9134 <bp-sym.h> and <bp-asm.h>.
9135 (__GI__setjmp): Don't use BP_SYM.
9136 (_setjmp): Likewise.
9137 (__sigsetjmp): Likewise.
9138 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9139 (L(start_addresses)): Don't use BP_SYM.
9140 (_start): Likewise.
9141 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9142 <bp-asm.h>.
9143 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9144 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9145 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9146 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9147 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9148 <bp-asm.h>.
9149 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9150 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9151 about bounded pointers.
9152 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9153 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9154 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9155 <bp-asm.h>.
9156 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9157 about bounded pointers. Remove GKM FIXME comments.
9158 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9159 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9160 <bp-asm.h>.
9161 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9162 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9163 Remove GKM FIXME comments.
9164 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9165 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9166 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9167 <bp-asm.h>.
9168 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9169 about bounded pointers. Remove GKM FIXME comment.
9170 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9171 and <bp-asm.h>.
9172 (strncmp): Don't use BP_SYM. Remove comment about bounded
9173 pointers.
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9175 <bp-sym.h> and <bp-asm.h>.
9176 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9178 <bp-sym.h> and <bp-asm.h>.
9179 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9180 comment.
9181
cdcf361f
PP
91822013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9183
9184 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9185 call free(NULL).
9186
3c4a2b15
DM
91872013-03-05 David S. Miller <davem@davemloft.net>
9188
9189 * po/es.po: Update from translation team.
9190
cdcf361f 91912013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9192
9193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9194 <bits/mman-linux.h>.
9195 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9196 is fine.
9197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9198 <bits/mman-linux.h> to end of file.
9199 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9200 is fine.
9201 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9202 <bits/mman-linux.h> to end of file.
9203 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9204 is fine.
9205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9206 <bits/mman-linux.h> to end of file.
9207
9208 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9209 (MCL_CURRENT, MCL_FUTURE): Define here.
9210
5f67c04f
AK
92112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9212
8a4473cc 9213 [BZ #15232]
5f67c04f
AK
9214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9215 attribute_hidden.
9216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9217
c3e94a95
AK
92182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9219
9220 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9221 fourth parameter needed for rt_sigprocmask syscall.
9222 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9223 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9224 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9225 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9226 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9227 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9228
cfb6382a
JM
92292013-03-04 Joseph Myers <joseph@codesourcery.com>
9230
9231 [BZ #13550]
9232 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9233 comment about bounded pointers.
9234 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9235 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9236
539d8e01
AJ
92372013-03-04 Andreas Jaeger <aj@suse.de>
9238
9239 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9240 common definitions.
9241
9242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9243 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9244 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9248
2e167a70 92492013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9250
9251 [BZ #15055]
9252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9253 __ieee754_sqrl instead of __sqrl.
9254
68508633
JM
92552013-03-01 Joseph Myers <joseph@codesourcery.com>
9256
9257 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9258 * sysdeps/powerpc/fpu_control.h: ... here.
9259 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9260 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9261 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9262 * sysdeps/powerpc/bits/mathinline.h: ... here.
9263
7775448e
RM
92642013-03-01 Roland McGrath <roland@hack.frob.com>
9265
9266 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9267 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9268 to just [NEED_DL_SYSINFO_DSO].
9269 * elf/dl-support.c: Likewise.
9270 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9271 * elf/rtld.c (dl_main): Likewise.
9272 * elf/setup-vdso.h (setup_vdso): Likewise.
9273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9274 * sysdeps/unix/sysv/linux/dl-sysdep.c
9275 (_dl_discover_osversion): Likewise.
9276
4e9b5995
CD
92772013-03-01 Carlos O'Donell <carlos@redhat.com>
9278
9279 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9280 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9281
e23872c8
SP
92822013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9283
e5c74c63
SP
9284 * NEWS: Mention libm performance improvements and non-x86 PI
9285 futex support.
9286
e23872c8
SP
9287 * csu/libc-start.c (__pthread_initialize_minimal): Change
9288 function arguments.
9289 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9290
b5510883
JM
92912013-02-28 Joseph Myers <joseph@codesourcery.com>
9292
9293 [BZ #13550]
9294 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9295 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9296 <bp-sym.h> and <bp-asm.h>.
9297 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9298 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9299 and <bp-asm.h>.
9300 (memcpy): Don't use BP_SYM.
9301 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9302 <bp-asm.h>.
9303 (__mpn_add_n): Don't use BP_SYM.
9304 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9305 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9306 and <bp-asm.h>.
9307 (__mpn_addmul_1): Don't use BP_SYM.
9308 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9309 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9310 <bp-sym.h>.
9311 (_setjmp): Don't use BP_SYM.
9312 (__novmx_setjmp): Likewise.
9313 (__GI__setjmp): Likewise.
9314 (__vmx_setjmp): Likewise.
9315 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9316 <bp-sym.h>.
9317 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9318 (__bzero): Don't use BP_SYM.
9319 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9320 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9321 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9322 <bp-sym.h> and <bp-asm.h>.
9323 (memcpy): Don't use BP_SYM.
9324 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9325 <bp-sym.h> and <bp-asm.h>.
9326 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9327 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9328 <bp-sym.h> and <bp-asm.h>.
9329 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9330 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9331 <bp-asm.h>.
9332 (__mpn_lshift): Don't use BP_SYM.
9333 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9334 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9335 <bp-asm.h>.
9336 (memset): Don't use BP_SYM.
9337 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9338 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9339 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9340 <bp-asm.h>.
9341 (__mpn_mul_1): Don't use BP_SYM.
9342 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9344 <bp-sym.h> and <bp-asm.h>.
9345 (memcmp): Don't use BP_SYM.
9346 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9347 <bp-sym.h> and <bp-asm.h>.
9348 (memcpy): Don't use BP_SYM.
9349 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9350 <bp-sym.h> and <bp-asm.h>.
9351 (memset): Don't use BP_SYM.
9352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9353 <bp-sym.h> and <bp-asm.h>.
9354 (strncmp): Don't use BP_SYM.
9355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9356 <bp-sym.h> and <bp-asm.h>.
9357 (memcpy): Don't use BP_SYM.
9358 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9359 <bp-sym.h> and <bp-asm.h>.
9360 (memset): Don't use BP_SYM.
9361 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9362 <bp-sym.h> and <bp-asm.h>.
9363 (__memchr): Don't use BP_SYM.
9364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9365 <bp-sym.h> and <bp-asm.h>.
9366 (memcmp): Don't use BP_SYM.
9367 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9368 <bp-sym.h> and <bp-asm.h>.
9369 (memcpy): Don't use BP_SYM.
9370 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9371 <bp-sym.h> and <bp-asm.h>.
9372 (__mempcpy): Don't use BP_SYM.
9373 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9374 <bp-sym.h> and <bp-asm.h>.
9375 (__memrchr): Don't use BP_SYM.
9376 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9377 <bp-sym.h> and <bp-asm.h>.
9378 (memset): Don't use BP_SYM.
9379 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9380 <bp-sym.h> and <bp-asm.h>.
9381 (__rawmemchr): Don't use BP_SYM.
9382 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (__STRCMP): Don't use BP_SYM.
9385 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9386 <bp-sym.h> and <bp-asm.h>.
9387 (strchr): Don't use BP_SYM.
9388 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9389 <bp-sym.h> and <bp-asm.h>.
9390 (__strchrnul): Don't use BP_SYM.
9391 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9392 <bp-sym.h> and <bp-asm.h>.
9393 (strlen): Don't use BP_SYM.
9394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9395 <bp-sym.h> and <bp-asm.h>.
9396 (strncmp): Don't use BP_SYM.
9397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9398 <bp-sym.h> and <bp-asm.h>.
9399 (__strnlen): Don't use BP_SYM.
9400 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9401 <bp-asm.h>.
9402 (__mpn_rshift): Don't use BP_SYM.
9403 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9404 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9405 <bp-sym.h> and <bp-asm.h>.
9406 (__sigsetjmp): Don't use BP_SYM.
9407 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9408 (L(start_addresses)): Don't use BP_SYM.
9409 (_start): Likewise.
9410 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9411 <bp-asm.h>.
9412 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9413 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9414 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9415 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9416 <bp-asm.h>.
9417 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9418 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9419 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9420 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9421 <bp-asm.h>.
9422 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9423 comments.
9424 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9425 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9426 <bp-asm.h>.
9427 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9428 FIXME comments.
9429 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9430 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9431 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9432 <bp-asm.h>.
9433 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9434 comment.
9435 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9436 and <bp-asm.h>.
9437 (strncmp): Don't use BP_SYM,
9438 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9439 <bp-asm.h>.
9440 (__mpn_sub_n): Don't use BP_SYM.
9441 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9442 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9443 and <bp-asm.h>.
9444 (__mpn_submul_1): Don't use BP_SYM.
9445 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9447 <bp-sym.h> and <bp-asm.h>.
9448 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9450 <bp-sym.h> and <bp-asm.h>.
9451 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9452 comment.
9453
8d19fe64
SP
94542013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9455
9456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9457 Use ZK to minimize writes to Z.
9458 (sub_magnitudes): Simplify code a bit.
9459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9460 Use ZK to minimize writes to Z.
9461 (sub_magnitudes): Simplify code a bit.
9462
85bd816a
RM
94632013-02-27 Roland McGrath <roland@hack.frob.com>
9464
9465 * csu/gmon-start.c: Add special exception to license text.
9466
b5977bf2
RH
94672013-02-27 Richard Henderson <rth@redhat.com>
9468
9469 * scripts/config.guess: Update from config.git.
9470 * scripts/config.sub: Likewise.
9471
11d6e2f2
SP
94722013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9473
09c14ed2
SP
9474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9475
a688864e
SP
9476 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9477
6295157a
SP
9478 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9479
b8de2202
SP
9480 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9481
11d6e2f2
SP
9482 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9483
7e80ddb8
RM
94842013-02-26 Roland McGrath <roland@hack.frob.com>
9485
9486 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9487 [$(build-shared = yes].
7e80ddb8 9488
7da6d9ed
SP
94892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9490
45f05884
SP
9491 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9492 (__mul): Reduce iterations for calculating mantissa.
9493
2236d359
SP
9494 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9495 MPTWO.
9496 (__mpranred): Likewise.
9497
7da6d9ed
SP
9498 [BZ #15160]
9499 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9500 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9501
b7688c42
PE
95022013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9503
9504 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9505 Define __attribute__.
9506
53a5c423
SP
95072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9508
9509 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9510 unused.
9511 * posix/regex_internal.h (__attribute): Remove.
9512 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9513 (re_string_context_at): Likewise.
9514 (bitset_not): Use __attribute__ and mark function as possibly
9515 unused.
9516 (bitset_merge): Likewise.
9517 (bitset_mask): Likewise.
9518 (re_string_char_size_at): Likewise.
9519 (re_string_wchar_at): Likewise.
9520 (re_string_elem_size_at): Likewise.
9521
60f5a8b5
SP
95222013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9523
2a983a2e
SP
9524 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9525 code.
9526 (cc32): Likewise.
9527
e69804d1
SP
9528 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9529 (__acr): Likewise.
9530 (__cpy): Likewise.
9531 (norm): Likewise.
9532 (denorm): Likewise.
9533 (__dbl_mp): Likewise.
9534 (add_magnitudes): Likewise.
9535 (sub_magnitudes): Likewise.
9536 (__mul): Likewise.
9537 (__inv): Likewise.
9538
2f22a1e8
SP
9539 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9540 style.
9541
8930ddc7
SP
9542 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9543 style.
9544
dc60cb11
SP
9545 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9546 code.
9547
60f5a8b5
SP
9548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9549 up changes with default code.
9550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9551 Likewise.
9552
b4d1fd33
AM
95532013-02-24 Allan McRae <allan@archlinux.org>
9554
faf6f8bc
AM
9555 * manual/socket.texi (The Internet Namespace): Order menu items
9556 to match that in the file.
9557
b4d1fd33
AM
9558 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9559 node listing of the info page menu.
9560
2366713d
JM
95612013-02-21 Joseph Myers <joseph@codesourcery.com>
9562
9563 [BZ #13550]
9564 * sysdeps/i386/bp-asm.h: Remove file.
9565 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9566 (PARMS): Do not use macros from bp-asm.h.
9567 (S1): Likewise.
9568 (S2): Likewise.
9569 (SIZE): Likewise.
9570 (__mpn_add_n): Do not use BP_SYM
9571 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9572 "bp-asm.h".
9573 (PARMS): Do not use macros from bp-asm.h.
9574 (S1): Likewise.
9575 (SIZE): Likewise.
9576 (__mpn_addmul_1): Do not use BP_SYM
9577 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9578 "bp-asm.h".
9579 (PARMS): Do not use macros from bp-asm.h.
9580 (SIGMSK): Likewise.
9581 (_setjmp): Likewise. Do not use BP_SYM.
9582 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9583 "bp-asm.h".
9584 (PARMS): Do not use macros from bp-asm.h.
9585 (SIGMSK): Likewise.
9586 (setjmp): Likewise. Do not use BP_SYM.
9587 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9588 "bp-asm.h".
9589 (PARMS): Do not use macros from bp-asm.h.
9590 (__frexp): Do not use BP_SYM.
9591 (frexp): Likewise.
9592 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9593 "bp-asm.h".
9594 (PARMS): Do not use macros from bp-asm.h.
9595 (__frexpf): Do not use BP_SYM.
9596 (frexpf): Likewise.
9597 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9598 "bp-asm.h".
9599 (PARMS): Do not use macros from bp-asm.h.
9600 (__frexpl): Do not use BP_SYM.
9601 (frexpl): Likewise.
9602 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9603 "bp-asm.h".
9604 (PARMS): Do not use macros from bp-asm.h.
9605 (__remquo): Do not use BP_SYM.
9606 (remquo): Likewise.
9607 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9608 "bp-asm.h".
9609 (PARMS): Do not use macros from bp-asm.h.
9610 (__remquof): Do not use BP_SYM.
9611 (remquof): Likewise.
9612 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9613 "bp-asm.h".
9614 (PARMS): Do not use macros from bp-asm.h.
9615 (__remquol): Do not use BP_SYM.
9616 (remquol): Likewise.
9617 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9618 "bp-asm.h".
9619 (PARMS): Do not use macros from bp-asm.h.
9620 (DEST): Likewise.
9621 (SRC): Likewise.
9622 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9623 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9624 "bp-asm.h".
9625 (PARMS): Do not use macros from bp-asm.h.
9626 (strlen): Do not use BP_SYM.
9627 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9628 "bp-asm.h".
9629 (PARMS): Do not use macros from bp-asm.h.
9630 (S1): Likewise.
9631 (S2): Likewise.
9632 (SIZE): Likewise.
9633 (__mpn_add_n): Do not use BP_SYM.
9634 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9635 "bp-asm.h".
9636 (PARMS): Do not use macros from bp-asm.h.
9637 (S1): Likewise.
9638 (SIZE): Likewise.
9639 (__mpn_addmul_1): Do not use BP_SYM.
9640 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9641 weak_alias.
9642 (bzero): Likewise.
9643 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9644 "bp-asm.h".
9645 (PARMS): Do not use macros from bp-asm.h.
9646 (S): Likewise.
9647 (SIZE): Likewise.
9648 (__mpn_lshift): Do not use BP_SYM.
9649 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9650 "bp-asm.h".
9651 (PARMS): Do not use macros from bp-asm.h.
9652 (DEST): Likewise.
9653 (SRC): Likewise.
9654 (LEN): Likewise.
9655 (memcpy): Likewise. Do not use BP_SYM.
9656 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9657 libc_hidden_def and weak_alias.
9658 (mempcpy): Do not use BP_SYM in weak_alias.
9659 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9660 "bp-asm.h".
9661 (PARMS): Do not use macros from bp-asm.h.
9662 (DEST): Likewise.
9663 (LEN): Likewise.
9664 [!BZERO_P] (CHR): Likewise.
9665 (memset): Likewise. Do not use BP_SYM.
9666 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9667 "bp-asm.h".
9668 (PARMS): Do not use macros from bp-asm.h.
9669 (S1): Likewise.
9670 (SIZE): Likewise.
9671 (__mpn_mul_1): Do not use BP_SYM.
9672 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9673 "bp-asm.h".
9674 (PARMS): Do not use macros from bp-asm.h.
9675 (S): Likewise.
9676 (SIZE): Likewise.
9677 (__mpn_rshift): Do not use BP_SYM.
9678 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9679 "bp-asm.h".
9680 (PARMS): Do not use macros from bp-asm.h.
9681 (STR): Likewise.
9682 (CHR): Likewise.
9683 (strchr): Likewise. Do not use BP_SYM.
9684 (index): Do not use BP_SYM in weak_alias.
9685 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9686 "bp-asm.h".
9687 (PARMS): Do not use macros from bp-asm.h.
9688 (DEST): Likewise.
9689 (SRC): Likewise.
9690 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9691 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9692 "bp-asm.h".
9693 (PARMS): Do not use macros from bp-asm.h.
9694 (strlen): Do not use BP_SYM.
9695 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9696 "bp-asm.h".
9697 (PARMS): Do not use macros from bp-asm.h.
9698 (S1): Likewise.
9699 (S2): Likewise.
9700 (SIZE): Likewise.
9701 (__mpn_sub_n): Do not use BP_SYM.
9702 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9703 "bp-asm.h".
9704 (PARMS): Do not use macros from bp-asm.h.
9705 (S1): Likewise.
9706 (SIZE): Likewise.
9707 (__mpn_submul_1): Do not use BP_SYM.
9708 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9709 "bp-asm.h".
9710 (PARMS): Do not use macros from bp-asm.h.
9711 (S1): Likewise.
9712 (S2): Likewise.
9713 (SIZE): Likewise.
9714 (__mpn_add_n): Do not use BP_SYM.
9715 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9716 weak_alias.
9717 (bzero): Likewise.
9718 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9719 "bp-asm.h".
9720 (PARMS): Do not use macros from bp-asm.h.
9721 (BLK2): Likewise.
9722 (LEN): Likewise.
9723 (memcmp): Do not use BP_SYM.
9724 (bcmp): Do not use BP_SYM in weak_alias.
9725 * sysdeps/i386/i686/memcpy.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 (SRC): Likewise.
9730 (LEN): Likewise.
9731 (memcpy): Likewise. Do not use BP_SYM.
9732 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9733 "bp-asm.h".
9734 (PARMS): Do not use macros from bp-asm.h.
9735 (DEST): Likewise.
9736 (SRC): Likewise.
9737 (LEN): Likewise.
9738 (memmove): Likewise. Do not use BP_SYM.
9739 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9740 "bp-asm.h".
9741 (PARMS): Do not use macros from bp-asm.h.
9742 (DEST): Likewise.
9743 (SRC): Likewise.
9744 (LEN): Likewise.
9745 (__mempcpy): Likewise. Do not use BP_SYM.
9746 (mempcpy): Do not use BP_SYM in weak_alias.
9747 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9748 "bp-asm.h".
9749 (PARMS): Do not use macros from bp-asm.h.
9750 (DEST): Likewise.
9751 (LEN): Likewise.
9752 [!BZERO_P] (CHR): Likewise.
9753 (memset): Likewise. Do not use BP_SYM.
9754 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9755 "bp-asm.h".
9756 (PARMS): Do not use macros from bp-asm.h.
9757 (STR2): Likewise.
9758 (strcmp): Do not use BP_SYM.
9759 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9760 "bp-asm.h".
9761 (PARMS): Do not use macros from bp-asm.h.
9762 (STR): Likewise.
9763 (DELIM): Likewise.
9764 [USE_AS_STRTOK_R] (SAVE): Likewise.
9765 (FUNCTION): Likewise. Do not use BP_SYM.
9766 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9767 aliases.
9768 (strtok_r): Likewise.
9769 (__GI___strtok_r): Likewise.
9770 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9771 (PARMS): Do not use macros from bp-asm.h.
9772 (S): Likewise.
9773 (SIZE): Likewise.
9774 (__mpn_lshift): Do not use BP_SYM.
9775 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9776 (PARMS): Do not use macros from bp-asm.h.
9777 (STR): Likewise.
9778 (CHR): Likewise.
9779 (__memchr): Do not use BP_SYM.
9780 (memchr): Do not use BP_SYM in weak_alias.
9781 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9782 (PARMS): Do not use macros from bp-asm.h.
9783 (BLK2): Likewise.
9784 (LEN): Likewise.
9785 (memcmp): Do not use BP_SYM.
9786 (bcmp): Do not use BP_SYM in weak_alias.
9787 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9788 (PARMS): Do not use macros from bp-asm.h.
9789 (S1): Likewise.
9790 (SIZE): Likewise.
9791 (__mpn_mul_1): Do not use BP_SYM.
9792 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9793 "bp-asm.h".
9794 (PARMS): Do not use macros from bp-asm.h.
9795 (STR): Likewise.
9796 (CHR): Likewise.
9797 (__rawmemchr): Do not use BP_SYM.
9798 (rawmemchr): Do not use BP_SYM in weak_alias.
9799 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9800 (PARMS): Do not use macros from bp-asm.h.
9801 (S): Likewise.
9802 (SIZE): Likewise.
9803 (__mpn_rshift): Do not use BP_SYM.
9804 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9805 (PARMS): Do not use macros from bp-asm.h.
9806 (SIGMSK): Likewise.
9807 (__sigsetjmp): Likewise. Do not use BP_SYM.
9808 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9809 (_start): Do not use BP_SYM.
9810 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9811 (PARMS): Do not use macros from bp-asm.h.
9812 (DEST): Likewise.
9813 (SRC): Likewise.
9814 (__stpcpy): Likewise. Do not use BP_SYM.
9815 (stpcpy): Do not use BP_SYM in weak_alias.
9816 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9817 "bp-asm.h".
9818 (PARMS): Do not use macros from bp-asm.h.
9819 (DEST): Likewise.
9820 (SRC): Likewise.
9821 (LEN): Likewise.
9822 (__stpncpy): Likewise. Do not use BP_SYM.
9823 (stpncpy): Do not use BP_SYM in weak_alias.
9824 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9825 (PARMS): Do not use macros from bp-asm.h.
9826 (STR): Likewise.
9827 (CHR): Likewise.
9828 (strchr): Likewise. Do not use BP_SYM.
9829 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9830 "bp-asm.h".
9831 (PARMS): Do not use macros from bp-asm.h.
9832 (STR): Likewise.
9833 (CHR): Likewise.
9834 (__strchrnul): Likewise. Do not use BP_SYM.
9835 (strchrnul): Do not use BP_SYM in weak_alias.
9836 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9837 "bp-asm.h".
9838 (PARMS): Do not use macros from bp-asm.h.
9839 (STOP): Likewise.
9840 (strcspn): Do not use BP_SYM.
9841 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9842 "bp-asm.h".
9843 (PARMS): Do not use macros from bp-asm.h.
9844 (STR): Likewise.
9845 (STOP): Likewise.
9846 (strpbrk): Likewise. Do not use BP_SYM.
9847 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9848 "bp-asm.h".
9849 (PARMS): Do not use macros from bp-asm.h.
9850 (STR): Likewise.
9851 (CHR): Likewise.
9852 (strrchr): Likewise. Do not use BP_SYM.
9853 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9854 (PARMS): Do not use macros from bp-asm.h.
9855 (SKIP): Likewise.
9856 (strspn): Do not use BP_SYM.
9857 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9858 (PARMS): Do not use macros from bp-asm.h.
9859 (STR): Likewise.
9860 (DELIM): Likewise.
9861 (SAVE): Likewise.
9862 (FUNCTION): Likewise. Do not use BP_SYM.
9863 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9864 aliases.
9865 (strtok_r): Likewise.
9866 (__GI___strtok_r): Likewise.
9867 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9868 (PARMS): Do not use macros from bp-asm.h.
9869 (S1): Likewise.
9870 (S2): Likewise.
9871 (SIZE): Likewise.
9872 (__mpn_sub_n): Do not use BP_SYM.
9873 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9874 "bp-asm.h".
9875 (PARMS): Do not use macros from bp-asm.h.
9876 (S1): Likewise.
9877 (SIZE): Likewise.
9878 (__mpn_submul_1): Do not use BP_SYM.
9879 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9880 <bp-sym.h>.
9881 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9882 and <bp-asm.h>.
9883 (PARMS): Do not use macros from bp-asm.h.
9884 (FLAGS): Likewise.
9885 (PTID): Likewise.
9886 (TLS): Likewise.
9887 (CTID): Likewise.
9888 (__clone): Do not use BP_SYM.
9889 (clone): Do not use BP_SYM in weak_alias.
9890 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9891 and <bp-asm.h>.
9892 (PARMS): Do not use macros from bp-asm.h.
9893 (LEN): Likewise.
9894 (__mmap64): Do not use BP_SYM.
9895 (mmap64): Do not use BP_SYM in weak_alias.
9896 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9897 <bp-sym.h> and <bp-asm.h>.
9898 (PARMS): Do not use macros from bp-asm.h.
9899 (__posix_fadvise64_l64): Do not use BP_SYM.
9900 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9901 (PARMS): Do not use macros from bp-asm.h.
9902 (NSOPS): Likewise.
9903 (semtimedop): Do not use BP_SYM.
9904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9905 and <bp-asm.h>.
9906
582a3cff
AM
99072013-02-21 Allan McRae <allan@archlinux.org>
9908
9909 * manual/message.texi (Charset conversion in gettext):
9910 Move @end statement to beginning of line.
9911
bab8a695
SP
99122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9913
80945231
SP
9914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9915 static.
9916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9917 Likewise.
9918
bab8a695
SP
9919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9920 (denorm): Likewise.
9921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9923
e21d7aa7
AK
99242013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9925
9926 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9927 tail-call to the resolved function if pltexit isn't needed.
9928
4c7a4263
SP
99292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9930
9931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9932 or Y being zero as being unlikely.
9933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9934 Likewise.
9935
41f49342
CD
99362013-02-20 Carlos O'Donell <carlos@redhat.com>
9937
9938 * manual/nss.texi (System Databases and Name Service Switch):
9939 Remove frobnicate @pxref.
9940
50022a93
TS
99412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9942
9943 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9944 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9945
08cbd996
PM
99462013-02-20 Petr Machata <pmachata@redhat.com>
9947
9948 * elf/elf.h (R_ARM_TARGET1): New macro.
9949 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9950 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9951 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9952 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9953 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9954 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9955 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9956 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9957 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9958 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9959 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9960 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9961 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9962 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9963 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9964 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9965 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9966 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9967 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9968 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9969 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9970 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9971 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9972 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9973 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9974 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9975 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9976 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9977 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9978 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9979 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9980 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9981 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9982 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9983 (R_ARM_THM_GOT_BREL12): Likewise.
9984 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9985 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9986 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9987 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9988 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9989 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9990 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9991 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9992 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9993
c7b275d6
TS
99942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9995
9996 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9997 __attribute_used__ to __attribute__ ((unused)).
9998
20cd7fb3
SP
99992013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10000
10001 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10002 powerpc mpa.c.
10003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10004 comment formatting.
10005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10006
92945b52
JM
100072013-02-19 Joseph Myers <joseph@codesourcery.com>
10008
10009 [BZ #13550]
10010 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10011 Remove macro.
10012 (ENTER): Remove both macro definitions.
10013 (LEAVE): Likewise.
10014 (CHECK_BOUNDS_LOW): Likewise.
10015 (CHECK_BOUNDS_HIGH): Likewise.
10016 (CHECK_BOUNDS_BOTH): Likewise.
10017 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10018 (RETURN_BOUNDED_POINTER): Likewise.
10019 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10020 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10021 (POP_ERRNO_LOCATION_RETURN): Likewise.
10022 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10023 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10024 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10025 macros.
10026 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10027 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10028 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10029 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10030 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10031 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10032 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10033 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10034 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10035 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10036 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10037 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10038 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10039 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10040 removed macros.
10041 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10042 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10043 macros.
10044 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10045 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10046 * sysdeps/i386/i586/memset.S (memset): Likewise.
10047 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10048 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10049 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10050 macros.
10051 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10052 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10053 Change uses of L(2) to L(out).
10054 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10055 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10056 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10057 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10058 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10059 removed macros.
10060 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10061 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10062 macros.
10063 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10064 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10065 (RETURN): Do not use macro LEAVE.
10066 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10067 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10068 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10069 * sysdeps/i386/i686/memset.S (memset): Likewise.
10070 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10071 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10072 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10073 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10074 Likewise.
10075 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10076 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10077 L(1_2) and L(1_3) into L(1).
10078 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10079 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10080 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10081 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10082 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10083 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10084 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10085 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10086 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10087 macros.
10088 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10089 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10090 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10091 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10092 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10093 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10094 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10095 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10096 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10097 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10098 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10099 * sysdeps/i386/strspn.S (strspn): Likewise.
10100 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10101 conditional code.
10102 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10103 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10104 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10105 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10106 L(1_3) into L(1_1).
10107 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10108 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10109 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10110 macros.
10111 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10112
2389741a
JJ
101132013-02-19 Jakub Jelinek <jakub@redhat.com>
10114
10115 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10116 macro.
10117
2016b3cd
SP
101182013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10119
e4f22324
SP
10120 * math/atest-exp.c (exp_mpn): Remove ROUND.
10121 * math/atest-exp2.c (exp_mpn): Likewise.
10122 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10123
2016b3cd
SP
10124 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10125 * stdlib/tst-tls-atexit-lib.c: Likewise.
10126 * stdlib/tst-tls-atexit.c: Likewise.
10127
4be9b544
MF
101282013-02-18 Mike Frysinger <vapier@gentoo.org>
10129
10130 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10131 and __attribute_alloc_size__.
10132
2f62b9ee
MF
101332013-02-18 Mike Frysinger <vapier@gentoo.org>
10134
10135 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10136 __attribute_alloc_size__.
10137 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10138 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10139
6ff444c4
MF
101402013-02-18 Mike Frysinger <vapier@gentoo.org>
10141
10142 * include/programs/xmalloc.h: New file.
10143 * catgets/gencat.c: Include it.
10144 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10145 * elf/pldd.c: Likewise.
10146 * iconv/iconv_charmap.c: Likewise.
10147 * iconv/iconvconfig.c: Likewise.
10148 * iconv/strtab.c: Likewise.
10149 * locale/programs/locale.c: Likewise.
10150 * locale/programs/localedef.h: Likewise.
10151 * locale/programs/simple-hash.c: Likewise.
10152 * nscd/nscd.h: Likewise.
10153 * nss/makedb.c: Likewise.
10154 * sysdeps/generic/ldconfig.h: Likewise.
10155
be179c8a
SP
101562013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10157
ba384f6e
SP
10158 * Versions.def: Add GLIBC_2.18.
10159 * include/link.h (struct link_map): New member l_tls_dtor_count.
10160 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10161 (__call_tls_dtors): Likewise.
10162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10163 __cxa_thread_atexit_impl.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10165 Likewise.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10167 Likewise.
10168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10169 Likewise.
10170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10171 Likewise.
10172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10174 Likewise.
10175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10176 Likewise.
10177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10179 Likewise.
10180 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10181 (tests): Add test case tst-tls-atexit.
10182 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10183 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10184 (GLIBC_PRIVATE): Add __call_tls_dtors.
10185 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10186 for libstdc++.
10187 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10188 * stdlib/tst-tls-atexit.c: New test case.
10189 * stdlib/tst-tls-atexit-lib.c: New test case.
10190
ffaa74cf 10191 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10192
be179c8a
SP
10193 * elf/Versions (ld): Add _dl_find_dso_for_object.
10194 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10195 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10196 (dl_open_worker): Use _dl_find_dso_for_object.
10197 * elf/dl-sym.c (do_sym): Likewise.
10198 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10199
f78b5caa
AK
102002013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10201
10202 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10203 Syntactic changes only.
10204 (_dl_runtime_profile): Do a tail-call to the resolved function.
10205
29691210
JM
102062013-02-17 Joseph Myers <joseph@codesourcery.com>
10207
10208 [BZ #13550]
10209 * sysdeps/x86_64/bp-asm.h: Remove file.
10210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10211 <bp-sym.h> and <bp-asm.h>.
10212 (__clone): Do not use BP_SYM.
10213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10214 <bp-sym.h> and <bp-asm.h>.
10215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10216 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10217 "bp-asm.h".
10218 (_setjmp): Do not use BP_SYM.
10219 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10220 "bp-asm.h".
10221 (setjmp): Do not use BP_SYM.
10222 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10223 libc_hidden_def.
10224 (mempcpy): Do not use BP_SYM in weak_alias.
10225 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10226 "bp-asm.h".
10227 (strchr): Do not use BP_SYM.
10228 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10229 "bp-asm.h".
10230 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10231 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10232 (_start): Do not use BP_SYM.
10233 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10234 "bp-asm.h".
10235 (strcat): Do not use BP_SYM.
10236 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10237 "bp-asm.h".
10238 (STRCMP): Do not use BP_SYM.
10239 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10240 "bp-asm.h".
10241 (STRCPY): Do not use BP_SYM.
10242 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10243 "bp-asm.h".
10244 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10245 "bp-asm.h".
10246 (FUNCTION): Do not use BP_SYM.
10247 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10248 weak_alias.
10249 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10250
f238fd19
AJ
102512013-02-17 Andreas Jaeger <aj@suse.de>
10252
10253 * time/Versions: Sort entries.
10254 * string/Versions: Likewise.
10255 * resolv/Versions: Likewise.
10256 * posix/Versions: Likewise.
10257 * iconv/Versions: Likewise.
10258 * elf/Versions: Likewise.
10259 * wcsmbs/Versions: Likewise.
10260
bd07f23c 102612013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10262
22af19f9
SP
10263 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10264 loop termination condition.
10265
4709fe76
SP
10266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10267 variable to calculate EZ.
10268 (__sqr): Likewise.
2d0e0f29
SP
10269
10270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10271 the lower precision input.
10272
daaa7713
JM
102732013-02-15 Joseph Myers <joseph@codesourcery.com>
10274
10275 [BZ #13550]
10276 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10277 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10278 (run-via-rtld-prefix): Do not handle %-bp tests.
10279 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10280 (all-object-suffixes): Remove .ob.
10281 (bppfx): Remove variable.
10282 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10283 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10284 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10285 [$(build-bounded) = yes] (libtype.ob): Likewise.
10286 * Makerules (elide-routines.ob): Remove variable.
10287 (do-tests-clean): Do not handle *-bp.out.
10288 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10289 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10290 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10291 (tests): Do not include $(tests-bp.out).
10292 (xtests): Do not include $(xtests-bp.out).
10293 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10294 [$(build-bounded) = yes] ($(addprefix
10295 $(objpfx),$(binaries-bounded))): Remove rule.
10296 ($(objpfx)%-bp.out): Remove rule.
10297 * config.make.in (build-bounded): Remove variable.
10298 * crypt/Makefile [$(build-bounded) = yes]
10299 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10300 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10301 append to variable.
10302 [$(build-bounded) = yes] (install-lib): Likewise.
10303 [$(build-bounded) = yes] (generated): Likewise.
10304 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10305 Remove rule.
10306 * intl/Makefile [$(build-bounded) = yes]
10307 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10308 * math/Makefile [$(build-bounded) = yes]
10309 ($(tests:%=$(objpfx)%-bp): Likewise.
10310 * misc/Makefile [$(build-bounded) = yes]
10311 ($(objpfx)tst-tsearch-bp): Likewise.
10312 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10313 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10314 Remove dependency.
10315 * string/Makefile (o-objects.ob): Remove variable.
10316 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10317 (CFLAGS-.ob): Remove variable.
10318 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10319 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10320 both definitions of variable.
10321 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10322 (ASFLAGS-.ob): Remove variable.
10323
e97ed6dd
JM
103242013-02-14 Joseph Myers <joseph@codesourcery.com>
10325
2bdd4ca6
JM
10326 [BZ #13550]
10327 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10328 Remove __BOUNDED_POINTERS__ from condition.
10329 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10330 * string/bits/string2.h [!__NO_STRING_INLINES &&
10331 !__BOUNDED_POINTERS__]: Likewise.
10332 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10333 Likewise.
10334 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10335 Remove conditional code.
10336 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10337 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10338 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10339 condition.
10340
e97ed6dd
JM
10341 [BZ #13550]
10342 * csu/libc-start.c: Do not include <bp-sym.h>.
10343 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10344 * elf/dl-open.c: Do not include <bp-sym.h>.
10345 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10346 * math/fegetenv.c: Do not include <bp-sym.h>.
10347 (fegetenv): Do not use BP_SYM in versioned symbols.
10348 * nptl/sysdeps/pthread/bits/libc-lockP.h
10349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10350 <bp-sym.h>.
10351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10352 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10354 (__pthread_mutex_destroy): Likewise.
10355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10356 (__pthread_mutex_lock): Likewise.
10357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10358 (__pthread_mutex_trylock): Likewise.
10359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10360 (__pthread_mutex_unlock): Likewise.
10361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10362 (__pthread_mutexattr_init): Likewise.
10363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10364 (__pthread_mutexattr_destroy): Likewise.
10365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10366 (__pthread_mutexattr_settype): Likewise.
10367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10368 (__pthread_rwlock_init): Likewise.
10369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10370 (__pthread_rwlock_destroy): Likewise.
10371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10372 (__pthread_rwlock_rdlock): Likewise.
10373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10374 (__pthread_rwlock_tryrdlock): Likewise.
10375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10376 (__pthread_rwlock_wrlock): Likewise.
10377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10378 (__pthread_rwlock_trywrlock): Likewise.
10379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10380 (__pthread_rwlock_unlock): Likewise.
10381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10382 (__pthread_key_create): Likewise.
10383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10384 (__pthread_setspecific): Likewise.
10385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10386 (__pthread_getspecific): Likewise.
10387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10388 Likewise.
10389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10390 (_pthread_cleanup_push_defer): Likewise.
10391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10392 (_pthread_cleanup_pop_restore): Likewise.
10393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10394 (pthread_setcancelstate): Likewise.
10395 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10396 <bp-sym.h>.
10397 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10398 (memchr): Do not use BP_SYM in weak_alias.
10399 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10400 (fegetenv): Do not use BP_SYM in versioned symbols.
10401 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10402 (fesetenv): Do not use BP_SYM in versioned symbols.
10403 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10404 (feupdateenv): Do not use BP_SYM in versioned symbols.
10405 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10406 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10407 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10408 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10409 (open64): Do not use BP_SYM in weak_alias.
10410 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10411 (fegetenv): Do not use BP_SYM in versioned symbols.
10412 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10413 (fesetenv): Do not use BP_SYM in versioned symbols.
10414 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10415 (feupdateenv): Do not use BP_SYM in versioned symbols.
10416 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10417 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10418 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10419 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10420 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10421 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10422 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10423 <bp-sym.h>.
10424 (__libc_start_main): Do not use BP_SYM.
10425
d6752ccd
SP
104262013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10427
cb57ce60
SP
10428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10429 redundant return line.
10430 (norm): Likewise.
10431 (denorm): Likewise.
10432 (dbl_mp): Likewise.
10433 (sub_magnitudes): Likewise.
10434 (__add): Likewise.
10435 (__sub): Likewise.
10436 (__mul): Likewise.
10437 (__inv): Likewise.
10438 (__dvd): Likewise.
10439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10440 (norm): Likewise.
10441 (denorm): Likewise.
10442 (dbl_mp): Likewise.
10443 (sub_magnitudes): Likewise.
10444 (__add): Likewise.
10445 (__sub): Likewise.
10446 (__mul): Likewise.
10447 (__inv): Likewise.
10448 (__dvd): Likewise.
10449
f414520d
SP
10450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10451 instead of __mul.
10452 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10453 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10454 (cc32): Likewise.
10455
d6752ccd
SP
10456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10457 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10459 of __mul for squares.
10460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10461 function
10462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10463 Likewise.
10464 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10466
70d9946a
JM
104672013-02-13 Joseph Myers <joseph@codesourcery.com>
10468
10469 [BZ #13550]
10470 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10471 code.
10472 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10473 prototype or function definition. Rename ubp_* variables and
10474 parameters. Remove argv definitions conditional on
10475 [__BOUNDED_POINTERS__].
10476 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10477 * elf/dl-runtime.c (_dl_fixup): Likewise.
10478 * include/set-hooks.h (RUN_HOOK): Likewise.
10479 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10480 definition.
10481 * string/strcpy.c (strcpy): Do not use __unbounded.
10482 * sysdeps/generic/frame.h (struct layout): Likewise.
10483 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10484 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10485 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10486 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10487 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10488 (__backtrace): Likewise.
10489 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10490 use __ptrvalue.
10491 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10492 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10493 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10494 Likewise.
10495 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10496 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10497 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10499 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10500 Do not use __unbounded.
10501 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10502 Rename __unboundedrlimits parameter to rlimits in prototype.
10503 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10504 Do not use __unbounded.
10505 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10506 not use __ptrvalue.
10507 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10508 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10509 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10511 __ptrvalue or __unbounded.
10512 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10513 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10514 use __unbounded.
10515 (__new_msgctl): Do not use __ptrvalue.
10516 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10517 __unbounded.
10518 (__libc_msgrcv): Do not use __ptrvalue.
10519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10520 startup_info): Do not use __unbounded.
10521 (__libc_start_main): Likewise. Rename ubp_* variables and
10522 parameters. Remove argv definitions conditional on
10523 [__BOUNDED_POINTERS__].
10524 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10525 __ptrvalue.
10526 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10527 use __unbounded.
10528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10529 or __ptrvalue.
10530 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10531 use __unbounded.
10532 (__new_shmctl): Do not use __ptrvalue.
10533 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10534 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10535 Likewise.
10536 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10537 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10538 (__libc_sigaction): Likewise.
10539 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10541 Likewise.
10542 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10543
cc7834d6
OB
105442013-02-13 Ondřej Bílka <neleai@seznam.cz>
10545
ffb1ec7b 10546 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10547
10548 * string/mempcpy.c: Implement by calling memcpy.
10549
bdf02814
SP
105502013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10551
c2af38aa
SP
10552 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10553
4e92d59e
SP
10554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10555 evaluation.
10556
909279a5
SP
10557 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10558 values in the mantissa.
10559
bdf02814
SP
10560 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10561 minimize writes to Z.
10562 (sub_magnitudes): Simplify code a bit.
10563
cd525923
RM
105642013-02-12 Roland McGrath <roland@hack.frob.com>
10565
10566 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10567 from the message. The linker prefixes all warnings with that already.
10568
7e2f0d2d
AS
105692013-02-12 Andreas Schwab <schwab@suse.de>
10570
a445af0b
AS
10571 [BZ #15078]
10572 * posix/regexec.c (extend_buffers): Add parameter min_len.
10573 (check_matching): Pass minimum needed length.
10574 (clean_state_log_if_needed): Likewise.
10575 (get_subexp): Likewise.
10576 * posix/Makefile (tests): Add bug-regex34.
10577 (bug-regex34-ENV): Define.
10578 * posix/bug-regex34.c: New file.
10579
7e2f0d2d
AS
10580 [BZ #11561]
10581 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10582 elements compare against the byte sequence of it, not its name.
10583 * posix/Makefile (tests): Add bug-regex35.
10584 (bug-regex35-ENV): Define.
10585 * posix/bug-regex35.c: New file.
10586
a175b684
TV
105872013-02-11 Tom de Vries <tom@codesourcery.com>
10588
10589 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10590 comment.
10591 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10592 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10593 (CHECK_EOL): Add undef.
10594
310998fe 105952013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10596
10597 * bits/stdlib-bsearch.h: New file.
10598 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10599 * stdlib/stdlib.h: Likewise.
41eda41d 10600
8ded91fb
RM
106012013-02-11 Roland McGrath <roland@hack.frob.com>
10602
10603 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10604 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10605 declaration.
10606 * manual/search.texi (Array Search Function): Add missing const in
10607 lfind prototype.
10608 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10609 declaration to use rlim_t.
10610 (Basic Scheduling Functions): Remove erroneous const from
10611 sched_getparam prototype. Remove erroneous * from
10612 sched_get_priority_max and sched_get_priority_min prototypes.
10613 (Resource Usage): Fix summary @comment on vtimes to refer to
10614 sys/vtimes.h rather than vtimes.h.
10615 Add missing *s in vtimes prototype.
10616 (Limits on Resources): Fix ulimit prototype to return long int.
10617 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10618 prototypes to use long int rather than double.
10619 (BSD Random): Fix initstate and setstate to use char *, not void *.
10620 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10621 prototype to make second argument 'struct aiocb64 *const[]'.
10622 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10623 (Status of AIO Operations): Remove erroneous const in aio_return and
10624 aio_return64 prototypes.
10625 (Synchronizing I/O): Fix sync prototype to return void.
10626 * manual/startup.texi (Suboptions): Remove an erroneous const in
10627 getsubopt prototype.
10628 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10629 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10630 use size_t rather than int.
10631 (Scanning All Users): Likewise for getpwent_r.
10632 (Setting Groups): Add missing const to setgroups prototype.
10633 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10634 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10635 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10636 'const void *' rather than 'const char *'.
10637 (Host Address Functions): Likewise for inet_ntop.
10638 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10639 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10640 ssize_t for return value.
10641 (Sending Data): Likewise for send, sendto, sendmsg.
10642 (Socket Option Functions): Add a missing const in setsockopt prototype.
10643 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10644 use wchar_t for the argument.
10645 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10646 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10647 take no arguments.
10648 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10649 double/float/long double for second argument.
10650 Fix return types of significand, significandf, significandl.
10651 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10652 argument in fchmod prototype.
10653 (File Owner): Use uid_t and gid_t in fchown prototype.
10654 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10655 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10656 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10657 use 'const struct dirent **' as argument types to CMP function pointer
10658 argument.
10659 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10660 (File Times): Fix summary magic @comment for struct utimbuf and utime
10661 to refer to utime.h, not time.h.
10662 * manual/string.texi (Argz Functions): Add missing const in
10663 argz_extract and argz_next prototypes.
10664 (Finding Tokens in a String): Likewise for basename.
10665 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10666 (Copying and Concatenation): Fix typo in wmemmove prototype.
10667 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10668 (Signal Stack): Remove erroneous const in sigstack prototype.
10669 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10670 prototype.
10671 (Simple Calendar Time): Likewise for stime.
10672 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10673 prototype.
10674 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10675 say sys/sysctl.h instead.
10676 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10677 and vsyslog prototypes.
10678
fe77fe6d
TV
106792013-02-11 Tom de Vries <tom@codesourcery.com>
10680
10681 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10682 Remove.
10683
3a09b620
RM
106842013-02-11 Roland McGrath <roland@hack.frob.com>
10685
10686 * misc/sys/mman.h: Fix typo in mremap comment.
10687
550a0b89
RM
106882013-02-08 Roland McGrath <roland@hack.frob.com>
10689
10690 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10691 the '\0' terminator.
10692
a2da1673
JM
106932013-02-08 Joseph Myers <joseph@codesourcery.com>
10694
10695 [BZ #13550]
10696 * debug/segfault.c: Don't include <bp-checks.h>.
10697 * sysdeps/generic/bp-checks.h: Remove file.
10698 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10699 (__GETDENTS): Don't use CHECK_N.
10700 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10701 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10702 (__getgroups): Don't use CHECK_N.
10703 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10704 (setgroups): Don't use CHECK_N.
10705 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10706 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10707 (__libc_msgrcv): Don't use CHECK_N.
10708 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10709 (__libc_msgsnd): Don't use CHECK_N.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10711 <bp-checks.h>.
10712 (__libc_pread): Don't use CHECK_N.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10714 include <bp-checks.h>.
10715 (__libc_pread64): Don't use CHECK_N.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10717 include <bp-checks.h>.
10718 (__libc_pwrite): Don't use CHECK_N.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10720 include <bp-checks.h>.
10721 (__libc_pwrite64): Don't use CHECK_N.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10723 <bp-checks.h>.
10724 (__libc_pread): Don't use CHECK_N.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10726 include <bp-checks.h>.
10727 (__libc_pread64): Don't use CHECK_N.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10729 include <bp-checks.h>.
10730 (__libc_pwrite): Don't use CHECK_N.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10732 include <bp-checks.h>.
10733 (__libc_pwrite64): Don't use CHECK_N.
10734 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10735 (do_pread): Don't use CHECK_N.
10736 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10737 (do_pread64): Don't use CHECK_N.
10738 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10739 (do_pwrite): Don't use CHECK_N.
10740 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10741 (do_pwrite64): Don't use CHECK_N.
10742 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10743 (__libc_readv): Don't use CHECK_N.
10744 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10745 (semop): Don't use CHECK_N.
10746 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10747 <bp-checks.h>.
10748 (semtimedop): Don't use CHECK_N.
10749 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10750 (__libc_pread): Don't use CHECK_N.
10751 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10752 <bp-checks.h>.
10753 (__libc_pread64): Don't use CHECK_N.
10754 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10755 <bp-checks.h>.
10756 (__libc_pwrite): Don't use CHECK_N.
10757 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10758 <bp-checks.h>.
10759 (__libc_pwrite64): Don't use CHECK_N.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10761 <bp-checks.h>.
10762 (__libc_msgrcv): Don't use CHECK_N.
10763 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10764 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10765 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10766 (__libc_writev): Don't use CHECK_N.
10767
b84660a8
RM
107682013-02-08 Roland McGrath <roland@hack.frob.com>
10769
7f3e75f8
RM
10770 * string/strcpy.c: Removed unused variable.
10771
b84660a8
RM
10772 * Makeconfig (+sysdep-includes): Define with := rather than =.
10773 Use an existing include/ subdir of each sysdeps dir before it.
10774
471514d3
CD
107752013-02-08 Carlos O'Donell <carlos@redhat.com>
10776
10777 * nscd/connection.c (register_traced_file): Comment function.
10778 [HAVE_INOTIFY] (union __inev): Define.
10779 [HAVE_INOTIFY] (inotify_check_files): New function.
10780 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10781 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10782 clear_db_cache.
10783 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10784
b2d3c3be
CD
107852013-02-08 Carlos O'Donell <carlos@redhat.com>
10786
10787 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10788 loaded if not already and that a failure is permanent.
10789
b39949d2
CD
107902013-02-08 Carlos O'Donell <carlos@redhat.com>
10791
ddacd1db 10792 [BZ #15006]
b39949d2
CD
10793 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10794 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10795
b2c9eff4
JM
107962013-02-08 Joseph Myers <joseph@codesourcery.com>
10797
f3aae3f3
JM
10798 [BZ #13550]
10799 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10800 (CHECK_1_NULL_OK): Likewise.
10801 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10802 (__fxstat): Do not use CHECK_1.
10803 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10804 <bp-checks.h>.
10805 (___fxstat64): Do not use CHECK_1.
10806 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10807 <bp-checks.h>.
10808 (__fxstatat): Do not use CHECK_1.
10809 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10810 <bp-checks.h>.
10811 (__fxstatat64): Do not use CHECK_1.
10812 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10813 <bp-checks.h>.
10814 (__fxstat): Do not use CHECK_1.
10815 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10816 <bp-checks.h>.
10817 (__fxstatat): Do not use CHECK_1.
10818 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10819 <bp-checks.h>.
10820 (__getresgid): Do not use CHECK_1.
10821 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10822 <bp-checks.h>.
10823 (__getresuid): Do not use CHECK_1.
10824 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10825 <bp-checks.h>.
10826 (__lxstat): Do not use CHECK_1.
10827 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10828 <bp-checks.h>.
10829 (__old_msgctl): Do not use CHECK_1.
10830 (__new_msgctl): Likewise.
10831 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10832 <bp-checks.h>.
10833 (__new_setrlimit): Do not use CHECK_1.
10834 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10835 <bp-checks.h>.
10836 (__old_shmctl): Do not use CHECK_1.
10837 (__new_shmctl): Likewise.
10838 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10839 <bp-checks.h>.
10840 (__xstat): Do not use CHECK_1.
10841 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10842 (__lxstat): Do not use CHECK_1.
10843 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10844 <bp-checks.h>.
10845 (___lxstat64): Do not use CHECK_1.
10846 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10847 (__old_msgctl): Do not use CHECK_1.
10848 (__new_msgctl): Likewise.
10849 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10850 <bp-checks.h>.
10851 (__gettimeofday): Do not use CHECK_1.
10852 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10853 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10854 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10855 <bp-checks.h>.
10856 (__gettimeofday): Do not use CHECK_1.
10857 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10858 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10859 (__new_shmctl): Do not use CHECK_1.
10860 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10861 <bp-checks.h>.
10862 (do_sigtimedwait): Do not use CHECK_1.
10863 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10864 <bp-checks.h>.
10865 (do_sigwaitinfo): Do not use CHECK_1.
10866 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10867 <bp-checks.h>.
10868 (msgctl): Do not use CHECK_1.
10869 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10870 <bp-checks.h>.
10871 (shmctl): Do not use CHECK_1.
10872 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10873 (ustat): Do not use CHECK_1.
10874 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10875 <bp-checks.h>.
10876 (__fxstat): Do not use CHECK_1.
10877 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10878 <bp-checks.h>.
10879 (__fxstatat): Do not use CHECK_1.
10880 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10881 <bp-checks.h>.
10882 (__lxstat): Do not use CHECK_1.
10883 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10884 <bp-checks.h>.
10885 (__xstat): Do not use CHECK_1.
10886 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10887 (__xstat): Do not use CHECK_1.
10888 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10889 (___xstat64): Do not use CHECK_1.
10890
b2c9eff4
JM
10891 [BZ #13550]
10892 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10893 definitions.
10894 (CHECK_BOUNDS_HIGH): Likewise.
10895 * string/strcpy.c: Do not include <bp-checks.h>.
10896 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10897
f1d70dad
RM
108982013-02-07 Roland McGrath <roland@hack.frob.com>
10899
10900 * nscd/nscd-client.h (__nscd_drop_map_ref):
10901 Add __attribute__ ((unused)).
10902 * nis/nss-nisplus.h (niserr2nss): Likewise.
10903
10904 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10905 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10906
10907 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10908 Remove inline keyword.
10909 * include/rounding-mode.h (round_away): Likewise.
10910 * libio/wfileops.c (adjust_wide_data): Likewise.
10911 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10912 (__m128i_strloadu_tolower): Likewise.
10913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10914 (__m128i_strloadu_tolower): Likewise.
10915 * time/mktime.c (ydhms_diff): Likewise.
10916 * locale/elem-hash.h (elem_hash): Likewise.
10917 * locale/setlocale.c (setdata): Likewise.
10918 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10919 (re_string_wchar_at): Likewise.
10920 (bitset_not, bitset_merge, bitset_mask): Likewise.
10921 [!(__GNUC__ > 3)] (inline): Remove macro.
10922 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10923 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10924 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10925 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10926 * string/memcmp.c (memcmp_bytes): Likewise.
10927 * locale/programs/locarchive.c (compute_hashval): Likewise.
10928 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10929 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10930 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10931 * nss/getent.c (print_rpc, print_protocols): Likewise.
10932 (print_passwd, print_group, print_aliases): Likewise.
10933 * nis/nss-nisplus.h (niserr2nss): Likewise.
10934 * nscd/connections.c (restart_p): Likewise.
10935 Change return type to bool.
10936
eab55bfb
RM
109372013-02-05 Roland McGrath <roland@hack.frob.com>
10938
7bd642f5
RM
10939 * Makeconfig (all-Depend-files): Add existing
10940 $(sorted-subdirs:=/Depend) files.
10941 (all-subdirs): Remove nss.
10942 * sysdeps/unix/inet/Subdirs: Add it here instead.
10943 * hesiod/Depend: New file.
10944
573c29b2
RM
10945 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10946 instead of calling alloca.
10947
b2e25af0
RM
10948 * io/lseek.c (__lseek): Rename to __libc_lseek.
10949 Define __lseek as an alias.
10950
eab55bfb
RM
10951 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10952
9a0d1941
CD
109532013-02-04 Carlos O'Donell <carlos@redhat.com>
10954
10955 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10956 else clause and remove check for non-standard endianness.
10957
b83bbec4
DM
109582013-02-04 David S. Miller <davem@davemloft.net>
10959
10960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10961
6277fdab
JM
109622013-02-04 Joseph Myers <joseph@codesourcery.com>
10963
10964 [BZ #13550]
10965 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10966 (__ubp_memchr): Remove prototype.
10967 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10968 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10969 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10970 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10971 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10972 Remove alias.
10973 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10974 (__ubp_memchr): Likewise.
10975 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10976 (__ubp_memchr): Likewise.
10977 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10978 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10979 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10980 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10981 CHECK_STRING.
10982 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10983 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10984 (__getcwd): Do not use CHECK_STRING.
10985 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10986 <bp-checks.h>.
10987 (__real_chown): Do not use CHECK_STRING.
10988 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10989 <bp-checks.h>.
10990 (fchownat): Do not use CHECK_STRING.
10991 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10992 CHECK_STRING.
10993 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10994 <bp-checks.h>.
10995 (__lchown): Do not use CHECK_STRING.
10996 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10997 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10998 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10999 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11001 include <bp-checks.h>.
11002 (truncate64): Do not use CHECK_STRING.
11003 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11004 <bp-checks.h>.
11005 (__real_chown): Do not use CHECK_STRING.
11006 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11007 <bp-checks.h>.
11008 (__lchown): Do not use CHECK_STRING.
11009 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11010 <bp-checks.h>.
11011 (__chown): Do not use CHECK_STRING.
11012 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11013 <bp-checks.h>.
11014 (truncate64): Do not use CHECK_STRING.
11015 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11016 Likewise.
11017 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11018 (__xmknod): Do not use CHECK_STRING.
11019 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11020 <bp-checks.h>.
11021 (__xmknodat): Do not use CHECK_STRING.
11022 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11023 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11024
903ae060
AS
110252013-02-04 Andreas Schwab <schwab@suse.de>
11026
11027 [BZ #14142]
11028 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11029 * include/netdb.h: Likewise for h_errno.
11030 * elf/tst-stackguard1.c: Include <tls.h>.
11031
542f9466
JK
110322013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11033
11034 * elf/link.h (struct link_map): Extend the l_addr comment.
11035 * include/link.h (struct link_map): Likewise.
11036
e782a927
JM
110372013-02-01 Joseph Myers <joseph@codesourcery.com>
11038
11039 [BZ #13550]
11040 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11041 (BOUNDED_1): Remove macro.
11042 * debug/backtrace.c: Don't include <bp-checks.h>.
11043 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11044 (__backtrace): Likewise.
11045 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11046 <bp-checks.h>.
11047 (__backtrace): Don't use BOUNDED_1.
11048 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11049 <bp-checks.h>.
11050 (__backtrace): Don't use BOUNDED_1.
11051 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11052 (__backtrace): Don't use BOUNDED_1.
11053 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11054 (shmat): Don't use BOUNDED_N.
11055
8cf28c5e
JM
110562013-01-31 Joseph Myers <joseph@codesourcery.com>
11057
3a7ac8a0
JM
11058 [BZ #13550]
11059 * sysdeps/generic/bp-start.h: Remove file.
11060 * csu/libc-start.c: Don't include <bp-start.h>.
11061 (LIBC_START_MAIN): Set up __environ directly instead of using
11062 INIT_ARGV_and_ENVIRON.
11063 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11064 <bp-start.h>.
11065
f3499f95
JM
11066 [BZ #13550]
11067 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11068 definitions.
11069 (CHECK_FCNTL): Likewise.
11070 (CHECK_N_PAGES): Likewise.
11071
32a45bea
JM
11072 [BZ #13550]
11073 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11074 definitions.
11075 (CHECK_SIGSET_NULL_OK): Likewise.
11076 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11077 <bp-checks.h>.
11078 (sigpending): Don't use CHECK_SIGSET.
11079 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11080 <bp-checks.h>.
11081 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11082 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11083 <bp-checks.h>.
11084 (do_sigsuspend): Don't use CHECK_SIGSET.
11085 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11086 use CHECK_SIGSET.
11087 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11088 (do_sigwait): Don't use CHECK_SIGSET.
11089 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11090 use CHECK_SIGSET.
11091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11092 include <bp-checks.h>.
11093 (sigpending): Don't use CHECK_SIGSET.
11094 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11095 include <bp-checks.h>.
11096 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11097 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11098 <bp-checks.h>.
11099 (sigpending): Don't use CHECK_SIGSET.
11100 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11101 <bp-checks.h>.
11102 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11103
2e8a5c8c
JM
11104 [BZ #13550]
11105 * sysdeps/generic/bp-semctl.h: Remove file.
11106 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11107 <bp-checks.h> and <bp-semctl.h>.
11108 (__old_semctl): Don't use CHECK_SEMCTL.
11109 (__new_semctl): Likewise.
11110 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11111 and <bp-semctl.h>.
11112 (__old_semctl): Don't use CHECK_SEMCTL.
11113 (__new_semctl): Likewise.
11114 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11115 <bp-checks.h> and <bp-semctl.h>.
11116 (__old_semctl): Don't use CHECK_SEMCTL.
11117 (__new_semctl): Likewise.
11118 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11119 <bp-checks.h> and <bp-semctl.h>.
11120 (semctl): Don't use CHECK_SEMCTL.
11121
c2d54929
JM
11122 [BZ #13550]
11123 * Makerules (elide-bp-thunks): Remove variable.
11124 (elide-routines.oS): Don't use $(elide-bp-thunks).
11125 (elide-routines.os): Likewise.
11126 (elide-routines.o): Likewise.
11127 (elide-routines.op): Likewise.
11128 (elide-routines.og): Likewise.
11129 (objects): Don't use $(bp-thunks).
11130 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11131 include.
11132 (common-generated): Do not add s-proto-bp.d.
11133 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11134 (int): Likewise.
11135 (typ): Likewise.
11136 Do not generate makefile rules for bounded-pointer thunks.
11137 * sysdeps/generic/bp-thunks.h: Remove file.
11138 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11139 * sysdeps/unix/s-proto-bp.S: Likewise.
11140
8cf28c5e
JM
11141 [BZ #15062]
11142 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11143 parts of result separately when argument is not close to line from
11144 -i to i and one part of argument is small.
11145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11147 * math/libm-test.inc (cacos_test): Add more tests.
11148 (casin_test): Likewise.
11149 (casinh_test): Likewise.
11150 * sysdeps/i386/fpu/libm-test-ulps: Update.
11151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11152
c4e33b8d
DM
111532013-01-31 David S. Miller <davem@davemloft.net>
11154
11155 * po/de.po: Update from translation team.
11156
3b60b421
MK
111572013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11158
11159 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11160
bb931195
TS
111612013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11162
b5a5da23
TS
11163 * configure.in (_AC_PROG_CC_C89): New definition.
11164 * configure: Regenerate.
11165
bb931195
TS
11166 * configure.in (AC_PROG_CPP): New definition.
11167 * configure: Regenerate.
11168
8c53a12c
JM
111692013-01-23 Joseph Myers <joseph@codesourcery.com>
11170
11171 * debug/tst-backtrace.h: New file.
11172 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11173 (ret): Remove variable.
11174 (x): Likewise.
11175 (FAIL): Remove macro.
11176 (NO_INLINE): Likewise.
11177 (fn1): Use match function instead of strstr.
11178 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11179 (ret): Remove variable.
11180 (x): Likewise.
11181 (FAIL): Remove macro.
11182 (NO_INLINE): Likewise.
11183 (fn): Use match function instead of strstr.
11184 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11185 (ret): Remove variable.
11186 (x): Likewise.
11187 (FAIL): Remove macro.
11188 (NO_INLINE): Likewise.
11189 (handle_signal): Use match function instead of strstr.
11190 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11191 (ret): Remove variable.
11192 (x): Likewise.
11193 (FAIL): Remove macro.
11194 (NO_INLINE): Likewise.
11195 (handle_signal): Use match function instead of strstr.
11196
4858fa2a
RM
111972013-01-23 Roland McGrath <roland@hack.frob.com>
11198
11199 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11200
bae8e7f5
DM
112012013-01-23 David S. Miller <davem@davemloft.net>
11202
11203 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11204 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11205 argument of CAS if possible.
11206 * sysdeps/sparc/sparc64/bits/atomic.h
11207 (__arch_compare_and_exchange_val_32_acq): Likewise.
11208 (__arch_compare_and_exchange_val_64_acq): Likewise.
11209
9cbbc4ae
PT
112102013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11211
11212 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11213 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11214 Include <limits.h>.
67b3f58c 11215 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11216
5655a0b5
AC
112172013-01-23 Adam Conrad <adconrad@0c3.net>
11218
11219 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11220 (LDFLAGS-tst-array5): Likewise.
11221
052aff95
JM
112222013-01-23 Joseph Myers <joseph@codesourcery.com>
11223
11224 [BZ #15036]
11225 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11226 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11227 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11228 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11229
7c1e01aa
DM
112302013-01-21 David S. Miller <davem@davemloft.net>
11231
11232 * sysdeps/sparc/backtrace.c: New file.
11233 * sysdeps/sparc/sparc32/backtrace.h: New file.
11234 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11235 * sysdeps/sparc/sparc64/backtrace.h: New file.
11236 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11237 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11238 -funwind-tables.
11239
ab087e0a
AS
112402013-01-21 Andreas Schwab <schwab@suse.de>
11241
11242 [BZ #15020]
11243 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11244 closed its stdout.
11245
ed689c2f
AS
112462013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11247
11248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11249 "mpa2.h".
11250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11251
31d470ac
JM
112522013-01-18 Joseph Myers <joseph@codesourcery.com>
11253 Mark Mitchell <mark@codesourcery.com>
11254 Tom de Vries <tom@codesourcery.com>
11255 Paul Pluzhnikov <ppluzhnikov@google.com>
11256
11257 * debug/tst-backtrace2.c: New file.
11258 * debug/tst-backtrace3.c: Likewise.
11259 * debug/tst-backtrace4.c: Likewise.
11260 * debug/tst-backtrace5.c: Likewise.
11261 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11262 (CFLAGS-tst-backtrace3.c): Likewise.
11263 (CFLAGS-tst-backtrace4.c): Likewise.
11264 (CFLAGS-tst-backtrace5.c): Likewise.
11265 (LDFLAGS-tst-backtrace2): Likewise.
11266 (LDFLAGS-tst-backtrace3): Likewise.
11267 (LDFLAGS-tst-backtrace4): Likewise.
11268 (LDFLAGS-tst-backtrace5): Likewise.
11269 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11270 tst-backtrace4 and tst-backtrace5.
11271
90567f30 112722013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11273 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11274
11275 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11276 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11277 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11278 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11280 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11281 "+r" and remove output regs list as redundant. Add explicit inline
11282 asm to specify register of return val to work around compiler codegen
11283 bug. Remove (int) cast on return value. Add return type parameter to
11284 use in macro so that this macro does not truncate return value for
11285 64-bit values.
11286 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11287 pass to INTERNAL_VSYSCALL_NCS.
11288 (INLINE_VSYSCALL): Add 'long int' as return type to
11289 INTERNAL_VSYSCALL_NCS macro invocation.
11290 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11291 INTERNAL_VSYSCALL_NCS macro invocation.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11293
d3b9ea61
SP
112942013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11295
0b57daeb
SP
11296 [BZ #14496]
11297 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11298 Fix application of SIMD FP exception mask.
11299
caa99d06
SP
11300 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11301 mp_no from a power of two.
11302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11303 __mpexp_twomm1. Use __pow_mp.
11304
d3b9ea61
SP
11305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11306 multiplication.
11307
1dbaee3c
DM
113082013-01-17 David S. Miller <davem@davemloft.net>
11309
11310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11311
728d7b43
JM
113122013-01-17 Joseph Myers <joseph@codesourcery.com>
11313
11314 [BZ #15023]
11315 * include/complex.h: Condition contents on [!_COMPLEX_H].
11316 (__kernel_casinhf): New prototype.
11317 (__kernel_casinh): Likewise.
11318 (__kernel_casinhl): Likewise.
11319 * math/Makefile (libm_calls): Add k_casinh.
11320 * math/k_casinh.c: New file.
11321 * math/k_casinhf.c: Likewise.
11322 * math/k_casinhl.c: Likewise.
11323 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11324 finite nonzero arguments.
11325 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11326 finite nonzero arguments.
11327 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11328 finite nonzero arguments.
11329 * math/s_casinh.c: Do not include <float.h>.
11330 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11331 * math/s_casinhf.c: Do not include <float.h>.
11332 (__casinhf): Move code for finite nonzero arguments to
11333 k_casinhf.c.
11334 * math/s_casinhl.c: Do not include <float.h>.
11335 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11336 redefine.
11337 (__casinhl): Move code for finite nonzero arguments to
11338 k_casinhl.c.
11339 * math/libm-test.inc (cacos_test): Add more tests.
11340 * sysdeps/i386/fpu/libm-test-ulps: Update.
11341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11342
2a26ef3a
PT
113432013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11344
11345 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11346 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11347 [!HAVE_MREMAP]: Remove [defined linux] case.
11348 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11349
a897655d
SP
113502013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11351
11352 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11353
881ebe89 113542013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11355
11356 * elf/elf.h (R_386_SIZE32): New relocation.
11357 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11358 R_386_SIZE32.
11359 (elf_machine_rela): Likewise.
11360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11361 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11362
59981e9b
JM
113632013-01-17 Joseph Myers <joseph@codesourcery.com>
11364
11365 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11366 (FP_FAST_FMA): Do not define.
11367 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11368 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11369 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11370 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11371 !_SOFT_FLOAT]: Likewise.
11372 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11373 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11374 value.
11375 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11376 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11377 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11378 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11379 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11380 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11381 file.
11382
cfa8054f
AS
113832013-01-16 Andreas Schwab <schwab@suse.de>
11384
11385 [BZ #14327]
11386 * include/stdlib.h (__mktemp): Add declaration.
11387 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11388 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11389
dd930cc5
SP
113902013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11391
881ebe89
SP
11392 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11393 definitions.
11394 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11395 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11396 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11397 definitions here.
11398 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11399 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11400 definitions.
11401 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11402 and ONE.
11403 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11404 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11405 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11406 definitions.
11407 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11408 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11409 definitions.
11410 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11411
dd930cc5
SP
11412 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11413
c19a9f89
DM
114142013-01-15 David S. Miller <davem@davemloft.net>
11415
1aa61767
DM
11416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11417 trunc{,f} to libm-sysdep_routes.
11418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11420 file.
11421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11423 file.
11424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11425 file.
11426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11428 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11429 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11430 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11431 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11432 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11433 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11434
c42d5e98
DM
11435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11436 nearbyint{,f} to libm-sysdep_routes.
11437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11439 New file.
11440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11441 file.
11442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11443 New file.
11444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11445 file.
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11448 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11449 file.
11450 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11451 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11452 file.
11453 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11454 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11455 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11456
c19a9f89
DM
11457 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11458 libc_feholdexcept and libc_fesetenv.
11459
357679d2
MF
114602013-01-15 Mike Frysinger <vapier@gentoo.org>
11461
11462 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11463
65a82e3d
DM
114642013-01-14 David S. Miller <davem@davemloft.net>
11465
8b954ab9
DM
11466 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11467 (SPARC_ASM_VIS2_IFUNC): Likewise.
11468 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11470 use of 'siam' instruction.
11471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11472 Likewise.
11473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11474 Likewise.
11475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11476 Likewise.
11477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11482 file.
11483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11484 file.
11485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11486 file.
11487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11488 file.
11489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11494 new VIS2 routines.
11495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11498 Likewise.
11499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11504 routines to libm-sysdep_routines.
11505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11506
65a82e3d
DM
11507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11508 fdim/fdimf to libm-sysdep_routines.
11509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11510 file.
11511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11513 file.
11514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11517 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11518 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11519 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11520 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11521
e34ab705
SP
115222013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11523
2a91b573
SP
11524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11525 to optimize copies.
11526
1066a534
SP
11527 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11530
e34ab705
SP
11531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11532 local variable MPTWO.
11533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11534 Likewise.
11535
aba5e596
MF
115362013-01-13 Mike Frysinger <vapier@gentoo.org>
11537
11538 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11539 GLOB_NOESCAPE.
11540
e557e9e5
MF
115412013-01-13 Mike Frysinger <vapier@gentoo.org>
11542
11543 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11544
0428cec9
MF
115452013-01-13 Mike Frysinger <vapier@gentoo.org>
11546
11547 * manual/pattern.texi (glob_t): Document gl_flags.
11548 (glob64_t): Likewise.
11549
8794a964
DM
115502013-01-11 David S. Miller <davem@davemloft.net>
11551
66438c3f
RM
11552 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11553 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11554 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11555 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11556 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11557 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11558 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11559 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11560 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11561 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11562 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11563 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11564 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11565
4ae4244d
DM
11566 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11567 sparc V9 rather than using V8 code.
11568 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11569 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11570
8794a964
DM
11571 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11572 Move to...
11573 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11574 Here.
11575
6270516e
RM
115762013-01-11 Roland McGrath <roland@hack.frob.com>
11577
11578 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11579 not in the main loop.
11580 * configure: Regenerated.
11581
6a57d931
JM
115822013-01-11 Joseph Myers <joseph@codesourcery.com>
11583
11584 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11585 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11586 to just #else.
11587 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11588 [!__GLIBC_HAVE_LONG_LONG] case.
11589 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11590 condition to just #else.
11591 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11592 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11593 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11594 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11595 unconditional.
11596 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11597 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11598 #elif condition to just #else.
11599 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11600 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11601 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11602 #elif condition to just #else.
11603
0e8529e9
SE
116042013-01-11 Steve Ellcey <sellcey@mips.com>
11605
11606 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11607 (EF_MIPS_ARCH_64): Fix value.
11608 (EF_MIPS_ARCH_32R2): New.
11609 (EF_MIPS_ARCH_64R2): New.
11610
740b3dbe
L
116112013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * Makeconfig (+link-pie-before-libc): New.
11614 (+link-pie-after-libc): Likewise.
11615 (+link-pie-tests): Likewise.
11616 (+link-pie): Rewritten.
11617 (link-before-libc): Remove $(config-LDFLAGS).
11618 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11619 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11620 (config-LDFLAGS): Renamed to ...
11621 (rtld-LDFLAGS): This.
11622 (rtld-tests-LDFLAGS): New macro.
11623 (link-libc-rpath-link): Likewise.
11624 (link-libc-tests-rpath-link): Likewise.
11625 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11626 (link-libc): Prepand $(link-libc-rpath-link).
11627 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11628 (test-program-prefix): New macro.
11629 (test-via-rtld-prefix): Likewise.
11630 (test-program-cmd): Likewise.
11631 (host-test-program-cmd): Likewise.
11632 * Makefile ($(common-objpfx)testrun.sh): Replace
11633 $(run-program-prefix) with $(test-program-prefix).
11634 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11635 $(rtld-LDFLAGS).
11636 ($(common-objpfx)shlib.lds): Likewise.
11637 (build-module-helper): Likewise.
11638 ($(common-objpfx)format.lds): Likewise.
11639 * Rules (binaries-pie-tests): New.
11640 (binaries-pie-notests): Likewise.
11641 (binaries-pie): Rewritten.
11642 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11643 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11644 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11645 (make-test-out): Replace $(host-built-program-cmd) with
11646 $(host-test-program-cmd).
11647 * config.make.in (build-hardcoded-path-in-tests): New variable.
11648 * configure.in (--enable-hardcoded-path-in-tests): New configure
11649 option.
11650 (hardcoded_path_in_tests): New AC_SUBST.
11651 * configure: Regenerated.
11652 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11653 $(built-program-cmd) with $(test-program-cmd).
11654 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11655 (test_program_cmd): This.
11656 * elf/Makefile ($(objpfx)order.out): Run test with
11657 $(test-program-prefix).
11658 ($(objpfx)order2.out): Likewise.
11659 ($(objpfx)tst-initorder.out): Likewise.
11660 ($(objpfx)tst-initorder2.out): Likewise.
11661 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11662 $(test-program-cmd).
11663 ($(objpfx)tst-array1-static.out): Likewise.
11664 ($(objpfx)tst-array2.out): Likewise.
11665 ($(objpfx)tst-array3.out): Likewise.
11666 ($(objpfx)tst-array4.out): Likewise.
11667 ($(objpfx)tst-array5.out): Likewise.
11668 ($(objpfx)tst-array5-static.out): Likewise.
11669 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11670 $(test-program-cmd).
11671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11672 $(run-program-prefix) with $(test-program-prefix).
11673 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11674 (test_program_prefix): This.
11675 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11676 $(run-program-prefix) with $(test-program-prefix).
11677 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11678 (test_program_prefix): This.
11679 * iconvdata/tst-tables.sh: Likewise.
11680 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11681 $(run-program-prefix) with $(test-program-prefix).
11682 ($(objpfx)tst-translit.out): Likewise.
11683 ($(objpfx)tst-gettext2.out): Likewise.
11684 ($(objpfx)tst-gettext4.out): Likewise.
11685 ($(objpfx)tst-gettext6.out): Likewise.
11686 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11687 (test_program_prefix): This.
11688 * intl/tst-gettext2.sh: Likewise.
11689 * intl/tst-gettext4.sh Likewise.
11690 * intl/tst-gettext6.sh: Likewise.
11691 * intl/tst-translit.sh: Likewise.
11692 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11693 with $(test-program-cmd).
11694 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11695 $(run-program-prefix) with $(test-program-prefix).
11696 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11697 (test_program_prefix): This.
11698 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11699 $(run-program-prefix) with $(test-program-prefix).
11700 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11701 (test_program_prefix): This.
11702 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11703 * posix/Makefile ($(objpfx)globtest.out): Replace
11704 $(run-via-rtld-prefix) and $(test-wrapper) with
11705 $(test-program-prefix) and $(test-via-rtld-prefix).
11706 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11707 $(test-program-prefix).
11708 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11709 $(host-test-program-cmd).
11710 (tst-spawn-ARGS): Likewise.
11711 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11712 $(test-program-prefix).
11713 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11714 (test_via_rtld_prefix): This.
11715 (test_wrapper): Renamed to ...
11716 (test_program_prefix): This.
11717 (run_program_prefix): Replaced by test_program_prefix.
11718 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11719 (test_program_prefix): This.
11720 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11721 with $(host-test-program-cmd).
11722 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11723 $(run-program-prefix) with $(test-program-prefix).
11724 ($(objpfx)tst-printf.out): Likewise.
11725 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11726 $(test-program-cmd).
11727 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11728 (test_program_prefix): This.
11729 * stdio-common/tst-unbputc.sh: Likewise.
11730 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11731 $(run-program-prefix) with $(test-program-prefix).
11732 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11733 (test_program_prefix): This.
11734 * string/Makefile ($(objpfx)tst-svc.out): Replace
11735 $(built-program-cmd) with $(test-program-cmd).
11736
c6fe55cf
AJ
117372013-01-11 Andreas Jaeger <aj@suse.de>
11738
11739 [BZ #15003]
11740 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11741 value. Sync with Linux 3.7.
11742
9e6919c8
DM
117432013-01-10 David S. Miller <davem@davemloft.net>
11744
11745 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11746 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11747 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11748
1c9f1a02
RM
117492013-01-10 Roland McGrath <roland@hack.frob.com>
11750
11751 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11752 never set.
11753 * configure: Regenerated.
11754
b9de2dde
DM
117552013-01-10 David S. Miller <davem@davemloft.net>
11756
11757 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11758 sparc V9 rather than using V8 code.
11759 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11760 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11761
e7f68ef4
RM
117622013-01-10 Roland McGrath <roland@hack.frob.com>
11763
11764 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11765 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11766 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11767 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11768 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11769 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11770 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11771 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11772 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11773 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11774 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11775 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11776 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11777 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11778 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11779 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11780 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11781 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11782 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11783 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11784 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11785 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11786 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11787 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11788 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11789 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11790 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11791
5a47cc9c
DM
117922013-01-10 David S. Miller <davem@davemloft.net>
11793
11794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11795
4cf8f209
L
117962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 * posix/Makefile (tests-static): New variable.
11799 (tests): Add $(tests-static).
11800 (tst-exec-static-ARGS): New variable.
11801 (tst-spawn-static-ARGS): Likewise.
11802 * posix/tst-exec-static.c: New file.
11803 * posix/tst-spawn-static.c: Likewise.
11804 * posix/tst-exec.c: Support run directly.
11805 * posix/tst-spawn.c: Likewise.
11806
fed0faa1
JM
118072013-01-10 Joseph Myers <joseph@codesourcery.com>
11808
828beb13
JM
11809 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11810 long.
11811 * math/bits/mathcalls.h (llrint): Likewise.
11812 (llround): Likewise.
11813 * stdlib/stdlib.h (struct drand48_data): Likewise.
11814 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11815 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11816 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11817 Likewise.
11818 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11819 Likewise.
11820 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11821 (elf_greg_t): Likewise.
11822 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11823 (__jmp_buf): Likewise.
11824 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11825 definitions.
11826 (llrint): Likewise, for all definitions.
11827 (llrintl): Likewise.
11828
fed0faa1
JM
11829 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11830 Remove [__GNUC__] condition.
11831 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11832 condition to just [__USE_ISOC99].
11833 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11834
1a20cb20
L
118352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11836
11837 [BZ #14200]
11838 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11839 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11840 defined.
11841 (_POSIX_V6_ILP32_OFF32): Likewise.
11842 (_XBS5_ILP32_OFF32): Likewise.
11843 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11844 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11845
751b85f7
SP
118462013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11847
7490eb81
SP
11848 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11849
751b85f7
SP
11850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11851 doubles __mpexp_twomm1. Adjust usage.
11852 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11853 Remove.
11854
988197f0
AS
118552013-01-10 Andreas Schwab <schwab@suse.de>
11856
11857 [BZ #14964]
11858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11859 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11860
e83d7298
DM
118612013-01-09 David S. Miller <davem@davemloft.net>
11862
034ed64b 11863 [BZ #15003]
e83d7298
DM
11864 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11865 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11866 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11867 TCP_FASTOPEN): Define.
11868 (tcp_repair_opt): New structure.
11869 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11870 enum values.
11871 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11872 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11873 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11874 (tcp_cookie_transactions): New structure.
11875
d5e0b9bd
AB
118762013-01-09 Anton Blanchard <anton@samba.org>
11877
11878 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11879 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11881 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11882
0c07e3ea
JM
118832013-01-09 Joseph Myers <joseph@codesourcery.com>
11884
11885 * include/features.h (__USE_ANSI): Remove.
11886
232f7002
RM
118872013-01-09 Roland McGrath <roland@hack.frob.com>
11888
ad98e30c
RM
11889 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11890
232f7002
RM
11891 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11892
950c99ca
SP
118932013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
b5792741
SP
11895 * sysdeps/s390/fpu/libm-test-ulps: Update.
11896
47cf2278
SP
11897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11898
950c99ca
SP
11899 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11900 (__acr): Likewise.
11901 (__cpy): Likewise.
11902 (norm): Likewise.
11903 (denorm): Likewise.
11904 (__mp_dbl): Likewise.
11905 (__dbl_mp): Likewise.
11906 (add_magnitudes): Likewise.
11907 (sub_magnitudes): Likewise.
11908 (__add): Likewise.
11909 (__sub): Likewise.
11910 (__mul): Likewise.
11911 (__inv): Likewise.
11912 (__dvd): Likewise.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11914 (__acr): Likewise.
11915 (__cpy): Likewise.
11916 (norm): Likewise.
11917 (denorm): Likewise.
11918 (__mp_dbl): Likewise.
11919 (__dbl_mp): Likewise.
11920 (add_magnitudes): Likewise.
11921 (sub_magnitudes): Likewise.
11922 (__add): Likewise.
11923 (__sub): Likewise.
11924 (__mul): Likewise.
11925 (__inv): Likewise.
11926 (__dvd): Likewise.
11927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11928 (__acr): Likewise.
11929 (__cpy): Likewise.
11930 (norm): Likewise.
11931 (denorm): Likewise.
11932 (__mp_dbl): Likewise.
11933 (__dbl_mp): Likewise.
11934 (add_magnitudes): Likewise.
11935 (sub_magnitudes): Likewise.
11936 (__add): Likewise.
11937 (__sub): Likewise.
11938 (__mul): Likewise.
11939 (__inv): Likewise.
11940 (__dvd): Likewise.
11941
eede9df9
JM
119422013-01-08 Joseph Myers <joseph@codesourcery.com>
11943
11944 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11945 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11946 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11947 2 && __USE_EXTERN_INLINES]: Likewise.
11948
c40ea3d9
AJ
119492013-01-08 Andreas Jaeger <aj@suse.de>
11950
11951 [BZ# 14985]
11952 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11953 Remove.
11954 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11955 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11956
2ccdea26
AB
119572013-01-07 Anton Blanchard <anton@samba.org>
11958
11959 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11960 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11961 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11962 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11963 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11964 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11965 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11966 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11971 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11972 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11973 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11974 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11975 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11977 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11979 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11980 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11982 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11983 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11984 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11985 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11986 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11988 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11989 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11991 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11992 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11995 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11997 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11998 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11999 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12001 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12002
a9708fed
JM
120032013-01-07 Joseph Myers <joseph@codesourcery.com>
12004
375607b9
JM
12005 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12006 (__MALLOC_PMT): Likewise.
12007 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12008 [__GNUC__], only on [_LIBC].
12009 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12010 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12011 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12012 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12013 forward declaration.
12014 (realloc_hook_ini): Likewise.
12015 (memalign_hook_ini): Likewise.
12016 (__libc_memalign): Do not use __MALLOC_PMT in variable
12017 declaration.
12018 (__libc_valloc): Likewise.
12019 (__libc_pvalloc): Likewise.
12020 (__libc_calloc): Likewise.
12021 (__posix_memalign): Likewise.
12022
a9708fed
JM
12023 [BZ #14996]
12024 * math/s_casinh.c: Include <float.h>.
12025 (__casinh): Do not do computation with squaring and square root
12026 for large arguments.
12027 * math/s_casinhf.c: Include <float.h>.
12028 (__casinhf): Do not do computation with squaring and square root
12029 for large arguments.
12030 * math/s_casinhl.c: Include <float.h>.
12031 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12032 (__casinhl): Do not do computation with squaring and square root
12033 for large arguments.
12034 * math/libm-test.inc (casin_test): Add more tests.
12035 (casinh_test): Likewise.
12036 * sysdeps/i386/fpu/libm-test-ulps: Update.
12037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12038
afec409a
L
120392013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12042 (__x86_64_raw_data_cache_size): Likewise.
12043 (__x86_64_data_cache_size_half): Likewise.
12044 (__x86_64_raw_data_cache_size_half): Likewise.
12045 (__x86_64_shared_cache_size): Likewise.
12046 (__x86_64_raw_shared_cache_size): Likewise.
12047 (__x86_64_shared_cache_size_half): Likewise.
12048 (__x86_64_raw_shared_cache_size_half): Likewise.
12049 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12050 to ...
12051 (__x86_data_cache_size): This.
12052 (__x86_64_raw_data_cache_size): Renamed to ...
12053 (__x86_raw_data_cache_size): This.
12054 (__x86_64_data_cache_size_half): Renamed to ...
12055 (__x86_data_cache_size_half): This.
12056 (__x86_64_raw_data_cache_size_half): Renamed to ...
12057 (__x86_raw_data_cache_size_half): This.
12058 (__x86_64_shared_cache_size): Renamed to ...
12059 (__x86_shared_cache_size): This.
12060 (__x86_64_raw_shared_cache_size): Renamed to ...
12061 (__x86_raw_shared_cache_size): This.
12062 (__x86_64_shared_cache_size_half): Renamed to ...
12063 (__x86_shared_cache_size_half): This.
12064 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12065 (__x86_raw_shared_cache_size_half): This.
12066 * sysdeps/x86_64/memcpy.S: Updated.
12067 * sysdeps/x86_64/memset.S: Likewise.
12068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12071
0b3986d0
DM
120722013-01-04 David S. Miller <davem@davemloft.net>
12073
12074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12075
e47686e9
AS
120762013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12077
d643bac1
AS
12078 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12079 1 to avoid redefinition warning.
12080 (__USE_GNU): Don't define.
12081 (init_signaling_nan): Protoize.
12082
e47686e9
AS
12083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12084
b18decba
SP
120852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12086
fffb407f
SP
12087 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12089 (__cpymn): Likewise.
12090 (norm): Remove commented code.
12091 (denorm): Likewise.
12092 (__mp_dbl): Likewise.
12093 (__inv): Likewise.
12094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12095 (__cpymn): Likewise.
12096 (norm): Remove commented code.
12097 (denorm): Likewise.
12098 (__mp_dbl): Likewise.
12099 (__inv): Likewise.
12100
b18decba
SP
12101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12102 mp_no value for 1.0 and 2.0.
12103 (norm): Use RADIXI instead of radixi.d.
12104 (denorm): Likewise.
12105 (__mul): Use 0.0 instead of zero.d.
12106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12107 mp_no value for 1.0 and 2.0.
12108 (norm): Use RADIXI instead of radixi.d.
12109 (denorm): Likewise.
12110 (__mul): Use 0.0 instead of zero.d.
12111
cdc1c96f
JM
121122013-01-04 Joseph Myers <joseph@codesourcery.com>
12113
12114 [BZ #14994]
12115 * math/s_casinh.c (__casinh): Reduce finite argument to first
12116 quadrant then set signs of results at the end.
12117 * math/s_casinhf.c (__casinhf): Likewise.
12118 * math/s_casinhl.c (__casinhl): Likewise.
12119 * math/libm-test.inc (casin_test): Add more tests.
12120 (casinh_test): Likewise.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12123
302913e1
SP
121242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12125
6420d207
SP
12126 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12127
a9e48ab4
SP
12128 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12129
b7837264
SP
12130 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12131 declarations.
12132 (denorm): Likewise.
12133 (__mp_dbl): Likewise.
12134 (__inv): Likewise.
12135
f8af25d2
SP
12136 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12137 and adjust the header comment.
12138
302913e1
SP
12139 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12140 variable name from declaration.
12141
5d7dd1ca
L
121422013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12145 Initialize COMMON_CPUID_INDEX_7 element.
12146 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12147 (CPUID_RTM): Likewise.
12148 (HAS_RTM): Likewise.
12149 (COMMON_CPUID_INDEX_7): New enum.
12150
2f5f40f4
AS
121512013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12152
12153 [BZ #14981]
12154 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12155 size is zero, record memory as freed.
12156
4056f4a0
AJ
121572013-01-03 Andreas Jaeger <aj@suse.de>
12158
12159 * po/ia.po: Add new Interlingua translation.
12160
ab15736f 121612012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12162
12163 * locale/programs/localedef.c: Fix description of '--posix' flag.
12164
568035b7
JM
121652013-01-02 Joseph Myers <joseph@codesourcery.com>
12166
e6898b8d
JM
12167 * NEWS: Update dates in second copyright notice.
12168 * README: Update copyright dates in example.
12169 * manual/libc.texinfo: Update copyright dates.
12170 * scripts/test-installation.pl: Update copyright date in --version
12171 output.
12172
0e2f9562
JM
12173 * hurd/ctty-input.c: Fix copyright notice formatting.
12174 * hurd/ctty-output.c: Likewise.
12175 * hurd/dtable.c: Likewise.
12176 * hurd/hurd-raise.c: Likewise.
12177 * hurd/hurdprio.c: Likewise.
12178 * hurd/msgportdemux.c: Likewise.
12179 * misc/sys/file.h: Likewise.
12180 * misc/sys/ioctl.h: Likewise.
12181 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12182 * sysdeps/mach/hurd/chdir.c: Likewise.
12183 * sysdeps/mach/hurd/fchdir.c: Likewise.
12184 * sysdeps/mach/hurd/rename.c: Likewise.
12185 * sysdeps/mach/hurd/rmdir.c: Likewise.
12186 * sysdeps/mach/hurd/seekdir.c: Likewise.
12187 * sysdeps/mach/hurd/setsid.c: Likewise.
12188 * sysdeps/posix/wait3.c: Likewise.
12189
568035b7
JM
12190 * All files with FSF copyright notices: Update copyright dates
12191 using scripts/update-copyrights.
12192 * intl/plural.c: Regenerated.
12193 * locale/programs/charmap-kw.h: Likewise.
12194 * locale/programs/locfile-kw.h: Likewise.
12195
da08f647
SP
121962013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12197
0f5477af
SP
12198 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12199 four values.
12200
44e0d4c2
SP
12201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12202 calculation loop and add branch prediction.
12203
4d55b4e5
SP
12204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12205 check access beyond bounds of m1np.
12206
da08f647
SP
12207 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12208 MPTWO.
12209 (__inv): Remove local variable MPTWO to use the global
12210 constant.
12211 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12213 variable MPTWO.
12214 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12215 MP3HALFS static const.
12216
8e051029
DM
122172013-01-01 David S. Miller <davem@davemloft.net>
12218
12219 * po/ca.po: Update from translation team.
12220
f4cf5f2d
JM
122212013-01-01 Joseph Myers <joseph@codesourcery.com>
12222
12223 * scripts/update-copyrights: New file.
12224 * Makeconfig: Reformat copyright notice.
12225 * ctype/ctype.h: Likewise.
12226 * debug/swprintf_chk.c: Likewise.
12227 * elf/dl-cache.c: Likewise.
12228 * elf/dl-debug.c: Likewise.
12229 * elf/dl-object.c: Likewise.
12230 * grp/initgroups.c: Likewise.
12231 * hurd/Makefile: Likewise.
12232 * hurd/hurd/signal.h: Likewise.
12233 * hurd/hurdfault.c: Likewise.
12234 * hurd/hurdioctl.c: Likewise.
12235 * hurd/hurdlookup.c: Likewise.
12236 * hurd/intr-msg.c: Likewise.
12237 * iconv/gconv_open.c: Likewise.
12238 * libio/swprintf.c: Likewise.
12239 * locale/lc-ctype.c: Likewise.
12240 * locale/nl_langinfo.c: Likewise.
12241 * mach/Machrules: Likewise.
12242 * mach/Makefile: Likewise.
12243 * malloc/obstack.h: Likewise.
12244 * manual/Makefile: Likewise.
12245 * manual/tsort.awk: Likewise.
12246 * misc/bits/stab.def: Likewise.
12247 * nis/nis_print_group_entry.c: Likewise.
12248 * nis/nis_table.c: Likewise.
12249 * nis/nss_compat/compat-pwd.c: Likewise.
12250 * nis/nss_compat/compat-spwd.c: Likewise.
12251 * po/Makefile: Likewise.
12252 * posix/fnmatch.c: Likewise.
12253 * posix/regex.h: Likewise.
12254 * resolv/Makefile: Likewise.
12255 * resolv/nss_dns/dns-network.c: Likewise.
12256 * resolv/res_hconf.c: Likewise.
12257 * scripts/gen-sorted.awk: Likewise.
12258 * soft-fp/soft-fp.h: Likewise.
12259 * stdio-common/printf.h: Likewise.
12260 * stdlib/monetary.h: Likewise.
12261 * stdlib/random.c: Likewise.
12262 * stdlib/random_r.c: Likewise.
12263 * sysdeps/generic/Makefile: Likewise.
12264 * sysdeps/gnu/Makefile: Likewise.
12265 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12293 * sysdeps/mach/hurd/errnos.awk: Likewise.
12294 * sysdeps/mach/hurd/fork.c: Likewise.
12295 * sysdeps/mach/hurd/getcwd.c: Likewise.
12296 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12297 * sysdeps/mach/hurd/mmap.c: Likewise.
12298 * sysdeps/mach/hurd/utimes.c: Likewise.
12299 * sysdeps/mach/hurd/xmknod.c: Likewise.
12300 * sysdeps/posix/profil.c: Likewise.
12301 * sysdeps/posix/readdir_r.c: Likewise.
12302 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12303 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12304 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12305 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12307 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12311 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12312 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12313 * sysdeps/pthread/lio_listio.c: Likewise.
12314 * sysdeps/sparc/dl-procinfo.h: Likewise.
12315 * sysdeps/unix/i386/sysdep.S: Likewise.
12316 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12317 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12318 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12319 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12321 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12322 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12323 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12324 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12325 * sysdeps/wordsize-32/divdi3.c: Likewise.
12326 * time/sys/time.h: Likewise.
12327 * wcsmbs/Makefile: Likewise.
12328
0549fbba
DM
123292013-01-01 David S. Miller <davem@davemloft.net>
12330
a141f1a7
DM
12331 * po/fr.po: Update from translation team.
12332
0549fbba
DM
12333 * catgets/gencat.c: Update copyright year.
12334 * csu/version.c: Likewise.
12335 * debug/catchsegv.sh: Likewise.
12336 * debug/pcprofiledump.c: Likewise.
12337 * debug/xtrace.sh: Likewise.
12338 * elf/ldconfig.c: Likewise.
12339 * elf/ldd.bash.in: Likewise.
12340 * elf/pldd.c: Likewise.
12341 * elf/sotruss.ksh: Likewise.
12342 * elf/sprof.c: Likewise.
12343 * iconv/iconv_prog.c: Likewise.
12344 * iconv/iconvconfig.c: Likewise.
12345 * locale/programs/locale.c: Likewise.
12346 * locale/programs/localedef.c: Likewise.
12347 * login/programs/pt_chown.c: Likewise.
12348 * malloc/memusage.sh: Likewise.
12349 * malloc/memusagestat.c: Likewise.
12350 * malloc/mtrace.pl: Likewise.
12351 * nscd/nscd.c: Likewise.
12352 * nss/getent.c: Likewise.
12353 * nss/makedb.c: Likewise.
12354 * posix/getconf.c: Likewise.
12355
18ea052c
SP
123562012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12357
12358 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12359 numbers.
12360
9c89fca6
MF
123612012-12-30 Mike Frysinger <vapier@gentoo.org>
12362
12363 * math/bits/mathcalls.h (modf): Use __nonnull.
12364
085ec079
SP
123652012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12366
12367 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12368 (split): Use macro CN instead of the bare value.
12369 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12370 could be used.
12371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12372 instead of the bare value.
12373 (power1): Likewise.
12374
6d9f97e1
SP
123752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12376
d63f73be
SP
12377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12378 __ATAN_TWOM.
12379 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12380
6d9f97e1
SP
12381 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12382 their values.
12383 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12384 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12385 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12386 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12387
4c4febf5
AJ
123882012-12-28 Andreas Jaeger <aj@suse.de>
12389
af5843ef
AJ
12390 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12391 values are from Linux 3.7.
12392
4c4febf5
AJ
12393 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12394 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12395
99136f82
SP
123962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12397
2f216c3c 12398 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12399 TRUE case.
12400
99136f82
SP
12401 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12402 (norm): Likewise.
12403 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12404 variables with preprocessor constants.
12405 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12406 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12407 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12408
7fffbdff
BH
124092012-12-27 Bruno Haible <bruno@clisp.org>
12410
12411 [BZ #14317]
12412 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12413 only if needed.
12414
b76eb5f0
SP
124152012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12416
31a7fe5c
SP
12417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12418 and use variable directly.
12419 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12420
b76eb5f0
SP
12421 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12422 MPONE.
12423 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12425 variable MPONE.
12426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12428 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12429 include directive. Remove local variable MPONE.
12430 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12431 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12433
2c8bfe7d
DM
124342012-12-25 David S. Miller <davem@davemloft.net>
12435
12436 * version.h (RELEASE): Set to "development".
12437 (VERSION): Set to "2.17.90".
12438 * NEWS: Add 2.18 section.
12439
147d03b0
DM
124402012-12-21 David S. Miller <davem@davemloft.net>
12441
12442 * po/hr.po: Update from translation team.
12443
a8ebb2b9
AK
124442012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12445
12446 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12447
95b4f1b6
SE
124482012-12-19 Steve Ellcey <sellcey@mips.com>
12449
b2d94007 12450 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12451
cedb2a90
MS
124522012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12453
12454 * manual/contrib.texi (Contributors): Spelling correction.
12455
bbf527d6
DM
124562012-12-15 David S. Miller <davem@davemloft.net>
12457
12458 * po/ru.po: Update from translation team.
12459
bc38c906
DM
124602012-12-13 David S. Miller <davem@davemloft.net>
12461
85429b1a
DM
12462 * NEWS: Mention IFUNC testsuite enhancements.
12463
d283e353
DM
12464 * po/pl.po: Update from translation team.
12465 * po/bg.po: Likewise.
12466
bc38c906
DM
12467 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12468 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12469
a181b0d7
DM
124702012-12-11 David S. Miller <davem@davemloft.net>
12471
4641d57e
DM
12472 * po/sv.po: Update from translation team.
12473
f7bc6495
DM
12474 * po/vi.po: Update from translation team.
12475
6fc9048f
DM
12476 * po/cs.po: Update from translation team.
12477
a181b0d7
DM
12478 * po/de.po: Update from translation team.
12479 * po/eo.po: Likewise.
12480 * po/nl.po: Likewise.
12481
f70bfe80
SP
124822012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12483
3c8b4190
SP
12484 [BZ #14246]
12485 * manual/argp.texi (Argp Helper Functions): Move node to follow
12486 Argp Parsing State.
12487
f70bfe80
SP
12488 [BZ #14872]
12489 * manual/conf.texi (Limits on File System Capacity): Mention if
12490 terminating null is included in the max size.
12491
188f0adf
AJ
124922012-12-10 Andreas Jaeger <aj@suse.de>
12493
12494 * po/cs.po: Update from translation team.
12495
56e7d3ad
SP
124962012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12497
12498 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12499 void pointer and cast to uintptr_t.
12500 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12501 path.
12502 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12503 * sysdeps/s390/s390-64/memset.S: Likewise.
12504
76f2d2ea 125052012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12506
12507 [BZ #14833]
12508 * menual/message.texi (Message Translation): Fix typos.
12509 (Helper programs for gettext): Likewise.
12510
67cbf9a2
AS
125112012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12512
12513 [BZ #14898]
12514 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12515 Change to -1.
12516
682d0e9a
DM
125172012-12-07 David S. Miller <davem@davemloft.net>
12518
12519 * po/libc.pot: Update.
12520
573cd484
RH
125212012-12-07 Richard Henderson <rth@redhat.com>
12522
7e9da188 12523 [BZ #10114]
573cd484
RH
12524 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12525 normal/normal case to before the switch.
12526 (_FP_DIV): Likewise.
12527
e933a943
MF
125282012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12529 Mike Frysinger <vapier@gentoo.org>
12530
12531 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12532 check for __NR_fadvise64_64.
12533
82123268
CM
125342012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12535
12536 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12537 0, not just to plain "0" as a statement.
12538 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12539 with cw.
12540
d9814526
JM
125412012-12-06 Joseph Myers <joseph@codesourcery.com>
12542
12543 * NEWS: Use sourceware.org in Bugzilla URL.
12544
7728c574
SP
125452012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12546
f16946dd
SP
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12548 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12549
5704bbcb
SP
12550 * stdio-common/tst-put-error.c (do_test): Add newline to the
12551 padded test to ensure flush.
12552
17aa0516
JL
125532012-12-05 Jeff Law <law@redhat.com>
12554
12555 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12556
363313b5
JM
125572012-12-05 Joseph Myers <joseph@codesourcery.com>
12558
effbd42a
JM
12559 * README: Don't refer to ports add-on as distributed separately.
12560 Mention AArch64 in list of systems supported in the ports add-on.
12561
87600365
JM
12562 * LICENSES: Add more non-FSF copyright and license notices.
12563
a0d7066a
JM
12564 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12565 ((unused)).
12566
66ca5a5b
JM
12567 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12568
363313b5
JM
12569 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12570 10000 as width of padded output.
12571
b37984ad
JM
125722012-12-04 Joseph Myers <joseph@codesourcery.com>
12573
9003570a
JM
12574 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12575
b37984ad
JM
12576 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12577 variable LX with __attribute__ ((unused)).
12578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12579 Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12583 with __attribute__ ((unused)).
12584
c8df52ec
DM
125852012-12-04 David S. Miller <davem@abraco.davemloft.net>
12586
12587 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12588
b3b099af
JM
125892012-12-04 Joseph Myers <joseph@codesourcery.com>
12590
c33aa6e3
JM
12591 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12592 (CFLAGS-nldbl-acos.c): New variable.
12593 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12594 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12595 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12596 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12597 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12598 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12599 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12600 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12601 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12602 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12603 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12604 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12605 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12606 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12607 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12608 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12609 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12610 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12611 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12612 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12613 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12614 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12615 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12616 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12617 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12618 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12619 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12620 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12621 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12622 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12623 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12624 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12625 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12626 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12627 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12628 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12629 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12630 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12631 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12632 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12633 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12634 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12635 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12636 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12637 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12638 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12639 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12640 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12641 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12642 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12643 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12644 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12645 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12646 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12647 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12648 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12653 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12654 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12655 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12656 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12657 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12668 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12669 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12670 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12671 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12672 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12673 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12674 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12675 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12676 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12681 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12682 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12683 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12684 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12685 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12686 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12687 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12688 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12689 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12690
20f0018d
JM
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12692 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12693
b3b099af
JM
12694 [BZ #14914]
12695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12696 whole low double instead of just low 47 bits when splitting values
12697 into two parts.
12698
029264d1
AM
126992012-12-03 Allan McRae <allan@archlinux.org>
12700
12701 * manual/stdio.texi (Predefined Printf Handlers): Remove
12702 @hsep and @vsep usage.
12703
c9d6789e
MF
127042012-12-03 Mike Frysinger <vapier@gentoo.org>
12705
12706 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12707 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12708
4b7634a5
JL
127092012-12-03 Jeff Law <law@redhat.com>
12710
12711 * time/sys/time.h (settimeofday): Do not mark TV argument
12712 as __nonnull.
12713
eb6cbd24
MF
127142012-12-01 Mike Frysinger <vapier@gentoo.org>
12715
12716 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12717 when currently writing and seek to current position when not.
12718 * libio/Makefile (tests): Remove bug-fclose1.
12719 * libio/bug-fclose1.c: Delete.
12720
f638872a
JM
127212012-12-01 Joseph Myers <joseph@codesourcery.com>
12722
12723 * manual/arith.texi (feenableexcept): Fix typo.
12724 (fedisableexcept): Likewise.
12725
48085d14
RM
127262012-11-30 Roland McGrath <roland@hack.frob.com>
12727
12728 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12729 second, differently-typed declaration, rather than a cast.
12730
1a538b9f
SP
127312012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12734 * include/rpc/svc.h: ... here.
12735
d07f2ff1 127362012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12737
12738 [BZ #13013]
12739 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12740 depending n and resplen2 to catch cases where answer
12741 equals answerp2.
12742
c93ec1f0
CD
127432012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12744
12745 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12746 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12747
37db69de
MF
127482012-11-29 Mike Frysinger <vapier@gentoo.org>
12749
12750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12751
e10c4e4f
RM
127522012-11-29 Roland McGrath <roland@hack.frob.com>
12753
12754 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12755
2af1b328
JL
127562012-11-28 Jeff Law <law@redhat.com>
12757
12758 [BZ #13761]
12759 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12760 dataset_temporary. Track alloca usage into alloca_used.
12761 If dataset is large allocate and release it via malloc/free.
12762
111db5b1
FW
127632012-06-04 Florian Weimer <fweimer@redhat.com>
12764
f06cc227 12765 [BZ #14197]
111db5b1
FW
12766 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12767
dd694abd
DM
127682012-11-28 David S. Miller <davem@davemloft.net>
12769
12770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12771
9984dd01
JM
127722012-11-28 Joseph Myers <joseph@codesourcery.com>
12773
12774 [BZ #14803]
12775 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12776 of pi/2 rounded to nearest to 64 bits.
12777 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12778 nearest to 64 bits.
12779 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12780 bits.
12781
14bc93a9
JL
127822012-11-28 Jeff Law <law@redhat.com>
12783 Martin Osvald <mosvald@redhat.com>
12784
12785 [BZ #14889]
12786 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12787 * sunrpc/svc.c: Include time.h.
12788 (__svc_accept_failed): New function.
12789 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12790 any reason other than EINTR, call __svc_accept_failed.
12791 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12792 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12793
e3c6aa3a
AS
127942012-11-28 Andreas Schwab <schwab@suse.de>
12795
12796 * scripts/abilist.awk: Also handle indirect functions in .opd
12797 section.
12798
1bead169
JM
127992012-11-28 Joseph Myers <joseph@codesourcery.com>
12800
12801 [BZ #13881]
12802 * sysdeps/x86/fpu/powl_helper.c: New file.
12803 * sysdeps/x86/fpu/Makefile: Likewise.
12804 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12805 (p3): New object.
12806 (__ieee754_powl): Use __powl_helper for finite arguments except
12807 integer exponents below 8.
12808 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12809 (p3): New object.
12810 (__ieee754_powl): Use __powl_helper for finite arguments except
12811 integer exponents below 8.
12812 * math/libm-test.inc (pow_test): Add more tests and enable some
12813 previously disabled tests.
12814 * sysdeps/i386/fpu/libm-test-ulps: Update.
12815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12816
0817d63d
SP
128172012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12818 Carlos O'Donell <carlos_odonell@mentor.com>
12819
12820 * nss/makedb.c (is_prime): Assert that input is odd and greater
12821 than 4. Note that fact in a comment too.
12822 (next_prime): Add 4 to input.
12823
de2fd463
SP
128242012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12825
12826 [BZ #11741]
12827 * libio/Makefile (tests): Add test case tst-fwrite-error.
12828 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12829 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12830 * libio/tst-fwrite-error.c: New test case.
12831
c515fb51
L
128322012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12833
12834 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12835 before casting to void *.
12836 * include/libc-internal.h (__pointer_type): New macro.
12837 (__integer_if_pointer_type_sub): Likewise.
12838 (__integer_if_pointer_type): Likewise.
12839 (cast_to_integer): Likewise.
12840 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12841 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12842 before casting to atomic64_t.
12843 (atomic_exchange_acq): Likewise.
12844 (__arch_exchange_and_add_body): Likewise.
12845 (__arch_add_body): Likewise.
12846 (atomic_add_negative): Likewise.
12847 (atomic_add_zero): Likewise.
12848
4cf77aa9
JM
128492012-11-26 Joseph Myers <joseph@codesourcery.com>
12850
12851 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12852 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12853 (add_fdes): Likewise.
12854 (linear_search_fdes): Likewise.
12855 (binary_search_unencoded_fdes): Likewise.
12856
d260b3b4
AS
128572012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12858
12859 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12860
67060746
AC
128612012-11-24 Adam Conrad <adconrad@0c3.net>
12862
12863 * configure.in: Autodetect C++ header directories.
12864 * configure: Regenerated.
12865
800938a1
MF
128662012-11-23 Mike Frysinger <vapier@gentoo.org>
12867
12868 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12869
4e6e34e6
AS
128702012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12871
12872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12873
7c7feb47
JM
128742012-11-22 Joseph Myers <joseph@codesourcery.com>
12875
7184dcdf
JM
12876 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12877 LDBL_MANT_DIG == 106]: Disable some tests.
12878 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12879 Likewise.
12880 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12881 Likewise.
12882
0a42601f
JM
12883 [BZ #14871]
12884 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12885 input for small inputs. Return +/- pi/2 for large inputs.
12886 * math/libm-test.inc (atan_test): Add more tests.
12887
79c9b9fe
JM
12888 * sysdeps/generic/unwind-dw2-fde-glibc.c
12889 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12890 __attribute__ ((unused)).
12891
c60d3bf2
JM
12892 [BZ #14645]
12893 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12894 x * y if x and y are nonzero and z is zero.
12895
ef1e0867
JM
12896 [BZ #14811]
12897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12898 nonzero exponents with absolute value below 0x1p-117 to +/-
12899 0x1p-117.
12900
1468ded3
JM
12901 [BZ #14869]
12902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12903 up arguments below 2**-450, not just those below 2**-500.
12904 * math/libm-test.inc (hypot_test): Add another test.
12905
8e27e3cc
JM
12906 [BZ #14868]
12907 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12908 Return a+b for ratio over 2**120, not 2**60.
12909 * math/libm-test.inc (hypot_test): Add another test.
12910
c9c0279b
JM
12911 * math/libm-test.inc (clog_test): Use
12912 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12913 (clog10_test): Likewise.
12914
7c7feb47
JM
12915 [BZ #6778]
12916 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12917
fff1530e
AS
129182012-11-22 Andreas Schwab <schwab@suse.de>
12919
12920 * sysdeps/i386/fpu/libm-test-ulps: Update.
12921
94558d30
PT
129222012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12923
12924 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12925 printf output with newline.
12926
7e1be741
L
129272012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12928
6bfea974
L
12929 [BZ #14865]
12930 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12931 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12932 -z nodlopen, -z initfirst and -z execstack support.
12933 * configure: Regenerated.
12934
7e1be741
L
12935 * elf/elf.h (DF_1_NODIRECT): New macro.
12936 (DF_1_IGNMULDEF): Likewise.
12937 (DF_1_NOKSYMS): Likewise.
12938 (DF_1_NOHDR): Likewise.
12939 (DF_1_EDITED): Likewise.
12940 (DF_1_NORELOC): Likewise.
12941 (DF_1_SYMINTPOSE): Likewise.
12942 (DF_1_GLOBAUDIT): Likewise.
12943 (DF_1_SINGLETON): Likewise.
12944 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12945 DT_1_SUPPORTED_MASK bits.
12946 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12947
105ce2ce
CD
129482012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12949
12950 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12951
123be9de
TS
129522012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12953
d072f3f7
TS
12954 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12955 macro.
12956
123be9de
TS
12957 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12958 (sendmmsg): Move declarations...
12959 * socket/sys/socket.h: ... here.
12960 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12961 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12962 include it from...
12963 * socket/recvmmsg.c: ... this new file.
12964 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12965 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12966 definition of __sendmmsg hidden.
12967 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12968 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12969 Move ENOSYS stub into and include it from...
12970 * socket/sendmmsg.c: ... this new file.
12971 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12972 (sysdep_routines): Move recvmmsg and sendmmsg...
12973 * socket/Makefile (routines): ... here.
12974 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12975 (GLIBC_PRIVATE): Add __sendmmsg.
12976 * include/sys/socket.h (__sendmmsg): Add declarations.
12977 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12978 sendmmsg.
12979
cf9a5d18
JM
129802012-11-20 Joseph Myers <joseph@codesourcery.com>
12981
12982 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12983 variable I1 with __attribute__ ((unused)).
12984 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12985
ecd4caf9
JM
129862012-11-19 Joseph Myers <joseph@codesourcery.com>
12987
be14d48f
JM
12988 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12989 DUMMY variables with __attribute__ ((unused)).
12990
ecd4caf9
JM
12991 * bits/byteswap.h: Include <bits/types.h>.
12992 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12993
986cab95
PT
129942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12995
12996 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12997 string_t. Do not manually set errno.
12998 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12999 length with __strnlen. Make sure to both set errno and return it on
13000 failure.
13001
6d33cc9d
DM
130022012-11-19 David S. Miller <davem@davemloft.net>
13003
13004 With help from Joseph Myers.
13005 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13006 very large arguments properly.
13007 * math/libm-test.inc (atan_test): New tests.
13008 (atan2_test): New tests.
13009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13011
ee663277
JM
130122012-11-19 Joseph Myers <joseph@codesourcery.com>
13013
877f2d8e
JM
13014 [BZ #14856]
13015 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13016 Define to 3.
13017
116fc08a
JM
13018 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13019 [POSIX] (EADDRNOTAVAIL): Likewise.
13020 [POSIX] (EAFNOSUPPORT): Likewise.
13021 [POSIX] (EALREADY): Likewise.
13022 [POSIX] (ECONNABORTED): Likewise.
13023 [POSIX] (ECONNREFUSED): Likewise.
13024 [POSIX] (ECONNRESET): Likewise.
13025 [POSIX] (EDESTADDRREQ): Likewise.
13026 [POSIX] (EDQUOT): Likewise.
13027 [POSIX] (EHOSTUNREACH): Likewise.
13028 [POSIX] (EIDRM): Likewise.
13029 [POSIX] (EISCONN): Likewise.
13030 [POSIX] (ELOOP): Likewise.
13031 [POSIX] (EMULTIHOP): Likewise.
13032 [POSIX] (ENETDOWN): Likewise.
13033 [POSIX] (ENETUNREACH): Likewise.
13034 [POSIX] (ENOBUFS): Likewise.
13035 [POSIX] (ENODATA): Likewise.
13036 [POSIX] (ENOLINK): Likewise.
13037 [POSIX] (ENOMSG): Likewise.
13038 [POSIX] (ENOPROTOOPT): Likewise.
13039 [POSIX] (ENOSR): Likewise.
13040 [POSIX] (ENOSTR): Likewise.
13041 [POSIX] (ENOTCONN): Likewise.
13042 [POSIX] (ENOTSOCK): Likewise.
13043 [POSIX] (EOPNOTSUPP): Likewise.
13044 [POSIX] (EOVERFLOW): Likewise.
13045 [POSIX] (EPROTO): Likewise.
13046 [POSIX] (EPROTONOSUPPORT): Likewise.
13047 [POSIX] (EPROTOTYPE): Likewise.
13048 [POSIX] (ESTALE): Likewise.
13049 [POSIX] (ETIME): Likewise.
13050 [POSIX] (ETXTBSY): Likewise.
13051 [POSIX] (EWOULDBLOCK): Likewise.
13052 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13053 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13054 [POSIX] (SEEK_CUR): Likewise.
13055 [POSIX] (SEEK_END): Likewise.
13056 [POSIX || UNIX98] (mode_t): Do not require.
13057 [POSIX] (off_t): Likewise.
13058 [POSIX] (pid_t): Likewise.
13059 [POSIX] (sys/stat.h): Do not allow header.
13060 [POSIX] (unistd.h): Likewise.
13061 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13062 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13063 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13064 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13065 require.
13066 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13067 sigevent): Specify elements.
13068 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13069 entry.
13070 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13071 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13072
a483863f
JM
13073 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13074 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13075 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13076 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13077 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13078 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13079 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13080 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13081 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13082 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13083 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13084 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13085 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13086 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13087 Likewise.
13088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13089 Likewise.
13090 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13091 Likewise.
13092 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13093 Likewise.
13094 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13095 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13096 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13097 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13098 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13099 Specify lower bound on value.
13100 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13101 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13102 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13103 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13104 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13105 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13106 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13107 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13108 value.
13109 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13110 as optional.
13111 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13112 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13113 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13114 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13115 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13116 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13117 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13118 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13119 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13120 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13121 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13122 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13123 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13124 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13125 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13126 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13127 entry.
13128 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13129 optional.
13130 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13131 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13132 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13133 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13134 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13135 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13136 Likewise.
13137 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13138 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13139 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13140 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13141 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13142 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13143 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13144 as optional.
13145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13146 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13147 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13148 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13149 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13150 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13151 specify as optional.
13152 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13153 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13154 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13155 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13156 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13157 [XPG3] (NL_LANGMAX): Likewise.
13158 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13159 [POSIX || XPG3] (NL_NMAX): Likewise.
13160 [POSIX || XPG3] (NL_SETMAX): Likewise.
13161 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13162 [XPG3] (NZERO): Likewise.
13163 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13164 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13165 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13166 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13167 (REG_ERANGE): Expect.
13168 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13169 optional-constant.
13170 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13171 Use (void) in prototype.
13172 [POSIX] (*_t): Allow.
13173 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13174 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13175 (WRDE_BADVAL): Expect.
13176
5ba924e3
JM
13177 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13178 expect.
13179 [XPG3 || XPG4] (O_RSYNC): Likewise.
13180 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13181 Likewise.
13182 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13183 [XPG3 || XPG4] (sigqueue): Likewise.
13184 [XPG3 || XPG4] (sigtimedwait): Likewise.
13185 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13186 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13187 [XPG3 || XPG4] (vsnprintf): Likewise.
13188 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13189 Likewise.
13190 [XPG3 || XPG4] (blksize_t): Likewise.
13191 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13192 Likewise.
13193 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13194 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13195 [XPG3 || XPG4] (struct itimerspec): Likewise.
13196 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13197 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13198 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13199 [XPG3 || XPG4] (clockid_t): Likewise.
13200 [XPG3 || XPG4] (timer_t): Likewise.
13201 [XPG3 || XPG4] (clock_getres): Likewise.
13202 [XPG3 || XPG4] (clock_gettime): Likewise.
13203 [XPG3 || XPG4] (clock_settime): Likewise.
13204 [XPG3 || XPG4] (nanosleep): Likewise.
13205 [XPG3 || XPG4] (timer_create): Likewise.
13206 [XPG3 || XPG4] (timer_delete): Likewise.
13207 [XPG3 || XPG4] (timer_gettime): Likewise.
13208 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13209 [XPG3 || XPG4] (timer_settime): Likewise.
13210 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13211 [XPG3 || XPG4] (getlogin_r): Likewise.
13212 [XPG3 || XPG4] (pread): Likewise.
13213 [XPG3 || XPG4] (pthread_atfork): Likewise.
13214 [XPG3 || XPG4] (pwrite): Likewise.
13215
ee663277
JM
13216 [BZ #14835]
13217 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13218 <bits/siginfo.h>.
13219
942caa16
PT
132202012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13221
e19af380
PT
13222 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13223 finalizing MALLSTREAM.
13224
942caa16
PT
13225 * sysdeps/mach/hurd/syncfs.c: New file.
13226
cfde9b46
SP
132272012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13228
13229 [BZ #14719]
13230 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13231 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13232 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13233 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13234 (_nss_dns_gethostbyname4_r): Likewise.
13235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13236 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13237
f6da27e5
PH
132382012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13239
13240 [BZ #13763]
13241 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13242
6665d4a2
SM
132432012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13244
1f51ee92
SM
13245 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13246 * elf/cache.c (print_entry): Print ",AArch64" for
13247 FLAG_AARCH64_LIB64
13248
6665d4a2
SM
13249 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13250 * elf/cache.c (print_entry): Print ",hard-float" for
13251 FLAG_ARM_LIBHF.
13252
05b227bd
DM
132532012-11-18 David S. Miller <davem@davemloft.net>
13254
13255 With help from Joseph Myers.
13256 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13257 cutoff to 2**-13.
13258 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13259 cutoff to 2**-25.
13260 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13261 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13262 small.
13263 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13264 * math/libm-test.inc (y0_test): New tests.
13265 (y1_test): New tests.
13266 * sysdeps/i386/fpu/libm-test-ulps: Update.
13267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13269
786b0b67
AS
132702012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13271
13272 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13273 64-bit targets.
13274 * configure: Regenerated.
13275
8e18b86d
DM
132762012-11-17 David S. Miller <davem@davemloft.net>
13277
13278 [BZ #14811]
13279 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13280 nonzero exponents with absolute value below 0x1p-128 to +/-
13281 0x1p-128.
13282
531f1ae0
JM
132832012-11-17 Joseph Myers <joseph@codesourcery.com>
13284
12df29e2
JM
13285 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13286
150dc1a0
JM
13287 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13288
531f1ae0
JM
13289 * posix/getconf-speclist.c: New file.
13290 * posix/posix-envs.def: Likewise.
13291 * posix/confstr.c (START_ENV_GROUP): New macro.
13292 (END_ENV_GROUP): Likewise.
13293 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13294 (KNOWN_PRESENT_ENV_STRING): Likewise.
13295 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13296 (UNKNOWN_ENVIRONMENT): Likewise.
13297 (confstr): Include posix-envs.def instead of handling
13298 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13299 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13300 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13301 (END_ENV_GROUP): Likewise.
13302 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13303 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13304 (UNKNOWN_ENVIRONMENT): Likewise.
13305 (__sysconf): Include posix-envs.def instead of handling associated
13306 cases directly here.
13307 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13308 preprocessing getconf-speclist.c rather than running getconf or
13309 generating empty file.
13310
a93f9cbc
PT
133112012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13312
13313 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13314
d64d9f87
AL
133152012-11-16 Andrej Lajovic <natrij@gmail.com>
13316
13317 [BZ #14672]
13318 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13319
447885eb
DM
133202012-11-16 David S. Miller <davem@davemloft.net>
13321
13322 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13323 smaller than LDBL_EPSILON/2.0L, just return xm1.
13324
bcbf9830
L
133252012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13326
13327 * elf/tst-array1.c (init): Set constructor priority to 1000.
13328 (fini): Set destructor priority to 1000.
13329 * elf/tst-array2dep.c: Likewise.
13330
2b766585
SP
133312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13332
13333 [BZ #11741]
13334 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13335 (_IO_new_file_xsputn): Also return EOF if none of the input
13336 data was written when overflow failed.
13337 * libio/iopadn.c (_IO_padn): Likewise.
13338 * libio/iowpadn.c (_IO_wpadn): Likewise.
13339 * stdio-common/tst-put-error.c: Add copyright notice.
13340 (do_test): Add case for printing padded string.
13341 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13342 _IO_padn returned error.
13343 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13344 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13345 return EOF.
13346
b1848fde
SP
133472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13348
13349 * libio/libioP.h: Add comment note that the references to C++
13350 bits are now obsolete.
13351
2fd89785
MS
133522012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13353
13354 * math/libm-test.inc (check_complex): Use asprintf.
13355
e3ea5409
JM
133562012-11-14 Joseph Myers <joseph@codesourcery.com>
13357
13358 * debug/pcprofiledump.c (print_version): Update copyright year.
13359 * malloc/memusagestat.c (print_version): Likewise.
13360
2e64d265
L
133612012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13362
13363 [BZ #14831]
13364 * elf/Makefile (tests): Add tst-audit8.
13365 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13366 ($(objpfx)tst-audit8.out): New target.
13367 (tst-audit8-ENV): New variable.
13368 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13369 audit if l_reloc_result is NULL.
13370 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13371 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13372 * elf/tst-audit8.c: New file.
13373
c485e4d2
MS
133742012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13375
13376 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13377 * misc/Makefile (CFLAGS-select.c): Define.
13378 * posix/Makefile (CFLAGS-pause.c): Define.
13379
3a0d900a
DM
133802012-11-13 David S. Miller <davem@davemloft.net>
13381
13382 * crypt/Makefile: Move test targets after toplevel Rules
13383 inclusion. Grab any necessary sysdep routines when linking.
13384 * crypt/md5.c (md5_process_block): Remove define, we will always
13385 name it __md5_process_block.
13386 (md5_finish_ctx): Update md5_process_block call.
13387 (md5_stream): Likewise.
13388 (md5_process_bytes): Likewise.
13389 (md5_process_block): Rename to __md5_process_block and move to ...
13390 * crypt/md5-block.c: ... here.
13391 * crypt/sha256.c (sha256_process_block): Move to ...
13392 * crypt/sha256-block.c: ... here.
13393 * crypt/sha512.c (sha512_process_block): Move to ...
13394 * crypt/sha512-block.c: ... here.
13395 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13396 path.
13397 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13398 * sysdeps/sparc/sparc64/multiarch/Makefile
13399 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13400 crypt subdir.
13401 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13402 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13403 multiarch changes.
13404 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13405 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13406 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13407 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13408 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13409 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13410 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13411 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13412 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13413 file.
13414 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13415 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13416 file.
13417 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13418
8ca89318
JM
134192012-11-13 Joseph Myers <joseph@codesourcery.com>
13420
e27d476a
JM
13421 * timezone/tzselect.ksh: Update from tzcode git revision
13422 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13423 * timezone/zdump.c: Likewise.
13424 * timezone/zic.c: Likewise.
13425 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13426 in TZVERSION setting, not $(PKGVERSION).
13427 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13428 REPORT_BUGS_TO settings.
13429
8ca89318
JM
13430 [BZ #14838]
13431 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13432 macro.
13433
47594329
MS
134342012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13435
13436 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13437 detection to immediately after _FP_ROUND().
13438 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13439 bits are 0.
13440
640ac3f1
DM
134412012-11-11 David S. Miller <davem@davemloft.net>
13442
13443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13444 inttypes.h
13445 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13446 __close rather than their public counterparts.
13447
3d2577bb
JM
134482012-11-10 Joseph Myers <joseph@codesourcery.com>
13449
13450 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13451 file.
13452 [UNIX98] (sem_timedwait): Do not expect.
13453 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13454 [XPG4 || UNIX98] (sockatmark): Do not expect.
13455 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13456 (clock_getcpuclockid): Do not expect.
13457 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13458 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13459 Do not expect.
13460 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13461 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13462 [UNIX98] (vwscanf): Likewise.
13463 [UNIX98] (vswscanf): Likewise.
13464
fb1ae1ee
JM
134652012-11-09 Joseph Myers <joseph@codesourcery.com>
13466
9ec6f8bd
JM
13467 * timezone/version.h: Remove file.
13468 * timezone/README: Do not refer to version.h.
13469 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13470 $(objpfx)version.h.
13471 ($(objpfx)zdump.o): Likewise.
c3f81911 13472 ($(objpfx)version.h): New target.
9ec6f8bd 13473
0aa8f8a1
JM
13474 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13475 2012i.
13476 * timezone/README: Don't mention modification to tzselect.ksh.
13477 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13478 work on unmodified tzselect.ksh. Substitute version numbers in
13479 tzselect.ksh.
13480
4e87147f
JM
13481 * Makefile (format-me): Remove.
13482 (INSTALL): Adjust indentation. Use commands directly instead of
13483 using $(format-me).
13484
8b748aed
JM
13485 * aclocal.m4 (ACX_PKGVERSION): New macro.
13486 (ACX_BUGURL): Likewise.
13487 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13488 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13489 (REPORT_BUGS_TO): Likewise.
13490 * configure: Regenerated.
13491 * config.h.in (PKGVERSION): New macro.
13492 (REPORT_BUGS_TO): Likewise.
13493 * config.make.in (PKGVERSION): New variable.
13494 (PKGVERSION_TEXI): Likewise.
13495 (REPORT_BUGS_TO): Likewise.
13496 (REPORT_BUGS_TEXI): Likewise.
13497 * Makefile (format-me): Use -I$(common-objpfx)manual.
13498 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13499 ($(common-objpfx)manual/%): New target.
13500 (manual/%): Remove target.
13501 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13502 (print_version): Use PKGVERSION.
13503 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13504 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13505 and REPORT_BUGS_TO.
13506 ($(objpfx)xtrace): Likewise.
13507 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13508 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13509 (print_version): Use PKGVERSION.
13510 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13511 (do_version): Use PKGVERSION.
13512 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13513 REPORT_BUGS_TO.
13514 (common-ldd-rewrite): Likewise.
13515 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13516 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13517 (print_version): Use PKGVERSION.
13518 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13519 * elf/pldd.c (argp_program_bug_address): Remove variable.
13520 (more_help): New function.
13521 (argp): Use more_help.
13522 (print_version): Use PKGVERSION.
13523 * elf/sln.c (main): Use PKGVERSION.
13524 (usage): Use REPORT_BUGS_TO.
13525 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13526 (top level): Use PKGVERSION.
13527 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13528 (print_version): Use PKGVERSION.
13529 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13530 (print_version): Use PKGVERSION.
13531 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13532 (print_version): Use PKGVERSION.
13533 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13534 (print_version): Use PKGVERSION.
13535 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13536 (print_version): Use PKGVERSION.
13537 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13538 (print_version): Use PKGVERSION.
13539 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13540 and BUGURL.
13541 ($(objpfx)memusage): Likewise.
13542 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13543 (do_version): Use PKGVERSION.
13544 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13545 (print_version): Use PKGVERSION.
13546 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13547 ($PKGVERSION): New variable.
13548 ($REPORT_BUGS_TO): Likewise.
13549 (usage): Use $REPORT_BUGS_TO.
13550 (top level): Use $PKGVERSION.
13551 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13552 ($(objpfx)pkgvers.texi): New rule.
13553 ($(objpfx)stamp-pkgvers): Likewise.
13554 * manual/install.texi: Include pkgvers.texi.
13555 (--with-pkgversion): Document new configure option.
13556 (--with-bugurl): Likewise.
13557 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13558 than necessarily for this particular distribution. Use
13559 REPORT_BUGS_TO for where to report bugs.
13560 * INSTALL: Regenerated.
13561 * manual/libc.texinfo: Include pkgvers.texi.
13562 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13563 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13564 (print_version): Use PKGVERSION.
13565 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13566 (print_version): Use PKGVERSION.
13567 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13568 (print_version): Use PKGVERSION.
13569 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13570 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13571 macro.
13572 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13573 (print_version): Use PKGVERSION.
13574 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13575 (print_version): Use PKGVERSION.
13576 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13577 and PKGVERSION.
13578
92e4b6a9
JM
13579 * timezone/checktab.awk: Update from tzcode 2012i.
13580 * timezone/ialloc.c: Likewise.
13581 * timezone/private.h: Likewise.
13582 * timezone/scheck.c: Likewise.
13583 * timezone/tzfile.h: Likewise.
13584 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13585 (TZVERSION): Hardcode tzcode version number.
13586 * timezone/zdump.c: Update from tzcode 2012i.
13587 * timezone/zic.c: Likewise.
13588 * timezone/version.h: New file.
13589 * timezone/README: Describe version.h. Update upstream location.
13590
9bde902c
JM
13591 [BZ #14824]
13592 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13593 (mktemp): Enable declaration.
13594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13598 Likewise.
13599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13600 Likewise.
13601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13602 Likewise.
13603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13604 Likewise.
13605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13606 Likewise.
13607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13608 Likewise.
13609
fb1ae1ee
JM
13610 [BZ #14821]
13611 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13612 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13613 for copies of such integer values.
13614 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13615 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13616
2c1adbcb
AJ
136172012-11-09 Andreas Jaeger <aj@suse.de>
13618
13619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13620 definitions and declarations that are provided by
13621 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13622
d0f8457e
AK
136232012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13624
3a235abb 13625 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13626 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13627 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13628 definition.
13629
57241e26
MS
136302012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13631
13632 * elf/elf.h: Update comment before AArch64 relocations.
13633
60e8270d
DM
136342012-11-07 David S. Miller <davem@davemloft.net>
13635
13636 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13637 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13638 (__start_context): Declare.
13639 (__makecontext_ret): Delete.
13640 (__makecontext): Hook up __start_context instead of
13641 __makecontext_ret.
13642 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13643 (sysdep_routines): Add __start_context when in stdlib.
13644
0fbb0fbc
JM
136452012-11-07 Joseph Myers <joseph@codesourcery.com>
13646
13647 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13648 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13649 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13650 hardcoded "nm".
13651 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13652 (READELF): New variable. Use it instead of hardcoded "readelf".
13653
eb48db7e
L
136542012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13655
13656 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13657 * sysdeps/x86/Makefile: Here.
13658 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13659 * sysdeps/x86/tst-xmmymm.sh: This.
13660
05bcf62a
JM
136612012-11-07 Joseph Myers <joseph@codesourcery.com>
13662
c4b6cf53
JM
13663 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13664 expectations.
13665 [UNIX98] (pthread_barrier_t): Do not expect.
13666 [UNIX98] (pthread_barrierattr_t): Likewise.
13667 [UNIX98] (pthread_spinlock_t): Likewise.
13668 [UNIX98] (pthread_barrier_destroy): Likewise.
13669 [UNIX98] (pthread_barrier_init): Likewise.
13670 [UNIX98] (pthread_barrier_wait): Likewise.
13671 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13672 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13673 [UNIX98] (pthread_barrierattr_init): Likewise.
13674 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13675 [UNIX98] (pthread_getcpuclockid): Likewise.
13676 [UNIX98] (pthread_mutex_timedlock): Likewise.
13677 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13678 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13679 [UNIX98] (pthread_sigmask): Likewise.
13680 [UNIX98] (pthread_spin_destroy): Likewise.
13681 [UNIX98] (pthread_spin_init): Likewise.
13682 [UNIX98] (pthread_spin_lock): Likewise.
13683 [UNIX98] (pthread_spin_trylock): Likewise.
13684 [UNIX98] (pthread_spin_unlock): Likewise.
13685 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13686 Do not expect.
13687 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13689 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13690 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13691 [XPG3 || XPG4] (pthread_key_t): Likewise.
13692 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13693 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13694 [XPG3 || XPG4] (pthread_once_t): Likewise.
13695 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13696 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13698 [XPG3 || XPG4] (pthread_t): Likewise.
13699
cbe6e120
JM
13700 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13701 not expect.
13702 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13703
1b126443
JM
13704 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13705 Change function return type to int.
13706
b961a573
JM
13707 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13708 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13709 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13710 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13711 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13712 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13713 [!POSIX] (posix_madvise): Likewise.
13714 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13715 && !UNIX98].
13716 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13717 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13718 (mode_t): Likewise.
13719 (posix_mem_offset): Likewise.
13720 (posix_typed_mem_get_info): Likewise.
13721 (posix_typed_mem_open): Likewise.
13722
9e188909
JM
13723 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13724 Change condition to [XOPEN2K8].
13725
05bcf62a
JM
13726 * conform/conformtest.pl: Preprocess allow-header data with -x c
13727 instead of from stdin.
13728 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13729 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13730 [C99-based standards] (cerfc): Likewise.
13731 [C99-based standards] (cexp2): Likewise.
13732 [C99-based standards] (cexpm1): Likewise.
13733 [C99-based standards] (clog10): Likewise.
13734 [C99-based standards] (clog1p): Likewise.
13735 [C99-based standards] (clog2): Likewise.
13736 [C99-based standards] (clgamma): Likewise.
13737 [C99-based standards] (ctgamma): Likewise.
13738 [C99-based standards] (cerff): Likewise.
13739 [C99-based standards] (cerfcf): Likewise.
13740 [C99-based standards] (cexp2f): Likewise.
13741 [C99-based standards] (cexpm1f): Likewise.
13742 [C99-based standards] (clog10f): Likewise.
13743 [C99-based standards] (clog1pf): Likewise.
13744 [C99-based standards] (clog2f): Likewise.
13745 [C99-based standards] (clgammaf): Likewise.
13746 [C99-based standards] (ctgammaf): Likewise.
13747 [C99-based standards] (cerfl): Likewise.
13748 [C99-based standards] (cerfcl): Likewise.
13749 [C99-based standards] (cexp2l): Likewise.
13750 [C99-based standards] (cexpm1l): Likewise.
13751 [C99-based standards] (clog10l): Likewise.
13752 [C99-based standards] (clog1pl): Likewise.
13753 [C99-based standards] (clog2l): Likewise.
13754 [C99-based standards] (clgammal): Likewise.
13755 [C99-based standards] (ctgammal): Likewise.
13756 * conform/data/inttypes.h-data [C99-based standards]: Include
13757 stdint.h-data. Remove all expectations for stdint.h contents.
13758 [C99-based standards] (PRI*): Do not allow.
13759 [C99-based standards] (SCN*): Likewise.
13760 [C99-based standards] (*_t): Likewise.
13761 [C99-based-standards] (PRId8): Expect macro.
13762 [C99-based-standards] (PRIi8): Likewise.
13763 [C99-based-standards] (PRIo8): Likewise.
13764 [C99-based-standards] (PRIu8): Likewise.
13765 [C99-based-standards] (PRIx8): Likewise.
13766 [C99-based-standards] (PRIX8): Likewise.
13767 [C99-based-standards] (SCNd8): Likewise.
13768 [C99-based-standards] (SCNi8): Likewise.
13769 [C99-based-standards] (SCNo8): Likewise.
13770 [C99-based-standards] (SCNu8): Likewise.
13771 [C99-based-standards] (SCNx8): Likewise.
13772 [C99-based-standards] (PRIdLEAST8): Likewise.
13773 [C99-based-standards] (PRIiLEAST8): Likewise.
13774 [C99-based-standards] (PRIoLEAST8): Likewise.
13775 [C99-based-standards] (PRIuLEAST8): Likewise.
13776 [C99-based-standards] (PRIxLEAST8): Likewise.
13777 [C99-based-standards] (PRIXLEAST8): Likewise.
13778 [C99-based-standards] (SCNdLEAST8): Likewise.
13779 [C99-based-standards] (SCNiLEAST8): Likewise.
13780 [C99-based-standards] (SCNoLEAST8): Likewise.
13781 [C99-based-standards] (SCNuLEAST8): Likewise.
13782 [C99-based-standards] (SCNxLEAST8): Likewise.
13783 [C99-based-standards] (PRIdFAST8): Likewise.
13784 [C99-based-standards] (PRIiFAST8): Likewise.
13785 [C99-based-standards] (PRIoFAST8): Likewise.
13786 [C99-based-standards] (PRIuFAST8): Likewise.
13787 [C99-based-standards] (PRIxFAST8): Likewise.
13788 [C99-based-standards] (PRIXFAST8): Likewise.
13789 [C99-based-standards] (SCNdFAST8): Likewise.
13790 [C99-based-standards] (SCNiFAST8): Likewise.
13791 [C99-based-standards] (SCNoFAST8): Likewise.
13792 [C99-based-standards] (SCNuFAST8): Likewise.
13793 [C99-based-standards] (SCNxFAST8): Likewise.
13794 [C99-based-standards] (PRId16): Likewise.
13795 [C99-based-standards] (PRIi16): Likewise.
13796 [C99-based-standards] (PRIo16): Likewise.
13797 [C99-based-standards] (PRIu16): Likewise.
13798 [C99-based-standards] (PRIx16): Likewise.
13799 [C99-based-standards] (PRIX16): Likewise.
13800 [C99-based-standards] (SCNd16): Likewise.
13801 [C99-based-standards] (SCNi16): Likewise.
13802 [C99-based-standards] (SCNo16): Likewise.
13803 [C99-based-standards] (SCNu16): Likewise.
13804 [C99-based-standards] (SCNx16): Likewise.
13805 [C99-based-standards] (PRIdLEAST16): Likewise.
13806 [C99-based-standards] (PRIiLEAST16): Likewise.
13807 [C99-based-standards] (PRIoLEAST16): Likewise.
13808 [C99-based-standards] (PRIuLEAST16): Likewise.
13809 [C99-based-standards] (PRIxLEAST16): Likewise.
13810 [C99-based-standards] (PRIXLEAST16): Likewise.
13811 [C99-based-standards] (SCNdLEAST16): Likewise.
13812 [C99-based-standards] (SCNiLEAST16): Likewise.
13813 [C99-based-standards] (SCNoLEAST16): Likewise.
13814 [C99-based-standards] (SCNuLEAST16): Likewise.
13815 [C99-based-standards] (SCNxLEAST16): Likewise.
13816 [C99-based-standards] (PRIdFAST16): Likewise.
13817 [C99-based-standards] (PRIiFAST16): Likewise.
13818 [C99-based-standards] (PRIoFAST16): Likewise.
13819 [C99-based-standards] (PRIuFAST16): Likewise.
13820 [C99-based-standards] (PRIxFAST16): Likewise.
13821 [C99-based-standards] (PRIXFAST16): Likewise.
13822 [C99-based-standards] (SCNdFAST16): Likewise.
13823 [C99-based-standards] (SCNiFAST16): Likewise.
13824 [C99-based-standards] (SCNoFAST16): Likewise.
13825 [C99-based-standards] (SCNuFAST16): Likewise.
13826 [C99-based-standards] (SCNxFAST16): Likewise.
13827 [C99-based-standards] (PRId32): Likewise.
13828 [C99-based-standards] (PRIi32): Likewise.
13829 [C99-based-standards] (PRIo32): Likewise.
13830 [C99-based-standards] (PRIu32): Likewise.
13831 [C99-based-standards] (PRIx32): Likewise.
13832 [C99-based-standards] (PRIX32): Likewise.
13833 [C99-based-standards] (SCNd32): Likewise.
13834 [C99-based-standards] (SCNi32): Likewise.
13835 [C99-based-standards] (SCNo32): Likewise.
13836 [C99-based-standards] (SCNu32): Likewise.
13837 [C99-based-standards] (SCNx32): Likewise.
13838 [C99-based-standards] (PRIdLEAST32): Likewise.
13839 [C99-based-standards] (PRIiLEAST32): Likewise.
13840 [C99-based-standards] (PRIoLEAST32): Likewise.
13841 [C99-based-standards] (PRIuLEAST32): Likewise.
13842 [C99-based-standards] (PRIxLEAST32): Likewise.
13843 [C99-based-standards] (PRIXLEAST32): Likewise.
13844 [C99-based-standards] (SCNdLEAST32): Likewise.
13845 [C99-based-standards] (SCNiLEAST32): Likewise.
13846 [C99-based-standards] (SCNoLEAST32): Likewise.
13847 [C99-based-standards] (SCNuLEAST32): Likewise.
13848 [C99-based-standards] (SCNxLEAST32): Likewise.
13849 [C99-based-standards] (PRIdFAST32): Likewise.
13850 [C99-based-standards] (PRIiFAST32): Likewise.
13851 [C99-based-standards] (PRIoFAST32): Likewise.
13852 [C99-based-standards] (PRIuFAST32): Likewise.
13853 [C99-based-standards] (PRIxFAST32): Likewise.
13854 [C99-based-standards] (PRIXFAST32): Likewise.
13855 [C99-based-standards] (SCNdFAST32): Likewise.
13856 [C99-based-standards] (SCNiFAST32): Likewise.
13857 [C99-based-standards] (SCNoFAST32): Likewise.
13858 [C99-based-standards] (SCNuFAST32): Likewise.
13859 [C99-based-standards] (SCNxFAST32): Likewise.
13860 [C99-based-standards] (PRId64): Likewise.
13861 [C99-based-standards] (PRIi64): Likewise.
13862 [C99-based-standards] (PRIo64): Likewise.
13863 [C99-based-standards] (PRIu64): Likewise.
13864 [C99-based-standards] (PRIx64): Likewise.
13865 [C99-based-standards] (PRIX64): Likewise.
13866 [C99-based-standards] (SCNd64): Likewise.
13867 [C99-based-standards] (SCNi64): Likewise.
13868 [C99-based-standards] (SCNo64): Likewise.
13869 [C99-based-standards] (SCNu64): Likewise.
13870 [C99-based-standards] (SCNx64): Likewise.
13871 [C99-based-standards] (PRIdLEAST64): Likewise.
13872 [C99-based-standards] (PRIiLEAST64): Likewise.
13873 [C99-based-standards] (PRIoLEAST64): Likewise.
13874 [C99-based-standards] (PRIuLEAST64): Likewise.
13875 [C99-based-standards] (PRIxLEAST64): Likewise.
13876 [C99-based-standards] (PRIXLEAST64): Likewise.
13877 [C99-based-standards] (SCNdLEAST64): Likewise.
13878 [C99-based-standards] (SCNiLEAST64): Likewise.
13879 [C99-based-standards] (SCNoLEAST64): Likewise.
13880 [C99-based-standards] (SCNuLEAST64): Likewise.
13881 [C99-based-standards] (SCNxLEAST64): Likewise.
13882 [C99-based-standards] (PRIdFAST64): Likewise.
13883 [C99-based-standards] (PRIiFAST64): Likewise.
13884 [C99-based-standards] (PRIoFAST64): Likewise.
13885 [C99-based-standards] (PRIuFAST64): Likewise.
13886 [C99-based-standards] (PRIxFAST64): Likewise.
13887 [C99-based-standards] (PRIXFAST64): Likewise.
13888 [C99-based-standards] (SCNdFAST64): Likewise.
13889 [C99-based-standards] (SCNiFAST64): Likewise.
13890 [C99-based-standards] (SCNoFAST64): Likewise.
13891 [C99-based-standards] (SCNuFAST64): Likewise.
13892 [C99-based-standards] (SCNxFAST64): Likewise.
13893 [C99-based-standards] (PRIdMAX): Likewise.
13894 [C99-based-standards] (PRIiMAX): Likewise.
13895 [C99-based-standards] (PRIoMAX): Likewise.
13896 [C99-based-standards] (PRIuMAX): Likewise.
13897 [C99-based-standards] (PRIxMAX): Likewise.
13898 [C99-based-standards] (PRIXMAX): Likewise.
13899 [C99-based-standards] (SCNdMAX): Likewise.
13900 [C99-based-standards] (SCNiMAX): Likewise.
13901 [C99-based-standards] (SCNoMAX): Likewise.
13902 [C99-based-standards] (SCNuMAX): Likewise.
13903 [C99-based-standards] (SCNxMAX): Likewise.
13904 [C99-based-standards] (PRIdPTR): Likewise.
13905 [C99-based-standards] (PRIiPTR): Likewise.
13906 [C99-based-standards] (PRIoPTR): Likewise.
13907 [C99-based-standards] (PRIuPTR): Likewise.
13908 [C99-based-standards] (PRIxPTR): Likewise.
13909 [C99-based-standards] (PRIXPTR): Likewise.
13910 [C99-based-standards] (SCNdPTR): Likewise.
13911 [C99-based-standards] (SCNiPTR): Likewise.
13912 [C99-based-standards] (SCNoPTR): Likewise.
13913 [C99-based-standards] (SCNuPTR): Likewise.
13914 [C99-based-standards] (SCNxPTR): Likewise.
13915 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13916 allow.
13917 * conform/data/stdint.h-data: Update comments to clarify
13918 requirements.
13919 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13920 type.
13921 [C99-based standards] (INT8_MAX): Likewise.
13922 [C99-based standards] (INT16_MIN): Likewise.
13923 [C99-based standards] (INT16_MAX): Likewise.
13924 [C99-based standards] (INT32_MIN): Likewise.
13925 [C99-based standards] (INT32_MAX): Likewise.
13926 [C99-based standards] (INT64_MIN): Likewise.
13927 [C99-based standards] (INT64_MAX): Likewise.
13928 [C99-based standards] (UINT8_MAX): Likewise.
13929 [C99-based standards] (UINT16_MAX): Likewise.
13930 [C99-based standards] (UINT32_MAX): Likewise.
13931 [C99-based standards] (UINT64_MAX): Likewise.
13932 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13933 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13934 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13935 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13936 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13937 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13938 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13939 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13940 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13941 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13942 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13943 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13944 [C99-based standards] (INT_FAST8_MIN): Likewise.
13945 [C99-based standards] (INT_FAST8_MAX): Likewise.
13946 [C99-based standards] (INT_FAST16_MIN): Likewise.
13947 [C99-based standards] (INT_FAST16_MAX): Likewise.
13948 [C99-based standards] (INT_FAST32_MIN): Likewise.
13949 [C99-based standards] (INT_FAST32_MAX): Likewise.
13950 [C99-based standards] (INT_FAST64_MIN): Likewise.
13951 [C99-based standards] (INT_FAST64_MAX): Likewise.
13952 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13953 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13954 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13955 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13956 [C99-based standards] (INTPTR_MIN): Likewise.
13957 [C99-based standards] (INTPTR_MAX): Likewise.
13958 [C99-based standards] (UINTPTR_MAX): Likewise.
13959 [C99-based standards] (INTMAX_MIN): Likewise.
13960 [C99-based standards] (INTMAX_MAX): Likewise.
13961 [C99-based standards] (UINTMAX_MAX): Likewise.
13962 [C99-based standards] (PTRDIFF_MIN): Likewise.
13963 [C99-based standards] (PTRDIFF_MAX): Likewise.
13964 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13965 [C99-based standards] (SIZE_MAX): Likewise.
13966 [C99-based standards] (WCHAR_MAX): Likewise.
13967 [C99-based standards] (WINT_MAX): Likewise.
13968 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13969 constraint on value.
13970 [C99-based standards] (WCHAR_MIN): Likewise.
13971 [C99-based standards] (WINT_MIN): Likewise.
13972 [C99-based standards] (*_t): Allow.
13973 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13974 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13975 Include math.h-data and complex.h-data. Remove all expectations
13976 of math.h and complex.h contents.
13977 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13978 at end of line.
13979 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13980 (struct tm): Expect tag.
13981 [C99-based-standards] (wcstof): Expect function.
13982 [C99-based-standards] (wcstold): Likewise.
13983 [C99-based-standards] (wcstoll): Likewise.
13984 [C99-based-standards] (wcstoull): Likewise.
13985 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13986 macro-int-constant. Specify type.
13987 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13988 constraint on value.
13989 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13990 Specify type.
13991 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13992 Specify value.
13993 [ISO C standards]: Do not allow headers.
13994 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13995 wcs[abcdefghijklmnopqrstuvwxyz]*.
13996 [ISO C standards] (*_t): Do not allow.
13997 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13998 Expect function.
13999 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14000 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14001 Specify type.
14002 [ISO C standards]: Do not allow headers.
14003 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14004 is[abcdefghijklmnopqrstuvwxyz]*.
14005 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14006 to[abcdefghijklmnopqrstuvwxyz]*.
14007 [ISO C standards] (*_t): Do not allow.
14008 * conform/data/stdalign.h-data: New file.
14009 * conform/data/stdbool.h-data: Likewise.
14010 * conform/data/stdnoreturn.h-data: Likewise.
14011
7514feb8
RM
140122012-11-07 Roland McGrath <roland@hack.frob.com>
14013
14014 [BZ #14815]
14015 * manual/filesys.texi (Directory Entries): Typo fix.
14016 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14017
19b2ecfc
MS
140182012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14019
14020 * elf/elf.h (EM_AARCH64): New macro.
14021 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14022 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14023 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14024 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14025 (R_AARCH64_TLSDESC): Likewise.
14026 (NT_ARM_TLS): Likewise.
14027 (NT_ARM_HW_BREAK): Likewise.
14028 (NT_ARM_HW_WATCH): Likewise.
14029
60e235ee
JM
140302012-11-07 Joseph Myers <joseph@codesourcery.com>
14031
14032 [BZ #14811]
14033 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14034 (__ieee754_powl): Saturate nonzero exponents with absolute value
14035 below 0x1p-79 to +/- 0x1p-79.
14036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14037 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14038 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14039 nonzero exponents with absolute value below 0x1p-32 to +/-
14040 0x1p-32.
14041 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14042 (__ieee754_powl): Saturate nonzero exponents with absolute value
14043 below 0x1p-79 to +/- 0x1p-79.
14044 * math/libm-test.inc (pow_test): Add more tests.
14045
0ab234b7
AK
140462012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14047
14048 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14049 _dl_s390_cap_flags with kernel. Increase string length.
14050 (_dl_s390_platforms): Add z196 and zEC12.
14051
45832f74
JM
140522012-11-07 Joseph Myers <joseph@codesourcery.com>
14053
14054 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14055 Change XOPEN21K to XOPEN2K.
14056
19218757
MK
140572012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14058
14059 * string/memmove.c: Use memcpy when possible.
14060
c5f45721
AJ
140612012-11-06 Andreas Jaeger <aj@suse.de>
14062
14063 * po/eo.po: Update from translation team.
14064
82477c28
JM
140652012-11-06 Joseph Myers <joseph@codesourcery.com>
14066
14067 [BZ #14793]
14068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14069 exponent and small x and y exponents, scale x or y up. Increase
14070 by 2 the exponent used in scaling up.
14071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14072 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14073 * math/libm-test.inc (fma_test): Add more tests.
14074 (fma_test_towardzero): Likewise.
14075 (fma_test_downward): Likewise.
14076 (fma_test_upward): Likewise.
14077
99252c8c
JM
140782012-11-05 Joseph Myers <joseph@codesourcery.com>
14079
acfa885f
JM
14080 [BZ #14805]
14081 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14082 fenv_t *.
14083
99252c8c
JM
14084 [BZ #14801]
14085 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14086 namespace for names of struct fields.
14087 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14088 fenv_t fields.
14089 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14090 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14091
d6d98dea
ST
140922012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14093
14094 [BZ #3665]
14095 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14096
e10bb107
TS
140972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14098
14099 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14100 PTR_DEMANGLE.
14101
14102 [BZ #5246]
14103 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14104 PTR_DEMANGLE.
14105
a0c2940d
JM
141062012-11-04 Joseph Myers <joseph@codesourcery.com>
14107
14108 [BZ #14797]
14109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14110 definitely overflow as x * y not x * y + z.
14111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14113 * math/libm-test.inc (fma_test): Add more tests.
14114 (fma_test_towardzero): Likewise.
14115 (fma_test_downward): Likewise.
14116 (fma_test_upward): Likewise.
14117
b830319d
TS
141182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14119
14120 [BZ #157]
14121
14122 * include/stub-tag.h: Remove file.
14123 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14124 '#include' of it.
14125 * manual/maint.texi (Porting): Don't reference it.
14126 * Makerules ($(objpfx)stubs): Likewise.
14127 * dirent/closedir.c: Don't include <stub-tag.h>.
14128 * dirent/dirfd.c: Likewise.
14129 * dirent/fdopendir.c: Likewise.
14130 * dirent/getdents.c: Likewise.
14131 * dirent/getdents64.c: Likewise.
14132 * dirent/opendir.c: Likewise.
14133 * dirent/readdir.c: Likewise.
14134 * dirent/readdir64.c: Likewise.
14135 * dirent/readdir64_r.c: Likewise.
14136 * dirent/readdir_r.c: Likewise.
14137 * dirent/rewinddir.c: Likewise.
14138 * dirent/seekdir.c: Likewise.
14139 * dirent/telldir.c: Likewise.
14140 * gmon/profil.c: Likewise.
14141 * grp/setgroups.c: Likewise.
14142 * inet/if_index.c: Likewise.
14143 * io/access.c: Likewise.
14144 * io/chdir.c: Likewise.
14145 * io/chmod.c: Likewise.
14146 * io/chown.c: Likewise.
14147 * io/close.c: Likewise.
14148 * io/dup.c: Likewise.
14149 * io/dup2.c: Likewise.
14150 * io/dup3.c: Likewise.
14151 * io/euidaccess.c: Likewise.
14152 * io/faccessat.c: Likewise.
14153 * io/fchdir.c: Likewise.
14154 * io/fchmod.c: Likewise.
14155 * io/fchmodat.c: Likewise.
14156 * io/fchown.c: Likewise.
14157 * io/fchownat.c: Likewise.
14158 * io/fcntl.c: Likewise.
14159 * io/flock.c: Likewise.
14160 * io/fstatfs.c: Likewise.
14161 * io/fstatfs64.c: Likewise.
14162 * io/fstatvfs.c: Likewise.
14163 * io/fstatvfs64.c: Likewise.
14164 * io/futimens.c: Likewise.
14165 * io/fxstat.c: Likewise.
14166 * io/fxstat64.c: Likewise.
14167 * io/fxstatat.c: Likewise.
14168 * io/fxstatat64.c: Likewise.
14169 * io/getcwd.c: Likewise.
14170 * io/isatty.c: Likewise.
14171 * io/lchmod.c: Likewise.
14172 * io/lchown.c: Likewise.
14173 * io/link.c: Likewise.
14174 * io/linkat.c: Likewise.
14175 * io/lseek.c: Likewise.
14176 * io/lseek64.c: Likewise.
14177 * io/lxstat64.c: Likewise.
14178 * io/mkdir.c: Likewise.
14179 * io/mkdirat.c: Likewise.
14180 * io/mkfifo.c: Likewise.
14181 * io/mkfifoat.c: Likewise.
14182 * io/open.c: Likewise.
14183 * io/open64.c: Likewise.
14184 * io/openat.c: Likewise.
14185 * io/openat64.c: Likewise.
14186 * io/pipe.c: Likewise.
14187 * io/pipe2.c: Likewise.
14188 * io/poll.c: Likewise.
14189 * io/posix_fadvise.c: Likewise.
14190 * io/posix_fadvise64.c: Likewise.
14191 * io/posix_fallocate.c: Likewise.
14192 * io/posix_fallocate64.c: Likewise.
14193 * io/read.c: Likewise.
14194 * io/readlink.c: Likewise.
14195 * io/readlinkat.c: Likewise.
14196 * io/rmdir.c: Likewise.
14197 * io/sendfile.c: Likewise.
14198 * io/sendfile64.c: Likewise.
14199 * io/statfs.c: Likewise.
14200 * io/statfs64.c: Likewise.
14201 * io/statvfs.c: Likewise.
14202 * io/statvfs64.c: Likewise.
14203 * io/symlink.c: Likewise.
14204 * io/symlinkat.c: Likewise.
14205 * io/ttyname.c: Likewise.
14206 * io/ttyname_r.c: Likewise.
14207 * io/umask.c: Likewise.
14208 * io/unlink.c: Likewise.
14209 * io/unlinkat.c: Likewise.
14210 * io/utime.c: Likewise.
14211 * io/utimensat.c: Likewise.
14212 * io/write.c: Likewise.
14213 * io/xmknod.c: Likewise.
14214 * io/xmknodat.c: Likewise.
14215 * io/xstat.c: Likewise.
14216 * io/xstat64.c: Likewise.
14217 * login/getpt.c: Likewise.
14218 * login/grantpt.c: Likewise.
14219 * login/unlockpt.c: Likewise.
14220 * math/e_acoshl.c: Likewise.
14221 * math/e_acosl.c: Likewise.
14222 * math/e_asinl.c: Likewise.
14223 * math/e_atan2l.c: Likewise.
14224 * math/e_atanhl.c: Likewise.
14225 * math/e_coshl.c: Likewise.
14226 * math/e_expl.c: Likewise.
14227 * math/e_fmodl.c: Likewise.
14228 * math/e_gammal_r.c: Likewise.
14229 * math/e_hypotl.c: Likewise.
14230 * math/e_j0l.c: Likewise.
14231 * math/e_j1l.c: Likewise.
14232 * math/e_jnl.c: Likewise.
14233 * math/e_lgammal_r.c: Likewise.
14234 * math/e_log10l.c: Likewise.
14235 * math/e_log2l.c: Likewise.
14236 * math/e_logl.c: Likewise.
14237 * math/e_powl.c: Likewise.
14238 * math/e_rem_pio2l.c: Likewise.
14239 * math/e_sinhl.c: Likewise.
14240 * math/e_sqrtl.c: Likewise.
14241 * math/fclrexcpt.c: Likewise.
14242 * math/fedisblxcpt.c: Likewise.
14243 * math/feenablxcpt.c: Likewise.
14244 * math/fegetenv.c: Likewise.
14245 * math/fegetexcept.c: Likewise.
14246 * math/fegetround.c: Likewise.
14247 * math/feholdexcpt.c: Likewise.
14248 * math/fesetenv.c: Likewise.
14249 * math/fesetround.c: Likewise.
14250 * math/feupdateenv.c: Likewise.
14251 * math/fgetexcptflg.c: Likewise.
14252 * math/fraiseexcpt.c: Likewise.
14253 * math/fsetexcptflg.c: Likewise.
14254 * math/ftestexcept.c: Likewise.
14255 * math/k_cosl.c: Likewise.
14256 * math/k_rem_pio2l.c: Likewise.
14257 * math/k_sinl.c: Likewise.
14258 * math/k_tanl.c: Likewise.
14259 * math/s_asinhl.c: Likewise.
14260 * math/s_atanl.c: Likewise.
14261 * math/s_cbrtl.c: Likewise.
14262 * math/s_erfl.c: Likewise.
14263 * math/s_expm1l.c: Likewise.
14264 * math/s_log1pl.c: Likewise.
14265 * math/s_tanhl.c: Likewise.
14266 * misc/acct.c: Likewise.
14267 * misc/brk.c: Likewise.
14268 * misc/chflags.c: Likewise.
14269 * misc/chroot.c: Likewise.
14270 * misc/fchflags.c: Likewise.
14271 * misc/fgetxattr.c: Likewise.
14272 * misc/flistxattr.c: Likewise.
14273 * misc/fremovexattr.c: Likewise.
14274 * misc/fsetxattr.c: Likewise.
14275 * misc/fsync.c: Likewise.
14276 * misc/ftruncate.c: Likewise.
14277 * misc/futimes.c: Likewise.
14278 * misc/futimesat.c: Likewise.
14279 * misc/getdomain.c: Likewise.
14280 * misc/getdtsz.c: Likewise.
14281 * misc/gethostid.c: Likewise.
14282 * misc/gethostname.c: Likewise.
14283 * misc/getloadavg.c: Likewise.
14284 * misc/getpagesize.c: Likewise.
14285 * misc/getsysstats.c: Likewise.
14286 * misc/getxattr.c: Likewise.
14287 * misc/gtty.c: Likewise.
14288 * misc/ioctl.c: Likewise.
14289 * misc/lgetxattr.c: Likewise.
14290 * misc/listxattr.c: Likewise.
14291 * misc/llistxattr.c: Likewise.
14292 * misc/lremovexattr.c: Likewise.
14293 * misc/lsetxattr.c: Likewise.
14294 * misc/lutimes.c: Likewise.
14295 * misc/madvise.c: Likewise.
14296 * misc/mincore.c: Likewise.
14297 * misc/mlock.c: Likewise.
14298 * misc/mlockall.c: Likewise.
14299 * misc/mmap.c: Likewise.
14300 * misc/mprotect.c: Likewise.
14301 * misc/msync.c: Likewise.
14302 * misc/munlock.c: Likewise.
14303 * misc/munlockall.c: Likewise.
14304 * misc/munmap.c: Likewise.
14305 * misc/preadv.c: Likewise.
14306 * misc/preadv64.c: Likewise.
14307 * misc/ptrace.c: Likewise.
14308 * misc/pwritev.c: Likewise.
14309 * misc/pwritev64.c: Likewise.
14310 * misc/readv.c: Likewise.
14311 * misc/reboot.c: Likewise.
14312 * misc/remap_file_pages.c: Likewise.
14313 * misc/removexattr.c: Likewise.
14314 * misc/revoke.c: Likewise.
14315 * misc/select.c: Likewise.
14316 * misc/setdomain.c: Likewise.
14317 * misc/setegid.c: Likewise.
14318 * misc/seteuid.c: Likewise.
14319 * misc/sethostid.c: Likewise.
14320 * misc/sethostname.c: Likewise.
14321 * misc/setregid.c: Likewise.
14322 * misc/setreuid.c: Likewise.
14323 * misc/setxattr.c: Likewise.
14324 * misc/sstk.c: Likewise.
14325 * misc/stty.c: Likewise.
14326 * misc/swapoff.c: Likewise.
14327 * misc/swapon.c: Likewise.
14328 * misc/sync.c: Likewise.
14329 * misc/syncfs.c: Likewise.
14330 * misc/syscall.c: Likewise.
14331 * misc/truncate.c: Likewise.
14332 * misc/ualarm.c: Likewise.
14333 * misc/usleep.c: Likewise.
14334 * misc/ustat.c: Likewise.
14335 * misc/utimes.c: Likewise.
14336 * misc/vhangup.c: Likewise.
14337 * misc/writev.c: Likewise.
14338 * posix/_exit.c: Likewise.
14339 * posix/alarm.c: Likewise.
14340 * posix/execve.c: Likewise.
14341 * posix/fexecve.c: Likewise.
14342 * posix/fork.c: Likewise.
14343 * posix/fpathconf.c: Likewise.
14344 * posix/getaddrinfo.c: Likewise.
14345 * posix/getegid.c: Likewise.
14346 * posix/geteuid.c: Likewise.
14347 * posix/getgid.c: Likewise.
14348 * posix/getgroups.c: Likewise.
14349 * posix/getlogin.c: Likewise.
14350 * posix/getlogin_r.c: Likewise.
14351 * posix/getpgid.c: Likewise.
14352 * posix/getpid.c: Likewise.
14353 * posix/getppid.c: Likewise.
14354 * posix/getresgid.c: Likewise.
14355 * posix/getresuid.c: Likewise.
14356 * posix/getsid.c: Likewise.
14357 * posix/getuid.c: Likewise.
14358 * posix/glob64.c: Likewise.
14359 * posix/nanosleep.c: Likewise.
14360 * posix/pathconf.c: Likewise.
14361 * posix/pause.c: Likewise.
14362 * posix/posix_madvise.c: Likewise.
14363 * posix/pread.c: Likewise.
14364 * posix/pread64.c: Likewise.
14365 * posix/pwrite.c: Likewise.
14366 * posix/pwrite64.c: Likewise.
14367 * posix/sched_getaffinity.c: Likewise.
14368 * posix/sched_getp.c: Likewise.
14369 * posix/sched_gets.c: Likewise.
14370 * posix/sched_primax.c: Likewise.
14371 * posix/sched_primin.c: Likewise.
14372 * posix/sched_rr_gi.c: Likewise.
14373 * posix/sched_setaffinity.c: Likewise.
14374 * posix/sched_setp.c: Likewise.
14375 * posix/sched_sets.c: Likewise.
14376 * posix/sched_yield.c: Likewise.
14377 * posix/setgid.c: Likewise.
14378 * posix/setlogin.c: Likewise.
14379 * posix/setpgid.c: Likewise.
14380 * posix/setresgid.c: Likewise.
14381 * posix/setresuid.c: Likewise.
14382 * posix/setsid.c: Likewise.
14383 * posix/setuid.c: Likewise.
14384 * posix/sleep.c: Likewise.
14385 * posix/spawni.c: Likewise.
14386 * posix/sysconf.c: Likewise.
14387 * posix/times.c: Likewise.
14388 * posix/wait.c: Likewise.
14389 * posix/wait3.c: Likewise.
14390 * posix/wait4.c: Likewise.
14391 * posix/waitpid.c: Likewise.
14392 * resolv/gai_sigqueue.c: Likewise.
14393 * resource/getpriority.c: Likewise.
14394 * resource/getrlimit.c: Likewise.
14395 * resource/getrusage.c: Likewise.
14396 * resource/nice.c: Likewise.
14397 * resource/setpriority.c: Likewise.
14398 * resource/setrlimit.c: Likewise.
14399 * resource/ulimit.c: Likewise.
14400 * rt/aio_cancel.c: Likewise.
14401 * rt/aio_fsync.c: Likewise.
14402 * rt/aio_read.c: Likewise.
14403 * rt/aio_sigqueue.c: Likewise.
14404 * rt/aio_suspend.c: Likewise.
14405 * rt/aio_write.c: Likewise.
14406 * rt/clock_getres.c: Likewise.
14407 * rt/clock_gettime.c: Likewise.
14408 * rt/clock_nanosleep.c: Likewise.
14409 * rt/clock_settime.c: Likewise.
14410 * rt/lio_listio.c: Likewise.
14411 * rt/mq_close.c: Likewise.
14412 * rt/mq_getattr.c: Likewise.
14413 * rt/mq_notify.c: Likewise.
14414 * rt/mq_open.c: Likewise.
14415 * rt/mq_receive.c: Likewise.
14416 * rt/mq_send.c: Likewise.
14417 * rt/mq_setattr.c: Likewise.
14418 * rt/mq_timedreceive.c: Likewise.
14419 * rt/mq_timedsend.c: Likewise.
14420 * rt/mq_unlink.c: Likewise.
14421 * rt/shm_open.c: Likewise.
14422 * rt/shm_unlink.c: Likewise.
14423 * rt/timer_create.c: Likewise.
14424 * rt/timer_delete.c: Likewise.
14425 * rt/timer_getoverr.c: Likewise.
14426 * rt/timer_gettime.c: Likewise.
14427 * rt/timer_settime.c: Likewise.
14428 * setjmp/__longjmp.c: Likewise.
14429 * setjmp/setjmp.c: Likewise.
14430 * signal/kill.c: Likewise.
14431 * signal/killpg.c: Likewise.
14432 * signal/raise.c: Likewise.
14433 * signal/sigaction.c: Likewise.
14434 * signal/sigaltstack.c: Likewise.
14435 * signal/sigblock.c: Likewise.
14436 * signal/sigignore.c: Likewise.
14437 * signal/sigintr.c: Likewise.
14438 * signal/signal.c: Likewise.
14439 * signal/sigpause.c: Likewise.
14440 * signal/sigpending.c: Likewise.
14441 * signal/sigqueue.c: Likewise.
14442 * signal/sigreturn.c: Likewise.
14443 * signal/sigset.c: Likewise.
14444 * signal/sigsetmask.c: Likewise.
14445 * signal/sigstack.c: Likewise.
14446 * signal/sigsuspend.c: Likewise.
14447 * signal/sigtimedwait.c: Likewise.
14448 * signal/sigvec.c: Likewise.
14449 * signal/sigwait.c: Likewise.
14450 * signal/sigwaitinfo.c: Likewise.
14451 * signal/sysv_signal.c: Likewise.
14452 * socket/accept.c: Likewise.
14453 * socket/accept4.c: Likewise.
14454 * socket/bind.c: Likewise.
14455 * socket/connect.c: Likewise.
14456 * socket/getpeername.c: Likewise.
14457 * socket/getsockname.c: Likewise.
14458 * socket/getsockopt.c: Likewise.
14459 * socket/isfdtype.c: Likewise.
14460 * socket/listen.c: Likewise.
14461 * socket/recv.c: Likewise.
14462 * socket/recvfrom.c: Likewise.
14463 * socket/recvmsg.c: Likewise.
14464 * socket/send.c: Likewise.
14465 * socket/sendmsg.c: Likewise.
14466 * socket/sendto.c: Likewise.
14467 * socket/setsockopt.c: Likewise.
14468 * socket/shutdown.c: Likewise.
14469 * socket/sockatmark.c: Likewise.
14470 * socket/socket.c: Likewise.
14471 * socket/socketpair.c: Likewise.
14472 * stdio-common/ctermid.c: Likewise.
14473 * stdio-common/cuserid.c: Likewise.
14474 * stdio-common/remove.c: Likewise.
14475 * stdio-common/rename.c: Likewise.
14476 * stdio-common/renameat.c: Likewise.
14477 * stdio-common/tempname.c: Likewise.
14478 * stdlib/getcontext.c: Likewise.
14479 * stdlib/makecontext.c: Likewise.
14480 * stdlib/setcontext.c: Likewise.
14481 * stdlib/swapcontext.c: Likewise.
14482 * stdlib/system.c: Likewise.
14483 * streams/fattach.c: Likewise.
14484 * streams/fdetach.c: Likewise.
14485 * streams/getmsg.c: Likewise.
14486 * streams/getpmsg.c: Likewise.
14487 * streams/putmsg.c: Likewise.
14488 * streams/putpmsg.c: Likewise.
14489 * sysdeps/unix/bsd/getpt.c: Likewise.
14490 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14491 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14492 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14494 Likewise.
14495 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14496 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14497 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14498 * sysvipc/msgctl.c: Likewise.
14499 * sysvipc/msgget.c: Likewise.
14500 * sysvipc/msgrcv.c: Likewise.
14501 * sysvipc/msgsnd.c: Likewise.
14502 * sysvipc/semctl.c: Likewise.
14503 * sysvipc/semget.c: Likewise.
14504 * sysvipc/semop.c: Likewise.
14505 * sysvipc/semtimedop.c: Likewise.
14506 * sysvipc/shmat.c: Likewise.
14507 * sysvipc/shmctl.c: Likewise.
14508 * sysvipc/shmdt.c: Likewise.
14509 * sysvipc/shmget.c: Likewise.
14510 * termios/tcdrain.c: Likewise.
14511 * termios/tcflow.c: Likewise.
14512 * termios/tcflush.c: Likewise.
14513 * termios/tcgetattr.c: Likewise.
14514 * termios/tcgetpgrp.c: Likewise.
14515 * termios/tcsendbrk.c: Likewise.
14516 * termios/tcsetattr.c: Likewise.
14517 * termios/tcsetpgrp.c: Likewise.
14518 * time/adjtime.c: Likewise.
14519 * time/clock.c: Likewise.
14520 * time/getitimer.c: Likewise.
14521 * time/gettimeofday.c: Likewise.
14522 * time/setitimer.c: Likewise.
14523 * time/settimeofday.c: Likewise.
14524 * time/stime.c: Likewise.
14525 * time/time.c: Likewise.
14526
145272012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14528
a20492cf
PT
14529 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14530 /usr/old/bin.
14531
72e182e3
PT
14532 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14533 instead of spaces.
14534 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14535
fbeafede
JM
145362012-11-03 Joseph Myers <joseph@codesourcery.com>
14537
5b5b04d6
JM
14538 [BZ #14796]
14539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14540 FE_TONEAREST before applying Dekker multiplication and Knuth
14541 addition. Clear inexact exceptions and check for exact zero
14542 results afterwards.
14543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14544 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14546 * math/libm-test.inc (fma_test): Add more tests.
14547 (fma_test_towardzero): Likewise.
14548 (fma_test_downward): Likewise.
14549 (fma_test_upward): Likewise.
14550 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14551 function.
14552 (libc_fesetround): New macro.
14553 (libc_fesetroundf): Likewise.
14554 (libc_fesetroundl): Likewise.
14555 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14556 function.
14557 (libc_fesetround_387): Likewise.
14558 (libc_fesetroundf): New macro.
14559 (libc_fesetround): Likewise.
14560 (libc_fesetroundl): Likewise.
14561 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14562 function.
14563 (libc_fesetroundf): New macro.
14564 (libc_fesetround): Likewise.
14565 (libc_fesetroundl): Likewise.
14566 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14567 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14568 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14569 libm_hidden_ver.
14570 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14571 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14572 libm_hidden_def.
14573 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14574 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14575 libm_hidden_ver.
14576 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14577 libm_hidden_def.
14578
fbeafede
JM
14579 [BZ #3439]
14580 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14581 integer constant usable in #if and use that to give value to enum
14582 constant.
14583 (FE_DIVBYZERO): Likewise.
14584 (FE_UNDERFLOW): Likewise.
14585 (FE_OVERFLOW): Likewise.
14586 (FE_INVALID): Likewise.
14587 (FE_INVALID_SNAN): Likewise.
14588 (FE_INVALID_ISI): Likewise.
14589 (FE_INVALID_IDI): Likewise.
14590 (FE_INVALID_ZDZ): Likewise.
14591 (FE_INVALID_IMZ): Likewise.
14592 (FE_INVALID_COMPARE): Likewise.
14593 (FE_INVALID_SOFTWARE): Likewise.
14594 (FE_INVALID_SQRT): Likewise.
14595 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14596 (FE_TONEAREST): Likewise.
14597 (FE_TOWARDZERO): Likewise.
14598 (FE_UPWARD): Likewise.
14599 (FE_DOWNWARD): Likewise.
14600 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14601 (FE_DIVBYZERO): Likewise.
14602 (FE_OVERFLOW): Likewise.
14603 (FE_UNDERFLOW): Likewise.
14604 (FE_INEXACT): Likewise.
14605 (FE_TONEAREST): Likewise.
14606 (FE_DOWNWARD): Likewise.
14607 (FE_UPWARD): Likewise.
14608 (FE_TOWARDZERO): Likewise.
14609 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14610 (FE_UNDERFLOW): Likewise.
14611 (FE_OVERFLOW): Likewise.
14612 (FE_DIVBYZERO): Likewise.
14613 (FE_INVALID): Likewise.
14614 (FE_TONEAREST): Likewise.
14615 (FE_TOWARDZERO): Likewise.
14616 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14617 (FE_OVERFLOW): Likewise.
14618 (FE_UNDERFLOW): Likewise.
14619 (FE_DIVBYZERO): Likewise.
14620 (FE_INEXACT): Likewise.
14621 (FE_TONEAREST): Likewise.
14622 (FE_TOWARDZERO): Likewise.
14623 (FE_UPWARD): Likewise.
14624 (FE_DOWNWARD): Likewise.
14625 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14626 (FE_DIVBYZERO): Likewise.
14627 (FE_OVERFLOW): Likewise.
14628 (FE_UNDERFLOW): Likewise.
14629 (FE_INEXACT): Likewise.
14630 (FE_TONEAREST): Likewise.
14631 (FE_DOWNWARD): Likewise.
14632 (FE_UPWARD): Likewise.
14633 (FE_TOWARDZERO): Likewise.
14634
105ca950
CM
146352012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14636
14637 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14638
a542b389
AS
146392012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14640
14641 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14642 commands. Quote $PWD.
14643 (blacklist_exports): Don't use remove_newlines. Replace "declare
14644 -x" by "export".
14645 (remove_newlines): Remove.
14646
f62c8abc
L
146472012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14648
14649 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14650 * stdlib/stdlib.h (atof): Moved to ...
14651 * include/bits/stdlib-float.h: Here. New file.
14652 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14653 * stdlib/bits/stdlib-float.h: New file.
14654 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14655 -mno-sse -mno-mmx.
14656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14657 <xmmintrin.h>.
14658
0155d5b2
JM
146592012-11-02 Joseph Myers <joseph@codesourcery.com>
14660
a68d0680
JM
14661 * conform/conformtest.pl (@headers): Add fenv.h.
14662 * conform/data/fenv.h-data: New file.
14663 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14664 include of <math/fenv.h>.
14665
caf7f573
JM
14666 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14667 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14668 && !UNIX98]. Enables tests for XOPEN2K8.
14669 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14670 POSIX2008]: Likewise.
14671
6c073ad6
JM
14672 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14673 (struct rusage): Do not expect type or its members.
14674
0155d5b2
JM
14675 [BZ #3439]
14676 * math/math.h (FP_NAN): Define macro to integer constant usable in
14677 #if and use that to give value to enum constant.
14678 (FP_INFINITE): Likewise.
14679 (FP_ZERO): Likewise.
14680 (FP_SUBNORMAL): Likewise.
14681 (FP_NORMAL): Likewise.
14682
b5dcacb4
AS
146832012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14684
14685 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14686 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14687 arguments.
14688
f7934be8
RM
146892012-11-02 Roland McGrath <roland@hack.frob.com>
14690
14691 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14692 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14693 autoconf-time if not.
14694 * configure.in: Remove AC_PREREQ.
14695
d7d08bde
TMQMF
146962012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14697
14698 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14699 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14700 of the internal implementation.
14701
dcdae19a
JM
147022012-11-02 Joseph Myers <joseph@codesourcery.com>
14703
14704 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14705 except include of <misc/sys/syslog.h>.
14706
d6cffd3e
AS
147072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14708
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14710 function returns with a NULL context exit with zero.
14711
b3563932
TMQMF
147122012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14713
14714 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14715
b288a93d
L
147162012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14717
14718 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14719 (run_program_cmd): This.
14720 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14721 (tst_langinfo): New variable. Use it.
14722
a2421a68
SAS
147232012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14724
14725 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14726 floating point opcodes.
14727
6f796e1b
TS
147282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14729
7402596b
TS
14730 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14731 variable.
14732
d0d4f868
TS
14733 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14734
6f796e1b
TS
14735 * sysdeps/mach/hurd/powerpc: Remove directory.
14736 * sysdeps/mach/powerpc: Likewise.
14737
4da224a2
AS
147382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14739
14740 * scripts/check-local-headers.sh: Ignore c++ headers.
14741
341dd673
TS
147422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14743
14744 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14745 __libc_cleanup_region_start argument.
14746
473611b2
JM
147472012-11-01 Joseph Myers <joseph@codesourcery.com>
14748
14749 [BZ #14784]
14750 [BZ #14785]
14751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14752 x * y using scaling, not as x * y + z.
14753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14754 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14755 * math/libm-test.inc (fma_test): Add more tests.
14756 (fma_test_towardzero): Likewise.
14757 (fma_test_downward): Likewise.
14758 (fma_test_upward): Likewise.
14759
4078da3d
TS
147602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14761
14762 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14763
903252aa
JM
147642012-10-31 Joseph Myers <joseph@codesourcery.com>
14765
14766 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14767 New variable.
14768
cbc818d0
TS
147692012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14770
14771 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14772
5a03cb1e
AS
147732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14774
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14776 Fix sort order.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14778 Likewise.
14779
90aff2ff
TMQMF
147802012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14781
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14783 Fix the order of the list for glibc 2.17.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14785 Likewise.
14786
1818fcb7
AS
147872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14788
14789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790
ef82f4da
JM
147912012-10-31 Joseph Myers <joseph@codesourcery.com>
14792
16a0e2ec
JM
14793 [BZ #14610]
14794 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14795 for low part of x being zero before using __atanl (y).
14796 * math/libm-test.inc (atan2_test): Add another test.
14797
0eb69512
JM
14798 * manual/install.texi (Configuring and compiling): Document
14799 general use of test-wrapper and test-wrapper-env.
14800 * INSTALL: Regenerated.
14801
ef82f4da
JM
14802 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14803 (__fma): Do not extract and scale down low bits on after-rounding
14804 systems when result rounded to normal precision would have normal
14805 exponent.
14806 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14807 (__fmal): Do not extract and scale down low bits on after-rounding
14808 systems when result rounded to normal precision would have normal
14809 exponent.
14810 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14811 (__fmal): Do not extract and scale down low bits on after-rounding
14812 systems when result rounded to normal precision would have normal
14813 exponent.
14814 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14815 macro.
14816 (fma_test): Add more tests.
14817 (fma_test_towardzero): Likewise.
14818 (fma_test_downward): Likewise.
14819 (fma_test_upward): Likewise.
14820
954ef0d9
L
148212012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14822
14823 * sysdeps/i386/tininess.h: Renamed to ...
14824 * sysdeps/x86/tininess.h: This.
14825 * sysdeps/x86_64/tininess.h: Removed.
14826
df61ffb2
JM
148272012-10-30 Joseph Myers <joseph@codesourcery.com>
14828
14829 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14830 input. Use $(build-program-cmd).
14831 ($(objpfx)tst-array1-static.out): Likewise.
14832 ($(objpfx)tst-array2.out): Likewise.
14833 ($(objpfx)tst-array3.out): Likewise.
14834 ($(objpfx)tst-array4.out): Likewise.
14835 ($(objpfx)tst-array5.out): Likewise.
14836 ($(objpfx)tst-array5-static.out): Likewise.
14837
01767843
CM
148382012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14839
47cc1490
CM
14840 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14841 if defined.
14842
01767843
CM
14843 * nss/nsswitch.h (nss_interface_function): Provide new
14844 macro for use with NSS functions.
14845 * grp/initgroups.c: Use new macro.
14846 * nss/getXXbyYY.c: Likewise.
14847 * nss/getXXbyYY_r.c: Likewise.
14848 * nss/getXXent.c: Likewise.
14849 * nss/getXXent_r.c: Likewise.
14850 * sysdeps/posix/getaddrinfo.c: Likewise.
14851
8321aa97
AJ
148522012-10-30 Andreas Jaeger <aj@suse.de>
14853
14854 * po/ru.po: Update Russion translation from translation project.
14855
2a27fd6d
JM
148562012-10-30 Joseph Myers <joseph@codesourcery.com>
14857
8627a232
JM
14858 [BZ #14152]
14859 [BZ #14783]
14860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14861 result and shift together with sticky bit instead of replicating
14862 round-to-nearest rounding.
14863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14865 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14866 missing underflow exceptions.
14867 (fma_test_towardzero): Add more tests.
14868 (fma_test_downward): Likewise.
14869 (fma_test_upward): Likewise.
14870
2a27fd6d
JM
14871 [BZ #14047]
14872 * sysdeps/generic/tininess.h: New file.
14873 * sysdeps/i386/tininess.h: Likewise.
14874 * sysdeps/sh/tininess.h: Likewise.
14875 * sysdeps/x86_64/tininess.h: Likewise.
14876 * stdlib/tst-strtod-underflow.c: Likewise.
14877 * stdlib/tst-tininess.c: Likewise.
14878 * stdlib/strtod_l.c: Include <tininess.h>.
14879 (round_and_return): Do not set errno for exact underflow cases.
14880 Force an underflow exception when setting errno for underflow.
14881 Determine underflow based on rounding to normal precision if
14882 TININESS_AFTER_ROUNDING.
14883 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14884 ERANGE for exact underflow cases.
14885 * stdlib/Makefile (tests): Add tst-tininess and
14886 tst-strtod-underflow.
14887 ($(objpfx)tst-tininess): Use $(link-libm).
14888 ($(objpfx)tst-strtod-underflow): Likewise.
14889
e7170363
AJ
148902012-10-30 Andreas Jaeger <aj@suse.de>
14891
e5088dc6
AJ
14892 [BZ#14767]
14893 * elf/Makefile (tests): Remove conditional for have-initfini-array
14894 since this is now always required and the variable does not exist
14895 anymore.
14896 (tests-static): Likewise.
14897 (modules-names): Likewise.
14898
e7170363 14899 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14900
14901 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14902 merged with constructor/destructor.
14903 (init_array): Likewise.
14904 * elf/tst-array2dep.c (fini_array): Likewise.
14905 (init_array): Likewise.
14906
60457d8a
MF
149072012-10-29 Mike Frysinger <vapier@gentoo.org>
14908
14909 * manual/message.texi: Delete @cartouche tags.
14910
8bece752
PT
149112012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14912
94ce799f
PT
14913 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14914 EOPNOTSUPP.
14915 * sysdeps/mach/hurd/fsync.c: Likewise.
14916
8bece752
PT
14917 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14918 [_POSIX_REALTIME_SIGNALS]: Change condition to
14919 [_POSIX_REALTIME_SIGNALS > 0].
14920
86ebe6b1
AJ
149212012-10-27 Andreas Jaeger <aj@suse.de>
14922
14923 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14924 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14926 [__WORDSIZE != 64]: Likewise.
14927
54399c08
L
149282012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14929
14930 * iconvdata/tst-table.sh: Remove ${SHELL}.
14931 * iconvdata/tst-tables.sh: Likewise.
14932
e2211bed
DM
149332012-10-25 David S. Miller <davem@davemloft.net>
14934
14935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14936 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14937 of strtoull.
14938
f303f97c
DM
14939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14940 ifunc-impl-list.c
14941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14942 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14943 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14944 file.
14945
1e9d84cd
RM
149462012-10-25 Roland McGrath <roland@hack.frob.com>
14947
14948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14949 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14950 __getdirentries.
14951
df381762
JM
149522012-10-25 Joseph Myers <joseph@codesourcery.com>
14953 Jim Blandy <jimb@codesourcery.com>
14954
14955 * scripts/cross-test-ssh.sh: New file.
14956 * manual/install.texi (Configuring and compiling): Document use of
14957 cross-test-ssh.sh.
14958 * INSTALL: Regenerated.
14959
bff64913
PT
149602012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14961
14962 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14963 EOPNOTSUPP.
14964
25fe8932
JM
149652012-10-25 Joseph Myers <joseph@codesourcery.com>
14966
14967 * Makeconfig (run-program-prefix): Fix comment.
14968
cc1290d0
JM
149692012-10-24 Joseph Myers <joseph@codesourcery.com>
14970 Jim Blandy <jimb@codesourcery.com>
14971
14972 * Makeconfig (test-wrapper): New variable,
14973 (test-wrapper-env): Likewise.
14974 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14975 (run-built-tests): Define to yes.
14976 (run-program-prefix): Use $(test-wrapper).
14977 (built-program-cmd): Likewise.
14978 * Rules (make-test-out): Use $(test-wrapper-env) and
14979 $(host-built-program-cmd).
14980 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14981 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14982 tst-pathopt.sh.
14983 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14984 $(test-wrapper-env) to tst-rtld-load-self.sh.
14985 ($(objpfx)order2.out): Use $(test-wrapper).
14986 ($(objpfx)tst-initorder.out): Likewise.
14987 ($(objpfx)tst-initorder2.out): Likewise.
14988 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14989 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14990 (test_wrapper_env): New variable. Use it to run ld.so.
14991 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14992 Use it to run ld.so.
14993 (test_wrapper_env): Likewise.
14994 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14995 $(test-wrapper) to run-iconv-test.sh.
14996 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14997 (ICONV): Use $test_wrapper.
14998 * posix/Makefile ($(objpfx)globtest.out): Pass
14999 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15000 globtest.sh, not $(run-program-prefix).
15001 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15002 (test_wrapper): Likewise.
15003 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15004 set together with run_via_rtld_prefix.
15005 (run_program_prefix): Define in terms of test_wrapper and
15006 run_via_rtld_prefix.
15007
6e6249d0
RM
150082012-10-24 Roland McGrath <roland@hack.frob.com>
15009
15010 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15011 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15012 Targets removed.
15013
15014 [BZ #14743]
15015 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15016 Declare __clock_getres, __clock_gettime, __clock_settime,
15017 __clock_nanosleep, and __clock_getcpuclockid.
15018 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15019 Remove librt_hidden_def (clock_gettime).
15020 * sysdeps/unix/clock_gettime.c: Likewise.
15021 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15023 * rt/clock_getres.c: Define __clock_getres as an alias.
15024 * sysdeps/posix/clock_getres.c: Likewise.
15025 * rt/clock_settime.c: Define __clock_settime as an alias.
15026 * sysdeps/unix/clock_settime.c: Likewise.
15027 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15028 * sysdeps/unix/clock_nanosleep.c: Likewise.
15029 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15030 * rt/clock-compat.c: New file.
15031 * rt/Makefile (librt-routines): Add clock-compat and move
15032 $(clock-routines) to ...
15033 (routines): ... here, new variable.
15034 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15035 Don't add get_clockfreq here.
15036 * rt/Versions (libc: GLIBC_2.17): New version set.
15037 Add clock_* symbols here.
15038 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15039 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15040 (GLIBC_2.17): Add clock_* symbols.
15041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15045 Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15047 Likewise.
15048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15052 * NEWS: Mention the move.
15053
15054 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15055 Use __open, __read, __close rather than their public counterparts.
15056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15057 (__get_clockfreq_via_cpuinfo): Likewise.
15058 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15059 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15060
15061 * config.h.in (HAVE_IFUNC): New #undef.
15062 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15063 was successful.
15064 * configure: Regenerated.
15065
0cae3f4b
MF
150662012-10-24 Mike Frysinger <vapier@gentoo.org>
15067
15068 * configure.in: Move READELF check to start of file.
15069 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15070 libc_cv_asm_gnu_indirect_function in the process.
15071 * configure: Regenerated.
15072
8175a253
MF
150732012-10-24 Mike Frysinger <vapier@gentoo.org>
15074
15075 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15076 send the output to /dev/null.
15077 (libc_cv_cc_with_libunwind): Likewise.
15078 (libc_cv_as_noexecstack): Likewise.
15079 * configure: Regenerate.
15080
0708a7d1
JM
150812012-10-24 Joseph Myers <joseph@codesourcery.com>
15082
10b40d85
JM
15083 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15084
0708a7d1
JM
15085 * posix/globtest.sh (TMPDIR): Do not set.
15086 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15087 (testout): Likewise.
15088
9fddec1a
AJ
150892012-10-24 Andreas Jaeger <aj@suse.de>
15090
3a8db22f
AJ
15091 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15092 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15093 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15094 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15095 posix_fadvise64, posix_fallocate64.
15096
9fddec1a
AJ
15097 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15098 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15099 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15100 Likewise.
15101 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15102 Likewise.
15103 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15104
15105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15106 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15107 <bits/fcntl-linux.h>.
15108 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15109
15110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15111 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15112 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15113 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15114 [__WORDSIZE != 64]: Likewise.
15115
ebfd1bbd
JM
151162012-10-23 Joseph Myers <joseph@codesourcery.com>
15117
03ac099f
JM
15118 * Makeconfig (run-built-tests): New variable.
15119 * Rules [$(cross-compiling) = yes]: Change condition to
15120 [$(run-built-tests) = no].
15121 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15122 to [$(run-built-tests) = yes].
15123 * elf/Makefile [$(cross-compiling) = no]: Likewise
15124 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15125 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15126 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15127 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15128 * io/Makefile [$(cross-compiling) = no]: Likewise.
15129 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15130 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15131 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15132 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15133 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15134 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15135 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15136 * string/Makefile [$(cross-compiling) = no]: Likewise.
15137
ebfd1bbd
JM
15138 * posix/Makefile ($(objpfx)globtest.out): Pass
15139 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15140 $(rtld-installed-name).
15141 * posix/globtest.sh (elf_objpfx): Remove variable.
15142 (rtld_installed_name): Likewise.
15143 (library_path): Likewise.
15144 (run_program_prefix): New variable. Use for running globtest
15145 binary.
15146
166bca24
JB
151472012-10-23 Jim Blandy <jimb@codesourcery.com>
15148 Joseph Myers <joseph@codesourcery.com>
15149
15150 * Makeconfig (host-built-program-cmd): New variable.
15151 * elf/Makefile (tst-stackguard1-ARGS): Use
15152 $(host-built-program-cmd).
15153 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15154 (tst-spawn-ARGS): Likewise.
15155 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15156
88866099
JM
151572012-10-23 Joseph Myers <joseph@codesourcery.com>
15158 Jim Blandy <jimb@codesourcery.com>
15159
15160 * Makeconfig (run-via-rtld-prefix): New variable.
15161 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15162 (built-program-cmd): Likewise.
15163
b4b4c296
AJ
151642012-10-22 Andreas Jaeger <aj@suse.de>
15165
15166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15167 __O_RSYNC if it exists, otherwise to O_SYNC.
15168
6fb54a22
JB
151692012-10-22 Jim Blandy <jimb@codesourcery.com>
15170 Joseph Myers <joseph@codesourcery.com>
15171
15172 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15173 /dev/null.
15174 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15175 from /dev/null
15176 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15177 /dev/null.
15178
481b90b9
AJ
151792012-10-22 Andreas Jaeger <aj@suse.de>
15180
2a0e2669
AJ
15181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15182 Define always.
15183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15184
76e38f9a
AJ
15185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15186 bits/fcntl-linux.h.
15187
7cd37b43
AJ
15188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15189 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15190
481b90b9
AJ
15191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15192 to __O_LARGEFILE.
15193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15194 to __O_LARGEFILE.
15195
aba75984
JB
151962012-10-21 Jim Blandy <jimb@codesourcery.com>
15197 Joseph Myers <joseph@codesourcery.com>
15198
15199 * config.make.in (NM): New variable.
15200
88d4247f
AJ
152012012-10-21 Andreas Jaeger <aj@suse.de>
15202
15203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15204 definitions and declarations that are provided by
15205 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15206
f2eed205
L
152072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15208
15209 [BZ #14683]
15210 * elf/Makefile (tests-static): Add tst-leaks1-static.
15211 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15212 ($(objpfx)tst-leaks1-static): New rule.
15213 ($(objpfx)tst-leaks1-static-mem): Likewise.
15214 (tst-leaks1-static-ENV): New macro.
15215 * elf/dl-open.c (dl_open_worker): Check the main application
15216 only if SHARED is defined.
15217 * elf/tst-leaks1-static.c: New file.
15218
335e6931
AJ
152192012-10-20 Andreas Jaeger <aj@suse.de>
15220
15221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15222 generic values for Linux.
15223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15224 and declarations that are provided by <bits/fcntl-linux.h> and
15225 include <bits/fcntl-linux.h>.
15226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15228
ac5c94d3
RM
152292012-10-20 Roland McGrath <roland@hack.frob.com>
15230
15231 * io/fcntl.h: Move include of <bits/types.h> to the top and
15232 include it unconditionally.
15233
de54b33a
L
152342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15235
228cfb01
L
15236 * wcsmbs/Makefile (tests-ifunc): New variable.
15237 (tests): Add $(tests-ifunc).
15238 * wcsmbs/test-wcschr-ifunc.c: New file.
15239 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15240 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15241 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15242 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15243 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15244
69f07e5f
L
15245 * string/Makefile (tests-ifunc): New variable.
15246 (tests): Add $(tests-ifunc).
15247 * string/test-memccpy.c (TEST_NAME): New macro.
15248 * string/test-memchr.c (TEST_NAME): Likewise.
15249 * string/test-memcmp.c (TEST_NAME): Likewise.
15250 * string/test-memcpy.c (TEST_NAME): Likewise.
15251 * string/test-memmem.c (TEST_NAME): Likewise.
15252 * string/test-memmove.c (TEST_NAME): Likewise.
15253 * string/test-memset.c (TEST_NAME): Likewise.
15254 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15255 * string/test-stpcpy.c (TEST_NAME): Likewise.
15256 * string/test-stpncpy.c (TEST_NAME): Likewise.
15257 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15258 * string/test-strcasestr.c (TEST_NAME): Likewise.
15259 * string/test-strcat.c (TEST_NAME): Likewise.
15260 * string/test-strchr.c (TEST_NAME): Likewise.
15261 * string/test-strcmp.c(TEST_NAME): Likewise.
15262 * string/test-strcpy.c (TEST_NAME): Likewise.
15263 * string/test-strcspn.c (TEST_NAME): Likewise.
15264 * string/test-strlen.c (TEST_NAME): Likewise.
15265 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15266 * string/test-strncmp.c (TEST_NAME): Likewise.
15267 * string/test-strncpy.c (TEST_NAME): Likewise.
15268 * string/test-strnlen.c (TEST_NAME): Likewise.
15269 * string/test-strpbrk.c (TEST_NAME): Likewise.
15270 * string/test-strrchr.c (TEST_NAME): Likewise.
15271 * string/test-strspn.c (TEST_NAME): Likewise.
15272 * string/test-strstr.c (TEST_NAME): Likewise.
15273 * string/test-bcopy-ifunc.c: New file.
15274 * string/test-bzero-ifunc.c: Likewise.
15275 * string/test-memccpy-ifunc.c: Likewise.
15276 * string/test-memchr-ifunc.c: Likewise.
15277 * string/test-memcmp-ifunc.c: Likewise.
15278 * string/test-memcpy-ifunc.c: Likewise.
15279 * string/test-memmem-ifunc.c: Likewise.
15280 * string/test-memmove-ifunc.c: Likewise.
15281 * string/test-mempcpy-ifunc.c: Likewise.
15282 * string/test-memset-ifunc.c: Likewise.
15283 * string/test-rawmemchr-ifunc.c: Likewise.
15284 * string/test-stpcpy-ifunc.c: Likewise.
15285 * string/test-stpncpy-ifunc.c: Likewise.
15286 * string/test-strcasecmp-ifunc.c: Likewise.
15287 * string/test-strcasestr-ifunc.c: Likewise.
15288 * string/test-strcat-ifunc.c: Likewise.
15289 * string/test-strchr-ifunc.c: Likewise.
15290 * string/test-strchrnul-ifunc.c: Likewise.
15291 * string/test-strcmp-ifunc.c: Likewise.
15292 * string/test-strcpy-ifunc.c: Likewise.
15293 * string/test-strcspn-ifunc.c: Likewise.
15294 * string/test-strlen-ifunc.c: Likewise.
15295 * string/test-strncasecmp-ifunc.c: Likewise.
15296 * string/test-strncat-ifunc.c: Likewise.
15297 * string/test-strncmp-ifunc.c: Likewise.
15298 * string/test-strncpy-ifunc.c: Likewise.
15299 * string/test-strnlen-ifunc.c: Likewise.
15300 * string/test-strpbrk-ifunc.c: Likewise.
15301 * string/test-strrchr-ifunc.c: Likewise.
15302 * string/test-strspn-ifunc.c: Likewise.
15303 * string/test-strstr-ifunc.c: Likewise.
15304
de54b33a
L
15305 * debug/Makefile (tests-ifunc): New variable.
15306 (tests): Add $(tests-ifunc).
15307 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15308 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15309 * debug/test-stpcpy_chk-ifunc.c: New file.
15310 * debug/test-strcpy_chk-ifunc.c: Likewise.
15311
88481c16
SP
153122012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15313
15314 [BZ #13601]
15315 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15316 header is not read in.
15317
135948bd
JM
153182012-10-19 Joseph Myers <joseph@codesourcery.com>
15319
89f1c388
JM
15320 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15321 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15322 directly. Pass built executable to script as
15323 $(built-program-cmd).
15324 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15325 $testprogram without using LD_LIBRARY_PATH and $ldso.
15326
e40a0d21
JM
15327 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15328 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15329 $(rtld-installed-name).
15330 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15331 (rtld_installed_name): Likewise.
15332 (library_path): Likewise.
15333 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15334 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15335 $(run-program-prefix) to tst-tables.sh.
15336 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15337 it to run tst-table-from and tst-table-to.
15338 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15339 Pass it to tst-table.sh.
15340 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15341 $(run-program-prefix) to tst-gettext.sh.
15342 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15343 tst-translit.sh.
15344 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15345 tst-gettext2.sh.
15346 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15347 to run tst-gettext.
15348 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15349 to run tst-gettext2.
15350 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15351 to run tst-translit.
15352 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15353 $(run-program-prefix) to tst-mtrace.sh.
15354 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15355 to run tst-mtrace.
15356 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15357 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15358 $(rtld-installed-name).
15359 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15360 (rtld_installed_name): Likewise.
15361 (run_program_prefix): New variable. Use it to run wordexp-test.
15362
728e272a
JM
15363 * Makeconfig (ARCH): Remove all definitions.
15364 (machine): Likewise.
15365 [ARCH]: Remove conditional code.
15366 [!objdir]: Give error.
15367 [!objdir] (objpfx): Remove.
15368 [!objdir] (common-objpfx): Likewise.
15369 [!objdir] (common-objdir): Likewise.
15370 * configure.in (config_makefile): Remove. Hardcode Makefile in
15371 AC_CONFIG_FILES call.
15372 * configure: Regenerated.
15373
d528cdcf
JM
15374 [BZ #13888]
15375 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15376 or TMPDIR.
15377 (testout): Likewise.
15378
135948bd
JM
15379 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15380 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15381 $(rtld-installed-name).
15382 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15383 (rtld_installed_name): Likwise.
15384 (runit): Remove function.
15385 (run_getconf): New variable, Use it for running getconf binary.
15386
38c78296
L
153872012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15388
15389 [BZ #14716]
15390 * string/test-memmem.c (check_result): New function.
15391 (do_one_test): Use it.
15392 (check1): New function.
15393 (test_main): Use it.
15394
d077f65f
MT
153952012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15396
15397 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15398
ced52c71
JM
153992012-10-18 Joseph Myers <joseph@codesourcery.com>
15400
15401 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15402 (_G_LSEEK64): Likewise.
15403 (_G_MMAP64): Likewise.
15404 (_G_FSTAT64): Likewise.
15405 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15406 (_G_LSEEK64): Likewise.
15407 (_G_MMAP64): Likewise.
15408 (_G_FSTAT64): Likewise.
15409 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15410 unconditional. Call __mmap64 directly.
15411 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15412 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15413 __lseek64 directly.
15414 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15415 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15416 __mmap64 directly.
15417 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15418 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15419 __lseek64 directly.
15420 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15421 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15422 __lseek64 directly.
15423 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15424 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15425 __lseek64 directly.
15426 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15427 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15428 __fxstat64 directly.
15429 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15430 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15431 unconditional.
15432 (freopen64) [!_G_OPEN64]: Remove conditional code.
15433 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15434 unconditional.
15435 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15436 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15437 unconditional.
15438 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15439 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15440 unconditional.
15441 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15442 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15443 unconditional.
15444 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15445 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15446 unconditional.
15447 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15448 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15449 unconditional.
15450 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15451 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15452 unconditional.
15453 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15454
b741de23
SP
154552012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15456
15457 [BZ #12140]
15458 * manual/memory.texi (Malloc Tunable Parameters): Add note
15459 about free list pointers overwriting some perturb bytes.
15460 Wording suggested by Roland McGrath.
15461
f9b9d9c9
JM
154622012-10-17 Joseph Myers <joseph@codesourcery.com>
15463
15464 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15465 (lgamma_test): Likewise.
15466 (tgamma_test): Likewise.
15467
172a631a
FW
154682012-10-16 Florian Weimer <fweimer@redhat.com>
15469
15470 [BZ #14700]
15471 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15472 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15473
e9f37252
MK
154742012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15475
15476 * NEWS: Mention BZ #14716.
15477 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15478 when removing AVAILABLE1_USES_J macro.
15479
d394eb74
L
154802012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15481
15482 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15483 (__bswap_64): __uint64_t for unsigned 64-bit int.
15484
ca38dc17
AS
154852012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15486
15487 * include/string.h (memmem): Declare libc hidden alias.
15488 * string/memmem.c (memmem): Define libc hidden alias.
15489 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15490 __read, __close instead of open, read, close.
15491
9a387d1f
L
154922012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15493
ac49ecaf
L
15494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15495 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15496 global and hidden.
15497 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15498 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15499 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15500 Likewise.
15501 (__rawmemchr_sse2): Likewise.
15502 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15503 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15504 (__strchr_sse2): Likewise.
15505 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15506 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15507 (__strcasecmp_sse2): Likewise.
15508 (__strncasecmp_sse2): Likewise.
15509 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15510 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15511 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15512 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15513 (__strrchr_sse2): Likewise.
15514 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15515 ifunc-impl-list.c.
15516 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15517 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15518 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15519 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15520 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15522 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15523 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15524 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15525 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15526 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15527 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15528 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15529 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15530 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15531 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15532 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15533 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15534 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15535 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15536 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15537 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15538 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15539 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15540 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15541 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15542 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15543 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15544 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15545 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15546
b090e8ea
L
15547 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15548 global and hidden.
15549 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15550 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15551 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15552 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15553 Likewise.
15554 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15555 Likewise.
15556 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15557 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15558 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15559 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15560 ifunc-impl-list.c.
15561 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15563 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15564 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15565 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15566 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15567 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15569 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15570 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15579 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15595 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15602
11dd4af6
L
15603 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15604 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15605 * include/ifunc-impl-list.h: New file.
15606 * misc/ifunc-impl-list.c: Likewise.
15607 * misc/Makefile (routines): Add ifunc-impl-list.
15608 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15609 * string/test-string.h: Include <ifunc-impl-list.h>.
15610 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15611 impl_array): New variables.
15612 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15613 are defined.
15614 (test_init): Call __libc_ifunc_impl_list to initialize
15615 func_list if TEST_IFUNC and TEST_NAME are defined.
15616
9a387d1f
L
15617 * string/Makefile (strop-tests): Add bcopy and bzero.
15618 * string/test-bcopy.c: New file.
15619 * string/test-bzero.c: Likewise.
15620 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15621 defined.
15622 * string/test-memset.c: Support bzero test if TEST_BZERO is
15623 defined.
15624 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15625 __libc_memmove.
15626 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15627 __libc_memset.
15628 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15629 of memset.
15630
472371b9
JM
156312012-10-10 Joseph Myers <joseph@codesourcery.com>
15632
1e4a9536
JM
15633 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15634 * configure: Regenerated.
15635
d173d12e
JM
15636 * Makeconfig (+link-static-before-libc): Don't include
15637 $(link-static-libc).
15638
472371b9
JM
15639 * libio/libio.h (_IO_pos_t): Remove.
15640
89a3ad0b
AO
156412012-10-10 Alexandre Oliva <aoliva@redhat.com>
15642
15643 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15644 McGrath.
15645
e7451425
AO
156462012-10-10 Alexandre Oliva <aoliva@redhat.com>
15647
15648 * crypt/crypt-entry.c: Include fips-private.h.
15649 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15650 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15651 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15652 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15653
4ba74a35
AO
156542012-10-10 Alexandre Oliva <aoliva@redhat.com>
15655
15656 * crypt/crypt-private.h: Include stdbool.h.
15657 (_ufc_setup_salt_r): Return bool.
15658 * crypt/crypt-entry.c: Include errno.h.
15659 (__crypt_r): Return NULL with EINVAL for bad salt.
15660 * crypt/crypt_util.c (bad_for_salt): New.
15661 (_ufc_setup_salt_r): Check that salt is long enough and within
15662 the specified alphabet.
15663 * crypt/badsalttest.c: New file.
15664 * crypt/Makefile (tests): Add it.
15665 ($(objpfx)badsalttest): New.
15666
f96f1242
MK
156672012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15668
15669 * NEWS: Add entry for BZ #14602.
15670
0e8e0c1c
JM
156712012-10-09 Joseph Myers <joseph@codesourcery.com>
15672
15673 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15674 type-generic.
15675 * math/libm-test.inc: Update comment listing what functions and
15676 macros are tested.
15677 (isgreater_test): New function.
15678 (isgreaterequal_test): Likewise.
15679 (isless_test): Likewise.
15680 (islessequal_test): Likewise.
15681 (islessgreater_test): Likewise.
15682 (isunordered_test): Likewise.
15683 (main): Call the new functions.
15684
273edc5e
RM
156852012-10-09 Roland McGrath <roland@hack.frob.com>
15686
b8493de0
RM
15687 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15688 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15689 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15690 * sysdeps/i386/configure: Regenerated.
15691 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15692 * sysdeps/mach/configure: Regenerated.
15693 * sysdeps/mach/hurd/configure: Regenerated.
15694 * sysdeps/powerpc/configure: Regenerated.
15695 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15696 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15697 * sysdeps/s390/s390-32/configure: Regenerated.
15698 * sysdeps/s390/s390-64/configure: Regenerated.
15699 * sysdeps/sh/configure: Regenerated.
15700 * sysdeps/sparc/configure: Regenerated.
15701 * sysdeps/unix/sysv/linux/configure: Regenerated.
15702 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15703 * sysdeps/x86_64/configure: Regenerated.
15704
273edc5e
RM
15705 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15706 defined. Don't check if MAP is NULL.
15707
c8450f70
JM
157082012-10-09 Joseph Myers <joseph@codesourcery.com>
15709
15710 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15711 (_G_stat64): Likewise.
15712 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15713 (_G_stat64): Likewise.
15714 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15715 instead of struct _G_stat64.
15716 * libio/fileops.c (mmap_remap_check): Likewise.
15717 (decide_maybe_mmap): Likewise.
15718 (_IO_new_file_seekoff): Likewise.
15719 (_IO_file_stat): Likewise.
15720 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15721 _G_off64_t.
15722 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15723 instead of struct _G_stat64.
15724 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15725
57e605ba
MK
157262012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15727
15728 [BZ #14602]
15729 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15730 Replace with ...
15731 (CHECK_EOL): New macro.
15732 (two_way_short_needle): Check beginning of haystack for EOL. Use
15733 CHECK_EOL.
15734 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15735 Replace with CHECK_EOL.
15736 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15737 Replace with CHECK_EOL.
15738
ef1bb361
JM
157392012-10-08 Joseph Myers <joseph@codesourcery.com>
15740
15741 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15742 type-generic.
15743 * math/libm-test.inc: Update comment listing what functions and
15744 macros are tested.
15745 (finite_test): New function.
15746 (isinf_test): Likewise.
15747 (isnan_test): Likewise.
15748 (fpclassify_test): Test subnormal input.
15749 (isfinite_test): Likewise.
15750 (isnormal_test): Likewise.
15751 (main): Call the new functions.
15752
55f11534
JN
157532012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15754
15755 [BZ #14660]
15756 * Makerules (%.dynsym): Force C locale when running
15757 $(OBJDUMP) --dynamic-syms.
15758
1ab29350
AS
157592012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15760
15761 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15762 <stdint.h>.
15763
f1ecb7ef
DM
157642012-10-06 David S. Miller <davem@davemloft.net>
15765
15766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15767 upper 32-bits of the length value in %o2 since we use branch-on-register
15768 tests which consider the entire 64-bit register.
15769
5d41d91a
L
157702012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15771
15772 * string/test-strstr.c (check2): Add a test for page boundary.
15773
3baddb72
DM
157742012-10-05 David S. Miller <davem@davemloft.net>
15775
15776 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15778 file.
15779 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15780 sysdep_routines.
15781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15782 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15783 and bzero when HWCAP_SPARC_CRYPTO is present.
15784
9cee5585
L
157852012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15786
d7e0dab9
L
15787 [BZ #14602]
15788 * string/test-strstr.c (check2): New function.
15789 (test_main): Call check2.
15790
03759f47
L
15791 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15792 and bug-strchr1.
15793 * string/bug-strcasestr1.c (do_test): Moved to ...
15794 * string/test-strcasestr.c (check1): Here. New function.
15795 (do_one_test): Break out result checking code into ...
15796 (check_result): This. New function.
15797 (do_one_test): Call check_result.
15798 (test_main): Call check1.
15799 * string/bug-strchr1.c (do_test): Moved to ...
15800 * string/test-strchr.c (check1): Here. New function.
15801 (do_one_test): Break out result checking code into ...
15802 (check_result): This. New function.
15803 (do_one_test): Call check_result.
15804 (test_main): Call check1.
15805 * string/bug-strstr1.c (main): Moved to ...
046f153e 15806 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15807 (do_one_test): Break out result checking code into ...
15808 (check_result): This. New function.
15809 (do_one_test): Call check_result.
15810 (test_main): Call check1.
15811 * string/bug-strcasestr1.c: Removed.
15812 * string/bug-strchr1.c: Likewise.
15813 * string/bug-strstr1.c: Likewise.
15814
53cea63e
L
15815 * elf/Makefile (dl-routines): Add hwcaps.
15816 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15817 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15818 (_dl_important_hwcaps): Moved to ...
15819 * elf/dl-hwcaps.c: Here. New file.
15820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15821
9cee5585 15822 [BZ #14557]
bb859b06
L
15823 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15824 if IS_IN_rtld isn't defined.
15825
9cee5585
L
15826 * elf/dl-support.c (_dl_sysinfo_map): New.
15827 Include "get-dynamic-info.h" and "setup-vdso.h".
15828 (_dl_non_dynamic_init): Call setup_vdso.
15829 * elf/dynamic-link.h: Don't include <assert.h>.
15830 (elf_get_dynamic_info): Moved to ...
15831 * elf/get-dynamic-info.h: Here. New file.
15832 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15833 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15834 * elf/setup-vdso.h: Here. New file.
15835 * elf/rtld.c: Include "setup-vdso.h".
15836 (dl_main): Call setup_vdso.
15837
23c31b76
JM
158382012-10-05 Joseph Myers <joseph@codesourcery.com>
15839
28234b07
JM
15840 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15841 creal in comment listing functions tested. List finite, isinf,
15842 isnan, isless, islessequal, isgreater, isgreaterequal,
15843 islessgreater, isunordered, lgamma_r and pow10 as functions and
15844 macros not tested. Mention which functions not tested are aliases
15845 for other functions. Fix typo. Note that signs of NaNs are not
15846 tested.
15847
23c31b76
JM
15848 * scripts/config.guess: Update from config.git.
15849 * scripts/config.sub: Likewise.
15850
9043e228
RM
158512012-10-04 Roland McGrath <roland@hack.frob.com>
15852
15853 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15854 * misc/madvise.c (madvise): Renamed to __madvise.
15855 Make madvise a weak alias.
15856 * include/sys/mman.h: Declare __madvise.
15857 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15858 * sysdeps/unix/syscalls.list
15859 (madvise): Make __madvise the strong name, and madvise a weak alias.
15860 * sysdeps/unix/sysv/linux/syscalls.list
15861 (madvise, mmap): Remove redundant entries.
15862 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15863 * malloc/malloc.c (mtrim): Likewise.
15864 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15865
f57f8055
RM
158662012-10-03 Roland McGrath <roland@hack.frob.com>
15867
15868 * sysdeps/mach/hurd/dl-cache.c: File removed.
15869 * config.h.in (USE_LDCONFIG): New #undef.
15870 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15871 * configure: Regenerated.
15872 * elf/Makefile (dl-routines): Add dl-cache only under
15873 [$(use-ldconfig) = yes].
15874 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15875 cache on [USE_LDCONFIG].
15876 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15877 [USE_LDCONFIG].
15878 * elf/rtld.c (dl_main): Likewise.
15879
5bb0c10a
PT
158802012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15881
15882 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15883 _SC_LEVEL4_CACHE_LINESIZE.
15884
010188c6
RM
158852012-10-03 Roland McGrath <roland@hack.frob.com>
15886
15887 * sysdeps/unix/bsd/confstr.h: File removed.
15888
b6c5ec07
AO
158892012-10-02 Alexandre Oliva <aoliva@redhat.com>
15890
15891 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15892 sys/sdt-config.h.
15893
408223d4
RM
158942012-10-02 Roland McGrath <roland@hack.frob.com>
15895
15896 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15897 Make 'mapoff' field ElfW(Off) rather than off_t.
15898
bb9510dc
DL
158992012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15900
fc997c6e
DL
15901 * nscd/Makefile: Remove nscd-cflags and all its users.
15902 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15903 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15904
bb9510dc
DL
15905 [BZ #10631]
15906 * malloc.c (malloc_printerr): Clarify error message.
15907
05699367
L
159082012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15909
15910 [BZ #14648]
15911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15912 Set bit_FMA_Usable if FMA is supported.
15913 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15914 macro.
15915 (bit_FMA4_Usable): Updated.
15916 (index_FMA_Usable): New macro.
15917 (CPUID_FMA): Likewise
15918 (HAS_FMA): Defined with bit_FMA_Usable.
15919
51367701
RM
159202012-10-01 Roland McGrath <roland@hack.frob.com>
15921
15922 * bits/types.h (__swblk_t): Type removed.
15923 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15924 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15926 (__SWBLK_T_TYPE): Likewise.
15927 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15928 (__SWBLK_T_TYPE): Likewise.
15929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15930 (__SWBLK_T_TYPE): Likewise.
15931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15932 (__SWBLK_T_TYPE): Likewise.
15933
4d57bf63 159342012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15935 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15936
15937 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15938 (xdr_mapname): Use YPMAXMAP as maxsize.
15939 (xdr_peername): Use YPMAXPEER as maxsize.
15940 (xdr_keydat): Use YPAXRECORD as maxsize.
15941 (xdr_valdat): Use YPMAXRECORD as maxsize.
15942
93c65d43
RM
159432012-10-01 Roland McGrath <roland@hack.frob.com>
15944
497a03d6
RM
15945 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15946
93c65d43
RM
15947 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15948 * csu/init-first.c: ... here.
15949 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15950 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15951 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15952 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15953 * sysdeps/i386/init-first.c: File removed.
15954 * sysdeps/sh/init-first.c: File removed.
15955
bec749fd
JM
159562012-10-01 Joseph Myers <joseph@codesourcery.com>
15957
15958 [BZ #14645]
15959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15960 if x * y might underflow to zero and z is zero.
15961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15963 * math/libm-test.inc (min_subnorm_value): New variable.
15964 (fma_test): Add more tests.
15965 (fma_test_towardzero): Likewise.
15966 (fma_test_downward): Likewise
15967 (fma_test_upward): Likewise.
15968 (initialize): Set min_subnorm_value.
15969
8ec5b013
JM
159702012-09-29 Joseph Myers <joseph@codesourcery.com>
15971
15972 [BZ #14638]
15973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15974 0 + 0.
15975 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15976 mode for addition resulting in exact zero.
15977 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15979 exact 0 + 0.
15980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15982 * math/libm-test.inc (fma_test): Add more tests.
15983 (fma_test_towardzero): New function.
15984 (fma_test_downward): Likewise.
15985 (fma_test_upward): Likewise.
15986 (main): Call the new functions.
15987
b1fa802e
DM
159882012-09-28 David S. Miller <davem@davemloft.net>
15989
15990 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15991
d3b9fd9e
RM
159922012-09-28 Roland McGrath <roland@hack.frob.com>
15993
ea4d37b3
RM
15994 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15995 instead of SIGALRM.
15996
ac51c949
RM
15997 * sysdeps/gnu/_G_config.h: Moved to ...
15998 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15999 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16000 * sysdeps/generic/_G_config.h: ... here.
16001
28c195f7
RM
16002 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16003
848917f9
RM
16004 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16005
6bacf05b
RM
16006 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16007 Conditionalize target on [libnss_test1.so-version].
16008
91363dbb
RM
16009 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16010
cc87f7d8
RM
16011 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16012 (elfobjdir): Move out of conditionals.
16013
b1c608fe
RM
16014 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16015 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16016 (__nss_lookup_function): Conditionalize label remove_from_tree on
16017 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16018
1d9a6d96
DM
160192012-09-28 David S. Miller <davem@davemloft.net>
16020
16021 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16022 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16023 file.
16024 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16025 sysdep_routines.
16026 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16028 when HWCAP_SPARC_CRYPTO is present.
16029
72581615
PT
160302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16031
16032 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16033
715a900c
JL
160342012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16035
16036 [BZ #6530]
16037 * stdio-common/vfprintf.c (process_string_arg): Revert
16038 2000-07-22 change.
16039
160402011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16041
16042 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16043 for testcase.
16044 * stdio-common/tst-sprintf.c: Include <locale.h>
16045 (main): Test sprintf's handling of incomplete multibyte
16046 characters.
16047
9bac1d86
L
160482012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16049
16050 * elf/dl-runtime.c (VERSYMIDX): Removed.
16051 * elf/dl-version.c (VERSYMIDX): Likewise.
16052 * elf/do-rel.h (VERSYMIDX): Likewise.
16053 (VALIDX): Likewise.
16054 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16055 * elf/rtld.c (VALIDX): Likewise.
16056 (ADDRIDX): Likewise.
9bac1d86
L
16057 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16058 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16059 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16060 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16061 (VALIDX): Likewise.
16062 (ADDRIDX): Likewise.
9bac1d86 16063
b31606c0
PT
160642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16065
16066 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16067
11541177
JL
160682012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16069
16070 [BZ #11438]
16071 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16072 to global scope.
16073 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16074 addresses are in the same scope as 192.0.2/24.
16075 * posix/gai.conf: Document new scope table defaults.
16076
adb26fae
SP
160772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16078
16079 [BZ #5298]
16080 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16081 for ftell. Compute offsets from write pointers instead.
16082 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16083
4573c6b0
SP
160842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16085
16086 [BZ #14543]
16087 * libio/Makefile (tests): New test case tst-fseek.
16088 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16089 combination works in wide mode.
16090 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16091 state when the external buffer state changes.
16092
aa9bbfe6
DM
160932012-09-27 David S. Miller <davem@davemloft.net>
16094
16095 [BZ #14376]
16096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16097 pass reloc->r_addend in as the 'high' argument to
16098 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16099
784421e7
DM
16100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16101
c39bc8b8
PT
161022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16103
16104 * rt/tst-aio2.c: Include <pthread.h>.
16105 * rt/tst-aio3.c: Likewise.
16106
1ccc2399
SE
161072012-09-27 Steve Ellcey <sellcey@mips.com>
16108
16109 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16110
31ed4153
L
161112012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16112
25f5f885
L
16113 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16114 contents on [SHARED].
31ed4153 16115
b7bfe116
MP
161162012-09-26 Marek Polacek <polacek@redhat.com>
16117
16118 [BZ #14530]
16119 [BZ #13741]
16120 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16121 for C++ and GCC <4.3 as well as for non GCC compilers.
16122
43c4edba
MT
161232012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16124
16125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16126
6a1bf82f
RM
161272012-09-25 Roland McGrath <roland@hack.frob.com>
16128
16129 * Makefile.in (all, install): Declare with .PHONY.
16130 Reported by Michael Hope <michael.hope@linaro.org>.
16131
8ad11b9a
TMQMF
161322012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16133
16134 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16135 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16136 system header.
16137 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16138 Likewise.
16139 (sydep_routines): Add the new and the internal functions.
16140 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16141 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16143 (GLIBC_2.17): Add the new function.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16145 (GLIBC_2.17): Likewise.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16147 (GLIBC_2.17): Likewise.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16149 (GLIBC_2.17): Likewise.
16150 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16151
7e2fca8d
AM
161522012-09-25 Alan Modra <amodra@gmail.com>
16153
16154 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16155 Add release barrier before setting once_control to say
16156 initialisation is done. Add hints on lwarx. Use macro in
16157 place of isync.
16158 (clear_once_control): Add release barrier.
16159
b87c4b24
JM
161602012-09-25 Joseph Myers <joseph@codesourcery.com>
16161
d032e0d2
JM
16162 [BZ #13629]
16163 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16164 specially.
16165 * math/s_clog10.c (__clog10): Likewise.
16166 * math/s_clog10f.c (__clog10f): Likewise.
16167 * math/s_clog10l.c (__clog10l): Likewise.
16168 * math/s_clogf.c (__clogf): Likewise.
16169 * math/s_clogl.c (__clogl): Likewise.
16170 * math/Makefile (libm-calls): Add x2y2m1.
16171 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16172 (__x2y2m1): Likewise.
16173 (__x2y2m1l): Likewise.
16174 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16175 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16178 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16179 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16180 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16181 * sysdeps/i386/fpu/libm-test-ulps: Update.
16182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16183
b87c4b24
JM
16184 [BZ #14621]
16185 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16186 int as type of variable DEPTH.
16187 (glob): Use size_t instead of int as type of variables NEWCOUNT
16188 and OLD_PATHC.
16189
6d3bf199
LD
161902012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16191
22bf5c17
LD
16192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16193 Add s_sincosf-sse2.
16194 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16195 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16196 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16197 macros for using routine as __sincosf_ia32.
16198 Use macro for function declaration and weak_alias.
16199 * sysdeps/i386/fpu/libm-test-ulps: Update.
16200
16201 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16203
16204 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16205 subnormal argument.
16206 * math/s_cexpf.c (__cexpf): Likewise.
16207 * math/s_csinf.c (__csinf): Likewise.
16208 * math/s_csinhf.c (__csinhf): Likewise.
16209 * math/s_ctanf.c (__ctanf): Likewise.
16210 * math/s_ctanhf.c (__ctanhf): Likewise.
16211 * math/s_ccosh.c (__ccoshf): Likewise.
16212 * math/s_cexp.c (__cexpl): Likewise.
16213 * math/s_csin.c (__csin): Likewise.
16214 * math/s_csinh.c (__csinh): Likewise.
16215 * math/s_ctan.c (__ctan): Likewise.
16216 * math/s_ctanh.c (ctanh): Likewise.
16217 * math/s_ccoshl.c (__ccoshl): Likewise.
16218 * math/s_cexpl.c (__cexpl): Likewise.
16219 * math/s_csinl.c (__csinl): Likewise.
16220 * math/s_csinhl.c (__csinhl): Likewise.
16221 * math/s_ctanl.c (__ctanl): Likewise.
16222 * math/s_ctanhl.c (__ctanhl): Likewise.
16223
203e5603
JM
162242012-09-25 Joseph Myers <joseph@codesourcery.com>
16225
16226 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16227 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16228 (_IO_off_t): Define to __off_t, not _G_off_t.
16229 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16230 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16231 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16232 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16233 type of __dummy and __dummy2 fields.
16234 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16235 (_G_ssize_t): Likewise.
16236 (_G_off_t): Likewise.
16237 (_G_pid_t): Likewise.
16238 (_G_uid_t): Likewise.
16239 (_G_wchar_t): Likewise.
16240 (_G_wint_t): Likewise.
16241 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16242 (_G_ssize_t): Likewise.
16243 (_G_off_t): Likewise.
16244 (_G_pid_t): Likewise.
16245 (_G_uid_t): Likewise.
16246 (_G_wchar_t): Likewise.
16247 (_G_wint_t): Likewise.
16248 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16249 (_G_ssize_t): Likewise.
16250 (_G_off_t): Likewise.
16251 (_G_pid_t): Likewise.
16252 (_G_uid_t): Likewise.
16253 (_G_wchar_t): Likewise.
16254 (_G_wint_t): Likewise.
16255
9fab36eb
SP
162562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16257
16258 * malloc/arena.c: Include malloc-sysdep.h.
16259 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16260 is sufficient to shrink the heap or an unmap is needed.
16261 * sysdeps/generic/malloc-sysdep.h: New file. Define
16262 new function check_may_shrink_heap.
16263 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16264 new function check_may_shrink_heap.
16265
2b4f00d1
SP
162662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16267
16268 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16269 comments.
16270
9a9028b1
DL
162712012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16272
57c69bef
DL
16273 * catgets/test-gencat.sh: Add "set -e".
16274 * elf/tst-pathopt.sh: Likewise.
16275 * grp/tst_fgetgrent.sh: Likewise.
16276 * iconvdata/run-iconv-test.sh: Likewise.
16277 * intl/tst-gettext.sh: Likewise.
16278 * intl/tst-gettext2.sh: Likewise.
16279 * intl/tst-gettext4.sh: Likewise.
16280 * intl/tst-gettext6.sh: Likewise.
16281 * intl/tst-translit.sh: Likewise.
16282 * io/ftwtest-sh: Likewise.
16283 * libio/test-freopen.sh: Likewise.
16284 * malloc/tst-mtrace.sh: Likewise.
16285 * posix/globtest.sh: Likewise.
16286 * posix/tst-getconf.sh: Likewise.
16287 * posix/wordexp-tst.sh: Likewise.
16288 * stdio-common/tst-printf.sh: Likewise.
16289 * stdio-common/tst-unbputc.sh: Likewise.
16290 * stdlib/tst-fmtmsg.sh: Likewise.
16291 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16292 * catgets/Makefile: Do not specify -e option when running
16293 testsuite shell scripts.
16294 * elf/Makefile: Likewise.
16295 * grp/Makefile: Likewise.
16296 * iconvdata/Makefile: Likewise.
16297 * intl/Makefile: Likewise.
16298 * io/Makefile: Likewise.
16299 * libio/Makefile: Likewise.
16300 * malloc/Makefile: Likewise.
16301 * posix/Makefile: Likewise.
16302 * stdio-common/Makefile: Likewise.
16303 * stdlib/Makefile: Likewise.
16304 * sysdeps/x86_64/Makefile: Likewise.
16305
9a9028b1
DL
16306 * io/ftwtest-sh: Add copyright header.
16307 * posix/globtest.sh: Likewise.
16308 * posix/tst-getconf.sh: Likewise.
16309 * posix/wordexp-tst.sh: Likewise.
16310 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16311
ced6f16e
L
163122012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16313
94b32c39
L
16314 [BZ #13679]
16315 * Makeconfig (+link): Defined as $(+link-static) if
16316 $(build-shared) isn't yes.
16317 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16318 isn't yes.
16319 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16320
189e935b
L
16321 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16322
ced6f16e
L
16323 [BZ #14562]
16324 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16325 new chunk size with MALLOC_ALIGN_MASK.
16326
a9f8e53a
JM
163272012-09-24 Joseph Myers <joseph@codesourcery.com>
16328
16329 [BZ #5044]
16330 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16331 <rounding-mode.h>.
16332 (__printf_fphex): Determine rounding using get_rounding_mode and
16333 round_away.
16334 * stdio-common/tst-printf-round.c (struct hex_test): New
16335 structure.
16336 (hex_tests): New variable.
16337 (test_hex_in_one_mode): New function.
16338 (do_test): Also run tests for hex float output.
16339
43153109
JM
163402012-09-21 Joseph Myers <joseph@codesourcery.com>
16341
16342 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16343 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16344 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16345 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16346 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16347 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16348 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16350
8a26625d
JM
163512012-09-20 Joseph Myers <joseph@codesourcery.com>
16352
16353 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16354 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16355 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16356 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16357
f3fd569c
DL
163582012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16359
16360 [BZ #14579]
16361 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16362 mode only.
16363 * elf/tst-rtld-load-self.sh: New test.
16364 * elf/Makefile: Run it.
16365
63bbedd4
JM
163662012-09-18 Joseph Myers <joseph@codesourcery.com>
16367
16368 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16369 (tst-writev-ENV): Remove.
16370 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16371
626f8b6a
CM
163722012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16373
16374 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16375
b7aaa4d6
JM
163762012-09-17 Joseph Myers <joseph@codesourcery.com>
16377
16378 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16379 unconditional.
16380 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16381 Likewise.
16382 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16383 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16384 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16385 Likewise.
16386
65513990
L
163872012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16388
16389 [BZ #14587]
16390 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16391 * config.make.in (have-cpp-asm-debuginfo): Removed.
16392 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16393 * configure: Regenerated.
16394
784761be
JM
163952012-09-14 Joseph Myers <joseph@codesourcery.com>
16396
16397 [BZ #5044]
16398 * stdio-common/printf_fp.c: Include <stdbool.h> and
16399 <rounding-mode.h>.
16400 (___printf_fp): Determine rounding using get_rounding_mode and
16401 round_away.
16402 * stdio-common/tst-printf-round.c: New file.
16403 * stdio-common/Makefile (tests): Add tst-printf-round.
16404 (link-libm): New variable.
16405 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16406
9503345f
L
164072012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16408
16409 [BZ #14576]
16410 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16411 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16412 Likewise.
16413 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16414 Likewise.
16415
ad35fc00
JM
164162012-09-13 Joseph Myers <joseph@codesourcery.com>
16417
16418 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16419 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16420 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16421 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16422
6c9b0f68
JM
164232012-09-12 Joseph Myers <joseph@codesourcery.com>
16424
16425 [BZ #14518]
16426 * include/rounding-mode.h: New file.
16427 * sysdeps/generic/get-rounding-mode.h: Likewise.
16428 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16429 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16430 (MAX_VALUE): New macro.
16431 (MIN_VALUE): Likewise.
16432 (overflow_value): New function.
16433 (underflow_value): Likewise.
16434 (round_and_return): Use overflow_value and underflow_value to
16435 determine return values in overflow and underflow cases. Use
16436 round_away to determine rounding depending on rounding mode.
16437 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16438 determine return values in overflow and underflow cases.
16439 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16440 (struct test_results): New structure.
16441 (struct test): Use struct test_results to store expected results
16442 for all rounding modes.
16443 (TEST): Include expected results for all rounding modes.
16444 (test_in_one_mode): New function.
16445 (do_test): Use test_in_one_mode to compute and check results.
16446 Check results for all rounding modes.
16447 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16448 $(link-libm).
16449
19fcedd5
AM
164502012-12-09 Allan McRae <allan@archlinux.org>
16451
1e9d84cd 16452 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16453
8bbfd2f1
JM
164542012-09-11 Joseph Myers <joseph@codesourcery.com>
16455
16456 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16457 (_G_int32_t): Likewise.
16458 (_G_uint16_t): Likewise.
16459 (_G_uint32_t): Likewise.
16460 (_G_HAVE_BOOL): Likewise.
16461 (_G_HAVE_ATEXIT): Likewise.
16462 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16463 (_G_HAVE_IO_FILE_OPEN): Likewise.
16464 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16465 (_G_int32_t): Likewise.
16466 (_G_uint16_t): Likewise.
16467 (_G_uint32_t): Likewise.
16468 (_G_HAVE_BOOL): Likewise.
16469 (_G_HAVE_ATEXIT): Likewise.
16470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16471 (_G_HAVE_IO_FILE_OPEN): Likewise.
16472 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16473 (_G_int32_t): Likewise.
16474 (_G_uint16_t): Likewise.
16475 (_G_uint32_t): Likewise.
16476 (_G_HAVE_BOOL): Likewise.
16477 (_G_HAVE_ATEXIT): Likewise.
16478 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16479 (_G_HAVE_IO_FILE_OPEN): Likewise.
16480
b1dc5912
L
164812012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16482
16483 * csu/libc-tls.c: Update copyright years.
16484
0e886ef9
JM
164852012-09-10 Joseph Myers <joseph@codesourcery.com>
16486
28361c5e
JM
16487 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16488 [!_G_USING_THUNKS]: Remove conditional code.
16489 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16490 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16491
0e886ef9
JM
16492 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16493 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16494 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16495 (_G_VTABLE_LABEL_PREFIX): Likewise.
16496 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16497 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16499 (_G_VTABLE_LABEL_PREFIX): Likewise.
16500 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16501 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16502 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16503 (_G_VTABLE_LABEL_PREFIX): Likewise.
16504 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16505
bcba7aa2
L
165062012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16507
16508 * libio/Makefile: Include ../Makeconfig before tests.
16509 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16510 only if $(build-shared) is yes.
16511
06585ee8
L
16512 * iconv/gconv_db.c: Update copyright years.
16513
80ccd52c
LD
165142012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16515
16516 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16517 unwind info if defined PIC. Fix special cases description.
16518 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16519
16520 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16521 DP_HI_MASK entry.
16522 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16523
691bc9c1
L
165242012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16525
3d9b46b3
L
16526 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16527
de2139a9
L
16528 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16529 is NULL.
16530
5ca78dd0
L
16531 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16532 (LDLIBS-tst-chk4): This.
16533 (LDFLAGS-tst-chk5): Renamed to ...
16534 (LDLIBS-tst-chk5): This.
16535 (LDFLAGS-tst-chk6): Renamed to ...
16536 (LDLIBS-tst-chk6): This.
16537 (LDFLAGS-tst-lfschk4): Renamed to ...
16538 (LDLIBS-tst-lfschk4): This.
16539 (LDFLAGS-tst-lfschk5): Renamed to ...
16540 (LDLIBS-tst-lfschk5): This.
16541 (LDFLAGS-tst-lfschk6): Renamed to ...
16542 (LDLIBS-tst-lfschk6): This.
16543
691bc9c1
L
16544 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16545 on $(common-objpfx)soversions.mk.
16546
65cafb1c
JM
165472012-09-07 Joseph Myers <joseph@codesourcery.com>
16548
16549 [BZ #10014]
16550 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16551 example host name.
16552
c78ab094
SP
165532012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16554
16555 * malloc/arena.c (arena_get_retry): New function that gets
16556 another arena for the caller to try its request on.
16557 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16558 current arena cannot fulfill the request.
16559 (__libc_memalign): Likewise.
16560 (__libc_memalign): Likewise.
16561 (__libc_pvalloc): Likewise.
16562 (__libc_calloc): Likewise.
16563
01f49f59
JT
165642012-09-05 John Tobey <john.tobey@gmail.com>
16565
16566 [BZ #13542]
16567 * manual/arith.texi (Operations on Complex): Fix description
16568 of carg branch cut.
16569
4c23fed5
JM
165702012-09-06 Joseph Myers <joseph@codesourcery.com>
16571
1d3c8572
JM
16572 [BZ #10014]
16573 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16574 host name.
16575
4c23fed5
JM
16576 [BZ #10038]
16577 * manual/memory.texi (Memory): Make order of menu items match
16578 order of sections.
16579
04570aaa
L
165802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16581
16582 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16583 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16584 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16585
b80af2f4
L
165862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16587
16588 * csu/libc-tls.c (static_dtv): Renamed to ...
16589 (_dl_static_dtv): This. Make it global.
16590 (_dl_initial_dtv): Removed.
16591 (__libc_setup_tls): Updated.
16592 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16593 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16594 DL_INITIAL_DTV.
16595
2abe9f15
PM
165962012-09-06 Petr Machata <pmachata@redhat.com>
16597
16598 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16599 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16600 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16601 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16602
0948c3af
L
166032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16604
16605 [BZ #14545]
16606 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16607 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16608 freeing dtv[-1].
16609
a5055ad1
L
166102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 [BZ #14544]
16613 * Makeconfig (link-static-before-libc): Replace $(+prector)
16614 with $(+prectorT).
16615 (link-static-after-libc): Replace $(+postctor) with
16616 $(+postctorT).
16617 (link-bounded): Replace $(+prector)/$(+postctor) with
16618 $(+prectorT)/$(+postctorT).
16619 (+prectorT): New macro.
16620 (+postctorT): Likewise.
16621
ed8c2ecd
JM
166222012-09-06 Joseph Myers <joseph@codesourcery.com>
16623
16624 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16625 (round_str): Handle values above the maximum for IBM long double
16626 as inexact.
16627 * stdlib/tst-strtod-round.c (tests): Regenerated.
16628
14c996c8
AK
166292012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16630
16631 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16632 assembler flag.
16633 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16634 zarch_nohighgprs around the zarch optimized routines.
16635 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16636 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16637 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16638 for zarch.
16639
430d6ce6
DM
166402012-09-05 David S. Miller <davem@davemloft.net>
16641
16642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16643
ff04dda4
DM
16644 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16645 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16646 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16647 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16648 entries.
16649
24d4e01b
AO
166502012-09-05 Alexandre Oliva <aoliva@redhat.com>
16651
16652 * malloc/arena.c: Fold copyright years.
16653 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16654
61d58174
AO
166552012-09-05 Alexandre Oliva <aoliva@redhat.com>
16656
16657 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16658
20196a5e
AO
166592012-09-05 Alexandre Oliva <aoliva@redhat.com>
16660
16661 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16662
5c447383
AO
166632012-09-05 Alexandre Oliva <aoliva@redhat.com>
16664
16665 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16666 change internal state upon failure.
16667
fad64255
AO
166682012-09-05 Alexandre Oliva <aoliva@redhat.com>
16669
16670 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16671 * malloc/memusage.c (mmap): Likewise.
16672 (mmap64, mremap): Likewise. Adjust name in comment.
16673
1ffb8c90
SP
166742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16675
16676 * libio/fileops.c: Fix typos in comments.
16677 * libio/oldfileops.c: Likewise.
16678 * libio/wfileops.c: Likewise.
16679
6ef9cc37
SP
166802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16681
16682 [BZ #1349]
16683 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16684 (tst-malloc-usable-ENV): Set environment for test case.
16685 * malloc/hooks.c (malloc_check_get_size): New function to get
16686 requested size.
16687 * malloc/malloc.c (musable): Use malloc_check_get_size.
16688 * malloc/tst-malloc-usable.c: New test case.
16689
4d038ae3
AS
166902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16691
16692 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16693
c4e85184
AM
166942012-09-05 Allan McRae <allan@archlinux.org>
16695
b9dafc56 16696 [BZ #13966]
c4e85184
AM
16697 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16698 determine header location.
16699 * configure: Regenerated.
16700
e1343020
AS
167012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16702
16703 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16704 float format.
16705 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16706 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16707 format.
e1343020
AS
16708 (test): Regenerate.
16709
0a9f1987
DM
167102012-09-04 David S. Miller <davem@davemloft.net>
16711
16712 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16713 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16714 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16715
29237804
FW
167162012-09-04 Florian Weimer <fweimer@redhat.com>
16717
16718 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16719 failures.
16720
edb3cb88
FW
16721 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16722
60160d83
JM
167232012-09-04 Joseph Myers <joseph@codesourcery.com>
16724
16725 [BZ #9914]
16726 * libio/iogetdelim.c: Include <limits.h>.
16727 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16728 + len + 1 would overflow.
16729
bcd6c8dc
AJ
167302012-09-03 Andreas Jaeger <aj@suse.de>
16731
16732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16733 * sysdeps/i386/fpu/libm-test-ulps: Update.
16734
4ffffbd2
LD
167352012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16736
16737 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16738 Add s_sinf-sse2, s_conf-sse2.
16739
16740 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16741 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16742 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16743 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16744
16745 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16746 for using routine as __sinf_ia32.
16747 Use macro for function declaration and weak_alias.
16748 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16749 for using routine as __cosf_ia32.
16750 Use macro for function declaration and weak_alias.
16751
16752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16753 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16754
16755 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16756 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16758
16759 * math/libm-test.inc (cos_test): Add more test cases.
16760 (sin_test): Likewise.
16761 (sincos_test): Likewise.
16762
511fa286
AK
167632012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16764
16765 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16766 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16767 hidden.
16768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16769
5f30cfec
L
167702012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16771
16772 [BZ #14538]
16773 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16774 first element of the GOT.
16775 (elf_machine_load_address): Return the difference between
16776 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16777
0786794f
AM
167782012-09-01 Allan McRae <allan@archlinux.org>
16779
5f30cfec
L
16780 [BZ #13412]
16781 * configure.in (AWK): Require gawk version 3.0 or later.
16782 * configure: Regenerated.
0786794f 16783
26889eac
JM
167842012-09-01 Joseph Myers <joseph@codesourcery.com>
16785
16786 * sysdeps/unix/sysv/linux/kernel-features.h
16787 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16788 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16789 [__NR_clock_getres]: Make code unconditional.
16790 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16791 (clock_getcpuclockid): Remove code left unreachable by removal of
16792 conditionals.
16793 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16794 code unconditional.
16795 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16796 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16797 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16798 Make code unconditional.
16799 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16800 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16801 * sysdeps/unix/sysv/linux/clock_settime.c
16802 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16803 conditional code.
16804 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16805 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16806
d22e28b0
L
168072012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16808
16809 [BZ #14476]
16810 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16811 scripts/test-installation.pl.
16812
16813 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16814 and $ld_so_version if it is set.
16815
050af9c4
SP
168162012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16817
16818 [BZ #14516]
16819 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16820 failure if reading from procfs failed.
16821 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16822
ad845c0b
JM
168232012-08-27 Joseph Myers <joseph@codesourcery.com>
16824
16825 * sysdeps/unix/sysv/linux/kernel-features.h
16826 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16827 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16828 Remove conditional code.
16829 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16830 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16831 Remove conditional code.
16832 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16833 * sysdeps/unix/sysv/linux/i386/fxstat.c
16834 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16835 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16836 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16837 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16838 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16839 * sysdeps/unix/sysv/linux/i386/lxstat.c
16840 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16842 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16843 Remove conditional code.
16844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16845 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16846 Remove conditional code.
16847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16848 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16849 <kernel-features.h>.
16850 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16851 Remove.
16852 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16853 Remove conditional code.
16854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16855 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16856 Remove conditional.
16857
5dbf56af
MF
168582012-08-27 Mike Frysinger <vapier@gentoo.org>
16859
16860 [BZ #5400]
16861 * NEWS: Add fixed bug number.
16862
d6e70f43
JM
168632012-08-27 Joseph Myers <joseph@codesourcery.com>
16864
7efb4737
JM
16865 [BZ #14519]
16866 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16867 underflowing exponent in case of negative sign.
16868 * stdlib/tst-strtod-round-data: Add more tests.
16869 * stdlib/tst-strtod-round.c (tests): Regenerated.
16870
af92131a
JM
16871 [BZ #3479]
16872 * stdlib/strtod_l.c (NDIG): Remove.
16873 (HEXNDIG): Likewise.
16874 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16875 smallest representable value.
16876 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16877 lie within an exact representation of 1/2 ulp of the result.
16878 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16879 unconditionally.
16880 (TENS_P9_IDX): Define unconditionally.
16881 (TENS_P9_SIZE): Likewise.
16882 (TENS_P10_IDX): Likewise.
16883 (TENS_P10_SIZE): Likewise.
16884 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16885 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16886 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16887 entries for 10^2^13 and 10^2^14.
16888 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16889 (TENS_P13_IDX): Define.
16890 (TENS_P13_SIZE): Likewise.
16891 (TENS_P14_IDX): Likewise.
16892 (TENS_P14_SIZE): Likewise.
16893 (_fpioconst_pow10): Change array size to
16894 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16895 unconditional.
16896 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16897 1024]: Add entries for 10^2^13 and 10^2^14.
16898 [LAST_POW10 > _LAST_POW10]: Remove #error.
16899 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16900 (_fpioconst_pow10): Change array size to
16901 FPIOCONST_POW10_ARRAY_SIZE.
16902 * stdlib/gen-fpioconst.c: New file.
16903 * stdlib/gen-tst-strtod-round.c: Likewise.
16904 * stdlib/tst-strtod-round-data: Likewise.
16905 * stdlib/tst-strtod-round.c: Likewise.
16906 * stdlib/Makefile (tests): Add tst-strtod-round.
16907
d6e70f43
JM
16908 [BZ #14459]
16909 * stdlib/strtod_l.c: Include <stdint.h>.
16910 (NDEBUG): Do not define.
16911 (round_and_return): Change EXPONENT parameter to type intmax_t.
16912 Rearrange calculations to avoid internal overflow possibilities.
16913 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16914 Rearrange calculations to avoid internal overflow possibilities.
16915 Assert that number fits inside MPNSIZE limbs.
16916 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16917 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16918 calculations and add assertions to avoid internal overflow
16919 possibilities. Add casts to avoid signed/unsigned operations.
16920 * stdlib/tst-strtod-overflow.c: New file.
16921 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16922
1f529f7d
MP
169232012-08-25 Marek Polacek <polacek@redhat.com>
16924
16925 * time/time.h: Fix some typos in comments.
16926
59a629f1
RM
169272012-08-23 Roland McGrath <roland@hack.frob.com>
16928
16929 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16930 * posix/tst-rfc3484-2.c: Likewise.
16931 * posix/tst-rfc3484-3.c: Likewise.
16932
d3bafbc9
SM
169332012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16934
16935 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16936 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16937
4efcc022
JM
169382012-08-23 Joseph Myers <joseph@codesourcery.com>
16939
16940 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16941 #include of fxstatat64.c.
16942
3cc3ef96
RM
169432012-08-22 Roland McGrath <roland@hack.frob.com>
16944
f04e2132
RM
16945 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16946 * shadow/getspent_r.c: Likewise.
16947 * shadow/getspnam.c: Likewise.
16948 * shadow/getspnam_r.c: Likewise.
16949 * gshadow/getsgent.c: Likewise.
16950 * gshadow/getsgent_r.c: Likewise.
16951 * gshadow/getsgnam.c: Likewise.
16952 * gshadow/getsgnam_r.c: Likewise.
16953 * inet/getnetbyad.c: Likewise.
16954 * inet/getnetbyad_r.c: Likewise.
16955 * inet/getnetbynm.c: Likewise.
16956 * inet/getnetbynm_r.c: Likewise.
16957 * inet/getnetent.c: Likewise.
16958 * inet/getnetent_r.c: Likewise.
16959 * inet/getproto.c: Likewise.
16960 * inet/getproto_r.c: Likewise.
16961 * inet/getprtent.c: Likewise.
16962 * inet/getprtent_r.c: Likewise.
16963 * inet/getprtname.c: Likewise.
16964 * inet/getprtname_r.c: Likewise.
16965 * inet/getrpcbyname.c: Likewise.
16966 * inet/getrpcbyname_r.c: Likewise.
16967 * inet/getrpcbynumber.c: Likewise.
16968 * inet/getrpcbynumber_r.c: Likewise.
16969 * inet/getrpcent.c: Likewise.
16970 * inet/getrpcent_r.c: Likewise.
16971 * inet/getaliasent.c: Likewise.
16972 * inet/getaliasent_r.c: Likewise.
16973 * inet/getaliasname.c: Likewise.
16974 * inet/getaliasname_r.c: Likewise.
16975 * nscd/getgrgid_r.c: Likewise.
16976 * nscd/getgrnam_r.c: Likewise.
16977 * nscd/gethstbyad_r.c: Likewise.
16978 * nscd/gethstbynm3_r.c: Likewise.
16979 * nscd/getpwnam_r.c: Likewise.
16980 * nscd/getpwuid_r.c: Likewise.
16981 * nscd/getsrvbynm_r.c: Likewise.
16982 * nscd/getsrvbypt_r.c: Likewise.
16983 * nscd/gai.c: Likewise.
16984
c53d909c
RM
16985 * configure.in (build_nscd): New substituted variable, set
16986 by --disable-build-nscd and defaults to $use_nscd.
16987 * configure: Regenerated.
16988 * config.make.in (build-nscd): New substituted variable.
16989 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16990 Change conditional to require [$(build-nscd) = yes] as well.
16991 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16992
3cc3ef96
RM
16993 [BZ# 13696]
16994 * configure.in (use_nscd): New substituted variable, set by
16995 --disable-nscd. If enabled, define USE_NSCD.
16996 * configure: Regenerated.
16997 * config.h.in: Add USE_NSCD.
16998 * config.make.in (use-nscd): New substituted variable.
16999 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17000 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17001 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17002 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17003 (CFLAGS-getgrnam_r.c): Likewise.
17004 (CFLAGS-initgroups.c): Likewise.
17005 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17006 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17007 Variables removed.
17008 * inet/getnetgrent_r.c
17009 (nscd_setnetgrent): New function, broken out of ...
17010 (setnetgrent): ... here. Call it.
17011 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17012 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17013 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17014 * nscd/Makefile (routines, aux): Move definitions after include of
17015 Makeconfig. Conditionalize on [$(use-nscd) != no].
17016 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17017 Conditionalize on [USE_NSCD].
17018 (is_nscd, nscd_init_cb): Likewise.
17019 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17020 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17021 * nss/nss_db/db-init.c: Likewise.
17022 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17023 [USE_NSCD].
17024 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17025 (make_request): Use it.
17026 (cache_valid_p): New function.
17027 (__check_pf): Use it.
17028 * NEWS: Add item for --disable-nscd.
17029
07e51550
DL
170302012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17031
17032 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17033 to support sed >= 4.2.1-20-ga9bf076.
17034 * configure: Regenerated.
17035
35a5b08b
RM
170362012-08-22 Roland McGrath <roland@hack.frob.com>
17037
17038 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17039 Conditionalize whole body on [IREL].
17040
8479f23a
JL
170412012-08-22 Jeff Law <law@redhat.com>
17042
17043 [BZ #14505]
17044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17045 if the family is PF_UNSPEC.
17046
48da0b21
MF
170472012-08-22 Mike Frysinger <vapier@gentoo.org>
17048
17049 * Makerules (lib-version): Rename from V.
17050 (install-lib-nosubdir): Change V to lib-version.
17051
15d0da8c
WS
170522012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17053
17054 [BZ #14252]
17055 * powerpc32/power6/wcschr.c: New file.
17056 * powerpc32/power6/wcscpy.c: New file.
17057 * powerpc32/power6/wcsrchr.c: New file.
17058 * powerpc64/power6/wcschr.c: New file.
17059 * powerpc64/power6/wcscpy.c: New file.
17060 * powerpc64/power6/wcsrchr.c: New file.
17061
bcca0895
MK
170622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17063
17064 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17065 (two_way_short_needle): Use it.
5a4aaa33
RM
17066 * string/strstr.c (AVAILABLE1_USES_J): Define.
17067 * string/strcasestr.c: Likewise.
99677e57
MK
17068
17069 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17070 array references.
17071 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17072
400726de
MK
17073 [BZ #11607]
17074 * NEWS: Add an entry.
17075 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17076 define their defaults.
17077 (two_way_short_needle): Detect end-of-string on-the-fly.
17078 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17079 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17080 * string/bug-strcasestr1.c: New test.
17081 * string/Makefile: Run it.
17082
20a71f2c
MK
170832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17084
17085 [BZ #11607]
17086 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17087 the first character.
17088
21ad0558
RM
170892012-08-21 Roland McGrath <roland@hack.frob.com>
17090
17091 * csu/elf-init.c (__libc_csu_irel): Function removed.
17092 * csu/libc-start.c (apply_irel): New function.
17093 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17094
0e1d9911
JM
170952012-08-21 Joseph Myers <joseph@codesourcery.com>
17096
17097 * sysdeps/unix/sysv/linux/kernel-features.h
17098 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17099 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17100 <kernel-features.h>.
17101 [__NR_fadvise64_64]: Make code unconditional.
17102 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17103 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17104 !__NR_fadvise64_64)]: Likewise.
17105 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17106 !__NR_fadvise64_64))]: Likewise.
17107 [__NR_fadvise64]: Make code unconditional.
17108 [!__NR_fadvise64]: Remove conditional code.
17109 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17110 <kernel-features.h>.
17111 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17112 unconditional.
17113 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17114 conditional code.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17116 not include <kernel-features.h>.
17117 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17118 unconditional.
17119 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17120 conditional code.
17121 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17122 include <kernel-features.h>.
17123 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17124 unconditional.
17125 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17126 conditional code.
17127
14a50c9d
WS
171282012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17129
17130 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17131 slight instruction rearrangements per scrollpipe analysis.
17132 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17133
c0f4faf0
RM
171342012-08-20 Roland McGrath <roland@hack.frob.com>
17135
696da859
RM
17136 * manual/syslog.texi (syslog; vsyslog, closelog):
17137 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17138 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17139
c0f4faf0
RM
17140 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17141 DSOCAPS to match condition on defining it.
17142
348363b2
JM
171432012-08-20 Joseph Myers <joseph@codesourcery.com>
17144
a35cbf28
JM
17145 * sysdeps/unix/sysv/linux/kernel-features.h
17146 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17148 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17149 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17151 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17152 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17154 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17155 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17156
445f7ecd
JM
17157 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17158 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17159
348363b2
JM
17160 * sysdeps/unix/sysv/linux/kernel-features.h
17161 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17162 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17163 unconditional.
17164 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17165 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17166 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17167 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17168 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17169 Make code unconditional.
17170 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17171 (__mmap64) [!__NR_mmap2]: Likewise.
17172 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17173 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17174 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17175 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17176 [__NR_mmap2]: Make code unconditional.
17177 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17178 (__mmap64) [!__NR_mmap2]: Likewise.
17179
bc5bc0e5
AK
171802012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17181
17182 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17183
88d506de
AJ
171842012-08-18 Andreas Jaeger <aj@suse.de>
17185
17186 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17187
493387d2
MF
171882012-08-18 Mike Frysinger <vapier@gentoo.org>
17189
17190 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17191 * include/unistd.h (__have_sock_cloexec): Likewise.
17192 (__have_pipe2): Likewise.
17193 (__have_dup3): Likewise.
17194
a277af22
MF
171952012-08-18 Mike Frysinger <vapier@gentoo.org>
17196
17197 [BZ #9685]
17198 * include/unistd.h (__have_pipe2): Change define into an extern int.
17199 (__have_dup3): Likewise.
17200 * socket/have_sock_cloexec.c: Include fcntl.h.
17201 (__have_pipe2): New variable.
17202 (__have_dup3): Likewise.
17203
fdab8fd3
MF
172042012-08-17 Mike Frysinger <vapier@gentoo.org>
17205
17206 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17207
31035e80
MP
172082012-08-17 Marek Polacek <polacek@redhat.com>
17209
17210 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17211 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17212
3bd9e993
RM
172132012-08-17 Roland McGrath <roland@hack.frob.com>
17214
c91c505f
RM
17215 * configure.in: Add AC_SUBST for sysheaders.
17216 * configure: Regenerated.
17217 * config.make.in (sysheaders): New substituted variable.
17218
7c6f9d53
RM
17219 * sysdeps/unix/mkfifo.c: Moved ...
17220 * sysdeps/posix/mkfifo.c: ... here.
17221 * sysdeps/unix/mkfifoat.c: Moved ...
17222 * sysdeps/posix/mkfifoat.c: ... here.
17223
17224 * sysdeps/unix/utime.c: Moved ...
17225 * sysdeps/posix/utime.c: ... here.
17226
17227 * sysdeps/unix/time.c: Moved ...
17228 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17229 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17230 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17231
17232 * sysdeps/unix/nice.c: Moved ...
17233 * sysdeps/posix/nice.c: ... here.
17234
17235 * sysdeps/unix/alarm.c: Moved ...
17236 * sysdeps/posix/alarm.c: ... here.
17237
3bd9e993
RM
17238 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17239
d1f09384
JL
172402012-08-17 Jeff Law <law@redhat.com>
17241
17242 * intl/Makefile (codeset_mo): New variable.
17243 ($(codeset_mo)): New target.
17244 (tst-codeset.out): Depend on that. Remove explicit rule.
17245 (tst-gettext3.out, tst-gettext5.out): Likewise.
17246 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17247 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17248 * intl/tst-codeset.sh: Remove.
17249 * intl/tst-gettext3.sh: Likewise.
17250 * intl/tst-gettext5.sh: Likewise.
17251
2ae1ae5c
RM
172522012-08-17 Roland McGrath <roland@hack.frob.com>
17253
c31fdb83
RM
17254 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17255 * sysdeps/unix/syscalls.list: ... here.
17256
a0844057
RM
17257 * sysdeps/posix/getaddrinfo.c
17258 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17259 (gaiconf_init, gaiconf_reload): Use them.
17260 [!_STATBUF_ST_NSEC]
17261 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17262 Define using time_t rather than struct timespec.
17263
750c1f2a
RM
17264 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17265 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17266 Macros removed.
17267 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17268 [!NO_THREADS].
17269 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17270 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17271 Likewise.
17272
2ae1ae5c
RM
17273 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17274 __libc_cleanup_push argument.
17275
e66a42f5
RM
17276 * bits/param.h: New file.
17277 * misc/sys/param.h: New file.
17278 * include/sys/param.h: New file.
17279 * misc/Makefile (headers): Add bits/param.h.
17280 * sysdeps/generic/sys/param.h: File removed.
17281 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17282 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17283 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17284 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17285
b7c08a66
RM
17286 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17287 last change.
17288
b2e1c562
RM
17289 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17290 [_IO_MTSAFE_IO].
17291 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17292 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17293 New macros.
17294
c75ccd4c
RM
17295 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17296 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17297 rather than -D_IO_MTSAFE_IO conditionally.
17298 * stdio-common/Makefile (CPPFLAGS): Likewise.
17299 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17300 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17301 Use $(libio-mtsafe).
17302 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17303 of -D_IO_MTSAFE_IO.
17304 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17305 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17306 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17307 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17308 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17309 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17310 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17311 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17312 (CFLAGS-fread_u_chk.c): Likewise.
17313 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17314 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17315 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17316 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17317 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17318 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17319 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17320 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17321 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17322
17323 * libio/Makefile: Test [$(libc-reentrant) = yes]
17324 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17325
17326 * Makeconfig
17327 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17328 * sysdeps/pthread/configure: File removed.
17329 * sysdeps/pthread/Makeconfig: New file.
17330 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17331 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17332
d9195db8
GB
173332012-08-16 Gary Benson <gbenson@redhat.com>
17334
17335 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17336 unmapping the first object in a namespace.
17337
86466cd9
RM
173382012-08-16 Roland McGrath <roland@hack.frob.com>
17339
17340 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17341 (__internal_setnetgrent): ... this. Add internal_function to
17342 definition. Add libc_hidden_def.
17343 (setnetgrent): Update caller.
17344 (internal_endnetgrent): Renamed to ...
17345 (__internal_endnetgrent): ... this. Add internal_function to
17346 definition. Add libc_hidden_def.
17347 (endnetgrent): Update caller.
17348 (internal_getnetgrent_r): Renamed to ...
17349 (__internal_getnetgrent_r): ... this. Add internal_function to
17350 definition. Add libc_hidden_def.
17351 (__getnetgrent_r): Update caller.
17352 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17353
c3c8283c
JM
173542012-08-16 Joseph Myers <joseph@codesourcery.com>
17355
17356 * stdlib/longlong.h: Update from GCC.
17357
db1ee0a8
RM
173582012-08-16 Roland McGrath <roland@hack.frob.com>
17359
17360 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17361 on _QL, which is set by umul_ppmm but never used.
17362 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17363 variables, which are set by GMP macros but never used.
17364 * stdio-common/_itowa.c (_itowa): Likewise.
17365 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17366 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17367
30f69637
CD
173682012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17369
17370 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17371 struct La_sh_regs is not constant.
17372 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17373 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17374 and struct La_sparc64_regs are not constant.
17375
93a78ac4
JM
173762012-08-16 Joseph Myers <joseph@codesourcery.com>
17377
17378 * sysdeps/unix/sysv/linux/kernel-features.h
17379 (__ASSUME_POSIX_TIMERS): Remove.
17380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17381 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17382 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17383 Make code unconditional.
17384 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17385 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17386 Make code unconditional.
17387 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17388 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17389 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17390 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17391 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17392 Make code unconditional.
17393 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17394 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17395 (__libc_missing_posix_timers): Remove.
17396
dd924cd7
RM
173972012-08-15 Roland McGrath <roland@hack.frob.com>
17398
4b4f2771
RM
17399 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17400 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17401
601c888b
RM
17402 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17403
176790a7
RM
17404 * elf/dl-sym.c: Include <stdlib.h>.
17405
329bc018
RM
17406 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17407 constants, which avoids warnings in 32-bit builds.
17408
e04e272d
RM
17409 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17410 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17411
952bf94a
RM
17412 * misc/lseek.c: File moved to ...
17413 * io/lseek.c: ... here.
17414
7c99b50a
RM
17415 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17416
dd924cd7
RM
17417 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17418 shifting LEN more than 31 bits at once.
17419
b3f479a8
LD
174202012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17421
17422 [BZ #14195]
8c4ae0d4
RM
17423 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17424 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17425 * string/test-strncasecmp.c (check1): Renamed to...
17426 (bz12205): ...this.
17427 (bz14195): Add new testcase for two empty input strings and N > 0.
17428 (test_main): Call new testcase, adapt for renamed function.
17429
9c55864e
AJ
174302012-08-15 Andreas Jaeger <aj@suse.de>
17431
17432 [BZ #14090]
17433 * crypt/md5test2.c: New test, based on test supplied by Serge
17434 Belyshev <belyshev@depni.sinp.msu.ru>.
17435 * crypt/Makefile (xtests): Add md5test-giant..
17436 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17437
02dcb6c5
PE
174382012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17439
17440 [BZ #14090]
17441 * crypt/md5.c (md5_process_block): Don't assume the buffer
17442 length is less than 2**32.
17443 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17444 length is less than 2**64.
17445
a3f95dcc
RM
174462012-08-15 Roland McGrath <roland@hack.frob.com>
17447
be75d758
RM
17448 * string/str-two-way.h: Include <sys/param.h>.
17449 (MAX): Macro removed.
17450
7312ca90
RM
17451 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17452 Move #define and #undef of memmove to just before and after
17453 including <string.h>.
17454
9a0a5486
RM
17455 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17456 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17457 and after including <string.h>. Move declarations of
17458 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17459 to before #include "string/memmove.c".
17460
67cc348d
RM
17461 * include/dirent.h: Declare __getdirentries.
17462
a3f95dcc
RM
17463 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17464 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17465
ca98e171
MF
174662012-08-14 Mike Frysinger <vapier@gentoo.org>
17467
17468 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17469 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17470 * sysdeps/i386/configure: Regenerated.
17471 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17472 STABS_CURRENT_FILE, and STABS_FUN.
17473 (END): Remove call to STABS_FUN_END.
17474 (STABS_CURRENT_FILE1): Delete.
17475 (STABS_CURRENT_FILE): Likewise.
17476 (STABS_FUN): Likewise.
17477 (STABS_FUN_END): Likewise.
17478 (STABS_FUN2): Likewise.
17479 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17480 * sysdeps/x86_64/configure: Regenerated.
17481
5908bf46
RM
174822012-08-14 Roland McGrath <roland@hack.frob.com>
17483
17484 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17485 * elf/dl-lookup.c: Likewise.
5908bf46 17486
f2c05b9e
JM
174872012-08-14 Joseph Myers <joseph@codesourcery.com>
17488
17489 * sysdeps/unix/sysv/linux/kernel-features.h
17490 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17491 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17492 unconditionally.
17493 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17494 unconditionally.
17495 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17496 condition on __ASSUME_CLONE_THREAD_FLAGS.
17497
e11f5155
AJ
174982012-08-14 Andreas Jaeger <aj@suse.de>
17499
17500 * sysdeps/i386/fpu/libm-test-ulps: Update.
17501
51a9ba86
MK
175022012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17503
2fdd4f78
AJ
17504 * include/atomic.h (atomic_exchange_and_add): Split into ...
17505 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17506 New atomic macros.
51a9ba86 17507
ba6cba9e
MT
175082012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17509
17510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17511
42443a47
JL
175122012-08-13 Jeff Law <law@redhat.com>
17513
17514 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17515 null byte in the output string.
17516
121dce05
JM
175172012-08-10 Joseph Myers <joseph@codesourcery.com>
17518
17519 * sysdeps/unix/sysv/linux/kernel-features.h
17520 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17521 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17522 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17524 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17525 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17526 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17527
bf51f568
JL
175282012-08-09 Jeff Law <law@redhat.com>
17529
17530 [BZ #13939]
17531 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17532 When avoid_arena is set, don't retry in the that arena. Pick the
17533 next one, whatever it might be.
17534 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17535 (arena_lock): Pass in new parameter to arena_get2.
17536 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17537 arena_get2.
17538 (__libc_malloc): Unify retrying after main arena failure with
17539 __libc_memalign version.
17540 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17541
f85fa270
L
175422012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17543
17544 [BZ #14166]
17545 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17546 to __redirect_strstr.
17547 (__strstr_sse42): Use typeof __redirect_strstr.
17548 (__strstr_ia32): Likewise.
17549 (__libc_strstr): New prototype.
17550 (strstr): Renamed to ...
17551 (__libc_strstr): This.
17552 (strstr): New strong alias of __libc_strstr.
17553 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17554 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17555 __redirect_time.
17556 Include <time.h>.
17557 (__libc_time): New prototype.
17558 (time_ifunc): Replace time with __libc_time.
17559 (time): New strong alias and hidden definition of __libc_time.
17560 (__GI_time): Remove strong alias.
17561 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17562 Include <stddef.h>.
17563 (memmove): Redefined to __redirect_memmove.
17564 (__memmove_sse2): Use typeof __redirect_memmove.
17565 (__memmove_ssse3): Likewise.
17566 (__memmove_ssse3_back): Likewise.
17567 (__libc_memmove): New prototype.
17568 (memmove): Renamed to ...
17569 (__libc_memmove): This.
17570 (memmove): New strong alias of __libc_memmove.
17571
33b4a91e
MS
175722012-08-08 Mark Salter <msalter@redhat.com>
17573
17574 * elf/elf.h
17575 (R_MN10300_TLS_GD): Define.
17576 (R_MN10300_TLS_LD): Likewise.
17577 (R_MN10300_TLS_LDO): Likewise.
17578 (R_MN10300_TLS_GOTIE): Likewise.
17579 (R_MN10300_TLS_IE): Likewise.
17580 (R_MN10300_TLS_LE): Likewise.
17581 (R_MN10300_TLS_DTPMOD): Likewise.
17582 (R_MN10300_TLS_DTPOFF): Likewise.
17583 (R_MN10300_TLS_TPOFF): Likewise.
17584 (R_MN10300_SYM_DIFF): Likewise.
17585 (R_MN10300_ALIGN): Likewise.
17586 (R_MN10300_NUM): Update.
17587
b36137f1
JM
175882012-08-08 Joseph Myers <joseph@codesourcery.com>
17589
17590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17591 Remove.
17592
cdd915fd
RM
175932012-08-08 Roland McGrath <roland@hack.frob.com>
17594
a2433aac
RM
17595 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17596
cdd915fd
RM
17597 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17598 sysdeps/unix -> sysdeps/posix move.
17599 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17600
bf9b740a
AM
176012012-08-07 Allan McRae <allan@archlinux.org>
17602
17603 [BZ #14303]
17604 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17605 (SUNOS_CPP): Likewise.
17606 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17607 not found.
17608 (open_input): Call CPP using execvp.
17609
93df14ee
JM
176102012-08-07 Joseph Myers <joseph@codesourcery.com>
17611
17612 * sysdeps/unix/sysv/linux/kernel-features.h
17613 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17614 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17615 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17616 (__ASSUME_WAITID_SYSCALL): Likewise.
17617 * sysdeps/unix/sysv/linux/dl-execstack.c
17618 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17619 code unconditional.
17620 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17621 conditional code.
17622 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17623 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17624 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17625 code.
17626 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17627 unconditional.
17628 [__ASSUME_WAITID_SYSCALL]: Likewise.
17629 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17630
d34689de
RM
176312012-08-07 Roland McGrath <roland@hack.frob.com>
17632
a281decc
RM
17633 * sysdeps/unix/closedir.c: Renamed to ...
17634 * sysdeps/posix/closedir.c: ... here.
17635 * sysdeps/unix/dirfd.c: Renamed to ...
17636 * sysdeps/posix/dirfd.c: ... here.
17637 * sysdeps/unix/dirstream.h: Renamed to ...
17638 * sysdeps/posix/dirstream.h: ... here.
17639 * sysdeps/unix/fdopendir.c: Renamed to ...
17640 * sysdeps/posix/fdopendir.c: ... here.
17641 * sysdeps/unix/opendir.c: Renamed to ...
17642 * sysdeps/posix/opendir.c: ... here.
17643 * sysdeps/unix/readdir.c: Renamed to ...
17644 * sysdeps/posix/readdir.c: ... here.
17645 * sysdeps/unix/readdir_r.c: Renamed to ...
17646 * sysdeps/posix/readdir_r.c: ... here.
17647 * sysdeps/unix/rewinddir.c: Renamed to ...
17648 * sysdeps/posix/rewinddir.c: ... here.
17649 * sysdeps/unix/seekdir.c: Renamed to ...
17650 * sysdeps/posix/seekdir.c: ... here.
17651 * sysdeps/unix/telldir.c: Renamed to ...
17652 * sysdeps/posix/telldir.c: ... here.
17653 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17654 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17655 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17656 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17657
22895b47
RM
17658 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17659 * bits/fcntl.h: ... here.
17660
707a53b6
RM
17661 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17662 not 0.
17663 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17664 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17665 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17666 (struct flock): Move l_start, l_len to the beginning.
17667 Use __pid_t for l_pid.
17668 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17669 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17670 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17671 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17672 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17673 [__USE_LARGEFILE64] (struct flock64): New type.
17674 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17675
f0bd3e25
RM
17676 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17677 * bits/dirent.h: ... here.
17678
d34689de
RM
17679 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17680 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17681
6dad2c06
JM
176822012-08-07 Joseph Myers <joseph@codesourcery.com>
17683
17684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17685 Change from 2.6.0 to 2.6.16.
17686 * sysdeps/unix/sysv/linux/configure: Regenerated.
17687 * sysdeps/unix/sysv/linux/kernel-features.h
17688 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17689 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17690 version.
17691 (__ASSUME_UTIMES): Likewise.
17692 (__ASSUME_CLONE_STOPPED): Remove.
17693 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17694 architectures, not kernel version.
17695 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17696 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17697 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17698 (__ASSUME_WAITID_SYSCALL): Likewise.
17699 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17700 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17701 * README: State 2.6.16 as minimum Linux kernel version. Do not
17702 refer to older versions.
17703
03af9520
RM
177042012-08-06 Roland McGrath <roland@hack.frob.com>
17705
8e49df1d
RM
17706 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17707 Define alphasort64 as an alias.
17708 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17709 Define versionsort64 as an alias.
17710 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17711 Define scandir64 as an alias.
17712 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17713 Define scandirat64 as an alias.
17714 * dirent/alphasort64.c (alphasort64):
17715 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17716 * dirent/versionsort64.c: Likewise.
17717 * dirent/scandir64.c: Likewise.
17718 * dirent/scandirat64.c: Likewise.
17719 * sysdeps/wordsize-64/alphasort.c: File removed.
17720 * sysdeps/wordsize-64/alphasort64.c: File removed.
17721 * sysdeps/wordsize-64/scandir.c: File removed.
17722 * sysdeps/wordsize-64/scandir64.c: File removed.
17723 * sysdeps/wordsize-64/scandirat.c: File removed.
17724 * sysdeps/wordsize-64/scandirat64.c: File removed.
17725 * sysdeps/wordsize-64/versionsort.c: File removed.
17726 * sysdeps/wordsize-64/versionsort64.c: File removed.
17727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17728 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17729 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17730 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17731 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17732 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17733 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17734 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17735
17736 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17738 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17740 [defined __arch64__ || defined __sparcv9]
17741 (__INO_T_MATCHES_INO64_T): New macro.
17742 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17743 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17744 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17745 * sysdeps/unix/sysv/linux/bits/dirent.h
17746 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17747 (_DIRENT_MATCHES_DIRENT64): New macro.
17748
03af9520
RM
17749 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17750 Define lockf64 as an alias.
17751 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17752 Define fseeko64 as an alias.
17753 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17754 Define ftello64 as an alias.
17755 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17756 Define _IO_fgetpos64 and fgetpos64 as aliases.
17757 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17758 Define _IO_fsetpos64 and fsetpos64 as aliases.
17759 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17760 Conditionalize body on this.
17761 * libio/fseeko64.c: Likewise.
17762 * libio/ftello64.c: Likewise.
17763 * libio/iofgetpos64.c: Likewise.
17764 * libio/iofsetpos64.c: Likewise.
17765 * sysdeps/wordsize-64/lockf.c: File removed.
17766 * sysdeps/wordsize-64/lockf64.c: File removed.
17767 * sysdeps/wordsize-64/fseeko.c: File removed.
17768 * sysdeps/wordsize-64/fseeko64.c: File removed.
17769 * sysdeps/wordsize-64/ftello.c: File removed.
17770 * sysdeps/wordsize-64/ftello64.c: File removed.
17771 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17772 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17773 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17774 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17777 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17778 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17779 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17780 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17781 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17782 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17785
17786 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17788 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17790 [defined __arch64__ || defined __sparcv9]
17791 (__OFF_T_MATCHES_OFF64_T): New macro.
17792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17793 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17795 (__OFF_T_MATCHES_OFF64_T): New macro.
17796
c5757acd
L
177972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17798
17799 * stdlib/secure-getenv.c (__secure_getenv): Replace
17800 GLIBC_2_16 with GLIBC_2_17.
17801
3a31811e
L
178022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17803
17804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17806
faa2bccb
DM
178072012-08-03 David S. Miller <davem@davemloft.net>
17808
17809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17810
85fe1997
JM
178112012-08-03 Joseph Myers <joseph@codesourcery.com>
17812
17813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17814 Remove.
17815 (__ASSUME_CORRECT_SI_PID): Likewise.
17816 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17817 (__ASSUME_TMPFS_NAME): Likewise.
17818 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17819 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17820 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17821 (HAVE_AUX_SECURE): Make definition unconditional.
17822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17823 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17824
4f75b7a0
RM
178252012-08-03 Roland McGrath <roland@hack.frob.com>
17826
17827 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17828 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17829 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17830 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17831 __eloop_threshold instead of SYMLOOP_MAX.
17832
17833 * sysdeps/generic/eloop-threshold.h: New file.
17834 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17835 of MAXSYMLINKS.
17836 * elf/chroot_canon.c (chroot_canon): Likewise.
17837
7aab07e4
JM
178382012-08-03 Joseph Myers <joseph@codesourcery.com>
17839
17840 [BZ #13717]
17841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17842 Change to 2.6.0 everywhere.
17843 * sysdeps/unix/sysv/linux/configure: Regenerated.
17844 * sysdeps/unix/sysv/linux/kernel-features.h
17845 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17846 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17847 kernel versions.
17848 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17849 (__ASSUME_FUTEX_REQUEUE): Remove.
17850 (__ASSUME_STATFS64): Define unconditionally.
17851 (__ASSUME_AT_SECURE): Likewise.
17852 (__ASSUME_CORRECT_SI_PID): Likewise.
17853 (__ASSUME_TGKILL): Define without depending on kernel version for
17854 i386.
17855 (__ASSUME_UTIMES): Likewise.
17856 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17857 kernel version.
17858 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17859 (__ASSUME_TMPFS_NAME): Likewise.
17860 * README: Update reference to Linux kernel versions.
17861
b67e9372
MP
178622012-08-02 Marek Polacek <polacek@redhat.com>
17863
1f529f7d 17864 [BZ# 14150]
b67e9372
MP
17865 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17866 libc_cv_asm_type_prefix with %.
17867 * configure: Regenerated.
d2441631
RM
17868 * include/libc-symbols.h: Remove comment about
17869 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17870 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17871 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17872 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17873 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17874 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17875 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17876 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17877 * elf/tst-unique2mod1.c: Likewise.
17878 * elf/tst-unique1mod2.c: Likewise.
17879 * elf/tst-unique1mod1.c: Likewise.
17880 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17881 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17882 Replace ASM_TYPE_DIRECTIVE with .type.
17883 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17884 * sysdeps/i386/sysdep.h: Likewise.
17885 * sysdeps/x86_64/sysdep.h: Likewise.
17886 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17888 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17889 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17890 * sysdeps/powerpc/powerpc32/sysdep.h:
17891 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17892 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17893 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17894 * sysdeps/i386/fpu/e_powf.S: Likewise.
17895 * sysdeps/i386/fpu/e_expl.S: Likewise.
17896 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17897 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17898 * sysdeps/i386/fpu/e_pow.S: Likewise.
17899 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17901 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17902 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17903 * sysdeps/i386/fpu/e_log2.S: Likewise.
17904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17906 * sysdeps/i386/fpu/e_powl.S: Likewise.
17907 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17908 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17909 * sysdeps/i386/fpu/e_logl.S: Likewise.
17910 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17911 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17912 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17915 * sysdeps/i386/fpu/e_log.S: Likewise.
17916 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17917 * sysdeps/i386/fpu/e_logf.S: Likewise.
17918 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17919 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17920 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17921 * sysdeps/i386/fpu/e_log10.S: Likewise.
17922 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17923 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17924 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17925 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17926 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17927 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17928 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17929 * sysdeps/i386/i686/strtok.S: Likewise.
17930 * sysdeps/i386/i386-mcount.S: Likewise.
17931 * sysdeps/i386/strtok.S: Likewise.
17932 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17933 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17934 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17935 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17936 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17937 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17938 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17939 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17941 * sysdeps/x86_64/_mcount.S: Likewise.
17942 * sysdeps/x86_64/strtok.S: Likewise.
17943 * sysdeps/sh/_mcount.S: Likewise.
17944
2747bf9a
RM
179452012-08-01 Roland McGrath <roland@hack.frob.com>
17946
17947 * libio/iofopen.c: Include <fcntl.h>.
17948 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17949 (_IO_fopen64, fopen64): Define as aliases.
17950 * libio/iofopen64.c: Include <fcntl.h>.
17951 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17952 Conditionalize body on this.
17953 * sysdeps/wordsize-64/iofopen.c: File removed.
17954 * sysdeps/wordsize-64/iofopen64.c: File removed.
17955
3fb791b8
MP
179562012-08-01 Marek Polacek <polacek@redhat.com>
17957
17958 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17959 Use dlfcn directly instead of a variable.
17960 (binfmt-subdir): Do not define.
17961 (dlfcn): Likewise.
17962
a9f1039f
JM
179632012-08-01 Joseph Myers <joseph@codesourcery.com>
17964
23bddc06
JM
17965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17966 Remove all definitions.
17967 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17968 <kernel-features.h>.
17969 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17970 (miss_F_GETOWN_EX): Remove all definitions.
17971 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17972 macro definition.
17973 [!__ASSUME_FCNTL64]: Remove conditional code.
17974 [__ASSUME_FCNTL64]: Make code unconditional.
17975 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17976 <kernel-features.h>.
17977 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17978 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17979 (lockf64) [__NR_fcntl64]: Make code unconditional.
17980 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17981
a9f1039f
JM
17982 * sysdeps/unix/sysv/linux/kernel-features.h
17983 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17984 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17985 Make code unconditional.
17986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17989 [__NR_vfork]: Make code unconditional.
17990 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17991 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17993 [__NR_vfork]: Make code unconditional.
17994 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17995 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17996
09c0ee5f
RM
179972012-08-01 Roland McGrath <roland@hack.frob.com>
17998
48aec5b9
RM
17999 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18000 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18001
cd97c966
RM
18002 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18003 Define mkstemp64 as an alias.
3f55550c
RM
18004 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18005 Define mkstemps64 as an alias.
cd97c966
RM
18006 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18007 Define mkostemp64 as an alias.
b8625cfc
RM
18008 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18009 Define mkostemps64 as an alias.
cd97c966
RM
18010 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18011 Conditionalize body on this.
18012 * misc/mkostemp64.c: Likewise.
b8625cfc 18013 * misc/mkostemps64.c: Likewise.
3f55550c 18014 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18015 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18016 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18017 * sysdeps/wordsize-64/mkostemp.c: File removed.
18018 * sysdeps/wordsize-64/mkstemp.c: File removed.
18019 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18020 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18021 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18022 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18023
09c0ee5f
RM
18024 [BZ #14138]
18025 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18026 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18027 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18028 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18029
18030 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18031 compat_symbol macros from <shlib-compat.h> rather than the underlying
18032 default_symbol_version and symbol_version macros, so that DEFAULT
18033 lines in shlib-versions are respected.
18034 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18035
7e66ee51
FW
180362012-08-01 Florian Weimer <fweimer@redhat.com>
18037
18038 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18039 Declare with warn_unused_result.
18040 (setgid, setregid, setegid, setresgid): Likewise.
18041 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18042 Likewise.
18043 * WUR-REPORT: Remove set*id functions.
18044
d2a54255
PT
180452012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18046
18047 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18048
7ecdb005
RM
180492012-07-31 Roland McGrath <roland@hack.frob.com>
18050
b4180a5e 18051 [BZ #10191]
789bd351
RM
18052 * include/sys/socket.h (__libc_accept, __libc_accept4):
18053 Add attribute_hidden.
18054 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18055
40ce302d
RM
18056 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18057 use of PTR_MANGLE.
18058 * inet/getnetgrent_r.c (setup): Likewise.
18059
7ecdb005
RM
18060 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18061
e2eabb2c
DM
180622012-07-31 David S. Miller <davem@davemloft.net>
18063
18064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18065
d0419dbf
JM
180662012-07-31 Joseph Myers <joseph@codesourcery.com>
18067
18068 [BZ #13629]
18069 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18070 value between 1.0 and 2.0 and smaller part has absolute value less
18071 than 1.0.
18072 * math/s_clog10.c (__clog10): Likewise.
18073 * math/s_clog10f.c (__clog10f): Likewise.
18074 * math/s_clog10l.c (__clog10l): Likewise.
18075 * math/s_clogf.c (__clogf): Likewise.
18076 * math/s_clogl.c (__clogl): Likewise.
18077 * math/libm-test.inc (clog_test): Add more tests.
18078 (clog10_test): Likewise.
18079 * sysdeps/i386/fpu/libm-test-ulps: Update.
18080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18081
2bc13872
FW
180822012-07-31 Florian Weimer <fweimer@redhat.com>
18083
18084 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18085 Exit with zero in case no suitable GID is found, and write a
18086 message to standard error.
18087
bea9b193
RM
180882012-07-30 Roland McGrath <roland@hack.frob.com>
18089
18090 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18091 rather than to 1.
18092 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18093 (MAXPATHLEN): Removed.
18094 (NOGROUP, NODEV): New macros.
18095 (setbit, clrbit, isset, isclr): New macros.
18096 (howmany, roundup, powerof2): New macros.
18097 (DEV_BSIZE): New macro.
18098
18099 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18100 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18101
18102 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18103 definition on [!__NO_LONG_DOUBLE_MATH].
18104
18105 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18106 PTR_MANGLE and PTR_DEMANGLE.
18107
18108 * socket/accept4.c (accept4): Rename to __libc_accept4.
18109 Define accept4 as a weak alias.
18110
18111 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18112 on [_DIRENT_HAVE_D_TYPE].
18113 * io/ftw.c (ftw_dir): Likewise.
18114
18115 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18116
18117 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18118
18119 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18120 Use the BSD numbers rather than the arbitrary ones we had.
18121 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18122 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18123 (SIGXCPU, SIGXFSZ): New macros.
18124 (_NSIG): Now 32.
18125
18126 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18127 initializer on [_LIBC_REENTRANT].
18128
18129 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18130 definitions inside [_POSIX_MAPPED_FILES].
18131
18132 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18133
18134 * dirent/opendir.c: Include <fcntl.h>.
18135
18136 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18137 (__libc_getspecific): Likewise.
18138 (__libc_key_create): Likewise.
18139
18140 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18141 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18142 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18143 (tmpfile64): Define as alias.
18144 * sysdeps/wordsize-64/tmpfile.c: File removed.
18145 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18146 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18147 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18148
18149 * stdio-common/vfscanf.c: Include <stdbool.h>.
18150 * nss/makedb.c: Likewise.
18151 * stdio-common/_i18n_number.h: Likewise.
18152 * argp/argp-help.c: Likewise.
18153 * posix/wordexp.c: Likewise.
18154 * sysdeps/posix/spawni.c: Likewise.
18155 * nss/nss_files/files-initgroups.c: Likewise.
18156 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18157 * nss/nss_files/files-initgroups.c: Likewise.
18158 * nss/nss_db/db-netgrp.c: Likewise.
18159 * nss/nss_db/db-initgroups.c: Likewise.
18160 * io/fchmodat.c: Include <sys/stat.h>.
18161
18162 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18163 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18164
18165 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18166 [HAVE_MMAP].
18167
18168 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18169 Add multiple inclusion protection.
18170
e5abc686
DM
181712012-07-27 David S. Miller <davem@davemloft.net>
18172
18173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18174
815e6fa3
GB
181752012-07-27 Gary Benson <gbenson@redhat.com>
18176
18177 [BZ #14298]
18178 * elf/rtld.c: Include <stap-probe.h>.
18179 (dl_main): Added static probes "init_start" and "init_complete".
18180 * elf/dl-load.c: Include <stap-probe.h>.
18181 (lose): Take new parameter "nsid".
18182 Added static probe "map_failed".
18183 (_dl_map_object_from_fd): Pass namespace id to lose.
18184 Added static probe "map_start".
18185 (open_verify): Pass namespace id to lose.
18186 * elf/dl-open.c: Include <stap-probe.h>.
18187 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18188 and "reloc_complete".
18189 * elf/dl-close.c: Include <stap-probe.h>.
18190 (_dl_close_worker): Added static probes "unmap_start" and
18191 "unmap_complete".
18192 * elf/rtld-debugger-interface.txt: New file documenting the above.
18193
9f98c16c
RM
181942012-07-26 Roland McGrath <roland@hack.frob.com>
18195
18196 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18197 rather than a string variable.
18198 * sunrpc/rpc_main.c (h_output): Likewise.
18199 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18200
f3c22df3
PT
182012012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18202
18203 * inet/check_native.c: New file.
18204
3129cfc6
JM
182052012-07-26 Joseph Myers <joseph@codesourcery.com>
18206
da865e95
JM
18207 [BZ #13629]
18208 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18209 if larger part has absolute value 1.0.
18210 * math/s_clog10.c (__clog10): Likewise.
18211 * math/s_clog10f.c (__clog10f): Likewise.
18212 * math/s_clog10l.c (__clog10l): Likewise.
18213 * math/s_clogf.c (__clogf): Likewise.
18214 * math/s_clogl.c (__clogl): Likewise.
18215 * math/libm-test.inc (clog_test): Add more tests.
18216 (clog10_test): Likewise.
18217 * sysdeps/i386/fpu/libm-test-ulps: Update.
18218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18219
3129cfc6
JM
18220 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18221 (pltexit): Likewise.
18222 (La_regs): Likewise.
18223 (La_retval): Likewise.
18224 (int_retval): Likewise.
18225 Update #error for removed macros to refer only to definitions in
18226 tst-audit.h.
18227 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18228 macro.
18229 (pltexit): Likewise.
18230 (La_regs): Likewise.
18231 (La_retval): Likewise.
18232 (int_retval): Likewise.
18233 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18234 macro.
18235 (pltexit): Likewise.
18236 (La_regs): Likewise.
18237 (La_retval): Likewise.
18238 (int_retval): Likewise.
18239 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18240 macro.
18241 (pltexit): Likewise.
18242 (La_regs): Likewise.
18243 (La_retval): Likewise.
18244 (int_retval): Likewise.
18245 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18246 macro.
18247 (pltexit): Likewise.
18248 (La_regs): Likewise.
18249 (La_retval): Likewise.
18250 (int_retval): Likewise.
18251 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18252 macro.
18253 (pltexit): Likewise.
18254 (La_regs): Likewise.
18255 (La_retval): Likewise.
18256 (int_retval): Likewise.
18257 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18258 macro.
18259 (pltexit): Likewise.
18260 (La_regs): Likewise.
18261 (La_retval): Likewise.
18262 (int_retval): Likewise.
18263 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18264 macro definitions in tst-audit.h.
18265 * sysdeps/i386/tst-audit.h: New file.
18266 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18267 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18268 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18269 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18270 * sysdeps/sh/tst-audit.h: Likewise.
18271 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18272 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18273 * sysdeps/x86_64/tst-audit.h: Likewise.
18274
bfc07087
AJ
182752012-07-26 Andreas Jaeger <aj@suse.de>
18276
b1b2aaf8
AJ
18277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18278 ptrace.
18279
18280 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18281 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18282 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18283 PTRACE_O_MASK.
18284 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18285 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18286 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18287
bfc07087
AJ
18288 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18289 value.
18290
18291 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18292 _sigsys.
18293 (si_call_addr, si_syscall, si_arch): Define new macro.
18294 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18295 _sigsys.
18296 (si_call_addr, si_syscall, si_arch): Define new marcro.
18297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18298 _sigsys.
18299 (si_call_addr, si_syscall, si_arch): Define new macro.
18300 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18301 _sigsys.
18302 (si_call_addr, si_syscall, si_arch): Define new macro.
18303
89b4b02f
JM
183042012-07-25 Joseph Myers <joseph@codesourcery.com>
18305
18306 [BZ #13717]
18307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18308 Change to 2.4.21 where previously 2.4.1.
18309 * sysdeps/unix/sysv/linux/configure: Regenerated.
18310 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18311 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18312 Linux kernel version.
18313 (__ASSUME_STD_AUXV): Remove.
18314 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18315 kernel version.
18316 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18317 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18318 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18319 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18320 (__ASSUME_NETLINK_SUPPORT): Likewise.
18321 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18322 (__no_netlink_support): Remove conditional definition.
18323 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18324 Remove.
18325 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18326 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18327 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18328 (if_nameindex_ioctl): Remove.
18329 (if_nameindex_netlink): Do not handle __no_netlink_support.
18330 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18331 code.
18332 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18333 Remove conditional code.
18334 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18335 code.
18336 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18337 unconditional.
18338 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18339 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18340 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18341 Remove.
18342 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18343 [!__ASSUME_STD_AUXV]: Remove conditional code.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18345 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18346 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18348 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18349 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18350 code.
18351 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18353 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18354 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18355 conditional code.
18356 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18358 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18359 code.
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18361 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18362 conditional code.
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18364 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18365 code unconditional.
18366 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18367 conditional code.
18368 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18369 unconditional.
18370 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18371 conditional code.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18373 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18374 unconditional.
18375 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18376 conditional code.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18378 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18379 code unconditional.
18380 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18381 conditional code.
18382 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18383 unconditional.
18384 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18385 conditional code.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18387 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18388 code unconditional.
18389 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18390 conditional code.
18391 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18392 unconditional.
18393 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18394 conditional code.
18395
842a39cd
AS
183962012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18397
18398 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18399 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18400 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18401 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18402 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18403 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18404 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18405 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18406 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18407 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18408 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18409 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18410 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18411 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18412 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18413 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18414 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18415 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18416 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18418 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18419 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18421
84b3fd84
FW
184222012-07-25 Florian Weimer <fweimer@redhat.com>
18423
18424 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18425 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18426 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18427 Introduce __libc_secure_getenv.
0c7936d5
FW
18428 * stdlib/Versions (2.17): Add secure_getenv
18429 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18430 * stdlib/secure-getenv.c: Rename __secure_getenv to
18431 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18432 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18433 * stdlib/tst-secure-getenv.c: New.
18434 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18435 * manual/startup.texi (Environment Access): Document
18436 secure_getenv.
84b3fd84
FW
18437 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18438 __libc_secure_getenv.
18439 * inet/ruserpass.c (ruserpass): Likewise.
18440 * malloc/mtrace.c (mtrace): Likewise.
18441 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18442 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18443 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18444 * sysdeps/posix/tempname.c: Likewise. Evaluate
18445 HAVE_SECURE_GETENV.
18446 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18447 __secure_getenv to __libc_secure_getenv.
84b3fd84 18448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18450 Likewise.
18451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18452 Likewise.
18453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18460
56e49b71
JM
184612012-07-25 Joseph Myers <joseph@codesourcery.com>
18462
18463 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18464 (struct La_i86_retval): Likewise.
18465 (struct La_x86_64_regs): Likewise.
18466 (struct La_x86_64_retval): Likewise.
18467 (struct La_x32_regs): Likewise.
18468 (struct La_x32_retval): Likewise.
18469 (struct La_ppc32_regs): Likewise.
18470 (struct La_ppc32_retval): Likewise.
18471 (struct La_ppc64_regs): Likewise.
18472 (struct La_ppc64_retval): Likewise.
18473 (struct La_sh_regs): Likewise.
18474 (struct La_sh_retval): Likewise.
18475 (struct La_s390_32_regs): Likewise.
18476 (struct La_s390_32_retval): Likewise.
18477 (struct La_s390_64_regs): Likewise.
18478 (struct La_s390_64_retval): Likewise.
18479 (struct La_sparc32_regs): Likewise.
18480 (struct La_sparc32_retval): Likewise.
18481 (struct La_sparc64_regs): Likewise.
18482 (struct La_sparc64_retval): Likewise.
18483 (struct audit_ifaces): Remove architecture-specific pltenter and
18484 pltexit members.
18485 * sysdeps/i386/ldsodefs.h: New file.
18486 * sysdeps/powerpc/ldsodefs.h: Likewise.
18487 * sysdeps/s390/ldsodefs.h: Likewise.
18488 * sysdeps/sh/ldsodefs.h: Likewise.
18489 * sysdeps/sparc/ldsodefs.h: Likewise.
18490 * sysdeps/x86_64/ldsodefs.h: Likewise.
18491
354691b7
MP
184922012-07-25 Marek Polacek <polacek@redhat.com>
18493
18494 [BZ #6808]
18495 * math/libm-test.inc (yn_test): Add another test.
18496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18497 to ERANGE when the result is +-Inf.
18498 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18499 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18500 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18501 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18502
bf9e2071
JM
185032012-07-24 Joseph Myers <joseph@codesourcery.com>
18504
18505 * conform/data/time.h-data (NULL): Use macro-constant. Require
18506 equal to 0.
18507 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18508 clock_t.
18509 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18510
57633811
TS
185112012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18512
18513 * configure.in <sysdeps resolving>: Correct printing
18514 Implies_before.
18515 * configure: Regenerate.
18516
c23c33b0
TS
185172012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18518
18519 * math/w_ilogb.c: Include <limits.h>.
18520 * math/w_ilogbl.c: Likewise.
18521
b5982523
JM
185222012-07-20 Joseph Myers <joseph@codesourcery.com>
18523
18524 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18525 va_copy. Document allowing for unavailable va_copy only as
18526 pre-C99 compatibility.
18527 * manual/string.texi (Copying and Concatenation): Use va_copy
18528 instead of __va_copy in concat example.
18529
ac4ea442
PT
185302012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18531
18532 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18533 (__sendto): Use create_address_port. Initialize APORT and deallocate
18534 it if not null.
18535
f98eafbd
PT
18536 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18537 with O_NOLINK passed to __file_name_lookup.
18538
898c7aab
PT
18539 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18540 with O_NOLINK passed to __file_name_lookup.
18541
0ced335a
PT
18542 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18543 negative N or less than NGIDS.
18544
b3404dbd
PT
18545 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18546 type to string_t. Set ERANGE as errno and return it if NAME is not big
18547 enough. Use memcpy instead of strncpy.
18548
0f48659e
JM
185492012-07-20 Joseph Myers <joseph@codesourcery.com>
18550
18551 * elf/Makefile (check-data): Remove.
18552 (localplt.data): New vpath directive.
18553 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18554 instead of $(check-data).
18555 * scripts/data/localplt-generic.data: Move to ...
18556 * sysdeps/generic/localplt.data: ... here.
18557 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18558 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18559 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18561 ... here.
18562 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18564 ... here.
18565 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18567 ... here.
18568 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18570 ... here.
18571 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18573 ... here.
18574 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18576 ... here.
18577
d37cbdaa
AZ
185782012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18579
18580 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18581 PPC32 and PPC64 files.
18582 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18583 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18584
46f85fc2
AK
185852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18586
18587 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18588 __makecontext_ret to ...
18589 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18590 ... here and call exit if uc_link is NULL. New file.
18591 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18592 __makecontext_ret.S.
18593 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18594 __makecontext_ret to ...
18595 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18596 ... here and call exit if uc_link is NULL. New file.
18597 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18598 __makecontext_ret.S.
18599
08f43f9b
AK
186002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18601
18602 * elf/elf.h (R_390_IRELATIVE): New definition.
18603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18604 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18605 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18606 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18607 (elf_machine_lazy_rel): Likewise.
18608 * sysdeps/s390/dl-irel.h: New file.
18609 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18610 * sysdeps/s390/s390-64/memset.S: New asm code.
18611 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18612 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18614 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18615 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18616 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18617 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18618 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18619 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18620 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18621 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18622 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18623 * sysdeps/s390/s390-32/memset.S: New asm code.
18624 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18625
3b05db33
MP
186262012-07-17 Marek Polacek <polacek@redhat.com>
18627
18628 [BZ #14349]
18629 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18630 * sysdeps/s390/s390-64/configure.in: Likewise.
18631 * sysdeps/sparc/configure.in: Likewise.
18632 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18633 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18634 * sysdeps/i386/configure.in: Likewise.
18635 * sysdeps/x86_64/configure.in: Likewise.
18636 * sysdeps/sh/configure.in: Likewise.
18637 * sysdeps/s390/s390-32/configure: Regenerated.
18638 * sysdeps/s390/s390-64/configure: Likewise.
18639 * sysdeps/x86_64/configure: Likewise.
18640 * sysdeps/sh/configure: Likewise.
18641 * sysdeps/powerpc/powerpc64/configure: Likewise.
18642 * sysdeps/powerpc/powerpc32/configure: Likewise.
18643 * sysdeps/sparc/configure: Likwise.
18644 * sysdeps/i386/configure: Likewise.
18645
a66877c6
MP
18646 * elf/dl-open.c: Comment fixes.
18647
cfc82fd8
JM
186482012-07-17 Joseph Myers <joseph@codesourcery.com>
18649
bd29910a
JM
18650 * Makefile [CXX] (check-data): Remove.
18651 [CXX] (c++-types.data): New vpath directive.
18652 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18653 vpath. Do not allow for C++ type data being missing.
18654 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18655 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18656 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18657 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18658 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18659 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18660 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18662 ... here.
18663 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18665 ... here.
18666 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18668 ... here.
18669 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18671 ... here.
18672 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18674 ... here.
18675 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18677 ... here.
18678 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18680 ... here.
18681 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18683
cfc82fd8
JM
18684 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18685 definitions to architecture-specific files.
18686 (TLS_IE): Likewise.
18687 (TLS_LD): Likewise.
18688 (TLS_GD): Likewise.
18689 * sysdeps/i386/tls-macros.h: New file.
18690 * sysdeps/powerpc/tls-macros.h: Likewise.
18691 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18692 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18693 * sysdeps/sh/tls-macros.h: Likewise.
18694 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18695 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18696 * sysdeps/x86_64/tls-macros.h: Likewise.
18697
f7db3170
TS
186982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18699
07cbfc23
TS
18700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18701 zero value for regular exit case.
18702
f7db3170
TS
18703 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18704 (__start_context): Preserve zero value for regular exit case.
18705
dc97c227
TS
187062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18707 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18708
18709 * manual/setjmp.texi (setcontext): Clarify normal process
18710 termination when uc_link is the null pointer.
18711 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18712 exit call.
18713
d0cd7d02
AS
187142012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18715
18716 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18717 preprocessor. Test for each exception mask separately.
18718
dd318934
AJ
187192012-07-16 Andreas Jaeger <aj@suse.de>
18720
18721 * po/ru.po: Update from translation team.
18722
8048311a
JM
187232012-07-15 Joseph Myers <joseph@codesourcery.com>
18724
18725 * conform/data/string.h-data (NULL): Use macro-constant. Require
18726 equal to 0.
18727 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18728 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18729 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18730 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18732
b637d46e
AJ
187332012-07-13 Andreas Jaeger <aj@suse.de>
18734
18735 * po/fr.po: Update from translation team.
18736
541428fe
MP
187372012-07-12 Marek Polacek <polacek@redhat.com>
18738
18739 [BZ #14173]
18740 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18742 loop condition.
18743
ec332e94
JM
187442012-07-12 Joseph Myers <joseph@codesourcery.com>
18745
18746 [BZ #13717]
18747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18748 Change to 2.4.1 where previously 2.4.0.
18749 * sysdeps/unix/sysv/linux/configure: Regenerated.
18750 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18751 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18752 version.
18753 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18754 (__ASSUME_AT_CLKTCK): Remove.
18755 (__ASSUME_AT_PAGESIZE): Likewise.
18756 (__ASSUME_AT_XID): Likewise.
18757 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18758 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18759 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18760 unconditionally.
18761 (HAVE_AUX_PAGESIZE): Likewise.
18762 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18763 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18764 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18765
7b6e99be
JB
187662012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18767
18768 [BZ #14307]
18769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18770 the temporary buffer used to invoke __gethostbyname2_r,
18771 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18772 host_data / struct gaih_addrtuple.
18773 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18774 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18775 header file nss/nsswitch.h.
18776 * nss/nsswitch.h (global scope): Add definition of implementation
18777 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18778 resolv/nss_dns/dns-host.c).
18779
608404eb
AJ
187802012-07-11 Andreas Jaeger <aj@suse.de>
18781
18782 * po/fr.po: Update from translation team.
18783
71220aca
AJ
18784 * po/sv.po: Update from translation team
18785 * po/fr.po: Another update from translation team.
18786
28cfe843
AZ
187872012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18788
18789 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18790 for subnormals or multiply small sinh result by itself.
18791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18793
6b90f981
DM
187942012-07-11 David S. Miller <davem@davemloft.net>
18795
18796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18797
c6825772
AS
187982012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18799
18800 [BZ #14347]
18801 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18802 (INTERNAL_MARK): Shift it here.
18803
7b8e0d49
MP
188042012-07-10 Marek Polacek <polacek@redhat.com>
18805
18806 [BZ #14151]
18807 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18808 libc_cv_asm_global_directive with .globl.
18809 * configure: Regenerated.
18810 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18811 with .globl.
18812 * sysdeps/i386/configure: Regenerated.
18813 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18814 with .globl.
18815 * sysdeps/x86_64/configure: Regenerated.
18816 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18817 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18818 * elf/tst-unique2mod2.c: Likewise.
18819 * elf/tst-unique2mod1.c: Likewise.
18820 * elf/tst-unique1mod2.c: Likewise.
18821 * elf/tst-unique1mod1.c: Likewise.
18822 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18823 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18824 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18825 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18826 * sysdeps/mach/sysdep.h: Likewise.
18827 * sysdeps/i386/sysdep.h: Likewise.
18828 * sysdeps/i386/i386-mcount.S: Likewise.
18829 * sysdeps/x86_64/_mcount.S: Likewise.
18830 * sysdeps/x86_64/sysdep.h: Likewise.
18831 * sysdeps/sh/_mcount.S: Likewise.
18832 * sysdeps/sh/sysdep.h: Likewise.
18833 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18834 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18835 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18836 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18837 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18838 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18839 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18840 * locale/localeinfo.h: Likewise.
18841 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18842 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18843
6c55cda3
RM
188442012-07-09 Roland McGrath <roland@hack.frob.com>
18845
18846 [BZ #14336]
18847 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18848 system".
18849 * manual/message.texi (The Uniforum approach): Likewise.
18850 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18851 (glibc iconv Implementation): Likewise.
18852
638a572e
JM
188532012-07-09 Joseph Myers <joseph@codesourcery.com>
18854
18855 [BZ #14337]
18856 * math/s_clog.c (__clog): Avoid scaling a value down where that
18857 could result in underflow.
18858 * math/s_clog10.c (__clog10): Likewise.
18859 * math/s_clog10f.c (__clog10f): Likewise.
18860 * math/s_clog10l.c (__clog10l): Likewise.
18861 * math/s_clogf.c (__clogf): Likewise.
18862 * math/s_clogl.c (__clogl): Likewise.
18863 * math/libm-test.inc (clog_test): Add more tests.
18864 (clog10_test): Likewise.
18865 * sysdeps/i386/fpu/libm-test-ulps: Update.
18866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18867
261f4859
AS
188682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18869
0abaf3e4
AS
18870 [BZ #14283]
18871 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18872 by 7 not 8 to examine high bit of fractional part.
18873
261f4859
AS
18874 [BZ #14042]
18875 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18876 for call to __mcount_internal.
18877 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18878 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18879 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18880
f17ac40d
JM
188812012-07-06 Joseph Myers <joseph@codesourcery.com>
18882
9ad63c23
JM
18883 [BZ #14154]
18884 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18885 approximation for values within 0x1p-13f of an odd multiple of
18886 pi/4.
18887 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18888 exception. Add more tests.
18889 * sysdeps/i386/fpu/libm-test-ulps: Update.
18890
f17ac40d
JM
18891 [BZ #6778]
18892 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18893 inputs and return -1 for them. Do not check for +Inf in case not
18894 reachable for +Inf.
18895 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18896 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18897 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18898 and return -1 for them. Do not check for +Inf in case not
18899 reachable for +Inf.
18900 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18901 define.
18902 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18903 and return -1 for them. Do not check for +Inf in case not
18904 reachable for +Inf.
18905 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18906 spurious underflow.
18907 * sysdeps/i386/fpu/libm-test-ulps: Update.
18908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18909
fb21f89b
MF
189102012-07-06 Mike Frysinger <vapier@gentoo.org>
18911
18912 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18913
cdfe2c5e
JM
189142012-07-05 Joseph Myers <joseph@codesourcery.com>
18915
18916 [BZ #14157]
18917 [BZ #14331]
18918 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18919 could result in spurious underflow. Scale down values above
18920 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18921 * math/s_csqrtf.c (__csqrtf): Likewise.
18922 * math/s_csqrtl.c (__csqrtl): Likewise.
18923 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18924 spurious underflow.
18925 * sysdeps/i386/fpu/libm-test-ulps: Update.
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18927
70d35b67
AS
189282012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18929
704bc459
AS
18930 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18931 xopen-msg.sed.
18932 * catgets/xopen-msg.awk: New file.
18933 * catgets/xopen-msg.sed: Removed.
18934
70d35b67
AS
18935 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18936 po2text.sed.
18937 * intl/po2test.awk: New file.
18938 * intl/po2test.sed: Removed.
18939
ca61cf32
JM
189402012-07-04 Joseph Myers <joseph@codesourcery.com>
18941
18942 [BZ #14328]
18943 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18944 or multiply small sinh result by itself.
18945 * math/s_ctanf.c (__ctanf): Likewise.
18946 * math/s_ctanh.c (__ctanh): Likewise.
18947 * math/s_ctanhf.c (__ctanhf): Likewise.
18948 * math/s_ctanhl.c (__ctanhl): Likewise.
18949 * math/s_ctanl.c (__ctanl): Likewise.
18950 * math/libm-test.inc (ctan_test_tonearest): New function.
18951 (ctan_test_towardzero): Likewise.
18952 (ctan_test_downward): Likewise.
18953 (ctan_test_upward): Likewise.
18954 (ctanh_test_tonearest): Likewise.
18955 (ctanh_test_towardzero): Likewise.
18956 (ctanh_test_downward): Likewise.
18957 (ctanh_test_upward): Likewise.
18958 (main): Call these new functions.
18959 * sysdeps/i386/fpu/libm-test-ulps: Update.
18960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18961
ca48a46a
MF
189622012-07-03 Mike Frysinger <vapier@gentoo.org>
18963
18964 * .gitignore: Delete /ports entry.
18965
9d63d37d
AJ
189662012-07-03 Andreas Jaeger <aj@suse.de>
18967
18968 * po/bg.po: Update from translation team.
18969 * po/cs.po: Likewise.
18970 * po/de.po: Likewise.
18971 * po/hr.po: Likewise.
18972 * po/nl.pl: Likewise.
18973 * po/pl.po: Likewise.
18974 * po/vi.po: Likewise.
18975
370ca3d2
JM
189762012-07-03 Joseph Myers <joseph@codesourcery.com>
18977
95f5a9a8
JM
18978 * Makeconfig [!+link] (+link-before-libc): New variable.
18979 [!+link] (+link-after-libc): Likewise.
18980 [!+link] (+link-tests): Likewise.
18981 [!+link] (+link): Define in terms of $(+link-before-libc) and
18982 $(+link-after-libc).
18983 [!+link-static] (+link-static-before-libc): New variable.
18984 [!+link-static] (+link-static-after-libc): Likewise.
18985 [!+link-static] (+link-static-tests): Likewise.
18986 [!+link-static] (+link-static): Define in terms of
18987 $(+link-static-before-libc) and $(+link-static-after-libc).
18988 [build-shared] (link-libc-before-gnulib): New variable.
18989 [build-shared] (link-libc-tests): Likewise.
18990 [build-shared] (link-libc): Define in terms of
18991 $(link-libc-before-gnulib).
18992 [!build-shared] (link-libc-tests): New variable.
18993 (link-libc-static-tests): New variable.
18994 [!gnulib] (gnulib-arch): New variable.
18995 [!gnulib] (gnulib-tests): Likewise.
18996 [!gnulib] (static-gnulib-arch): Likewise.
18997 [!gnulib] (static-gnulib-tests): Likewise.
18998 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18999 Define with "=" instead of ":=".
19000 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19001 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19002 * Rules (binaries-all-notests): New variable.
19003 (binaries-all-tests): Likewise.
19004 (binaries-static-notests): Likewise.
19005 (binaries-static-tests): Likewise.
19006 (binaries-all): Define using $(binaries-all-notests) and
19007 $(binaries-all-tests).
19008 (binaries-static): Define using $(binaries-static-notests) and
19009 $(binaries-static-tests).
19010 (binaries-shared-tests): New variable.
19011 (binaries-shared-notests): Likewise.
19012 (binaries-shared): Remove variable.
19013 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19014 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19015 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19016 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19017 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19018 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19019 * elf/Makefile (sln-modules): New variable.
19020 (extra-objs): Add $(sln-modules:=.o).
19021 (ldconfig-modules): Add static-stubs.
19022 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19023 * elf/static-stubs.c: New file.
19024
7a845b2c
JM
19025 [BZ #14283]
19026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19027 by 7 not 8 to examine high bit of fractional part. Use volatile
19028 variables when splitting into final array of floats if
19029 __FLT_EVAL_METHOD__ != 0.
19030 * math/libm-test.inc (cos_test): Add another test.
19031 (sin_test): Likewise.
19032 * sysdeps/i386/fpu/libm-test-ulps: Update.
19033
e2283f38
JM
19034 [BZ #14273]
19035 * math/libm-test.inc (cosh_test): Add more tests.
19036
370ca3d2
JM
19037 * version.h (RELEASE): Set to "development".
19038 (VERSION): Set to "2.16.90".
19039
ee9247c3
CD
190402012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19041
19042 * NEWS: Update copyright. Remove last-updated date.
19043 Mention math library bug fixes and timezone data changes.
19044 * README: Mention GNU/Hurd, x32, and HPPA support status.
19045
4648c381
TS
190462012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19047
19048 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19049
aac78a43
AJ
190502012-06-27 Andreas Jaeger <aj@suse.de>
19051
19052 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19053
ed3dbfad
AJ
190542012-06-25 Andreas Jaeger <aj@suse.de>
19055
19056 * sysdeps/s390/fpu/libm-test-ulps: Update.
19057
4d0ee855
AS
190582012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19059 Thomas Schwinge <thomas@codesourcery.com>
19060
19061 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19062 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19064 fanotify_mark.
19065
af1bce34
TS
190662012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19067
a9fa33ba
TS
19068 * sysdeps/mach/start.c: Remove file.
19069 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19070 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19071 * sysdeps/sh/init-first.c: Likewise.
19072
58f902b8
TS
19073 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19074 registers for frame unwinding purposes, add CFI directives.
19075 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19076 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19077 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19078 Likewise.
19079
1518f58b
TS
19080 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19081 __fortify_fail returning.
19082 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19083
db9b5059
TS
19084 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19085 sysdeps/sh/____longjmp_chk.S.
19086 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19087 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19088 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19089 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19090
967705fe
TS
19091 * sysdeps/sh/abort-instr.h: New file.
19092 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19093 process in case exit returns.
19094
a9def8c4
TS
19095 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19096 initialize the GOT register before use.
19097
2a649725
TS
19098 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19099 calculation of ARGC > 4.
19100
af1bce34
TS
19101 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19102 meaningful names to some local labels.
19103
d230f50a
KK
191042012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19105 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19106
19107 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19108 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19109 (__arch_compare_and_exchange_val_16_acq): Likewise.
19110 (__arch_compare_and_exchange_val_32_acq): Likewise.
19111 (atomic_exchange_and_add): Fix gUSA sequence.
19112 (atomic_add): Likewise.
19113 (atomic_add_negative): Likewise.
19114 (atomic_add_zero): Likewise.
19115 (atomic_bit_test_set): Likewise.
19116
0479b305
AS
191172012-06-22 Andreas Schwab <schwab@redhat.com>
19118
19119 [BZ #13579]
19120 * include/link.h (struct link_map): Add l_free_initfini.
19121 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19122 l_initfini.
19123 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19124 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19125 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19126 set.
19127
0e3933b9
CD
191282012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19129
19130 * configure.in: Use AC_LANG_SOURCE.
19131 * configure: Regenerate.
19132
4248b1b1
RM
191332012-06-22 Roland McGrath <roland@hack.frob.com>
19134
19135 * configure.in (libc_cv_localstatedir): New substituted variable.
19136 * configure: Regenerated.
19137 * config.make.in (localstatedir): New variable, substituted from
19138 libc_cv_localstatedir.
19139 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19140 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19141 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19142 * sysdeps/gnu/configure: Regenerated.
19143
006dd861
JL
191442012-06-21 Jeff Law <law@redhat.com>
19145
19146 [BZ #14277]
19147 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19148 free. Simplify list management for _LIBC case.
19149
79662d42
JM
191502012-06-21 Joseph Myers <joseph@codesourcery.com>
19151
b7abb4bf
JM
19152 [BZ #14273]
19153 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19154 Clear sign bit of 64-bit integer value before comparing against
19155 overflow value.
19156
79662d42
JM
19157 * sysdeps/mach/configure: Regenerated.
19158
1f150908
L
191592012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19160
19161 [BZ #14278]
19162 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19163
28363bbf
JL
191642012-06-21 Jeff Law <law@redhat.com>
19165
19166 [BZ #13882]
19167 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19168 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19170 * elf/dl-open.c (dl_open_worker): Likewise.
19171
09615db4
CD
191722012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19173
19174 * scripts/list-sources.sh: Scan PORTS for translations.
19175 * po/libc.pot: Regenerated.
19176
2174c6dd
AJ
191772012-06-21 Andreas Jaeger <aj@suse.de>
19178
19179 [BZ #12194]
19180 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19181 warning.
19182 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19183 * bits/byteswap-16.h (__bswap_16): Likewise.
19184 * bits/byteswap.h (__bswap_constant_16): Likewise.
19185
3ee947b1
L
191862012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19187
19188 [BZ #14117]
a2f34833
L
19189 * sysdeps/i386/fpu_control.h: Removed.
19190 * sysdeps/x86_64/fpu_control.h: Moved to ...
19191 * sysdeps/x86/fpu_control.h: Here.
19192
3ee947b1
L
19193 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19194 (_FPU_SETCW): Likewise.
19195
ed1825f8
L
191962012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19197
25f1282a
L
19198 [BZ #14117]
19199 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19200 * sysdeps/x86/fpu/bits/mathinline.h: This.
19201 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19202
ed1825f8
L
19203 [BZ #14050]
19204 [BZ #14117]
19205 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19206 functions if __x86_64__ is defined.
19207
36d54b74
CLT
192082012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19209
19210 * string/endian.h: Add !__ASSEMBLER__ condition for including
19211 conversion interfaces.
19212
10285c21
JM
192132012-06-15 Joseph Myers <joseph@codesourcery.com>
19214
19215 [BZ #14241]
19216 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19217 of ABS(x) in calculating zero to negative powers other than odd
19218 integers.
19219 * math/libm-test.inc (pow_test): Add more tests.
19220
06c5abbd
AJ
192212012-06-15 Andreas Jaeger <aj@suse.de>
19222
19223 * manual/contrib.texi (Contributors): Update entry of Liubov
19224 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19225 Machado Filho.
19226
a3aeac40
CH
192272012-06-15 Cyril Hrubis <metan@ucw.cz>
19228
19229 * string/string.h: Add __wur to GNU version of strerror_r.
19230
49bdf4c1
L
192312012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19232
19233 [BZ #14229]
19234 * string/Makefile (tests): Add tst-strtok_r.
19235 * string/tst-strtok_r.c: New file.
19236 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19237 RAX_LP/RDX_LP on SAVE_PTR.
19238
834f9b8d
RM
192392012-06-14 Roland McGrath <roland@hack.frob.com>
19240
19241 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19242
75fa1921
JM
192432012-06-14 Joseph Myers <joseph@codesourcery.com>
19244
19245 * libm_test.inc (csqrt_test): Allow more spurious underflow
19246 exceptions.
19247 (j0_test): Likewise.
19248 (j1_test): Likewise.
19249 (y0_test): Likewise.
19250 (y1_test): Likewise.
19251
771766df
CD
192522012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19253
19254 * po/Makefile (libc.pot): Use UTF-8 charset.
19255
ceb9e56b
PP
192562012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19257
19258 [BZ #14210]
19259 Suppress sign-conversion warning from FD_SET.
19260 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19261 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19262 not unsigned long int.
19263 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19264
ddb28975
L
192652012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19266
19267 [BZ #14050]
19268 [BZ #14117]
19269 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19270 __extern_always_inline instead of __extern_inline.
19271 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19272 (__signbit): Likewise.
19273 (__signbitl): Support C++ namespace.
19274 (lrintf): New inline function.
19275 (lrint): Likewise.
19276 (llrintf): Likewise.
19277 (llrint): Likewise.
19278 (fmaxf): Likewise.
19279 (fmax): Likewise.
19280 (fminf): Likewise.
19281 (fmin): Likewise.
19282 (rint): Likewise.
19283 (rintf): Likewise.
19284 (ceil): Likewise.
19285 (ceilf): Likewise.
19286 (floor): Likewise.
19287 (floorf): Likewise.
19288 (nearbyint): Likewise.
19289 (nearbyintf): Likewise.
19290
d7b4fb26
TS
192912012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19292
19293 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19294 non-default versions.
19295
eb55f5c2
RM
192962012-06-11 Roland McGrath <roland@hack.frob.com>
19297
19298 [BZ #14218]
19299 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19300
366af02c
TS
193012012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19302
99ff6e5c
TS
19303 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19304 (FE_UPWARD, FE_DOWNWARD): Don't define.
19305 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19306 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19307
366af02c
TS
19308 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19309 reading it.
19310 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19311 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19312
793ea851
KK
193132012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19314
19315 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19317 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19318 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19319
a728a38f
L
193202012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 [BZ #14117]
c08010c7
L
19323 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19324 * sysdeps/i386/fpu/Implies: New file.
19325 * sysdeps/x86_64/fpu/Implies: Likewise.
19326 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19327 * sysdeps/x86/fpu/bits/fenv.h: This.
19328
a728a38f
L
19329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19330 __SSE_MATH__.
19331
6e230d11
SP
193322012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19333
19334 [BZ #14134]
19335 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19336 character 0xffff that matches the last element of the
19337 conversion table.
19338
1b671feb
AZ
193392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19340
19341 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19342 fmodl commit.
19343
6043738b
AZ
193442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19345
19346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19347 values higher than 25.6283.
19348
34ae0b32
AZ
193492012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19350
19351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19352 subnormal exponent extraction and add some __builtin_expect.
19353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19354 Fix for subnormal mantissa calculation.
19355
1214ec8f
MF
193562012-06-04 Mike Frysinger <vapier@gentoo.org>
19357
19358 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19359 cpu2 is -1 and errno is not ENOSYS.
19360
f3d1f93c
L
193612012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 [BZ #14117]
0e4a3cd7
L
19364 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19365 * sysdeps/x86/bits/string.h: This.
19366 * sysdeps/x86_64/bits/string.h: Removed.
19367
6704c645
L
19368 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19369 if not compiling for x86-64, but compiling for >= i486.
19370
48495318
L
19371 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19372 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19373
14adcbfc
L
19374 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19375 New macro from Linux kernel 3.4.0.
19376 (FP_XSTATE_MAGIC2): Likewise.
19377 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19378 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19379 (struct _fpx_sw_bytes): New struct.
19380 (struct _xsave_hdr): Likewise.
19381 (struct _ymmh_state): Likewise.
19382 (struct _xstate): Likewise.
19383
68e408ab
L
19384 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19385 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19386 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19387 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19389 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19390
f3d1f93c
L
19391 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19393 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19394 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19395 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19396 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19397
d9dc34cd
TMQMF
193982012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19399
19400 [BZ #13743]
19401 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19402 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19403 (sysdep_headers): Include sys/platform/ppc.h.
19404 * sysdeps/powerpc/test-gettimebase.c: Test for
19405 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19406 * manual/Makefile (appendices): Include platform.texi.
19407 * manual/contrib.texi (Contributors): Update @node pointers.
19408 * manual/maint.texi (Maintenance): Likewise.
19409 (Platform): New node.
19410 * manual/platform.texi: New file. Document the new features.
19411
4af3879c
SP
194122012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19413 Jakub Jelinek <jakub@redhat.com>
19414
19415 [BZ #14188]
19416 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19417 where __builtin_expect is unavailable.
19418
2fd6ff13
DM
194192012-06-03 David S. Miller <davem@davemloft.net>
19420
19421 * stdlib/longlong.h: Updated from GCC.
19422
173f7220
AS
194232012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19424
19425 [BZ #14042]
19426 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19427 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19428 __mcount_internal.
19429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19430 (GLIBC_2.16): Likewise.
19431
f34a1c6f
L
194322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19435
88a4576f
JM
194362012-06-01 Joseph Myers <joseph@codesourcery.com>
19437
ea32bcdd
JM
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19439 (default-abi): New variable.
19440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19441 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19442 variable.
19443 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19444 Likewise.
19445 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19446 Likewise.
19447 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19448 Likewise.
19449
88a4576f
JM
19450 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19451 definition. Document in comment.
19452
402fe938
DM
194532012-06-01 David S. Miller <davem@davemloft.net>
19454
19455 * stdlib/longlong.h: Updated from GCC.
19456
3553723f
L
194572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19458
19459 [BZ #14117]
3bd872c4
L
19460 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19461 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19462 sys/debugreg.h sys/io.h here.
19463 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19464 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19465 sys/io.h.
19466 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19467 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19468 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19469 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19470 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19471 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19472
3553723f
L
19473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19474 Define only if __x86_64__ is defined.
19475
4842e4fe
JM
194762012-06-01 Joseph Myers <joseph@codesourcery.com>
19477
c5bfe3d5
JM
19478 [BZ #14048]
19479 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19480 Use int64_t for variable i.
19481 * math/libm-test.inc (fmod_test): Add more tests.
19482
4842e4fe
JM
19483 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19484 z computation is not scheduled after fetestexcept.
19485 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19486 Use math_force_eval instead of asm to ensure calculation scheduled
19487 before exception test.
19488 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19489 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19490
efb73488
AJ
194912012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19492
19493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19494 computation is not scheduled after fetestexcept.
19495
29bcce7c
L
194962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19497
19498 [BZ #14117]
19499 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19500 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19501
73a68f94
AZ
195022012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19503
19504 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19505 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19506
67b6df78
L
195072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19508
edf2933a 19509 [BZ #14117]
ebc64a18
L
19510 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19511 <bits/wordsize.h>.
19512 (__WCHAR_MIN): Support __WORDSIZE == 64.
19513 (__WCHAR_MAX): Likewise.
19514
edf2933a
L
19515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19516 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19517
57c6cf40
L
19518 [BZ #14183]
19519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19520 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19521
67b6df78 19522 [BZ #14117]
8eb6281e
L
19523 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19524 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19525
aac639f4
L
19526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19527 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19528
67b6df78
L
19529 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19530 Defined to 1 if __x86_64__ isn't defined.
19531 (_STAT_VER_LINUX_OLD): New.
19532 (st_atime): Remove duplicate.
19533 (st_mtime): Likewise.
19534 (st_ctime): Likewise.
19535
1c2cfe81
DM
195362012-05-31 David S. Miller <davem@davemloft.net>
19537
19538 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19539 entries.
19540
5be8418c
AS
195412012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19542
e7725326
AS
19543 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19544 gen-libm-test.pl.
19545
5be8418c
AS
19546 [BZ #14132]
19547 * elf/dl-reloc.c: Include <_itoa.h>.
19548 (_dl_reloc_bad_type): Remove use of INTUSE.
19549 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19550 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19551 * stdio-common/psiginfo.c (psiginfo): Likewise.
19552 * stdio-common/psignal.c (psignal): Likewise.
19553 * string/strsignal.c (strsignal): Likewise.
19554 * include/signal.h (_sys_siglist): Declare hidden proto.
19555 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19556 INTVARDEF with libc_hidden_data_def.
19557 * stdio-common/itoa-udigits.c: Likewise.
19558 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19559 (_itoa_lower_digits_internal): Remove declaration.
19560 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19561 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19562 (_sys_sigabbrev_internal): Remove aliases.
19563 (_sys_siglist): Define hidden alias.
19564
507352f1
MT
195652012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19566
19567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19568 bits/sysctl.h.
19569
42bbb1c3
L
195702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 [BZ #14117]
6bd784b6
L
19573 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19574 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19575
8bca20f0
L
19576 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19577 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19578 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19579 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19581 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19582
f9e890a9
L
19583 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19584 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19585 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19586
471101a1
L
19587 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19588 with __addr.
19589 (insw): Likewise.
19590 (insl): Likewise.
19591 (outsb): Likewise.
19592 (outsw): Likewise.
19593 (outsl): Likewise.
19594
6451c862
L
19595 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19596 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19598
a254b8c9
L
19599 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19600 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19601 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19602 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19603 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19604 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19605
b8dfdd92
L
19606 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19607 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19608
578cd270
L
19609 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19610 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19611
de662f5f
L
19612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19614 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19615
25653439
L
19616 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19617 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19618 to ...
19619 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19620
6bad24a0
L
19621 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19622 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19623 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19624
42bbb1c3
L
19625 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19626 for x86-64.
19627 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19628
2d10d547
JM
196292012-05-31 Joseph Myers <joseph@codesourcery.com>
19630
19631 * math/math.h (M_El): Use two more decimal places.
19632 (M_LOG2El): Likewise.
19633 (M_LOG10El): Likewise.
19634 (M_LN2l): Likewise.
19635 (M_LN10l): Likewise.
19636 (M_PIl): Likewise.
19637 (M_PI_2l): Likewise.
19638 (M_PI_4l): Likewise.
19639 (M_1_PIl): Likewise.
19640 (M_2_PIl): Likewise.
19641 (M_2_SQRTPIl): Likewise.
19642 (M_SQRT2l): Likewise.
19643 (M_SQRT1_2l): Likewise.
19644
f230c29b
DM
196452012-05-31 David S. Miller <davem@davemloft.net>
19646
19647 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19648 values between float registers.
19649 * sysdeps/sparc/sparc64/memset.S: Likewise.
19650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19651
fed806c3
MF
196522012-05-31 Mike Frysinger <vapier@gentoo.org>
19653
19654 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19655 -D_FORTIFY_SOURCE=1.
19656 (CPPFLAGS-tst-longjmp_chk.c): Define.
19657 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19658 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19659 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19660 CFLAGS-tst-wchar-h.c.
19661
30917259
MP
196622012-05-31 Marek Polacek <polacek@redhat.com>
19663
19664 [BZ #14132]
19665 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19666 __endmntent_internal): Remove declaration.
19667 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19668 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19669 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19670
1c58d5dc
DM
196712012-05-30 David S. Miller <davem@davemloft.net>
19672
19673 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19674 (___Q_simulate_exceptions): Use real FP ops rather than writing
19675 into the %fsr.
19676 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19677 Likewise.
19678
7dc00e0d
L
196792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19680
19681 [BZ #14117]
0bd53985
L
19682 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19683 * sysdeps/x86/bits/xtitypes.h: This.
19684
3a257e66
L
19685 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19686 * sysdeps/x86/bits/wordsize.h: This.
19687
62f62904
L
19688 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19689 * sysdeps/x86/bits/huge_vall.h: This.
19690
404fe9d9
L
19691 * sysdeps/i386/bits/select.h: Removed.
19692 * sysdeps/x86_64/bits/select.h: Renamed to ...
19693 * sysdeps/x86/bits/select.h: This.
19694
d48d0446
L
19695 * sysdeps/i386/bits/setjmp.h: Removed.
19696 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19697 * sysdeps/x86/bits/setjmp.h: This.
19698
7dc00e0d
L
19699 * sysdeps/i386/bits/mathdef.h: Removed.
19700 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19701 * sysdeps/x86/bits/mathdef.h: This.
19702
03277f8f
AS
197032012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19704
19705 [BZ #14132]
19706 * include/sys/socket.h (__connect_internal)
19707 (__libc_sa_len_internal): Remove declaration.
19708 (__connect, __libc_sa_len): Declare hidden_proto.
19709 (SA_LEN): Remove use of INTUSE.
19710 * socket/connect.c: Add libc_hidden_def.
19711 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19712 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19713 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19714 alias.
19715 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19716 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19717 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19718 of adding _internal alias.
19719
13764867
L
197202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19721
19722 [BZ #14117]
6bd97696
L
19723 * sysdeps/i386/bits/link.h: Removed.
19724 * sysdeps/i386/bits/linkmap.h: Likewise.
19725 * sysdeps/x86_64/bits/link.h: Renamed to ...
19726 * sysdeps/x86/bits/link.h: This.
19727 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19728 * sysdeps/x86/bits/linkmap.h: This.
19729
f726f0bb
L
19730 * sysdeps/i386/bits/endian.h: Removed.
19731 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19732 * sysdeps/x86/bits/endian.h: This.
19733
13764867
L
19734 * sysdeps/i386/bits/byteswap.h: Removed.
19735 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19736 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19737 * sysdeps/x86/bits/byteswap.h: This.
19738 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19739 * sysdeps/x86/bits/byteswap-16.h: This.
19740 * sysdeps/i386/Implies: Add x86.
19741 * sysdeps/x86_64/Implies: Likewise.
19742
ae251b0b
DM
197432012-05-30 David S. Miller <davem@davemloft.net>
19744
19745 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19746 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19747 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19748 (FP_TRAPPING_EXCEPTIONS): Define.
19749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19750 (FP_TRAPPING_EXCEPTIONS): Define.
19751 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19752 subnormals only when inexact has been signalled or underflow
19753 exceptions are enabled.
19754 (_FP_PACK_CANONICAL): Likewise.
19755
d5c90867
L
197562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19757
19758 [BZ #14183]
19759 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19760 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19761
63f1549e
RH
197622012-05-30 Richard Henderson <rth@twiddle.net>
19763
8d8f2279
RH
19764 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19765 with #ifndef NOT_IN_libc.
19766
63f1549e
RH
19767 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19768 marked to avoid plt entry.
19769
0ab0291b
L
197702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19771
19772 [BZ #14112]
19773 * Makeconfig (default-abi): New macro.
19774 (abi-includes): Likewise.
19775 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19776 $(abi-$(default-abi)-lib-soname) for soname if defined.
19777 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19778 abi-variants.
19779 * Makefile (installed-stubs): Likewise.
19780 * include/stubs-biarch.h: Removed.
19781 * scripts/lib-names.awk: Only handle one library at a time.
19782 * scripts/soversions.awk: Remove WORDSIZE support.
19783 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19784 entries.
19785 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19786 Removed.
19787 (syscall-list-default-condition): Likewise.
19788 (syscall-list-default-condition): Likewise.
19789 (syscall-list-includes): Likewise.
19790 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19791 syscall-list-* with abi-*. Handle undefined abi-variants.
19792 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19793 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19794 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19795 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19797 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19798 Removed.
19799 (syscall-list-32-options): Likewise.
19800 (syscall-list-32-condition): Likewise.
19801 (syscall-list-64-options): Likewise.
19802 (syscall-list-64-condition): Likewise.
19803 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19804 macro.
19805 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19806 Renamed to ...
19807 (abi-*): This.
19808 (abi-64-ld-soname): New macro.
19809 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19810 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19811 Renamed to ...
19812 (abi-*): This.
19813 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19814 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19815
4da0431d
JM
198162012-05-30 Joseph Myers <joseph@codesourcery.com>
19817
3a85279c
JM
19818 * sysdeps/unix/sysv/linux/kernel-features.h
19819 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19820 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19821 include <kernel-features.h>.
19822 [!__NR_ftruncate64]: Remove conditional code.
19823 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19824 [__NR_ftruncate64]: Make code unconditional.
19825 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19826 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19827 include <kernel-features.h>.
19828 [!__NR_ftruncate64]: Remove conditional code.
19829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19830 [__NR_ftruncate64]: Make code unconditional.
19831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19833 include <kernel-features.h>.
19834 [!__NR_ftruncate64]: Remove conditional code.
19835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19836 [__NR_ftruncate64]: Make code unconditional.
19837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19839 include <kernel-features.h>.
19840 [!__NR_ftruncate64]: Remove conditional code.
19841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19842 [__NR_ftruncate64]: Make code unconditional.
19843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19844
4da0431d
JM
19845 * configure.in (libc_cv_fpie): Weaken to a compile test using
19846 LIBC_TRY_CC_OPTION.
19847 * configure: Regenerated.
19848
11ef492c
AK
198492012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19850
19851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19855 Refreshed.
19856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19862 Refreshed.
19863
d66ef399
DM
198642012-05-27 David S. Miller <davem@davemloft.net>
19865
19866 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19867 (___Q_zero): New.
19868 (__Q_simulate_exceptions): Return void. Change to simulate
19869 exceptions by writing into the %fsr.
19870 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19871 (__Qp_handle_exceptions): Likewise.
19872 (numbers): Delete.
19873 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19874 __Qp_handle_exceptions.
19875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19876 __Qp_handle_exceptions.
19877 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19878 as unused and give dummy FP_RND_NEAREST initializer.
19879 (FP_INHIBIT_RESULTS): Define.
19880 (___Q_simulate_exceptions): Update declaration.
19881 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19882 formatting.
19883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19884 as unused and give dummy FP_RND_NEAREST initializer.
19885 (__Qp_handle_exceptions): Update declaration.
19886 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19887 formatting.
19888
04fb54b5
TS
198892012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19890
19891 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19892 the temporary FPU control word.
19893 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19894 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19895 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19896 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19897 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19898 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19899 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19900 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19901 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19902 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19903 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19904
3f99608f
KK
199052012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19906
19907 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19908 fields.
19909
65a4de4e
CLT
199102012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19911
19912 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19913 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19914 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19915 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19916 Likewise.
19917 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19918 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19919 Likewise.
19920
15749d40
UD
199212012-05-27 Ulrich Drepper <drepper@gmail.com>
19922
19923 * po/h.po: Update from translation team.
19924
25dbcb27
AS
199252012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19926
3d3f8e55
AS
19927 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19928
25dbcb27
AS
19929 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19930 handling of denormals.
19931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19932 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19933 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19934 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19938 Likewise.
19939
7ad47a80 199402012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19941
19942 [BZ #14152]
19943 * math/libm-test.inc (fma_test): Don't always expect underflow
19944 exception.
19945
9c6ea9fa
SP
199462012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19947
19948 [BZ #12416]
19949 * elf/tst-execstack.c: Include stackinfo.h.
19950 (do_test): Adjust test case to ensure that pthread_getattr_np
19951 behaviour remains the same after marking stack executable.
19952
a8239222
JM
199532012-05-25 Joseph Myers <joseph@codesourcery.com>
19954
19955 * sysdeps/unix/sysv/linux/kernel-features.h
19956 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19957 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19958 kernel-features.h.
19959 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19960 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19961 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19962 kernel-features.h.
19963 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19964 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19965
918b5606
L
199662012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19967
19968 * configure.in: Define the default includes to being none.
19969 * configure: Regenerated.
19970
3a097cc7
RM
199712012-05-25 Roland McGrath <roland@hack.frob.com>
19972
8422c9a5
RM
19973 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19974 * sysdeps/x86_64/setjmp.S: Likewise.
19975 * sysdeps/i386/bsd-setjmp.S: Likewise.
19976 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19977 * sysdeps/i386/setjmp.S: Likewise.
19978 * sysdeps/i386/__longjmp.S: Likewise.
19979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19980 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19981
3a097cc7
RM
19982 * include/stap-probe.h: New file.
19983 * configure.in: Handle --enable-systemtap.
19984 * configure: Regenerated.
19985 * config.h.in (USE_STAP_PROBE): New #undef.
19986 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19987 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19988 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19989
21708942
JM
199902012-05-25 Joseph Myers <joseph@codesourcery.com>
19991
19992 [BZ #13717]
19993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19994 to 2.4.0 where earlier.
19995 * sysdeps/unix/sysv/linux/configure: Regenerated.
19996 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19997 <kernel-features.h>.
19998 [__ASSUME_32BITUIDS]: Make code unconditional.
19999 [!__ASSUME_32BITUIDS]: Remove conditional code.
20000 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20001 <kernel-features.h>.
20002 [__ASSUME_32BITUIDS]: Make code unconditional.
20003 [!__ASSUME_32BITUIDS]: Remove conditional code.
20004 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20005 [__ASSUME_32BITUIDS]: Make code unconditional.
20006 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20007 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20008 <kernel-features.h>.
20009 [__ASSUME_32BITUIDS]: Make code unconditional.
20010 [!__ASSUME_32BITUIDS]: Remove conditional code.
20011 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20012 <kernel-features.h>.
20013 [__ASSUME_32BITUIDS]: Make code unconditional.
20014 [!__ASSUME_32BITUIDS]: Remove conditional code.
20015 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20016 <kernel-features.h>.
20017 [__ASSUME_32BITUIDS]: Make code unconditional.
20018 [!__ASSUME_32BITUIDS]: Remove conditional code.
20019 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20020 <kernel-features.h>.
20021 [__ASSUME_32BITUIDS]: Make code unconditional.
20022 [!__ASSUME_32BITUIDS]: Remove conditional code.
20023 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20024 <kernel-features.h>.
20025 [__ASSUME_32BITUIDS]: Make code unconditional.
20026 [!__ASSUME_32BITUIDS]: Remove conditional code.
20027 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20028 <kernel-features.h>.
20029 [__ASSUME_32BITUIDS]: Make code unconditional.
20030 [!__ASSUME_32BITUIDS]: Remove conditional code.
20031 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20032 <kernel-features.h>.
20033 [__ASSUME_32BITUIDS]: Make code unconditional.
20034 [!__ASSUME_32BITUIDS]: Remove conditional code.
20035 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
20048 <kernel-features.h>.
20049 [__NR_setresgid] (__setresgid): Do not declare.
20050 [__ASSUME_32BITUIDS]: Make code unconditional.
20051 [!__ASSUME_32BITUIDS]: Remove conditional code.
20052 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20053 <kernel-features.h>.
20054 [__NR_setresuid] (__setresuid): Do not declare.
20055 [__ASSUME_32BITUIDS]: Make code unconditional.
20056 [!__ASSUME_32BITUIDS]: Remove conditional code.
20057 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20058 <kernel-features.h>.
20059 [__ASSUME_32BITUIDS]: Make code unconditional.
20060 [!__ASSUME_32BITUIDS]: Remove conditional code.
20061 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20062 <kernel-features.h>.
20063 [__ASSUME_32BITUIDS]: Make code unconditional.
20064 [!__ASSUME_32BITUIDS]: Remove conditional code.
20065 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20066 <kernel-features.h>.
20067 [__ASSUME_32BITUIDS]: Make code unconditional.
20068 [!__ASSUME_32BITUIDS]: Remove conditional code.
20069 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20070 <kernel-features.h>.
20071 [__ASSUME_32BITUIDS]: Make code unconditional.
20072 [!__ASSUME_32BITUIDS]: Remove conditional code.
20073 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20074 <kernel-features.h>.
20075 [__ASSUME_32BITUIDS]: Make code unconditional.
20076 [!__ASSUME_32BITUIDS]: Remove conditional code.
20077 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20078 <kernel-features.h>.
20079 [__ASSUME_32BITUIDS]: Make code unconditional.
20080 [!__ASSUME_32BITUIDS]: Remove conditional code.
20081 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20082 <kernel-features.h>.
20083 [__ASSUME_32BITUIDS]: Make code unconditional.
20084 [!__ASSUME_32BITUIDS]: Remove conditional code.
20085 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20086 <kernel-features.h>.
20087 [__ASSUME_32BITUIDS]: Make code unconditional.
20088 [!__ASSUME_32BITUIDS]: Remove conditional code.
20089 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20090 <kernel-features.h>.
20091 [__ASSUME_32BITUIDS]: Make code unconditional.
20092 [!__ASSUME_32BITUIDS]: Remove conditional code.
20093 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20094 <kernel-features.h>.
20095 [__ASSUME_32BITUIDS]: Make code unconditional.
20096 [!__ASSUME_32BITUIDS]: Remove conditional code.
20097 * sysdeps/unix/sysv/linux/kernel-features.h
20098 (__ASSUME_SETRESUID_SYSCALL): Remove.
20099 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20100 (__ASSUME_32BITUIDS): Likewise.
20101 (__ASSUME_LDT_WORKS): Likewise.
20102 (__ASSUME_O_DIRECTORY): Likewise.
20103 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20104 architecture but not kernel version.
20105 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20106 (__ASSUME_MMAP2_SYSCALL): Likewise.
20107 (__ASSUME_STAT64_SYSCALL): Likewise.
20108 (__ASSUME_IPC64): Likewise.
20109 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20110 <kernel-features.h>.
20111 [__ASSUME_32BITUIDS]: Make code unconditional.
20112 [!__ASSUME_32BITUIDS]: Remove conditional code.
20113 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20114 <kernel-features.h>.
20115 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20116 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20117 132096]: Remove conditional code.
20118 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20119 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
20124 <kernel-features.h>.
20125 [__ASSUME_32BITUIDS]: Make code unconditional.
20126 [!__ASSUME_32BITUIDS]: Remove conditional code.
20127 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20128 <kernel-features.h>.
20129 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20130 unconditional.
20131 (__setresgid): Do not declare.
20132 [__ASSUME_32BITUIDS]: Make code unconditional.
20133 [!__ASSUME_32BITUIDS]: Remove conditional code.
20134 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20135 <kernel-features.h>.
20136 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20137 unconditional.
20138 (__setresuid): Do not declare.
20139 [__ASSUME_32BITUIDS]: Make code unconditional.
20140 [!__ASSUME_32BITUIDS]: Remove conditional code.
20141 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20142 <kernel-features.h>.
20143 [__ASSUME_32BITUIDS]: Make code unconditional.
20144 [!__ASSUME_32BITUIDS]: Remove conditional code.
20145 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20146 <kernel-features.h>.
20147 [__ASSUME_32BITUIDS]: Make code unconditional.
20148 [!__ASSUME_32BITUIDS]: Remove conditional code.
20149
a386f1cc
RH
201502012-05-25 Richard Henderson <rth@twiddle.net>
20151
20152 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20153 dl_hwcap to ifunc resolver.
20154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20155 elf_ifunc_invoke.
20156 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20157 dl_hwcap to ifunc resolver.
20158 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20159
b6550497
JM
201602012-05-24 Joseph Myers <joseph@codesourcery.com>
20161
20162 [BZ #14153]
20163 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20164 for |x| <= 2**-26, not 2**-57.
20165 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20166 exception.
20167
b0bc23a1
JL
201682012-05-24 Jeff Law <law@redhat.com>
20169
20170 * stdio-common/Makefile (tests): Add bug25.
20171 * stdio-common/bug25.c: New test.
20172
347c92e9
L
201732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20174
20175 [BZ #13576]
20176 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20177 multiple of MALLOC_ALIGNMENT in size.
20178 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20179
6bcc8b3f
JM
201802012-05-24 Joseph Myers <joseph@codesourcery.com>
20181
20182 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20183 Require >= 256.
20184 (FILENAME_MAX): Use macro-int-constant.
20185 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20186 (_IOFBF): Use macro-int-constant.
20187 (_IOLBF): Likewise.
20188 (_IONBF): Likewise.
20189 (SEEK_CUR): Likewise.
20190 (SEEK_END): Likewise.
20191 (SEEK_SET): Likewise.
20192 (TMP_MAX): Likewise.
20193 (EOF): Use macro-int-constant. Require < 0.
20194 (NULL): Use macro-constant. Require == 0.
20195 (stdin): Require type to be FILE *.
20196 (stdout): Likewise.
20197 (stderr): Likewise.
20198 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20199 macro-int-constant.
20200 (EXIT_SUCCESS): Likewise.
20201 (NULL): Use macro-constant. Require == 0.
20202 (RAND_MAX): Use macro-int-constant.
20203 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20204 [C99-based standards] (strtof): Require function.
20205 [C99-based standards] (strtold): Likewise.
20206 [C99-based standards] (strtoll): Likewise.
20207 [C99-based standards] (strtoull): Likewise.
20208 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20209 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20210 [ISO || ISO99 || ISO11] (math.h): Likewise.
20211 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20212 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20214
d18ea0c5
AS
202152012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20216
20217 [BZ #14132]
56d25bb8
AS
20218 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20219 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20220 * intl/dgettext.c (DCGETTEXT): Likewise.
20221 * intl/gettext.c (DCGETTEXT): Likewise.
20222 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20223 * posix/regex_internal.h (gettext): Likewise.
20224 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20225 Remove declaration.
20226 * include/argz.h (__argz_count_internal)
20227 (__argz_stringify_internal): Remove declaration.
20228 (__argz_count, __argz_stringify): Declare hidden proto.
20229 * intl/dcgettext.c: Remove use of INTDEF.
20230 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20231 * string/argz-stringify.c: Likewise.
20232 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20233 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20234 Declare hidden proto.
d18ea0c5
AS
20235 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20236 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20237 Declare hidden proto.
20238 * include/stdio.h (__asprintf_internal): Don't declare.
20239 (__asprintf): Don't define as macro. Declare hidden proto.
20240 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20241 (__fsetlocking): Declare hidden proto.
20242 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20243 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20244 hidden proto.
20245 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20246 (_IO_setlinebuf): Remove use of INTUSE.
20247 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20248 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20249 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20250 Remove declaration.
20251 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20252 (_IO_do_flush): Remove use of INTUSE.
20253 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20254 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20255 (_IO_adjust_column, _IO_least_wmarker)
20256 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20257 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20258 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20259 (_IO_default_doallocate, _IO_wdefault_doallocate)
20260 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20261 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20262 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20263 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20264 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20265 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20266 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20267 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20268 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20269 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20270 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20271 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20272 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20273 proto.
20274 (_IO_flush_all_internal, _IO_adjust_column_internal)
20275 (_IO_default_uflow_internal, _IO_default_finish_internal)
20276 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20277 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20278 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20279 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20280 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20281 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20282 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20283 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20284 (_IO_file_close_internal, _IO_file_close_it_internal)
20285 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20286 (_IO_file_init_internal, _IO_file_attach_internal)
20287 (_IO_file_fopen_internal, _IO_file_read_internal)
20288 (_IO_file_sync_internal, _IO_file_seek_internal)
20289 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20290 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20291 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20292 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20293 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20294 (_IO_list_all_internal, _IO_link_in_internal)
20295 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20296 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20297 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20298 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20299 (_IO_do_write_internal, _IO_padn_internal)
20300 (_IO_getline_info_internal, _IO_getline_internal)
20301 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20302 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20303 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20304 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20305 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20306 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20307 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20308 with libc_hidden_ver, remove use of INTUSE.
20309 * libio/genops.c: Likewise.
20310 * libio/freopen.c: Likewise.
20311 * libio/freopen64.c: Likewise.
20312 * libio/iofclose.c: Likewise.
20313 * libio/iofdopen.c: Likewise.
20314 * libio/iofflush.c: Likewise.
20315 * libio/iofflush_u.c: Likewise.
20316 * libio/iofgets.c: Likewise.
20317 * libio/iofgets_u.c: Likewise.
20318 * libio/iofopen.c: Likewise.
20319 * libio/iofopncook.c: Likewise.
20320 * libio/iofread.c: Likewise.
20321 * libio/iofread_u.c: Likewise.
20322 * libio/ioftell.c: Likewise.
20323 * libio/iofwrite.c: Likewise.
20324 * libio/iogetline.c: Likewise.
20325 * libio/iogets.c: Likewise.
20326 * libio/iogetwline.c: Likewise.
20327 * libio/iopadn.c: Likewise.
20328 * libio/iopopen.c: Likewise.
20329 * libio/ioseekoff.c: Likewise.
20330 * libio/ioseekpos.c: Likewise.
20331 * libio/iosetbuffer.c: Likewise.
20332 * libio/iosetvbuf.c: Likewise.
20333 * libio/ioungetc.c: Likewise.
20334 * libio/ioungetwc.c: Likewise.
20335 * libio/iovdprintf.c: Likewise.
20336 * libio/iovsprintf.c: Likewise.
20337 * libio/iovsscanf.c: Likewise.
20338 * libio/memstream.c: Likewise.
20339 * libio/obprintf.c: Likewise.
20340 * libio/oldfileops.c: Likewise.
20341 * libio/oldiofclose.c: Likewise.
20342 * libio/oldiofdopen.c: Likewise.
20343 * libio/oldiofopen.c: Likewise.
20344 * libio/oldiopopen.c: Likewise.
20345 * libio/oldstdfiles.c: Likewise.
20346 * libio/putc.c: Likewise.
20347 * libio/setbuf.c: Likewise.
20348 * libio/setlinebuf.c: Likewise.
20349 * libio/stdfiles.c: Likewise.
20350 * libio/strops.c: Likewise.
20351 * libio/vasprintf.c: Likewise.
20352 * libio/vscanf.c: Likewise.
20353 * libio/vsnprintf.c: Likewise.
20354 * libio/vswprintf.c: Likewise.
20355 * libio/wfiledoalloc.c: Likewise.
20356 * libio/wfileops.c: Likewise.
20357 * libio/wgenops.c: Likewise.
20358 * libio/wmemstream.c: Likewise.
20359 * libio/wstrops.c: Likewise.
20360 * libio/__fpurge.c: Likewise.
20361 * libio/__fsetlocking.c: Likewise.
20362 * assert/assert.c: Likewise.
20363 * debug/fgets_chk.c: Likewise.
20364 * debug/fgets_u_chk.c: Likewise.
20365 * debug/fread_chk.c: Likewise.
20366 * debug/fread_u_chk.c: Likewise.
20367 * debug/gets_chk.c: Likewise.
20368 * debug/obprintf_chk.c: Likewise.
20369 * debug/vasprintf_chk.c: Likewise.
20370 * debug/vdprintf_chk.c: Likewise.
20371 * debug/vsnprintf_chk.c: Likewise.
20372 * debug/vsprintf_chk.c: Likewise.
20373 * malloc/mtrace.c: Likewise.
20374 * misc/error.c: Likewise.
20375 * misc/syslog.c: Likewise.
20376 * stdio-common/asprintf.c: Likewise.
20377 * stdio-common/fxprintf.c: Likewise.
20378 * stdio-common/getw.c: Likewise.
20379 * stdio-common/isoc99_fscanf.c: Likewise.
20380 * stdio-common/isoc99_scanf.c: Likewise.
20381 * stdio-common/isoc99_vfscanf.c: Likewise.
20382 * stdio-common/isoc99_vscanf.c: Likewise.
20383 * stdio-common/isoc99_vsscanf.c: Likewise.
20384 * stdio-common/printf-prs.c: Likewise.
20385 * stdio-common/printf_fp.c: Likewise.
20386 * stdio-common/printf_fphex.c: Likewise.
20387 * stdio-common/printf_size.c: Likewise.
20388 * stdio-common/putw.c: Likewise.
20389 * stdio-common/scanf.c: Likewise.
20390 * stdio-common/sprintf.c: Likewise.
20391 * stdio-common/tmpfile.c: Likewise.
20392 * stdio-common/vfprintf.c: Likewise.
20393 * stdio-common/vfscanf.c: Likewise.
20394 * stdlib/strfmon_l.c: Likewise.
20395 * sunrpc/openchild.c: Likewise.
20396 * sunrpc/xdr_stdio.c: Likewise.
20397 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20398 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20399
d6c33fda
RM
204002012-05-24 Roland McGrath <roland@hack.frob.com>
20401
c1487492
RM
20402 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20403
20404 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20405 in the third column, to generate for the shared library an IFUNC
20406 that uses _dl_vdso_vsym.
20407 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20408 * Makeconfig (object-suffixes-noshared): New variable.
20409
20410 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20411 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20412 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20413 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20414
d6c33fda
RM
20415 [BZ #14132]
20416 * include/sys/time.h (__gettimeofday): Remove macro.
20417 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20418 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20419 Remove INTDEF.
20420 (__gettimeofday): Add libc_hidden_def.
20421 (gettimeofday): Add libc_hidden_weak.
20422 * sysdeps/mach/gettimeofday.c: Likewise.
20423 * sysdeps/posix/gettimeofday.c: Likewise.
20424 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20425 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20427 (__gettimeofday_internal): Remove strong_alias.
20428 (__gettimeofday): Add libc_hidden_def.
20429 (gettimeofday): Add libc_hidden_weak.
20430 * sysdeps/unix/syscalls.list (gettimeofday):
20431 Remove __gettimeofday_internal alias.
20432
b5a2bbe6
L
204332012-05-24 Daniel Jacobowitz <drow@false.org>
20434 H.J. Lu <hongjiu.lu@intel.com>
20435
20436 [BZ #12495]
20437 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20438 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20439 (largebin_index_32_big): New.
20440 (largebin_index): Use it for 16-byte alignment.
20441 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20442 correction with front_misalign.
20443
cfba4fda
L
204442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20445
7f907421
L
20446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20448 Likewise.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20450 Likewise.
20451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20452 Likewise.
20453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20454 Likewise.
20455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20456 Likewise.
20457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20458 Likewise.
20459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20460 Likewise.
20461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20462 Likewise.
20463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20464 Likewise.
20465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20466 Likewise.
20467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20468 Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20470 Likewise.
20471
cfba4fda
L
20472 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20473 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20474
80bad0cc
JM
204752012-05-24 Joseph Myers <joseph@codesourcery.com>
20476
7a25eb06
JM
20477 [BZ #10846]
20478 [BZ #14036]
20479 * math/libm-test.inc (exp_test): Add test from bug 14036.
20480 (pow_test): Add test from bug 10846.
20481
795405f9
JM
20482 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20483 and other flags.
20484 (special_function): Do not include flags in test name.
20485 (parse_args): Likewise.
20486 * sysdeps/i386/fpu/libm-test-ulps: Update.
20487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20488 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20489 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20491
80bad0cc
JM
20492 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20493 exceptions.
20494 * math/libm-test.inc ("Philosophy"): Update comment about
20495 exception testing.
20496 (UNDERFLOW_EXCEPTION): New macro.
20497 (UNDERFLOW_EXCEPTION_OK): Likewise.
20498 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20499 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20500 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20501 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20502 (INVALID_EXCEPTION_OK): Update value.
20503 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20504 (OVERFLOW_EXCEPTION_OK): Likewise.
20505 (IGNORE_ZERO_INF_SIGN): Likewise.
20506 (test_exceptions): Handle underflow exceptions.
20507 (acos_test): Update for underflow exception expectations.
20508 (cexp_test): Likewise.
20509 (clog_test): Likewise.
20510 (clog10_test): Likewise.
20511 (csqrt_test): Likewise.
20512 (ctan_test): Likewise.
20513 (ctanh_test): Likewise.
20514 (exp_test): Likewise.
20515 (exp10_test): Likewise.
20516 (exp2_test): Likewise.
20517 (expm1_test): Likewise.
20518 (fma_test): Likewise.
20519 (j0_test): Likewise.
20520 (jn_test): Likewise.
20521 (nexttoward_test): Likewise.
20522 (pow_test): Likewise.
20523 (scalbn_test): Likewise.
20524 (scalbln_test): Likewise.
20525 (tan_test): Likewise.
20526 (y1_test): Likewise.
20527 * sysdeps/i386/fpu/libm-test-ulps: Update.
20528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20529
9e0e3d0b
DM
205302012-05-23 David S. Miller <davem@davemloft.net>
20531
20532 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20533 (__libc_sigaction): Remove unused local variables.
20534
ccd0a08f
L
205352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20536
20537 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20538
62bdf9a6
PE
205392012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20540
f8591f80
PE
20541 mktime: avoid signed integer overflow
20542 * time/mktime.c (__mktime_internal): Do not mishandle the case
20543 where diff == INT_MIN.
20544
94c7d826
PE
20545 mktime: simplify computation of average
20546 * time/mktime.c (ranged_convert): Use new time_t_avg function
20547 instead of rolling our own (probably-slower) code.
20548
ce73d683
PE
20549 mktime: do not assume signed right shift propagates sign bit
20550 * time/mktime.c (isdst_differ): New static function.
20551 (__mktime_internal): No need to normalize tm_isdst now.
20552 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20553 tm_isdst values.
20554
72a22e59
PE
20555 mktime: merge another wrapv change from gnulib
20556 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20557 from some compilers.
20558
68605433
PE
20559 mktime: remove incorrect attempt at unusual arithmetics
20560 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20561 The code didn't really work on such machines anyway.
20562 (TYPE_MINIMUM): Assume two's complement.
20563 (twos_complement_arithmetic): Verify that long_int and time_t
20564 are two's complement (or unsigned, in the latter case).
20565
03cf7fe3
PE
20566 mktime: check signed shifts on long_int and time_t, too
20567 * time/mktime.c (SHR): Check that shifts work as desired
20568 on the types long_int and time_t too, as SHR is used on
20569 such types.
20570
f04dfbc2
PE
20571 mktime: do not assume 'long' is wide enough
20572 * time/mktime.c (verify): Move decl up.
20573 (long_int): New type.
20574 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20575 to remove assumption in the code that 'long' is wide enough to
20576 store year values. This assumption is not true on x32 and on
20577 some non-glibc platforms.
20578
62bdf9a6
PE
20579 mktime: merge wrapv change from gnulib
20580 * time/mktime.c (WRAPV): New macro.
20581 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20582 (guess_time_tm, __mktime_internal): Do not assume that signed
20583 integer overflow wraps around; modern compilers generate code
20584 where this assumption is no longer valid.
20585
5e292e4f
L
205862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20587
20588 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20589 Replace "jmp L(pseudo_end)" with "ret".
20590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20591 Likewise.
20592
8caf8c87
AJ
205932012-05-23 Andreas Jaeger <aj@suse.de>
20594
20595 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20596 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20597
1a09dc56
AJ
205982012-05-23 Andreas Jaeger <aj@suse.de>
20599 Maximilian Attems <max@stro.at>
20600
20601 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20602 New macros.
20603
1c87aba0
L
206042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20605
20606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20607 code so that pseudo_end is just ret and the stack pointer is
20608 correct also for static library in error case.
20609
40e45bd5
JM
206102012-05-23 Joseph Myers <joseph@codesourcery.com>
20611
c2670533
JM
20612 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20613 move to syscalls.list.
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20618
40e45bd5
JM
20619 * manual/install.texi (Running make install): Do not mention Linux
20620 kernel version for which pt_chown is not needed.
20621 (Linux): Do not mention problems with nscd with 2.0 kernels.
20622 * INSTALL: Regenerated.
20623
be08eda5
AJ
206242012-05-23 Andreas Jaeger <aj@suse.de>
20625
20626 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20627 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20628 macro.
20629 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20631 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20633 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20636 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20637 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20638 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20639 * sysdeps/unix/sysv/linux/bits/in.h
20640 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20641
a6a056bb
RM
206422012-05-22 Roland McGrath <roland@hack.frob.com>
20643
20644 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20645 (PREPARE_VERSION): Just use assert instead, it will be elided
20646 under [NDEBUG] anyway.
20647
c9009328
L
206482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 * sysdeps/unix/sysv/linux/Makefile: Include
20651 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20652 (sysdep_routines): Remove sysctl.
c9009328
L
20653 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20654 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20655 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20656 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20657 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20658
73338355
AJ
206592012-05-22 Andreas Jaeger <aj@suse.de>
20660
20661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20662 that pseudo_end is just ret and the stack pointer is correct also
20663 for static library in error case.
20664
d44638b0
PP
206652012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20666
20667 [BZ #14122]
20668 * nss/nsswitch.c (defconfig_entries): New variable.
20669 (__nss_database_lookup): Don't leak defconfig entries.
20670 (nss_parse_service_list): Don't leak on error paths.
20671 (free_database_entries): New function.
20672 (free_defconfig): New function.
20673 (free_mem): Move common code to free_database_entries.
20674
31a39bd8
L
206752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20676
da0331a8
L
20677 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20678 Add arch_prctl.
20679 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20680
31a39bd8
L
20681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20682 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20684 New macro.
20685 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20686 (INTERNAL_SYSCALL_TYPES): Likewise.
20687 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20688 (LOAD_REGS_TYPES_[1-6]): Likewise.
20689 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20690 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20691
45470df3
AZ
206922012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20693
20694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20695 copysignl for GLIBC_2_0.
20696 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20697 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20699 logbl for GLIBC_2_0.
20700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20701 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20702
98a61bcb
L
207032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20704
a4f6e481
L
20705 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20706 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20707
f63d5db6
L
20708 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20709 Use "neg %eax".
20710
98a61bcb
L
20711 * time/mktime.c: Update copyright years.
20712
95770f14
PE
207132012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20714
6226efbd
PE
20715 mktime: merge comment-quoting-style change from gnulib
20716 * time/mktime.c: Quote 'like this' in comments.
20717 The GNU coding standards suggest that we no longer quote `like this',
20718 as "`" and "'" are typically rendered asymmetrically nowadays.
20719 The typical gnulib style is to quote 'like this' when quoting
20720 code, and "like this" when quoting English.
20721
b99e4f78
PE
20722 * time/mktime.c (compile-command): Add "-I.".
20723
643e01e6
PE
20724 mktime: merge mktime-internal.h change from gnulib
20725 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20726
2554247d
PE
20727 mktime: merge time_r change from gnulib
20728 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20729
826dd0ab
PE
20730 mktime: merge DEBUG change from gnulib
20731 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20732 case system <time.h> has a #define.
20733
bd83aabe
PE
20734 mktime: merge <sys/types.h> change from gnulib
20735 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20736 since <time.t> is now guaranteed to define time_t.
20737
95770f14
PE
20738 mktime: merge HAVE_CONFIG_H change from gnulib
20739 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20740
5e1a27a9
L
207412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20742
0e44a77e
L
20743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20744 Use "neg %eax".
20745
5e1a27a9
L
20746 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20747 __rlim_t cast.
20748 (struct rusage): Use anonymous union to pad each field to
20749 __syscall_slong_t.
20750
46259bec
DM
207512012-05-21 David S. Miller <davem@davemloft.net>
20752
20753 * Makefules (o-iterator): Remove .s cases.
20754 (compile-command.s): Delete.
20755 (COMPILE.s): Delete.
20756 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20757
59f0c22e
JM
207582012-05-21 Joseph Myers <joseph@codesourcery.com>
20759
20760 * configure.in (libc_cv_predef_stack_protector): Only consider
20761 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20762 * configure: Regenerated.
20763
20c07380
L
207642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20765
bbb3154b
L
20766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20767 New macro. Use R*LP on int and pointer.
20768 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20769 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20770 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20771 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20772
20c07380
L
20773 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20774 [__WORDSIZE_TIME64_COMPAT32] instead of
20775 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20776 (struct utmp): Likewise.
20777 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20778 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20779 Renamed to ...
20780 (__WORDSIZE_TIME64_COMPAT32): This.
20781 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20782 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20783 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20784 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20785 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20786 (__WORDSIZE_TIME64_COMPAT32): New macro.
20787
d8d1017e
AJ
207882012-05-21 Andreas Jaeger <aj@suse.de>
20789
20790 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20791 only if [SHARED]. Add prototype for __wcschr_ia32.
20792
6c7fb145
RM
207932012-05-21 Roland McGrath <roland@hack.frob.com>
20794
20795 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20796 of %rbp unmolested in the jmp_buf while mangling the low bits.
20797 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20798 unmolested high bits of %rbp while demangling the low bits.
20799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20800
66274218
AJ
208012012-05-21 Andreas Jaeger <aj@suse.de>
20802
07c58f8f
AJ
20803 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20804 * sunrpc/svc_simple.c: Use it for registerrpc.
20805 * sunrpc/xcrypt.c: Use it for passwd2des.
20806
66274218
AJ
20807 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20808
61f65140
L
208092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20810
20811 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20812 Don't define if [__SYSCALL_WORDSIZE != 32].
20813 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20814 New macro.
20815
5fefb436
AJ
208162012-05-21 Bruno Haible <bruno@clisp.org>
20817 Andreas Jaeger <aj@suse.de>
20818
20819 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20820 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20821 inptr and inend for must_buffer_ch.
20822 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20823 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20824 * stdio-common/Makefile (tests): Remove bug15.
20825 (bug15-ENV): Remove macro.
20826 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20827 anymore.
20828
d8e272ab
AJ
208292012-05-19 Andreas Jaeger <aj@suse.de>
20830 Roland McGrath <roland@hack.frob.com>
20831
20832 * manual/contrib.texi: Completely rewritten. It contains now an
20833 alphabetical list of contributors and their contributions.
20834
4a56a162
RH
208352012-05-21 Richard Henderson <rth@twiddle.net>
20836
20837 * misc/getauxval.c (__getauxval): Use unsigned long int.
20838 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20839 (getauxval): Use unsigned long int.
20840
d024d23c
L
208412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20842
20843 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20844
cbc00a03
RM
208452012-05-21 Roland McGrath <roland@hack.frob.com>
20846
20847 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20848 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20849 __alignof__ (long double).
20850
478143fa
AZ
208512012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20852
20853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20854
c7683a6d
RH
208552012-05-20 Richard Henderson <rth@twiddle.net>
20856
20857 * misc/getauxval.c: New file.
20858 * misc/sys/auxv.h: New file.
20859 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20860 (routines): Add getauxval.
20861 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20862 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20863 * elf/dl-sysdep.c (_dl_auxv): Remove.
20864 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20865 * elf/dl-support.c (_dl_auxv): New variable.
20866 (_dl_aux_init): Initialize it.
20867 * manual/startup.texi (Auxiliary Vector): New node.
20868 * sysdeps/generic/bits/hwcap.h: New file.
20869 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20870 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20871 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20872 * sysdeps/sparc/sysdep.h: ... here. Include it.
20873 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20876 Update.
c7683a6d
RH
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20885
a6f1845d
AZ
208862012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20887
20888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20889
cbcbe830
DM
208902012-05-19 David S. Miller <davem@davemloft.net>
20891
20892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20893
e0b16cc2
JM
208942012-05-19 Joseph Myers <joseph@codesourcery.com>
20895
20896 [BZ #14123]
20897 * math/s_ccosh.c: Include <float.h>
20898 (__ccosh): Avoid internal overflow calculating sinh and cosh
20899 values before multiplying by sin and cos values.
20900 * math/s_ccoshf.c: Likewise.
20901 * math/s_ccoshl.c: Likewise.
20902 * math/s_csin.c: Likewise.
20903 * math/s_csinf.c: Likewise.
20904 * math/s_csinl.c: Likewise.
20905 * math/s_csinh.c: Likewise.
20906 * math/s_csinhf.c: Likewise.
20907 * math/s_csinhl.c: Likewise.
20908 * math/libm-test.inc (ccos_test): Add more tests.
20909 (ccosh_test): Likewise.
20910 (csin_test): Likewise.
20911 (csinh_test): Likewise.
20912 * sysdeps/i386/fpu/libm-test-ulps: Update.
20913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20914
6ad13e08
L
209152012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20916
f66f0ce8
L
20917 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20918 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20919
6ad13e08
L
20920 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20921
b1d072a7
JM
209222012-05-19 Joseph Myers <joseph@codesourcery.com>
20923
20924 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20925 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20926 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20927 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20928 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20929 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20930 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20931 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20932 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20933 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20934 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20935 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20936 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20937 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20938 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20939 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20940 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20941 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20942 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20943 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20944 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20945 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20946 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20947 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20948 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20949 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20950 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20951 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20952 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20953 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20954 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20955
9eae47cb
AJ
209562012-05-18 Andreas Jaeger <aj@suse.de>
20957
20958 * csu/.gitignore: Delete.
20959
bb07f69f
L
209602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20963 (timex): Use __syscall_slong_t.
20964
e6bdb741
AJ
209652012-05-18 Andreas Jaeger <aj@suse.de>
20966 Carlos O'Donell <carlos_odonell@mentor.com>
20967
20968 * manual/install.texi (Configuring and compiling): Update
20969 description about files modified in the source directory.
d6c33fda 20970 * INSTALL: Regenerated.
e6bdb741 20971
1b74487e
L
209722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20973
20974 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20975 value. Use "or" to set return value to -1.
20976 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20977 negate return value.
20978
a88b64b9
TMQMF
209792012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20980
20981 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20982 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20983 failure if the compiler has Graphite support disabled.
20984 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20985 Likewise.
20986 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20987 CFLAGS-memmove.c): Likewise.
20988 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20989 Likewise.
20990
3707636e
L
209912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20992
610b8622
L
20993 * sysdeps/x86_64/x32/_itoa.h: New file.
20994
7cd195df
L
20995 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20996 getdents system call only if kernel and user dirents have the
20997 same d_ino and d_off.
20998
94b07d20
L
20999 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21000 LLONG_MAX != LONG_MAX.
21001 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21002 (_fitoa_word): Likewise.
21003
18298070
L
21004 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21005 years.
21006 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21007 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21008 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21009
553c7ea4
L
21010 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21011 include <bits/wordsize.h>. Check __x86_64__ instead of
21012 __WORDSIZE.
21013 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21014 if __x86_64__ is defined. Use anonymous union on fpstate.
21015
3707636e
L
21016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21017 anonymous union.
21018
b53ef01a
AS
210192012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21020
37fb1dc0
AS
21021 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21022 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21023 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21024 Refer to _rtld_local_ro instead of _rtld_global_ro.
21025 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21026 Likewise.
21027 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21028 Likewise.
21029 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21030 Likewise.
21031 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21032 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21033 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21034
b53ef01a
AS
21035 * sysdeps/powerpc/powerpc32/dl-machine.c
21036 (__elf_machine_runtime_setup) [PROF]: Don't reference
21037 _dl_prof_resolve.
21038
7a185db2
AJ
210392012-05-18 Andreas Jaeger <aj@suse.de>
21040
21041 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21042 function only available for GCCs before 3.4 since GCC 3.4
21043 introduced a builtin.
21044 (lrint): Likewise.
21045 (llrintf): Likewise.
21046 (llrint): Likewise.
21047 (fmaxf): Likewise.
21048 (fmax): Likewise.
21049 (fminf): Likewise.
21050 (fmin): Likewise.
21051 (rint): Likewise.
21052 (rintf): Likewise.
21053 (nearbyint): Likewise.
21054 (nearbyintf): Likewise.
21055 (ceil): Likewise.
21056 (ceilf): Likewise.
21057 (floor): Likewise.
21058 (floorf): Likewise.
21059
3e5aef87
L
210602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21061
428bd707
L
21062 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21063 on both fields and cast pointer to __syscall_ulong_t.
21064
3e5aef87
L
21065 * bits/types.h (__fsword_t): New type.
21066 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21067 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21069 (__FSWORD_T_TYPE): Likewise.
21070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21071 (__FSWORD_T_TYPE): Likewise.
21072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21073 (__FSWORD_T_TYPE): Likewise.
21074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21075 (__FSWORD_T_TYPE): Likewise.
21076 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21077 __SWORD_TYPE with __fsword_t.
21078 (statfs64): Likewise.
21079
1ba7c3dc
DM
210802012-05-17 David S. Miller <davem@davemloft.net>
21081
21082 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21083
59910343
AJ
210842012-05-17 Andreas Jaeger <aj@suse.de>
21085
21086 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21087 warning.
21088
2e4c1e9e
L
210892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21090
21091 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21092
de7f5ce7
AJ
210932012-05-17 Andreas Jaeger <aj@suse.de>
21094
21095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21096 when it is used.
21097
286abc3d
CM
210982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21099
21100 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21101
477cc68e
L
211022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21103
21104 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21105 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21106
1a0994f5
CD
211072012-05-17 Andreas Jaeger <aj@suse.de>
21108 Carlos O'Donell <carlos_odonell@mentor.com>
21109
21110 [BZ #14059]
21111 * sysdeps/x86_64/multiarch/init-arch.h
21112 (bit_YMM_Usable): Rename to...
21113 (bit_AVX_Usable): ... this.
21114 (bit_FMA4_Usable): New macro.
21115 (bit_XMM_state): New macro.
21116 (bit_YMM_state): New macro.
21117 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21118 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21119 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21120 (CPUID_OSXSAVE): New macro.
21121 (CPUID_AVX): New macro.
21122 (CPUID_FMA4): New macro.
21123 (index_YMM_Usable): Rename to...
21124 (index_AVX_Usable): ... this.
21125 (HAS_AVX): Use HAS_ARCH_FEATURE.
21126 (HAS_FMA4): Likewise.
21127 (HAS_YMM_USABLE): Remove.
21128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21129 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21130 are present.
21131 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21132 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21133 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21134 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21135 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21136
0af797de
CM
211372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21138
21139 * math/libm-test.c: Support platforms without multiple rounding modes.
21140 * math/bug-nextafter.c: Support platforms without FP exceptions.
21141 * math/bug-nexttoward.c: Likewise.
21142 * math/test-fenv.c: Likewise.
21143 * math/test-misc.c: Likewise.
21144 * stdlib/bug-getcontext.c: Likewise.
21145
e39745ff
AJ
211462012-05-17 Andreas Jaeger <aj@suse.de>
21147
21148 * manual/examples/search.c (critter_cmp): Change signature to
21149 avoid warnings.
21150 * manual/string.texi (Collation Functions): Likewise.
21151
48970aba
L
211522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21153
21154 * bits/types.h: Fold copyright years.
21155 * bits/typesizes.h: Likewise.
21156 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21160 * time/time.h: Likewise.
21161
bedee953
PP
211622012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21163
21164 [BZ #208]
21165 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21166 in instead of returning them. Return void.
21167 (__libc_mallinfo): Accumulate over all arenas.
21168 (__malloc_stats): Adjust for change in int_mallinfo interface.
21169
61653dfb
RM
211702012-05-16 Roland McGrath <roland@hack.frob.com>
21171
30b99d79
RM
21172 [BZ #10375]
21173 * configure.in (NM): Add AC_CHECK_TOOL for it.
21174 (libc_extra_cflags): New substituted variable.
21175 Check for -fstack-protector being used implicitly.
21176 * configure: Regenerated.
21177 * config.make.in (config-extra-cflags): New variable,
21178 gets @libc_extra_cflags@.
21179 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21180
61653dfb
RM
21181 [BZ #10375]
21182 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21183 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21184 * configure: Regenerated.
21185 * config.make.in (CPPUNDEFS): New substituted variable.
21186 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21187 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21188 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21189
661768bb
L
211902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21191
21192 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21193 (mq_attr): Use __syscall_slong_t.
21194
d4261567
L
211952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21196
21197 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21198 Check __x86_64__ instead of __WORDSIZE.
21199 (_STAT_VER_LINUX): Likewise.
21200 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21201 __syscall_ulong_t and __syscall_slong_t.
21202 (stat64): Likewise.
21203
cf3ff365
L
212042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21205
21206 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21207
76cf3e4d
L
212082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21209
21210 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21211
a637753a
L
212122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21213
21214 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21215 __syscall_ulong_t.
21216
d5e05119
L
21217 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21218 include <bits/wordsize.h>. Check __x86_64__ instead of
21219 __WORDSIZE.
21220 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21221 defined.
21222 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21223
f62ee380
L
21224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21225 include <bits/wordsize.h>. Check __x86_64__ instead of
21226 __WORDSIZE.
21227 (user_regs_struct): Use "__extension__ unsigned long long"
21228 instead of "unsigned long" if __x86_64__ is defined.
21229 (user): Likewise. Pad after pointer field if __ILP32__ is
21230 defined.
21231
4e124ced
JM
212322012-05-16 Joseph Myers <joseph@codesourcery.com>
21233
6a3951a0
JM
21234 * configure.in (makeinfo): Require version 4.5 or later. Allow
21235 versions 5 to 9.
21236 * configure: Regenerated.
21237 * manual/install.texi (texinfo): Increase version requirement to
21238 4.5 or later.
21239 * INSTALL: Regenerated.
21240
4e124ced
JM
21241 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21242
953ca31a
L
212432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21244
21245 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21246
617aca05
L
21247 * sysdeps/x86_64/x32/ffs.c: New file.
21248
5762f7ae
L
21249 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21250 __syscall_ulong_t.
21251 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21252 defined. Use __syscall_ulong_t.
21253 (shminfo): Use __syscall_ulong_t.
21254 (shm_info): Likewise.
21255
a26b6856
L
21256 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21257 __syscall_ulong_t.
21258
cb2b9ef7
L
21259 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21260 <bits/wordsize.h>.
21261 (msgqnum_t): Use __syscall_ulong_t.
21262 (msglen_t): Likewise.
21263 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21264 __syscall_ulong_t.
21265
34683bb0
L
21266 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21267 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21268
84a68786
L
21269 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21270
48baa5f1
L
21271 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21272 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21273
180be88b
L
21274 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21275 __syscall_slong_t.
21276
5e90c8ad
L
21277 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21278 include <bits/wordsize.h>. Check __x86_64__ instead of
21279 __WORDSIZE.
21280
23dfb58b
L
21281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21282 "unsigned long long int" if __x86_64__ is defined.
21283 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21284
ce5d54b0
L
21285 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21286 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21287 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21288
13dc9eac
L
21289 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21290 <stdint.h>.
21291 (GET_PC): Cast to uintptr_t first.
21292 (GET_FRAME): Likewise.
21293 (GET_STACK): Likewise.
21294
a7895d15
L
21295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21296 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21297 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21299 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21301 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21302 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21303 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21308 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21311 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21312 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21313 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21314 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21315 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21316 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21317 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21318 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21321 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21323 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21324
656416c9
AS
213252012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21326
5bd66283
AS
21327 * Makerules (+depfiles): Also collect depfiles from .oS in
21328 $(extra-objs).
21329 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21330 .oS, $(libnldbl-routines)).
21331
656416c9
AS
21332 * Makerules (native-compile-mkdep-flags): Define.
21333 * sunrpc/Makefile (extra-objs): Add $(addprefix
21334 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21335 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21336 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21337 calling $(make-target-directory).
21338
a46f2169
L
213392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21340
21341 * bits/types.h (__snseconds_t): Removed.
21342 * time/time.h (struct timespec): Replace __snseconds_t with
21343 __syscall_slong_t.
21344 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21345 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21346 Likewise.
21347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21348 (__SNSECONDS_T_TYPE): Likewise.
21349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21350 (__SNSECONDS_T_TYPE): Likewise.
21351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21352 (__SNSECONDS_T_TYPE): Likewise.
21353
6af6528b
L
213542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21355
21356 * sysdeps/mach/hurd/bits/typesizes.h
21357 (__SYSCALL_SLONG_TYPE): New macro.
21358 (__SYSCALL_ULONG_TYPE): Likewise.
21359
de986b56
L
213602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * bits/types.h (__syscall_slong_t): New type.
21363 (__syscall_ulong_t): Likewise.
21364
21365 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21366 (__SYSCALL_ULONG_TYPE): Likewise.
21367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21368 (__SYSCALL_SLONG_TYPE): Likewise.
21369 (__SYSCALL_ULONG_TYPE): Likewise.
21370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21371 (__SYSCALL_SLONG_TYPE): Likewise.
21372 (__SYSCALL_ULONG_TYPE): Likewise.
21373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21374 (__SYSCALL_SLONG_TYPE): Likewise.
21375 (__SYSCALL_ULONG_TYPE): Likewise.
21376
85736dc7
L
213772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21378
21379 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21380 Add sigaltstack-offsets.sym.
21381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21382 <sigaltstack-offsets.h>.
21383 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21384 longjmp_msg pointer.
21385 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21386 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21387 signal stack.
21388 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21389
cc03b296
JM
213902012-05-15 Joseph Myers <joseph@codesourcery.com>
21391
a9538892
JM
21392 * elf/stackguard-macros.h: Remove file.
21393 * sysdeps/generic/stackguard-macros.h: New file.
21394 * sysdeps/i386/stackguard-macros.h: Likewise.
21395 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21396 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21397 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21398 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21399 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21400 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21401 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21402 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21403 <elf/stackguard-macros.h>.
21404
cc03b296
JM
21405 [BZ #14109]
21406 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21407 __aligned__ in attribute.
21408 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21409 (gregset_t): Likewise.
21410
93171016
L
214112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21412
21413 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21414 * sysdeps/x86_64/64/Implies-after: Here. New file.
21415 * sysdeps/x86_64/x32/Implies-after: New file.
21416
d86813a0
L
214172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21418
21419 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21420 and access return value for _dl_profile_fixup. Use R10_LP to
21421 load frame size.
21422
2953ec75
L
214232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21424
21425 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21426
3b550e9e
L
214272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21430 * sysdeps/x86_64/x32/sysdep.h: New file.
21431
eda41706
L
214322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21435 * sysdeps/x86_64/setjmp.S: Likewise.
21436
9ea01d93
AZ
214372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21438
21439 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21440 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21441 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21443 remove unused global constant.
21444
02a91938
CM
214452012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21446
21447 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21448 include of <not-cancel.h>.
21449
6540185f
RM
214502012-05-15 Roland McGrath <roland@hack.frob.com>
21451
21452 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21453
509072a0
AJ
214542012-05-15 Jeff Law <law@redhat.com>
21455 Andreas Jaeger <aj@suse.de>
21456
21457 [BZ #13594]
21458 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21459 out from...
21460 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21461 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21462 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21463 code changing __hst_map_handle.map.
21464
ba75122d
RM
214652012-05-15 Roland McGrath <roland@hack.frob.com>
21466
21467 * configure.in (sysnames): Look for Implies-before and Implies-after
21468 files.
21469 * configure: Regenerated.
21470
890d8bd8
L
214712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21472
21473 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21474 8-byte data alignment with LP_SIZE alignment.
21475
f6ee6623
L
214762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21477
21478 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21479 into R10_LP.
21480
ea2626f6
L
214812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21482
21483 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21484
085f715e
L
214852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21486
21487 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21488 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21489 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21490 Likewise.
21491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21492
be8498fc
L
214932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21494
21495 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21496 (stackinfo_sub_sp): Likewise.
21497
70bc83b9
L
214982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21499
21500 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21501 RAX_LP.
21502
9bc0b730
L
215032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21506 into R*_LP.
21507
6d2850e7
L
215082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21511 sizes into R*_LP.
21512
3cb84561
L
215132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21516
54e2ed81
L
215172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21518
21519 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21520 into R11_LP and load __x86_64_shared_cache_size_half into
21521 R8_LP.
21522
8a17f349
L
215232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21526 R8_LP.
21527
777b1eea
AZ
215282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21529
21530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21531 logb for POWER7.
21532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21533 logbf for POWER7.
21534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21535 logbl for POWER7.
21536 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21537 powerpc32/power7/fpu/s_logb.c via #include.
21538 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21539 powerpc32/power7/fpu/s_logbf.c via #include.
21540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21541 powerpc32/power7/fpu/s_logbl.c via #include.
21542
d20d4ac2
JM
215432012-05-15 Joseph Myers <joseph@codesourcery.com>
21544
21545 * README.libm: Remove file.
21546
6cdef1ab
L
215472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21548
21549 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21550 count for x32. Use R*_LP and omit operand-size suffix.
21551
0b254d8f
L
215522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21553
21554 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21555 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21556 * sysdeps/x86_64/x32/shlib-versions: New file.
21557
ceb809dc
RM
215582012-05-14 Roland McGrath <roland@hack.frob.com>
21559
21560 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21561 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21562 Use _dl_fatal_printf instead.
21563
37f1abd4
JM
215642012-05-14 Joseph Myers <joseph@codesourcery.com>
21565
21566 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21567 set if not set by the user. Do not allow for being unset.
21568 * sysdeps/unix/sysv/linux/configure: Regenerated.
21569
11de3a33
L
215702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21571
21572 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21573 the `q' suffix from lea and replace .quad with ASM_ADDR.
21574
e02f153a
L
215752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21578 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21579 instead of $17.
21580 (PTR_DEMANGLE): Likewise.
21581
520ae0fd
L
215822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21585 (LP_OP): Likewise.
21586 (ASM_ADDR): Likewise.
21587 (RAX_LP): Likewise.
21588 (RBP_LP): Likewise.
21589 (RBX_LP): Likewise.
21590 (RCX_LP): Likewise.
21591 (RDI_LP): Likewise.
21592 (RSI_LP): Likewise.
21593 (RSP_LP): Likewise.
21594 (R8_LP): Likewise.
21595 (R9_LP): Likewise.
21596 (R10_LP): Likewise.
21597 (R10_LP): Likewise.
21598 (R11_LP): Likewise.
21599 (R12_LP): Likewise.
21600 (R13_LP): Likewise.
21601 (R14_LP): Likewise.
21602 (R15_LP): Likewise.
21603
b985be81
L
216042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21605
21606 * sysdeps/x86_64/x32/dl-machine.h: New file.
21607
6a4888ff
AJ
216082012-05-14 Andreas Jaeger <aj@suse.de>
21609
21610 * manual/Makefile (subdir): Remove export of subdir.
21611 (all): Remove target.
21612 (.PHONY): Remove all from list.
21613 (mkinstalldirs): Remove.
21614 (.PHONY): Remove installdirs from list.
21615 ($(inst_infodir)/libc.info): Use make-target-directory.
21616 (installdirs): Remove.
21617 (subdir_%): Remove.
21618 (glibc-targets): Remove.
21619 (lib): Remove.
21620 (stubs): Remove.
21621 ($(objpfx)stubs ../po/manual.pot): Remove.
21622 ($(objpfx)stamp%): Remove.
21623 (make-target-directory): Remove.
21624 (subdir_install): Remove.
21625 (routines): Remove.
21626 (aux): Remove.
21627 (sources): Remove.
21628 (objects): Remove.
21629 (headers): Remove.
21630
21631 [BZ #13750]
21632 * manual/.gitignore: Remove, it's not needed anymore.
21633 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21634 all files in it.
21635 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21636 directory.
21637 (texis): Renamed to $(objpfx)texis.
21638 (texis-path): New, contains path to generated files.
21639 (chapters.%): Use texis-path for complete path, add extra argument
21640 libc-texinfo.sh.
21641 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21642 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21643 (summary,texi, stamp-summary): Use complete path of
21644 files. Generate files in build dir.
21645 (dir-add.texi): Build in build dir.
21646 (libm-err.texi,stamp-libm-err): Likewise.
21647 (version.texi, stamp-version): Likewise.
21648 (.%c.texi): Likewise.
21649 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21650 (mostlyclean): Remove target.
21651 (realclean): Remove target.
21652 (generated): Add new variable with contents from mostlyclean and
21653 realclean, remove entries duplicated in common-mostlyclean, add
21654 stamp-libm-err and stamp-version.
21655 (generated-dirs): Add libc directory.
21656 ($(inst_infodir)/libc.info): Install files from build dir.
21657
21658 * manual/install.texi (Configuring and compiling): Adjust since
21659 the info files are not part of the tar ball anymore.
21660
7ac77294
AJ
216612012-05-14 Andreas Jaeger <aj@suse.de>
21662
21663 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21664 variable.
21665
ffb7875d
JM
216662012-05-14 Joseph Myers <joseph@codesourcery.com>
21667
21668 [BZ #13717]
21669 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21670 to 2.2.0 where earlier.
21671 * sysdeps/unix/sysv/linux/configure: Regenerated.
21672 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21673 Remove conditional code.
21674 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21675 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21676 Remove conditional code.
21677 [!__NR_lchown]: Likewise.
21678 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21679 [__NR_lchown]: Likewise.
21680 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21681 comment referencing __ASSUME_LCHOWN_SYSCALL.
21682 * sysdeps/unix/sysv/linux/i386/sigaction.c
21683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21685 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21686 Remove conditional code.
21687 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21688 (__protocol_available): Remove #if 0 code.
21689 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21690 conditional code.
21691 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21692 * sysdeps/unix/sysv/linux/kernel-features.h
21693 (__ASSUME_GETCWD_SYSCALL): Don't define.
21694 (__ASSUME_REALTIME_SIGNALS): Likewise.
21695 (__ASSUME_PREAD_SYSCALL): Likewise.
21696 (__ASSUME_PWRITE_SYSCALL): Likewise.
21697 (__ASSUME_POLL_SYSCALL): Likewise.
21698 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21699 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21700 non-SPARC.
21701 (__ASSUME_SIOCGIFNAME): Don't define.
21702 (__ASSUME_MSG_NOSIGNAL): Likewise.
21703 (__ASSUME_SENDFILE): Define unconditionally.
21704 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21705 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21706 conditional code.
21707 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21708 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21709 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21710 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21711 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21712 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21713 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21715 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21718 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21727 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21730 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21738 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21739 Remove conditional code.
21740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21741 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21742 Remove conditional code.
21743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21744 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21745 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21746 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21747 Remove conditional code.
21748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21749 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21750 Remove conditional code.
21751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21752 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21753 Remove conditional code.
21754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21755 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21756 Remove conditional code.
21757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21758 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21759 Remove conditional code.
21760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21761 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21764 * sysdeps/unix/sysv/linux/sigaction.c
21765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21767 * sysdeps/unix/sysv/linux/sigpending.c
21768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21770 * sysdeps/unix/sysv/linux/sigprocmask.c
21771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21773 * sysdeps/unix/sysv/linux/sigsuspend.c
21774 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21775 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21776 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21777 (__libc_missing_rt_sigs): Remove.
21778 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21779 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21780 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21781 Remove conditional code.
21782 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21783 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21784 return 1.
21785 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21786 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21787 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21788 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21789
1bfb7291
AJ
217902012-05-14 Andreas Jaeger <aj@suse.de>
21791
caae5a81
AJ
21792 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21793 it's not used in glibc.
21794 (__coshm1): Likewise.
21795 (__acosh1p): Likewise.
21796 (__sgn): Likewise.
21797
1bfb7291
AJ
21798 * manual/string.texi (Copying and Concatenation): Add missing
21799 variable in concat example.
21800 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21801
c044d724
L
218022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21803
144c5467 21804 [BZ #14103]
c044d724
L
21805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21806 __builtin_clzl with __builtin_clzll.
21807
2523c62b
L
218082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 [BZ #14104]
21811 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21812 libc_freeres_ptr.
21813
d7bb4c42
LD
218142012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21815
21816 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21817 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21818 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21819 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21820
9dc4e1fb
MF
218212012-05-14 Mike Frysinger <vapier@gentoo.org>
21822
21823 * NEWS: Update ia64 info.
21824
c7df0112
AS
218252012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21826
21827 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21828 used as bcopy.
21829
dc70356c
TS
218302012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21831
21832 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21833 * sysdeps/unix/syscalls.list (dup3): Likewise.
21834 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21835 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21836
9fb1a21f
L
218372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21838
21839 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21840 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21841
4822a2a5
L
218422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21843
21844 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21845 thread pointer.
21846 (TLS_IE): Use mov/add instead of movq/addq to load thread
21847 pointer.
21848 (TLS_GD_PREFIX): New.
21849 (TLS_GD): Use it.
21850
842b81d6
DM
218512012-05-11 David S. Miller <davem@davemloft.net>
21852
21853 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21854 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21855 (_FPU_SETCW): Likewise.
21856
1cf463cd
L
218572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21858
21859 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21860 is 32-byte aligned.
21861
60cc4a18
AS
218622012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21863
21864 [BZ #11837]
21865 * iconvdata/gb18030.c: Update tables.
21866 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21867 characters specially.
21868 (BODY for TO_LOOP): Add encoding of missing ranges.
21869
febb44a4
TS
218702012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21871
21872 [BZ #13673]
21873 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21874 * sysdeps/mach/hurd/dup3.c: Likewise.
21875 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21876 * sysdeps/powerpc/memmove.c:: Likewise.
21877
0a10fb9e
L
218782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21879
21880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21881 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21882
df8a552f
L
218832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 * elf/elf.h (R_X86_64_RELATIVE64): New.
21886 (R_X86_64_NUM): Updated.
21887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21888 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21889 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21890 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21891 tst-quad1pie tst-quad2pie
21892 (modules-names): Add tst-quadmod1 tst-quadmod2.
21893 ($(objpfx)tst-quad1): New dependency.
21894 ($(objpfx)tst-quad2): Likewise.
21895 ($(objpfx)tst-quad1pie): Likewise.
21896 ($(objpfx)tst-quad2pie): Likewise.
21897 * sysdeps/x86_64/tst-quad1.c: New file.
21898 * sysdeps/x86_64/tst-quad1pie.c: New file.
21899 * sysdeps/x86_64/tst-quad2.c: Likewise.
21900 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21901 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21902 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21903 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21904 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21905
f34d6f84
ST
219062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21907
f42d41d1
ST
21908 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21909 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21910 * streams/stropts.h (t_scalar_t): Define type.
21911
3c3571fc
ST
21912 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21913 (_PATH_PRESERVE): Set to "/var/lib".
21914 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21915
61f06bd3
ST
21916 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21917 instead of int.
21918
918d4d71
ST
21919 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21920 if __dir_mkfile succeeded.
21921
f34d6f84
ST
21922 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21923 checking for _hurd_dtablesize. Unlock it right after having
21924 finished _hurd_dtable allocation.
21925
10589b4a
TS
219262012-05-10 Thomas Schwinge <thomas@schwinge.name>
21927
674cdbc7
TS
21928 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21929 * sysdeps/mach/hurd/configure: Regenerated.
21930 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21931 special-casing to...
21932 * sysdeps/gnu/configure.in: ... this new file.
21933 * sysdeps/unix/sysv/linux/configure: Regenerated.
21934 * sysdeps/gnu/configure: New generated file.
21935
8e41b99f
TS
21936 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21937 for Linux: use nsec instead of usec, as well as:
21938 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21939 members of type struct timespec.
21940 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21941 New macros.
21942 (struct stat64): Likewise.
21943 (_STATBUF_ST_NSEC): New macro.
21944 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21945
10589b4a
TS
21946 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21947 __strtoul_internal rather than strtoul.
21948
63643c85
PT
219492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21950
21951 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21952 and reject them.
21953
3faebe6a
ST
219542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21955
21956 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21957 which preserves existing values.
21958 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21959
c6474b07
PT
219602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21961
21962 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21963 TIMEOUT values. Return EINVAL for NFDS values either negative or
21964 greater than FD_SETSIZE.
21965
1043890b
ST
219662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21967
21968 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21969 allocated, call __vm_protect to finish enabling the existing space, and
21970 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21971 allocate the remainder.
21972
37ed8b9b
PT
219732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21974
21975 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21976 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21977
db653660
ST
219782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21979
37ed8b9b
PT
21980 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21981 sysdeps/mach/hurd/readlink.c.
b29d4053 21982
db653660
ST
21983 * posix/tst-sysconf.c (posix_options): Only use
21984 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21985 _POSIX_SYNCHRONIZED_IO when they are defined
21986 * sysdeps/mach/hurd/bits/posix_opt.h:
21987 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21988 (_XOPEN_REALTIME): Undefine macro.
21989 (_XOPEN_REALTIME_THREADS): Undefine macro.
21990 (_XOPEN_SHM): Undefine macro.
21991 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21992 macro to -1.
21993 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21994 macro to -1.
21995 (_POSIX_ASYNC_IO): Undefine macro.
21996 (_POSIX_PRIORITIZED_IO): Undefine macro.
21997 (_POSIX_SPIN_LOCKS): Define macro to -1.
21998
ee16e894
ST
21999 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22000 SA_NODEFER, SA_RESETHAND.
22001 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22002 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22003 F_DUPFD_CLOEXEC.
22004
6103ae3b
TS
220052012-05-10 Thomas Schwinge <thomas@schwinge.name>
22006
22007 * elf/Makefile (pldd-modules): Define unconditionally.
22008
80b4e5f3
TS
220092012-05-10 Thomas Schwinge <thomas@schwinge.name>
22010
22011 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22012
edadcbd6
ST
220132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22014
22015 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22016 Return ENOENT when name is empty.
22017 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22018
80694780
TS
220192012-05-10 Thomas Schwinge <thomas@schwinge.name>
22020
1792c087
TS
22021 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22022
80694780
TS
22023 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22024
6b645f0d
ST
220252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22026
80694780
TS
22027 Fix mlock in all cases except non-readable pages.
22028 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22029 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22030
6b645f0d
ST
22031 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22032 (__mkdir): When path is `/', just fail with EEXIST.
22033 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22034
e468f8a3
TS
220352012-05-10 Thomas Schwinge <thomas@schwinge.name>
22036
22037 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22038 <sys/uio.h> (for writev).
22039 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22040 and <sys/param.h> (for MIN).
22041
a4186cff
PT
220422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22043
22044 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22045 REQUESTED_TIME. Properly set the remaining time and return EINTR
22046 if interrupted.
22047
510bbf14
TS
220482012-05-10 Thomas Schwinge <thomas@schwinge.name>
22049
22050 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22051 Depend on against $(link-rpcuserlibs).
22052
5d5722e8
ST
220532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22054
a4186cff
PT
22055 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22056 (__libc_stack_end): Do not use attribute_relro.
22057 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22058 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22059 to libthread-provided value.
a4186cff
PT
22060 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22061 attribute_relro.
5d5722e8 22062
37233df9
TS
220632012-05-10 Thomas Schwinge <thomas@schwinge.name>
22064
be971a2b
TS
22065 [BZ #3748]
22066 * bits/libc-lock.h (__libc_once_get): New macro.
22067 * sysdeps/mach/bits/libc-lock.h: Likewise.
22068 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22070 instead of using implementation details.
22071
37233df9
TS
22072 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22073 * libio/freopen.c: Likewise.
22074 * libio/freopen64.c: Likewise.
22075 * misc/syslog.c: Likewise.
22076 * nscd/connections.c: Likewise.
22077 * nscd/netgroupcache.c: Likewise.
22078 * sysdeps/posix/getcwd.c: Likewise.
22079
38de94a5
RM
220802012-05-10 Roland McGrath <roland@hack.frob.com>
22081
22082 * math/w_ilogbf.c: Add #include <limits.h>.
22083
67530489
ST
220842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22085
a4186cff 22086 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22087 path instead of returning without unlocking.
22088
67530489
ST
22089 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22090 immediate-write ioctls.
22091 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22092
5aa3a74a
TS
220932012-05-10 Thomas Schwinge <thomas@schwinge.name>
22094
18bad2ae
TS
22095 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22096 __builtin_frame_address instead of making assumptions about the
22097 location of the return address relative to DATA. Force early load of
22098 the return address.
22099 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22100 __builtin_frame_address.
22101
5aa3a74a
TS
22102 dup3 for GNU Hurd.
22103 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22104 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22105 implement dup3 and do some further code clean-ups.
22106 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22107 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22108
ecd0de9a
ST
221092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22110
cd9fa985
ST
22111 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22112
a4186cff
PT
22113 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22114 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22115 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22116 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22117 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22118 d->port.lock.
802ca5a5 22119
a4186cff
PT
22120 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22121 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22122 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22123
bcf55240
TS
221242012-05-10 Thomas Schwinge <thomas@schwinge.name>
22125
6960eb42
TS
22126 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22127 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22128 definitions.
22129
eb43375f
TS
22130 accept4 for GNU Hurd.
22131 * include/sys/socket.h (__libc_accept4): New prototype.
22132 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22133 to implement __libc_accept4.
22134 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22135 __libc_accept4.
22136 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22137
bcf55240
TS
22138 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22139 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22140 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22141 signal-defines.sym.
22142
6178c55b
ST
221432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22144
a4186cff 22145 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22146
6f080c2f
TS
221472012-05-10 Thomas Schwinge <thomas@schwinge.name>
22148
22149 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22150 assertion on O_CLOEXEC flag.
22151 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22152 * hurd/intern-fd.c: Likewise.
22153 * hurd/port2fd.c: Likewise.
22154
bcfe3a54
ST
221552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22156
22157 [BZ #3906]
22158 * bits/in.h (IPV6_PKTINFO): Define new macro.
22159 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22160
89c9aa49
AZ
221612012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22162
22163 [BZ #13954]
22164 [BZ #13955]
22165 [BZ #13956]
22166 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22168 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22169 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22171 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22172 * math/libm-test.inc (logb_test) : Additional logb tests.
22173
021db4be
AJ
221742012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22175 Andreas Jaeger <aj@suse.de>
22176
22177 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22178 * configure: Regenerated.
22179 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22180 * config.make.in (link-obsolete-rpc): New substituted variable.
22181 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22182 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22183 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22184 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22185 so that libc.a contains the symbols.
22186 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22187 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22188 * sunrpc/auth_none.c: Likewise.
22189 * sunrpc/auth_unix.c: Likewise.
22190 * sunrpc/authdes_prot.c: Likewise.
22191 * sunrpc/authuxprot.c: Likewise.
22192 * sunrpc/clnt_gen.c: Likewise.
22193 * sunrpc/clnt_perr.c: Likewise.
22194 * sunrpc/clnt_raw.c: Likewise.
22195 * sunrpc/clnt_simp.c: Likewise.
22196 * sunrpc/clnt_tcp.c: Likewise.
22197 * sunrpc/clnt_udp.c: Likewise.
22198 * sunrpc/clnt_unix.c: Likewise.
22199 * sunrpc/des_crypt.c: Likewise.
22200 * sunrpc/des_soft.c: Likewise.
22201 * sunrpc/get_myaddr.c: Likewise.
22202 * sunrpc/key_call.c: Likewise.
22203 * sunrpc/key_prot.c: Likewise.
22204 * sunrpc/netname.c: Likewise.
22205 * sunrpc/pm_getmaps.c: Likewise.
22206 * sunrpc/pm_getport.c: Likewise.
22207 * sunrpc/pmap_clnt.c: Likewise.
22208 * sunrpc/pmap_prot.c: Likewise.
22209 * sunrpc/pmap_prot2.c: Likewise.
22210 * sunrpc/pmap_rmt.c: Likewise.
22211 * sunrpc/publickey.c: Likewise.
22212 * sunrpc/rpc_cmsg.c: Likewise.
22213 * sunrpc/rpc_common.c: Likewise.
22214 * sunrpc/rpc_dtable.c: Likewise.
22215 * sunrpc/rpc_prot.c: Likewise.
22216 * sunrpc/rpc_thread.c: Likewise.
22217 * sunrpc/rtime.c: Likewise.
22218 * sunrpc/svc.c: Likewise.
22219 * sunrpc/svc_auth.c: Likewise.
22220 * sunrpc/svc_raw.c: Likewise.
22221 * sunrpc/svc_run.c: Likewise.
22222 * sunrpc/svc_tcp.c: Likewise.
22223 * sunrpc/svc_udp.c: Likewise.
22224 * sunrpc/svc_unix.c: Likewise.
22225 * sunrpc/svcauth_des.c: Likewise.
22226 * sunrpc/xcrypt.c: Likewise.
22227 * sunrpc/xdr.c: Likewise.
22228 * sunrpc/xdr_array.c: Likewise.
22229 * sunrpc/xdr_float.c: Likewise.
22230 * sunrpc/xdr_intXX_t.c: Likewise.
22231 * sunrpc/xdr_mem.c: Likewise.
22232 * sunrpc/xdr_rec.c: Likewise.
22233 * sunrpc/xdr_ref.c: Likewise.
22234 * sunrpc/xdr_sizeof.c: Likewise.
22235 * sunrpc/xdr_stdio.c: Likewise.
22236
b5c086a2
RM
222372012-05-10 Roland McGrath <roland@hack.frob.com>
22238
22239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22240 change. Update copyright years.
22241
6d74dd09
JM
222422012-05-10 Joseph Myers <joseph@codesourcery.com>
22243
22244 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22245
28e72501
MK
222462012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22247 Joseph Myers <joseph@codesourcery.com>
22248 Paul Pluzhnikov <ppluzhnikov@google.com>
22249
22250 [BZ #14012]
22251 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22252 requiring rpcgen.
22253 [cross-compiling] (extra-libs): Likewise.
22254 [cross-compiling] (extra-libs-others): Likewise.
22255 [cross-compiling] (librpcsvc-routines): Likewise.
22256 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22257 [cross-compiling] (omit-deps): Likewise.
22258 (sunrpc-CPPFLAGS): New variable.
22259 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22260 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22261 (cross-rpcgen-objs): New variable.
22262 (extra-objs): Append $(cross-rpcgen-objs).
22263 ($(cross-rpcgen-objs)): New rule.
22264 ($(objpfx)cross-rpcgen): Likewise.
22265 (rpcgen-cmd): Define to use $(built-program-file). Expand
22266 comment.
22267 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22268 ($(objpfx)x%.stmp): Likewise.
22269 * sunrpc/proto.h [IS_IN_build] (_): Define.
22270 [IS_IN_build] (_libc_intl_domainname): Likewise.
22271
c8c59454
L
222722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22275 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22276 and R_X86_64_TPOFF64.
22277
6f27cd16
JM
222782012-05-10 Joseph Myers <joseph@codesourcery.com>
22279
22280 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22281 sysdeps/unix/sysv/syscalls.list.
22282 (stime): Likewise.
22283 (utime): Likewise.
22284 * sysdeps/unix/sysv/syscalls.list: Remove file.
22285
02467e1c
PE
222862012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22287
22288 [BZ #3440]
22289 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22290 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22291 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22292 (__LC_IDENTIFICATION): Make these macros useful in #if
22293 expressions, as required by C99.
22294
da392631
AS
222952012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22296
22297 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22298 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22299 after this.
22300
8115f29b
L
223012012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22302
22303 * stdlib/longlong.h: Updated from GCC.
22304
bdd74070
AJ
223052012-05-09 Andreas Jaeger <aj@suse.de>
22306
edfe0dbe
AJ
22307 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22308 default is first entry.
22309 (run_mode): Set type.
22310 (main): Remove informal message about syslog.
22311 (options): Fix typo.
22312
bcfe3a54
ST
22313 [BZ #14053]
22314 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22315 to asm.
bcfe3a54
ST
22316 (lrint): Likewise.
22317 (llrintf): Likewise.
22318 (llrint): Likewise.
22319 (rint): Likewise.
22320 (rintf): Likewise.
22321 (nearbyint): Likewise.
22322 (nearbyintf): Likewise.
bdd74070 22323
91d8d69e
AJ
223242012-05-09 Andreas Jaeger <aj@suse.de>
22325 Pedro Alves <palves@redhat.com>
22326
22327 * nscd/nscd.c (run_mode): Use enum.
22328 (main): Cleanup coding style issue.
22329
bb90b80b
AJ
223302012-05-09 Alexandre Oliva <aoliva@redhat.com>
22331 Andreas Jaeger <aj@suse.de>
22332
bcfe3a54
ST
22333 * nscd/nscd.c (go_background): Replaced with...
22334 (run_mode): ... this.
bb90b80b 22335 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22336 (options): Add -F --foreground.
22337 (main): Implement it.
22338 (parse_opt): Parse it.
bb90b80b 22339
1a4b75a1
AJ
223402012-05-09 Andreas Jaeger <aj@suse.de>
22341
22342 [BZ #14083]
22343 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22344 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22345 -Wconversion warning.
22346 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22347 Likewise.
22348
b1cc2472
JM
223492012-05-09 Joseph Myers <joseph@codesourcery.com>
22350
22351 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22352 == 0.
22353 (LC_ALL): Use macro-int-constant.
22354 (LC_COLLATE): Likewise.
22355 (LC_CTYPE): Likewise.
22356 (LC_MESSAGES): Likewise.
22357 (LC_MONETARY): Likewise.
22358 (LC_NUMERIC): Likewise.
22359 (LC_TIME): Likewise.
22360 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22361 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22363 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22364 Specify type.
22365 [C99-based standards] (float_t): Expect type.
22366 [C99-based standards] (double_t): Expect type.
22367 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22368 type.
22369 [C99-based standards] (HUGE_VALL): Likewise.
22370 [C99-based standards] (INFINITY): Likewise.
22371 [C99-based standards] (NAN): Likewise.
22372 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22373 [C99-based standards] (FP_NAN): Likewise.
22374 [C99-based standards] (FP_NORMAL): Likewise.
22375 [C99-based standards] (FP_SUBNORMAL): Likewise.
22376 [C99-based standards] (FP_ZERO): Likewise.
22377 [C99-based standards] (FP_FAST_FMA): Use
22378 optional-macro-int-constant. Specify type. Require == 1.
22379 [C99-based standards] (FP_FAST_FMAF): Likewise.
22380 [C99-based standards] (FP_FAST_FMAL): Likewise.
22381 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22382 [C99-based standards] (FP_ILOGBNAN): Likewise.
22383 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22384 Specify type.
22385 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22386 [C99-based standards] (math_errhandling): Specify type.
22387 [ISO99 || ISO11] (signgam): Do not allow.
22388 [non-C99-based standards] (copysignf): Do not allow.
22389 [non-C99-based standards] (exp2f): Likewise.
22390 [non-C99-based standards] (log2f): Likewise.
22391 [non-C99-based standards] (modff): Allow.
22392 [non-C99-based standards] (erff): Do not allow.
22393 [non-C99-based standards] (erfcf): Likewise.
22394 [non-C99-based standards] (gammaf): Likewise.
22395 [non-C99-based standards] (hypotf): Likewise.
22396 [non-C99-based standards] (j0f): Likewise.
22397 [non-C99-based standards] (j1f): Likewise.
22398 [non-C99-based standards] (jnf): Likewise.
22399 [non-C99-based standards] (lgammaf): Likewise.
22400 [non-C99-based standards] (tgammaf): Likewise.
22401 [non-C99-based standards] (y0f): Likewise.
22402 [non-C99-based standards] (y1f): Likewise.
22403 [non-C99-based standards] (ynf): Likewise.
22404 [non-C99-based standards] (isnanf): Likewise.
22405 [non-C99-based standards] (acoshf): Likewise.
22406 [non-C99-based standards] (asinhf): Likewise.
22407 [non-C99-based standards] (atanhf): Likewise.
22408 [non-C99-based standards] (cbrtf): Likewise.
22409 [non-C99-based standards] (expm1f): Likewise.
22410 [non-C99-based standards] (ilogbf): Likewise.
22411 [non-C99-based standards] (log1pf): Likewise.
22412 [non-C99-based standards] (logbf): Likewise.
22413 [non-C99-based standards] (nextafterf): Likewise.
22414 [non-C99-based standards] (remainderf): Likewise.
22415 [non-C99-based standards] (rintf): Likewise.
22416 [non-C99-based standards] (scalbf): Likewise.
22417 [non-C99-based standards] (copysignl): Likewise.
22418 [non-C99-based standards] (exp2l): Likewise.
22419 [non-C99-based standards] (log2l): Likewise.
22420 [non-C99-based standards] (modfl): Allow.
22421 [non-C99-based standards] (erfl): Do not allow.
22422 [non-C99-based standards] (erfcl): Likewise.
22423 [non-C99-based standards] (gammal): Likewise.
22424 [non-C99-based standards] (hypotl): Likewise.
22425 [non-C99-based standards] (j0l): Likewise.
22426 [non-C99-based standards] (j1l): Likewise.
22427 [non-C99-based standards] (jnl): Likewise.
22428 [non-C99-based standards] (lgammal): Likewise.
22429 [non-C99-based standards] (tgammal): Likewise.
22430 [non-C99-based standards] (y0l): Likewise.
22431 [non-C99-based standards] (y1l): Likewise.
22432 [non-C99-based standards] (ynl): Likewise.
22433 [non-C99-based standards] (isnanl): Likewise.
22434 [non-C99-based standards] (acoshl): Likewise.
22435 [non-C99-based standards] (asinhl): Likewise.
22436 [non-C99-based standards] (atanhl): Likewise.
22437 [non-C99-based standards] (cbrtl): Likewise.
22438 [non-C99-based standards] (expm1l): Likewise.
22439 [non-C99-based standards] (ilogbl): Likewise.
22440 [non-C99-based standards] (log1pl): Likewise.
22441 [non-C99-based standards] (logbl): Likewise.
22442 [non-C99-based standards] (nextafterl): Likewise.
22443 [non-C99-based standards] (remainderl): Likewise.
22444 [non-C99-based standards] (rintl): Likewise.
22445 [non-C99-based standards] (scalbl): Likewise.
22446 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22447 [non-C99-based standards] (FP_*): Do not allow.
22448 [C99-based standards] (FP_*): Change to
22449 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22450 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22451 allow.
22452 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22453 (SIG_ERR): Likewise.
22454 [X/Open-based standards] (SIG_HOLD): Likewise.
22455 (SIG_IGN): Likewise.
22456 (SIGABRT): Use macro-int-constant. Specify type. Require
22457 positive value.
22458 (SIGFPE): Likewise.
22459 (SIGILL): Likewise.
22460 (SIGINT): Likewise.
22461 (SIGSEGV): Likewise.
22462 (SIGTER): Likewise.
22463 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22464 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22465 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22466 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22467 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22468 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22469 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22470 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22471 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22472 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22473 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22474 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22475 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22476 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22477 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22480 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22481 [X/Open-based standards] (SIGTRAP): Likewise.
22482 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22486 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22487 allow.
22488
b9f1922d
IW
224892012-05-08 Ian Wienand <ianw@vmware.com>
22490
22491 [BZ #14080]
22492 * time/tzset.c (__tzset_parse_tz): Update default rules for
22493 daylight time changes in the Energy Policy Act of 2005.
22494
1db86e88
AJ
224952012-05-09 Andreas Jaeger <aj@suse.de>
22496
22497 [BZ #13983]
22498 * elf/ldconfig.c (parse_conf): Change string to make clear that
22499 ldconfig only issued a warning if ld.so.conf does not exist.
22500
dee4a4e3
DM
225012012-05-08 David S. Miller <davem@davemloft.net>
22502
ee0db190
DM
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22504 movxtod instead of popping the value on the stack.
22505
dee4a4e3
DM
22506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22507
6a43ec98
CD
225082012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22509
22510 * config.h.in: Add HAVE_ARM_PCS_VFP.
22511
05c2c961
RMG
225122012-05-08 Roland Mc Grath <roland@hack.frob.com>
22513
bcfe3a54
ST
22514 [BZ #13979]
22515 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22516 checking but the checks are disabled for any reason.
05c2c961 22517
4b30f61a
L
225182012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22519
22520 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22521 and ELF64_R_TYPE with ELFW(R_TYPE).
22522
eee2bc67
JM
225232012-05-08 Joseph Myers <joseph@codesourcery.com>
22524
7ea5391a
JM
22525 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22526 (ulimit): Likewise.
22527
eee2bc67
JM
22528 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22529 (settimeofday): Likewise.
22530
abb66a67
MF
225312012-05-08 Mike Frysinger <vapier@gentoo.org>
22532
22533 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22534 a struct th_u2 inside the union, and move tu_block/tu_code into
22535 a new th_u3 union of tu_block/tu_code inside of that. Move
22536 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22537 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22538 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22539 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22540 (th_stuff): Change to th_u1.tu_stuff.
22541 (th_data): Define.
22542 (th_msg): Change to th_u1.th_u2.tu_data.
22543
7f18b530
DM
225442012-05-07 David S. Miller <davem@davemloft.net>
22545
05760585
DM
22546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22547
7f18b530
DM
22548 [BZ #14074]
22549 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22550 (SETUP_PIC_REG): Use it.
22551 (SETUP_PIC_REG_LEAF): Use it.
22552
495fd99f
JM
225532012-05-07 Joseph Myers <joseph@codesourcery.com>
22554
22555 [BZ #13885]
22556 [BZ #13923]
22557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22558 USE_AS_EXPM1L.
22559 (EXPL_FINITE): Likewise.
22560 (FLDLOG): Likewise.
22561 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22562 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22563 e_expl.S.
22564 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22565 USE_AS_EXPM1L.
22566 (EXPL_FINITE): Likewise.
22567 (FLDLOG): Likewise.
22568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22569 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22570 e_expl.S.
22571 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22572 test of -max_value argument for long double.
22573 * sysdeps/i386/fpu/libm-test-ulps: Update.
22574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22575
6693d694
DM
225762012-05-06 David S. Miller <davem@davemloft.net>
22577
22578 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22579 quad soft-float symbols whose references which are compiler
22580 generated.
22581 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22582
6c23e11c
JM
225832012-05-06 Joseph Myers <joseph@codesourcery.com>
22584
d8b82cad
JM
22585 [BZ #13884]
22586 [BZ #13914]
22587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22588 USE_AS_EXP10L.
22589 (EXPL_FINITE): Likewise.
22590 (FLDLOG): Likewise.
22591 (c0): Likewise.
22592 (c1): Likewise.
22593 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22594 Adjust comments for base varying.
22595 (__expl_finite): Change alias to EXPL_FINITE.
22596 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22597 e_expl.S.
22598 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22599 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22601 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22602 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22603 USE_AS_EXP10L.
22604 (EXPL_FINITE): Likewise.
22605 (FLDLOG): Likewise.
22606 (c0): Likewise.
22607 (c1): Likewise.
22608 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22609 Adjust comments for base varying.
22610 (__expl_finite): Change alias to EXPL_FINITE.
22611 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22612 tests for bugs.
22613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22614
6c23e11c
JM
22615 [BZ #14064]
22616 * math/libm-test.inc (check_float_internal): Correct ulp
22617 calculation for subnormal expected results.
22618
29ba805c
AJ
226192012-05-06 Andreas Jaeger <aj@suse.de>
22620
22621 * Makeconfig (+math-flags): New, set to -frounding-math.
22622 (+cflags): Add +math-flags so that all of glibc gets compiled with
22623 it.
22624
22625 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22626
7b17aeda
JM
226272012-05-05 Joseph Myers <joseph@codesourcery.com>
22628
5779f134
JM
22629 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22630 Disable one test.
22631
41498f4d
JM
22632 [BZ #13787]
22633 [BZ #13922]
22634 [BZ #14036]
22635 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22636 (__ieee754_expl): Allow for and saturate large arguments.
22637 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22638 (u_threshold): Likewise.
22639 (__exp): Call __ieee754_exp before checking for overflow and
22640 underflow.
22641 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22642 (u_threshold): Likewise.
22643 (__expf): Call __ieee754_expf before checking for overflow and
22644 underflow.
22645 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22646 (u_threshold): Likewise.
22647 (__expl): Call __ieee754_expl before checking for overflow and
22648 underflow.
22649 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22650 (__ieee754_expl): Allow for and saturate large arguments.
22651 * math/libm-test.inc (exp_test): Add another test. Do not allow
22652 missing overflow exception on overflow.
22653 (expm1_test): Do not allow missing overflow exception on overflow.
22654
6698b8bf
JM
22655 * sysdeps/i386/fpu/e_expl.c: Move to ...
22656 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22657 rather than using inline asm.
22658 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22659 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22660 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22661
7b17aeda
JM
22662 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22663 (nice): Likewise.
22664 (poll): Likewise.
22665 (signal): Likewise.
22666 (time): Likewise.
22667 (times): Likewise.
22668
f7c85819
JM
226692012-05-04 Joseph Myers <joseph@codesourcery.com>
22670
22671 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22672 sysdeps/unix/common/syscalls.list.
22673 (fchmod): Likewise.
22674 (fchown): Likewise.
22675 (ftruncate): Likewise.
22676 (getrusage): Likewise.
22677 (gettimeofday): Likewise.
22678 (setpgid): Likewise.
22679 (setregid): Likewise.
22680 (setreuid): Likewise.
22681 (sigaction): Likewise.
22682 (truncate): Likewise.
22683 (vhangup): Likewise.
22684 * sysdeps/unix/common/syscalls.list: Remove file.
22685 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22686 * sysdeps/unix/sysv/linux/Implies: Likewise.
22687
336270d0
L
226882012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22692 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22693 Moved to ...
22694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22695 Here.
22696 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22697 to ...
22698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22699 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22700 to ...
22701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22702 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22703 to ...
22704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22705 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22706 to ...
22707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22708 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22709 to ...
22710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22711 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22712 to ...
22713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22714 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22715 to ...
22716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22717 Here.
22718 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22719 to ...
22720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22721 Here.
22722 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22723 to ...
22724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22725 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22726 Moved to ...
22727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22728 Here.
22729 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22730 to ...
22731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22732
d128e450
JM
227332012-05-04 Joseph Myers <joseph@codesourcery.com>
22734
fa8ee516
JM
22735 * sysdeps/unix/common/bits/dirent.h: Remove file.
22736 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22737
d128e450
JM
22738 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22739 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22740 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22741 * sysdeps/unix/bsd/isatty.c: Likewise.
22742 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22743 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22744 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22745
ff8faaf0 227462012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22747
62881be4 22748 [BZ #13563]
31dc8730
AZ
22749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22750 long double comparison inaccuracies.
22751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22753
6fef930c
AS
227542012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22755
22756 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22758
8f203e6c
JM
227592012-05-04 Joseph Myers <joseph@codesourcery.com>
22760
22761 [BZ #14049]
22762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22763 nonzero digits before rounding a hex value.
22764 * stdlib/tst-strtod.c (tests): Add another test.
22765
5197d9c2
AK
227662012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22767
22768 * sysdeps/s390/fpu/libm-test-ulps: Update.
22769
f0c1dedf
AJ
227702012-05-03 Andreas Jaeger <aj@suse.de>
22771
22772 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22773 does not get optimized out.
22774 (malloc_opt_barrier): New.
22775
a65ef2ae 227762012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22777 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22778
2b942cb7 22779 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22780 intermediate file deletion.
2b942cb7 22781 (generated): Add .symlist files.
a65ef2ae 22782
54b71e02
JM
227832012-05-03 Joseph Myers <joseph@codesourcery.com>
22784
22785 [BZ #13775]
22786 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22787 Redirect under this condition.
22788 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22789 [__USE_GNU] (__dprintf_chk): Not under this condition.
22790 [__USE_GNU] (__vdprintf_chk): Likewise.
22791 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22792 under this condition.
22793 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22794 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22795 [__USE_XOPEN2K8] (vdprintf): Likewise.
22796 [__USE_GNU] (__dprintf_chk): Not under this condition.
22797 [__USE_GNU] (__vdprintf_chk): Likewise.
22798 [__USE_GNU] (dprintf): Likewise.
22799 [__USE_GNU] (vdprintf): Likewise.
22800
d3dfcc41
RM
228012012-05-03 Roland McGrath <roland@hack.frob.com>
22802
22803 * elf/Makefile (common-generated): Set this instead of generated for
22804 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22805 $(all-built-dso)-derived lists.
22806
7ac30cc5
AJ
228072012-05-03 Andreas Jaeger <aj@suse.de>
22808
0c51e550
AJ
22809 * sysdeps/i386/fpu/libm-test-ulps: Update.
22810
7ac30cc5
AJ
22811 * FAQ: Removed.
22812 * FAQ.in: Likewise.
22813 * scripts/gen-FAQ.pl: Likewise.
22814 * manual/install.texi (Installation): Point to online location of
22815 FAQ.
22816 * Makefile (files-for-dist): Remove FAQ.
22817 (FAQ): Remove.
22818
d4c2917f
AM
228192012-05-02 Allan McRae <allan@archlinux.org>
22820
22821 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22822 (LDFLAGS-reldepmod5.so): Likewise.
22823 (LDFLAGS-reldep6mod1.so): Likewise.
22824 (LDFLAGS-reldep6mod4.so): Likewise.
22825 (LDFLAGS-reldep8mod3.so): Likewise.
22826 (LDFLAGS-unload4mod1.so): Likewise.
22827 (LDFLAGS-unload4mod2.so): Likewise.
22828 (LDFLAGS-tst-initorder): Likewise.
22829 (LDFLAGS-tst-initordera2.so): Likewise.
22830 (LDFLAGS-tst-initordera3.so): Likewise.
22831 (LDFLAGS-tst-initordera4.so): Likewise.
22832 (LDFLAGS-tst-initorderb2.so): Likewise.
22833 (LDFLAGS-noload): Likewise.
22834 (LDFLAGS-next): Likewise.
22835 (LDFLAGS-order2mod1.so): Likewise.
22836 (LDFLAGS-order2mod2.so): Likewise.
22837 (LDFLAGS-tst-initorder2): Likewise.
22838 (LDFLAGS-tst-initorder2a.so): Likewise.
22839 (LDFLAGS-tst-initorder2b.so): Likewise.
22840 (LDFLAGS-tst-initorder2c.so): Likewise.
22841 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22842
d77f993f
DM
228432012-05-02 David S. Miller <davem@davemloft.net>
22844
22845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22846
171a70b4
PP
228472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22848
22849 [BZ #14055]
22850 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22851
0be196ad
AJ
228522012-05-02 Andreas Jaeger <aj@suse.de>
22853
22854 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22855 since we manipulate rounding mode.
22856 (CPPFLAGS-test-idouble.c): Likewise.
22857 (CPPFLAGS-test-ifloat.c): Likewise.
22858 (CFLAGS-test-ldouble.c): Likewise.
22859 (CFLAGS-test-double.c): Likewise.
22860 (CFLAGS-test-float.c): Likewise.
22861 (CFLAGS-test-misc.c): Likewise.
22862 (CFLAGS-test-test-fenv.c): Likewise.
22863
4f9d04aa
AZ
228642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22865
2b942cb7
RM
22866 [BZ #2550]
22867 [BZ #2570]
22868 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22869 comparisons to determine direction to adjust input.
4f9d04aa 22870
82a79e7d
RM
228712012-05-01 Roland McGrath <roland@hack.frob.com>
22872
f5a01ca9
RM
22873 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22874 output to the target.
22875
90fe4186
RM
22876 * scripts/localplt.awk: New file.
22877 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22878 (check-localplt-CFLAGS): Variable removed.
22879 ($(all-built-dso:=.jmprel)): New static pattern rule.
22880 (generated): Add those targets.
22881 (localplt-built-dso): New variable.
22882 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22883
22884 * elf/check-localplt.c: File removed.
22885
82397ed6
RM
22886 * scripts/check-execstack.awk: New file.
22887 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22888 (check-execstack-CFLAGS): Variable removed.
22889 ($(objpfx)check-execstack.h): Target removed.
22890 ($(objpfx)execstack-default): New target.
22891 (generated): Add that instead of check-execstack.h.
22892 ($(all-built-dso:=.phdr)): New static pattern rule.
22893 (generated): Add those targets.
22894 * elf/check-execstack.c: File removed.
22895
82a79e7d
RM
22896 * scripts/check-textrel.awk: New file.
22897 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22898 (check-textrel-CFLAGS): Variable removed.
22899 (all-built-dso): Use := to define.o
22900 ($(all-built-dso:=.dyn)): New static pattern rule.
22901 (generated): Add those targets.
22902 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22903 * config.make.in (READELF): New substituted variable.
22904 * elf/check-textrel.c: File removed.
22905
62fde54f 229062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22907
615605c9
JM
22908 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22909 allow.
22910 * conform/data/ctype.h-data [C99-based standards] (isblank):
22911 Expect function.
22912 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22913 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22915 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22916 Specify type. Require positive value.
22917 (EILSEQ): Likewise.
22918 (ERANGE): Likewise.
22919 [ISO || POSIX] (EILSEQ): Do not expect.
22920 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22921 Specify type. Require positive value.
22922 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22923 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22924 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22925 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22926 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22927 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22928 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22929 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22930 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22932 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22933 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22936 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22941 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22942 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22975 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22976 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22977 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22978 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22979 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22980 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22982 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22983 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22984 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22985 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22986 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22992 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22996 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22997 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22998 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22999 Require >= 2.
23000 (FLT_ROUNDS): Expect as macro, not constant.
23001 (FLT_MANT_DIG): Use macro-int-constant.
23002 (DBL_MANT_DIG): Likewise.
23003 (LDBL_MANT_DIG): Likewise.
23004 (FLT_DIG): Likewise.
23005 (DBL_DIG): Likewise.
23006 (LDBL_DIG): Likewise.
23007 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23008 (DBL_MIN_EXP): Likewise.
23009 (LDBL_MIN_EXP): Likewise.
23010 (FLT_MAX_EXP): Use macro-int-constant.
23011 (DBL_MAX_EXP): Likewise.
23012 (LDBL_MAX_EXP): Likewise.
23013 (FLT_MAX_10_EXP): Likewise.
23014 (DBL_MAX_10_EXP): Likewise.
23015 (LDBL_MAX_10_EXP): Likewise.
23016 (FLT_MAX): Use macro-constant.
23017 (DBL_MAX): Likewise.
23018 (LDBL_MAX): Likewise.
23019 (FLT_EPSILON): Use macro-constant. Give upper bound.
23020 (DBL_EPSILON): Likewise.
23021 (LDBL_EPSILON): Likewise.
23022 (FLT_MIN): Likewise.
23023 (DBL_MIN): Likewise.
23024 (LDBL_MIN): Likewise.
23025 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23026 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23027 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23028 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23029 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23030 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23031 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23032 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23033 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23034 [ISO11] (FLT_TRUE_MIN): Likewise.
23035 [ISO11] (LDBL_TRUE_MIN): Likewise.
23036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23037 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23038 (SCHAR_MIN): Use macro-int-constant. Specify type.
23039 (SCHAR_MAX): Likewise.
23040 (UCHAR_MAX): Likewise.
23041 (CHAR_MIN): Likewise.
23042 (CHAR_MAX): Likewise.
23043 (MB_LEN_MAX): Use macro-int-constant.
23044 (SHRT_MIN): Use macro-int-constant. Specify type.
23045 (SHRT_MAX): Likewise.
23046 (USHRT_MAX): Likewise.
23047 (INT_MAX): Likewise.
23048 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23049 bound negative.
23050 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23051 bound with "U".
23052 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23053 bound with "L".
23054 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23055 bound negative. Suffix upper bound with "L".
23056 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23057 bound with "UL".
23058 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23059 Specify type.
23060 [C99-based standards] (LLONG_MAX): Likewise.
23061 [C99-based standards] (ULLONG_MAX): Likewise.
23062 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23063 == 0.
23064 [ISO11] (max_align_t): Require type.
23065 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23066
c9140a62
JM
23067 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23068 from $CFLAGS, without defining away __attribute__ calls.
23069 (checknamespace): Use $CFLAGS_namespace.
23070
9af0bf29
JM
23071 * conform/conformtest.pl (@keywords): Only include C99 keywords
23072 for standards based on C99 or C11.
23073
343222a2
JM
23074 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23075 Disable tests.
23076 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23077 UNIX98]: Likewise.
23078
661f8cf0
JM
23079 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23080 usability of symbols in #if.
23081
ee74b9cb
JM
23082 * conform/conformtest.pl: If macro or constant types start
23083 "promoted:", expect the symbol to be of the following type
23084 promoted by the integer promotions.
62fde54f 23085
aafc49b3
JM
23086 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23087 in one place. Also handle "macro-constant".
23088
fefdf574
JM
23089 * conform/conformtest.pl: Only accept expected macro values with
23090 "==". Parse all "macro" lines in one place.
23091 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23092
f2d922fe
JM
23093 * conform/conformtest.pl: Handle braced types on "constant" lines
23094 instead of handling "typed-constant".
23095 * conform/data/signal.h-data: Use "constant" instead of
23096 "typed-constant".
23097
d22956c9
JM
23098 * conform/conformtest.pl: Handle "optional-" at start of lines in
23099 one place rather than duplicating several cases. Handle each
23100 format of "macro" line with initial "optional-".
23101
028e2e38
JM
23102 * conform/conformtest.pl: Only accept expected constant or
23103 optional-constant values with "==". Parse all "constant" lines in
23104 one place. Parse all "optional-constant" lines in one place.
23105 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23106 * conform/data/fmtmsg.h-data: Likewise.
23107 * conform/data/netinet/in.h-data: Likewise.
23108 * conform/data/tar.h-data: Likewise.
23109 * conform/data/limits.h-data: Use "==" form on "constant" and
23110 "optional-constant" lines.
23111
1b8f2850
JM
23112 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23113 Use -std=c99 for XOPEN2K.
23114 (@knownproblems): Remove.
23115 (newtoken): Don't check %isknown.
23116
a05a144b
JM
23117 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23118 Do not expect macro.
23119 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23120 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23121 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23122 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23123 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23124 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23125 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23126 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23127 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23128 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23129 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23130 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23131 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23132 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23133 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23134 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23135 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23136 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23137 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23138 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23139 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23140 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23146 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23147 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23149 [XPG3] (acosh): Likewise.
23150 [XPG3] (asinh): Likewise.
23151 [XPG3] (atanh): Likewise.
23152 [XPG3] (cbrt): Likewise.
23153 [XPG3] (expm1): Likewise.
23154 [XPG3] (ilogb): Likewise.
23155 [XPG3] (log1p): Likewise.
23156 [XPG3] (logb): Likewise.
23157 [XPG3] (nextafter): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23160 [XPG3] (remainder): Likewise.
23161 [XPG3] (rint): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23164 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23165 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23166 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23167 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23168 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23169 [UNIX98 || XOPEN2K] (scalb): Expect.
23170 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23171 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23172 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23173 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23174 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23175 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23176 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23177 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23178 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23179 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23180 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23181 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23182 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23183 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23184 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23185 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23186 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23189 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23190 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23191 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23192 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23195 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23196 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23214 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23215 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23216 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23217 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23219 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23220 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23221 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23307
73c5ebe3
JM
23308 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23309 _XOPEN_SOURCE_EXTENDED for XPG4.
23310
39c33b6c
JM
23311 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23312
62fde54f
JM
23313 * Makeconfig (localtime): Remove variable.
23314 (inst_localtime-file): Likewise.
23315
0741d64c
AS
233162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23317
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23319 Update.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23321 Update.
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23323 Update.
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23325 Update.
23326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23327 Update.
23328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23329 Update.
23330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23331 Update.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23333 Update.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23335 Update.
23336
7cb029ee
JM
233372012-05-01 Joseph Myers <joseph@codesourcery.com>
23338
23339 [BZ #2550]
23340 [BZ #2570]
23341 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23342 comparisons to determine direction to adjust input.
23343 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23344 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23345 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23346 Likewise.
23347 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23348 Likewise.
23349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23350 Likewise.
23351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23353 Likewise.
23354 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23355 Likewise.
23356 * math/libm-test.inc (nexttoward_test): Add more tests.
23357
412bd966
AS
233582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23359
23360 [BZ #14040]
23361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23362 in version GLIBC_2.1, not GLIBC_2.0.
23363 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23364 Likewise.
23365
9568c0c2
JM
233662012-04-30 Joseph Myers <joseph@codesourcery.com>
23367
adfbc8ac
JM
23368 [BZ #13942]
23369 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23370 (1 - x) * (1 + x).
23371 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23372 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23373 * math/libm-test.inc (acos_test): Add more tests.
23374 (asin_test): Likewise.
23375 * sysdeps/i386/fpu/libm-test-ulps: Update.
23376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23377
5ba3cc69
JM
23378 [BZ #14034]
23379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23380 of square root.
23381 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23382 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23383 * math/libm-test.inc (acos_test_tonearest): New function.
23384 (acos_test_towardzero): Likewise.
23385 (acos_test_downward): Likewise.
23386 (acos_test_upward): Likewise.
23387 (asin_test_tonearest): Likewise.
23388 (asin_test_towardzero): Likewise.
23389 (asin_test_downward): Likewise.
23390 (asin_test_upward): Likewise.
23391 (main): Call the new functions.
23392 * sysdeps/i386/fpu/libm-test-ulps: Update.
23393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23394
9568c0c2
JM
23395 [BZ #13884]
23396 [BZ #13924]
23397 * math/e_exp10.c: Include <float.h>.
23398 (__ieee754_exp10): Handle underflow here rather than multiplying
23399 large negative argument by M_LN10.
23400 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23401 of __ieee754_expf.
23402 * math/e_exp10l.c: Include <float.h>.
23403 (__ieee754_exp10l): Handle underflow here rather than multiplying
23404 large negative argument by M_LN10l.
23405 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23406 spurious overflow exception on underflow.
23407
5ac3ea17
MP
234082012-04-29 Marek Polacek <polacek@redhat.com>
23409
23410 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23411 (__fortify_function): New macro.
23412 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23413 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23414 __extern_always_inline.
23415 * libio/bits/stdio2.h: Likewise.
23416 * libio/bits/stdio.h: Likewise.
23417 * string/string.h: Likewise.
23418 * string/bits/string3.h: Likewise.
23419 * include/stdio.h: Likewise.
23420 * stdlib/bits/stdlib.h: Likewise.
23421 * stdlib/stdlib.h: Likewise.
23422 * rt/bits/mqueue2.h: Likewise.
23423 * rt/mqueue.h: Likewise.
23424 * posix/bits/unistd.h: Likewise.
23425 * posix/unistd.h: Likewise.
23426 * io/bits/poll2.h: Likewise.
23427 * io/bits/fcntl2.h: Likewise.
23428 * io/fcntl.h: Likewise.
23429 * io/sys/poll.h: Likewise.
23430 * misc/bits/syslog.h: Likewise.
23431 * misc/bits/syslog-ldbl.h: Likewise.
23432 * misc/sys/syslog.h: Likewise.
23433 * socket/bits/socket2.h: Likewise.
23434 * socket/sys/socket.h: Likewise.
23435 * debug/tst-chk1.c: Likewise.
23436 * wcsmbs/bits/wchar2.h: Likewise.
23437 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23438 * wcsmbs/wchar.h: Likewise.
23439
ecf0ebfb
AJ
234402012-04-29 Andreas Jaeger <aj@suse.de>
23441
23442 * Makerules (tests): Remove enable-check-abi protection.
23443 (check-abi-warn): Remove.
23444 (check-abi-%): Remove check-abi-warn usage.
23445
23446 * configure.in: Remove check-abi configure option.
23447 * configure: Regenerated.
23448 * config.make.in (enable-check-abi): Remove.
23449
6d5c57fa
AS
234502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23451
24c5d07e 23452 [BZ #14033]
ded5180a
AS
23453 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23454 double functions to double *_finite functions.
23455
7e0d315d
AS
23456 [BZ #13941]
23457 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23458 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23459 LDBL_MIN_EXP.
23460 * stdio-common/Makefile (tests): Add tst-sprintf3.
23461 * stdio-common/tst-sprintf3.c: New file.
23462
6d5c57fa
AS
23463 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23464 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23465
0749ff8b
JM
234662012-04-28 Joseph Myers <joseph@codesourcery.com>
23467
23468 * conform/conformtest.pl: Remove duplicate typed-constant
23469 handling.
23470
8dbd5d7b
DM
234712012-04-28 David S. Miller <davem@davemloft.net>
23472
23473 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23474 (check-abi-%): Remove AWK script prerequisite and explicit
23475 abilist directory.
23476 (check-abi): Rewrite to just diff the symlist with the abilist.
23477 (config-tls, config-abi-config): Delete, no longer used.
23478 (update-abi-%): Remove AWK script and explicit abilist directory.
23479 (update-abi): Rewrite to simply compare and conditionally copy the
23480 symlist and the sysdep abilist file. Remove update-abi-config
23481 checks.
23482 * abilist/ld.abilist: Remove.
23483 * abilist/libBrokenLocale.abilist: Remove.
23484 * abilist/libanl.abilist: Remove.
23485 * abilist/libcrypt.abilist: Remove.
23486 * abilist/libdl.abilist: Remove.
23487 * abilist/librt.abilist: Remove.
23488 * abilist/libthread_db.abilist: Remove.
23489 * abilist/libutil.abilist: Remove.
23490 * scripts/extract-abilist.awk: Remove.
23491 * scripts/merge-abilist.awk: Remove.
23492 * sysdeps/generic/libcidn.abilist: New file.
23493 * sysdeps/generic/libnss_compat.abilist: New file.
23494 * sysdeps/generic/libnss_db.abilist: New file.
23495 * sysdeps/generic/libnss_dns.abilist: New file.
23496 * sysdeps/generic/libnss_files.abilist: New file.
23497 * sysdeps/generic/libnss_hesiod.abilist: New file.
23498 * sysdeps/generic/libnss_nis.abilist: New file.
23499 * sysdeps/generic/libnss_nisplus.abilist: New file.
23500 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23501 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23502 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23503 file.
23504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23505 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23506 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23507 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23508 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23509 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23510 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23511 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23512 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23513 file.
23514 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23515 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23516 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23517 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23518 file.
23519 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23520 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23521 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23522 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23523 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23524 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23525 file.
23526 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23527 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23528 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23529 file.
23530 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23532 New file.
23533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23534 New file.
23535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23536 New file.
23537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23538 New file.
23539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23540 New file.
23541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23542 New file.
23543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23544 New file.
23545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23546 New file.
23547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23548 New file.
23549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23550 New file.
23551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23552 New file.
23553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23554 New file.
23555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23556 New file.
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23558 file.
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23560 New file.
23561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23562 New file.
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23564 file.
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23566 New file.
23567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23568 New file.
23569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23570 file.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23572 New file.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23574 New file.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23576 New file.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23578 New file.
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23580 New file.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23582 New file.
23583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23585 file.
23586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23587 New file.
23588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23589 file.
23590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23591 file.
23592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23593 file.
23594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23595 file.
23596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23597 file.
23598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23599 New file.
23600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23601 file.
23602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23603 file.
23604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23605 New file.
23606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23607 file.
23608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23610 file.
23611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23612 New file.
23613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23614 file.
23615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23616 file.
23617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23618 file.
23619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23620 file.
23621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23622 file.
23623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23624 New file.
23625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23626 file.
23627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23628 file.
23629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23630 New file.
23631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23632 file.
23633 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23634 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23635 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23636 file.
23637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23638 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23639 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23640 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23641 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23642 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23643 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23644 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23645 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23646 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23649 file.
23650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23651 New file.
23652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23653 file.
23654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23655 file.
23656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23657 file.
23658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23659 file.
23660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23661 file.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23663 New file.
23664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23665 New file.
23666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23667 file.
23668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23669 New file.
23670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23671 file.
23672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23674 file.
23675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23676 New file.
23677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23678 file.
23679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23680 file.
23681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23682 file.
23683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23684 file.
23685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23686 file.
23687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23688 New file.
23689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23690 New file.
23691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23692 file.
23693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23694 New file.
23695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23696 file.
23697
41d73a1b
JM
236982012-04-28 Joseph Myers <joseph@codesourcery.com>
23699
23700 * conform/conformtest.pl: Fix typo in handling typed-constant from
23701 allow-header.
23702
28aeeda4
JM
237032012-04-27 Joseph Myers <joseph@codesourcery.com>
23704
adae8f5e
JM
23705 * README: Cut down references to pre-2.6 Linux kernels and
23706 Linuxthreads. Update lists of configurations in libc and ports
23707 and sort alphabetically. Say "or newer" with Linux kernel version
23708 requirements.
23709
28aeeda4
JM
23710 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23711
a462cb63
RA
237122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23713
23714 [BZ #887]
23715 * math/libm-test.inc (logb_test_downward): New test to expose
23716 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23717 rounding mode.
23718
6ad3493e
JM
237192012-04-27 Joseph Myers <joseph@codesourcery.com>
23720
23721 [BZ #14027]
23722 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23723 to be done.
23724 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23725 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23726
2ce4f015
JM
237272012-04-26 Joseph Myers <joseph@codesourcery.com>
23728
5aeb141a
JM
23729 * sysdeps/unix/i386/brk.S: Remove file.
23730 * sysdeps/unix/i386/dl-brk.S: Likewise.
23731 * sysdeps/unix/i386/pipe.S: Likewise.
23732 * sysdeps/unix/i386/sigreturn.S: Likewise.
23733 * sysdeps/unix/i386/syscall.S: Likewise.
23734 * sysdeps/unix/i386/vfork.S: Likewise.
23735 * sysdeps/unix/i386/wait.S: Likewise.
23736
7143acae
JM
23737 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23738 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23739
2ce4f015
JM
23740 * configure.in (arm*-none*): Do not allow without
23741 --enable-hacker-mode.
23742 (netbsd*): Remove case setting base_os.
23743 (386bsd*): Likewise.
23744 (freebsd*): Likewise.
23745 (bsdi*): Likewise.
23746 (osf*): Likewise.
23747 (sunos*): Likewise.
23748 (ultrix*): Likewise.
23749 (newsos*): Likewise.
23750 (dynix*): Likewise.
23751 (*bsd*): Likewise.
23752 (sysv*): Likewise.
23753 (isc*): Likewise.
23754 (esix*): Likewise.
23755 (sco*): Likewise.
23756 (minix*): Likewise.
23757 (irix4*): Likewise.
23758 (irix6*): Likewise.
23759 (solaris[2-9]*): Likewise.
23760 (none): Likewise.
23761 * configure: Regenerated.
23762
0ac229c8
AZ
237632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23764
23765 [BZ #11521]
23766 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23767 overflow or cancellation in calculating denominator.
23768 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23770 down expression to avoid unexpected rounding in newer GCCs.
23771 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23772
33f244f4
DM
237732012-04-26 David S. Miller <davem@davemloft.net>
23774
23775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23776 long-double compat symbols.
23777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23790
cfa1f3e8
DM
237912012-04-25 David S. Miller <davem@davemloft.net>
23792
23793 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23794 HWCAP_* values only after the memory barriers have been defined.
23795 (atomic_full_barrier): Define.
23796 (atomic_read_barrier): Define.
23797 (atomic_write_barrier): Define.
23798
6e236b92
SP
237992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23800
23801 * shlib-versions: Add libgcc_s version information.
23802 * sysdeps/generic/libgcc_s.h: Remove.
23803 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23804 libgcc_s.h.
23805 * sysdeps/gnu/unwind-resume.c: Likewise.
23806 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23807
aab39a09
DM
238082012-04-25 David S. Miller <davem@davemloft.net>
23809
23810 * sysdeps/unix/sparc/brk.S: Delete.
23811 * sysdeps/unix/sparc/dl-brk.S: Delete.
23812 * sysdeps/unix/sparc/pipe.S: Delete.
23813 * sysdeps/unix/sparc/sysdep.S: Delete.
23814 * sysdeps/unix/sparc/sysdep.h: Delete.
23815 * sysdeps/unix/sparc/vfork.S: Delete.
23816 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23817 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23818 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23819 ret_ERRVAL, r0, r1, MOVE): Define.
23820 (JUMPTARGET): Remove.
23821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23822 sysdeps/unix/sparc/sysdep.h
23823 (ENTRY, END): Remove.
23824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23825
a3cc4f48
JM
238262012-04-25 Joseph Myers <joseph@codesourcery.com>
23827
2ed8cda2
JM
23828 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23829 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23830 -DIS_IN_build.
23831
35d76d59
JM
23832 * timezone/README: Update upstream location and email address for
23833 tzcode and tzdata.
23834 * timezone/zdump.c: Update from tzcode 2012b.
23835 * timezone/zic.c: Likewise.
23836
a3cc4f48
JM
23837 * configure.in (libc_cv_as_needed): Remove test.
23838 * configure: Regenerated.
23839 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23840 conditional definition.
23841 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23842 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23843 * config.make.in (have-as-needed): Remove variable.
23844
ceab42c3
SP
238452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23846 Paul Pluzhnikov <ppluzhnikov@google.com>
23847
23848 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23849 strings correctly.
23850
3ce2865f
CLT
238512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23852
23853 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23854 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23855 * sysdeps/sh/strlen.S: Likewise.
23856
f37e0d68
JM
238572012-04-24 Joseph Myers <joseph@codesourcery.com>
23858
ae186e9a
JM
23859 * sysdeps/unix/fork.S: Remove file.
23860 * sysdeps/unix/i386/fork.S: Likewise.
23861 * sysdeps/unix/sparc/fork.S: Likewise.
23862
b96914af
JM
23863 * sysdeps/unix/system.c: Remove file.
23864 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23865
f37e0d68
JM
23866 * sysdeps/unix/getegid.S: Remove file.
23867 * sysdeps/unix/geteuid.S: Likewise.
23868
87ef29ca
RM
238692012-04-24 Roland McGrath <roland@hack.frob.com>
23870
83bcd236
RM
23871 * scripts/check-localplt.awk: New file.
23872 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23873 of diff.
23874 * scripts/data/localplt-generic.data: Add a comment.
23875
87ef29ca
RM
23876 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23877 NODE when __dir_mkfile failed.
23878 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23879 Reported by Ludovic Courtès <ludo@gnu.org>.
23880
e5a6e567
AJ
238812012-04-24 Andreas Jaeger <aj@suse.de>
23882
23883 * Makerules (common-clean): Also remove gen-as-const-headers
23884 files.
23885
c1820385
JM
238862012-04-24 Joseph Myers <joseph@codesourcery.com>
23887
23888 * Makerules (native-compile): Do not change working directory for
23889 build. Use $(OUTPUT_OPTION) in command.
23890 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23891
94e02fc4
AZ
238922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23893
23894 [BZ #13886]
23895 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23896 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23897 * math/libm-test.inc (floor_test): Add more tests.
23898 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23899
3a533ca3
JM
239002012-04-24 Joseph Myers <joseph@codesourcery.com>
23901
940ab4b3
JM
23902 * sysdeps/unix/getdents.c: Remove file.
23903 * sysdeps/unix/sysv/getdents.c: Likewise.
23904 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23905
90e037bd
JM
23906 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23907 sysdeps/unix/mman/syscalls.list.
23908 (mmap): Likewise.
23909 (mprotect): Likewise.
23910 (msync): Likewise.
23911 (munmap): Likewise.
23912 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23913 * sysdeps/unix/mman/syscalls.list: Remove.
23914 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23915
3a533ca3
JM
23916 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23917 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23918 * configure: Regenerated.
23919 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23920 $(libgcc_s_suffix).
23921 * config.make.in (libgcc_s_suffix): Remove variable.
23922
1ad743de
JM
239232012-04-23 Joseph Myers <joseph@codesourcery.com>
23924
4ad451e2
JM
23925 * sysdeps/unix/sysv/gethostname.c: Move to ...
23926 * sysdeps/posix/gethostname.c: ... here.
23927
5e37ce39
JM
23928 * sysdeps/unix/execve.S: Remove file.
23929
1ad743de
JM
23930 * sysdeps/unix/_exit.S: Remove file.
23931
4e681b5b
AJ
239322012-04-23 Andreas Jaeger <aj@suse.de>
23933
23934 [BZ #13739]
23935 * manual/Makefile: Remove make dist support, there's no
23936 need for a stand-alone documentation tar ball.
23937 (TEXI2DVI): Define always, it's not in Makeconfig.
23938 (dist): Removed.
23939 (tar-it): Removed.
23940 (edition): Removed.
23941 (glibc-doc-$(edition).tar): Removed
23942 (%.Z): Removed.
23943 (%.gz): Removed.
23944 (%.uu): Removed.
23945 (ETAGS): Remove, it's in Makeconfig.
23946 (move-if-change): Remove, it's in Makeconfig.
23947
38686a03 239482012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23949
23950 [BZ #13970]
23951 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23952 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23953 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23954 (strtod_l, strtof_l, strtold_l): Remove __wur.
23955 It is not necessarily an error to ignore strtol's return value.
23956 One can reliably look at the stored endptr to decide whether
23957 the number had valid syntax.
23958
7c0616fa
AJ
239592012-04-21 Andreas Jaeger <aj@suse.de>
23960
803cb6b7 23961 [BZ #13739]
7c0616fa
AJ
23962 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23963
b0fe253f
JM
239642012-04-21 Joseph Myers <joseph@codesourcery.com>
23965
23966 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23967 * sysdeps/unix/sysv/Versions: Remove file.
23968
8280f22d
MT
239692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23970
23971 [BZ #13927]
23972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23973
75ce411f 239742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23975
23976 [BZ #7064]
23977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23978 version from __vm86.
23979
097d59fa
JM
239802012-04-20 Joseph Myers <joseph@codesourcery.com>
23981
a90f3bcb
JM
23982 * sysdeps/unix/common/lxstat.c: Remove file.
23983 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23984
edc7ea78
JM
23985 * sysdeps/unix/sysv/Makefile: Remove file.
23986
cb78c221
JM
23987 * sysdeps/unix/sysv/direct.h: Remove file.
23988
efa6a45f
JM
23989 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23990 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23991 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23992 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23993 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23994 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23995 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23996
9c9f2d0c
JM
23997 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23998
4541c83b
JM
23999 * sysdeps/unix/xmknod.c: Remove file.
24000 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24001
f5d153a0
JM
24002 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24003
aa746595
JM
24004 * sysdeps/unix/sysv/i386/time.S: Remove file.
24005
cce5905e
JM
24006 * sysdeps/unix/fxstat.c: Remove file.
24007 * sysdeps/unix/xstat.c: Likewise.
24008 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24009
37fa3841
JM
24010 * sysdeps/unix/sysv/sigaction.c: Remove file.
24011
ff1962a3
JM
24012 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24013 (sysdep_headers): Remove variable.
24014 [termio.h not in sysdep_headers] (generated): Likewise.
24015 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24016 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24017 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24018 * sysdeps/unix/sysv/tcflow.c: Likewise.
24019 * sysdeps/unix/sysv/tcflush.c: Likewise.
24020 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24021 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24022 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24023 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24024 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24025
e7740d31
JM
24026 * sysdeps/unix/siglist.c: Remove file.
24027
ee06f18b
JM
24028 * sysdeps/unix/getppid.S: Remove file.
24029
097d59fa
JM
24030 * sysdeps/unix/mkdir.c: Remove file.
24031 * sysdeps/unix/rmdir.c: Likewise.
24032
ff3d51ec
AS
240332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24034
24035 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24036 ERR_MAX value.
24037 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24038 errlist-compat value.
24039
50f81fd7
DM
240402012-04-18 David S. Miller <davem@davemloft.net>
24041
24042 * sysdeps/generic/memcopy.h (reg_char): Delete.
24043 * debug/strcat_chk.c: Use char, not reg_char.
24044 * debug/strcpy_chk.c: Likewise.
24045 * debug/strncat_chk.c: Likewise.
24046 * debug/strncpy_chk.c: Likewise.
24047 * string/memchr.c: Likewise.
24048 * string/memrchr.c: Likewise.
24049 * string/rawmemchr.c: Likewise.
24050 * string/strcat.c: Likewise.
24051 * string/strchr.c: Likewise.
24052 * string/strchrnul.c: Likewise.
24053 * string/strcmp.c: Likewise.
24054 * string/strcpy.c: Likewise.
24055 * string/strncat.c: Likewise.
24056 * string/strncmp.c: Likewise.
24057 * string/strncpy.c: Likewise.
24058
8ff41c46
WS
240592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24060
24061 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24062 __builtin_memcopy is called when src and dest ranges are known to not
24063 overlap.
24064
6b652f46
WS
240652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24066
24067 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24068 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24069 fwd_align_merge macro call.
24070 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24071 bwd_align_merge macro call.
24072 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24073
b282631e
WS
240742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24075
24076 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24077 bwd_align_merge macros.
24078 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24079 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24080 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24081
95aa737c
DM
240822012-04-18 David S. Miller <davem@davemloft.net>
24083
24084 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24085
7a99a614
AJ
240862012-04-18 Andreas Jaeger <aj@suse.de>
24087
24088 [BZ# 6794]
24089 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24090 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24092
24093 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24094 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24096
24097 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24098 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24099 Adjust for changed ldbl-128 files.
24100
24101 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24102 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24103 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24104
e5270c23
DM
241052012-04-17 David S. Miller <davem@davemloft.net>
24106
24107 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24108
fb5e92c9
AS
241092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24110
24111 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24112 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24113 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24114 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24115 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24116 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24117
76da7265
AZ
241182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24119
24120 [BZ #6794]
24121 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24122 * math/libm-test.inc: Add ilogb errno and exception tests.
24123 * math/w_ilogb.c: New file: ilogb wrapper.
24124 * math/w_ilogbf.c: New file: ilogbf wrapper.
24125 * math/w_ilogbl.c: New file: ilogbl wrapper.
24126 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24127 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24128 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24129 exception being thrown with 0.0 as argument.
24130 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24131 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24132 exception being thrown with 0.0 as argument.
24133 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24134 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24135 exception being thrown with 0.0 as argument.
24136 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24137 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24138 exception being thrown with 0.0 as argument.
24139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24140 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24141 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24142 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24143 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24144 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24145 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24146 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24147 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24148
0396e69d
PB
241492012-04-17 Petr Baudis <pasky@ucw.cz>
24150
24151 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24152 with altivec.
24153
750b5926
MP
241542012-04-16 Marek Polacek <polacek@redhat.com>
24155
24156 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24157
751728a1
MP
241582012-04-16 Marek Polacek <polacek@redhat.com>
24159
24160 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24161 operands of fdivp instruction.
24162
34a27407
L
241632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24164
24165 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24166 * elf/tst-auditmod3b.c: Likewise.
24167 * elf/tst-auditmod4b.c: Likewise.
24168 * elf/tst-auditmod5b.c: Likewise.
24169 * elf/tst-auditmod6b.c: Likewise.
24170 * elf/tst-auditmod6c.c: Likewise.
24171 * elf/tst-auditmod7b.c: Likewise.
24172 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24173 * sysdeps/x86_64/preconfigure.in: Likewise.
24174 * sysdeps/x86_64/preconfigure: Regenerated.
24175
7e73e17d
L
241762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24179 __ILP32__.
24180
c7a6ab72
AB
241812012-04-13 Antoine Balestrat <merkil33@gmail.com>
24182
24183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24184 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24185
a9e8e0e0
CL
241862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24187
24188 [BZ #13973]
24189 * locale/iso-639.def: Fix gl language name. Spotted by
24190 Yaron Shahrabani.
24191
ec98af7d
RM
241922012-04-12 Roland McGrath <roland@hack.frob.com>
24193
24194 [BZ #2074]
24195 * libio/libio.h (__io_write_fn): Update comment.
24196
247c3ede
PB
241972012-04-12 Petr Baudis <pasky@ucw.cz>
24198
24199 [BZ #2074]
24200 * stdio.texi (Hook Functions): The user provided writer function
24201 is not allowed to return -1.
24202
55939d6d
DM
242032012-04-11 David S. Miller <davem@davemloft.net>
24204
24205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24206
90020f5a
MF
242072012-04-11 Mike Frysinger <vapier@gentoo.org>
24208
24209 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24210 Add a leading slash to rtkaio.
24211
288f9098
JM
242122012-04-11 Jim Meyering <meyering@redhat.com>
24213
90020f5a
MF
24214 [BZ #11959]
24215 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24216 It is not necessarily an error to ignore fwrite's return
24217 value. One can reliably use ferror to test for errors after
24218 the fact.
288f9098 24219
4be2b570
L
242202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 * bits/types.h (__snseconds_t): New type.
24223 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24224
24225 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24227 (__SNSECONDS_T_TYPE): Likewise.
24228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24229 (__SNSECONDS_T_TYPE): Likewise.
24230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24231 (__SNSECONDS_T_TYPE): Likewise.
24232
288f9098 242332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24234
24235 [BZ #2636]
24236 * manual/time.texi (Processor Time): Return type of times is
24237 elapsed real time since an arbitrary point in the past.
24238 (CPU Time): Move CLK_TCK from here...
24239 (Processor Time): ...to here. Correct description.
24240 * manual/conf.texi (Constants for Sysconf): Correct description of
24241 _SC_CLK_TCK.
24242
d7dd4413
DM
242432012-04-10 David S. Miller <davem@davemloft.net>
24244
24245 [BZ #13967]
24246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24247 where the is a gap between DT_REL(A) and DT_JMPREL.
24248
b46068fc
L
242492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24252 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24253 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24254
73d65cc3
SP
242552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24256
24257 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24258 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24259 (dl_main): Handle --inhibit-cache.
24260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24261 _dl_inhibit_cache.
24262 * elf/dl-load.c (_dl_map_object): Use it.
24263 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24264
bcc8d661
JM
242652012-04-09 Joseph Myers <joseph@codesourcery.com>
24266
8f9a2fae
JM
24267 [BZ #13872]
24268 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24269 (__ieee754_powl): Saturate large exponents rather than testing for
24270 overflow of y*log2(x).
24271 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24272 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24273 exceptions.
24274
bcc8d661
JM
24275 [BZ #11521]
24276 * math/s_ctan.c: Include <float.h>.
24277 (__ctan): Avoid internal overflow or cancellation in calculating
24278 denominator.
24279 * math/s_ctanf.c: Likewise.
24280 * math/s_ctanl.c: Likewise.
24281 * math/s_ctanh.c: Likewise.
24282 * math/s_ctanhf.c: Likewise.
24283 * math/s_ctanhl.c: Likewise.
24284 * math/libm-test.inc (ctan_test): Add more tests.
24285 (ctanh_test): Likewise.
24286 * sysdeps/i386/fpu/libm-test-ulps: Update.
24287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24288
823fbbb4
AJ
242892012-04-09 Andreas Jaeger <aj@suse.de>
24290
03879793
AJ
24291 [BZ #6894]
24292 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24293 is an optional BSD extension.
24294
823fbbb4
AJ
24295 [BZ #10254]
24296 * manual/stdio.texi (Opening Streams): Document additional fopen
24297 parameters.
24298
8de131cb
RM
242992012-04-09 Roland McGrath <roland@hack.frob.com>
24300
24301 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24302 %eax without telling the compiler.
24303
c0ed9d7d
CD
243042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24305
24306 [BZ # 13963]
24307 * manual/install.texi: Use sourceware.org.
24308
c483f6b4
JM
243092012-04-09 Joseph Myers <joseph@codesourcery.com>
24310
d7dd9453
JM
24311 [BZ #13873]
24312 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24313 (__ieee754_pow): Generate overflow and underflow using huge*huge
24314 and tiny*tiny rather than just returning constant infinity or zero
24315 for large exponents.
24316 * math/libm-test.inc (pow_test): Require overflow exceptions for
24317 applicable cases of large exponents.
24318
c483f6b4
JM
24319 [BZ #706]
24320 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24321 (__ieee754_pow): Use iterative multiplication algorithm only for
24322 integer exponents with absolute value below 1024. Check for odd
24323 integer exponents when using algorithm for real exponents.
24324 * math/libm-test.inc (pow_test): Add more tests.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24326
d2de7579
JM
243272012-04-08 Joseph Myers <joseph@codesourcery.com>
24328
24329 [BZ #13705]
24330 * math/libm-test.inc (exp_test): Do not allow overflow exception
24331 on underflow test.
24332
f77f1232
AJ
243332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24334
24335 [BZ #13705]
24336 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24337 instead of __kernel_standard_f.
24338
3884932b
MF
243392012-04-08 Mike Frysinger <vapier@gentoo.org>
24340
24341 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24342 * sysdeps/x86_64/memset_chk.S: Likewise.
24343
54472e9c
AJ
243442012-04-08 Andreas Jaeger <aj@suse.de>
24345
6ab0fbfc
AJ
24346 [BZ #10153]
24347 * manual/startup.texi (Environment Access): Describe return value
24348 for putenv and setenv.
24349
61efba8c
AJ
24350 [BZ #6895]
24351 * manual/filesys.texi (Directory Entries): Add description for
24352 DT_LNK.
24353
95c3f29a
AJ
24354 [BZ #6890]
24355 * manual/filesys.texi (Directory Entries): Clarify that it's file
24356 system not operating system in the description of DT_UNKNOWN.
24357
54472e9c
AJ
24358 [BZ #6578]
24359 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24360
624254b1
SC
243612012-04-08 Stephen Compall <s11@member.fsf.org>
24362
24363 [BZ #6649]
24364 * manual/llio.texi (Opening and Closing Files): Add cross
24365 reference to explain mode argument.
24366
1e4920e0
MF
243672012-04-07 Mike Frysinger <vapier@gentoo.org>
24368
24369 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24370 * sysdeps/x86_64/memset_chk.S: Likewise.
24371
5ed848f3
DM
243722012-04-07 David S. Miller <davem@davemloft.net>
24373
24374 * elf/elf.h (R_SPARC_WDISP10): Define.
24375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24376 R_SPARC_SIZE32.
24377 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24378 R_SPARC_SIZE64 and R_SPARC_H34.
24379
96154cd8
CD
243802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24381
24382 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24383 conditions and remove no longer applicable assertion.
24384
9904dc47
L
243852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * bits/byteswap.h: Include <features.h>.
24388 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24389 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24390
f8887d0a
L
243912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24392
24393 * bits/byteswap.h (__bswap_16): Removed.
24394 Include <bits/byteswap-16.h> to get __bswap_16.
24395 * sysdeps/i386/bits/byteswap.h: Likewise.
24396 * sysdeps/s390/bits/byteswap.h: Likewise.
24397 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24398 * bits/byteswap-16.h: New file.
24399 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24400 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24401 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24402 * string/Makefile (headers): Add bits/byteswap-16.h.
24403
62470f60
PP
244042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24405
24406 [BZ #13895]
24407 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24408 extra indirection.
24409 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24410 * nss/tst-nss-static.c: New.
24411
4dad7bab
RM
244122012-04-06 Robert Millan <rmh@gnu.org>
24413
24414 [BZ #6486]
24415 * manual/llio.texi (File Position Primitive): lseek
24416 refers to WHENCE when it really means OFFSET.
24417
e9142a17
AJ
244182012-04-06 Andreas Jaeger <aj@suse.de>
24419
2c040eff
AJ
24420 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24421 strncmp declarations.
24422
e9142a17
AJ
24423 * abilist/libc.abilist: Add __poll and __ppoll.
24424
ff9f1c5f
DM
244252012-04-05 David S. Miller <davem@davemloft.net>
24426
dcd2ae90
DM
24427 * scripts/check-local-headers.sh: Accept a host triplet in the
24428 path matched by the exclude regexp.
24429
993eb054
DM
24430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24431 definition.
24432 * sysdeps/powerpc/powerpc32/dl-machine.h
24433 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24434 * sysdeps/s390/s390-32/dl-machine.h
24435 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24436 * sysdeps/sparc/sparc32/dl-machine.h
24437 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24438 * sysdeps/sparc/sparc64/dl-machine.h
24439 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24440
ff9f1c5f
DM
24441 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24442 lazy binding.
48e2e132 24443 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24444 undefined symbol errors.
24445
48e2e132 24446 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24447 DT_NEEDED entries.
24448
e80d6f94
MM
244492012-04-05 Michael Matz <matz@suse.de>
24450
24451 [BZ #13592]
24452 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24453
349fa79f
AJ
244542012-04-05 Andreas Jaeger <aj@suse.de>
24455
24456 [BZ #13908]
24457 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24458 comment.
24459
f402708f
KK
244602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24461
24462 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24463 which ROUND is no valid rounding mode.
24464
2ecccfc9
KK
244652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24466
24467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24468 read again.
24469 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24470
8a53f50f
KK
244712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24472
24473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24474 an exception using FPU order intentionally.
24475
244762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24477
24478 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24479 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24480 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24481 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24482
d653abb7
SJ
244832012-04-05 Simon Josefsson <simon@josefsson.org>
24484
24485 [BZ #12340]
24486 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24487 EINVAL when BUFLEN is too smal.
24488
c3b1bf7d
TS
244892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24490
24491 [BZ #13553]
24492 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24493 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24494
b1aa60f3
AJ
244952012-04-03 Andreas Jaeger <aj@suse.de>
24496
c3b1bf7d 24497 [BZ #13938]
67f60a26
AJ
24498 * manual/setjmp.texi (System V contexts): Fix sentence.
24499
b1aa60f3
AJ
24500 [BZ #13926]
24501 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24502 New macro for this case.
24503 [!__GNUC__] (__bswap_64): New inline function for this case.
24504 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24505 * bits/byteswap.h: Likewise.
24506 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24507 ull, guard with __GLIBC_HAVE_LONG_LONG.
24508
24509 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24510 __GLIBC_HAVE_LONG_LONG.
24511
24512 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24513 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24514
39c59c35
TMQMF
245152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24516
24517 [BZ #13691]
24518 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24519 inptr and inend, rather than using last_ch.
24520
135ffda8
DM
245212012-04-02 David S. Miller <davem@davemloft.net>
24522
24523 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24524 * stdio-common/printf-parse.h (read_int): Change return type to
24525 'int', return -1 on INT_MAX overflow.
24526 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24527 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24528 overflows INT_MAX. Check for overflow of in-format-string precision
24529 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24530 SIZE_MAX not INT_MAX for integer overflow test.
24531 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24532 skip the construct in the format string but do not record anything.
24533 * stdio-common/bug22.c: Adjust to test both width/prevision
24534 INT_MAX overflow as well as total length INT_MAX overflow. Check
24535 explicitly for proper errno values.
24536
228c019e
TS
245372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24538
302cadd3
TS
24539 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24540 CHAR_MAX.
24541 * string/test-strcmp.c [! WIDE]: Likewise.
24542 * time/tst-mktime2.c: Likewise for INT_MAX.
24543 * string/test-string.h: #include <sys/param.h> for MIN.
24544
228c019e
TS
24545 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24546 * sysdeps/i386/init-first.c (init): Likewise.
24547 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24548 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24549 * sysdeps/sh/init-first.c (init): Likewise.
24550
cfa633f5
UD
245512012-04-01 Ulrich Drepper <drepper@gmail.com>
24552
24553 * po/ru.po: Update from translation team.
d1635ef8 24554 * po/vi.po: Likewise.
cfa633f5 24555
6cd0a5ea
SP
245562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24557
24558 * resolv/nss_dns/dns-host.c: Merge copyright years.
24559
4b43400f
LD
245602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24561
24562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24563 Optimize memcpy with prefetch if
24564 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24565 src, dst pointers have unequal 16 byte alignments.
24566
48c41d04
SP
245672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24568
24569 [BZ #13928]
24570 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24571 from a CNAME entry and return the minimum ttl for the query.
24572 (gaih_getanswer_slice): Likewise.
24573
b8dc394d
JL
245742012-03-30 Jeff Law <law@redhat.com>
24575
24576 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24577 due to long keys.
24578 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24579 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24580
2f5a5ed0
JL
24581 * resolv/nss_dns/dns-host.c: Update copyright year.
24582
1d39e359
UD
245832012-03-30 Ulrich Drepper <drepper@gmail.com>
24584
c030f70c 24585 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24586 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24587
1d39e359
UD
24588 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24589 comments for sendmmsg.
24590
245912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24592
24593 [BZ #13691]
24594 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24595 with only 1 character between 0x0041 and 0x01b0.
24596 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24597 * wcsmbs/tst-mbsnrtowcs.c: New file.
24598
20fde227
DM
245992012-03-29 David S. Miller <davem@davemloft.net>
24600
24601 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24602 small copies by hand.
24603
984a4237
JL
246042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24605
24606 [BZ #13761]
24607 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24608 _nss_compat_initgroups_dyn): Fall back to malloc/free
24609 for large group memberships.
24610
18c9d62b
DM
246112012-03-28 David S. Miller <davem@davemloft.net>
24612
88d85d4f
DM
24613 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24614 that branches into memcpy.
24615 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24618 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24620 bits.
24621 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24622 implementation too.
24623 * sysdeps/sparc/mempcpy.S: New file.
24624
e5aa83e1
DM
24625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24626 the IFUNC routine in the libc case.
24627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24628
88570753
DM
24629 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24630 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24631 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24632 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24633 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24634 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24635 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24636 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24637
249d7567
DM
24638 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24639 loop to 256 bytes instead of 64 bytes and fix test signedness.
24640
18c9d62b
DM
24641 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24642 * sysdeps/sparc/sparc32/Makefile: rather than here...
24643 * sysdeps/sparc/sparc64/Makefile: and here.
24644
05f3d1f6
UD
246452012-03-28 Ulrich Drepper <drepper@gmail.com>
24646
24647 * malloc/mallocbug.c: Avoid warnings about unused variables.
24648
86ae07a8
JL
246492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24650
24651 [BZ #13760]
24652 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24653 in the right place. Discard and retry query if response is
24654 larger than input buffer size.
24655
41bf21a1
JM
246562012-03-28 Joseph Myers <joseph@codesourcery.com>
24657
d6270972
JM
24658 [BZ #369]
24659 [BZ #2678]
24660 [BZ #3866]
24661 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24662 x for large integer exponent.
24663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24665 sign of result as needed afterwards.
24666 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24667 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24668 result for underflowing pow the same as for overflow.
24669 (__kernel_standard_l): Handle powl overflow and underflow here
24670 rather than calling __kernel_standard.
24671 * math/libm-test.inc (pow_test): Add more tests.
24672
414fca03 24673 [BZ #3868]
41bf21a1
JM
24674 [BZ #13879]
24675 [BZ #13910]
24676 [BZ #13911]
24677 [BZ #13912]
24678 [BZ #13913]
24679 [BZ #13915]
24680 [BZ #13916]
24681 [BZ #13917]
24682 [BZ #13918]
24683 [BZ #13919]
24684 [BZ #13920]
24685 [BZ #13921]
24686 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24687 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24688 (__kernel_standard_l): New function.
24689 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24690 __kernel_standard.
24691 * math/w_acosl.c (__acosl): Likewise.
24692 * math/w_asinl.c (__asinl): Likewise.
24693 * math/w_atan2l.c (__atan2l): Likewise.
24694 * math/w_atanhl.c (__atanhl): Likewise.
24695 * math/w_coshl.c (__coshl): Likewise.
24696 * math/w_exp10l.c (__exp10l): Likewise.
24697 * math/w_exp2l.c (__exp2l): Likewise.
24698 * math/w_fmodl.c (__fmodl): Likewise.
24699 * math/w_hypotl.c (__hypotl): Likewise.
24700 * math/w_j0l.c (__j0l, __y0l): Likewise.
24701 * math/w_j1l.c (__j1l, __y1l): Likewise.
24702 * math/w_jnl.c (__jnl, __ynl): Likewise.
24703 * math/w_lgammal.c (__lgammal): Likewise.
24704 * math/w_log10l.c (__log10l): Likewise.
24705 * math/w_log2l.c (__log2l): Likewise.
24706 * math/w_logl.c (__logl): Likewise.
24707 * math/w_powl.c (__powl): Likewise.
24708 * math/w_remainderl.c (__remainderl): Likewise.
24709 * math/w_scalbl.c (sysv_scalbl): Likewise.
24710 * math/w_sinhl.c (__sinhl): Likewise.
24711 * math/w_sqrtl.c (__sqrtl): Likewise.
24712 * math/w_tgammal.c (__tgammal): Likewise.
24713 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24714 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24715 * math/libm-test.inc (acos_test): Add more tests.
24716 (acosh_test): Likewise.
24717 (asin_test): Likewise.
24718 (atanh_test): Likewise.
24719 (exp_test): Likewise.
24720 (exp10_test): Likewise.
24721 (exp2_test): Likewise.
24722 (expm1_test): Likewise.
24723 (lgamma_test): Likewise.
24724 (log_test): Likewise.
24725 (log10_test): Likewise.
24726 (log1p_test): Likewise.
24727 (log2_test): Likewise.
24728 (pow_test): Do not allow some spurious overflow exceptions.
24729 (sqrt_test): Add more tests.
24730 (tgamma_test): Likewise.
24731 (y0_test): Likewise.
24732 (y1_test): Likewise.
24733 (yn_test): Likewise.
24734
dd62fda6
AB
247352012-03-27 Anton Blanchard <anton@samba.org>
24736
24737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24738 MAP_HUGETLB.
24739 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24741 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24742
1e3cdfda
AJ
247432012-03-27 David S. Miller <davem@davemloft.net>
24744
b855ab85
DM
24745 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24746
1e3cdfda
AJ
24747 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24748 have-as-vis3 check.
24749
247502012-03-27 Andreas Jaeger <aj@suse.de>
24751
24752 * sysdeps/x86_64/elf/configure.in: Moved to ...
24753 * sysdeps/x86_64/configure.in: ... here.
24754 * sysdeps/x86_64/elf/start.S: Moved to ...
24755 * sysdeps/x86_64/start.S: ... here.
24756 * sysdeps/x86_64/elf/configure: Delete.
24757
24758 * sysdeps/x86_64/configure.in: Merge contents from
24759 sysdeps/i386/configure.in (without i686 check).
24760
24761 * sysdeps/i386/elf/Versions: Merge into ...
24762 * sysdeps/i386/Versions: ... this.
24763 * sysdeps/i386/elf/Versions: Delete file.
24764 * sysdeps/i386/elf/start.S: Moved to ...
24765 * sysdeps/i386/start.S: ...here.
24766 * sysdeps/i386/elf/configure.in: Merge into...
24767 * sysdeps/i386/configure.in: ...here.
24768 * sysdeps/i386/elf/configure.in: Delete file.
24769 * sysdeps/i386/elf/configure: Delete file.
24770
24771 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24772 * debug/backtracesyms.c: ... here.
24773 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24774 * debug/backtracesymsfd.c: ... here.
24775 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24776 * sysdeps/generic/ifunc-sel.h: ... here.
24777
24778 * sysdeps/unix/i386/start.c: Delete file.
24779 * sysdeps/unix/sparc/start.c: Delete file.
24780 * sysdeps/unix/start.c: Delete file.
24781
24782 * sysdeps/sh/elf/configure.in: Moved to ...
24783 * sysdeps/sh/configure.in: ... here.
24784 * sysdeps/sh/elf/start.S: Moved to ...
24785 * sysdeps/sh/start.S: ... here.
24786 * sysdeps/sh/elf/configure: Delete file.
24787
24788 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24789 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24790 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24791 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24792 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24793 * sysdeps/powerpc/powerpc64/start.S: here.
24794 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24795 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24796 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24797 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24798 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24799
24800 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24801 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24802 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24803 * sysdeps/powerpc/powerpc32/start.S: ... here.
24804 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24805 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24806 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24807
24808 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24809 * sysdeps/powerpc/ifunc-sel.h: ... here.
24810 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24811 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24812
24813 * sysdeps/sparc/elf/configure.in: Moved to ...
24814 * sysdeps/sparc/configure.in: ... here.
24815 * sysdeps/sparc/elf/configure: Delete file.
24816 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24817 * sysdeps/sparc/sparc32/start.S: ... here.
24818 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24819 * sysdeps/sparc/sparc64/start.S: ... here.
24820 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24821 * sysdeps/sparc/sparc32/Makefile: ... this.
24822 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24823 * sysdeps/sparc/sparc64/Makefile: ... this.
24824
24825 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24826 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24827 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24828 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24829 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24830 * sysdeps/s390/s390-32/setjmp.S: ... here.
24831 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24832 * sysdeps/s390/s390-32/configure.in: ... here.
24833 * sysdeps/s390/s390-32/elf/configure: Delete file.
24834 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24835 * sysdeps/s390/s390-32/start.S: ... here.
24836
24837 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24838 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24839 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24840 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24841 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24842 * sysdeps/s390/s390-64/setjmp.S: ... here.
24843 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24844 * sysdeps/s390/s390-64/configure.in: ... here
24845 * sysdeps/s390/s390-64/elf/configure: Delete file.
24846 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24847 * sysdeps/s390/s390-64/start.S: ... here.
24848 * sysdeps/s390/s390-64/elf/configure: Delete.
24849
24850 * configure.in: Remove support for elf directories in sysdeps.
24851
24852 * configure: Regenerated.
24853 * sysdeps/i386/configure: Regenerated.
24854 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24855 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24856 * sysdeps/s390/s390-32/configure: Regenerated.
24857 * sysdeps/s390/s390-64/configure: Regenerated.
24858 * sysdeps/sh/configure: Regenerated.
24859 * sysdeps/sparc/configure: Regenerated.
24860 * sysdeps/x86_64/configure: Regenerated.
24861
a3f61311
AS
248622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24863
c876e002
AS
24864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24865
a3f61311
AS
24866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24867 denormal result into account.
24868
ac4c54f0
RM
248692012-03-25 Roland McGrath <roland@hack.frob.com>
24870
24871 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24872 Reported by Allan McRae <allan@archlinux.org>.
24873
6a9b9c02
JL
248742012-03-23 Jeff Law <law@redhat.com>
24875
24876 * nss/getnssent.c (__nss_getent): Fix typo.
24877
4c42a0c1
DM
248782012-03-23 David S. Miller <davem@davemloft.net>
24879
24880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24881
1532c7ac
L
248822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24883
24884 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24885 to pad to uint64_t for each field.
24886 (dl_tls_index): Replace unsigned long with uint64_t.
24887
3ff42526
PP
248882012-03-23 Daniel Jacobowitz <dmj@google.com>
24889 Paul Pluzhnikov <ppluzhnikov@google.com>
24890
24891 [BZ #6528]
24892 * grp/Makefile (otherlibs): Don't set it.
24893 * inet/Makefile (otherlibs): Likewise.
24894 * login/Makefile (otherlibs): Likewise.
24895 * nscd/Makefile (otherlibs): Likewise.
24896 * posix/Makefile (otherlibs): Likewise.
24897 * pwd/Makefile (otherlibs): Likewise.
24898 * rt/Makefile (otherlibs): Likewise.
24899 * sunrpc/Makefile (otherlibs): Likewise.
24900 * nss/Makefile (otherlibs): Likewise.
24901 Add libnss_files to routines and static-only-routines.
24902 ($(objpfx)getent): Remove rule.
24903 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24904 static-only-routines.
24905
7c69cd14
JM
249062012-03-22 Joseph Myers <joseph@codesourcery.com>
24907
24908 [BZ #13892]
24909 * math/s_cexp.c: Include <float.h>.
24910 (__cexp): Handle exp result overflowing not necessarily
24911 overflowing both real and imaginary parts of result.
24912 * math/s_cexpf.c: Likewise.
24913 * math/s_cexpl.c: Likewise.
24914 * math/libm-test.inc (cexp_test): Add more tests.
24915 * sysdeps/i386/fpu/libm-test-ulps: Update.
24916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24917
81b035fe
L
249182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24919
24920 * include/link.h (ELFW): New macro.
24921 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24922 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24923
1da7940c
L
249242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24925
24926 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24927 with uint64_t.
24928
b749dbb9
L
249292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24930
24931 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24932 declaration.
24933 (struct La_x32_retval): Likewise.
24934
2ff87f3f
L
249352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24936
24937 * sysdeps/x86_64/preconfigure.in: New file.
24938 * sysdeps/x86_64/preconfigure: New generated file.
24939
c0df8e69
JM
249402012-03-22 Joseph Myers <joseph@codesourcery.com>
24941
48e44791
JM
24942 [BZ #13824]
24943 * math/e_exp2l.c: Include <float.h>.
24944 (__ieee754_exp2l): Handle overflow and underflow cases
24945 separately. Only pass fractional part of argument to
24946 __ieee754_expl.
24947 * math/libm-test.inc (exp2_test): Add more tests.
24948
c0df8e69
JM
24949 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24950 negating x to take absolute value.
24951 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24952 Likewise.
24953 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24955 Likewise.
24956 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24957 computing low part if x was negated.
24958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24959
c8e43ba7
L
249602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24961
24962 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24963 la_x32_gnu_pltexit.
24964 (pltexit): Cast int_retval to ptrdiff_t.
24965 * elf/tst-auditmod3b.c: Likewise.
24966 * elf/tst-auditmod4b.c: Likewise.
24967 * elf/tst-auditmod5b.c: Likewise.
24968 * elf/tst-auditmod6b.c: Likewise.
24969 * elf/tst-auditmod6c.c: Likewise.
24970 * elf/tst-auditmod7b.c: Likewise.
24971
24972 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24973 and x32_gnu_pltexit.
24974
24975 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24976 __ELF_NATIVE_CLASS.
24977 (La_x32_regs): New macro.
24978 (La_x32_retval): Likewise.
24979 (la_x32_gnu_pltenter): New function prototype.
24980 (la_x32_gnu_pltexit): Likewise.
24981
7998fa78
AS
249822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24983
dcb33988
AS
24984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24985 exponent.
24986
233fc563
AS
24987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24988
7998fa78
AS
24989 * configure.in (libc_cv_cc_nofma): Check for option to disable
24990 generation of FMA instructions.
24991 * configure: Regenerate.
24992 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24993 * sysdeps/ieee754/dbl-64/Makefile: New file.
24994 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24995 Remove brandred-fma4.
24996 (CFLAGS-brandred-fma4.c): Remove.
24997 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24998 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24999 define.
25000 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25001 define.
25002
8e95c99a
L
250032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25004
25005 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25006 LLONG_MAX != LONG_MAX.
25007 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25008 (_fitoa_word): Likewise.
25009 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25010 LLONG_MAX != LONG_MAX.
25011 * stdio-common/_itowa.h: Include <_itoa.h>.
25012 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25013 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25014 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25015 only if not defined.
25016 (_ITOA_WORD_TYPE): Likewise.
25017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25018 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25019
6f4db457
DM
250202012-03-21 David S. Miller <davem@davemloft.net>
25021
25022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25023
7785fe5a
L
250242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25025
25026 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25027 of x86_64 when setting libc_cv_slibdir, libdir and
25028 libc_cv_localedir.
25029 * sysdeps/unix/sysv/linux/configure: Regenerated.
25030
4535cd55
JM
250312012-03-21 Joseph Myers <joseph@codesourcery.com>
25032
25033 * manual/lang.texi (Old Varargs): Remove section.
25034 (How Variadic): Update menu.
25035 (va_start): Do not mention varargs.h.
25036
17228132
TS
250372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25038 Joseph Myers <joseph@codesourcery.com>
25039
25040 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25041 link test.
25042 * configure: Regenerated.
25043
8149f976
TS
250442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25045
05f3d1f6
UD
25046 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25047 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25048 conformtest.pl
8149f976 25049
1a4ac776
JM
250502012-03-21 Joseph Myers <joseph@codesourcery.com>
25051
be22ce65
JM
25052 * NOTES: Remove.
25053 * Makefile (files-for-dist): Remove NOTES.
25054 (NOTES): Remove rule.
25055 * README: Don't refer to NOTES.
25056 * manual/creature.texi: Don't include macros.texi.
25057 * manual/intro.texi (creature.texi): Remove comment referring to
25058 NOTES.
25059
40b601fb
JM
25060 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25061 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25062 * configure: Regenerated.
25063 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25064 LIBC_TRY_CC_OPTION.
25065 (libc_cv_as_i686): Likewise.
25066 (libc_cv_cc_avx): Likewise.
25067 (libc_cv_cc_sse2avx): Likewise.
25068 (libc_cv_cc_fma4): Likewise.
25069 (libc_cv_cc_novzeroupper): Likewise.
25070 * sysdeps/i386/configure: Regenerated.
25071
1a4ac776
JM
25072 [BZ #13883]
25073 * sysdeps/i386/fpu/s_cexp.S: Remove.
25074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25075 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25076 * math/libm-test.inc (cexp_test): Add more tests.
25077 * sysdeps/i386/fpu/libm-test-ulps: Update.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25079
a458e7fe
AM
250802012-03-21 Allan McRae <allan@archlinux.org>
25081
25082 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25083
0cb7efc5
JM
250842012-03-21 Joseph Myers <joseph@codesourcery.com>
25085
25086 [BZ #13871]
25087 * math/w_exp2.c: Do not include <float.h>.
25088 (o_threshold, u_threshold): Remove.
25089 (__exp2): Calculate result before checking finiteness and calling
25090 __kernel_standard.
25091 * math/w_exp2f.c: Likewise.
25092 * math/w_exp2l.c: Likewise.
25093 * math/libm-test.inc (exp2_test): Require overflow exception for
25094 1e6 input.
2460d3aa
JM
25095
25096 [BZ #3866]
25097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25098 range of signed 64-bit integers before using fistpll. Remove
25099 checks for whether integers fit in mantissa bits.
25100 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25101 the range of signed 32-bit integers before using fistpl. Remove
25102 checks for whether integers fit in mantissa bits.
25103 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25104 (__ieee754_powl): Test for y outside the range of signed 64-bit
25105 integers before using fistpll. Reduce 64-bit values to 63-bit
25106 ones as needed.
25107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25108 divide-by-zero is raised for zero to large negative powers.
25109 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25110 (__ieee754_powl): Test for y outside the range of signed 64-bit
25111 integers before using fistpll. Reduce 64-bit values to 63-bit
25112 ones as needed.
25113 * math/libm-test.inc (pow_test): Add more tests.
25114
eb96ffb0
L
251152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25116
25117 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25118 <stdio-common/_itoa.h>.
25119 * debug/segfault.c: Likewise.
25120 * elf/dl-cache.c: Likewise.
25121 * elf/dl-minimal.c: Likewise.
25122 * elf/dl-misc.c: Likewise.
25123 * elf/dl-sysdep.c: Likewise.
25124 * elf/dl-version.c: Likewise.
25125 * elf/rtld.c: Likewise.
25126 * hurd/hurdsock.c: Likewise.
25127 * hurd/lookup-retry.c: Likewise.
25128 * malloc/malloc.c: Likewise.
25129 * malloc/mtrace.c: Likewise.
25130 * nscd/nscd_getgr_r.c: Likewise.
25131 * nscd/nscd_getpw_r.c: Likewise.
25132 * nscd/nscd_getserv_r.c: Likewise.
25133 * posix/getopt_init.c: Likewise.
25134 * posix/wordexp.c: Likewise.
25135 * stdio-common/_itoa.c: Likewise.
25136 * stdio-common/printf_fphex.c: Likewise.
25137 * stdio-common/vfprintf.c: Likewise.
25138 * string/_strerror.c: Likewise.
25139 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25140 * sysdeps/i386/i686/hp-timing.h: Likewise.
25141 * sysdeps/mach/_strerror.c: Likewise.
25142 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25143 * sysdeps/mach/hurd/sethostid.c: Likewise.
25144 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25145 * sysdeps/mach/xpg-strerror.c: Likewise.
25146 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25147 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25148 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25149 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25150 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25151 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25152 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25153 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25154 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25155 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25156 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25157 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25158 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25159 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25160 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25161 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25162 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25163 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25164 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25165 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25166 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25167
25168 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25169
25170 * stdio-common/_itoa.h: Moved to ...
25171 * sysdeps/generic/_itoa.h: Here.
25172
25173 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25174
25175 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25176 instead of "_itoa.h" and "_itowa.h".
25177 * stdio-common/vfprintf.: Likewise.
25178
d1af992d
L
251792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25180
25181 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25182 <bits/wordsize.h>.
25183 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25184 (__signbit): Likwise.
25185 (llrintf): Likwise.
25186 (llrint): Likwise.
25187
114883e0
L
251882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25189
25190 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25191 __WORDSIZE != 64.
25192
c135cc1b
JM
251932012-03-20 Joseph Myers <joseph@codesourcery.com>
25194
25195 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25196 OVERFLOW_EXCEPTION_OK.
25197 * math/libm-test.inc ("Philosophy"): Update comment about
25198 exception testing.
25199 (OVERFLOW_EXCEPTION): Define.
25200 (OVERFLOW_EXCEPTION_OK): Likewise.
25201 (INVALID_EXCEPTION_OK): Renumber.
25202 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25203 (IGNORE_ZERO_INF_SIGN): Likewise.
25204 (test_exceptions): Handle FE_OVERFLOW.
25205 (exp10_test): Expect overflow exceptions.
25206 (exp2_test): Likewise.
25207 (expm1_test): Likewise.
25208 (nextafter_test): Likewise.
25209 (pow_test): Likewise.
25210 (scalbn_test): Likewise.
25211 (scalbln_test): Likewise.
25212
95443d88
L
252132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25214
25215 * sysdeps/x86_64/bits/atomic.h
25216 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25217 64bit integer.
25218 (atomic_exchange_acq): Likewise.
25219 (__arch_exchange_and_add_body): Likewise.
25220 (__arch_add_body): Likewise.
25221 (atomic_add_negative): Likewise.
25222 (atomic_add_zero): Likewise.
25223
490df6c4
L
252242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25225
c2722551 25226 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25227 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25228
5e52b189
L
252292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25230
25231 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25232 Check __x86_64__ instead of __WORDSIZE.
25233
a9879d4c
L
252342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25235
25236 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25237
5df98260
DM
252382012-03-19 David S. Miller <davem@davemloft.net>
25239
e1497744
DM
25240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25241
5df98260
DM
25242 * sysdeps/sparc/fpu/fenv_private.h: New file.
25243 * sysdeps/sparc/fpu/math_private.h: Use it.
25244 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25245 Remove.
25246 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25247 (libc_feholdexcept_setroundl): Remove.
25248 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25249 Remove.
25250 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25251 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25252
b4c35121
L
252532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25254
25255 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25256 int64_t instead of long int.
25257 (INSERT_WORDS64): Likwise.
25258
56965fd7
L
252592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25260
25261 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25262 _Unwind_GetCFA return to _Unwind_Ptr first.
25263
83d1aec8
JM
252642012-03-19 Joseph Myers <joseph@codesourcery.com>
25265
1897ad44
JM
25266 [BZ #13629]
25267 * math/s_clog.c: Include <float.h>.
25268 (__clog): Scale large or subnormal inputs.
25269 * math/s_clogf.c: Likewise.
25270 * math/s_clogl.c: Likewise.
25271 * math/s_clog10.c: Include <float.h>.
25272 (M_LOG10_2): Define.
25273 (__clog10): Scale large or subnormal inputs.
25274 * math/s_clog10f.c: Likewise.
25275 * math/s_clog10l.c: Likewise.
25276 * math/libm-test.inc (clog_test): Add more tests.
25277 (clog10_test): Likewise.
25278 * sysdeps/i386/fpu/libm-test-ulps: Update.
25279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25280
7726d6a9
JM
25281 [BZ #11451]
25282 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25283 x and y.
25284 * math/libm-test.inc (atan2_test): Add another test.
25285
83d1aec8
JM
25286 * Makerules (common-objdir-compile): Remove.
25287 * sysdeps/unix/Makefile (config-generated): Do not add
25288 $(unix-generated) to variable.
25289 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25290 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25291 Remove rule.
25292 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25293 Likewise.
25294 [generic bits/local_lim.h] (before-compile): Do not append to
25295 variable.
25296 [generic bits/local_lim.h] (common-generated): Likewise.
25297 [generic sys/param.h] (before-compile): Do not append to variable.
25298 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25299 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25300 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25301 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25302 include.
25303 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25304 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25305 [generic sys/param.h] ($(addprefix
25306 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25307 [generic sys/param.h] (common-generated): Do not append to
25308 variable.
25309 [generic sys/param.h] (sysdep_headers): Likewise.
25310 [generic bits/errno.h] (before-compile): Do not append to
25311 variable.
25312 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25313 rule.
25314 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25315 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25316 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25317 [generic bits/errno.h] (common-generated): Do not append to
25318 variable.
25319 [generic bits/ioctls.h] (before-compile): Do not append to
25320 variable.
25321 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25322 rule.
25323 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25324 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25325 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25326 rule.
25327 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25328 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25329 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25330 [generic bits/ioctls.h] (common-generated): Do not append to
25331 variable.
25332 [generic sys/syscall.h] (syscall.h): Remove variable.
25333 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25334 rule.
25335 [generic sys/syscall.h] (before-compile): Do not append to
25336 variable.
25337 [generic sys/syscall.h] (common-generated): Likewise.
25338 * sysdeps/unix/errnos-tmpl.c: Remove file.
25339 * sysdeps/unix/errnos.awk: Likewise.
25340 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25341 * sysdeps/unix/ioctls.awk: Likewise.
25342 * sysdeps/unix/mk-local_lim.c: Likewise.
25343 * sysdeps/unix/snarf-ioctls: Likewise.
25344
4851a949
RH
253452012-03-19 Richard Henderson <rth@twiddle.net>
25346
bd37f2ee
RH
25347 * sysdeps/i386/fpu/fenv_private.h: New file.
25348 * sysdeps/i386/fpu/math_private.h: Use it.
25349 (math_opt_barrier, math_force_eval): Remove.
25350 (libc_feholdexcept_setround_53bit): Remove.
25351 (libc_feupdateenv_53bit): Remove.
25352 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25353 (math_opt_barrier, math_force_eval): Remove.
25354 (libc_feholdexcept): Remove.
25355 (libc_feholdexcept_setround): Remove.
25356 (libc_fetestexcept, libc_fesetenv): Remove.
25357 (libc_feupdateenv_test): Remove.
25358 (libc_feupdateenv, libc_feholdsetround): Remove.
25359 (libc_feresetround): Remove.
25360
d0adc922
RH
25361 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25362 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25363
0fe0f1f8
RH
25364 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25365 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25366 (libc_feupdateenv_testl): New.
25367 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25368 (libc_feupdateenv_testf): New.
25369 (libc_feupdateenv): Use libc_feupdateenv_test.
25370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25371 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25372
eb92c487
RH
25373 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25374 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25375 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25376 (libc_feresetround_noex): New.
25377 (libc_feresetround_noexf): New.
25378 (libc_feresetround_noexl): New.
25379 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25380 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25381 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25382 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25383 SET_RESTORE_ROUND.
25384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25386 (__cos): Likewise.
25387 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25388 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25389 SET_RESTORE_ROUND_NOEX.
25390 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25391 SET_RESTORE_ROUND_NOEXF.
25392 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25393 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25394 (libc_feholdsetroundf): New.
25395 (libc_feresetround, libc_feresetroundf): New.
25396
7d2e8012
RH
25397 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25398 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25399 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25400
b4dabbb4
RH
25401 * sysdeps/generic/math_private.h: Include <fenv.h>.
25402 (default_libc_feholdexcept): New.
25403 (default_libc_feholdexcept_setround): New.
25404 (default_libc_fesetenv, default_libc_feupdateenv): New.
25405 (libc_feholdexcept): Only define if undefined.
25406 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25407 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25408 (libc_feholdexcept_setroundl): Likewise.
25409 (libc_feholdexcept_setround_53bit): Likewise.
25410 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25411 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25412 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25413 (libc_feupdateenv_53bit): Likewise.
25414 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25415 (libc_feholdexcept): Convert from macro to inline function.
25416 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25417 (libc_fesetenv, libc_feupdateenv): Likewise.
25418
4851a949
RH
25419 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25420 not previously defined.
25421 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25422 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25423 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25424 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25425 * sysdeps/ieee754/flt-32/math_private.h: New file.
25426 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25427 math_private.h below SET_FLOAT_WORD.
25428 (__isnan, __isinf_ns, __finite): Remove.
25429 (__isnanf, __isinf_nsf, __finitef): Remove.
25430
e79d442e
AS
254312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25432
25433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25434
90b80344
DM
254352012-03-17 David S. Miller <davem@davemloft.net>
25436
25437 [BZ #6471]
25438 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25439 for 2.16.
25440
edc21804
DM
254412012-03-16 David S. Miller <davem@davemloft.net>
25442
77e927af
DM
25443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25444 warnings.
25445
374976dd
DM
25446 [BZ #6471]
25447 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25448 properly.
25449 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25450 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25451 sysdep_routines when subdir is sysvipc.
25452 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25453 __getshmlba helper.
25454
edc21804
DM
25455 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25456
473c3ef3
L
254572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25458
25459 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25460 [__LP64__].
25461
eb0f39b6
L
254622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25463
25464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25465 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25466 (__lround): Renamed to ...
25467 (__llround): This. Replace long int with long long int.
25468 Define lround functions as aliases of llround functions.
25469 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25470
6b6cd74b
L
254712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25472
25473 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25474 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25475 adresses to uintptr_t. Replace "long int" and "unsigned long
25476 int" with "greg_t" on va_arg.
25477
f1a77b01
L
254782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25479
25480 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25481 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25482
25483 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25484 Move e_machine check before EI_CLASS check. Handle x32
25485 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25486 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25487 SKIP_EM_IA_64 and include
25488 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25489
25490 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25491 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25492 (add_system_dir): New macro.
25493
25494 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25495 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25496
11b90b9f
JM
254972012-03-16 Joseph Myers <joseph@codesourcery.com>
25498
c36e1d23
JM
25499 [BZ #2551]
25500 [BZ #2552]
25501 [BZ #2553]
25502 [BZ #2554]
25503 [BZ #2562]
25504 [BZ #2563]
25505 [BZ #2565]
25506 [BZ #2566]
25507 [BZ #2576]
25508 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25509 (y0): Likewise.
25510 * math/w_j0f.c (j0f): Likewise.
25511 (y0f): Likewise.
25512 * math/w_j0l.c (__j0l): Likewise.
25513 (__y0l): Likewise.
25514 * math/w_j1.c (j1): Likewise.
25515 (y1): Likewise.
25516 * math/w_j1f.c (j1f): Likewise.
25517 (y1f): Likewise.
25518 * math/w_j1l.c (__j1l): Likewise.
25519 (__y1l): Likewise.
25520 * math/w_jn.c (jn): Likewise.
25521 (yn): Likewise.
25522 * math/w_jnf.c (jnf): Likewise.
25523 (ynf): Likewise.
25524 * math/w_jnl.c (__jnl): Likewise.
25525 (__ynl): Likewise.
25526 * math/libm-test.inc (j0_test): Add more tests.
25527 (j1_test): Likewise.
25528 (jn_test): Likewise. Add trailing semicolon to existing test.
25529 (y0_test): Likewise.
25530 (y1_test): Likewise.
25531 * sysdeps/i386/fpu/libm-test-ulps: Update.
25532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25533
11b90b9f
JM
25534 [BZ #13851]
25535 [BZ #13854]
25536 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25537 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25538 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25540 (__tanl): Set errno for infinite argument.
25541 * sysdeps/i386/fpu/mptan.c: Remove.
25542 * sysdeps/i386/fpu/s_tan.S: Likewise.
25543 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25544 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25545 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25546 * math/libm-test.inc (tan_test): Add more tests and enable more
25547 tests for double and long double.
25548 * sysdeps/i386/fpu/libm-test-ulps: Update.
25549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25550
6a1bd2a1
JK
255512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25552
25553 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25554 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25555
10a803e0
RM
255562012-03-16 Roland McGrath <roland@hack.frob.com>
25557
25558 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25559 * configure.in: Use it for both main tree and add-ons.
25560 * configure: Regenerated.
25561
f196c7f7
L
255622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25563
25564 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25565
8848d99d
JM
255662012-03-16 Joseph Myers <joseph@codesourcery.com>
25567
96cbe7f4
JM
25568 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25569 in comment.
25570
8848d99d
JM
25571 [BZ #13851]
25572 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25573 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25577 infinite argument.
25578 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25580 != 0 for prec == 2.
25581 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25582 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25583 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25584 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25585 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25586 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25587 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25588 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25589 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25590 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25591 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25592 * math/libm-test.inc (cos_test): Add more tests and enable more
25593 tests for long double.
25594 (sin_test): Likewise.
25595 (sincos_test): Likewise.
25596 * sysdeps/i386/fpu/libm-test-ulps: Update.
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25598
dd7f4703
DM
255992012-03-16 David S. Miller <davem@davemloft.net>
25600
25601 * sysdeps/sparc/fpu/math_private.h: New file.
25602
006f1daa
DM
256032012-03-15 David S. Miller <davem@davemloft.net>
25604
c0c83bc8
DM
25605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25606 file.
e6a62e18 25607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25609 file.
e6a62e18
DM
25610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25616 sysdep routines.
25617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25618
88cb87d9
DM
25619 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25620 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25621
006f1daa 25622 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25624 sparc-ifunc.h
006f1daa 25625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25627 Likewise.
25628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25629 Likewise.
006f1daa
DM
25630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25634 Likewise.
006f1daa
DM
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25640 Likewise.
25641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25642 Likewise.
006f1daa
DM
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25667
11e0098e
AS
256682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25669
25670 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25671 scaling.
25672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25673
e85b09d0
AJ
256742012-03-15 Andreas Jaeger <aj@suse.de>
25675
25676 [BZ #13852]
25677 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25678 ieee754/flt-32 implementation for sin, cos and sincos.
25679 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25680 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25681 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25682 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25683 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25684 ieee754/flt-32 implementation for tan.
25685
25686 * math/libm-test.inc (cos_test): Enable some large input tests for
25687 float as well
25688 (sin_test): Likewise.
25689 (sincos_test): Likewise.
25690 (tan_test): Add tests for large input.
25691
25692 * sysdeps/i386/fpu/libm-test-ulps: Update.
25693
81c64153
AJ
256942012-03-15 Andreas Jaeger <aj@suse.de>
25695
25696 [BZ #13658]
25697 * math/libm-test.inc (cos_test): Add more test cases.
25698 (sin_test): Likewise.
25699 (sincos_test): Likewise.
25700
7bbfa5c6
AJ
257012012-03-15 Andreas Jaeger <aj@suse.de>
25702
25703 [BZ #13837]
25704 * math/libm-test.inc (cos_test): Add a test case for large input
25705 value.
25706 (sin_test): Likewise.
25707 (sincos_test): Likewise.
25708
257092012-03-15 Andreas Jaeger <aj@suse.de>,
25710 Joseph Myers <joseph@codesourcery.com>
25711
25712 [BZ #13658]
0671f479 25713 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25714 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25715 * sysdeps/i386/fpu/branred.c: Likewise.
25716 * sysdeps/i386/fpu/dosincos.c: Likewise.
25717 * sysdeps/i386/fpu/mpa.c: Likewise.
25718 * sysdeps/i386/fpu/s_cos.S: Likewise.
25719 * sysdeps/i386/fpu/s_sin.S: Likewise.
25720 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25721 * sysdeps/i386/fpu/sincos32.c: Likewise.
25722
25723 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25724 Define.
25725 (libc_feupdateenv_53bit): Define.
25726 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25727 Define.
25728 (libc_feupdateenv_53bit): Define.
25729
25730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25731 53 bit (without extend i386 double precision).
25732
25733 * math/libm-test.inc (sincos_test): Add tests for large input.
25734 (sin): Likewise.
25735 (cos): Likewise.
25736
25737 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25738
9cad04ea
AS
257392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25740
25741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25742
f7062b9a
DM
257432012-03-15 David S. Miller <davem@davemloft.net>
25744
25745 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25746 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25747 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25748 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25761 file.
f7062b9a 25762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25764 file.
f7062b9a 25765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25767 file.
f7062b9a 25768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25770 file.
f7062b9a
DM
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25773 fmin/fmax sysdep routines.
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25775
7bd951ff
DM
257762012-03-14 David S. Miller <davem@davemloft.net>
25777
559398ab
DM
25778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25807 routines.
25808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25809 file.
559398ab 25810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25812 file.
559398ab 25813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25815 file.
559398ab 25816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25818 file.
559398ab 25819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25821 file.
559398ab 25822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25824 file.
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25826 file.
25827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25828 file.
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25830 file.
25831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25832 New file.
25833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25834 file.
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25836 file.
559398ab 25837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25839 file.
559398ab 25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25842 file.
559398ab 25843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25845 file.
559398ab 25846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25848 VIS3 routines.
559398ab
DM
25849
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25851 New file.
25852
5a1c1e32
DM
25853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25854
eae47a36
DM
25855 * sysdeps/sparc/configure.in: New file.
25856 * sysdeps/sparc/configure: Generate.
25857 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25858 * configure: Regenerate.
25859 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25860 * config.make.in (have-as-vis3): New.
25861 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25862 available use -Av9d instead of -Av9a.
25863 * sysdeps/sparc/sparc64/Makefile: Likewise.
25864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25866 New file.
25867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25868 file.
25869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25870 New file.
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25872 file.
eae47a36
DM
25873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25878
c0c83bc8
DM
25879 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25880 fzeros/fnegs to load 0x80000000 into a float register instead of
25881 using the stack.
7bd951ff
DM
25882 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25883
bd951ccb
JM
258842012-03-14 Joseph Myers <joseph@codesourcery.com>
25885
25886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25887 bits/syscall.h.
25888 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25889 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25890 ($(inst_includedir)/bits/syscall.h): Remove rule.
25891 ($(objpfx)bits/syscall.d): Include instead of
25892 $(objpfx)syscall-list.d.
25893 (generated): Change syscall-list.h and syscall-list.d to
25894 bits/syscall.h and bits/syscall.d.
25895
bb4e6db2
RM
258962012-03-14 Roland McGrath <roland@hack.frob.com>
25897
25898 [BZ #13846]
25899 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25900
aa4a2ae1
JM
259012012-03-14 Joseph Myers <joseph@codesourcery.com>
25902
e456826d
JM
25903 [BZ #13841]
25904 * math/s_csqrt.c: Include <float.h>.
25905 (__csqrt): Scale large or subnormal inputs.
25906 * math/s_csqrtf.c: Likewise.
25907 * math/s_csqrtl.c: Likewise.
25908 * math/libm-test.inc (csqrt_test): Add more tests.
25909 * sysdeps/i386/fpu/libm-test-ulps: Update.
25910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25911
aa4a2ae1
JM
25912 [BZ #13840]
25913 * math/libm-test.inc (hypot_test): Add more tests.
25914
7c10fd35
DM
259152012-03-13 David S. Miller <davem@davemloft.net>
25916
25917 [BZ #13840]
25918 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25919 double-precision for the calculation instead of scaling.
25920
f453b98b
JM
259212012-03-13 Joseph Myers <joseph@codesourcery.com>
25922
25923 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25924 manipulate bits before adding and subtracting TWO52[sx].
25925 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25926 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25927 Likewise.
25928 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25929
09a3453f
DM
259302012-03-13 David S. Miller <davem@davemloft.net>
25931
8e59da90
DM
25932 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25933 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25935 rtld-global-offsets.h
25936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25937
2a8ab7f2
DM
25938 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25939 large parameters.
25940
10f62770
DM
25941 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25942
5f0bdb18
DM
25943 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25944 'err' in the ifdef scope in which it is actually used.
25945
09a3453f
DM
25946 * nss/nss_db/db-init.c: Include string.h
25947
b4b2eb5e
DM
259482012-03-12 David S. Miller <davem@davemloft.net>
25949
98bb2f1c
DM
25950 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25951 masking out of the most significant byte of random value used.
25952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25953 Fix coding style in previous change.
25954
b4b2eb5e
DM
25955 * sysdeps/unix/sysv/linux/kernel-features.h
25956 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25957 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25958 expression.
25959 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25960 later.
25961
6e226b09
DM
259622012-03-11 David S. Miller <davem@davemloft.net>
25963
a1bcbd40
DM
25964 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25965 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25967 for 'resultvar' otherwise things get truncated on 64-bit.
25968
cb9d6174
DM
25969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25970 Fix masking out of the most significant byte of random value used.
25971
6e226b09
DM
25972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25973
058c132d
AS
259742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25975
25976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25977
2d2cd515
DM
259782012-03-09 David S. Miller <davem@davemloft.net>
25979
25980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25981 variables with appropriate CPP guards.
25982 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25983 frame pointer, not the stack pointer. Correct layout comments. Fix test
25984 on resulting framesize and the management of the outregs buffer for pltexit.
25985 Preserve floating point return values across _dl_call_pltexit call.
25986 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25987 framesize and the management of the outregs buffer for pltexit.
25988 Preserve floating point return values across _dl_call_pltexit
25989 call.
25990 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25991 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25992 (print_exit): Fix format string for return register value.
25993
9a07f9d0
JM
259942012-03-10 Joseph Myers <joseph@codesourcery.com>
25995
25996 * sunrpc/Makefile (others): Add rpcgen.
25997 ($(objpfx)rpcgen): Remove special build rule and dependency on
25998 libc.
25999 * sunrpc/rpcgen.c: New file.
26000
547b5e30
PE
260012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26002
c524201a
PE
26003 [BZ #13673]
26004 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26005 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26006 * sysdeps/i386/crti.S: Likewise.
26007 * sysdeps/i386/crtn.S: Likewise.
26008 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26009 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26010 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26011 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26012 * sysdeps/sh/crti.S: Likewise.
26013 * sysdeps/sh/crtn.S: Likewise.
26014 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26015
7b6235f2
PE
26016 [BZ #13673]
26017 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26018 with URL.
26019 * locale/programs/locfile-kw.gperf: Likewise.
26020 * locale/programs/charmap-kw.h: Regenerated.
26021 * locale/programs/locfile-kw.h: Likewise.
26022
547b5e30
PE
26023 [BZ #13673]
26024 * intl/plural.y: Replace FSF snail mail address with URL.
26025 * intl/plural.c: Regenerated.
26026
5f0a5dae
RH
260272012-03-09 Richard Henderson <rth@twiddle.net>
26028
26029 * include/math_private.h: Remove file.
26030 * math/math_private.h: Move file ...
26031 * sysdeps/generic/math_private.h: ... here.
26032
b8c03620
RH
26033 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26034 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26035 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26036
4e234f5d 26037 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26038 and <math_private.h>.
26039 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26040 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26041 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26042 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26043 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26052 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26053 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26054 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26055 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26056 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26127 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26128 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26129 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26130 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26131 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26132 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26133 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26134 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26139 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26140 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26141 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26142 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26144 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26145 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26146 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26147 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26148 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26149 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26150 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26151 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26152 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26154 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26155 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26156 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26157 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26158 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26159 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26160 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26161 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26162 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26167 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26173 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26181 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26182 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26183 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26184 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26185 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26187 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26188 * sysdeps/ieee754/k_standard.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26309 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26311 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26316 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26349 * sysdeps/ieee754/s_lib_version.c: Likewise.
26350 * sysdeps/ieee754/s_matherr.c: Likewise.
26351 * sysdeps/ieee754/s_signgam.c: Likewise.
26352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26354 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26355 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26356 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26357 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26358 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26359 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26360 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26361 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26362 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26363 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26364 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26365 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26366 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26367 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26373
1991fa03
JM
263742012-03-09 Joseph Myers <joseph@codesourcery.com>
26375
26376 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26377 * sunrpc/rpc_main.c: Likewise.
26378 * sunrpc/rpc_svcout.c: Likewise.
26379
60d6f5a6
DM
263802012-03-09 David S. Miller <davem@davemloft.net>
26381
26382 * include/math_private.h: New file.
26383
4962050e
JM
263842012-03-09 Joseph Myers <joseph@codesourcery.com>
26385
02a6f887
JM
26386 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26387 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26388 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26389 from <bits/socket_type.h>.
26390 (enum __socket_type): Don't define here.
26391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26393 bits/socket_type.h.
26394
c6e013c1
JM
26395 [BZ #13566]
26396 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26397 checking __USE_GNU.
26398
4962050e
JM
26399 * Makerules ($(inst_includedir)/%.h): New rule.
26400 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26401 (install-others): Remove variable setting.
26402 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26403
38842f45
RH
264042012-03-08 Richard Henderson <rth@twiddle.net>
26405
67bb6da6
RH
26406 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26407 from macro to inline function; merge with the
26408 !__LIBC_INTERNAL_MATH_INLINES version.
26409 (__ieee754_sqrtf): Likewise.
26410
15194b4b
RH
26411 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26412 to inline function.
26413 (__rintf, __floor, __floorf): Likewise.
26414
64e21ede
RH
26415 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26416 macro to inline function.
26417 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26418
38842f45
RH
26419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26420 not <math/math_private.h>.
26421
c64bf5fe
DM
264222012-03-08 David S. Miller <davem@davemloft.net>
26423
26424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26425 copyright year.
26426 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26427
82d86f28
TS
264282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26429
26430 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26431 normalization.
26432 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26433 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26434
aea5d727
UD
264352012-03-08 Ulrich Drepper <drepper@gmail.com>
26436
26437 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26438 be defined individually, they must be defined as a block. Define
26439 S for printing a string instead of hidint the different by using a
26440 macro for adding the 'l'.
26441 * stdio-common/tst-fphex-wide.c: Adjust.
26442
70bca0a3
MP
264432012-03-07 Marek Polacek <polacek@redhat.com>
26444
26445 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26446
65b81130
MP
264472012-03-08 Marek Polacek <polacek@redhat.com>
26448
26449 [BZ #13806]
26450 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26451 * stdio-common/tst-fphex.c: Define a few macros to make the
26452 test reusable. Use them.
26453 * stdio-common/tst-fphex-wide.c: New file.
26454
07037eeb
JM
264552012-03-08 Joseph Myers <joseph@codesourcery.com>
26456
a7a93d50
JM
26457 [BZ #6911]
26458 * manual/macros.texi (gnusystems): New macro.
26459 (nongnusystems): Likewise.
26460 (gnulinuxhurdsystems): Likewise.
26461 (gnuhurdsystems): Likewise..
26462 (gnulinuxsystems): Likewise.
26463 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26464 variants of the GNU system, not "GNU system".
26465 * manual/conf.texi: Likewise.
26466 * manual/errno.texi: Likewise. Update example of errno macro
26467 expansion.
26468 * manual/filesys.texi: Likewise.
26469 (getumask): Document as specific to GNU/Hurd.
26470 * manual/install.texi: Likewise. Reword some references to
26471 GNU/Linux.
26472 * manual/intro.texi: Likewise.
26473 * manual/io.texi: Likewise.
26474 (File Name Portability): Detail which constraints are inapplicable
26475 to all GNU systems and which are only inapplicable to GNU/Hurd.
26476 * manual/job.texi: Likewise.
26477 * manual/llio.texi: Likewise.
26478 (O_NOCTTY): Document as present on GNU/Linux.
26479 * manual/maint.texi: Likewise.
26480 * manual/memory.texi: Likewise.
26481 * manual/pattern.texi: Likewise.
26482 * manual/pipe.texi: Likewise.
26483 * manual/process.texi: Likewise.
26484 * manual/resource.texi: Likewise.
26485 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26486 child on GNU/Hurd.
26487 * manual/setjmp.texi: Likewise.
26488 * manual/signal.texi: Likewise.
26489 * manual/startup.texi: Likewise.
26490 * manual/stdio.texi: Likewise.
26491 * manual/terminal.texi: Likewise.
26492 (ONLCR): Document as POSIX.
26493 (OXTABS): Document availability on GNU/Linux as XTABS.
26494 (ONOEOT): Document availability separately from other bits.
26495 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26496 * manual/time.texi: Likewise.
26497 * manual/users.texi: Likewise.
26498 * INSTALL: Regenerated.
26499 * sysdeps/gnu/errlist.c: Regenerated.
26500
07037eeb
JM
26501 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26502 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26503 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26504 puts.
26505 * configure: Regenerated.
26506
d1d3431a
JM
265072012-03-07 Joseph Myers <joseph@codesourcery.com>
26508
af6a1e37
JM
26509 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26510 default includes instead of AC_HEADER_CHECK.
26511 * sysdeps/i386/configure: Regenerated.
26512
d1d3431a
JM
26513 [BZ #10716]
26514 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26515 * math/s_cacoshf.c (__cacoshf): Likewise.
26516 * math/s_cacoshl.c (__cacoshl): Likewise.
26517 * math/s_casinh.c (__casinh): Set signs of result from argument.
26518 * math/s_casinhf.c (__casinhf): Likewise.
26519 * math/s_casinhl.c (__casinhl): Likewise.
26520 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26521 (casinh_test): Add more tests.
26522 * sysdeps/i386/fpu/libm-test-ulps: Update.
26523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26524
482ff4da
UD
265252012-03-07 Ulrich Drepper <drepper@gmail.com>
26526
872fda05
UD
26527 * po/zh_TW.po: Update from translation team.
26528
a4300c7a
UD
26529 * login/Makefile (distribute): Remove variable.
26530 * catgets/Makefile: Likewise.
26531 * mach/Makefile: Likewise.
26532 * malloc/Makefile: Likewise.
26533 * misc/Makefile: Likewise.
26534 * iconv/Makefile: Likewise.
26535 * nscd/Makefile: Likewise.
26536 * hurd/Makefile: Likewise.
26537 * manual/Makefile: Likewise.
26538 * locale/Makefile: Likewise.
26539 * intl/Makefile: Likewise.
26540 * conform/Makefile: Likewise.
26541 * nss/Makefile: Likewise.
26542 * time/Makefile: Likewise.
26543 * soft-fp/Makefile: Likewise.
26544 * dirent/Makefile: Likewise.
26545 * gmon/Makefile: Likewise.
26546 * po/Makefile: Likewise.
26547 * rt/Makefile: Likewise.
26548 * socket/Makefile: Likewise.
26549 * math/Makefile: Likewise.
26550 * signal/Makefile: Likewise.
26551 * debug/Makefile: Likewise.
26552 * elf/Makefile: Likewise.
26553 * timezone/Makefile: Likewise.
26554 * stdlib/Makefile: Likewise.
26555 * iconvdata/Makefile: Likewise.
26556 * sunrpc/Makefile: Likewise.
26557 * io/Makefile: Likewise.
26558 * argp/Makefile: Likewise.
26559 * inet/Makefile: Likewise.
26560 * hesiod/Makefile: Likewise.
26561 * grp/Makefile: Likewise.
26562 * csu/Makefile: Likewise.
26563 * wctype/Makefile: Likewise.
26564 * crypt/Makefile: Likewise.
26565 * libio/Makefile: Likewise.
26566 * string/Makefile: Likewise.
26567 * nis/Makefile: Likewise.
26568 * resolv/Makefile: Likewise.
26569 * stdio-common/Makefile: Likewise.
26570 * wcsmbs/Makefile: Likewise.
26571 * dlfcn/Makefile: Likewise.
26572 * posix/Makefile: Likewise.
26573
3b7c4e74 26574 [BZ #6959]
482ff4da
UD
26575 * timezone/Makefile: Don't install timezone files, just the programs
26576 and scripts.
26577
f72ed77d
UD
265782012-03-06 Ulrich Drepper <drepper@gmail.com>
26579
a000466f
UD
26580 * nss/databases.def: Add missing gshadow entry.
26581
f72ed77d
UD
26582 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26583
a53b7a4e
MP
265842012-03-06 Marek Polacek <polacek@redhat.com>
26585
26586 [BZ #13726]
26587 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26588 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26589 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26590 * stdio-common/tst-long-dbl-fphex.c: New file.
26591
e9258400
DM
265922012-03-06 David S. Miller <davem@davemloft.net>
26593
26594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26595 (set_obp_int): New function.
26596 (get_obp_int): New function.
26597 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26599 Avoid unused variable warnings on 'val' and use builtin_expect.
26600 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26601 __builtin_expect.
e9258400
DM
26602 (INLINE_CLONE_SYSCALL): Likewise.
26603
3bd2c723
DM
266042012-03-05 David S. Miller <davem@davemloft.net>
26605
26606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26607
bbb78d03
AS
266082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26609
884c5db4
AS
26610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26611
bbb78d03
AS
26612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26613 only for |x| >= 40.
26614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26615
1c9f702a 266162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26617
26618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26619 Replace gettimeofday with __vdso_gettimeofday.
26620
7be16f82
RM
26621 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26622 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26623 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26624
26625 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26626 time with __vdso_time.
26627
ed58a00f
JM
266282012-03-05 Joseph Myers <joseph@codesourcery.com>
26629
26630 * manual/lang.texi (size_t): Note types to which size_t may be
26631 equivalent with the GNU C Library, but do not describe when
26632 differences between them are significant.
26633
30ee4ced
AJ
266342012-03-05 Andreas Jaeger <aj@suse.de>
26635
26636 * sysdeps/i386/fpu/libm-test-ulps: Update.
26637
b7cd39e8
JM
266382012-03-05 Joseph Myers <joseph@codesourcery.com>
26639
26640 [BZ #3976]
26641 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26642 (__ieee754_pow): Save and restore rounding mode and use
26643 round-to-nearest for main computations.
26644 * math/libm-test.inc (pow_test_tonearest): New function.
26645 (pow_test_towardzero): Likewise.
26646 (pow_test_downward): Likewise.
26647 (pow_test_upward): Likewise.
26648 (main): Call the new functions.
26649 * sysdeps/i386/fpu/libm-test-ulps: Update.
26650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26651
26652 [BZ #3976]
26653 * math/libm-test.inc (cosh_test_tonearest): New function.
26654 (cosh_test_towardzero): Likewise.
26655 (cosh_test_downward): Likewise.
26656 (cosh_test_upward): Likewise.
26657 (sinh_test_tonearest): Likewise.
26658 (sinh_test_towardzero): Likewise.
26659 (sinh_test_downward): Likewise.
26660 (sinh_test_upward): Likewise.
26661 (main): Call the new functions.
26662 * sysdeps/i386/fpu/libm-test-ulps: Update.
26663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26664
6c6a98c9
TV
266652012-03-05 Tom de Vries <tom@codesourcery.com>
26666
26667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26668 default stack guard is set in last bytes.
26669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26670
21bb2d2e 266712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26672
21bb2d2e 26673 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26674
21bb2d2e
AJ
26675 [BZ #13656]
26676 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26677 possibly allocate from heap instead of stack.
26678 * stdio-common/bug-vfprintf-nargs.c: New file.
26679 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26680
c6922934
AS
266812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26682
26683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26684
bc957d53
MP
266852012-03-03 Marek Polacek <polacek@redhat.com>
26686
26687 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26688 * math/math_private.h: Likewise.
26689 * stdlib/tst-strtod.c: Likewise.
26690 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26691 * sysdeps/x86_64/bits/atomic.h: Likewise.
26692
6358490d
DM
266932012-03-02 David S. Miller <davem@davemloft.net>
26694
26695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26699 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26700 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26701 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26702 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26703
01ae168d
RM
267042012-03-02 Roland McGrath <roland@hack.frob.com>
26705
d9a17c07
RM
26706 [BZ #13792]
26707 * manual/examples/README: New file, says the example source files
26708 can be used under GPL>=2.
26709 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26710 line containing just "*/".
26711 * manual/examples/add.c: Add copyright header (GPL>=2).
26712 * manual/examples/argp-ex1.c: Likewise.
26713 * manual/examples/argp-ex2.c: Likewise.
26714 * manual/examples/argp-ex3.c: Likewise.
26715 * manual/examples/argp-ex4.c: Likewise.
26716 * manual/examples/atexit.c: Likewise.
26717 * manual/examples/db.c: Likewise.
26718 * manual/examples/dir.c: Likewise.
26719 * manual/examples/dir2.c: Likewise.
26720 * manual/examples/execinfo.c: Likewise.
26721 * manual/examples/filecli.c: Likewise.
26722 * manual/examples/filesrv.c: Likewise.
26723 * manual/examples/fmtmsgexpl.c: Likewise.
26724 * manual/examples/genpass.c: Likewise.
26725 * manual/examples/inetcli.c: Likewise.
26726 * manual/examples/inetsrv.c: Likewise.
26727 * manual/examples/isockad.c: Likewise.
26728 * manual/examples/longopt.c: Likewise.
26729 * manual/examples/memopen.c: Likewise.
26730 * manual/examples/memstrm.c: Likewise.
26731 * manual/examples/mkfsock.c: Likewise.
26732 * manual/examples/mkisock.c: Likewise.
26733 * manual/examples/mygetpass.c: Likewise.
26734 * manual/examples/pipe.c: Likewise.
26735 * manual/examples/popen.c: Likewise.
26736 * manual/examples/rprintf.c: Likewise.
26737 * manual/examples/search.c: Likewise.
26738 * manual/examples/select.c: Likewise.
26739 * manual/examples/setjmp.c: Likewise.
26740 * manual/examples/sigh1.c: Likewise.
26741 * manual/examples/sigusr.c: Likewise.
26742 * manual/examples/stpcpy.c: Likewise.
26743 * manual/examples/strdupa.c: Likewise.
26744 * manual/examples/strftim.c: Likewise.
26745 * manual/examples/strncat.c: Likewise.
26746 * manual/examples/subopt.c: Likewise.
26747 * manual/examples/swapcontext.c: Likewise.
26748 * manual/examples/termios.c: Likewise.
26749 * manual/examples/testopt.c: Likewise.
26750 * manual/examples/testpass.c: Likewise.
26751 * manual/examples/timeval_subtract.c: Likewise.
26752
01ae168d
RM
26753 [BZ #13792]
26754 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26755 function to ...
26756 * manual/timeval_subtract.c.texi: ... here, new file.
26757
49efa33d
DM
267582012-03-02 David S. Miller <davem@davemloft.net>
26759
26760 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26761
28afd92d
JM
267622012-03-02 Joseph Myers <joseph@codesourcery.com>
26763
804360ed
JM
26764 [BZ #3976]
26765 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26766 (__sin): Save and restore rounding mode and use round-to-nearest
26767 for all computations.
26768 (__cos): Save and restore rounding mode and use round-to-nearest
26769 for all computations.
26770 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26771 <fenv.h>.
26772 (tan): Save and restore rounding mode and use round-to-nearest for
26773 all computations.
26774 * math/libm-test.inc (cos_test_tonearest): New function.
26775 (cos_test_towardzero): Likewise.
26776 (cos_test_downward): Likewise.
26777 (cos_test_upward): Likewise.
26778 (sin_test_tonearest): Likewise.
26779 (sin_test_towardzero): Likewise.
26780 (sin_test_downward): Likewise.
26781 (sin_test_upward): Likewise.
26782 (tan_test_tonearest): Likewise.
26783 (tan_test_towardzero): Likewise.
26784 (tan_test_downward): Likewise.
26785 (tan_test_upward): Likewise.
26786 (main): Call the new functions.
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789
a6d06d7b
JM
26790 [BZ #10135]
26791 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26792 small n, then large n, before computing and testing k+n.
26793 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26795 Likewise.
26796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26797 Likewise.
26798 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26799 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26806 * math/libm-test.inc (scalbn_test): Add more tests.
26807 (scalbln_test): Likewise.
26808
07e12bb3
JM
26809 * manual/filesys.texi (mode_t): Describe constraints on size and
26810 signedness, not exact equivalence to a particular type.
26811 (ino_t): Likewise.
26812 (ino64_t): Likewise.
26813 (dev_t): Likewise.
26814 (nlink_t): Likewise.
26815 (blkcnt_t): Likewise.
26816 (blkcnt64_t): Likewise.
26817 * manual/llio.texi (off_t): Likewise.
26818
28afd92d
JM
26819 [BZ #3976]
26820 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26821 (__ieee754_exp): Save and restore rounding mode and use
26822 round-to-nearest for all computations.
26823 * math/libm-test.inc (exp_test_tonearest): New function.
26824 (exp_test_towardzero): Likewise.
26825 (exp_test_downward): Likewise.
26826 (exp_test_upward): Likewise.
26827 (main): Call the new functions.
26828 * sysdeps/i386/fpu/libm-test-ulps: Update.
26829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26830
b1eeb65d
CD
268312012-03-01 Chris Demetriou <cgd@google.com>
26832
26833 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26834 have predictable order.
26835
53362a4b
DM
268362012-03-01 David S. Miller <davem@davemloft.net>
26837
3c969083
DM
26838 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26839
759707de
DM
26840 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26841 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26842 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26843 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26844
dfdb8ff2
DM
26845 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26846 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26847 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26849 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26850 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26851 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26852 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26853 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26854
ead89f96
DM
26855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26856
7f66bd07
DM
26857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26858 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26859 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26860
53362a4b
DM
26861 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26862 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26863 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26864 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26865 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26868 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26869 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26870 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26871 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26872 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26877 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26878 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26879 * sysdeps/sparc/elf/configure: Regenerated.
26880
7b1902cb
JM
268812012-03-01 Joseph Myers <joseph@codesourcery.com>
26882
bec039bc
JM
26883 * configure.in (AS, LD): Require binutils 2.20 or later.
26884 * configure: Regenerated.
26885 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26886 as required minimum version.
26887 * INSTALL: Regenerated.
26888
7b1902cb
JM
26889 [BZ #2541]
26890 [BZ #4108]
26891 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26892 before squaring exponent.
26893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26894 bottom long double and 27 bits of top long double before squaring
26895 exponent.
26896 * math/libm-test.inc (erfc_test): Add more tests.
26897 * sysdeps/i386/fpu/libm-test-ulps: Update.
26898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26900
f775c276
KT
269012012-03-01 Kai Tietz <ktietz@redhat.com>
26902
26903 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26904 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26905 containing bit-fields.
26906 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26907 * soft-fp/single.h (_FP_UNION_S): Likewise.
26908 * soft-fp/double.h (_FP_UNION_D): Likewise.
26909
5b8a4d4a
JM
269102012-02-29 Joseph Myers <joseph@codesourcery.com>
26911
0bab47b6
JM
26912 [BZ #13786]
26913 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26914 not include ../strcmp.S.
26915 [USE_AS_STRNCASECMP_L]: Likewise.
26916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26917 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26918 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26919 (__strncasecmp_l_ia32): Define as alias to
26920 __strncasecmp_l_nonascii.
26921
0fcad3e2
JM
26922 [BZ #5794]
26923 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26924 * sysdeps/i386/fpu/libm-test-ulps: Update.
26925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26926
5b8a4d4a
JM
26927 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26929
8fdceb2e
JL
269302012-02-29 Jeff Law <law@redhat.com>
26931
26932 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26933 out of bounds read.
26934
1f393a11
MP
269352012-02-29 Marek Polacek <polacek@redhat.com>
26936
26937 [BZ #13706]
26938 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26939 * elf/Makefile: Add rules to run tst-unused-dep.out.
26940
8847f037
DM
269412012-02-28 David S. Miller <davem@davemloft.net>
26942
26943 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26944 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26945 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26946 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26947 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26948 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26949
169d7f11
JM
269502012-02-29 Joseph Myers <joseph@codesourcery.com>
26951
26952 * math/libm-test.inc (llround_test): Move one test from
26953 lround_test. Use TEST_f_L in moved test.
26954 (lround_test): Move misplaced test to llround_test. Add testcase
26955 from bug 2561.
26956
39adf059
UD
269572012-02-28 Ulrich Drepper <drepper@gmail.com>
26958
26959 * sysdeps/x86_64/fpu/e_expf.S: New file.
26960 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26961
71b5d1c5
SB
269622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26963
26964 [BZ #13637]
26965 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26966 of remain_len that may cause incomplete multi-byte character and
26967 false match.
26968 * posix/bug-regex33.c: New file.
26969 * posix/Makefile (tests): Add bug-regex33.
26970
1f77f049
JM
269712012-02-28 Joseph Myers <joseph@codesourcery.com>
26972
26973 * manual/macros.texi: New file.
26974 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26975 * manual/libc.texinfo: Include macros.texi.
26976 * manual/creatute.texi: Likewise.
26977 * manual/install.texi: Likewise.
26978 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26979 @glibcadj{} in references to the GNU C Library.
26980 * manual/charset.texi: Likewise.
26981 * manual/conf.texi: Likewise.
26982 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26983 when not using those macros.
26984 * manual/creature.texi: Likewise.
26985 * manual/crypt.texi: Likewise.
26986 * manual/errno.texi: Likewise.
26987 * manual/filesys.texi: Likewise.
26988 * manual/header.texi: Likewise.
26989 * manual/install.texi: Likewise.
26990 * manual/intro.texi: Likewise.
26991 * manual/io.texi: Likewise.
26992 * manual/job.texi: Likewise.
26993 * manual/lang.texi: Likewise.
26994 * manual/libc.texiinfo: Likewise.
26995 * manual/llio.texi: Likewise.
26996 * manual/locale.texi: Likewise.
26997 * manual/maint.texi: Likewise.
26998 * manual/math.texi: Likewise.
26999 * manual/memory.texi: Likewise.
27000 * manual/message.texi: Likewise.
27001 * manual/nss.texi: Likewise.
27002 * manual/pattern.texi: Likewise.
27003 * manual/process.texi: Likewise.
27004 * manual/resource.texi: Likewise.
27005 * manual/search.texi: Likewise.
27006 * manual/setjmp.texi: Likewise.
27007 * manual/signal.texi: Likewise.
27008 * manual/socket.texi: Likewise.
27009 * manual/startup.texi: Likewise.
27010 * manual/stdio.texi: Likewise.
27011 * manual/string.texi: Likewise.
27012 * manual/sysinfo.texi: Likewise.
27013 * manual/syslog.texi: Likewise.
27014 * manual/terminal.texi: Likewise.
27015 * manual/time.texi: Likewise.
27016 * manual/users.texi: Likewise.
27017 * INSTALL: Regenerated.
27018 * NOTES: Regenerated.
d40c5d54 27019 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27020
450bf206
AS
270212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27022
27023 * include/dirent.h: Include <dirstream.h> before
27024 <dirent/dirent.h>.
27025
741a235b
DM
270262012-02-28 David S. Miller <davem@davemloft.net>
27027
27028 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27029 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27030 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27031 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27032
d6b5aa58
DM
270332012-02-27 David S. Miller <davem@davemloft.net>
27034
1aff59a3
DM
27035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27037 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27038 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27039
d6b5aa58
DM
27040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27041 frame pointer instead of stack pointer relative arg slot.
27042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27043 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27044 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27045
433f48bf
CD
270462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27047
27048 [BZ #3992]
27049 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27050
d674b76d
DM
270512012-02-27 David S. Miller <davem@davemloft.net>
27052
27053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27057 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27058 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27059 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27060 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27061
0e7727f7
JM
270622012-02-27 Joseph Myers <joseph@codesourcery.com>
27063
27064 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27065 later. Allow versions 5-9.
43be4ca2 27066 * configure: Regenerated.
0e7727f7
JM
27067 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27068 required minimum version and 4.6 as recommended version. Do not
27069 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27070 * INSTALL: Regenerated.
0e7727f7 27071
a78bc654
DM
270722012-02-27 David S. Miller <davem@davemloft.net>
27073
428d5830
DM
27074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27078 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27079 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27080 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27081 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27082
a78bc654
DM
27083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27084 manipulate bits before adding and subtracting TWO112[sx].
27085 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27086
4579f81c
RM
270872012-02-27 Roland McGrath <roland@hack.frob.com>
27088
36c8acb4
RM
27089 [BZ #13775]
27090 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27091 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27092 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27093 being in POSIX, because they are in 1003.1-2008.
27094
84ad622b
RM
27095 * rt/tst-aio.c: Include <fcntl.h>.
27096 * rt/tst-aio7.c: Likewise.
27097 * rt/tst-aio64.c: Likewise.
27098
4579f81c
RM
27099 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27100
abd923db
JM
271012012-02-27 Joseph Myers <joseph@codesourcery.com>
27102
27103 * manual/install.texi (--with-headers): Describe headers as
27104 interface headers, not private headers.
27105 (Specific advice for GNU/Linux systems): Describe use of headers
27106 from "make headers_install", not private headers from older
27107 kernels.
43be4ca2 27108 * INSTALL: Regenerated.
abd923db
JM
27109 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27110 Change to 2.6.19.
27111 * sysdeps/unix/sysv/linux/configure: Regenerated.
27112
6664049b
JM
27113 * manual/llio.texi (fclean): Remove documentation.
27114
bb8b6697
JM
27115 * manual/Makefile (libc-texi-generated): New variable. Include
27116 version.texi.
27117 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27118 $(libc-texi-generated), not duplicated list of files.
27119 (version.texi, stamp-version): New rules.
27120 (realclean): Remove $(libc-texi-generated), not individual files
27121 from that list. Do not remove dir-add.texinfo.
27122 * manual/libc.texinfo: Comment out uses of edition numbers and
27123 references to printed manual. Remove last-updated dates.
27124 (EDITION): Comment out.
27125 (ISBN): Likewise.
27126 (VERSION, UPDATED): Remove.
27127 (version.texi): Include.
27128
12e5c3b9
AS
271292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27130
27131 * sysdeps/posix/spawni.c: Include <signal.h>.
27132 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27133 * sysdeps/pthread/aio_fsync.c: Likewise.
27134
4efeffc1 271352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27136
ba63ba08
UD
27137 * conform/Makefile (tests): Run only when not cross-compiling and
27138 when fast-check is not defined.
27139
d94a4670
UD
27140 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27141 * conform/data/limits.h-data: Fixes for POSIX2008.
27142 * conform/run-conformtest.sh: Run all tests.
27143 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27144 headers.
27145 * include/bits/dlfcn.h: Likewise.
27146 * include/langinfo.h: Likewise.
27147 * include/monetary.h: Likewise.
27148 * include/sys/poll.h: Likewise.
27149
27150 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27151 for __USE_GNU.
27152 * posix/spawn.h: Define __need_sigset_t.
27153 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27154 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27155 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27156 to get sigevent_t only.
27157 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27158 only for __USE_GNU.
27159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27160 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27161 process_vm_writev only for __USE_GNU.
27162 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27163
27164 * conform/Makefile: For now ignore errors from run-conformtest.
27165 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27166 POSIX to avoid namespace pollution. Don't prepend headers.
27167 * conform/data/aio.h-data: Fixes for POSIX testing.
27168 * conform/data/fcntl.h-data: Likewise.
27169 * conform/data/glob.h-data: Likewise.
27170 * conform/data/grp.h-data: Likewise.
27171 * conform/data/pthread.h-data: Likewise.
27172 * conform/data/pwd.h-data: Likewise.
27173 * conform/data/signal.h-data: Likewise.
27174 * conform/data/spawn.h-data: Likewise.
27175 * conform/data/stdio.h-data: Likewise.
27176 * conform/data/stdlib.h-data: Likewise.
27177 * conform/data/stropts.h-data: Likewise.
27178 * conform/data/sys/mman.h-data: Likewise.
27179 * conform/data/sys/stat.h-data: Likewise.
27180 * conform/data/sys/types.h-data: Likewise.
27181 * conform/data/sys/wait.h-data: Likewise.
27182 * conform/data/time.h-data: Likewise.
27183 * conform/data/unistd.h-data: Likewise.
27184 * conform/data/utime.h-data: Likewise.
27185
27186 * io/sys/stat.h: fchmod was always in POSIX.
27187 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27188 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27189 * rt/aio.h: Define __need_timespec before including <time.h>.
27190 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27191 struct. Add forward declaration of pthread_attr_t and use it in
27192 sigevent.
27193 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27194 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27195 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27196 always remove CLK_TCK definition.
27197
c20105c3
AS
271982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27199
27200 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27201
7a270350
UD
272022012-02-25 Ulrich Drepper <drepper@gmail.com>
27203
31341567
UD
27204 * conform/run-conformtest.sh: New file.
27205 * conform/Makefile: Run run-conformtest for tests.
27206 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27207 support.
27208
27209 * conform/data/uchar.h-data: New file.
27210 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27211 * conform/data/arpa/inet.h-data: Likewise.
27212 * conform/data/assert.h-data: Likewise.
27213 * conform/data/complex.h-data: Likewise.
27214 * conform/data/cpio.h-data: Likewise.
27215 * conform/data/ctype.h-data: Likewise.
27216 * conform/data/dirent.h-data: Likewise.
27217 * conform/data/dlfcn.h-data: Likewise.
27218 * conform/data/errno.h-data: Likewise.
27219 * conform/data/fcntl.h-data: Likewise.
27220 * conform/data/float.h-data: Likewise.
27221 * conform/data/fmtmsg.h-data: Likewise.
27222 * conform/data/fnmatch.h-data: Likewise.
27223 * conform/data/ftw.h-data: Likewise.
27224 * conform/data/glob.h-data: Likewise.
27225 * conform/data/grp.h-data: Likewise.
27226 * conform/data/iconv.h-data: Likewise.
27227 * conform/data/inttypes.h-data: Likewise.
27228 * conform/data/langinfo.h-data: Likewise.
27229 * conform/data/libgen.h-data: Likewise.
27230 * conform/data/limits.h-data: Likewise.
27231 * conform/data/locale.h-data: Likewise.
27232 * conform/data/math.h-data: Likewise.
27233 * conform/data/monetary.h-data: Likewise.
27234 * conform/data/mqueue.h-data: Likewise.
27235 * conform/data/ndbm.h-data: Likewise.
27236 * conform/data/net/if.h-data: Likewise.
27237 * conform/data/netdb.h-data: Likewise.
27238 * conform/data/netinet/in.h-data: Likewise.
27239 * conform/data/nl_types.h-data: Likewise.
27240 * conform/data/poll.h-data: Likewise.
27241 * conform/data/pthread.h-data: Likewise.
27242 * conform/data/pwd.h-data: Likewise.
27243 * conform/data/regex.h-data: Likewise.
27244 * conform/data/sched.h-data: Likewise.
27245 * conform/data/search.h-data: Likewise.
27246 * conform/data/semaphore.h-data: Likewise.
27247 * conform/data/setjmp.h-data: Likewise.
27248 * conform/data/signal.h-data: Likewise.
27249 * conform/data/spawn.h-data: Likewise.
27250 * conform/data/stdarg.h-data: Likewise.
27251 * conform/data/stdio.h-data: Likewise.
27252 * conform/data/stdlib.h-data: Likewise.
27253 * conform/data/string.h-data: Likewise.
27254 * conform/data/strings.h-data: Likewise.
27255 * conform/data/stropts.h-data: Likewise.
27256 * conform/data/sys/ipc.h-data: Likewise.
27257 * conform/data/sys/mman.h-data: Likewise.
27258 * conform/data/sys/msg.h-data: Likewise.
27259 * conform/data/sys/resource.h-data: Likewise.
27260 * conform/data/sys/select.h-data: Likewise.
27261 * conform/data/sys/sem.h-data: Likewise.
27262 * conform/data/sys/shm.h-data: Likewise.
27263 * conform/data/sys/socket.h-data: Likewise.
27264 * conform/data/sys/stat.h-data: Likewise.
27265 * conform/data/sys/statvfs.h-data: Likewise.
27266 * conform/data/sys/time.h-data: Likewise.
27267 * conform/data/sys/timeb.h-data: Likewise.
27268 * conform/data/sys/times.h-data: Likewise.
27269 * conform/data/sys/types.h-data: Likewise.
27270 * conform/data/sys/uio.h-data: Likewise.
27271 * conform/data/sys/un.h-data: Likewise.
27272 * conform/data/sys/utsname.h-data: Likewise.
27273 * conform/data/sys/wait.h-data: Likewise.
27274 * conform/data/syslog.h-data: Likewise.
27275 * conform/data/tar.h-data: Likewise.
27276 * conform/data/termios.h-data: Likewise.
27277 * conform/data/utime.h-data: Likewise.
27278 * conform/data/utmpx.h-data: Likewise.
27279 * conform/data/varargs.h-data: Likewise.
27280 * conform/data/wchar.h-data: Likewise.
27281 * conform/data/wctype.h-data: Likewise.
27282 * conform/data/wordexp.h-data: Likewise.
27283
27284 * include/stropts.h: New file.
27285 * include/uchar.h: New file.
27286 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27287 * include/assert.h: Likewise.
27288 * include/ctype.h: Likewise.
27289 * include/dirent.h: Likewise.
27290 * include/dlfcn.h: Likewise.
27291 * include/fcntl.h: Likewise.
27292 * include/fnmatch.h: Likewise.
27293 * include/glob.h: Likewise.
27294 * include/grp.h: Likewise.
27295 * include/libio.h: Likewise.
27296 * include/locale.h: Likewise.
27297 * include/math.h: Likewise.
27298 * include/net/if.h: Likewise.
27299 * include/netdb.h: Likewise.
27300 * include/netinet/in.h: Likewise.
27301 * include/pthread.h: Likewise.
27302 * include/pwd.h: Likewise.
27303 * include/regex.h: Likewise.
27304 * include/sched.h: Likewise.
27305 * include/search.h: Likewise.
27306 * include/setjmp.h: Likewise.
27307 * include/signal.h: Likewise.
27308 * include/stdio.h: Likewise.
27309 * include/stdlib.h: Likewise.
27310 * include/string.h: Likewise.
27311 * include/sys/cdefs.h: Likewise.
27312 * include/sys/mman.h: Likewise.
27313 * include/sys/msg.h: Likewise.
27314 * include/sys/resource.h: Likewise.
27315 * include/sys/select.h: Likewise.
27316 * include/sys/socket.h: Likewise.
27317 * include/sys/stat.h: Likewise.
27318 * include/sys/statvfs.h: Likewise.
27319 * include/sys/time.h: Likewise.
27320 * include/sys/times.h: Likewise.
27321 * include/sys/uio.h: Likewise.
27322 * include/sys/utsname.h: Likewise.
27323 * include/sys/wait.h: Likewise.
27324 * include/termios.h: Likewise.
27325 * include/time.h: Likewise.
27326 * include/ulimit.h: Likewise.
27327 * include/unistd.h: Likewise.
27328 * include/utime.h: Likewise.
27329 * include/wchar.h: Likewise.
27330 * include/wctype.h: Likewise.
27331 * include/wordexp.h: Likewise.
27332
27333 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27334
7a270350
UD
27335 * time/time.h: TIME_UTC must be a macro.
27336 Make timespec_get available for ISO C11 only as well.
27337
7724defc
UD
273382012-02-24 Ulrich Drepper <drepper@gmail.com>
27339
27340 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27341 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27342
6b1d1d46
JM
273432012-02-24 Joseph Myers <joseph@codesourcery.com>
27344
27345 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27346
0f8bbd69
JM
273472012-02-24 Joseph Myers <joseph@codesourcery.com>
27348
27349 * manual/texinfo.tex: Update to version 2012-01-19.16.
27350
66ab80bc
JM
273512012-02-24 Joseph Myers <joseph@codesourcery.com>
27352
27353 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27354
74981cc5
RM
273552012-02-24 Roland McGrath <roland@hack.frob.com>
27356
ee968201
RM
27357 [BZ #13738]
27358 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27359 * manual/fdl-1.3.texi: New file.
27360 * manual/fdl-1.1.texi: File removed.
27361
74981cc5
RM
27362 [BZ #13738]
27363 * manual/libc.texinfo (FDL_VERSION): New @set.
27364 Use it for mention of FDL in cover text.
27365 (Documentation License): Use it in @include file name.
27366
7bb764bc
JM
273672012-02-22 Joseph Myers <joseph@codesourcery.com>
27368 Roland McGrath <roland@hack.frob.com>
27369
27370 [BZ #5461]
27371 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27372 not LONG_LONG_MAX and LONG_LONG_MIN.
27373 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27374 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27375 name.
27376 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27377
6cbeae47
JM
273782012-02-22 Joseph Myers <joseph@codesourcery.com>
27379
27380 [BZ #2547]
27381 [BZ #11365]
27382 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27383 manipulate bits before adding and subtracting TWO23[sx].
27384 * math/libm-test.inc (nearbyint_test): Add more tests.
27385
fe45ce09
JM
273862012-02-22 Joseph Myers <joseph@codesourcery.com>
27387
27388 [BZ #2548]
27389 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27390 bits before adding and subtracting TWO23[sx].
27391 * math/libm-test.inc (rint_test): Add more tests.
27392 (rint_test_tonearest): Likewise.
27393 (rint_test_towardzero): Likewise.
27394 (rint_test_downward): Likewise.
27395 (rint_test_upward: Likewise.
27396
ff3b3d82
JM
273972012-02-22 Joseph Myers <joseph@codesourcery.com>
27398
27399 [BZ #10110]
27400 * include/stdc-predef.h: New file. Extracted from features.h.
27401 * include/features.h: Include stdc-predef.h.
27402 * Makefile (headers): Add stdc-predef.h.
27403 * CONFORMANCE (Compiler limitations): Update.
27404
ef0aab35
JM
274052012-02-22 Joseph Myers <joseph@codesourcery.com>
27406
27407 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27408
58639409
DM
274092012-02-21 David S. Miller <davem@davemloft.net>
27410
27411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27413
c0e70b25
DM
274142012-02-20 David S. Miller <davem@davemloft.net>
27415
27416 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27417 using a normal save/restore sequence, rather than allocating a
27418 dummy stack frame just to store a frame pointer and restore.
27419 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27420
fb06851d
JM
274212012-02-21 Joseph Myers <joseph@codesourcery.com>
27422
27423 * manual/install.texi: Fix stray word in line-wrapped comment.
27424
7a8b71c3
DM
274252012-02-20 David S. Miller <davem@davemloft.net>
27426
d510c123
DM
27427 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27428 both binutils and gcc support GOTDATA.
27429
0722d7c2
DM
27430 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27431 "rd %pc" in the PIC register setup sequences.
27432
3d2b3019
DM
27433 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27434 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27435 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27436 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27437 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27442 (SYSCALL_ERROR_HANDLER): Likewise.
27443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27446 (SYSCALL_ERROR_HANDLER): Likewise.
27447
c80098a9
DM
27448 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27449 (HAVE_GCC_GOTDATA): New.
27450 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27451 relocation support in both binutils and gcc.
27452 * sysdeps/sparc/elf/configure: Regenerate.
27453
3a2545a0
DM
27454 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27455 * sysdeps/sparc/sparc32/elf/configure: Delete.
27456 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27457 * sysdeps/sparc/sparc64/elf/configure: Delete.
27458 * sysdeps/sparc/elf/configure.in: New file.
27459 * sysdeps/sparc/elf/configure: Generate.
27460
7a8b71c3
DM
27461 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27462 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27463 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27464 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27465 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27466
f1e86fca
JM
274672012-02-21 Joseph Myers <joseph@codesourcery.com>
27468
27469 * manual/install.texi: Do not mention specific glibc version
27470 numbers.
27471 * manual/libc.texinfo (VERSION, UPDATED): Update.
27472 (@copying): Use @copyright{} and range of years.
27473
0e7dfaef
JM
274742012-02-21 Joseph Myers <joseph@codesourcery.com>
27475
27476 [BZ #13695]
27477 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27478 [crti.S not in sysdirs] (generated): Do not append.
27479 [crti.S not in sysdirs] (omit-deps): Likewise.
27480 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27481 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27482 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27483 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27484 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27485 Likewise.
27486 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27487 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27488 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27489 * csu/defs.awk: Remove file.
27490 * sysdeps/generic/initfini.c: Likewise.
27491 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27492 variable.
27493 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27494 Likewise.
27495
599af3ca
JM
274962012-02-20 Joseph Myers <joseph@codesourcery.com>
27497
27498 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27499 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27500 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27501 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27502 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27503 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27504 <bits/epoll.h>.
27505 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27506 (__EPOLL_PACKED): Define to empty if not defined by
27507 <bits/epoll.h>.
27508 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27510 bits/epoll.h.
27511
0e499750
JM
275122012-02-20 Joseph Myers <joseph@codesourcery.com>
27513
27514 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27515 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27516 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27517 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27518 <bits/timerfd.h>.
27519 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27521 bits/timerfd.h.
27522
5ad91f6e
JM
275232012-02-20 Joseph Myers <joseph@codesourcery.com>
27524
27525 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27526 in C locale.
27527 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27528 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27529 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27531
06b99b02
AJ
275322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27533
27534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27535 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27536
7638c0fd
AS
275372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27538
27539 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27540 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27541 defined.
27542 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27543 Likewise.
27544 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27545 entry for 2.16.
27546
92221550
AJ
275472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27548
27549 * math/w_acos.c: Use non-signaling floating-point comparisons.
27550 * math/w_acosf.c: Likewise.
27551 * math/w_acosh.c: Likewise.
27552 * math/w_acoshf.c: Likewise.
27553 * math/w_acoshl.c: Likewise.
27554 * math/w_acosl.c: Likewise.
27555 * math/w_asin.c: Likewise.
27556 * math/w_asinf.c: Likewise.
27557 * math/w_asinl.c: Likewise.
27558 * math/w_atanh.c: Likewise.
27559 * math/w_atanhf.c: Likewise.
27560 * math/w_atanhl.c: Likewise.
27561 * math/w_exp2.c: Likewise.
27562 * math/w_exp2f.c: Likewise.
27563 * math/w_exp2l.c: Likewise.
27564 * math/w_j0.c: Likewise.
27565 * math/w_j0f.c: Likewise.
27566 * math/w_j0l.c: Likewise.
27567 * math/w_j1.c: Likewise.
27568 * math/w_j1f.c: Likewise.
27569 * math/w_j1l.c: Likewise.
27570 * math/w_jn.c: Likewise.
27571 * math/w_jnf.c: Likewise.
27572 * math/w_log.c: Likewise.
27573 * math/w_log10.c: Likewise.
27574 * math/w_log10f.c: Likewise.
27575 * math/w_log10l.c: Likewise.
27576 * math/w_log2.c: Likewise.
27577 * math/w_log2f.c: Likewise.
27578 * math/w_log2l.c: Likewise.
27579 * math/w_logf.c: Likewise.
27580 * math/w_logl.c: Likewise.
27581 * math/w_sqrt.c: Likewise.
27582 * math/w_sqrtf.c: Likewise.
27583 * math/w_sqrtl.c: Likewise.
27584 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27585 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27587 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27588 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27589
ebaf36eb
JM
275902012-02-19 Joseph Myers <joseph@codesourcery.com>
27591
27592 [BZ #9739]
27593 * manual/string.texi (strnlen): Use correct parameter name in
27594 equivalent expression.
27595
71c254a6
JM
275962012-02-19 Joseph Myers <joseph@codesourcery.com>
27597
27598 [BZ #11174]
27599 * manual/users.texi (seteuid): Consistently use neweuid for
27600 argument name.
27601
16d2c631
JM
276022012-02-19 Joseph Myers <joseph@codesourcery.com>
27603
27604 [BZ #13704]
27605 * manual/nss.texi (Services in the NSS configuration): Correct
27606 list of services in example configuration file.
27607
cd837b09
NB
276082012-02-19 Nick Bowler <nbowler@draconx.ca>
27609
27610 [BZ #11322]
27611 * manual/arith.texi: Remove statements about negative zero
27612 behaving identically to zero.
27613
02c4bbad
JM
276142012-02-18 Joseph Myers <joseph@codesourcery.com>
27615
27616 [BZ #5993]
27617 * manual/install.texi: Do not document upgrading from libc5.
27618
366842e7
JM
276192012-02-18 Joseph Myers <joseph@codesourcery.com>
27620
27621 [BZ #4596]
27622 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27623
dd54084d
DM
276242012-02-18 David S. Miller <davem@davemloft.net>
27625
27626 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27627 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27628 %o7 across the call.
27629 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27630 instead.
27631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27632 SETUP_PIC_REG_LEAF.
27633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27634 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27635 * sysdeps/sparc/crtn.S: Likewise.
27636
2bcc53a3
UD
276372012-02-17 Ulrich Drepper <drepper@gmail.com>
27638
27639 * aout/Makefile: Remove.
27640
09c093b5
RK
276412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27642
27643 [BZ #13058]
27644 * manual/examples/argp-ex1.c (main): Format definition in GNU
27645 style.
27646 * manual/examples/argp-ex2.c (main): Likewise.
27647 * manual/examples/argp-ex3.c (main): Likewise.
27648 * manual/examples/argp-ex4.c (main): Likewise.
27649 * manual/examples/longopt.c (main): Use new-style prototype
27650 definition.
27651 * manual/examples/strncat.c (main): Specify return type and use
27652 (void) for arguments.
27653 * manual/examples/subopt.c (main): Use char **argv argument.
27654
2ee633a2
JM
276552012-02-17 Joseph Myers <joseph@codesourcery.com>
27656
27657 [BZ #5077]
27658 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27659 rounding modes.
27660
0520adde
FB
276612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27662
27663 [BZ #6907]
27664 * manual/string.texi (strchr): Change when strchrnul is
27665 recommended.
27666
3f4081cd
DGM
276672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27668
27669 [BZ #174]
27670 * manual/locale.texi (setlocale): Document LOCPATH.
27671
d1b10e78
JM
276722012-02-17 Joseph Myers <joseph@codesourcery.com>
27673
27674 [BZ #10210]
27675 * manual/process.texi (execle): Move @dots{} before last argument.
27676
79c6869c
PB
276772012-02-17 Paul Bolle <pebolle@tiscali.nl>
27678
27679 [BZ #12047]
27680 * manual/charset.texi (Generic Charset Conversion): Fix typo
27681 (LC_TYPE -> LC_CTYPE).
27682
cc6e48bc
NB
276832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27684
27685 [BZ #5805]
27686 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27687 (scalbnf): Likewise.
27688 (scalbnl): Likewise.
27689 (scalbln): Likewise.
27690 (scalblnf): Likewise.
27691 (scalblnl): Likewise.
27692 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27693 (vwarnx): Likewise.
27694 (verr): Likewise.
27695 (verrx): Likewise.
27696 * manual/filesys.texi (telldir): Use braces around return type.
27697 * manual/llio.texi (mmap): Add space after comma.
27698 (mmap64): Likewise.
27699 * manual/math.texi (jn): Use @var{} on parameter names.
27700 (jnf): Likewise.
27701 (jnl): Likewise.
27702 (yn): Likewise.
27703 (ynf): Likewise.
27704 (ynl): Likewise.
27705 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27706 line.
27707 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27708 "...".
27709 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27710 (sched_get_priority_max): Likewise.
27711 * manual/signal.texi (sigvec): Add space after comma.
27712 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27713 names.
27714 (if_indextoname): Likewise.
27715 (if_freenameindex): Likewise.
27716 (sendto): Use ',' instead of '.' in prototype.
27717 * manual/startup.texi (syscall): Use @dots{} instead of literal
27718 "...".
27719 * manual/stdio.texi (__fpending): Separate initial words of
27720 paragraph from @deftypefun line.
27721 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27722 "...".
27723 (vsyslog): Use @var{} on parameter names.
27724 * manual/terminal.texi (stty): Use @var{} on parameter names.
27725 * manual/users.texi (getutmp): Use @var{} on parameter names.
27726 (getutmpx): Likewise.
27727
5b23062f
JM
277282012-02-17 Joseph Myers <joseph@codesourcery.com>
27729
27730 [BZ #6884]
27731 * manual/stdio.texi (fopen): Fix typos in description of
27732 ",ccs=STRING".
27733
8dee4833
AJ
277342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27735
27736 [BZ #4026]
27737 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27738 get clock_id definition.
27739
9078ce93
TS
277402012-02-17 Thomas Schwinge <thomas@schwinge.name>
27741
27742 [BZ #4822]
27743 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27744 (madvise): Cast every argument to void on its own.
27745
3835c55f
JM
277462012-02-17 Joseph Myers <joseph@codesourcery.com>
27747
27748 [BZ #9902]
27749 * manual/startup.texi (Exit Status): Fix typo.
27750
35c47e37
JM
277512012-02-17 Joseph Myers <joseph@codesourcery.com>
27752
27753 [BZ #10140]
27754 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27755 * manual/examples/argp-ex2.c: Likewise.
27756 * manual/examples/argp-ex3.c: Likewise.
27757
e3b69ca7
RH
277582012-02-16 Richard Henderson <rth@redhat.com>
27759
27760 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27761 * sysdeps/s390/s390-32/initfini.c: Remove.
27762 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27763 * sysdeps/s390/s390-64/initfini.c: Remove.
27764
df83af67
KK
277652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27766
27767 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27768 compiler output for sysdeps/generic/initfini.c.
27769 * sysdeps/sh/elf/initfini.c: Remove file.
27770
f63f3380
DM
277712012-02-16 David S. Miller <davem@davemloft.net>
27772
fb59b3a4
DM
27773 [BZ #11494]
27774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27775
f63f3380
DM
27776 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27777 * sysdeps/sparc/crti.S: New file.
27778 * sysdeps/sparc/crtn.S: New file.
27779 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27780 * sysdeps/sparc/sparc64/Makefile: Likewise.
27781
df6a4a4a
MF
277822012-02-15 Mike Frysinger <vapier@gentoo.org>
27783
6dd8f3dc 27784 [BZ #3335]
df6a4a4a
MF
27785 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27786
1cac7236
RM
277872012-02-15 Roland McGrath <roland@hack.frob.com>
27788
d2c736f8
RM
27789 [BZ #4822]
27790 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27791
1cac7236
RM
27792 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27793 (write, read, close): Likewise.
27794 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27795
8e475601
JM
277962012-02-15 Joseph Myers <joseph@codesourcery.com>
27797
27798 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27799 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27800 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27801 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27802 <bits/signalfd.h>.
27803 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27805 bits/signalfd.h.
27806
ed656b40
MP
278072012-02-14 Marek Polacek <polacek@redhat.com>
27808
27809 * sysdeps/x86_64/crti.S: New file.
27810 * sysdeps/x86_64/crtn.S: New file.
27811 * sysdeps/x86_64/elf/initfini.c: Remove file.
27812
2a979d3a
JM
278132012-02-13 Joseph Myers <joseph@codesourcery.com>
27814
27815 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27816 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27817 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27818 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27819 <bits/inotify.h>.
27820 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27822 bits/inotify.h.
27823
2a418ac3
JM
278242012-02-13 Joseph Myers <joseph@codesourcery.com>
27825
27826 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27827 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27828 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27829 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27830 <bits/eventfd.h>.
27831 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27833 bits/eventfd.h.
27834
fb779be7
TS
278352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27836
e19e83c5
RM
27837 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27838 __feraiseexcept instead of feraiseexcept.
7c35ffed 27839
fb779be7
TS
27840 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27841 nanosleep invocations.
27842 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27843 strings, and add error checking for a nanosleep invocations.
27844
59ba27a6
PE
278452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27846
27847 Replace FSF snail mail address with URLs, as per GNU coding standards.
27848 Most of the snail mail addresses were wrong anyway, and omitting
27849 them makes the source code easier to maintain. Almost all of the
27850 changes are to license notices and to locale LC_IDENTIFICATION
27851 addresses, except for this one:
27852 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27853 not its snail mail address.
27854
57b957eb
RH
278552012-02-09 Richard Henderson <rth@twiddle.net>
27856
af850b1c
RH
27857 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27858 of kernel-features.h.
27859
57b957eb
RH
27860 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27861
6b73181a
MP
278622012-02-08 Marek Polacek <polacek@redhat.com>
27863
27864 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27865 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27866 * sysdeps/gnu/_G_config.h: Likewise.
27867 * sysdeps/generic/_G_config.h: Likewise.
27868
26ecc33a
AS
278692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27870
6c6dbc63
AS
27871 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27872 tests.
27873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27874
e216c012
AS
27875 * sysdeps/powerpc/powerpc32/crti.S: New file.
27876 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27877 * sysdeps/powerpc/powerpc64/crti.S: New file.
27878 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27879
26ecc33a
AS
27880 * Makeconfig (have-initfini): Don't set.
27881 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27882 * configure.in (nopic_initfini): Don't substitute.
27883 * config.h.in (HAVE_INITFINI): Don't #undef.
27884 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27885 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27886
3add8e13
JM
278872012-02-08 Joseph Myers <joseph@codesourcery.com>
27888
27889 Support crti.S and crtn.S provided directly by architectures.
27890 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27891 [crti.S in sysdirs] (omit-deps): Likewise.
27892 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27893 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27894 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27895 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27896 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27897 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27898 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27899 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27900 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27901 compiler output for sysdeps/generic/initfini.c.
27902 * sysdeps/i386/elf/Makefile: Remove file.
27903 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27904
a22f12b4
MP
279052012-02-07 Marek Polacek <polacek@redhat.com>
27906
27907 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27908 * sysdeps/gnu/_G_config.h: Likewise.
27909 * sysdeps/mach/hurd/_G_config.h: Likewise.
27910
148cf100
MP
279112012-02-07 Marek Polacek <polacek@redhat.com>
27912
27913 * math/Makefile (tests): Add tst-CMPLX2.
27914 * math/tst-CMPLX2.c: New file.
27915
cfdc0dd7
AS
279162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27917
84ba42c4
AS
27918 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27919
cfdc0dd7
AS
27920 * math/libm-test.inc (jn_test): Add missing L suffix.
27921
622c86f4
MP
279222012-02-06 Marek Polacek <polacek@redhat.com>
27923
27924 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27925 * sysdeps/i386/fpu/e_powf.S: Likewise.
27926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27927 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27928 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27929 * sysdeps/i386/fpu/e_pow.S: Likewise.
27930 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27931 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27932 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27933 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27934 * sysdeps/i386/fpu/e_log2.S: Likewise.
27935 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27936 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27937 * sysdeps/i386/fpu/e_powl.S: Likewise.
27938 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27939 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27940 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27941 * sysdeps/i386/fpu/e_logl.S: Likewise.
27942 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27943 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27944 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27945 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27946 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27947 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27948 * sysdeps/i386/fpu/e_log.S: Likewise.
27949 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27950 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27951 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27952 * sysdeps/i386/fpu/e_logf.S: Likewise.
27953 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27954 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27955 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27956 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27957 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27958 * sysdeps/i386/fpu/e_log10.S: Likewise.
27959 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27960 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27961 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27962 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27963 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27964 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27965 * sysdeps/i386/asm-syntax.h: Likewise.
27966 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27967 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27968 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27969 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27970 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27971 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27972 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27973 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27974 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27975 * sysdeps/powerpc/sysdep.h: Likewise.
27976 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27977 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27978
d4a54ac6
JM
279792012-02-06 Joseph Myers <joseph@codesourcery.com>
27980
27981 [BZ #411]
27982 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27983
314054ea
JM
279842012-02-06 Joseph Myers <joseph@codesourcery.com>
27985
27986 * sysdeps/i386/sysdep.h: Include <features.h>.
27987 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27988 version.
27989
d8e0ca50
JM
279902012-02-05 Joseph Myers <joseph@codesourcery.com>
27991
27992 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27993 Define.
27994 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27995 LOAD_PIC_REG_STR.
27996
b1da7dd9
JM
279972012-02-03 Joseph Myers <joseph@codesourcery.com>
27998
27999 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28000 (SETUP_PIC_REG): Use GET_PC_THUNK.
28001 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28002 macro.
28003
9a1d9254
JM
280042012-02-03 Joseph Myers <joseph@codesourcery.com>
28005
28006 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28007 for non-PIC compilation.
28008 (SETUP_PIC_REG): Add .p2align directive.
28009 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28010 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28011 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28012 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28013 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28014 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28015 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28017 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28018 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28019 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28020 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28021 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28022 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28023 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28024 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28025 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28031 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28032 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28035 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28036 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28041 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28042 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28043 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28044 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28045 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28046 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28048 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28050
65dc3b75
JM
280512012-02-03 Joseph Myers <joseph@codesourcery.com>
28052
28053 * math/tst-CMPLX.c: Include <stdio.h>.
28054
d55bf177
JM
280552012-01-31 Joseph Myers <joseph@codesourcery.com>
28056
28057 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28058 float.
28059 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28060 * sysdeps/sparc/bits/mathdef.h: Likewise.
28061
69db4f8f
MP
280622012-01-31 Marek Polacek <polacek@redhat.com>
28063
28064 * libio/libio.h: Don't define _PARAMS.
28065 * locale/programs/config.h: Don't define PARAMS.
28066 * stdlib/strtol_l.c: Likewise.
28067 (__strtol_l): Remove PARAMS from the prototype.
28068
41b81892
UD
280692012-01-31 Ulrich Drepper <drepper@gmail.com>
28070
3b49edc0
UD
28071 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28072 names. Just use the correct names. Remove unnecessary wrapper
28073 functions.
28074 * malloc/arena.c: Likewise.
28075 * malloc/hooks.c: Likewise.
28076
41b81892
UD
28077 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28078 ARENA_TEST says not to. Simplify test for creation of a new arena.
28079 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28080
27a25b6e
UD
280812012-01-30 Ulrich Drepper <drepper@gmail.com>
28082
28083 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28084 into tail calls.
28085 (update_get_addr): New function.
28086 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28087 GET_ADDR_MODULE parameter.
28088
c8a89e7d
JM
280892012-01-30 Joseph Myers <joseph@codesourcery.com>
28090
28091 * crypt/cert.c: Remove __STDC__ conditionals.
28092 * crypt/crypt-entry.c: Likewise.
28093 * crypt/crypt_util.c: Likewise.
28094 * libio/filedoalloc.c: Likewise.
28095 * libio/fileops.c: Likewise.
28096 * libio/genops.c: Likewise.
28097 * libio/iofclose.c: Likewise.
28098 * libio/iofdopen.c: Likewise.
28099 * libio/iofopen.c: Likewise.
28100 * libio/iofopen64.c: Likewise.
28101 * libio/iogetdelim.c: Likewise.
28102 * libio/iopopen.c: Likewise.
28103 * libio/obprintf.c: Likewise.
28104 * libio/oldfileops.c: Likewise.
28105 * libio/oldiofclose.c: Likewise.
28106 * libio/oldiofdopen.c: Likewise.
28107 * libio/oldiofopen.c: Likewise.
28108 * libio/oldiopopen.c: Likewise.
28109 * libio/wfiledoalloc.c: Likewise.
28110 * libio/wgenops.c: Likewise.
28111 * locale/programs/xmalloc.c: Likewise.
28112 * misc/syslog.c: Likewise.
28113 * stdio-common/xbug.c: Likewise.
28114 * string/memchr.c: Likewise.
28115 * string/memcmp.c: Likewise.
28116 * string/memrchr.c: Likewise.
28117 * string/rawmemchr.c: Likewise.
28118 * sysdeps/posix/getcwd.c: Likewise.
28119 * time/strftime_l.c: Likewise.
28120
3b100462
JM
281212012-01-30 Joseph Myers <joseph@codesourcery.com>
28122
28123 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28124 * config.make.in (config-cflags-sse2avx): Define.
28125 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28126 Fix typo.
28127
607998af
CM
281282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28129
28130 * scripts/config.guess: Update from upstream config git repository.
28131 * scripts/config.sub: Likewise.
28132
3601428f
CM
281332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28134
3ac8b282
CM
28135 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28136 (EM_NUM): Update.
28137 (R_TILEPRO_*, R_TILEGX_*): New macros.
28138
e034841e
CM
28139 * scripts/firstversions.awk: Fix bug in version range handling.
28140
540d7568
CM
28141 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28142
3601428f
CM
28143 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28144
463de862
CM
28145 * include/sys/epoll.h: New file.
28146 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28147 libc_hidden_def.
28148
73139a76
UD
281492012-01-28 Ulrich Drepper <drepper@gmail.com>
28150
96bc5b45
UD
28151 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28152 Avoid unnecessary __WORDSIZE == 64 test.
28153 (fmaxf): Use VEX format if possible.
28154 (fmax): Likewise.
28155 (fminf): Likewise.
28156 (fmin): Likewise.
28157
56f6f6a2
UD
28158 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28159 * math/math_private.h: Remove libc_fegetround* and
28160 libc_fesetround*.
28161 * sysdeps/i386/configure.in: Check for -msse2avx.
28162 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28163 also if SSE2AVX is defined.
28164 Remove libc_fegetround* and libc_fesetround*.
28165 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28166 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28168 of HAS_YMM_USABLE.
28169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28170 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28171 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28172 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28173 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28174
73139a76
UD
28175 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28176
d73f93a4
AZ
281772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28178
28179 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28180 size is not set.
28181 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28182
6ee65ed6
UD
281832012-01-27 Ulrich Drepper <drepper@gmail.com>
28184
28185 [BZ #13618]
28186 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28187 relocation.
28188 * Makeconfig (libm): Define.
28189 * elf/Makefile: Add rules to build and run tst-relsort1.
28190 * elf/tst-relsort1.c: New file.
28191 * elf/tst-relsort1mod1.c: New file.
28192 * elf/tst-relsort1mod2.c: New file.
28193
8db21882
JM
281942012-01-27 Joseph Myers <joseph@codesourcery.com>
28195
28196 * math/s_ldexp.c: Remove __STDC__ conditionals.
28197 * math/s_ldexpf.c: Likewise.
28198 * math/s_ldexpl.c: Likewise.
28199 * math/s_nextafter.c: Likewise.
28200 * math/s_nexttowardf.c: Likewise.
28201 * math/s_significand.c: Likewise.
28202 * math/s_significandf.c: Likewise.
28203 * math/s_significandl.c: Likewise.
28204 * math/w_jnl.c: Likewise.
28205 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28206 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28207 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28208 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28209 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28211 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28212 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28213 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28214 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28215 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28217 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28218 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28219 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28220 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28222 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28224 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28225 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28227 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28228 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28229 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28230 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28231 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28233 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28237 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28238 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28239 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28240 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28241 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28242 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28243 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28244 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28245 * sysdeps/ieee754/k_standard.c: Likewise.
28246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28247 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28248 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28249 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28250 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28251 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28252 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28254 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28255 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28256 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28257 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28258 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28259 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28260 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28307 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28312 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28320 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28321 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28325 * sysdeps/ieee754/s_matherr.c: Likewise.
28326 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28327 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28328 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28330
965a54a4
JM
283312012-01-26 Joseph Myers <joseph@codesourcery.com>
28332
28333 * crypt/md5.h: Remove __STDC__ conditionals.
28334 * libio/libioP.h: Likewise.
28335 * locale/programs/config.h: Likewise.
28336 * sysdeps/generic/sysdep.h: Likewise.
28337 * sysdeps/i386/asm-syntax.h: Likewise.
28338 * sysdeps/s390/asm-syntax.h: Likewise.
28339 * sysdeps/unix/sysdep.h: Likewise.
28340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28342
7071ad79
JM
283432012-01-26 Joseph Myers <joseph@codesourcery.com>
28344
28345 * libio/libio.h: Remove __STDC__ conditionals.
28346 * malloc/obstack.h: Likewise.
28347 * math/complex.h: Likewise.
28348 * math/math.h: Likewise.
28349 * sysdeps/generic/_G_config.h: Likewise.
28350 * sysdeps/gnu/_G_config.h: Likewise.
28351 * sysdeps/mach/hurd/_G_config.h: Likewise.
28352 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28353 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28354 * sysdeps/sparc/bits/mathdef.h: Likewise.
28355
afc5ed09
UD
283562012-01-26 Ulrich Drepper <drepper@gmail.com>
28357
28358 [BZ #13583]
28359 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28360 Clean up HAS_* macros.
afc5ed09 28361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28362 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28363 possible.
28364 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28365 HAS_AVX.
28366 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28367 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28368 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28369 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28371
bdb6de1d
JM
283722012-01-25 Joseph Myers <joseph@codesourcery.com>
28373
28374 * elf/tst-unique3.cc (gets): Remove declaration.
28375 * elf/tst-unique3lib.cc (gets): Likewise.
28376 * elf/tst-unique3lib2.cc (gets): Likewise.
28377 * elf/tst-unique4.cc (gets): Likewise.
28378
b15549e6
UD
283792012-01-24 Ulrich Drepper <drepper@gmail.com>
28380
28381 * include/stdio.h: Add C++ protection. Add gets declarations and
28382 definitions.
28383 * debug/tst-chk1.c: Don't declare gets here.
28384 * stdio-common/tst-gets.c: Likewise.
28385
a037381f
JM
283862012-01-24 Joseph Myers <joseph@codesourcery.com>
28387
28388 * posix/glob: Remove directory.
28389
f1d4aa75
JM
283902012-01-24 Joseph Myers <joseph@codesourcery.com>
28391
28392 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28393
81c0c964
PT
283942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28395
28396 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28397 of the non-standard EPFNOSUPPORT.
28398
0ea698ae
ST
283992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28400
28401 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28402 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28403 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28404
d220b117
UD
284052012-01-21 Ulrich Drepper <drepper@gmail.com>
28406
28407 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28408
3e1aa84e
UD
284092012-01-20 Ulrich Drepper <drepper@gmail.com>
28410
28411 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28412 transient errors.
28413 * nscd/grpcache.c (cache_addgr): Likewise.
28414 * nscd/hstcache.c (cache_addhst): Likewise.
28415 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28416 * nscd/pwdcache.c (cache_addpw): Likewise.
28417 * nscd/servicescache.c (cache_addserv): Likewise.
28418
400aa020
UD
284192012-01-16 Ulrich Drepper <drepper@gmail.com>
28420
d77e7869
UD
28421 * malloc/malloc.c: Various cleanups.
28422 * malloc/hooks.c: Likewise.
28423
400aa020
UD
28424 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28425 * stdlib/bug-fmtmsg1.c: New file.
28426
28427 * stdlib/fmtmsg.c (init): Add missing unlock.
28428 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28429
e0a309cf
MP
284302012-01-12 Marek Polacek <polacek@redhat.com>
28431
28432 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28433 and _GNU_SOURCE.
28434
929d11c7
WS
284352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28436
28437 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28438 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28439 macro to ensure uniqueness of label name.
28440 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28441 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28442
41d0e869
UD
284432012-01-11 Ulrich Drepper <drepper@gmail.com>
28444
0cc5ed3b
UD
28445 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28446
41d0e869
UD
28447 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28448 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28451
a47a831a
UD
284522012-01-10 Ulrich Drepper <drepper@gmail.com>
28453
daa891c0
UD
28454 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28455
28456 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28457 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28458 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28459
e58ef0f2
UD
28460 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28461
a47a831a 28462 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28463 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28466
28467 * math/bits/math-finite.h: Add ldexp support.
28468
a0bfc9c7
MP
284692012-01-10 Marek Polacek <polacek@redhat.com>
28470
28471 * locale/programs/localedef.h (show_archive_content): Add noreturn
28472 attribute.
28473
d6e97a1d
UD
284742012-01-09 Ulrich Drepper <drepper@gmail.com>
28475
28476 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28477
d5835c26
UD
284782012-01-08 Ulrich Drepper <drepper@gmail.com>
28479
e5f484c6
UD
28480 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28481
d5835c26
UD
28482 * io/Makefile (headers): Add bits/poll2.h.
28483
d1f741e9
WS
284842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28485
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28487 typo #include statement.
28488
ec09c1c4
UD
284892012-01-08 Ulrich Drepper <drepper@gmail.com>
28490
28491 * include/sys/cdefs.h: Define __attribute_alloc_size.
28492 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28493 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28494 * elf/pldd.c: Likewise.
28495 * iconv/iconv_charmap.c: Likewise.
28496 * iconv/iconvconfig.c: Likewise.
28497 * iconv/strtab.c: Likewise.
28498 * locale/programs/locale.c: Likewise.
28499 * locale/programs/localedef.h: Likewise.
28500 * locale/programs/simple-hash.c: Likewise.
28501 * nscd/nscd.h: Likewise.
28502 * nss/makedb.c: Likewise.
28503 * sysdeps/generic/ldconfig.h: Likewise.
28504 * locale/programs/localedef.c: Remove xmalloc prototype.
28505 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28506
20b38e03
PP
285072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28508
28509 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28510 appropriate.
28511
a0da5fe1
UD
285122012-01-08 Ulrich Drepper <drepper@gmail.com>
28513
1d5a644a 28514 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28515 * math/tst-CMPLX.c: New file.
1d5a644a 28516
8784a6db
UD
28517 * math/complex.h (CMPLXL): Fix typo.
28518
d9a216c0
UD
28519 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28520 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28521 GLIBC_2.16.
28522 * debug/tst-chk1.c: Add poll and ppoll tests.
28523 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28524 * include/sys/poll.h: Add hidden proto for ppoll.
28525 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28526 * sysdeps/mach/hurd/ppoll.c: Likewise.
28527 * io/ppoll.c: Likewise.
28528 * debug/poll_chk.c: New file.
28529 * debug/ppoll_chk.c: New file.
28530 * include/bits/poll2.h: New file.
28531 * io/bits/poll2.h: New file.
28532
ac097f5c
UD
28533 [BZ #1350]
28534 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28535
2119dcfa
UD
28536 * configure.in: static is always set to yes. Remove.
28537 * config.make.in: Don't set build-static.
28538 * Makeconfig: Remove use of build-static.
28539 * dlfcn/Makefile: Likewise.
28540 * elf/Makefile: Likewise.
28541 * math/Makefile: Likewise.
28542 * misc/Makefile: Likewise.
28543 * nptl/Makefile: Likewise.
28544 * sysdeps/mach/hurd/Makefile: Likewise.
28545
121766a9
UD
28546 * configure.in: PWD_P is not used anymore.
28547 * config.make.in: Remove PWD_P entry.
28548
51a1d39c 28549 * configure.in: Remove last remnants of RANLIB.
8720d066 28550 No need to check for signed size_t anymore.
215f4bdc
UD
28551 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28552 and IA-64.
3857022a 28553 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28554 * aclocal.m4: Likewise.
28555
d3ed7225
UD
28556 * wcsmbs/mbrtoc16.c: Implement using towc function.
28557 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28558 * wcsmbs/wcsmbsload.c: Likewise.
28559 * iconv/gconv_simple.c: Likewise.
28560 * iconv/gconv_int.h: Likewise.
28561 * iconv/gconv_builtin.h: Likewise.
28562 * iconv/iconv_prog.c: Remove CHAR16 handling.
28563
28564 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28565
28566 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28567
a0da5fe1
UD
28568 * configure.in: Remove --with-elf and --enable-bounded options.
28569 Dont set base_machine for ia64. More non-ELF conditions removed.
28570 Remove testing and setting of leading underscore information.
28571 * config.make.in (build-bounded): Set to no.
28572 * config.h.in: Remove NO_UNDERSCORES entry.
28573 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28574 them.
28575 * csu/start.c: Remove !NO_UNDERSCORE code.
28576 * locale/localeinfo.h: Likewise.
28577 * sysdeps/generic/machine-gmon.h: Likewise.
28578 * sysdeps/generic/sysdep.h: Likewise.
28579 * sysdeps/i386/sysdep.h: Likewise.
28580 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28581 * sysdeps/mach/sysdep.h: Likewise.
28582 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28583 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28584 * sysdeps/sh/sysdep.h: Likewise.
28585 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28586 * sysdeps/unix/i386/sysdep.S: Likewise.
28587 * sysdeps/unix/sparc/start.c: Likewise.
28588 * sysdeps/unix/sparc/sysdep.S: Likewise.
28589 * sysdeps/unix/sparc/sysdep.h: Likewise.
28590 * sysdeps/unix/start.c: Likewise.
28591 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28592 * sysdeps/x86_64/sysdep.h: Likewise.
28593
df78418a
UD
285942012-01-07 Ulrich Drepper <drepper@gmail.com>
28595
a784e502
UD
28596 [BZ #13553]
28597 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28598 for non-gcc.
28599 * argp/argp-fmtstream.h: Use const instead __const.
28600 * argp/argp.h: Likewise.
28601 * assert/assert.h: Likewise.
28602 * bits/fenv.h: Likewise.
28603 * bits/sched.h: Likewise.
28604 * bits/sigset.h: Likewise.
28605 * bits/sigthread.h: Likewise.
28606 * catgets/nl_types.h: Likewise.
28607 * conform/data/pthread.h-data: Likewise.
28608 * crypt/crypt-private.h: Likewise.
28609 * crypt/crypt.h: Likewise.
28610 * crypt/crypt_util.c: Likewise.
28611 * ctype/ctype.h: Likewise.
28612 * debug/execinfo.h: Likewise.
28613 * debug/mbsnrtowcs_chk.c: Likewise.
28614 * debug/mbsrtowcs_chk.c: Likewise.
28615 * debug/wcsnrtombs_chk.c: Likewise.
28616 * debug/wcsrtombs_chk.c: Likewise.
28617 * debug/wcstombs_chk.c: Likewise.
28618 * dirent/dirent.h: Likewise.
28619 * dlfcn/dlfcn.h: Likewise.
28620 * elf/neededtest4.c: Likewise.
28621 * grp/grp.h: Likewise.
28622 * gshadow/gshadow.h: Likewise.
28623 * iconv/gconv.h: Likewise.
28624 * iconv/gconv_int.h: Likewise.
28625 * iconv/gconv_simple.c: Likewise.
28626 * iconv/iconv.h: Likewise.
28627 * iconv/loop.c: Likewise.
28628 * iconv/skeleton.c: Likewise.
28629 * include/aio.h: Likewise.
28630 * include/aliases.h: Likewise.
28631 * include/argz.h: Likewise.
28632 * include/arpa/inet.h: Likewise.
28633 * include/assert.h: Likewise.
28634 * include/dirent.h: Likewise.
28635 * include/dlfcn.h: Likewise.
28636 * include/execinfo.h: Likewise.
28637 * include/fcntl.h: Likewise.
28638 * include/fenv.h: Likewise.
28639 * include/glob.h: Likewise.
28640 * include/grp.h: Likewise.
28641 * include/libintl.h: Likewise.
28642 * include/mntent.h: Likewise.
28643 * include/netdb.h: Likewise.
28644 * include/pwd.h: Likewise.
28645 * include/rpc/netdb.h: Likewise.
28646 * include/sched.h: Likewise.
28647 * include/search.h: Likewise.
28648 * include/shadow.h: Likewise.
28649 * include/signal.h: Likewise.
28650 * include/stdio.h: Likewise.
28651 * include/stdlib.h: Likewise.
28652 * include/string.h: Likewise.
28653 * include/sys/socket.h: Likewise.
28654 * include/sys/stat.h: Likewise.
28655 * include/sys/statfs.h: Likewise.
28656 * include/sys/statvfs.h: Likewise.
28657 * include/sys/syslog.h: Likewise.
28658 * include/sys/time.h: Likewise.
28659 * include/sys/uio.h: Likewise.
28660 * include/time.h: Likewise.
28661 * include/unistd.h: Likewise.
28662 * include/utmp.h: Likewise.
28663 * include/wchar.h: Likewise.
28664 * include/wctype.h: Likewise.
28665 * inet/aliases.h: Likewise.
28666 * inet/arpa/inet.h: Likewise.
28667 * inet/netinet/ether.h: Likewise.
28668 * inet/netinet/in.h: Likewise.
28669 * intl/libintl.h: Likewise.
28670 * io/bits/fcntl2.h: Likewise.
28671 * io/fcntl.h: Likewise.
28672 * io/ftw.h: Likewise.
28673 * io/sys/poll.h: Likewise.
28674 * io/sys/stat.h: Likewise.
28675 * io/sys/statfs.h: Likewise.
28676 * io/sys/statvfs.h: Likewise.
28677 * io/utime.h: Likewise.
28678 * libio/bits/stdio.h: Likewise.
28679 * libio/bits/stdio2.h: Likewise.
28680 * libio/libio.h: Likewise.
28681 * libio/libioP.h: Likewise.
28682 * libio/stdio.h: Likewise.
28683 * locale/lc-ctype.c: Likewise.
28684 * locale/locale.h: Likewise.
28685 * login/utmp.h: Likewise.
28686 * malloc/arena.c: Likewise.
28687 * malloc/malloc.c: Likewise.
28688 * malloc/malloc.h: Likewise.
28689 * malloc/mcheck.c: Likewise.
28690 * malloc/mtrace.c: Likewise.
28691 * math/bits/mathcalls.h: Likewise.
28692 * math/fenv.h: Likewise.
28693 * math/math_private.h: Likewise.
28694 * misc/bits/error.h: Likewise.
28695 * misc/bits/syslog.h: Likewise.
28696 * misc/err.h: Likewise.
28697 * misc/error.h: Likewise.
28698 * misc/fstab.h: Likewise.
28699 * misc/mntent.h: Likewise.
28700 * misc/regexp.h: Likewise.
28701 * misc/search.h: Likewise.
28702 * misc/sgtty.h: Likewise.
28703 * misc/sys/mman.h: Likewise.
28704 * misc/sys/syslog.h: Likewise.
28705 * misc/sys/uio.h: Likewise.
28706 * misc/sys/xattr.h: Likewise.
28707 * misc/ttyent.h: Likewise.
28708 * nis/rpcsvc/ypclnt.h: Likewise.
28709 * nss/nss.h: Likewise.
28710 * posix/bits/unistd.h: Likewise.
28711 * posix/fnmatch.h: Likewise.
28712 * posix/glob.h: Likewise.
28713 * posix/sched.h: Likewise.
28714 * posix/spawn.h: Likewise.
28715 * posix/sys/wait.h: Likewise.
28716 * posix/unistd.h: Likewise.
28717 * posix/wordexp.h: Likewise.
28718 * pwd/pwd.h: Likewise.
28719 * resolv/netdb.h: Likewise.
28720 * resource/sys/resource.h: Likewise.
28721 * rt/aio.h: Likewise.
28722 * rt/bits/mqueue2.h: Likewise.
28723 * rt/mqueue.h: Likewise.
28724 * shadow/shadow.h: Likewise.
28725 * signal/signal.h: Likewise.
28726 * socket/send.c: Likewise.
28727 * socket/sendto.c: Likewise.
28728 * socket/sys/socket.h: Likewise.
28729 * stdio-common/printf.h: Likewise.
28730 * stdlib/bits/stdlib.h: Likewise.
28731 * stdlib/fmtmsg.h: Likewise.
28732 * stdlib/monetary.h: Likewise.
28733 * stdlib/stdlib.h: Likewise.
28734 * stdlib/ucontext.h: Likewise.
28735 * streams/stropts.h: Likewise.
28736 * string/argz.h: Likewise.
28737 * string/bits/string2.h: Likewise.
28738 * string/string.h: Likewise.
28739 * string/strings.h: Likewise.
28740 * sunrpc/rpc/auth.h: Likewise.
28741 * sunrpc/rpc/auth_des.h: Likewise.
28742 * sunrpc/rpc/clnt.h: Likewise.
28743 * sunrpc/rpc/netdb.h: Likewise.
28744 * sunrpc/rpc/pmap_clnt.h: Likewise.
28745 * sunrpc/rpc/xdr.h: Likewise.
28746 * sysdeps/generic/inttypes.h: Likewise.
28747 * sysdeps/generic/net/if.h: Likewise.
28748 * sysdeps/generic/sys/swap.h: Likewise.
28749 * sysdeps/gnu/net/if.h: Likewise.
28750 * sysdeps/gnu/utmpx.h: Likewise.
28751 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28752 * sysdeps/i386/i486/bits/string.h: Likewise.
28753 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28754 * sysdeps/s390/bits/string.h: Likewise.
28755 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28756 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28757 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28758 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28759 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28760 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28761 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28762 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28763 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28764 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28765 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28766 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28767 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28768 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28769 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28770 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28771 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28773 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28775 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28776 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28777 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28778 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28779 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28780 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28781 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28783 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28784 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28785 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28786 * sysvipc/sys/ipc.h: Likewise.
28787 * sysvipc/sys/msg.h: Likewise.
28788 * sysvipc/sys/sem.h: Likewise.
28789 * sysvipc/sys/shm.h: Likewise.
28790 * termios/termios.h: Likewise.
28791 * time/sys/time.h: Likewise.
28792 * time/time.h: Likewise.
28793 * wcsmbs/bits/wchar2.h: Likewise.
28794 * wcsmbs/uchar.h: Likewise.
28795 * wcsmbs/wchar.h: Likewise.
28796 * wctype/wctype.h: Likewise.
28797
0269750c
UD
28798 [BZ #13551]
28799 * Makeconfig: Remove all but ELF support including AIX support.
28800 * Makerules: Likewise.
28801 * config.h.in: Likewise.
28802 * config.make.in: Likewise.
28803 * configure: Likewise.
28804 * configure.in: Likewise.
28805 * csu/Makefile: Likewise.
28806 * csu/version.c: Likewise.
28807 * debug/Makefile: Likewise.
28808 * dlfcn/Makefile: Likewise.
28809 * elf/Makefile: Likewise.
28810 * extra-lib.mk: Likewise.
28811 * iconv/Makefile: Likewise.
28812 * include/libc-symbols.h: Likewise.
28813 * include/shlib-compat.h: Likewise.
28814 * resolv/Makefile: Likewise.
28815 * resolv/res_libc.c: Likewise.
28816 * rt/Makefile: Likewise.
28817 * sysdeps/i386/asm-syntax.h: Likewise.
28818 * sysdeps/i386/sysdep.h: Likewise.
28819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28820 * sysdeps/mach/sysdep.h: Likewise.
28821 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28822 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28823 * sysdeps/s390/asm-syntax.h: Likewise.
28824 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28825 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28826 * sysdeps/sh/sysdep.h: Likewise.
28827 * sysdeps/unix/sparc/sysdep.h: Likewise.
28828 * sysdeps/wordsize-32/divdi3.c: Likewise.
28829 * sysdeps/x86_64/sysdep.h: Likewise.
28830
00bbd29b
UD
28831 * argp/Versions: Remove _argp_unlock_xxx.
28832
28833 [BZ #13559]
28834 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28835 * abilist/libBrokenLocale.abilist: Likewise.
28836 * abilist/libanl.abilist: Likewise.
28837 * abilist/libc.abilist: Likewise.
28838 * abilist/libcrypt.abilist: Likewise.
28839 * abilist/libdl.abilist: Likewise.
28840 * abilist/libm.abilist: Likewise.
28841 * abilist/libnsl.abilist: Likewise.
28842 * abilist/libpthread.abilist: Likewise.
28843 * abilist/libresolv.abilist: Likewise.
28844 * abilist/librt.abilist: Likewise.
28845 * abilist/libthread_db.abilist: Likewise.
28846 * abilist/libutil.abilist: Likewise.
28847 * abilist/libnss_db.abilist: New file.
28848
28849 * scripts/abilist.awk: Add support for indirect functions.
28850
a2693a0e
UD
28851 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28852
3f05895f
UD
28853 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28854
ecb6fb48
UD
28855 * shlib-versions: Remove entries for ports architectures.
28856
664f8cb9
UD
28857 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28858 files in ports.
28859 * elf/stackguard-macros.h: Remove support for IA-64.
28860 * elf/tst-auditmod1.c: Likewise.
28861 * sysdeps/generic/ldsodefs.h: Likewise.
28862
7ae81d88
UD
28863 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28864 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28865 configure files.
28866
bdeba135
UD
28867 [BZ #13552]
28868 * configure.in: Remove --enable-omitfp support.
28869 * FAQ.in: Adjust.
28870 * config.make.in: Likewise.
28871 * Makeconfig: Likewise.
28872 * manual/install.texi: Likewise.
28873
d75a0a62
UD
28874 In case anyone cares, the IA-64 architecture could move to ports.
28875 * sysdeps/ia64/*: Removed.
28876 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28877 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28878
dcc9756b
UD
28879 [BZ #13555]
28880 * configure.in: Remove entries for unsupported architectures.
28881
d3761ebc 28882 [BZ #13533]
9954432e
UD
28883 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28884 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28885 routines.
28886 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28887 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28888 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28889 fall back to using wcrtomb.
28890 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28891 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28892 renaming.
28893 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28894 * wcsmbs/tst-c16c32-1.c: New file.
28895
28896 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28897 local variable.
28898
c3a87236
UD
28899 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28900
28926a1b
UD
28901 * elf/tst-unique3.cc: Add explicit declaration of gets.
28902 * elf/tst-unique3lib.cc: Likewise.
28903 * elf/tst-unique3lib2.cc: Likewise.
28904 * elf/tst-unique4.cc: Likewise.
28905
df78418a
UD
28906 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28907
8ecd6b2a
JM
289082012-01-06 Joseph Myers <joseph@codesourcery.com>
28909
28910 [BZ #13566]
28911 * assert/assert.h (static_assert): Don't define for C++.
28912 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28913 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28914
9f115170
UD
289152012-01-03 Ulrich Drepper <drepper@gmail.com>
28916
5e0d0300
UD
28917 * iconv/loop.c (single loop): Fix assertion in storing of
28918 remaining bytes.
28919
9f115170
UD
28920 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28921
81fb02b0
UD
289222012-01-01 Ulrich Drepper <drepper@gmail.com>
28923
28924 * posix/getconf.c: Update copyright year.
28925 * nss/getent.c: Likewise.
a316c1f6 28926 * nss/makedb.c: Likewise.
81fb02b0
UD
28927 * iconv/iconvconfig.c: Likewise.
28928 * iconv/iconv_prog.c: Likewise.
28929 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28930 * elf/pldd.c: Likewise.
28931 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28932 * catgets/gencat.c: Likewise.
28933 * csu/version.c: Likewise.
28934 * elf/ldd.bash.in: Likewise.
28935 * elf/sprof.c (print_version): Likewise.
28936 * locale/programs/locale.c: Likewise.
28937 * locale/programs/localedef.c: Likewise.
a316c1f6 28938 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28939 * nscd/nscd.c (print_version): Likewise.
28940 * debug/xtrace.sh: Likewise.
28941 * malloc/memusage.sh: Likewise.
28942 * malloc/mtrace.pl: Likewise.
28943 * debug/catchsegv.sh: Likewise.
28944
2ba92745
JJ
289452011-12-30 Jakub Jelinek <jakub@redhat.com>
28946
28947 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28948 pure attribute.
28949
dadebdae
UD
289502011-12-24 Ulrich Drepper <drepper@gmail.com>
28951
d3761ebc 28952 [BZ #13533]
db6af3eb
UD
28953 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28954 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28955 transformations.
28956 * iconv/gconv_int.h: Likewise.
28957 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28958 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28959 from libc for GLIBC_2.16.
28960 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28961 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28962 * wcsmbs/uchar.h: Really define mbstate_t.
28963 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28964 * wcsmbs/c16rtomb.c: New file.
28965 * wcsmbs/mbrtoc16.c: New file.
28966 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28967 for C/POSIX locale.
28968 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28969 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28970
dadebdae
UD
28971 * wcsmbs/wchar.h: Add missing __restrict.
28972
67371b56
UD
289732011-12-23 Ulrich Drepper <drepper@gmail.com>
28974
74033a25
UD
28975 [BZ #13532]
28976 * time/Makefile (routines): Add timespec_get.
28977 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28978 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28979 timespec for ISO C11.
28980 * time/timespec_get.c: New file.
28981 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28982 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28983
380d7e87
UD
28984 [BZ #13531]
28985 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28986 * stdlib/stdlib.h: Declare aligned_alloc.
28987 * Versions.def: Add GLIBC_2.16 for libc.
28988 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28989
4e9e7a35
UD
28990 [BZ 13527]
28991 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28992 ISO C11.
28993
380d7e87 28994 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28995 code.
28996
03a71829
UD
28997 [BZ #13528]
28998 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28999
839e283e
UD
29000 [BZ #13529]
29001 * assert/assert.h (static_assert): Define.
29002
ce5294e2 29003 * version.h: Update for 2.16 development version.
90fa7312 29004
8d44e150 29005 [BZ #13526]
d7809905
UD
29006 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29007 _ISOC11_SOURCE.
29008
c0da14cd
UD
29009 * version.h (RELEASE): Bump for 2.15 release.
29010 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29011
530a3249
MP
29012 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29013 Patch by Marek Polacek <mpolacek@redhat.com>.
29014
67371b56
UD
29015 * bits/byteswap.h: Protect long long constants with __extension__.
29016 * sysdeps/i386/bits/byteswap.h: Likewise.
29017 * sysdeps/ia64/bits/byteswap.h: Likewise.
29018 * sysdeps/s390/bits/byteswap.h: Likewise.
29019 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29020
15db4de1
LD
290212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29022
29023 [BZ #13540]
bbe315ea
LD
29024 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29025 destination buffer.
15db4de1
LD
29026 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29027
2b2596b1
MP
290282011-12-23 Marek Polacek <polacek@redhat.com>
29029
29030 * elf/dl-addr.c (determine_info): Add inline keyword.
29031 * elf/tst-auditmod4b.c (check_avx): Likewise.
29032 * elf/tst-auditmod6b.c (check_avx): Likewise.
29033 * elf/tst-auditmod6c.c (check_avx): Likewise.
29034 * elf/tst-auditmod7b.c (check_avx): Likewise.
29035
70c6c246
UD
290362011-12-23 Ulrich Drepper <drepper@gmail.com>
29037
29038 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29039 !__SSE_MATH__.
29040
c044cf14
LD
290412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29042
15db4de1 29043 [BZ #13540]
c044cf14
LD
29044 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29045 processing for last bytes.
29046
6b13d9d9
BH
290472011-08-06 Bruno Haible <bruno@clisp.org>
29048
d455f537
BH
29049 [BZ #13061]
29050 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29051 U+0385, not to U+1FEE.
29052
6b13d9d9
BH
29053 [BZ #13062]
29054 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29055 entry for U+00A5 U+0301.
29056
db910efd
UD
290572011-12-22 Ulrich Drepper <drepper@gmail.com>
29058
27deeafc
UD
29059 [BZ #13166]
29060 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29061 buffer for the output is too small.
29062
aed9d171
UD
29063 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29064 optimization.
29065
db910efd
UD
29066 [BZ #13185]
29067 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29068 SSE flags if possible.
29069
2bd779ae
LD
290702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29071
e7f9dac3 29072 [BZ #13540]
2bd779ae
LD
29073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29074 processing for last bytes.
29075
154bfc16
JM
290762011-12-22 Joseph Myers <joseph@codesourcery.com>
29077
29078 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29079 (syscall-list-default-options, syscall-list-default-condition)
29080 (syscall-list-includes): Define.
29081 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29082 list of ABIs and options and #if conditions for each ABI. Do not
29083 handle common syscalls between ABIs specially.
29084 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29085 Remove.
29086 (syscall-list-variants, syscall-list-32bit-options)
29087 (syscall-list-32bit-condition, syscall-list-64bit-options)
29088 (syscall-list-64bit-condition): Define.
29089 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29090 (syscall-list-variants, syscall-list-32bit-options)
29091 (syscall-list-32bit-condition, syscall-list-64bit-options)
29092 (syscall-list-64bit-condition): Define.
29093 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29094 Remove.
29095 (syscall-list-variants, syscall-list-32bit-options)
29096 (syscall-list-32bit-condition, syscall-list-64bit-options)
29097 (syscall-list-64bit-condition): Define.
29098 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29099 Remove.
29100 (syscall-list-variants, syscall-list-32bit-options)
29101 (syscall-list-32bit-condition, syscall-list-64bit-options)
29102 (syscall-list-64bit-condition): Define.
29103
21eaf3a5
UD
291042011-12-22 Ulrich Drepper <drepper@gmail.com>
29105
16c6f992
UD
29106 * locale/iso-639.def: Add brx entry.
29107
41043168
UD
29108 [BZ #13328]
29109 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29110 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29111
21eaf3a5
UD
29112 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29113 __feraiseexcept_renamed.
29114
e3a851a2
UD
291152011-12-21 Ulrich Drepper <drepper@gmail.com>
29116
4920765e
UD
29117 [BZ #13538]
29118 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29119 EPOLLET with unsigned values.
29120 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29122
e3a851a2
UD
29123 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29124 to large cancellation.
29125 * math/s_cacoshf.c: Likewise.
29126 * math/s_cacoshl.c: Likewise.
29127
b27e24b8
RK
291282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29129
29130 [BZ #13305]
aebefeee 29131 [BZ #12786]
b27e24b8
RK
29132 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29133 * math/s_cacoshf.c: Likewise.
29134 * math/s_cacoshl.c: Likewise.
29135
ee190f67
UD
291362011-12-21 Ulrich Drepper <drepper@gmail.com>
29137
29138 [BZ #13439]
29139 * iconv/gconv.h: Define __GCONV_SWAP.
29140 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29141 * iconvdata/utf-16.c: Likewise.
29142 * iconvdata/utf-32.c: Likewise.
29143
707f25df
AS
291442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29145
29146 [BZ #13524]
29147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29148 numerator after shifting it by one limb.
29149
d2daaa1e
RÁE
291502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29151
29152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29153 under [__USE_EXTERN_INLINES].
29154
a4647e72
UD
291552011-12-17 Ulrich Drepper <drepper@gmail.com>
29156
29157 [BZ #13446]
29158 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29159
f0b264f1
AZ
291602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29161
29162 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29163 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29164 optimized code.
29165 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29167 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29168 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29169 for strncasecmp/strncasecmp_l compilation.
29170 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29171 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29172
8ef4f244
MP
291732011-12-08 Marek Polacek <mpolacek@redhat.com>
29174
29175 [BZ #13484]
29176 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29177 of __asm__.
29178
97ac2654
UD
291792011-12-17 Ulrich Drepper <drepper@gmail.com>
29180
29181 [BZ #13506]
29182 * time/tzfile.c (__tzfile_read): Check values from file header.
29183
91d2a845
WS
291842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29185
29186 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29187 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29188 * powerpc/powerpc32/dl-start.S: Likewise.
29189 * powerpc/powerpc32/elf/start.S: Likewise.
29190 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29191 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29192 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29193 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29194 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29195 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29196 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29197 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29198 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29199 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29200 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29201 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29202 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29203 * powerpc/powerpc32/memset.S: Likewise.
29204 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29205 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29206 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29207 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29208 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29209 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29210 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29211 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29212 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29213 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29214 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29215 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29216 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29217
a1267ba1
AZ
292182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29219
29220 * math/libm-test.inc: Added more nearbyint tests.
29221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29225
ad8ac1bd
RL
292262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29227
29228 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29229 FD_CLOEXEC.
29230
1d3e4b61
UD
292312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29232
29233 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29234 Add wcscpy-ssse3 wcscpy-c.
29235 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29236 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29237 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29238 * sysdeps/x86_64/wcschr.S: New file.
29239 * sysdeps/x86_64/wcsrchr.S: New file.
29240 * string/test-strcmp.c: Remove checking of wcscmp function for
29241 wrong alignments.
29242 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29243 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29244 wcsrchr-sse2 wcsrchr-c.
29245 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29246 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29247 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29248 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29249 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29250 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29251 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29252 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29253 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29254 * wcsmbc/wcschr.c (WCSCHR): New macro.
29255
5b330a2d
UD
292562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29257
29258 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29259 * wcsmbs/test-wcsrchr.c: New file.
29260 * string/test-strrchr.c: Add wcsrchr support.
29261 (WIDE): New macro.
29262 * wcsmbs/test-wcscpy.c: New file.
29263 * string/test-strcpy.c: Add wcscpy support.
29264 (WIDE): New macro.
26428b7c 29265
f039c043
UD
292662011-12-10 Ulrich Drepper <drepper@gmail.com>
29267
29268 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29269 the inner loop.
29270
850fb039
AS
292712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29272
29273 [BZ #13472]
29274 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29275
4efbd5cb
UD
292762011-12-04 Ulrich Drepper <drepper@gmail.com>
29277
52ff5dd0 29278 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29279 Minor optimizations.
52ff5dd0 29280
4efbd5cb
UD
29281 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29282 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29283 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29284
8a426e12
UD
292852011-12-03 Ulrich Drepper <drepper@gmail.com>
29286
aff2453d
UD
29287 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29288 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29289 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29290 for gcc to avoid warnings.
29291 * inet/Makefile (tests): Add tst-checks.
29292 * inet/tst-checks.c: New file.
29293
29294 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29295 warning.
29296
29297 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29298 __wmemcmp_sse2.
29299
29300 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29301 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29302
8a426e12
UD
29303 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29304
9bea3473
UD
293052011-12-02 Ulrich Drepper <drepper@gmail.com>
29306
3a965496
UD
29307 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29308 problem.
29309
9bea3473
UD
29310 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29311
f101631b
UD
293122011-11-29 Joseph Myers <joseph@codesourcery.com>
29313
29314 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29315 conditional on GCC version.
29316 (__arch_compare_and_exchange_val_8_acq)
29317 (__arch_compare_and_exchange_val_16_acq)
29318 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29319 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29320 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29321
a98275aa
UD
293222011-12-02 Joseph Myers <joseph@codesourcery.com>
29323
29324 * sysdeps/sh/backtrace.c: New file.
29325
d4cc29a2
AS
293262011-12-02 Andreas Schwab <schwab@redhat.com>
29327
29328 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29329 parenthesis.
29330
6257af2d
AS
293312011-12-01 Andreas Schwab <schwab@redhat.com>
29332
29333 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29334 falling back to utime.
29335
b5f44c1a
AS
293362011-11-30 Andreas Schwab <schwab@redhat.com>
29337
29338 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29339 expectations for float.
29340
f3a6cc0a
AS
293412011-11-29 Andreas Schwab <schwab@redhat.com>
29342
29343 * locale/weight.h (findidx): Add parameter len.
29344 * locale/weightwc.h (findidx): Likewise.
29345 * posix/fnmatch_loop.c (FCT): Adjust caller.
29346 * posix/regcomp.c (build_equiv_class): Likewise.
29347 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29348 * posix/regexec.c (check_node_accept_bytes): Likewise.
29349 * string/strcoll_l.c (STRCOLL): Likewise.
29350 * string/strxfrm_l.c (STRXFRM): Likewise.
29351
9d65ea3a
UD
293522011-11-17 Ulrich Drepper <drepper@gmail.com>
29353
29354 * Makefile.in: Remove CVSOPT handling.
29355 * configure.in: Remove use of AC_REVISION.
29356 * iconvdata/Makefile (distribute): No need to filter out CVS.
29357 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29358 handling.
29359
5583a086
AS
293602011-11-16 Andreas Schwab <schwab@redhat.com>
29361
29362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29363 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29364 [USE_AS_STRNCASECMP_L]: Likewise.
29365 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29366 NO_TLS_DIRECT_SEG_REFS.
29367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29368 Fix argument offsets for non-PIC.
29369 [USE_AS_STRNCASECMP_L]: Likewise.
29370 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29371 NO_TLS_DIRECT_SEG_REFS.
29372
d62a8200
UD
293732011-11-15 Ulrich Drepper <drepper@gmail.com>
29374
9d65ea3a 29375 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29376 O_CLOEXEC.
29377 * locale/loadlocale.c (_nl_load_locale): Likewise.
29378
09f93bd3
AS
293792011-11-15 Andreas Schwab <schwab@redhat.com>
29380
446514f9
AS
29381 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29382 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29384 (SYSCALL_GETTIME): Set errno on error.
29385
09f93bd3
AS
29386 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29387 count references to noai6ai_cached.
29388
312be3f9
UD
293892011-11-15 Ulrich Drepper <drepper@gmail.com>
29390
29391 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29392
29393 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29394 FD_CLOEXEC for /proc/self/maps.
29395
29396 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29397 FD_CLOEXEC for /proc/meminfo.
29398
29399 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29400 gai.conf.
29401
29402 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29403 FD_CLOEXEC for given file.
29404
29405 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29406
29407 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29408 FD_CLOEXEC for /etc/hosts.
29409 (_gethtent): Likewise.
29410
29411 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29412
29413 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29414 cancellation and set FD_CLOEXEC for /etc/netgroup.
29415
29416 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29417 reading /etc/publickey.
29418
29419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29420 allow cancellation when reading /etc/group.
29421
29422 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29423 cancellation.
29424 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29425
29426 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29427 when using data file.
29428
29429 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29430
29431 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29432 (write_nis_obj): Use "c" and "e" in fopen.
29433
29434 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29435
29436 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29437
29438 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29439
29440 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29441
29442 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29443 locale.alias.
29444
29445 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29446
29447 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29448
29449 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29450
29451 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29452 file parsing and set FD_CLOEXEC.
29453
82af0fa8
UD
294542011-11-14 Ulrich Drepper <drepper@gmail.com>
29455
29456 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29457
a5fb313c
AS
294582011-11-14 Andreas Schwab <schwab@redhat.com>
29459
29460 * malloc/arena.c (arena_get2): Don't call reused_arena when
29461 _int_new_arena failed.
29462
6abf3465
UD
294632011-11-14 Ulrich Drepper <drepper@gmail.com>
29464
29465 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29466 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29467 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29468 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29471 to compile strcasecmp and strncasecmp.
29472 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29473 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29474
29475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29476
76e3966e
UD
294772011-11-13 Ulrich Drepper <drepper@gmail.com>
29478
29479 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29480 locale-defines.sym to gen-as-const-headers.
29481 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29482 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29484 to compile strcasecmp and strncasecmp.
29485 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29486 strcasecmp_l and strncasecmp_l.
29487 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29488 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29489 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29490 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29491 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29492 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29493 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29494 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29495 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29496 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29497 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29498
ab26144e
UD
294992011-11-12 Ulrich Drepper <drepper@gmail.com>
29500
7edb22ef
UD
29501 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29502 result of SYSDEP_GETTIME_CPU to retval.
29503 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29504 parameter list to macro. Remove trailing semicolon. Adjust users.
29505
9694fc44
UD
29506 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29507 variable.
29508
8ad89ef8
UD
29509 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29510 mantissa words.
29511 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29512
0c822ef9
UD
29513 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29514 from unused variable.
29515
874e0564
UD
29516 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29517 DWARF definitions.
29518 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29519 for assembling.
29520
3a2edc79
UD
29521 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29522 over namespaces.
29523
f3c2577f
UD
29524 * sunrpc/rpc_prot.c (rejected): Fix case value.
29525
294ce126
UD
29526 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29527 unsigned long long int to avoid warnings in shift.
29528
5e2b63c6
UD
29529 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29530 of use of trans.
29531 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29532 variable tmp.
29533
e7f4b08e
UD
29534 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29535 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29536 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29537
ab26144e
UD
29538 * nis/nis_table.c (nis_list): Use variable of correct type for
29539 result of __follow_path call.
29540
8a6d5255
AZ
295412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29542
29543 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29544 of math functions ceil, trunc, floor, round, and sqrt, when
29545 avaliable on the platform.
29546 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29547 name clash.
29548 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29549 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29550 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29551
aaddc98c
MP
295522011-10-30 Marek Polacek <mpolacek@redhat.com>
29553
29554 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29555 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29556
95b7042b
RM
295572011-11-11 Roland McGrath <roland@hack.frob.com>
29558
29559 * include/unistd.h: Fix __readlink return type.
29560 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29561
57769839
UD
295622011-11-11 Ulrich Drepper <drepper@gmail.com>
29563
29564 * stdlib/ucontext.h: Undo last change for makecontext.
29565
edc5984d
AS
295662011-11-11 Andreas Schwab <schwab@redhat.com>
29567
98591e58
AS
29568 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29569
edc5984d
AS
29570 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29571 * setjmp/setjmp.h: Mark functions as non-leaf.
29572 * setjmp/bits/setjmp2.h: Likewise.
29573 * stdlib/ucontext.h: Likewise.
29574
77cdc054
AS
295752011-11-10 Andreas Schwab <schwab@redhat.com>
29576
29577 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29578 (reused_arena): Don't check arena limit.
29579 (arena_get2): Atomically check arena limit.
29580
fe72eebd
UD
295812011-11-08 Ulrich Drepper <drepper@gmail.com>
29582
5f078c32
UD
29583 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29584 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29585
fe72eebd
UD
29586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29587 instructions.
29588
ae1bc2fa
AS
295892011-11-07 Andreas Schwab <schwab@redhat.com>
29590
7583a88d
AS
29591 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29592 handler when locking.
29593
ae1bc2fa
AS
29594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29595 Fix size of allocated buffer.
29596
10fb0bfa
AS
295972011-11-04 Andreas Schwab <schwab@redhat.com>
29598
998832a4
AS
29599 [BZ #10103]
29600 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29601 declarations for long double functions.
29602 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29603
10fb0bfa
AS
29604 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29605
3d7ba52b
AS
296062011-11-03 Andreas Schwab <schwab@redhat.com>
29607
a9ae54a1
AS
29608 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29609 installed.
29610
3d7ba52b
AS
29611 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29612 is disabled.
29613
bc8db248
ST
296142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29615
29616 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29617
45b96dd6
AS
296182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29619
647776f6
AS
29620 * include/alloca.h (stackinfo_alloca_round): Define.
29621 (extend_alloca): Use it.
29622 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29623 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29624 here.
29625
d91a8b93
AS
29626 * scripts/check-local-headers.sh: Ignore libaudit.h.
29627
45b96dd6
AS
29628 * nscd/Makefile (extra-objs): Make recursively expanded.
29629
432d41ce
UD
296302011-11-01 Ulrich Drepper <drepper@gmail.com>
29631
34372fc6
UD
29632 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29634
fadb59f8
UD
29635 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29636 * posix/tst-rfc3484-2.c: Likewise.
29637 * posix/tst-rfc3484-3.c: Likewise.
29638
78239589
UD
29639 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29640 process_vm_writev.
29641 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29642 process_vm_writev.
29643 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29644 process_vm_writev from libc using GLIBC_2.15 version.
29645
432d41ce
UD
29646 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29647
02f9c6cf
PP
296482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29649
29650 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29651 stack usage.
29652
3a2c0242
UD
296532011-10-31 Ulrich Drepper <drepper@gmail.com>
29654
f4ec4833
UD
29655 [BZ #13367]
29656 * nss/getent.c (initgroups_keys): Show error message in case no group
29657 names are given.
29658
3a2c0242
UD
29659 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29660 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29661 __bump_nl_timestamp.
29662 * nscd/connections (nscd_init): When host database is served open
29663 netlink socket and request notification about configuration changes.
29664 (main_loop_poll): Track netlink file descriptor and bump timestamp
29665 in case data becomes available.
29666 (main_loop_epoll): Likewise.
29667 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29668 (database_pers_head): Add extra_data fileds.
29669 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29671 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29672 Adjust caller.
29673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29674 in6ai data, call __free_in6ai.
29675 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29676 Add -DHAVE_NETLINK.
29677 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29678 interface information. Reuse previous data if netlink timestamp
29679 is not changed.
29680 (__bump_nl_timestamp): New function.
29681 (__free_in6ai): New function.
29682
636064eb
UD
296832011-10-30 Ulrich Drepper <drepper@gmail.com>
29684
29685 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29686 close_not_cancel_no_status here.
29687 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29688
9beb2334
UD
296892011-10-29 Ulrich Drepper <drepper@gmail.com>
29690
6ef76f3b
UD
29691 [BZ #13276]
29692 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29693 return value.
29694
0ffc4f3e 29695 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29696 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29697 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29698
cb95113e
UD
296992011-07-03 Andreas Jaeger <aj@suse.de>
29700
29701 [BZ #10709]
29702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29703 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29704 * math/libm-test.inc (sin_test): Add test case.
29705
a1b560ff
UD
297062011-10-29 Ulrich Drepper <drepper@gmail.com>
29707
c9aaface
UD
29708 [BZ #13337]
29709 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29710 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29711
d272e7f1
UD
29712 * elf/chroot_canon.c (chroot_canon): Cleanups.
29713
1bc33071
UD
29714 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29715
1760874d
TJ
29716 [BZ #13335]
29717 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29718 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29719
51d91b18
UD
29720 * string/test-strchr.c: Make usable for strchrnul testing.
29721 * string/test-strchrnul.c: New file.
29722 * string/Makefile (strop-tests): Add strchrnul.
29723
a1b560ff 29724 * po/it.po: Update from translation team.
b611fb81 29725 * po/es.po: Likewise.
a1b560ff 29726
a5b81e1f
UD
297272011-10-28 Ulrich Drepper <drepper@gmail.com>
29728
fd52bc6d
UD
29729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29730 the three constants needed as parameters. Drop the others.
29731 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29732 __m128i_strloadu_tolower.
52e4b9eb
UD
29733 Create and initialize variable zero and use it in all the places
29734 where _mm_setzero_si128 was used.
fd52bc6d 29735
a5b81e1f
UD
29736 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29737 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29738 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29740 anymore.
29741 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29742 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29743 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29744 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29745 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29746 __mpranred, __mptan.
29747 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29748 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29749 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29750 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29751 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29752 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29754 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29755 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29756
b4343346
AS
297572011-10-28 Andreas Schwab <schwab@redhat.com>
29758
0c92d8a8
AS
29759 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29760 redefine if SHARED.
29761 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29762
b4343346
AS
29763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29764 wide char related routines to wcsmbs subdir.
29765
3871f58f
AS
297662011-10-27 Andreas Schwab <schwab@redhat.com>
29767
29768 [BZ #13344]
29769 * misc/sys/cdefs.h (__THROWNL): Define.
29770 * posix/unistd.h: Use __THREADNL instead of __THREAD
29771 for memory synchronization functions.
29772
94d44d9f
RM
297732011-10-26 Roland McGrath <roland@hack.frob.com>
29774
21b64b15 29775 [BZ #13349]
94d44d9f
RM
29776 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29777 doesn't exist.
29778 * manual/stdio.texi (Obstack Streams): Node removed.
29779
f6ce9294
AS
297802011-10-26 Andreas Schwab <schwab@redhat.com>
29781
80479147
AS
29782 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29785
f6ce9294
AS
29786 * math/math_private.h (math_force_eval): Allow non-addressable
29787 arguments.
29788 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29789
618280a1
UD
297902011-10-25 Ulrich Drepper <drepper@gmail.com>
29791
e0016b11
UD
29792 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29793 file is not needed.
29794
29795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29802 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29803 Add AVX variants.
29804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29808 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29809 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29810 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29811 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29812 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29813 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29814 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29815 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29816 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29817 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29820 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29821 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29822 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29823
29824 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29825 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29826
618280a1
UD
29827 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29828 place. Use VEX encoding when compiling for AVX.
29829
37822576
AS
298302011-10-25 Andreas Schwab <schwab@redhat.com>
29831
1f1e1947
AS
29832 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29833 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29834
37822576
AS
29835 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29836
31ea014d
UD
298372011-10-25 Ulrich Drepper <drepper@gmail.com>
29838
d7826aa1 29839 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29840 useless if() expression.
d7826aa1
UD
29841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29846 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29852 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29855 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29857 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29858 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29859 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29860
31ea014d
UD
29861 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29862
16437fec
AS
298632011-10-25 Andreas Schwab <schwab@redhat.com>
29864
29865 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29866 condition.
29867 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29868
31d3cc00
UD
298692011-10-25 Ulrich Drepper <drepper@gmail.com>
29870
29871 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29872 .text section. Avoid duplicate constants.
29873 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29881 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29882 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29883 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29884 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29885 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29886 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29887 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29888 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29890 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29896 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29897 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29898 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29899 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29900 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29901 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29902 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29903 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29904 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29906 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29907 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29908 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29909 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29910 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29918
58985aa9
UD
299192011-10-24 Ulrich Drepper <drepper@gmail.com>
29920
202c9deb
UD
29921 * sysdeps/x86_64/dla.h: Move to ...
29922 * sysdeps/x86_64/fpu/dla.h: ...here.
29923 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29924 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29925
af968f62
UD
29926 * config.make.in: Add have-mfma4 entry.
29927 * configure.in: Substitute libc_cv_cc_fma4.
29928 * math/Makefile (dbl-only-routines): Add sincostab.
29929 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29930 Use __sincostab not sincos.
29931 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29932 name is a macro.
29933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29937 using __copysign.
29938 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29939 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29940 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29941 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29942 and __inv.
29943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29944 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29945 __copysign.
29946 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29947 define aliases when function name is a macro.
29948 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29949 sysdeps/ieee754/dbl-64/sincos.tbl.
29950 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29951 fma4-enabled routines.
29952 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29953 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29954 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29955 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29956 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29958 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29959 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29960 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29961 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29962 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29964 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29967 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29968 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29970 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29972 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29974 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29975 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29976 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29977 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29982
58985aa9
UD
29983 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29984 rename.
29985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29993
a201fbcf
AS
299942011-10-24 Andreas Schwab <schwab@redhat.com>
29995
29996 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29997
fc2ee42a
LD
299982011-10-23 Ulrich Drepper <drepper@gmail.com>
29999
bb3129bd
UD
30000 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30001
0275fff8
UD
30002 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30003 prediction.
30004 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30005
2fa2ae85
UD
30006 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30007 Remove unused variable magic_bits.
30008 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30009
fc2ee42a
LD
30010 * string/strnlen.c: Define and use STRNLEN macro.
30011 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30012 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30014 * wcsmbs/wcslen.c: Define and use WCSLEN.
30015 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30016 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30017 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30018 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30019 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30020 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30021 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30022
ce7dd29f
LD
300232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30024
30025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30026 strnlen-sse2-no-bsf.
30027 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30029 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30030 Add strnlen support.
30031 (USE_AS_STRNLEN): New macro.
30032 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30033 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30034 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30035 * sysdeps/x86_64/wcslen.S: New file.
30036
979c70a3
MZ
300372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30038
30039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30040 XMM-moves are used for copying on small sizes.
30041
2d09f82f
LD
300422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30043
30044 * wcsmbs/Makefile (strop-tests): Add wcschr.
30045 * wcsmbs/test-wcschr.c: New file.
30046 * string/test-strchr.c: Update.
30047 Add wcschr support.
30048 (WIDE): New macro.
30049
619fccca
LD
300502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30051
2d09f82f 30052 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30053 * wcsmbs/test-wcslen.c: New file.
30054 * string/test-strlen.c: Update.
30055 Add wcslen support.
30056 (WIDE): New macro.
30057
09f699ea
UD
300582011-10-23 Ulrich Drepper <drepper@gmail.com>
30059
30060 * po/it.po: Update from translation team.
30061
95584d3b
LD
300622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30063
30064 * sysdeps/x86_64/wcscmp.S: Update.
30065 Fix wrong comparison semantics.
30066 wcscmp shall use signed comparison not unsigned.
30067 Don't use substraction to avoid overflow bug.
30068 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30069 * wcsmbc/wcscmp.c: Likewise.
30070 * string/test-strcmp.c: Likewise.
30071 Add new tests to check cases with negative values.
30072
c8b3296b
UD
300732011-10-23 Ulrich Drepper <drepper@gmail.com>
30074
30075 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30076 * sysdeps/x86_64/dla.h: ...here. New file.
30077 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30086
246ad57a
AS
300872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30088
30089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30090 __ynl_finite aliases.
30091
a1a87169
UD
300922011-10-22 Ulrich Drepper <drepper@gmail.com>
30093
0d355eb7
UD
30094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30095
a1a87169
UD
30096 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30097 define DLA_FMA.
30098 [DLA_FMA] (EMULV): Use DLA_FMA.
30099 [DLA_FMA] (MUL12): Use EMULV.
30100 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30101 that are not needed.
30102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30109
ee2aafe0
AS
301102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30111
30112 * math/s_nan.c: Undef __nan.
30113 * math/s_nanf.c: Undef __nanf.
30114 * math/s_nanl.c: Undef __nanl.
30115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30116 "math_private.h".
30117
bc62c2fb
UD
301182011-10-22 Ulrich Drepper <drepper@gmail.com>
30119
77425c63
UD
30120 * math/s_catan.c: Add branch predictions.
30121 * math/s_catanf.c: Likewise.
30122 * math/s_catanh.c: Likewise.
30123 * math/s_catanhf.c: Likewise.
30124 * math/s_catanhl.c: Likewise.
30125 * math/s_catanl.c: Likewise.
30126 * math/s_cexp.c: Likewise.
30127 * math/s_cexpf.c: Likewise.
30128 * math/s_cexpl.c: Likewise.
30129 * math/s_clog.c: Likewise.
30130 * math/s_clog10.c: Likewise.
30131 * math/s_clog10f.c: Likewise.
30132 * math/s_clog10l.c: Likewise.
30133 * math/s_clogf.c: Likewise.
30134 * math/s_clogl.c: Likewise.
30135 * math/s_csqrt.c: Likewise.
30136 * math/s_csqrtf.c: Likewise.
30137 * math/s_csqrtl.c: Likewise.
30138 * math/s_ctanf.c: Likewise.
30139 * math/s_ctanh.c: Likewise.
30140 * math/s_ctanhf.c: Likewise.
30141 * math/s_ctanhl.c: Likewise.
30142 * math/s_ctanl.c: Likewise.
30143
bc62c2fb
UD
30144 * math/math_private.h: Define __nan, __nanf, __nanl.
30145 * math/s_cacosh.c: Include <math_private.h>.
30146 * math/s_cacoshl.c: Likewise.
30147 * math/s_casinh.c: Likewise.
30148 * math/s_casinhf.c: Likewise.
30149 * math/s_casinhl.c: Likewise.
30150 * math/s_ccos.c: Rely entire on ccosh.
30151 * math/s_ccosf.c: Rely entire on ccoshf.
30152 * math/s_ccosl.c: Rely entirely on ccoshl.
30153 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30154 Remove tests for FE_INVALID.
30155 * math/s_ccoshf.c: Likewise.
30156 * math/s_ccoshl.c: Likewise.
30157 * math/s_csin.c: Likewise.
30158 * math/s_csinf.c: Likewise.
30159 * math/s_csinh.c Likewise.
30160 * math/s_csinhf.c: Likewise.
30161 * math/s_csinhl.c: Likewise.
30162 * math/s_csinl.c: Likewise.
30163 * math/s_ctan.c: Likewise.
30164 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30165 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30167
8ec250a4
UD
301682011-10-21 Ulrich Drepper <drepper@gmail.com>
30169
c196fed8
UD
30170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30171 compilation problems.
30172
8ec250a4
UD
30173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30174 __builtin_expect.
30175
8d4f46c6
UD
301762011-10-20 Ulrich Drepper <drepper@gmail.com>
30177
ed72b654
UD
30178 * sysdeps/i386/configure.in: Test for -mfma4 option.
30179 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30180 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30181 COMMON_CPUID_INDEX_80000001.
30182 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30183 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30184 use it if FMA3 is not supported.
30185 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30186
8d4f46c6
UD
30187 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30188 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30189
d45c60c2
AS
301902011-10-20 Andreas Schwab <schwab@redhat.com>
30191
30192 [BZ #12892]
30193 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30194 it would create a cycle with a link time dependency.
30195
d9a4d2ab
UD
301962011-10-19 Ulrich Drepper <drepper@gmail.com>
30197
855d1560
UD
30198 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30199 instruction.
30200 * string/Makefile (strop-tests): Add rawmemchr.
30201 * string/test-rawmemchr.c: New file.
30202
d9a4d2ab
UD
30203 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30205 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30206 when compiling str{,n}casecmp and when AVX is available. Hook up
30207 new optimized code in initializers.
30208
8f3b1ffe
AS
302092011-10-19 Andreas Schwab <schwab@redhat.com>
30210
30211 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30212 __feraiseexcept instead of feraiseexcept.
30213
d38f1dba
UD
302142011-10-18 Ulrich Drepper <drepper@gmail.com>
30215
d9a8d0ab
UD
30216 * math/math_private.h: Define defaults for libc_fetestexcept and
30217 libc_feupdateenv.
30218 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30219 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30220 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30222 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30223 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30224 libc_fetestexcept and libc_feupdateenv.
30225
4855e3dd
UD
30226 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30227 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30228 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30229 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30230 libc_feholdexcept_setround.
30231
581d30e3
UD
30232 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30233 Add s_nearbyint-c and s_nearbyintf-c.
30234 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30235 nearbyintf inlines.
30236 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30239 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30240
d38f1dba
UD
30241 * math/math_private.h: Define defaults for libc_fegetround,
30242 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30243 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30244 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30245 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30246 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30247 standard functions.
30248 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30249 Remove comments and hacks for old compiler versions.
30250 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30251 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30252 libc_feholdexceptl.
30253
caa6c9d8
AS
302542011-10-18 Andreas Schwab <schwab@redhat.com>
30255
30256 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30257 (__feraiseexcept_renamed): Add __NTH.
30258 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30259 namespace violations.
30260
97c066e6
UD
302612011-10-17 Ulrich Drepper <drepper@gmail.com>
30262
99ce7b04
UD
30263 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30264
1004d182
UD
30265 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30266
228a984d
UD
30267 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30268 recently added interfaces.
30269 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30270
c8553a6a
UD
30271 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30272 about macro parameter expansion.
30273
ed22dcf6
UD
30274 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30275 __NO_MATH_INLINES is defined. Cleanups.
30276
30277 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30278 and __floorf is target has SSE4.1.
30279 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30280 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30281 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30282 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30283
b171c137
UD
30284 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30285 name.
30286 (floorf): Likewise.
30287
97c066e6
UD
30288 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30289
629f62ef
AS
302902011-10-17 Andreas Schwab <schwab@redhat.com>
30291
49a43d80
AS
30292 * misc/sys/cdefs.h: Fix last change.
30293
629f62ef
AS
30294 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30295 database lookup.
30296
e453f6cd
UD
302972011-10-16 Ulrich Drepper <drepper@gmail.com>
30298
aa78043a
UD
30299 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30300
ad0f5cad
UD
30301 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30303 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30309 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30310 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30311 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30312 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30313 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30314 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30315 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30316 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30317 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30318 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30319 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30320 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30321 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30322 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30323
30324 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30325 ceil, ceilf, floor, floorf.
30326
30327 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30328 Perform IRELATIVE relocations last.
30329
e453f6cd
UD
30330 * elf/do-rel.h: Add another parameter nrelative, replacing the
30331 local variable with the same name. Change name of the function
30332 to end in Rel or Rela (uppercase).
30333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30334 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30335 elf_dynamic_do_##reloc function.
30336
fd5bdc09
UD
303372011-10-15 Ulrich Drepper <drepper@gmail.com>
30338
79b195b5
UD
30339 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30340 is sufficient, at least on modern CPUs.
30341
d4a28569
UD
30342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30343
b61099b5
UD
30344 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30345 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30346
bcf01e6d
UD
30347 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30348 __expl_finite.
30349 * math/bits/math-finite.h: Add entries for exp.
30350 * math/e_expl.c: Add __*_finite alias.
30351 * sysdeps/i386/fpu/e_exp.S: Likewise.
30352 * sysdeps/i386/fpu/e_expf.S: Likewise.
30353 * sysdeps/i386/fpu/e_expl.c: Likewise.
30354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30355 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30359 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30360 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30361
ba1a0d59
UD
30362 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30363 is sufficient, at least on modern CPUs.
30364
fd5bdc09
UD
30365 * ctype/ctype-info.c (__ctype_init): Define.
30366 * include/ctype.h (__ctype_init): Declare.
30367 (__ctype_b_loc): The variable is always initialized.
30368 (__ctype_toupper_loc): Likewise.
30369 (__ctype_tolower_loc): Likewise.
30370 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30371 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30372
7872cfb0
AS
303732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30374
b468825a
AS
30375 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30376
7872cfb0
AS
30377 * configure.in: Also look in $cxxmachine/include for C++ system
30378 headers.
30379
be13f7bf
LD
303802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30381
30382 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30383 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30384 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30385 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30386 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30387 (USE_AS_WMEMCMP): New macro.
30388 Fixing indents.
30389 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30390 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30391 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30392 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30394 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30395 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30396 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30397 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30398 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30399 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30400 (USE_AS_WMEMCMP): New macro.
30401 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30402 * sysdeps/string/test-memcmp.c: Update.
30403 Fix simple_wmemcmp.
30404 Add new tests.
30405 * wcsmbs/wmemcmp.c: Update.
30406 (WMEMCMP): New macro.
30407 Fix overflow bug.
30408
556a2007
AJ
304092011-10-12 Andreas Jaeger <aj@suse.de>
30410
30411 [BZ #13268]
30412 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30413
538faaa7
UD
304142011-10-15 Ulrich Drepper <drepper@gmail.com>
30415
ab6737ff
UD
30416 * libio/iofwide.c (do_length): Avoid warning.
30417
538faaa7
UD
30418 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30419
396a21b1
UD
304202011-10-14 Ulrich Drepper <drepper@gmail.com>
30421
cdf2901f
UD
30422 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30423
38ad40ce
UD
30424 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30425 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30426 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30427 * sysdeps/i386/i686/fpu/e_log.S: New file.
30428 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30429 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30430
396a21b1
UD
30431 * ctype/ctype.h: Add support for inlined isXXX functions when
30432 compiling C++ code.
30433
6b1f68c9
AS
304342011-10-14 Andreas Schwab <schwab@redhat.com>
30435
349290c0
AS
30436 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30437
6b1f68c9
AS
30438 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30439
f2282d42
RM
304402011-10-13 Roland McGrath <roland@hack.frob.com>
30441
30442 [BZ #13291]
30443 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30444
5298ffa8
AS
304452011-10-13 Andreas Schwab <schwab@redhat.com>
30446
714fad23
AS
30447 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30448 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30449 feraiseexcept.
30450
81dcc7fb
AS
30451 * sysdeps/x86_64/memrchr.S: Check for zero size.
30452
5298ffa8
AS
30453 * string/stratcliff.c: Add memrchr tests.
30454
951fbcec
LD
304552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30456
30457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30458 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30459 rawmemchr-sse2 rawmemchr-sse2-bsf.
30460 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30461 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30462 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30463 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30464 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30465 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30466 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30467 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30468 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30469 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30470 * string/memrchr.c (MEMRCHR): New macro.
30471
0ac5ae23
UD
304722011-10-12 Ulrich Drepper <drepper@gmail.com>
30473
30474 Add integration with gcc's -ffinite-math-only and optimize wrapper
30475 functions in libm.
30476 * Versions.def: Define GLIBC_2.15 version for libm.
30477 * math/Makefile (headers): Add bits/math-finite.h.
30478 * math/bits/math-finite.h: New file.
30479 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30480 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30481 * math/e_acoshl.c: Add __*_finite alias.
30482 * math/e_acosl.c: Likewise.
30483 * math/e_asinl.c: Likewise.
30484 * math/e_atan2l.c: Likewise.
30485 * math/e_atanhl.c: Likewise.
30486 * math/e_coshl.c: Likewise.
30487 * math/e_exp10.c: Likewise.
30488 * math/e_exp10f.c: Likewise.
30489 * math/e_exp10l.c: Likewise.
30490 * math/e_exp2l.c: Likewise.
30491 * math/e_fmodl.c: Likewise.
30492 * math/e_gammal_r.c: Likewise.
30493 * math/e_hypotl.c: Likewise.
30494 * math/e_j0l.c: Likewise.
30495 * math/e_j1l.c: Likewise.
30496 * math/e_jnl.c: Likewise.
30497 * math/e_lgammal_r.c: Likewise.
30498 * math/e_log10l.c: Likewise.
30499 * math/e_log2l.c: Likewise.
30500 * math/e_logl.c: Likewise.
30501 * math/e_powl.c: Likewise.
30502 * math/e_sinhl.c: Likewise.
30503 * math/e_sqrtl.c: Likewise.
30504 * math/e_scalb.c: Completely rewritten and optimized.
30505 * math/e_scalbf.c: Likewise.
30506 * math/e_scalbl.c: Likewise.
30507 * math/w_acos.c: Likewise.
30508 * math/w_acosf.c: Likewise.
30509 * math/w_acosl.c: Likewise.
30510 * math/w_acosh.c: Likewise.
30511 * math/w_acoshf.c: Likewise.
30512 * math/w_acoshl.c: Likewise.
30513 * math/w_asin.c: Likewise.
30514 * math/w_asinf.c: Likewise.
30515 * math/w_asinl.c: Likewise.
30516 * math/w_atan2.c: Likewise.
30517 * math/w_atan2f.c: Likewise.
30518 * math/w_atan2l.c: Likewise.
30519 * math/w_atanh.c: Likewise.
30520 * math/w_atanhf.c: Likewise.
30521 * math/w_atanhl.c: Likewise.
30522 * math/w_exp10.c: Likewise.
30523 * math/w_exp10f.c: Likewise.
30524 * math/w_exp10l.c: Likewise.
30525 * math/w_fmod.c: Likewise.
30526 * math/w_fmodf.c: Likewise.
30527 * math/w_fmodl.c: Likewise.
30528 * math/w_j0.c: Likewise.
30529 * math/w_j0f.c: Likewise.
30530 * math/w_j0l.c: Likewise.
30531 * math/w_j1.c: Likewise.
30532 * math/w_j1f.c: Likewise.
30533 * math/w_j1l.c: Likewise.
30534 * math/w_jn.c: Likewise.
30535 * math/w_jnf.c: Likewise.
30536 * math/w_log.c: Likewise.
30537 * math/w_logf.c: Likewise.
30538 * math/w_logl.c: Likewise.
30539 * math/w_log10.c: Likewise.
30540 * math/w_log10f.c: Likewise.
30541 * math/w_log10l.c: Likewise.
30542 * math/w_log2.c: Likewise.
30543 * math/w_log2f.c: Likewise.
30544 * math/w_log2l.c: Likewise.
30545 * math/w_pow.c: Likewise.
30546 * math/w_powf.c: Likewise.
30547 * math/w_powl.c: Likewise.
30548 * math/w_remainder.c: Likewise.
30549 * math/w_remainderf.c: Likewise.
30550 * math/w_remainderl.c: Likewise.
30551 * math/w_scalb.c: Likewise.
30552 * math/w_scalbf.c: Likewise.
30553 * math/w_scalbl.c: Likewise.
30554 * math/w_sqrt.c: Likewise.
30555 * math/w_sqrtf.c: Likewise.
30556 * math/w_sqrtl.c: Likewise.
30557 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30558 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30559 used.
30560 * math/math_private.h: Declare __kernel_standard_f.
30561 * math/w_cosh.c: Remove cruft and optimize a bit.
30562 * math/w_coshf.c: Likewise.
30563 * math/w_coshl.c: Likewise.
30564 * math/w_exp2.c: Likewise.
30565 * math/w_exp2f.c: Likewise.
30566 * math/w_exp2l.c: Likewise.
30567 * math/w_hypot.c: Likewise.
30568 * math/w_hypotf.c: Likewise.
30569 * math/w_hypotl.c: Likewise.
30570 * math/w_lgamma.c: Likewise.
30571 * math/w_lgamma_r.c: Likewise.
30572 * math/w_lgammaf.c: Likewise.
30573 * math/w_lgammaf_r.c: Likewise.
30574 * math/w_lgammal.c: Likewise.
30575 * math/w_lgammal_r.c: Likewise.
30576 * math/w_sinh.c: Likewise.
30577 * math/w_sinhf.c: Likewise.
30578 * math/w_sinhl.c: Likewise.
30579 * math/w_tgamma.c: Likewise.
30580 * math/w_tgammaf.c: Likewise.
30581 * math/w_tgammal.c: Likewise.
30582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30583 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30584 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30585 Minor optimizations. Pretty printing. Remove cruft.
30586 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30587 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30588 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30589 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30590 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30591 * sysdeps/i386/fpu/e_asin.S: Likewise.
30592 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30593 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30594 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30595 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30598 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30599 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30600 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30601 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30602 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30603 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30604 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30605 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30606 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30607 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30608 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30609 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30610 * sysdeps/i386/fpu/e_log.S: Likewise.
30611 * sysdeps/i386/fpu/e_log10.S: Likewise.
30612 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30613 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30614 * sysdeps/i386/fpu/e_log2.S: Likewise.
30615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30616 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30617 * sysdeps/i386/fpu/e_logf.S: Likewise.
30618 * sysdeps/i386/fpu/e_logl.S: Likewise.
30619 * sysdeps/i386/fpu/e_pow.S: Likewise.
30620 * sysdeps/i386/fpu/e_powf.S: Likewise.
30621 * sysdeps/i386/fpu/e_powl.S: Likewise.
30622 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30623 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30624 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30625 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30626 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30628 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30629 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30630 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30652 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30656 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30657 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30658 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30671 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30672 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30711 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30714 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30716 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30717 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30719 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30722 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30723 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30724 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30728 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30729 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30730 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30731 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30732 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30733 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30734 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30735 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30736 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30737 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30738 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30739 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30740 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30741 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30742 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30743 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30744 (__isnanf): Likewise.
30745 (__isinf_ns): Likewise.
30746 (__isinf_nsf): Likewise.
30747 (__finite): Likewise.
30748 (__finitef): Likewise.
30749 (__ieee754_sqrt): Define as macro.
30750 (__ieee754_sqrtf): Define as macro.
30751 (__ieee754_sqrtl): Define as macro.
30752 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30753 inlined copy.
30754 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30755 __FINITE_MATH_ONLY__ consistent.
30756 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30757
12cc2fcd
AS
307582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30759
a843a204
AS
30760 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30761 of rawmemchr.
30762
12cc2fcd
AS
30763 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30764
c853acd5
UD
307652011-10-09 Ulrich Drepper <drepper@gmail.com>
30766
30767 * po/ja.po: Update from translation team.
30768
c658d255
RM
307692011-10-08 Roland McGrath <roland@hack.frob.com>
30770
110946e4
RM
30771 * locale/programs/locarchive.c (prepare_address_space): New function.
30772 (create_archive, enlarge_archive, open_archive): Use it.
30773
50604220
RM
30774 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30775 inside [SHARED], where it is used.
30776
c658d255
RM
30777 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30778
30779 * nss/getent.c (netgroup_keys): Remove unused variable.
30780 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30781
6a621eb7
UD
307822011-10-08 Ulrich Drepper <drepper@gmail.com>
30783
7edb55ce
UD
30784 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30785 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30787 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30788 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30789 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30790 * math/Makefile (libm-calls): Add s_isinf_ns.
30791 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30792 * math/multc3.c: Likewise.
30793 * math/s_casin.c: Likewise.
30794 * math/s_casinf.c: Likewise.
30795 * math/s_casinl.c: Likewise.
30796 * math/s_ccos.c: Likewise.
30797 * math/s_ccosf.c: Likewise.
30798 * math/s_ccosl.c: Likewise.
30799 * math/s_ctan.c: Likewise.
30800 * math/s_ctanf.c: Likewise.
30801 * math/s_ctanh.c: Likewise.
30802 * math/s_ctanhf.c: Likewise.
30803 * math/s_ctanhl.c: Likewise.
30804 * math/s_ctanl.c: Likewise.
30805 * math/w_fmod.c: Likewise.
30806 * math/w_fmodf.c: Likewise.
30807 * math/w_fmodl.c: Likewise.
30808 * math/w_remainder.c: Likewise.
30809 * math/w_remainderf.c: Likewise.
30810 * math/w_remainderl.c: Likewise.
30811 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30812 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30815 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30816 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30817 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30818 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30819
187da0ae
UD
30820 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30821 of the number.
30822 * stdio-common/printf_fphex.c: Likewise.
30823 * stdio-common/printf_size.c: Likewise.
30824
9277c064
UD
30825 * math/e_exp10.c: Include math_private.h using <...> not "...".
30826 * math/e_exp10f.c: Likewise.
30827 * math/e_exp10l.c: Likewise.
30828 * math/e_exp2l.c: Likewise.
30829 * math/e_j0l.c: Likewise.
30830 * math/e_j1l.c: Likewise.
30831 * math/e_jnl.c: Likewise.
30832 * math/e_lgammal_r.c: Likewise.
30833 * math/e_rem_pio2l.c: Likewise.
30834 * math/e_scalb.c: Likewise.
30835 * math/e_scalbf.c: Likewise.
30836 * math/e_scalbl.c: Likewise.
30837 * math/k_cosl.c: Likewise.
30838 * math/k_sinl.c: Likewise.
30839 * math/k_tanl.c: Likewise.
30840 * math/s_cacoshf.c: Likewise.
30841 * math/s_catan.c: Likewise.
30842 * math/s_catanf.c: Likewise.
30843 * math/s_catanh.c: Likewise.
30844 * math/s_catanhf.c: Likewise.
30845 * math/s_catanhl.c: Likewise.
30846 * math/s_catanl.c: Likewise.
30847 * math/s_ccosh.c: Likewise.
30848 * math/s_ccoshf.c: Likewise.
30849 * math/s_ccoshl.c: Likewise.
30850 * math/s_cexp.c: Likewise.
30851 * math/s_cexpf.c: Likewise.
30852 * math/s_cexpl.c: Likewise.
30853 * math/s_clog.c: Likewise.
30854 * math/s_clog10.c: Likewise.
30855 * math/s_clog10f.c: Likewise.
30856 * math/s_clog10l.c: Likewise.
30857 * math/s_clogf.c: Likewise.
30858 * math/s_clogl.c: Likewise.
30859 * math/s_csin.c: Likewise.
30860 * math/s_csinf.c: Likewise.
30861 * math/s_csinh.c: Likewise.
30862 * math/s_csinhf.c: Likewise.
30863 * math/s_csinhl.c: Likewise.
30864 * math/s_csinl.c: Likewise.
30865 * math/s_csqrt.c: Likewise.
30866 * math/s_csqrtf.c: Likewise.
30867 * math/s_csqrtl.c: Likewise.
30868 * math/s_ctan.c: Likewise.
30869 * math/s_ctanf.c: Likewise.
30870 * math/s_ctanh.c: Likewise.
30871 * math/s_ctanhf.c: Likewise.
30872 * math/s_ctanhl.c: Likewise.
30873 * math/s_ctanl.c: Likewise.
30874 * math/s_ldexp.c: Likewise.
30875 * math/s_ldexpf.c: Likewise.
30876 * math/s_ldexpl.c: Likewise.
30877 * math/s_significand.c: Likewise.
30878 * math/s_significandf.c: Likewise.
30879 * math/s_significandl.c: Likewise.
30880 * math/w_acos.c: Likewise.
30881 * math/w_acosf.c: Likewise.
30882 * math/w_acosh.c: Likewise.
30883 * math/w_acoshf.c: Likewise.
30884 * math/w_acoshl.c: Likewise.
30885 * math/w_acosl.c: Likewise.
30886 * math/w_asin.c: Likewise.
30887 * math/w_asinf.c: Likewise.
30888 * math/w_asinl.c: Likewise.
30889 * math/w_atan2.c: Likewise.
30890 * math/w_atan2f.c: Likewise.
30891 * math/w_atan2l.c: Likewise.
30892 * math/w_atanh.c: Likewise.
30893 * math/w_atanhf.c: Likewise.
30894 * math/w_atanhl.c: Likewise.
30895 * math/w_cosh.c: Likewise.
30896 * math/w_coshf.c: Likewise.
30897 * math/w_coshl.c: Likewise.
30898 * math/w_dremf.c: Likewise.
30899 * math/w_exp10.c: Likewise.
30900 * math/w_exp10f.c: Likewise.
30901 * math/w_exp10l.c: Likewise.
30902 * math/w_exp2.c: Likewise.
30903 * math/w_exp2f.c: Likewise.
30904 * math/w_fmod.c: Likewise.
30905 * math/w_fmodf.c: Likewise.
30906 * math/w_fmodl.c: Likewise.
30907 * math/w_hypot.c: Likewise.
30908 * math/w_hypotf.c: Likewise.
30909 * math/w_hypotl.c: Likewise.
30910 * math/w_j0.c: Likewise.
30911 * math/w_j0f.c: Likewise.
30912 * math/w_j0l.c: Likewise.
30913 * math/w_j1.c: Likewise.
30914 * math/w_j1f.c: Likewise.
30915 * math/w_j1l.c: Likewise.
30916 * math/w_jn.c: Likewise.
30917 * math/w_jnf.c: Likewise.
30918 * math/w_jnl.c: Likewise.
30919 * math/w_lgamma.c: Likewise.
30920 * math/w_lgamma_r.c: Likewise.
30921 * math/w_lgammaf.c: Likewise.
30922 * math/w_lgammaf_r.c: Likewise.
30923 * math/w_lgammal.c: Likewise.
30924 * math/w_lgammal_r.c: Likewise.
30925 * math/w_log.c: Likewise.
30926 * math/w_log10.c: Likewise.
30927 * math/w_log10f.c: Likewise.
30928 * math/w_log10l.c: Likewise.
30929 * math/w_log2.c: Likewise.
30930 * math/w_log2f.c: Likewise.
30931 * math/w_log2l.c: Likewise.
30932 * math/w_logf.c: Likewise.
30933 * math/w_logl.c: Likewise.
30934 * math/w_pow.c: Likewise.
30935 * math/w_powf.c: Likewise.
30936 * math/w_powl.c: Likewise.
30937 * math/w_remainder.c: Likewise.
30938 * math/w_remainderf.c: Likewise.
30939 * math/w_remainderl.c: Likewise.
30940 * math/w_scalb.c: Likewise.
30941 * math/w_scalbf.c: Likewise.
30942 * math/w_scalbl.c: Likewise.
30943 * math/w_sinh.c: Likewise.
30944 * math/w_sinhf.c: Likewise.
30945 * math/w_sinhl.c: Likewise.
30946 * math/w_sqrt.c: Likewise.
30947 * math/w_sqrtf.c: Likewise.
30948 * math/w_sqrtl.c: Likewise.
30949 * math/w_tgamma.c: Likewise.
30950 * math/w_tgammaf.c: Likewise.
30951 * math/w_tgammal.c: Likewise.
30952
6a621eb7
UD
30953 * po/ja.po: Update from translation team.
30954
bf582445
AJ
309552011-09-29 Andreas Jaeger <aj@suse.de>
30956
f9efbf3a
AJ
30957 [BZ #13179]
30958 * sunrpc/netname.c (netname2host): Fix logic.
30959
bf582445
AJ
30960 [BZ #6779]
30961 [BZ #6783]
30962 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30963 correctly.
30964 * math/w_remainder.c (__remainder): Likewise.
30965 * math/w_remainderf.c (__remainderf): Likewise.
30966 * math/libm-test.inc (remainder_test): Add test cases.
30967
48693bea
AK
309682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30969
30970 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30971 sdiv_qrnnd.
30972
42622229
LD
309732011-10-07 Ulrich Drepper <drepper@gmail.com>
30974
30975 * string/test-memcmp.c: Avoid unncessary #defines.
30976 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30977
093ecf92
LD
309782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30979
30980 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30981 Use new sse2 version for core i3 - i7 as it's faster
30982 than sse42 version.
30983 (bit_Prefer_PMINUB_for_stringop): New.
30984 * sysdeps/x86_64/rawmemchr.S: Update.
30985 Replace with faster SSE2 version.
30986 * sysdeps/x86_64/memrchr.S: New file.
30987 * sysdeps/x86_64/memchr.S: Update.
30988 Replace with faster SSE2 version.
30989
fde56e5c
MP
309902011-09-12 Marek Polacek <mpolacek@redhat.com>
30991
30992 * elf/dl-load.c (lose): Add cast to avoid warning.
30993
21fd49a9
UD
309942011-10-07 Ulrich Drepper <drepper@gmail.com>
30995
5a06e643
UD
30996 * po/ca.po: Update from translation team.
30997
684ae515
UD
30998 * inet/getnetgrent_r.c: Hook up nscd.
30999 * nscd/Makefile (routines): Add nscd_netgroup.
31000 (nscd-modules): Add netgroupcache.
31001 (CFLAGS-netgroupcache.c): Define.
31002 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31003 (cache_search): Add const to second parameter.
31004 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31005 INNETGR.
31006 (dbs): Add netgrdb entry.
31007 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31008 (verify_persistent_db): Handle netgrdb.
31009 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31010 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31011 GETFDNETGR.
31012 (netgroup_response_header): Define.
31013 (innetgroup_response_header): Define.
31014 (datahead): Add netgroup_response_header and innetgroup_response_header
31015 elements.
31016 * nscd/nscd.conf: Add entries for netgroup cache.
31017 * nscd/nscd.h (dbtype): Add netgrdb.
31018 (_PATH_NSCD_NETGROUP_DB): Define.
31019 (netgroup_iov_disabled): Declare.
31020 (xmalloc, xcalloc, xrealloc): Move declarations here.
31021 (cache_search): Adjust prototype.
31022 Add netgroup-related prototypes.
31023 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31024 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31025 (__nscd_innetgr): Declare.
31026 * nscd/selinux.c (perms): Use access_vector_t as element type and
31027 add netgroup-related initializers.
31028 * nscd/netgroupcache.c: New file.
31029 * nscd/nscd_netgroup.c: New file.
31030 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31031 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31032 For four parameters use innetgr.
31033 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31034 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31035 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31036 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31037
21fd49a9
UD
31038 * nscd/connections.c (register_traced_file): Don't register file
31039 for disabled databases.
31040
054c0457
UD
310412011-10-06 Ulrich Drepper <drepper@gmail.com>
31042
32b63198
UD
31043 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31044
054c0457
UD
31045 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31046 from tree and freeing node.
31047
64031225
JO
310482011-09-25 Jiri Olsa <jolsa@redhat.com>
31049
31050 * nss/nsswitch.c (__nss_database_lookup): Handle
31051 nss_parse_service_list out of memory case.
31052
0490345c
JO
310532011-09-15 Jiri Olsa <jolsa@redhat.com>
31054
31055 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31056 out of memory case.
31057
3a62d00d
AS
310582011-10-04 Andreas Schwab <schwab@redhat.com>
31059
31060 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31061 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31062 pass it down.
31063 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31064 elf_machine_rela, elf_machine_lazy_rel.
31065 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31066 (ELF_DYNAMIC_DO_REL): Likewise.
31067 (ELF_DYNAMIC_DO_RELA): Likewise.
31068 (ELF_DYNAMIC_RELOCATE): Likewise.
31069 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31070 to ELF_DYNAMIC_DO_REL.
31071 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31072 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31073 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31074 elf_machine_rela.
31075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31076 skip_ifunc, don't call ifunc function if non-zero.
31077 (elf_machine_rela): Likewise.
31078 (elf_machine_lazy_rel): Likewise.
31079 (elf_machine_lazy_rela): Likewise.
31080 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31081 (elf_machine_lazy_rel): Likewise.
31082 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31083 Likewise.
31084 (elf_machine_lazy_rel): Likewise.
31085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31086 Likewise.
31087 (elf_machine_lazy_rel): Likewise.
31088 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31089 (elf_machine_lazy_rel): Likewise.
31090 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31091 (elf_machine_lazy_rel): Likewise.
31092 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31093 (elf_machine_lazy_rel): Likewise.
31094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31095 (elf_machine_lazy_rel): Likewise.
31096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31097 (elf_machine_lazy_rel): Likewise.
31098 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31099 (elf_machine_lazy_rel): Likewise.
31100
68577918
UD
311012011-09-28 Ulrich Drepper <drepper@gmail.com>
31102
31103 * nss/nss_files/files-init.c (_nss_files_init): Use static
31104 initialization for all the *_traced_file variables.
31105
68822d74
AS
311062011-09-28 Andreas Schwab <schwab@redhat.com>
31107
31108 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31109
2056100b
RM
311102011-09-27 Roland McGrath <roland@hack.frob.com>
31111
31112 [BZ #13226]
31113 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31114
32c76b63
AS
311152011-09-27 Andreas Schwab <schwab@redhat.com>
31116
31117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31118 Reread the line before reparsing it.
31119
bf972c9d
AS
311202011-09-26 Andreas Schwab <schwab@redhat.com>
31121
31122 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31123
e057a1b5
JM
311242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31125 Maxim Kuvyrkov <maxim@codesourcery.com>
31126 Joseph Myers <joseph@codesourcery.com>
31127
31128 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31129 if needed for __stack_chk_guard.
31130
bc7e1c36
RM
311312011-09-19 Roland McGrath <roland@hack.frob.com>
31132
ecb1482f
RM
31133 * sysdeps/posix/spawni.c (script_execute): Always define it.
31134 It will be optimized away if unused.
31135 (maybe_script_execute): New function.
31136 (__spawni): Call it.
31137
bc7e1c36
RM
31138 * Makerules: Don't include tls.make.
31139 (config-tls): Always set to thread.
31140 * tls.make.c: File removed.
31141
1c3b002b
MF
311422011-09-19 Mike Frysinger <vapier@gentoo.org>
31143
31144 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31145 * config.make.in (CPPFLAGS-config): New substituted variable.
31146
2840865d
UD
311472011-09-15 Ulrich Drepper <drepper@gmail.com>
31148
88738eb6
UD
31149 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31150
cbf645a6 31151 [BZ #13192]
2840865d
UD
31152 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31153 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31154
b402e91a
RM
311552011-09-15 Roland McGrath <roland@hack.frob.com>
31156
31157 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31158 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31159 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31160 (CALL_FAIL): Likewise.
31161 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31162 (CALL_FAIL): Macro removed.
31163 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31164
4c1a1f71
UD
311652011-09-15 Ulrich Drepper <drepper@gmail.com>
31166
31167 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31168 for __FINITE_MATH_ONLY__ == 1.
31169
edc121be
AS
311702011-09-15 Andreas Schwab <schwab@redhat.com>
31171
31172 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31173 __ieee754_sqrt instead of sqrt.
31174 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31175 __ieee754_sqrtf instead of sqrtf.
31176 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31177 __floorf instead of floorf.
31178 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31179 __floorf, __truncf instead of floorf, truncf.
31180
cd205654
UD
311812011-09-14 Ulrich Drepper <drepper@gmail.com>
31182
ee4d0315
UD
31183 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31184
cd205654
UD
31185 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31186 __extern_always_inline.
31187 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31188 32-bit.
31189
48b67d71
AS
311902011-09-14 Andreas Schwab <schwab@redhat.com>
31191
31192 * elf/rtld.c (dl_main): Also relocate in dependency order when
31193 doing symbol dependency testing.
31194
1ae12c75
AS
311952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31196
31197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31198 Always define `refsym'.
31199
995a80df
AS
312002011-09-13 Andreas Schwab <schwab@redhat.com>
31201
e529793b
AS
31202 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31203 (__FD_ELT): Renamed from __FDELT.
31204 * misc/bits/select2.h (__FD_ELT): Likewise.
31205 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31206 __FD_MASK instead of __FDELT, __FDMASK.
31207 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31208 Likewise.
31209 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31210 Likewise.
31211
52d4fef8
AS
31212 * elf/Makefile (gen-ldd): Fix pattern.
31213
995a80df
AS
31214 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31215 (init_tls): Likewise.
31216
8682f8b0
UD
312172011-09-12 Ulrich Drepper <drepper@gmail.com>
31218
31219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31220
de82006d
AS
312212011-09-12 Andreas Schwab <schwab@redhat.com>
31222
a7c8e6a1
AS
31223 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31224 `struct cmsghdr *' instead of `void *'.
31225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31226 Likewise.
31227
0f31fe77
AS
312282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31229
31230 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31231 if non-absolute.
31232 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31233 ldd_rewrite_script.
0f31fe77 31234
32b4c839
UD
312352011-09-11 Ulrich Drepper <drepper@gmail.com>
31236
83cd1420
UD
31237 * configure.in: Remove --with-tls option.
31238 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31239 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31240 out in case it is missing.
31241 * sysdeps/ia64/elf/configure.in: Likewise.
31242 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31243 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31244 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31245 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31246 * sysdeps/sh/elf/configure.in: Likewise.
31247 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31248 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31249 * sysdeps/x86_64/elf/configure.in: Likewise.
31250 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31251 * sysdeps/mach/hurd/tls.h: Likewise.
31252
633f745d
UD
31253 [BZ #13067]
31254 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31255
f318beb8
UD
31256 [BZ #13090]
31257 * configure.in: Fix use of AC_INIT.
31258
32b4c839
UD
31259 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31260
3ce1f295
UD
312612011-09-10 Ulrich Drepper <drepper@gmail.com>
31262
bb016596
UD
31263 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31264 __set_errno.
8e58439c
UD
31265 * malloc/hooks.c: Likewise.
31266
aebae053 31267 [BZ #11929]
02d46fc4
UD
31268 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31269 variables statically.
31270 (narenas): Initialize.
31271 (list_lock): Initialize.
bb016596
UD
31272 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31273 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31274 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31275 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31276 Add initializers to main_arena and mp_.
31277 (malloc_state): Remove pagesize member. Change all users to use
31278 GLRO(dl_pagesize).
31279
31280 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31281 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31282 is always initialized.
31283
22a89187
UD
31284 * malloc/malloc.c: Removed unused configurations and dead code.
31285 * malloc/arena.c: Likewise.
31286 * malloc/hooks.c: Likewise.
02d46fc4 31287 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31288
d063d164
UD
31289 * include/tls.h: Removed. USE___THREAD must always be defined.
31290 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31291 * elf/dl-libc.c: Likewise.
31292 * elf/dl-tsd.c: Likewise.
31293 * include/errno.h: Likewise.
31294 * include/netdb.h: Likewise.
31295 * include/resolv.h: Likewise.
31296 * inet/herrno-loc.c: Likewise.
31297 * inet/herrno.c: Likewise.
31298 * malloc/arena.c: Likewise.
31299 * malloc/hooks.c: Likewise.
31300 * malloc/malloc.c: Likewise.
31301 * resolv/res-state.c: Likewise.
31302 * resolv/res_libc.c: Likewise.
31303 * sysdeps/i386/dl-machine.h: Likewise.
31304 * sysdeps/ia64/dl-machine.h: Likewise.
31305 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31306 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31307 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31308 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31309 * sysdeps/sh/dl-machine.h: Likewise.
31310 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31311 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31312 * sysdeps/unix/i386/sysdep.S: Likewise.
31313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31314 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31319 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31323 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31324 * sysdeps/x86_64/dl-machine.h: Likewise.
31325 * tls.make.c: Likewise.
31326
3ce1f295
UD
31327 * configure.in: Remove --with-__thread option. Make tests for
31328 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31329 tls_model attribute fail if no support is available. Remove
31330 USE_IN_LIBIO.
31331 * Makeconfig: Adjust for dropped configure option. All features are
31332 now mandatory.
31333 * Makerules: Likewise.
31334 * Versions.def: Likewise.
31335 * argp/argp-fmtstream.c: Likewise.
31336 * argp/argp-fmtstream.h: Likewise.
31337 * argp/argp-help.c: Likewise.
31338 * assert/assert.c: Likewise.
31339 * config.h.in: Likewise.
31340 * config.make.in: Likewise.
31341 * configure: Likewise.
31342 * configure.in: Likewise.
31343 * csu/Versions: Likewise.
31344 * csu/init.c: Likewise.
31345 * elf/tst-audit2.c: Likewise.
31346 * elf/tst-tls10.c: Likewise.
31347 * elf/tst-tls10.h: Likewise.
31348 * elf/tst-tls11.c: Likewise.
31349 * elf/tst-tls12.c: Likewise.
31350 * elf/tst-tls14.c: Likewise.
31351 * elf/tst-tlsmod11.c: Likewise.
31352 * elf/tst-tlsmod12.c: Likewise.
31353 * elf/tst-tlsmod13.c: Likewise.
31354 * elf/tst-tlsmod13a.c: Likewise.
31355 * elf/tst-tlsmod14a.c: Likewise.
31356 * elf/tst-tlsmod15b.c: Likewise.
31357 * elf/tst-tlsmod16a.c: Likewise.
31358 * elf/tst-tlsmod16b.c: Likewise.
31359 * elf/tst-tlsmod7.c: Likewise.
31360 * elf/tst-tlsmod8.c: Likewise.
31361 * elf/tst-tlsmod9.c: Likewise.
31362 * gmon/gmon.c: Likewise.
31363 * grp/fgetgrent_r.c: Likewise.
31364 * grp/putgrent.c: Likewise.
31365 * hurd/fopenport.c: Likewise.
31366 * include/libc-symbols.h: Likewise.
31367 * include/tls.h: Likewise.
31368 * intl/gettextP.h: Likewise.
31369 * intl/loadinfo.h: Likewise.
31370 * locale/global-locale.c: Likewise.
31371 * locale/localeinfo.h: Likewise.
31372 * mach/devstream.c: Likewise.
31373 * malloc/arena.c: Likewise.
31374 * malloc/set-freeres.c: Likewise.
31375 * misc/err.c: Likewise.
31376 * misc/getttyent.c: Likewise.
31377 * misc/mntent_r.c: Likewise.
31378 * posix/getopt.c: Likewise.
31379 * posix/wordexp.c: Likewise.
31380 * pwd/fgetpwent_r.c: Likewise.
31381 * resolv/Versions: Likewise.
31382 * resolv/res_hconf.c: Likewise.
31383 * shadow/fgetspent_r.c: Likewise.
31384 * shadow/putspent.c: Likewise.
31385 * stdio-common/printf_fphex.c: Likewise.
31386 * stdio-common/tmpfile.c: Likewise.
31387 * stdlib/abort.c: Likewise.
31388 * stdlib/fmtmsg.c: Likewise.
31389 * sunrpc/auth_unix.c: Likewise.
31390 * sunrpc/clnt_perr.c: Likewise.
31391 * sunrpc/clnt_tcp.c: Likewise.
31392 * sunrpc/clnt_udp.c: Likewise.
31393 * sunrpc/clnt_unix.c: Likewise.
31394 * sunrpc/openchild.c: Likewise.
31395 * sunrpc/svc_simple.c: Likewise.
31396 * sunrpc/svc_tcp.c: Likewise.
31397 * sunrpc/svc_udp.c: Likewise.
31398 * sunrpc/svc_unix.c: Likewise.
31399 * sunrpc/xdr.c: Likewise.
31400 * sunrpc/xdr_array.c: Likewise.
31401 * sunrpc/xdr_rec.c: Likewise.
31402 * sunrpc/xdr_ref.c: Likewise.
31403 * sunrpc/xdr_stdio.c: Likewise.
31404
1248c1c4
PB
314052011-09-09 Ulrich Drepper <drepper@gmail.com>
31406
31407 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31408
314092011-07-03 Andreas Jaeger <aj@suse.de>
31410
31411 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31412 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31413 regenerate with gen-libm-tests.pl.
31414
314152010-05-12 Petr Baudis <pasky@suse.cz>
31416
31417 [BZ #11589]
31418 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31419 around j0() zero points by switching to j1().
31420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31423 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31424
f22e1074
UD
314252011-09-09 Ulrich Drepper <drepper@gmail.com>
31426
f19009c1
UD
31427 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31428 instead of 0.
31429 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31430 instead of 0.
f19009c1
UD
31431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31432 Patch in part by Pavel Roskin <proski@gnu.org>.
31433
3f8cc204
UD
31434 [BZ #13138]
31435 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31436 realloc.
31437 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31438 Free memory block if necessary.
31439
f22e1074
UD
31440 [BZ #12847]
31441 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31442 be NULL. Don't lock in this case.
31443
0a2349f9
RM
314442011-09-09 Roland McGrath <roland@hack.frob.com>
31445
31446 * elf/elf.h (ELFOSABI_GNU): New macro.
31447 (ELFOSABI_LINUX): Define to that.
31448
f3cdd467
DZ
314492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31450
31451 * string/strncat.c (strncat): Undef the symbol in case it has been
31452 defined in bits/string.h.
31453
74718d13
UD
314542011-09-09 Ulrich Drepper <drepper@gmail.com>
31455
633e9e0f
UD
31456 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31457
0a2349f9 31458 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31459 link map.
31460
f9924780
AJ
314612011-08-17 Andreas Jaeger <aj@suse.de>
31462
31463 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31464
7f5517aa
PP
314652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31466 Ian Lance Taylor <iant@google.com>
31467
31468 * math/libm-test.inc (lround_test): New testcase.
31469 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31470
762011fe
UD
314712011-09-08 Ulrich Drepper <drepper@gmail.com>
31472
92963737
UD
31473 * Makefile: Remove support for automatic cvs check-ins.
31474 * Makerules: Likewise.
31475 * config.make.in: Likewise.
31476 * configure.in: Likewise.
31477 * intl/Makefile: Likewise.
31478 * locale/Makefile: Likewise.
31479 * po/Makefile: Likewise.
31480 * posix/Makefile: Likewise.
31481 * sysdeps/gnu/Makefile: Likewise.
31482 * sysdeps/mach/hurd/Makefile: Likewise.
31483 * sysdeps/sparc/sparc32/Makefile: Likewise.
31484
b0727fd8
JS
31485 [BZ #13118]
31486 * posix/Makefile (bug-regex32-ENV): Define.
31487 Patch by John Stanley <jpsinthemix@verizon.net>.
31488
a0f33f99
UD
31489 * misc/Makefile (headers): Add bits/select2.h.
31490 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31491 * misc/bits/select2.h: New file.
31492 * include/bits/select2.h: New file.
31493 * debug/Makefile (routines): Add fdelt_chk.
31494 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31495 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31496 FD_ISSET.
31497 * debug/fdelt_chk.c: New file.
31498
762011fe
UD
31499 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31500 * wcsmbs/test-wmemcmp.c: Likewise.
31501 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31502 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31503
315042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31505
31506 * string/Makefile (strop-tests): Add memcmp.
31507 * string/test-wmemcmp.c: New file.
31508 * string/test-memcmp.c: Add wmemcmp support.
31509
7f513ec8
RM
315102011-09-08 Roland McGrath <roland@hack.frob.com>
31511
0442afb4
RM
31512 [BZ #13153]
31513 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31514 2011-07-19 change.
31515
7f513ec8
RM
31516 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31517 garbage value in a __mach_port_mod_refs call in the cases of the
31518 task-self and thread-self ports.
31519
a12b2239
ST
315202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31521
31522 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31523
610f9ab4
AS
315242011-09-08 Andreas Schwab <schwab@redhat.com>
31525
7f513ec8 31526 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31527
48882a1a
LD
315282011-09-07 Ulrich Drepper <drepper@gmail.com>
31529
b49865be
UD
31530 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31531
fdc86bc9
UD
31532 * elf/dl-libc.c (dlerror_run): Pass back error code from
31533 dl_catch_error.
31534
c966526a
UD
31535 [BZ #13123]
31536 * elf/dl-load.c (lose): Free l_origin if it is valid.
31537
48882a1a
LD
31538 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31539 names.
31540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31541 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31542 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31543 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31544 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31545 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31546
77a2a8b4
AZ
315472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31548
31549 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31550 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31551 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31552 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31553 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31554 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31555 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31556 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31557 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31558 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31559
24f579d8
AM
315602011-08-15 Alan Modra <amodra@gmail.com>
31561
31562 [BZ #13092]
31563 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31564 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31565 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31566 ppc_mcount to static-only-routines.
31567 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31568 __mcount_internal.
31569 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31570 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31571
3d4837df
UD
315722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31573
31574 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31575 for finite and infinity parameters.
31576
22700377
WS
315772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31578
31579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31580 and add nop instructions for throughput optimization.
31581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31582
5025581e
WS
315832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31584
31585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31586 aligned copy for power7 with vector-scalar instructions.
31587 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31588
08a300c9
L
315892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31590
31591 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31592 AVX check.
31593
59178ef9
AS
315942011-09-07 Andreas Schwab <schwab@redhat.com>
31595
31596 [BZ #13144]
31597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31598 last change.
31599
e38ba7ab
UD
316002011-09-07 Ulrich Drepper <drepper@gmail.com>
31601
31602 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31603 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31604 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31605 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31606 clock_gettime.
31607
d53a73ac
UD
316082011-09-06 Ulrich Drepper <drepper@gmail.com>
31609
fc8bffcc
UD
31610 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31611 Forgot to demangle the pointer.
31612
ceaa0c5d
UD
31613 * sysdeps/i386/sysdep.h: Define atom_text_section.
31614 * sysdeps/x86_64/sysdep.h: Likewise.
31615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31616 section with atom_text_section.
31617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31619 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31620 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31621 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31622
a77d3c17
UD
31623 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31625 already be defined. Change to take two parameters and don't assign
31626 result to variable. Adjust all users.
31627 Define INTERNAL_GETTIME if not already defined.
31628 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31629 call.
31630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31631 HAVE_CLOCK_GETTIME_VSYSCALL.
31632 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31633
d53a73ac
UD
31634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31635 gettimeofday vsyscall, just use time.
31636
a8f84144
AS
316372011-09-06 Andreas Schwab <schwab@redhat.com>
31638
31639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31640 <errno.h>.
31641
ef606249
UD
316422011-09-06 Ulrich Drepper <drepper@gmail.com>
31643
31644 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31645 syscall on x86-64.
31646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31647 syscall.
31648 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31649 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31650 syscall if possible.
31651
6585cb60
UD
316522011-09-05 Ulrich Drepper <drepper@gmail.com>
31653
31654 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31655 e_ident. Don't pass to find_mapsXX.
31656 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31657
a5f524e4
LD
316582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31659
31660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31661 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31662 * sysdeps/x86_64/multiarch/strchr.S: Update.
31663 Check bit_slow_BSF bit.
31664 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31665 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31666 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31667
554881ef
UD
316682011-09-05 Ulrich Drepper <drepper@gmail.com>
31669
d96de963
UD
31670 [BZ #13134]
31671 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31672 before glibc 2.15.
31673 (tryshell): Define.
31674 (__spawni): Change last parameter to be flag. Test
31675 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31676 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31677 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31678 * posix/spawni.c: Likewise.
31679 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31680 * posix/spawnp.c: Likewise. Change normal version to use
31681 SPAWN_XFLAGS_USE_PATH.
31682 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31683 SPAWN_XFLAGS_TRY_SHELL.
31684
d48e5868
UD
31685 [BZ #13150]
31686 * posix/glob.h: Remove gcc 1.x support.
31687
554881ef
UD
31688 [BZ #13068]
31689 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31690
693fb948
LD
316912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31692
31693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31694 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31695 strrchr-sse2-bsf
31696 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31697 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31698 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31699 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31700 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31701 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31702
1b48c537
UD
317032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31704
49d42c37
UD
31705 * sysdeps/x86_64/wcscmp.S: New file.
31706
1b48c537
UD
31707 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31708 wcscmp-c wcscmp-sse2
31709 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31710 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31711 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31712 * wcsmbs/wcscmp.c: Allow renaming.
31713
15c95c5d
DM
317142011-09-05 David S. Miller <davem@davemloft.net>
31715
31716 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31717 stack slot, rather than the struct return pointer slot.
31718 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31719 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31721 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31722
2f0ad8f3
UD
317232011-09-05 Ulrich Drepper <drepper@gmail.com>
31724
d88ae418
UD
31725 * po/ja.po: Update from translation team.
31726
2f0ad8f3
UD
31727 [BZ #13144]
31728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31729 kernel in 64-bit binaries.
31730
5f4318d1
DM
317312011-09-01 David S. Miller <davem@davemloft.net>
31732
31733 * elf/elf.h (HWCAP_SPARC_*): Move to..
31734 * sysdeps/sparc/sysdep.h: this new file and add new values.
31735 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31736 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31737 _DL_HWCAP_COUNT to 24.
31738 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31739 entries.
31740 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31741 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31742 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31744 instead of magic constants.
31745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31746
3ba57516
DM
317472011-08-31 David S. Miller <davem@davemloft.net>
31748
31749 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31751 Reimplement to do errno handling inline.
31752 (SYSCALL_ERROR_HANDLER): New macro.
31753 (__SYSCALL_STRING): Do not do errno handling in asm.
31754 (__CLONE_SYSCALL_STRING): Delete.
31755 (__INTERNAL_SYSCALL_STRING): Delete.
31756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31757 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31758 (PSEUDO): Reimplement to do errno handling inline.
31759 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31760 (SYSCALL_ERROR_HANDLER): New macro.
31761 (__SYSCALL_STRING): Do not do errno handling in asm.
31762 (__CLONE_SYSCALL_STRING): Delete.
31763 (__INTERNAL_SYSCALL_STRING): Delete.
31764 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31765 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31766 i386.
31767 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31768 (inline_syscall*): Add 'err' argument.
31769 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31770 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31771 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31772 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31773
31774 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31775 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31776
2bc17433
AS
317772011-08-30 Andreas Schwab <schwab@redhat.com>
31778
31779 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31780
fbeb5f4d
JO
317812011-08-29 Jiri Olsa <jolsa@redhat.com>
31782
31783 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31784 directive.
31785
ad69cc26
DM
317862011-08-24 David S. Miller <davem@davemloft.net>
31787
31788 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31789
39dd69df
AS
317902011-08-24 Andreas Schwab <schwab@redhat.com>
31791
31792 * elf/Makefile: Add rules to build and run unload8 test.
31793 * elf/unload8.c: New file.
31794 * elf/unload8mod1.c: New file.
31795 * elf/unload8mod1x.c: New file.
31796 * elf/unload8mod2.c: New file.
31797 * elf/unload8mod3.c: New file.
31798
31799 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31800 it wasn't used.
31801
2c0b250a
DM
318022011-08-23 David S. Miller <davem@davemloft.net>
31803
31804 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31805 subtract stack bias.
31806 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31807 %sp not %fp in calculations.
31808 (_JMPBUF_UNWINDS_ADJ): Likewise.
31809
22044b48
DM
31810 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31811 (aio_suspend): Call it to force an exception region around the
31812 AIO_MISC_WAIT() invocation.
31813
2cae4995
AS
318142011-08-23 Andreas Schwab <schwab@redhat.com>
31815
31816 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31817 backslash.
31818
873a772e
AJ
318192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31820
31821 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31822 protection macro.
31823 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31824 and <dl-machine.h>.
31825 (Elf64_FuncDesc): Remove.
31826
25ad0df1
DM
318272011-08-22 David S. Miller <davem@davemloft.net>
31828
31829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31830 sigaltstack check, add missing cfi directives.
31831 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31832 missing cfi directives, and sigaltstack handling.
31833
e888bcbe
AS
318342011-08-16 Andreas Schwab <schwab@redhat.com>
31835
31836 [BZ #11724]
31837 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31838 object is seen twice.
31839 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31840
31841 * elf/Makefile (distribute): Add tst-initorder2.c.
31842 (tests): Add tst-initorder2.
31843 (modules-names): Add tst-initorder2a tst-initorder2b
31844 tst-initorder2c tst-initorder2d. Add rules to build them.
31845 ($(objpfx)tst-initorder2.out): New rule.
31846 * elf/tst-initorder2.c: New file.
31847 * elf/tst-initorder2.exp: New file.
31848
87162f46
AS
318492011-08-22 Andreas Schwab <schwab@redhat.com>
31850
70538b7f
AS
31851 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31852
f55ffe58
AS
31853 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31854 dependencies back to end of function.
31855
87162f46
AS
31856 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31857 $(elfobjdir)/ld.so.
31858
91b392a4
UD
318592011-08-21 Ulrich Drepper <drepper@gmail.com>
31860
31861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31862 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31863 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31864 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31865 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31866 of __vdso_gettimeofday.
31867 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31868 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31869 attribute_hidden.
31870 (_libc_vdso_platform_setup): Remove initialization of
31871 __vdso_gettimeofday and __vdso_time.
31872
5c43483f
UD
318732011-08-20 Ulrich Drepper <drepper@gmail.com>
31874
775a77e7
UD
31875 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31876 and fgetc_unlocked.
31877 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31878 getc_unlocked.
89f447ed 31879
49c74ba9
UD
31880 * elf/dl-open.c (add_to_global): Report additions to the global scope
31881 for LD_DEBUG=scopes.
31882 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31883 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31884
5c43483f
UD
31885 [BZ #13114]
31886 * stdio-common/Makefile (tests): Add bug24.
31887 * stdio-common/bug24.c: New file.
31888
a101b025
AJ
318892011-08-19 Andreas Jaeger <aj@suse.de>
31890
31891 [BZ #13114]
31892 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31893 non-existant file when using close-on-exec mode.
31894
c88f1766
UD
318952011-08-20 Ulrich Drepper <drepper@gmail.com>
31896
0276a718
UD
31897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31898 the very first instruction.
31899
c88f1766
UD
31900 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31901 the CFI state in the end.
31902 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31903 inclusion of dl-trampoline.h.
31904 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31905
51ccffa0
AS
319062011-08-19 Andreas Schwab <schwab@redhat.com>
31907
94d7165f
AS
31908 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31909 expectations for long double.
31910
51ccffa0
AS
31911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31912 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31913
fd708658 319142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31915
31916 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31917 artificual limit depends upon the system page size.
31918
44f0a71e
UD
319192011-08-17 Ulrich Drepper <drepper@gmail.com>
31920
31921 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31922 * resolv/Makefile: Define CFLAGS-libresolv.
31923
8de79a24
AS
319242011-08-17 Andreas Schwab <schwab@redhat.com>
31925
31926 * nss/makedb.c (compute_tables): Make variables used in nested
31927 function static.
31928
27724598
UD
319292011-08-17 Ulrich Drepper <drepper@gmail.com>
31930
c5305d88
UD
31931 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31932 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31933 if buffer was too small.
31934
27724598
UD
31935 * elf/pldd.c (main): Attach to all threads in the process.
31936 Rewrite /proc handling to use *at functions.
31937
076fe015
UD
319382011-08-16 Ulrich Drepper <drepper@gmail.com>
31939
174baab3
UD
31940 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31941 specifies first scope to show.
31942 (dl_open_worker): Update callers. Move printing scope of new
31943 object to before the relocation.
44f0a71e 31944 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31945 * sysdeps/generic/ldsodefs.h: Update declaration.
31946
076fe015
UD
31947 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31948 string for the scope number.
31949
a60df2c3
UD
319502011-08-14 Ulrich Drepper <drepper@gmail.com>
31951
31952 * nscd/servicescache.c (cache_addserv): Make sure written is always
31953 initialized.
31954
5e4287d1
RM
319552011-08-14 Roland McGrath <roland@hack.frob.com>
31956
85ae0589
RM
31957 * sysdeps/i386/i486/bits/atomic.h
31958 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31959 statement expression, so as to suppress "set but not used" warning.
31960 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31961
69f63097
RM
31962 * string/strncat.c (STRNCAT): Use prototype definition.
31963
675456ef
RM
31964 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31965 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31966 -Iprograms here.
31967 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31968 (localedef-modules): Add localedef.
31969 (locale-modules): Add locale.
31970
5e4287d1
RM
31971 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31972 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31973 to avoid a warning.
31974
9c96ff23
DM
319752011-08-14 David S. Miller <davem@davemloft.net>
31976
31977 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31978 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31979
f9ddf089
UD
319802011-08-13 Ulrich Drepper <drepper@gmail.com>
31981
44f0a71e 31982 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31983 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31984 * elf/rtld.c (dl_main): Set l_name of vDSO.
31985 Call _dl_show_scope when DL_DEBUG_SCOPES.
31986 (process_dl_debug): Recognize scopes flag and also set it for all.
31987 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31988 Declare _dl_show_scope.
31989
1dc27704
UD
31990 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31991 (do_dlopen): Pass caller_dlopen to dl_open.
31992 (__libc_dlopen_mode): Initialize caller_dlopen.
31993
f9ddf089
UD
31994 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31995 of libc. Make tolower call locale-independent. Optimize a bit by
31996 using isdigit instead of isalnum.
31997 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31998
9ac533d3
UD
319992011-08-12 Ulrich Drepper <drepper@gmail.com>
32000
32001 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32002 was a dependency or dynamically loaded.
32003
89edf2e9
UD
320042011-08-11 Ulrich Drepper <drepper@gmail.com>
32005
8e999d29
UD
32006 * intl/l10nflist.c: Allow architecture-specific pop function.
32007 * sysdeps/x86_64/l10nflist.c: New file.
32008
89edf2e9
UD
32009 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32010 classification.
32011
14d96785
AS
320122011-08-10 Andreas Schwab <schwab@redhat.com>
32013
32014 * include/dirent.h: Add libc_hidden_proto for scandirat and
32015 scandirat64. Don't declare __scandirat64.
32016 * dirent/scandirat.c: Add libc_hidden_def.
32017 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32018 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32019
6761ac04
DM
320202011-08-10 David S. Miller <davem@davemloft.net>
32021
32022 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32023 enum.
32024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32025 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32026 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32027
c55fbd1e
UD
320282011-08-09 Ulrich Drepper <drepper@gmail.com>
32029
32030 * Versions.def [libc]: Add GLIBC_2.15.
32031 * dirent/Makefile (routines): Add scandirat and scandirat64.
32032 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32033 GLIBC_2.15.
32034 * dirent/dirent.h: Declare scandirat and scandirat64.
32035 * dirent/scandirat.c: New file.
32036 * dirent/scandirat64.c: New file.
32037 * sysdeps/wordsize-64/scandirat.c: New file.
32038 * sysdeps/wordsize-64/scandirat64.c: New file.
32039 * dirent/opendir.c: Define opendirat.
32040 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32041 using scandirat.
32042 * dirent/scandir64.c: Adjust for scandir.c change.
32043 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32044 __scandirat64, and __scandir_cancel_handler.
32045 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32046 additional parameter and use openat instead of open (outside of ld.so).
32047 Add new __opendir as wrapper around __opendirat.
32048 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32049 here without requiring old scandirat implementation.
32050
879165f2
UD
320512011-08-08 Ulrich Drepper <drepper@gmail.com>
32052
32053 * dirent/scandir.c (cancel_handler): Renamed to
32054 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32055 defined. Adjust users.
32056 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32057 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32058
cb7e923b
UD
320592011-08-04 Ulrich Drepper <drepper@gmail.com>
32060
16292edd
UD
32061 * string/test-string.h (IMPL): Use __STRING to expand name and then
32062 stringify it.
32063
cb7e923b
UD
32064 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32065 of cleanups.
32066
cff82933
LD
320672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32068
32069 * string/Makefile: Update.
32070 (strop-tests): Append strncat.
32071 * string/test-wcscmp.c: New file.
32072 New comprehensive test for wcscmp.
32073 * string/test-strcmp.c: Update.
32074 (WIDE): New define.
32075
9be9bfcc
AS
320762011-07-22 Andreas Schwab <schwab@redhat.com>
32077
32078 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32079 line.
32080
2e96f1c7
AS
320812011-07-26 Andreas Schwab <schwab@redhat.com>
32082
32083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32084 encoding to ACE if AI_IDN.
32085
85188888
JJ
320862011-08-01 Jakub Jelinek <jakub@redhat.com>
32087
32088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32089 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32090
5fa16e9b
LD
320912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32092
32093 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32094 Fix overflow bug in strncat.
32095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32096
32097 * string/test-strncat.c: Update.
32098 Add new tests for checking overflow bugs.
32099
321002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32101
32102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32103 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32104 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32105 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32107 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32108 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32109 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32110 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32111
32112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32113 (USE_AS_STRCAT): Define.
32114 Add strcat and strncat support.
32115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32116
8c1a459f
AS
321172011-07-25 Andreas Schwab <schwab@redhat.com>
32118
32119 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32120 __n bigger than INT_MAX+1.
32121 (__strncmp_g): Likewise.
32122
bba33c28
UD
321232011-07-23 Ulrich Drepper <drepper@gmail.com>
32124
798be72d
UD
32125 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32126 * libio/stido.h: Likewise.
32127
8accd4dc
UD
32128 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32129 (AF_NFC): Define.
32130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32131 (AF_NFC): Define.
32132
cbff0d96
UD
32133 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32136 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32138
9191c04a
UD
32139 [BZ #13021]
32140 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32141 installed.
32142
bba33c28
UD
32143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32144 typo.
32145 (_dl_x86_64_save_sse): Likewise.
32146
90f139dd
UD
321472011-07-22 Ulrich Drepper <drepper@gmail.com>
32148
1aae088a
UD
32149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32150 OSXSAVE.
32151 (_dl_x86_64_save_sse): Likewise.
32152
8e2045f5
UD
32153 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32154
90f139dd
UD
32155 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32156
1d002f25
AS
321572011-07-21 Andreas Schwab <schwab@redhat.com>
32158
32159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32160 change.
32161 (_dl_x86_64_save_sse): Use correct AVX check.
32162
21137f89
UD
321632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32164
32165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32166 bug in strncpy/strncat.
32167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32168
a65c0b7a
UD
321692011-07-21 Ulrich Drepper <drepper@gmail.com>
32170
32171 * string/tester.c (test_strcat): Add tests for different alignments
32172 of source and destination.
32173 (test_strncat): Likewise.
32174
6986b98a
UD
321752011-07-20 Ulrich Drepper <drepper@gmail.com>
32176
90bb2039
UD
32177 [BZ #12852]
32178 * posix/glob.c (glob): Check passed in values before using them in
32179 expressions to avoid some overflows.
32180 (glob_in_dir): Likewise.
32181
5644ef54
UD
32182 [BZ #13007]
32183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32184 check for AVX enablement so that we don't crash with old kernels and
32185 new hardware.
32186 * elf/tst-audit4.c: Add same checks here.
32187 * elf/tst-audit6.c: Likewise.
32188
32189 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32190
bfc9dc9b
AS
321912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32192
32193 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32194
702e64bb
UD
321952011-07-20 Ulrich Drepper <drepper@gmail.com>
32196
32197 * po/cs.po: Update from translation team.
32198 * po/bg.po: Likewise.
32199
295e904f
MP
322002011-07-12 Marek Polacek <mpolacek@redhat.com>
32201
32202 * misc/sys/cdefs.h: Add support for const attribute.
32203 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32204 to gnu_dev_{major,minor,makedev} functions.
32205
3ff94596
MP
322062011-07-20 Marek Polacek <mpolacek@redhat.com>
32207
32208 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32209
28b59fca
AS
322102011-07-20 Andreas Schwab <schwab@redhat.com>
32211
32212 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32213 strlen results.
32214
19df733e
AK
322152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32216
32217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32218 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32219 register in order to avoid conflicts with the soft frame pointer
32220 being held in r11 when necessary.
32221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32222 (INTERNAL_VSYSCALL_NCS): Likewise.
32223
c8835729
MP
322242011-07-14 Marek Polacek <mpolacek@redhat.com>
32225
32226 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32227 * elf/dl-fini.c (_dl_fini): Adjust caller.
32228 * elf/dl-close.c (_dl_close_worker): Likewise.
32229 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32230
b902330c
MP
322312011-07-15 Marek Polacek <mpolacek@redhat.com>
32232
8991e135
MP
32233 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32234 "aux_cache->nlibs < 0".
32235
b902330c
MP
32236 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32237 in the reload-count case.
32238
99710781
LD
322392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32240
32241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32242 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32243 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32244 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32245 * sysdeps/x86_64/multiarch/strcat.S: New file.
32246 * sysdeps/x86_64/multiarch/strncat.S: New file.
32247 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32248 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32249 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32250 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32252 (USE_AS_STRCAT): Define.
32253 Add strcat and strncat support.
32254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32255 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32256 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32257 * string/strncat.c: Update.
32258 (USE_AS_STRNCAT): Define.
32259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32260 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32261 and i7.
32262 * sysdeps/x86_64/multiarch/init-arch.h
32263 (bit_Prefer_PMINUB_for_stringop): New.
32264 (index_Prefer_PMINUB_for_stringop): Likewise.
32265 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32266 bit_Prefer_PMINUB_for_stringop.
32267
7dc6bd90
UD
322682011-07-19 Ulrich Drepper <drepper@gmail.com>
32269
32270 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32271 buffer64.
32272 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32273 of casting of buffer.
32274 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32275 buffer32 and buffer64.
32276 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32277 writes instead of casting of buffer.
32278 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32279 buffer32.
32280 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32281 casting of buffer.
32282
e0e72284
AS
322832011-07-19 Andreas Schwab <schwab@redhat.com>
32284
32285 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32286
feb1eb0b
UD
322872011-07-19 Ulrich Drepper <drepper@gmail.com>
32288
32289 * nscd/nscd.c (termination_handler): Don't do anything for a database
32290 if it has not yet been initialized.
32291
298711ff
UD
322922011-07-18 Ulrich Drepper <drepper@gmail.com>
32293
32294 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32295
322962011-07-15 Marek Polacek <mpolacek@redhat.com>
32297
32298 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32299
f9d68389
UD
323002011-07-18 Ulrich Drepper <drepper@gmail.com>
32301
32302 * po/nl.po: Update from translation team.
32303 * po/sv.po: Likewise.
32304
db290cf5
RM
323052011-07-16 Roland McGrath <roland@hack.frob.com>
32306
32307 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32308 now disallowed by GCC.
5c550700 32309
fd5e21c7
RM
32310 * configure.in (use-default-link): Default to yes if a test -shared
32311 link meets our qualifications.
32312 * configure: Regenerated.
32313
5c550700
RM
32314 * config.make.in (output-format): New variable.
32315 * configure.in: Check for ld --print-output-format support.
32316 * configure: Regenerated.
32317 * Makerules ($(common-objpfx)format.lds)
32318 [$(output-format) != unknown]: Just use $(output-format),
32319 instead of the linker-script munging.
32320
9fa2c032
RM
323212011-07-14 Roland McGrath <roland@hack.frob.com>
32322
a6928d51
RM
32323 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32324 of $(common-objpfx)shlib.lds.
32325 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32326
661607b3
RM
32327 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32328 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32329
9fa2c032
RM
32330 * configure.in (-z relro check): Adjust test code to add a large
32331 writable data section after it.
32332 * configure: Regenerated.
32333
defe9061
RM
323342011-07-11 Roland McGrath <roland@hack.frob.com>
32335
32336 * configure.in (-z relro check): Fix test code to make the variable
32337 truly const.
32338 * configure: Regenerated.
32339
319b9ad4
UD
323402011-07-11 Ulrich Drepper <drepper@gmail.com>
32341
32342 * nscd/nscd.h (struct traced_file): Define.
32343 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32344 elements. Add traced_files.
32345 (inotify_fd): Declare.
32346 (register_traced_file): Declare.
32347 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32348 (inotify_fd): Export.
32349 (resolv_conf_descr): Remove.
32350 (nscd_init): Move inotify descriptor creation to main.
32351 Don't register files for notification here.
32352 (register_traced_file): New function.
32353 (invalidate_cache): Don't use reset_res to determine whether to call
32354 res_init, go through the list of registered files.
32355 (main_loop_poll): The inotify descriptors are now stored in the
32356 structures for the traced files.
32357 (main_loop_epoll): Likewise
32358 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32359 to __nss_disable_nscd.
32360 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32361 for a database anymore. Check the records for all the registered
32362 files instead.
32363 * nss/Makefile (libnss_files-routines): Add files-init.
32364 (libnss_db-routines): Add db-init.
32365 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32366 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32367 * nss/nss_db/db-init.c: New file.
32368 * nss/nss_files/files-init.c: New file.
32369 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32370 __nss_lookup_function.
32371 (__nss_lookup_function): Call nss_load_library.
32372 (nss_load_all_libraries): New function.
32373 (__nss_disable_nscd): Take parameter with callback function for files
32374 to register. Set is_nscd. Load all the DSOs for the NSS modules
32375 used for the cached services.
32376 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32377 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32378 options for features to all the files in nscd.
32379
32380 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32381
23bee3e8
RM
323822011-07-10 Roland McGrath <roland@hack.frob.com>
32383
32384 * csu/elf-init.c (__libc_csu_init): Comment typo.
32385
46a5b7f0
UD
323862011-07-09 Ulrich Drepper <drepper@gmail.com>
32387
32388 * po/pl.po: Update from translation team.
32389 * po/ja.po: Likewise.
32390 * po/ru.po: Likewise.
32391 * po/ko.po: Likewise.
32392 * po/fr.po: Likewise.
32393
d30cf5bb
RM
323942011-07-09 Roland McGrath <roland@hack.frob.com>
32395
113ddea4
RM
32396 * configure.in (.ctors/.dtors header and trailer check):
32397 Use an empirical test on a built program.
32398 * configure: Regenerated.
32399
574920b4
RM
32400 * configure.in (-z relro check): Use an empirical test on a built DSO.
32401 Detect, but do not require, on ia64.
32402 * configure: Regenerated.
32403
d30cf5bb
RM
32404 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32405 Update tests that use readelf to use $READELF instead.
32406 * configure: Regenerated.
32407
8538fdb3
UD
324082011-07-08 Ulrich Drepper <drepper@gmail.com>
32409
32410 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32411 if the result is not used.
32412
04d08991
AJ
324132011-07-05 Andreas Jaeger <aj@suse.de>
32414
32415 [BZ#9696]
32416 * stdlib/tst-strtod.c: Add testcase.
32417
de283087
AD
324182011-07-07 Ulrich Drepper <drepper@gmail.com>
32419
4e5f31c8 32420 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32421 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32422 The latter has a higher limit. Take additional parameter to pass to
32423 the new function.
32424 (__pathconf): Pass file to __statfs_link_max.
32425 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32426 __statfs_link_max.
32427 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32428 __statfs_link_max.
32429
de283087
AD
32430 [BZ #12868]
32431 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32433 Handle Lustre.
32434 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32435 (__statfs_filesize_max): Likewise.
32436 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32437
c75fa153
AJ
324382011-07-05 Andreas Jaeger <aj@suse.de>
32439
32440 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32441
1a544854
UD
324422011-07-06 Marek Polacek <mpolacek@redhat.com>
32443
32444 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32445 `status' variable.
32446 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32447 Likewise.
32448
6f0eec67
UD
324492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32450
32451 * Makefile (strop-tests): Add strncat.
32452 * string/test-strncat.c: New file.
32453
aae30307
UD
324542011-06-30 Marek Polacek <mpolacek@redhat.com>
32455
32456 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32457
c0cfb5eb
UD
324582011-06-21 Andreas Jaeger <aj@suse.de>
32459
32460 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32461 Copy rule from iconvdata/Makefile.
32462
01636b21
UD
324632011-07-06 Ulrich Drepper <drepper@gmail.com>
32464
32465 [BZ #12922]
32466 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32467 but no long options are defined, just return 'W'.
32468
9895c8bc
UD
324692011-06-22 Marek Polacek <mpolacek@redhat.com>
32470
32471 [BZ #9696]
32472 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32473
5d4cf042
UD
324742011-07-06 Ulrich Drepper <drepper@gmail.com>
32475
32476 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32477 netgroups to read.
960e5535 32478 (innetgr): Likewise.
5d4cf042 32479
751eb97e
RM
324802011-07-05 Roland McGrath <roland@hack.frob.com>
32481
32482 * config.make.in (install_root): Default to $(DESTDIR).
32483
f15f1e45
UD
324842011-07-05 Ulrich Drepper <drepper@gmail.com>
32485
32486 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32487
4e34ac6a
RM
324882011-07-02 Roland McGrath <roland@hack.frob.com>
32489
5e9b6af4
RM
32490 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32491
84f9ea0f
RM
32492 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32493 containing directory rather than embedding absolute directory names.
32494
ea5ee9f7
RM
32495 * scripts/check-local-headers.sh: Rewritten using awk.
32496 Match by word, not by line. Print error messages for matches.
32497 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32498
1b74661a
RM
32499 * Makerules [shlib-lds-flags empty]:
32500 ($(common-objpfx)libc_pic.opts): New target.
32501 ($(common-objpfx)libc_pic.os.clean): New target.
32502 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32503
32504 * config.make.in (OBJCOPY): New variable.
32505 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32506 * configure: Regenerated.
32507
f781ef40
RM
32508 * config.make.in (use-default-link): New variable.
32509 * configure.in (use_default_link): Grok --with-default-link to set it.
32510 * configure: Regenerated.
32511 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32512 (shlib-lds, shlib-lds-flags): Define to empty.
32513
2d4fa81e
RM
32514 * Makerules (shlib-lds): New variable.
32515 (shlib-lds-flags): New variable.
32516 (build-shlib, build-moduile, build-module-asneeded): Use it.
32517 ($(common-objpfx)libc.so): Use $(shlib-lds).
32518 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32519 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32520
31fffa6b
RM
32521 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32522 DT_FLAGS/DT_FLAGS_1 with zero flags.
32523
4e34ac6a
RM
32524 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32525 linker script munging.
32526
fcfc776b
UD
325272011-07-02 Ulrich Drepper <drepper@gmail.com>
32528
32529 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32530 as 128-bit value.
32531 * crypt/sha512.c (sha512_process_block): Perform total addition using
32532 128-bit if possible.
32533 (__sha512_finish_ctx): Likewise.
32534 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32535 as 64-bit value.
32536 * crypt/sha256.c (SWAP64): Define.
32537 (sha256_process_block): Perform total addition using 64-bit if
32538 possible.
32539 (__sha256_finish_ctx): Likewise.
32540
99231d9a
UD
325412011-07-01 Ulrich Drepper <drepper@gmail.com>
32542
32543 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32545 * nscd/hstcache.c (cache_addhst): Likewise.
32546 * nscd/grpcache.c (cache_addgr): Likewise.
32547 * nscd/aicache.c (addhstaiX): Likewise
32548 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32549
445b4a53
TK
325502011-07-01 Thorsten Kukuk <kukuk@suse.de>
32551
32552 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32554 * nscd/hstcache.c (cache_addhst): Likewise.
32555 * nscd/grpcache.c (cache_addgr): Likewise.
32556 * nscd/aicache.c (addhstaiX): Likewise
32557
6d4d8e8e
AS
325582011-07-01 Andreas Schwab <schwab@redhat.com>
32559
32560 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32561 domain only when needed.
32562
89f654c5
AS
325632011-06-30 Andreas Schwab <schwab@redhat.com>
32564
32565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32566 is always restored.
32567
cf3b23ff
UD
325682011-06-29 Ulrich Drepper <drepper@gmail.com>
32569
32570 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32571 are re-adding the entry.
32572 * nscd/servicescache.c (cache_addserv): Likewise.
32573
751626f9
AJ
325742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32575
32576 * sysdeps/generic/dl-irel.h: fix protection against multiple
32577 inclusions.
32578 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32579
9113ea1f
UD
325802011-06-28 Ulrich Drepper <drepper@gmail.com>
32581
5c0b8d90
UD
32582 [BZ #12935]
32583 * malloc/memusage.sh: Fix quoting in message.
32584 * debug/xtrace.sh: Likewise.
32585
9113ea1f
UD
32586 * configure.in: Remove support for --experimental-malloc option, make
32587 it the default.
32588 * config.make.in: Likewise.
32589 * malloc/Makefile: Likewise.
32590
a4172181
AS
325912011-06-27 Andreas Schwab <schwab@redhat.com>
32592
32593 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32594 two-byte characters.
32595
78a7eee7
RM
325962011-06-27 Roland McGrath <roland@hack.frob.com>
32597
62bede13
RM
32598 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32599 AC_CACHE_CHECK invocation.
32600 * configure: Regenerated.
32601
78a7eee7
RM
32602 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32603
5ce33a62
UD
326042011-06-27 Ulrich Drepper <drepper@gmail.com>
32605
034807a9
UD
32606 [BZ #12350]
32607 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32608 bit from old_res_options.
32609
4902da17
UD
32610 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32611
5ce33a62
UD
32612 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32613 value type for setfct.
32614
c2344f56
L
326152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32618 __gettimeofday instead of gettimeofday.
32619
68468076
UD
326202011-06-26 Ulrich Drepper <drepper@gmail.com>
32621
32622 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32623
acb0d739
L
326242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32625
32626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32627
32628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32629 info.
32630
8912479f
L
326312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32632
32633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32634 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32635 strcpy-sse2-unaligned strncpy-sse2-unaligned
32636 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32637 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32638 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32639 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32640 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32641 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32643 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32644 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32645 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32646 (STRCPY): Support SSE2 and SSSE3 versions.
32647
d5495a11
UD
326482011-06-24 Ulrich Drepper <drepper@gmail.com>
32649
32650 [BZ #12874]
32651 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32652 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32653 kernels which artificially limit size of requests.
32654
0b1cbaae
L
326552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32656
32657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32658 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32659 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32660 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32661 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32662 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32663 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32664 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32667 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32668 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32669 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32670 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32671 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32673 Enable unaligned load optimization for Intel Core i3, i5 and i7
32674 processors.
32675 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32676 Define.
32677 (index_Fast_Unaligned_Load): Define.
32678 (HAS_FAST_UNALIGNED_LOAD): Define.
32679
07f494a0
MP
326802011-06-23 Marek Polacek <mpolacek@redhat.com>
32681
32682 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32683
fa3fc0fe
UD
326842011-06-22 Ulrich Drepper <drepper@gmail.com>
32685
32686 [BZ #12907]
32687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32688 until it is clear that the information is realy needed.
32689 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32690
e12df166
AS
326912011-06-22 Andreas Schwab <schwab@redhat.com>
32692
32693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32694
852eb34d
UD
326952011-06-22 Ulrich Drepper <drepper@gmail.com>
32696
84e2a551
UD
32697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32698 /sys/devices/system/cpu/online if it is usable.
32699
852eb34d
UD
32700 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32701 reading the information from the /proc filesystem to once a second.
32702
6e502e19
UD
327032011-06-21 Andreas Jaeger <aj@suse.de>
32704
32705 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32706 NULL after inclusion of kernel headers.
32707
75d39ff2
UD
327082011-06-21 Ulrich Drepper <drepper@gmail.com>
32709
51f9aa6a
UD
32710 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32711 calls to internal_setent.
32712
c0244a9d
UD
32713 [BZ #12885]
32714 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32715 addresses using gethostbyname4_r ignore IPv4 addresses.
32716
c5e3c2ae
UD
32717 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32718 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32719
75d39ff2
UD
32720 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32721
42675c6f
DM
327222011-06-20 David S. Miller <davem@davemloft.net>
32723
32724 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32725 inclusions.
32726 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32727
32728 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32729 (elf_irel): Use it.
32730 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32731 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32732 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32733 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32734 * sysdeps/x86_64/dl-irel.h: Likewise.
32735
32736 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32737 * elf/dl-sym.c: Likewise.
32738
57912a71
UD
327392011-06-15 Ulrich Drepper <drepper@gmail.com>
32740
32741 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32742 need to dereference resplen2.
32743
ee22793d
AS
327442011-06-14 Andreas Schwab <schwab@redhat.com>
32745
32746 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32747
a9e836b0
UD
327482011-06-15 Ulrich Drepper <drepper@gmail.com>
32749
77fb9117
UD
32750 * Makeconfig: Define vardbdir and inst_vardbdir.
32751 * nss/Makefile: Add rules to install db-Makefile.
32752
40c1b22c
UD
32753 * nss/nss_db/db-XXX.c: Cleanup.
32754
9f2da732
UD
32755 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32756 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32757 GLIBC_PRIVATE.
32758 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32759 * nss/makedb.c: Implement -g option to specify that value strings
32760 are generated and should not be added to table iterated over for
32761 get*ent calls.
32762 * nss/nss_db/db-initgroups.c: New file.
32763
82e9a1f7
UD
32764 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32765 interface.
32766
c41af17e
UD
32767 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32768 (internal_getgrouplist): Adjust to name change.
32769 Update use_initgroups_entry if this is not the first call.
32770 * nss/databases.def: Add initgroups entry.
32771
a9e836b0
UD
32772 * nss/makedb.c (compute_tables): Check result of multiple hash table
32773 sizes to minimize maximum chain length.
32774
2666d441
UD
327752011-06-14 Ulrich Drepper <drepper@gmail.com>
32776
32777 * Versions.def: Add entry for libnss_db.
32778 * shlib-versions: Likewise.
32779 * nss/Makefile: Add rules to build libnss_db.
32780 * nss/Versions: Add libnss_db information. Organize libnss_files
32781 entries better.
32782 * nss/db-Makefile: Add gshadow support. Change rules for the new
32783 makedb progra. Some minor improvements to generate smaller files.
32784 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32785 here from...
32786 * nss/makedb.c: ...here.
32787 Improve database format to be smaller and require less memory at
32788 runtime.
32789 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32790 db anymore.
32791 * nss/nss_db/db-netgrp.c: Likewise.
32792 * nss/nss_db/db-open.c: Likewise.
32793 * nss/nss_files/flies-XXX.x: Adjust comments.
32794 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32795 * nss/nss_files/files-grp.c: Likewise.
32796 * nss/nss_files/files-hosts.c: Likewise.
32797 * nss/nss_files/files-network.c: Likewise.
32798 * nss/nss_files/files-proto.c: Likewise.
32799 * nss/nss_files/files-pwd.c: Likewise.
32800 * nss/nss_files/files-rpc.c: Likewise.
32801 * nss/nss_files/files-service.c: Likewise.
32802 * nss/nss_files/files-sgrp.c: Likewise.
32803 * nss/nss_files/files-spwd.c: Likewise.
32804 * nss/nss_db/db-alias.c: Removed.
32805 * nss/nss_db/dummy-db.h: Removed.
32806
9ee76b5a
UD
328072011-06-02 Ulrich Drepper <drepper@gmail.com>
32808
32809 * nss/makedb.c: Rewritten to not use database library.
32810 * nss/Makefile: Update to build new makedb program.
32811
c71ca1f8
AJ
328122011-06-14 Andreas Jaeger <aj@suse.de>
32813
32814 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32815 memset declaration.
32816
3154bfb8
UD
328172011-06-10 Andreas Schwab <schwab@redhat.com>
32818
32819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32820 tmpbuf.
32821
b350afab
RM
328222011-06-10 Roland McGrath <roland@hack.frob.com>
32823
decd4e50
RM
32824 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32825 * elf/Makefile ($(objpfx)ld.so): Likewise.
32826
5615eaf2
RM
32827 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32828 Don't list ld.so twice in dependencies.
32829
32830 * posix/bug-regex31.c: Include <stdlib.h>.
32831
32832 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32833
32834 * nis/nss_compat/compat-spwd.c
32835 (getspent_next_nss_netgr): Remove unused variable.
32836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32837
32838 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32839 nonmembers" output to use the right array.
32840
32841 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32842
32843 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32844
32845 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32846 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32847 * catgets/gencat.c (read_input_file): Likewise.
32848 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32849
32850 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32851 variable definition inside #if's controlling its use.
32852
32853 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32854
32855 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32856
32857 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32858
32859 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32860 unreachable code.
32861
32862 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32863
b68e08db
RM
32864 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32865 * configure: Regenerated.
32866
b350afab
RM
32867 * Makerules: Revert last change.
32868 * elf/Makefile: Likewise.
32869
28368601
RM
328702011-06-09 Roland McGrath <roland@hack.frob.com>
32871
32872 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32873 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32874 (reloc-link): Likewise.
32875
11988f8f
UD
328762011-06-09 Ulrich Drepper <drepper@gmail.com>
32877
32878 * elf/Makefile: Add rules to build pldd.
32879 * elf/pldd.c: New file.
32880 * elf/pldd-xx.c: New file.
32881
e80fab37
UD
328822011-06-07 Ulrich Drepper <drepper@gmail.com>
32883
32884 * version.h: Update for 2.15 development version.
32885
9b849836
DM
328862011-06-07 David S. Miller <davem@davemloft.net>
32887
32888 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32889 ifuncs.
32890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32891 elf_machine_lazy_rel): Likewise.
32892 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32894 elf_machine_lazy_rel): Likewise.
32895 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32896 dl_hwcap via passed in argument.
32897 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32898 Likewise.
32899
5a31b283
AK
329002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32901
32902 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32903
069e52f8
RM
329042011-06-06 Roland McGrath <roland@hack.frob.com>
32905
32906 [BZ #12849]
32907 * manual/fdl-1.1.texi: New file, verbatim from:
32908 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32909 * manual/lgpl-2.1.texi: New file, verbatim from:
32910 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32911 * manual/Makefile (licenses): New variable, list those new file names.
32912 (texis): Use it.
32913 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32914
32915 * manual/fdl.texi: File removed.
32916 * manual/lesser.texi: File removed.
32917 * manual/libc.texinfo (Copying, Documentation License):
32918 Use new @include file names, put @appendix directive before @include.
32919
f16846a5
JJ
329202011-06-04 Jakub Jelinek <jakub@redhat.com>
32921
32922 [BZ #12841]
32923 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32924 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32925 (mq_open): Add __NTH.
32926
3d29045b
L
329272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32928
32929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32930 Assume Intel Core i3/i5/i7 processor if AVX is available.
32931
8c297311
UD
329322011-05-31 Ulrich Drepper <drepper@gmail.com>
32933
32934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32935 typo.
32936
c8fc0c91
UD
329372011-05-31 Andreas Schwab <schwab@redhat.com>
32938
32939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32940 memory. Use alloca_account. Fix memory leak when retrying.
32941
5b27a807
UD
329422011-05-31 Ulrich Drepper <drepper@gmail.com>
32943
356f8bc6
UD
32944 * version.h (RELEASE): Bump for 2.14 release.
32945 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32946
5b27a807
UD
32947 * config.make.in (RANLIB): Remove entry.
32948
01f16ab0
UD
329492011-05-30 Ulrich Drepper <drepper@gmail.com>
32950
41fce8bd
UD
32951 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32952 (libc.pot): Work around missing support for .ksh extension in xgettext.
32953
4769ae77
UD
32954 [BZ #12684]
32955 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32956 if both request failed.
32957 (send_dg): In case of server errors clear resplen or *resplen2.
32958
6b1e7d19
UD
32959 [BZ #12454]
32960 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32961 when there are multiple maps.
32962 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32963 (_dl_fini): Remove test here.
32964
01f16ab0
UD
32965 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32966
b1ebd700
UD
329672011-05-29 Ulrich Drepper <drepper@gmail.com>
32968
7ae22829
UD
32969 [BZ #12350]
32970 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32971 bit from old_res_options.
32972 (gaih_inet): Likewise.
32973
553149f6 32974 [BZ #11099]
18a84741 32975 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32976 as signed.
32977
652ffab1
UD
32978 * resolv/res_init.c (res_setoptions): Make the code more compact.
32979
16985fd0
UD
32980 [BZ #11558]
32981 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32982 set RES_USEVC.
32983
0464f746
UD
32984 [BZ #11634]
32985 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32986
7d17596c
UD
32987 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32988
cf6bbbd7
UD
32989 [BZ #11781]
32990 * malloc/malloc.h: Declare malloc hook variables as volatile.
32991
13f1ab36
UD
32992 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32993 in last patch.
32994
b1ebd700
UD
32995 [BZ #11799]
32996 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32997 raise in the comment.
80e2212d
UD
32998 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33000 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33001
ce67228d
UD
330022011-05-28 Ulrich Drepper <drepper@gmail.com>
33003
8887a920
UD
33004 [BZ #12811]
33005 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33006 grow the buffers more if it already has to be sufficient.
33007 (build_wcs_upper_buffer): Likewise.
33008 * posix/regexec.c (check_matching): Likewise.
33009 (clean_state_log_if_needed): Likewise.
33010 (extend_buffers): Don't enlarge buffers beyond size of the input
33011 buffer.
33012 Patches mostly by Emil Wojak <emil@wojak.eu>.
33013 * posix/bug-regex32.c: New file.
33014 * posix/Makefile (tests): Add bug-regex32.
33015
4f031072
UD
33016 * locale/findlocale.c (_nl_find_locale): Return right away if
33017 _nl_explode_name failed.
33018 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33019
d0478f0c
UD
33020 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33021
de81b246
UD
33022 * debug/xtrace.sh: Unify messages.
33023 * malloc/memusage.sh: Likewise.
33024
c738465a
UD
33025 [BZ #12813]
33026 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33027 time symbol from vDSO. Substitute with vsyscall if not available.
33028 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33029 __vdso_time.
33030
f1f929d7
UD
33031 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33032 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33033 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33034 Add sendmmsg and internal_sendmmsg.
33035 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33036 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33037 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33038
ce67228d
UD
33039 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33040 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33041 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33042
e57420c6
UD
330432011-05-27 Ulrich Drepper <drepper@gmail.com>
33044
a8509ca5
UD
33045 [BZ #12813]
33046 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33047 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33048 available.
33049 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33050 __vdso_getcpu.
33051
e57420c6
UD
33052 [BZ #12814]
33053 * iconvdata/Makefile (tests): Add bug-iconv9.
33054 * iconvdata/bug-iconv9.c: New file.
33055
4d07db15
AS
330562011-05-27 Andreas Schwab <schwab@redhat.com>
33057
33058 [BZ #12814]
33059 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33060
ea486f69
JJ
330612011-05-25 Jakub Jelinek <jakub@redhat.com>
33062
33063 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33064 (struct user_regs_struct): Change intcs field back to cs.
33065
6f038433
UD
330662011-05-25 Ulrich Drepper <drepper@gmail.com>
33067
33068 * po/ja.po: Update from translation team.
33069
67f86a25
UD
330702011-05-23 Ulrich Drepper <drepper@gmail.com>
33071
33072 [BZ #12795]
33073 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33074 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33075
def7fbd6
AS
330762011-05-20 Andreas Schwab <schwab@redhat.com>
33077
33078 * stdlib/longlong.h: Update from GCC.
33079
f50ef8f1
AS
330802011-05-23 Andreas Schwab <schwab@redhat.com>
33081
33082 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33083 parameter name.
33084 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33085 Add parameter name.
33086 (__sysconf): Pass it down.
33087
de7ce8f1
UD
330882011-05-22 Ulrich Drepper <drepper@gmail.com>
33089
f2962a71
UD
33090 [BZ #12671]
33091 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33092 some situations.
33093 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33094 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33095 add in in __libc_use_alloca calls. Adjust callers.
33096 (glob): Use malloc in some situations.
33097
de7ce8f1
UD
33098 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33099 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33100 pltexit.
33101
aec84f53
UD
331022011-05-21 Ulrich Drepper <drepper@gmail.com>
33103
05bb4a68
UD
33104 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33105 and CLOCK_BOOTTIME_ALARM.
33106
7ea72f99
UD
33107 [BZ #12782]
33108 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33109 is returned.
33110
7e4afad5
UD
33111 * string/_strerror.c (__strerror_r): Print negative errors as signed
33112 numbers.
33113
8e211fec
UD
33114 [BZ #12777]
33115 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33116 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33117 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33118
f7d82dc9
UD
33119 * configure.in: Fix typo in redirection and correct removal of test
33120 files in two cases.
33121
cc9e536d
UD
33122 [BZ #12788]
33123 * locale/setlocale.c (new_composite_name): Fix test to check for
33124 identical name of all categories.
33125
aec84f53
UD
33126 [BZ #12792]
33127 * libio/filedoalloc.c (local_isatty): New function.
33128 (_IO_file_doallocate): Use local_isatty.
33129 * stdio-common/perror.c (perror): In case a new stream is used
33130 forward the stream error.
33131 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33132 error flag.
33133
78e64fdc
RT
331342011-05-20 Ulrich Drepper <drepper@gmail.com>
33135
34a9094f
UD
33136 [BZ #11869]
33137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33138 alloca.
33139 * include/alloca.h (extend_alloca_account): Define.
33140
78e64fdc
RT
33141 [BZ #11857]
33142 * posix/regex.h: Fix comments with documentation of user-accessible
33143 fields after compilation and describe correct free'ing of pattern
33144 after re_compile_pattern.
33145 Patch by Reuben Thomas <rrt@sc3d.org>.
33146
457bddfc
RA
331472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33148
33149 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33150 and -mno-altivec to prevent the compiler from using Altivec and/or
33151 VSX instructions when the corresponding registers are not available.
33152
a4527b51
AS
331532011-05-19 Andreas Schwab <schwab@redhat.com>
33154
33155 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33156
ed690b2f
UD
331572011-05-19 Ulrich Drepper <drepper@gmail.com>
33158
33159 * libio/freopen.c (freopen): Use __dup2, not dup2.
33160 * libio/freopen64.c (freopen64): Likewise.
33161
8db73634
L
331622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33163
33164 [BZ #12775]
33165 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33166 * math/Makefile (tests): Add test-powl.
33167 (CFLAGS-test-powl.c): Define.
33168 * math/test-powl.c: New file.
33169
0a197a9d
L
331702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33171
33172 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33173
ee30c380
UD
331742011-05-17 Ulrich Drepper <drepper@gmail.com>
33175
33176 [BZ #11837]
33177 * iconvdata/gb18030.c: Update to GB18020-2005.
33178
6ce75379
UD
331792011-05-16 Ulrich Drepper <drepper@gmail.com>
33180
a4b89fd8
AR
33181 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33182 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33183 Patch by Aharon Robbins <arnold@skeeve.com>.
33184
ea389b12
UD
33185 [BZ #11892]
33186 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33187 on the stack.
33188
68a3f91f
UD
33189 [BZ #11895]
33190 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33191 through underflows.
33192
15cc7dd1
UD
33193 [BZ #12766]
33194 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33195 point to strings before performing equality test for error_one_per_line
33196 mode.
33197
f3799213
UD
33198 [BZ #11697]
33199 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33200
d79a9c94
UD
33201 [BZ #11820]
33202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33203 (struct user_fpregs_struct): Avoid __uint*_t types.
33204
56e5eb46
UD
33205 [BZ #6420]
33206 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33207 symbol info. Use it instead of calling _dl_addr locally.
33208 (lock_and_info): New function.
33209 (tr_freehook): Call lock_and_info and pass symbol info as additional
33210 parameter to tr_where.
33211 (tr_mallochook): Likewise.
33212 (tr_reallochook): Likewise.
33213 (tr_memalignhook): Likewise.
33214
6ce75379
UD
33215 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33216 used and couldn't be at all thread-safe.
33217
f8a3b5bf
UD
332182011-05-15 Ulrich Drepper <drepper@gmail.com>
33219
94b7cc37
UD
33220 * libio/freopen.c (freopen): Don't close old file descriptor
33221 before the new one is opened. Instead dup the new file descriptor
33222 to the old one after the new stream is created.
33223 * libio/freopen64.c (freopen64): Likewise.
33224 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33225 * libio/fileops.c (_IO_new_file_close_it): Handle new
33226 _IO_FLAGS2_NOCLOSE flag.
33227 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33228 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33229 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33230 _IO_FLAGS2_NOCLOSE flag.
33231 * include/unistd.h: Add hidden_proto for dup3.
33232 Define __have_dup3.
33233 * io/dup3.c: Define hidden symbol.
33234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33235
bd25564e
UD
33236 [BZ #7101]
33237 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33238 when an incomplete long option is used.
33239 * posix/tst-getopt_long1.c: New file.
33240 * posix/Makefile (tests): Add tst-getopt_long1.
33241
c84cfef4
UD
33242 [BZ #10138]
33243 * scripts/config.guess: Update from autoconf-2.68.
33244 * scripts/config.sub: Likewise.
33245
3b85df27
UD
33246 [BZ #10157]
33247 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33248 tests into ...
33249 (has_cpuclock): ...this. New function.
33250 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33251 macro here based on has_cpuclock code.
33252
15a856b1
UD
33253 [BZ #10149]
33254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33255 First byte (not low byte) is now always NUL.
33256 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33257
05f399e6
UD
33258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33259 Use non-cancelable interfaces.
33260
10a52685 33261 [BZ #9809]
94ecc67d
UD
33262 * locale/iso-639.def: Add entry for Sorani.
33263
f8a3b5bf
UD
33264 [BZ #11901]
33265 * include/stdlib.h: Move include protection to the right place.
33266 Define abort_msg_s. Declare __abort_msg with it.
33267 * stdlib/abort.c (__abort_msg): Adjust type.
33268 * assert/assert.c (__assert_fail_base): New function. Majority
33269 of code from __assert_fail. Allocate memory for __abort_msg with
33270 mmap.
33271 (__assert_fail): Now call __assert_fail_base.
33272 * assert/assert-perr.c: Remove bulk of implementation. Use
33273 __assert_fail_base.
33274 * include/assert.hL Declare __assert_fail_base.
33275 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33276 mmap.
33277 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33278
1af4e298
UD
332792011-05-14 Ulrich Drepper <drepper@gmail.com>
33280
f8a3b5bf 33281 [BZ #11952]
d26dfc60
MG
33282 [BZ #12453]
33283 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33284 until all modules are registered in the DTV.
33285 * elf/Makefile: Add rules to build and run tst-tls19.
33286 * elf/tst-tls19.c: New file.
33287 * elf/tst-tls19mod1.c: New file.
33288 * elf/tst-tls19mod2.c: New file.
33289 * elf/tst-tls19mod3.c: New file.
33290 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33291
2fc54d6f
UD
33292 [BZ #12083]
33293 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33294 correctly.
33295
98d76b46
UD
33296 [BZ #12601]
33297 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33298 two-byte sequence errors.
33299 * iconvdata/Makefile (tests): Add bug-iconv8.
33300 * iconvdata/bug-iconv8.c: New file.
33301
da3c19ef
UD
33302 [BZ #12626]
33303 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33304 buf2 definition.
33305
ca408c15
UD
33306 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33307
d6f67f7d
UD
33308 [BZ #12432]
33309 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33310 (dummy_getcfa): New function.
33311 (init): Get _Unwind_GetCFA address, use dummy if not found.
33312 (backtrace_helper): In recursion check, also check whether CFA changes.
33313 (__backtrace): Completely initialize arg.
33314
1af4e298 33315 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33316 storing incomplete byte sequence in state object. Avoid testing for
33317 guaranteed too small input if we know there is enough data available.
1af4e298 33318
da62f81b
AS
333192011-05-11 Andreas Schwab <schwab@redhat.com>
33320
33321 * Makeconfig (+link-pie): Indent.
33322 * Rules (binaries-pie): Define if $(have-fpie) and
33323 $(build-shared).
33324 (binaries-shared): Also filter out $(binaries-pie).
33325 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33326 * nscd/Makefile (others-pie): Add nscd.
33327 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33328 ($(objpfx)nscd): Remove command override.
33329 * login/Makefile (others-pie): Add pt_chown.
33330 ($(objpfx)pt_chown): Remove command override.
33331 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33332 remove command overrides.
33333
fcabc0f8
UD
333342011-05-13 Ulrich Drepper <drepper@gmail.com>
33335
20030ae6
UD
33336 * libio/tst_putwc.c: Fix error messages.
33337
fcabc0f8
UD
33338 [BZ #12724]
33339 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33340 currently writing and seek to current position when not.
33341 * libio/Makefile (tests): Add bug-fclose1.
33342 * libio/bug-fclose1.c: New file.
33343
320a5dc0
PB
333442011-05-12 Ulrich Drepper <drepper@gmail.com>
33345
33346 [BZ #12511]
33347 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33348 don't set DF_1_NODELETE here.
33349 (do_lookup_x): When entering new entry test for copy relocation
33350 and if necessary set DF_1_NODELETE flag.
33351 * elf/tst-unique4.cc: New file.
33352 * elf/tst-unique4.h: New file.
33353 * elf/tst-unique4lib.cc: New file.
33354 * elf/Makefile: Add rules to build and run tst-unique4.
33355 Patch by Piotr Bury <pbury@goahead.com>.
33356
22836f52
UD
333572011-05-11 Ulrich Drepper <drepper@gmail.com>
33358
f574184a
UD
33359 [BZ #12052]
33360 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33361
e1fb097f
UD
33362 [BZ #12625]
33363 * misc/mntent_r.c (addmntent): Flush the stream after the output
33364
22836f52
UD
33365 [BZ #12393]
33366 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33367 (is_trusted_path_normalize): Skip initial colon. Append slash
33368 to empty buffer. Duplicate is_trusted_path code but allow
33369 constructed patch to be prefix.
33370 (is_dst): Allow $ORIGIN followed by /.
33371 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33372 Correct testing of result of is_trusted_path_normalize
33373 (decompose_rpath): Fix warning.
33374
7b3b0b2a
UD
333752011-05-10 Ulrich Drepper <drepper@gmail.com>
33376
33377 [BZ #11257]
33378 * grp/initgroups.c (internal_getgrouplist): When we found the service
33379 list through the initgroups entry in nsswitch.conf do not always
33380 continue on a successful lookup. Don't always use the
eac80ce2 33381 __nss_group_database value if it is set.
7b3b0b2a
UD
33382 * nss/nsswitch.conf (initgroups): Change action for successful db
33383 lookup to continue for compatibility.
33384
2a81eaa5
UD
333852011-05-09 Ulrich Drepper <drepper@gmail.com>
33386
be97a69e
UD
33387 [BZ #11532]
33388 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33389 and CP774 modules.
33390 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33391 and CP774 modules.
33392 * iconvdata/tst-tables.sh: Likewise.
33393 * iconvdata/cp770.c: New file.
33394 * iconvdata/cp771.c: New file.
33395 * iconvdata/cp772.c: New file.
33396 * iconvdata/cp773.c: New file.
33397 * iconvdata/cp774.c: New file.
33398 * iconvdata/testdata/CP770: New file.
33399 * iconvdata/testdata/CP770..UTF8: New file.
33400 * iconvdata/testdata/CP771: New file.
33401 * iconvdata/testdata/CP771..UTF8: New file.
33402 * iconvdata/testdata/CP772: New file.
33403 * iconvdata/testdata/CP772..UTF8: New file.
33404 * iconvdata/testdata/CP773: New file.
33405 * iconvdata/testdata/CP773..UTF8: New file.
33406 * iconvdata/testdata/CP774: New file.
33407 * iconvdata/testdata/CP774..UTF8: New file.
33408
33409 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33410 END CHARMAP line.
33411 * iconvdata/gen-8bit-gap.sh: Likewise.
33412 * iconvdata/gen-8bit.sh: Likewise.
33413
c1e9e399
UD
33414 * locale/iso-639.def: Add ary entry.
33415
24c55fb3 33416 [BZ #11258]
96b4b1b0
UD
33417 * locale/C-translit.h.in: Add U20A1 transliteration.
33418
bdc2f971
KB
33419 [BZ #12178]
33420 * locale/iso-639.def: Add wae entry.
33421 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33422
2952b117
UD
33423 [BZ #12545]
33424 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33425 for n.
33426
2a81eaa5
UD
33427 [BZ #12711]
33428 * locale/C-translit.h.in: Add entry for U20B9.
33429 Patch by pravin.d.s@gmail.com.
33430
28377d1b
UD
334312011-05-08 Ulrich Drepper <drepper@gmail.com>
33432
7fb90fb8
UD
33433 [BZ #12713]
33434 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33435 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33436 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33437 in rtld. Use *stat64.
7fb90fb8 33438 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33439 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33440 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33441 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33442 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33443 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33444 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33445 __fstatat64 macros.
7fb90fb8
UD
33446 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33447 * dirent/rewinddir.c: Add libc_hidden_def.
33448 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33449 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33450
28377d1b
UD
33451 * include/dirent.h (__alloc_dir): Add flags parameter.
33452 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33453 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33454 __alloc_dir.
33455 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33456 from fdopendir if O_CLOEXEC is already set.
33457
66bdbaa4
AM
334582011-03-15 Alan Modra <amodra@gmail.com>
33459
33460 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33461 l_tls_firstbyte_offset non-zero. Save padding offset in
33462 l_tls_firstbyte_offset for later use.
33463 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33464 freeing static tls block.
33465
95721191
JN
334662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33467
33468 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33469 where #ifdef was intended. The intent is to prevent ARG_MAX from
33470 being defined by the kernel headers.
33471
f87dfb1f
UD
334722011-05-07 Ulrich Drepper <drepper@gmail.com>
33473
33474 [BZ #12734]
33475 * resolv/resolv.h: Define RES_NOTLDQUERY.
33476 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33477 no-tld-query and set RES_NOTLDQUERY.
33478 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33479 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33480 modern BIND to search name as TLD unless forbidden.
33481
47c3cd7a
UD
334822011-05-07 Petr Baudis <pasky@suse.cz>
33483 Ulrich Drepper <drepper@gmail.com>
33484
33485 [BZ #12393]
33486 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33487 (is_trusted_path): ...to here.
c1e9ea35 33488 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33489 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33490 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33491
8a35c912
PP
334922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33493
33494 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33495 __BEGIN/__END_DECLS.
33496
acd41f47
UD
334972011-05-06 Ulrich Drepper <drepper@gmail.com>
33498
33499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33500 NSS_STATUS_NOTFOUND if no record was found.
33501
597df647
AS
335022011-05-05 Andreas Schwab <schwab@redhat.com>
33503
33504 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33505 (headers-not-in-tirpc): Remove rpc/netdb.h
33506 * resolv/netdb.h: Revert last change.
33507
b9af1301
PP
335082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33509
33510 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33511 circular dependency between libgcc.a and libc.a.
33512
4e34d5f5
AS
335132011-05-05 Andreas Schwab <schwab@redhat.com>
33514
33515 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33516 * nis/Makefile: Don't install rpcsvc/*.
33517 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33518 instead of <rpc/types.h>.
33519 (MAXHOSTNAMELEN): Define.
33520
00ee369c
AS
335212011-05-03 Andreas Schwab <schwab@redhat.com>
33522
33523 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33524
0b592a30
MB
335252011-04-28 Maciej Babinski <mbabinski@google.com>
33526
33527 [BZ #12714]
33528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33529 gethostbyname4_r when IPv6 results are possible.
33530
6e04cbbe
UD
335312011-05-02 Ulrich Drepper <drepper@gmail.com>
33532
33533 [BZ #12723]
33534 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33535 _PC_PIPE_BUF handling.
33536
e4ecafe0
BH
335372011-04-30 Bruno Haible <bruno@clisp.org>
33538
33539 [BZ #12717]
33540 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33541 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33542 to 'int'.
33543 * inet/getnameinfo.c (getnameinfo): Likewise.
33544
125ee683
UD
335452011-04-29 Ulrich Drepper <drepper@gmail.com>
33546
33547 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33548 to groups setting in database lookup.
33549 * nss/nsswitch.conf: Add initgroups entry.
33550
b722481a
EB
335512011-04-22 Ulrich Drepper <drepper@gmail.com>
33552
33553 [BZ #12685]
33554 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33555 mode string.
33556 Patch by Eric Blake <eblake@redhat.com>.
33557
4df46dbd
L
335582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33559
33560 * sunrpc/Makefile (need-export-routines): Add svc_run.
33561 (routines): Remove svc_run.
33562 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33563 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33564 * sunrpc/svc_run.c (svc_run): Likewise.
33565 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33566
e84142d2
UD
335672011-04-21 Ulrich Drepper <drepper@gmail.com>
33568
33569 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33570 problem in reallocation in last patch.
33571
877175d8
UD
335722011-04-20 Ulrich Drepper <drepper@gmail.com>
33573
33574 * sunrpc/Makefile: Move inclusion of Rules.
33575
ab8eed78
UD
335762011-04-19 Ulrich Drepper <drepper@gmail.com>
33577
33578 * nss/nss_files/files-initgroups.c: New file.
33579 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33580 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33581 _nss_files_initgroups_dyn.
33582
e3d8f584
RS
335832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33584
33585 * elf/elf.h (R_ARM_IRELATIVE): Define.
33586
af190f45
UD
335872011-04-19 Ulrich Drepper <drepper@gmail.com>
33588
33589 * po/ru.po: Update from translation team.
33590
53cf59ef
UD
335912011-04-17 Ulrich Drepper <drepper@gmail.com>
33592
33593 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33594 dependencies.
33595
4c559bcd
MF
335962011-02-06 Mike Frysinger <vapier@gentoo.org>
33597
33598 [BZ #12653]
33599 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33600 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33604
4420675c
AS
336052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33606
33607 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33608 differing bytes.
33609 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33612
75ea32ab
UD
336132011-04-17 Ulrich Drepper <drepper@gmail.com>
33614
33615 [BZ #12420]
33616 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33617 storing it.
33618 * stdlib/bug-getcontext.c: New file.
33619 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33620
27390476
AK
336212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33622
33623 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33624 instructions into .machine "z9-109".
33625 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33626 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33627
10442705
AK
336282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33629
33630 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33631 between environment variables and auxiliary vector.
33632
7b57bfe5
UD
336332011-04-16 Ulrich Drepper <drepper@gmail.com>
33634
33635 * Makefile: Add rules to build linkobj/libc.so.
33636 * include/libc-symbols.h: Define libc_hidden_nolink.
33637 * include/rpc/auth.h: Mark functions which are to be hidden.
33638 * include/rpc/auth_des.h: Likewise.
33639 * include/rpc/auth_unix.h: Likewise.
33640 * include/rpc/clnt.h: Likewise.
33641 * include/rpc/des_crypt.h: Likewise.
33642 * include/rpc/key_prot.h: Likewise.
33643 * include/rpc/pmap_clnt.h: Likewise.
33644 * include/rpc/pmap_prot.h: Likewise.
33645 * include/rpc/pmap_rmt.h: Likewise.
33646 * include/rpc/rpc_msg.h: Likewise.
33647 * include/rpc/svc.h: Likewise.
33648 * include/rpc/svc_auth.h: Likewise.
33649 * include/rpc/xdr.h: Likewise.
33650 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33651 * nss/Makefile: Likewise.
33652 * sunrpc/Makefile: Don't install headers. Build library with normal
33653 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33654 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33655 for the compat linking library. Remove use of INTDEF/INTUSE.
33656 * sunrpc/auth_none.c: Likewise.
33657 * sunrpc/auth_unix.c: Likewise.
33658 * sunrpc/authdes_prot.c: Likewise.
33659 * sunrpc/authuxprot.c: Likewise.
33660 * sunrpc/clnt_gen.c: Likewise.
33661 * sunrpc/clnt_perr.c: Likewise.
33662 * sunrpc/clnt_raw.c: Likewise.
33663 * sunrpc/clnt_simp.c: Likewise.
33664 * sunrpc/clnt_tcp.c: Likewise.
33665 * sunrpc/clnt_udp.c: Likewise.
33666 * sunrpc/clnt_unix.c: Likewise.
33667 * sunrpc/des_crypt.c: Likewise.
33668 * sunrpc/des_soft.c: Likewise.
33669 * sunrpc/get_myaddr.c: Likewise.
33670 * sunrpc/key_call.c: Likewise.
33671 * sunrpc/key_prot.c: Likewise.
33672 * sunrpc/netname.c: Likewise.
33673 * sunrpc/pm_getmaps.c: Likewise.
33674 * sunrpc/pm_getport.c: Likewise.
33675 * sunrpc/pmap_clnt.c: Likewise.
33676 * sunrpc/pmap_prot.c: Likewise.
33677 * sunrpc/pmap_prot2.c: Likewise.
33678 * sunrpc/pmap_rmt.c: Likewise.
33679 * sunrpc/publickey.c: Likewise.
33680 * sunrpc/rpc_cmsg.c: Likewise.
33681 * sunrpc/rpc_common.c: Likewise.
33682 * sunrpc/rpc_dtable.c: Likewise.
33683 * sunrpc/rpc_prot.c: Likewise.
33684 * sunrpc/rpc_thread.c: Likewise.
33685 * sunrpc/rtime.c: Likewise.
33686 * sunrpc/svc.c: Likewise.
33687 * sunrpc/svc_auth.c: Likewise.
33688 * sunrpc/svc_authux.c: Likewise.
33689 * sunrpc/svc_raw.c: Likewise.
33690 * sunrpc/svc_run.c: Likewise.
33691 * sunrpc/svc_simple.c: Likewise.
33692 * sunrpc/svc_tcp.c: Likewise.
33693 * sunrpc/svc_udp.c: Likewise.
33694 * sunrpc/svc_unix.c: Likewise.
33695 * sunrpc/svcauth_des.c: Likewise.
33696 * sunrpc/xcrypt.c: Likewise.
33697 * sunrpc/xdr.c: Likewise.
33698 * sunrpc/xdr_array.c: Likewise.
33699 * sunrpc/xdr_float.c: Likewise.
33700 * sunrpc/xdr_intXX_t.c: Likewise.
33701 * sunrpc/xdr_mem.c: Likewise.
33702 * sunrpc/xdr_rec.c: Likewise.
33703 * sunrpc/xdr_ref.c: Likewise.
33704 * sunrpc/xdr_sizeof.c: Likewise.
33705 * sunrpc/xdr_stdio.c: Likewise.
33706
e6c61494
UD
337072011-04-10 Ulrich Drepper <drepper@gmail.com>
33708
33709 [BZ #12650]
33710 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33711 * sysdeps/ia64/dl-tls.h: Likewise.
33712 * sysdeps/powerpc/dl-tls.h: Likewise.
33713 * sysdeps/s390/dl-tls.h: Likewise.
33714 * sysdeps/sh/dl-tls.h: Likewise.
33715 * sysdeps/sparc/dl-tls.h: Likewise.
33716 * sysdeps/x86_64/dl-tls.h: Likewise.
33717 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33718
34fe483e
AS
337192011-03-14 Andreas Schwab <schwab@redhat.com>
33720
33721 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33722 rpath element also skip the following colon.
33723 (expand_dynamic_string_token): Add is_path parameter and pass
33724 down to DL_DST_REQUIRED and _dl_dst_substitute.
33725 (decompose_rpath): Call expand_dynamic_string_token with
33726 non-zero is_path. Ignore empty rpaths.
33727 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33728 with zero is_path.
33729
f12a32e6
AS
337302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33731
33732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33733 Make cancelable.
33734
38a7d692
UD
337352011-04-09 Ulrich Drepper <drepper@gmail.com>
33736
33737 [BZ #12655]
33738 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33739 Patch by Filipe David Manana <fdmanana@apache.org>.
33740
e451d22b
AS
337412011-04-07 Andreas Schwab <schwab@redhat.com>
33742
33743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33744 Maintain aligned stack.
33745 (CHECK_RSP): Remove unused macro.
33746
dedc7c7b
UD
337472011-04-03 Ulrich Drepper <drepper@gmail.com>
33748
33749 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33751
94521213
UD
337522011-04-02 Ulrich Drepper <drepper@gmail.com>
33753
33754 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33755
8cb700c0 33756 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33757
0354e355
L
337582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33759
33760 [BZ #12518]
33761 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33762 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33763 * sysdeps/x86_64/memmove.c: New file.
33764 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33765 (memcpy): Renamed to ...
33766 (__new_memcpy): This.
33767 (memcpy): Provide GLIBC_2_14 memcpy.
33768 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33769 (memcpy): Provide GLIBC_2_2_5 memcpy.
33770
8593482f
UD
337712011-04-01 Ulrich Drepper <drepper@gmail.com>
33772
33773 [BZ #12631]
33774 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33775
81a5726b
AS
337762011-03-30 Andreas Schwab <schwab@redhat.com>
33777
33778 * misc/syncfs.c: New file.
33779 * misc/Makefile (routines): Add syncfs.
33780 * posix/unistd.h: Declare syncfs.
33781 * sysdeps/unix/syscalls.list: Add syncfs.
33782
00e5419f
AS
337832011-04-01 Andreas Schwab <schwab@redhat.com>
33784
33785 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33786 open_by_handle_at.
33787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33792 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33793 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33794
748876bf
UD
337952011-04-01 Ulrich Drepper <drepper@gmail.com>
33796
658e451d
UD
33797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33799 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33804
748876bf
UD
33805 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33806 sync_file_range.c with -fexceptions.
33807 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33808 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33809 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33810 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33811 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33812 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33814 sync_file_range as cancellation point
33815 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33816 now a wrapper around __call_sync_file_range with cancellation handling.
33817 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33818 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33819 function name to __call_sync_file_range.
33820 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33821 Add call_sync_file_range.
748876bf 33822
6e63d5e1
AS
338232011-04-01 Andreas Schwab <schwab@redhat.com>
33824
33825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33826 bits/timex.h.
6e63d5e1 33827
46998f74
UD
338282011-04-01 Ulrich Drepper <drepper@gmail.com>
33829
4c1423ed
UD
33830 * iconv/iconv.h: Fix typo in comment.
33831 * io/fcntl.h: Likewise.
33832 * libio/stdio.h: Likewise.
33833 * posix/spawn.h: Likewise.
33834 * posix/unistd.h: Likewise.
33835 * stdlib/stdlib.h: Likewise.
33836 * time/time.h: Likewise.
33837 * wcsmbs/wchar.h: Likewise.
33838
158648c0
UD
33839 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33840 open_by_handle): Add.
33841 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33842 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33843 Augment a few comments.
33844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33846 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33849 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33850 open_by_handle.
33851
46998f74
UD
33852 * io/fcntl.h (AT_EMPTY_PATH): Define.
33853
83fe108b
UD
338542011-03-30 Ulrich Drepper <drepper@gmail.com>
33855
33856 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33857 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33858 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33859 to...
33860 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33861 * Versions.def: Add GLIBC_2.14.
33862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33863 Export.
83fe108b 33864
bb242059
UD
338652011-03-22 Ulrich Drepper <drepper@gmail.com>
33866
33867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33868 round counter.
33869 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33870
c97a1282
L
338712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33872
33873 [BZ #12597]
33874 * string/test-strncmp.c (do_page_test): New function.
33875 (check2): Likewise.
33876 (test_main): Call check2.
33877 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33878
2a115601
UD
338792011-03-20 Ulrich Drepper <drepper@gmail.com>
33880
33881 [BZ #12587]
33882 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33883 Handle cache information in CPU leaf 4.
33884 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33885
8126d904
UD
338862011-03-18 Ulrich Drepper <drepper@gmail.com>
33887
042c49c6 33888 [BZ #12583]
8126d904
UD
33889 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33890 character representation.
33891 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33892
ccfe366e
RA
338932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33894
33895 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33896 END(__isnan) to END(__isnanf) to match function entry point/label
33897 EALIGN(__isnanf,...).
33898
c6e13027
JJ
338992011-03-10 Jakub Jelinek <jakub@redhat.com>
33900
33901 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33902
33f85a3f
UD
339032011-03-10 Ulrich Drepper <drepper@gmail.com>
33904
028478fa
UD
33905 [BZ #12510]
33906 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33907 copy from the symbol referenced in the relocation to initialize the
33908 used variable.
33909 Patch by Piotr Bury <pbury@goahead.com>.
33910 * elf/Makefile: Add rules to build and tst-unique3.
33911 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33912 * elf/tst-unique3.cc: New file.
33913 * elf/tst-unique3.h: New file.
33914 * elf/tst-unique3lib.cc: New file.
33915 * elf/tst-unique3lib2.cc: New file.
33916
33f85a3f
UD
33917 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33918
03592fc7
MF
339192011-03-10 Mike Frysinger <vapier@gentoo.org>
33920
33921 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33922 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33923 to _start.
03592fc7 33924
6a5ee102
UD
339252011-03-06 Ulrich Drepper <drepper@gmail.com>
33926
33927 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33928 to-be-loaded object along a path to loader is ld.so.
33929
7e4ba49c
HJ
339302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33931 Ulrich Drepper <drepper@gmail.com>
33932
33933 * sysdeps/x86_64/memset.S: After aligning destination, code
33934 branches to different locations depending on the value of
33935 misalignment, when multiarch is enabled. Fix this.
33936
339372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33938
33939 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33940 Set _x86_64_preferred_memory_instruction for AMD processsors.
33941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33942 Set bit_Prefer_SSE_for_memop for AMD processors.
33943
13a804de
UD
339442011-03-04 Ulrich Drepper <drepper@gmail.com>
33945
33946 * libio/fmemopen.c (fmemopen): Optimize a bit.
33947
9d25c392
AS
339482011-03-03 Andreas Schwab <schwab@redhat.com>
33949
33950 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33951
a5543c6a
RM
339522011-03-03 Roland McGrath <roland@redhat.com>
33953
33954 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33955
012d35f7
DM
339562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33957
7e4ba49c 33958 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33959 __bzero_ultra1 instead of __memset_ultra1.
33960
4bff6e01
AS
339612011-02-23 Andreas Schwab <schwab@redhat.com>
33962 Ulrich Drepper <drepper@gmail.com>
33963
33964 [BZ #12509]
33965 * include/link.h (struct link_map): Add l_orig_initfini.
33966 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33967 returning unsuccessfully.
33968 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33969 close of a file loaded at startup, restore the original l_initfini
33970 list.
33971 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33972 list, store the pointer.
33973 * elf/Makefile ($(objpfx)noload-mem): New rule.
33974 (noload-ENV): Define.
33975 (tests): Add $(objpfx)noload-mem.
33976 * elf/noload.c: Include <memcheck.h>.
33977 (main): Call mtrace. Close all opened handles.
33978
f2092faf
AS
339792011-02-17 Andreas Schwab <schwab@redhat.com>
33980
33981 [BZ #12454]
33982 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33983 dependencies are missing.
33984
6c8a2e88
ST
339852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33986
f2092faf 33987 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33988 Hurd needs munmap.
33989 * sysdeps/mach/hurd/ifreq.h: New file.
33990
84a42118
PB
339912011-01-27 Petr Baudis <pasky@suse.cz>
33992 Ulrich Drepper <drepper@gmail.com>
33993
071f805e 33994 [BZ 12445]#
84a42118
PB
33995 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33996 to extend_alloca().
33997 * stdio-common/bug23.c: New file.
33998 * stdio-common/Makefile (tests): Add bug23.
33999
e23fe25b
AS
340002010-09-28 Andreas Schwab <schwab@redhat.com>
34001 Ulrich Drepper <drepper@gmail.com>
34002
34003 [BZ #12489]
34004 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34005 before performing relro protection. At old place add assertion
34006 to make sure nothing changed.
34007
d3f02e10
NS
340082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34009 Glauber de Oliveira Costa <glommer@gmail.com>
34010
34011 * elf/elf.h: Add new ARM TLS relocs.
34012
d55fd7a5
RA
340132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34014
34015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34016 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34017 cast from r3.
34018 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34019 'tests' variable.
34020 * sysdeps/wordsize-64/tst-writev.c: New file.
34021
2206397e
RA
340222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34023
34024 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34025 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34026 insns in _dl_start to prevent a TOC reference before relocs are
34027 resolved.
34028
e9433893
UD
340292011-02-15 Ulrich Drepper <drepper@gmail.com>
34030
34031 [BZ #12469]
34032 * Makeconfig: Remove RANLIB definition.
34033 * Makerules: Don't use RANLIB.
34034 * aclocal.m4: Remove ranlib test.
34035 * configure.in: No need to check for ranlib.
34036 * elf/rtld-Rules: Don't use RANLIB.
34037
f75286c6
ST
340382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34039
8e31c82d
ST
34040 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34041 protection macro.
34042 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34043 inclusion protection macro.
34044
f75286c6
ST
34045 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34046 SIGRTMIN and SIGRTMAX and print information in that case only when
34047 SIGRTMIN is defined.
34048
c1d0e639
JJ
340492011-02-11 Jakub Jelinek <jakub@redhat.com>
34050
34051 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34052 arginfo fn returning -1.
34053
34054 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34055 and thousands string is zero terminated.
34056
edf9294e
AS
340572011-02-03 Andreas Schwab <schwab@redhat.com>
34058
34059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34060 sysdeps/unix/sysv/linux/bits/socket.h.
34061
2b7e92df
ST
340622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34063
edf9294e
AS
34064 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34065 (__CPU_COUNT): Remove old macros.
34066 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34067 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34068 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34069 (__sched_cpualloc, __sched_cpufree): Add declarations.
34070
a4c7ea7b
UD
340712011-02-05 Ulrich Drepper <drepper@gmail.com>
34072
34073 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34074 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34075 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34076 (readdhstai): Return value of addhstaiX call.
34077 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34078 (addgrbyX): Return value returned by cache_addgr.
34079 (readdgrbyname): Return value returned by addgrbyX.
34080 (readdgrbygid): Likewise.
34081 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34082 (addpwbyX): Return value returned by cache_addpw.
34083 (readdpwbyname): Return value returned by addhstbyX.
34084 (readdpwbyuid): Likewise.
34085 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34086 (addservbyX): Return value returned by cache_addserv.
34087 (readdservbyname): Return value returned by addservbyX:
34088 (readdservbyport): Likewise.
34089 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34090 (addhstbyX): Return value returned by cache_addhst.
34091 (readdhstbyname): Return value returned by addhstbyX.
34092 (readdhstbyaddr): Likewise.
34093 (readdhstbynamev6): Likewise.
34094 (readdhstbyaddrv6): Likewise.
34095 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34096 (readdinitgroups): Return value returned by addinitgroupsX.
34097 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34098 (prune_cache): Keep track of timeout value of re-added entries.
34099 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34100 * nscd/nscd.h: Adjust prototypes of readd* functions.
34101
a0bf67cc
RM
341022011-02-04 Roland McGrath <roland@redhat.com>
34103
34104 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34105 (nis_stats): Likewise.
34106 * nis/nis_modify.c (nis_modify): Likewise.
34107 * nis/nis_remove.c (nis_remove): Likewise.
34108 * nis/nis_add.c (nis_add): Likewise.
34109
34110 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34111
34112 * posix/fnmatch_loop.c: Add some consts.
34113
34114 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34115
435b95eb
L
341162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34117
34118 [BZ #12460]
34119 * config.make.in (config-cflags-novzeroupper): Define.
34120 * configure.in: Substitute libc_cv_cc_novzeroupper.
34121 * elf/Makefile (AVX-CFLAGS): Define.
34122 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34123 (CFLAGS-tst-auditmod4a.c): Likewise.
34124 (CFLAGS-tst-auditmod4b.c): Likewise.
34125 (CFLAGS-tst-auditmod6b.c): Likewise.
34126 (CFLAGS-tst-auditmod6c.c): Likewise.
34127 (CFLAGS-tst-auditmod7b.c): Likewise.
34128 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34129
8517b15e
UD
341302011-02-02 Ulrich Drepper <drepper@gmail.com>
34131
34132 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34133 function to the callback.
34134 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34135
10a656fe
AS
341362011-02-02 Andreas Schwab <schwab@redhat.com>
34137
34138 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34139 of errno.
34140
968dad0a
UD
341412011-01-19 Ulrich Drepper <drepper@gmail.com>
34142
9f94d2ea 34143 [BZ #11724]
968dad0a
UD
34144 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34145 of constructors.
34146 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34147 of destructors.
34148 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34149
34150 [BZ #11724]
34151 * elf/Makefile: Add rules to build and run new test.
34152 * elf/tst-initorder.c: New file.
34153 * elf/tst-initorder.exp: New file.
34154 * elf/tst-initordera1.c: New file.
34155 * elf/tst-initordera2.c: New file.
34156 * elf/tst-initordera3.c: New file.
34157 * elf/tst-initordera4.c: New file.
34158 * elf/tst-initorderb1.c: New file.
34159 * elf/tst-initorderb2.c: New file.
34160 * elf/tst-order-a1.c: New file.
34161 * elf/tst-order-a2.c: New file.
34162 * elf/tst-order-a3.c: New file.
34163 * elf/tst-order-a4.c: New file.
34164 * elf/tst-order-b1.c: New file.
34165 * elf/tst-order-b2.c: New file.
34166 * elf/tst-order-main.c: New file.
34167 New test case by George Gensure <werkt0@gmail.com>.
34168
86e92359
UD
341692010-10-01 Andreas Schwab <schwab@redhat.com>
34170
34171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34172 decoding ACE if AI_CANONIDN.
34173
5d5732b0
UD
341742011-01-18 Ulrich Drepper <drepper@gmail.com>
34175
34176 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34177
a77e8cbc
UD
341782011-01-17 Ulrich Drepper <drepper@gmail.com>
34179
6392473f
UD
34180 * version.h (RELEASE): Bump for 2.13 release.
34181 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34182
620a0529
UD
34183 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34184
18ba70a5
UD
34185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34186 MADV_NOHUGEPAGE.
32465c3e
UD
34187 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34188 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34192 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34193
c0dafcf1
UD
34194 * posix/getconf.c: Update copyright year.
34195 * catgets/gencat.c: Likewise.
34196 * csu/version.c: Likewise.
34197 * debug/catchsegv.sh: Likewise.
34198 * debug/xtrace.sh: Likewise.
34199 * elf/ldconfig.c: Likewise.
34200 * elf/ldd.bash.in: Likewise.
34201 * elf/sprof.c (print_version): Likewise.
34202 * iconv/iconv_prog.c: Likewise.
34203 * iconv/iconvconfig.c: Likewise.
34204 * locale/programs/locale.c: Likewise.
34205 * locale/programs/localedef.c: Likewise.
34206 * malloc/memusage.sh: Likewise.
34207 * malloc/mtrace.pl: Likewise.
34208 * nscd/nscd.c (print_version): Likewise.
34209 * nss/getent.c: Likewise.
34210
a77e8cbc
UD
34211 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34212 PF_CAIF, and PF_ALG.
34213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34214
77e8bddf
AS
342152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34216
1f20b93a
AS
34217 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34218 (modules-names): Use them.
34219 (ifunc-test-modules, ifunc-pie-tests): Define.
34220 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34221 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34222 (test-extras): Likewise.
34223 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34224 $(compile-command.c).
34225 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34226 (all-built-dso): Define.
34227 (check-textrel.out, check-execstack.out): Depend on it.
34228
77e8bddf
AS
34229 * configure.in: Don't override --enable-multi-arch.
34230
bc425b33
UD
342312011-01-15 Ulrich Drepper <drepper@gmail.com>
34232
34233 [BZ #6812]
34234 * nscd/hstcache.c (tryagain): Define.
34235 (cache_addhst): Return tryagain not notfound for temporary errors.
34236 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34237 failed.
34238
794c3ad3
UD
342392011-01-14 Ulrich Drepper <drepper@gmail.com>
34240
70181fdd
UD
34241 [BZ #10563]
34242 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34243 to make the syscall.
34244 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34245
794c3ad3
UD
34246 [BZ #12378]
34247 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34248 and fall back to matching as normal character if the string ends before
34249 the matching ']' is found. This is what POSIX requires.
34250 * posix/testfnm.c: Adjust test result.
34251 * posix/globtest.sh: Adjust test result. Add new test.
34252 * posix/tst-fnmatch.input: Likewise.
34253 * posix/tst-fnmatch2.c: Add new test.
34254
68dc9497
AS
342552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34256
34257 * elf/Makefile (check-execstack): Revert last change. Depend on
34258 check-execstack.h.
34259 (check-execstack.h): New target.
34260 (generated): Add check-execstack.h.
34261 * elf/check-execstack.c: Include "check-execstack.h".
34262 (main): Revert last change.
34263 (handle_file): Return zero if GNU_STACK is absent and
34264 DEFAULT_STACK_PERMS doesn't include PF_X.
34265
451f001b
UD
342662011-01-13 Ulrich Drepper <drepper@gmail.com>
34267
cfa28e56
UD
34268 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34269 in child fails because the descriptor is already closed.
8cf8ce17
UD
34270 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34271 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34272 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34273
1086d70d
UD
34274 [BZ #12397]
34275 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34276 syscall.
34277
451f001b
UD
34278 [BZ #10484]
34279 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34280 temporary buffer used to handle multi lookups locally.
a85b5cb4 34281 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34282
08769175
UD
342832011-01-12 Ulrich Drepper <drepper@gmail.com>
34284
34285 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34286 loader is ld.so.
34287
5e49c52e
UD
342882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34289
34290 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34291 alignment for SSE2.
34292
60522a5f
UD
342932011-01-12 Ulrich Drepper <drepper@gmail.com>
34294
34295 [BZ #12394]
34296 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34297 characters. When rounding increased number of integer digits recompute
34298 number of groups.
34299 * stdio-common/tst-grouping.c: New file.
34300 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34301
f257bbd7
UD
343022011-01-09 Ulrich Drepper <drepper@gmail.com>
34303
34304 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34305 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34306
34307 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34308 void.
34309 * bits/select.h: Likewise.
34310
fa9c15cb
UD
343112011-01-08 Ulrich Drepper <drepper@gmail.com>
34312
34313 * po/ja.po: Update from translation team.
34314
16c2895f
DM
343152011-01-04 David S. Miller <davem@sunset.davemloft.net>
34316
34317 [BZ #11155]
34318 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34319 implementation just like for lxstat, fxstatat, et al.
34320
2543fef2
JM
343212010-12-27 Jim Meyering <meyering@redhat.com>
34322
34323 [BZ #12348]
34324 * posix/regexec.c (build_trtable): Return failure indication upon
34325 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34326
98727dbe
UD
343272010-12-25 Ulrich Drepper <drepper@gmail.com>
34328
5bd6dc5c
UD
34329 [BZ #12201]
34330 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34331 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34333 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34334
97983464
UD
34335 [BZ #12207]
34336 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34337
98727dbe
UD
34338 [BZ #12204]
34339 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34340 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34341
4a531bb0
L
343422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34343
34344 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34345 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34346 script has SORT_BY_INIT_PRIORITY.
34347 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34348 NO_CTORS_DTORS_SECTIONS is defined.
34349 * elf/soinit.c: Likewise.
34350 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34351 NO_CTORS_DTORS_SECTIONS is defined.
34352 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34353 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34354 * sysdeps/sh/init-first.c: Likewise.
34355 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34356
07eb4b71
UD
343572010-12-24 Ulrich Drepper <drepper@gmail.com>
34358
34359 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34360 always use the slow path.
34361
30950a5f
RA
343622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34363
34364 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34365 similar rule which adds the sysdep directories to the header search in
34366 order to pick up the correct platform stackinfo.h.
34367 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34368 perform test if it is, otherwise return successfully without testing.
34369 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34370 DEFAULT_STACK_PERMS define in stackinfo.h.
34371 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34372 defined in stackinfo.h.
34373 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34374 DEFAULT_STACK_PERMS defined in stackinfo.h.
34375 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34376 * sysdeps/ia64/stackinfo.h: Likewise.
34377 * sysdeps/s390/stackinfo.h: Likewise.
34378 * sysdeps/sh/stackinfo.h: Likewise.
34379 * sysdeps/sparc/stackinfo.h: Likewise.
34380 * sysdeps/x86_64/stackinfo.h: Likewise.
34381 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34382 PF_X for powerpc64. Retain PF_X for powerpc32.
34383
db753e2c
UD
343842010-12-19 Ulrich Drepper <drepper@gmail.com>
34385
14b697f7
UD
34386 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34387 accurately.
db753e2c
UD
34388 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34389 GETDENTS_64BIT_ALIGNED.
34390
28300719
UD
343912010-12-14 Ulrich Drepper <dreper@gmail.com>
34392
14b697f7 34393 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34394
4f197237
AS
343952010-12-10 Andreas Schwab <schwab@redhat.com>
34396
dbb0472f
AS
34397 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34398 _GNU_SOURCE.
34399
4f197237
AS
34400 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34401 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34402 Remove __restrict.
34403 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34404 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34405
fb88ac72
UD
344062010-12-09 Ulrich Drepper <drepper@gmail.com>
34407
34408 [BZ #11655]
34409 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34410 are initialized.
34411
42acbb92
JJ
344122010-12-09 Jakub Jelinek <jakub@redhat.com>
34413
34414 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34415
c038d98d
UD
344162010-12-03 Ulrich Drepper <drepper@gmail.com>
34417
34418 * po/it.po: Update from translation team.
34419
3a4a2499
L
344202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34421
34422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34423 unused codes.
34424
1e24cf6e
UD
344252010-11-30 Ulrich Drepper <drepper@gmail.com>
34426
34427 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34428
a7690819
AS
344292010-11-24 Andreas Schwab <schwab@redhat.com>
34430
34431 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34432 specially.
34433 (gaih_getanswer_slice): Likewise.
34434
3bf8d1b1
JJ
344352010-10-20 Jakub Jelinek <jakub@redhat.com>
34436
34437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34438
6db52fbb
PB
344392010-05-31 Petr Baudis <pasky@suse.cz>
34440
34441 [BZ #11149]
34442 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34443 silently even in the chroot mode.
34444
eaca7569
UD
344452010-11-22 Ulrich Drepper <drepper@gmail.com>
34446
34447 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34448 last patch a bit. Pretty printing
34449
3056dcdb
UD
344502010-05-31 Petr Baudis <pasky@suse.cz>
34451
34452 [BZ #10085]
34453 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34454 initialization of skip_initgroups_dyn.
34455
cf7c9078
UD
344562010-11-19 Ulrich Drepper <drepper@gmail.com>
34457
34458 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34459 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34460
a1fb5e3e
UD
344612010-11-16 Ulrich Drepper <drepper@gmail.com>
34462
34463 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34464
3540d66b
AS
344652010-11-11 Andreas Schwab <schwab@redhat.com>
34466
34467 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34468 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34469 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34470 ($(objpfx)tst-fnmatch-mem): New rule.
34471 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34472 * posix/tst-fnmatch.c (main): Call mtrace.
34473
13b69574
L
344742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34475
34476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34477 Support Intel processor model 6 and model 0x2c.
34478
da93d214
LM
344792010-11-10 Luis Machado <luisgpm@br.ibm.com>
34480
34481 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34482 signed comparison.
34483
8ca52c6e
L
344842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 [BZ #12205]
34487 * string/test-strncasecmp.c (check_result): New function.
34488 (do_one_test): Use it.
34489 (check1): New function.
34490 (test_main): Use it.
34491 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34492 Support strcasecmp and strncasecmp.
34493
69da074d
UD
344942010-11-08 Ulrich Drepper <drepper@gmail.com>
34495
34496 [BZ #12194]
34497 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34499
ff02d528
L
345002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34501
34502 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34503 IFUNC support.
34504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34505 memset-x86-64.
34506 * sysdeps/x86_64/multiarch/bzero.S: New file.
34507 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34508 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34509 * sysdeps/x86_64/multiarch/memset.S: New file.
34510 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34512 Set bit_Prefer_SSE_for_memop for Intel processors.
34513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34514 Define.
34515 (index_Prefer_SSE_for_memop): Define.
34516 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34517
344d0b54
LM
345182010-11-04 Luis Machado <luisgpm@br.ibm.com>
34519
34520 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34521 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34522
c0dde15b
UD
345232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34524
34525 [BZ #12191]
34526 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34527 (__x86_64_raw_data_cache_size_half): Likewise.
34528 (__x86_64_raw_shared_cache_size): Likewise.
34529 (__x86_64_raw_shared_cache_size_half): Likewise.
34530
34531 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34532 (__x86_64_raw_data_cache_size_half): Likewise.
34533 (__x86_64_raw_shared_cache_size): Likewise.
34534 (__x86_64_raw_shared_cache_size_half): Likewise.
34535 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34536 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34537 and __x86_64_raw_shared_cache_size_half. Round
34538 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34539 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34540 to multiple of 256 bytes.
34541
0e516e0e
MS
345422010-11-03 Ulrich Drepper <drepper@gmail.com>
34543
34544 [BZ #12167]
34545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34546 of inacessible symlinks. Verify result of symlink before returning it.
34547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34548 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34549
0e012e87
ER
345502010-10-28 Erich Ritz <erichritz@gmail.com>
34551
34552 * math/math.h (isinf): Fix typo in comment.
34553
de0ff7bc
UD
345542010-11-01 Ulrich Drepper <drepper@gmail.com>
34555
34556 * po/da.po: Update from translation team.
34557
fa41c84d
UD
345582010-10-26 Ulrich Drepper <drepper@gmail.com>
34559
34560 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34561 is added to the list.
34562
f0967738
AK
345632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34564 Ulrich Drepper <drepper@gmail.com>
34565
34566 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34567 the global list here. Move code to...
34568 (_dl_add_to_namespace_list): ...here. New function.
34569 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34570 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34571 * elf/dl-load.c (lose): Don't remove the element from the list.
34572 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34573 (_dl_map_object): Likewise.
34574
345752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34576
34577 [BZ #12159]
34578 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34579 into all bytes of SSE register.
34580 Patch by Richard Li <richardpku@gmail.com>.
34581
f0967738 345822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34583
34584 [BZ #12140]
34585 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34586 perturbing.
34587
d0b9e94f
MB
345882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34589
34590 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34591 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34592 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34595 submachine.
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34597
8e9f92e9
AS
345982010-10-22 Andreas Schwab <schwab@redhat.com>
34599
34600 * include/dlfcn.h (__RTLD_SECURE): Define.
34601 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34602 mode & __RTLD_SECURE instead.
34603 (open_path): Rename preloaded parameter to secure.
34604 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34605 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34606 * elf/dl-deps.c (openaux): Likewise.
34607 * elf/rtld.c (struct map_args): Remove is_preloaded.
34608 (map_doit): Don't use it.
34609 (dl_main): Likewise.
34610 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34611 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34612
bc96fbda
AS
346132010-09-09 Andreas Schwab <schwab@redhat.com>
34614
34615 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34616 (sysd-rules-targets): Remove duplicates.
34617 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34618 rtld-%.$o dependency.
34619
22cd1c9b
AS
346202010-10-18 Andreas Schwab <schwab@redhat.com>
34621
34622 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34623 _dl_map_object do it.
34624
18edac48
UD
346252010-10-19 Ulrich Drepper <drepper@gmail.com>
34626
34627 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34628 fast fma builtins, define the macros in the C99 standard.
34629 (FP_FAST_FMAF): Likewise.
34630 (FP_FAST_FMAL): Likewise.
34631 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34632
34633 * bits/mathdef.h: Update copyright year.
34634 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34635
d2050124
MM
346362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34637
34638 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34639 builtins, define the macros in the C99 standard.
34640 (FP_FAST_FMAF): Likewise.
34641 (FP_FAST_FMAL): Likewise.
34642 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34643 multiply/add.
34644 (FP_FAST_FMAF): Likewise.
34645
475facd1
JJ
346462010-10-15 Jakub Jelinek <jakub@redhat.com>
34647
34648 [BZ #3268]
34649 * math/libm-test.inc (fma_test): Some new testcases.
34650 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34652 y and infinite z. Do multiplication by C already in long double.
34653 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34655 y and infinite z. Do bitwise or of inexact bit into u.d.
34656 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34657 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34658 * sysdeps/i386/fpu/s_fma.S: Removed.
34659 * sysdeps/i386/fpu/s_fmal.S: Removed.
34660
7c08a05c
JJ
346612010-10-16 Jakub Jelinek <jakub@redhat.com>
34662
34663 [BZ #3268]
34664 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34666 computation is not scheduled after fetestexcept. Fix value
34667 of minimum denormal long double.
34668
f3f7372d
JJ
346692010-10-14 Jakub Jelinek <jakub@redhat.com>
34670
34671 [BZ #3268]
34672 * math/libm-test.inc (fma_test): Add some more tests.
34673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34674 correctly.
34675
14d43591
AS
346762010-10-15 Andreas Schwab <schwab@redhat.com>
34677
34678 * scripts/data/localplt-s390-linux-gnu.data: New file.
34679 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34680
5e908464
JJ
346812010-10-13 Jakub Jelinek <jakub@redhat.com>
34682
34683 [BZ #3268]
34684 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34685 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34686 instead of dbl-64.
34687 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34688 inlines.
34689 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34691 if one of x and y is very large and the other is subnormal.
34692 * sysdeps/s390/fpu/s_fmaf.c: New file.
34693 * sysdeps/s390/fpu/s_fma.c: New file.
34694 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34695 * sysdeps/powerpc/fpu/s_fma.S: New file.
34696 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34697 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34698 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34699
347002010-10-12 Jakub Jelinek <jakub@redhat.com>
34701
34702 [BZ #3268]
34703 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34704 fma tests.
34705 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34706 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34707 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34708 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34709 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34710 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34712
b833d51f
UD
347132010-10-12 Ulrich Drepper <drepper@redhat.com>
34714
34715 [BZ #12078]
34716 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34717 * posix/bug-regex31.input: Add test case.
34718
1751705d
UD
347192010-10-11 Ulrich Drepper <drepper@gmail.com>
34720
e9b9cbf5
UD
34721 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34722 * posix/bug-regex31.input: New file.
34723
34724 [BZ #12078]
34725 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34726 (parse_sub_exp): Fix last change, use postorder.
34727
ef06edbe
UD
34728 * posix/bug-regex31.c: New file.
34729 * posix/Makefile: Add rules to build and run bug-regex31.
34730
a129c80d
UD
34731 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34732
34733 [BZ #12078]
34734 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34735
b76b818e
UD
34736 [BZ #12108]
34737 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34738 to have entries in sys_siglist.
34739
1751705d
UD
34740 [BZ #12093]
34741 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34742 be NULL.
34743
9ff8d36f
JJ
347442010-10-07 Jakub Jelinek <jakub@redhat.com>
34745
34746 [BZ #3268]
34747 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34748 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34749 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34750 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34751 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34752 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34753 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34754 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34755 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34756 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34757 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34758 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34759 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34760 * math/ftestexcept.c (fetestexcept): Likewise.
34761 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34762 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34763 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34764 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34765 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34766 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34768
af325969
UD
347692010-10-11 Ulrich Drepper <drepper@gmail.com>
34770
c579b202 34771 [BZ #12107]
af325969
UD
34772 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34773 newline.
34774
67a67b95
UD
347752010-10-06 Ulrich Drepper <drepper@gmail.com>
34776
34777 * string/bug-strstr1.c: New file.
34778 * string/Makefile: Add rules to build and run bug-strstr1.
34779
5fb308bc
EB
347802010-10-05 Eric Blake <eblake@redhat.com>
34781
34782 [BZ #12092]
34783 * string/str-two-way.h (two_way_long_needle): Always clear memory
34784 when skipping input due to the shift table.
34785
45db99c7
UD
347862010-10-03 Ulrich Drepper <drepper@gmail.com>
34787
3b111893
UD
34788 [BZ #12005]
34789 * malloc/mcheck.c: Handle large requests.
34790
45db99c7
UD
34791 [BZ #12077]
34792 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34793 for strncmp and strncasecmp.
34794 * string/stratcliff.c: Add tests for strcmp and strncmp.
34795 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34796
cf7a1eb8
NI
347972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34798
34799 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34800 __set_fpscr.
34801
6484ba5e
AJ
348022010-09-30 Andreas Jaeger <aj@suse.de>
34803
34804 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34805 (CGROUP_SUPER_MAGIC): Define.
34806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34807 Handle btrfs and cgroup file systems.
34808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34809 Likewise.
34810
91c42559
LM
348112010-09-27 Luis Machado <luisgpm@br.ibm.com>
34812
34813 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34814 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34815
87a97932
AK
348162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34817
34818 [BZ #12067]
34819 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34820 trying to locate the ELF header.
34821
c21cc9bc
AS
348222010-09-27 Andreas Schwab <schwab@redhat.com>
34823
34824 [BZ #11611]
34825 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34826 Mask out sign-bit copies when constructing f_fsid.
34827
315970f6
PB
348282010-09-24 Petr Baudis <pasky@suse.cz>
34829
34830 * debug/stack_chk_fail_local.c: Add missing licence exception.
34831 * debug/warning-nop.c: Likewise.
34832
1ac7a2c7
JM
348332010-09-15 Joseph Myers <joseph@codesourcery.com>
34834
34835 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34836 implementing getdents64 using getdents syscall, set d_type if
34837 __ASSUME_GETDENTS32_D_TYPE.
34838
56801c50
AS
348392010-09-16 Andreas Schwab <schwab@redhat.com>
34840
34841 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34842 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34843
dda51327
UD
348442010-09-21 Ulrich Drepper <drepper@redhat.com>
34845
34846 [BZ #12037]
34847 * posix/unistd.h: Undo change of feature selection for ftruncate from
34848 2010-01-11.
34849
8ffcee4a
UD
348502010-09-20 Ulrich Drepper <drepper@redhat.com>
34851
a545ecd9 34852 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34853 detection.
34854
e24f0a8b
AS
348552010-09-20 Andreas Schwab <schwab@redhat.com>
34856
34857 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34858 fanotify_mark.
34859 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34860
7291c56f
AS
348612010-09-14 Andreas Schwab <schwab@redhat.com>
34862
34863 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34864 variables after CHECK_SP call.
34865 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34866
bc5fb037
AS
348672010-09-13 Andreas Schwab <schwab@redhat.com>
34868 Ulrich Drepper <drepper@redhat.com>
34869
34870 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34871 re-relocationg ld.so.
34872 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34873 _dl_init_paths call.
34874 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34875 here anymore.
34876
e66e7419
UD
348772010-09-14 Ulrich Drepper <drepper@redhat.com>
34878
34879 * resolv/res_init.c (__res_vinit): Count the default server we added.
34880
c044aa75
CLT
348812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34882 Ulrich Drepper <drepper@redhat.com>
34883
34884 [BZ #11968]
34885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34886 (____longjmp_chk): Use %ebx for saving value across system call.
34887 Add unwind info.
34888
32cf4069
AS
348892010-09-06 Andreas Schwab <schwab@redhat.com>
34890
34891 * manual/Makefile: Don't mix pattern rules with normal rules.
34892
817328ee
AS
348932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34894
34895 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34896 operation.
34897 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34898 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34899 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34900 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34902 Likewise.
34903
29fddf61
UD
349042010-09-04 Ulrich Drepper <drepper@redhat.com>
34905
34906 [BZ #11979]
34907 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34908 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34909
0959ffc9
UD
349102010-09-02 Ulrich Drepper <drepper@redhat.com>
34911
34912 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34913 * sysdeps/x86_64/addmul_1.S: Likewise.
34914 * sysdeps/x86_64/lshift.S: Likewise.
34915 * sysdeps/x86_64/mul_1.S: Likewise.
34916 * sysdeps/x86_64/rshift.S: Likewise.
34917 * sysdeps/x86_64/sub_n.S: Likewise.
34918 * sysdeps/x86_64/submul_1.S: Likewise.
34919
ece29840
ST
349202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34921
0959ffc9
UD
34922 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34923 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34924 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34925 * bits/sched.h [__need_schedparam]
ece29840 34926 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34927 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34928 (__defined_schedparam): Define to 1.
ece29840
ST
34929 (__sched_param): New structure, identical to sched_param.
34930 (__need_schedparam): Undefine.
34931
e53a31fe
MF
349322010-08-31 Mike Frysinger <vapier@gentoo.org>
34933
fdc0c10d
MF
34934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34935 (epoll_create1): Declare.
34936
e53a31fe
MF
34937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34938
a726d796
AS
349392010-08-31 Andreas Schwab <schwab@redhat.com>
34940
34941 [BZ #7066]
34942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34943 shifting retval into place.
34944
2f3e3dc7
UD
349452010-09-01 Ulrich Drepper <drepper@redhat.com>
34946
f2933da9
UD
34947 * nis/rpcsvc/nis.h: Update copyright notice.
34948 * nis/rpcsvc/nis.x: Likewise.
34949 * nis/rpcsvc/nis_callback.h: Likewise.
34950 * nis/rpcsvc/nis_callback.x: Likewise.
34951 * nis/rpcsvc/nis_object.x: Likewise.
34952 * nis/rpcsvc/nis_tags.h: Likewise.
34953 * nis/rpcsvc/yp.h: Likewise.
34954 * nis/rpcsvc/yp.x: Likewise.
34955 * nis/rpcsvc/ypupd.h: Likewise.
34956 * nis/yp_xdr.c: Likewise.
34957 * nis/ypupdate_xdr.c: Likewise.
34958
2f3e3dc7
UD
34959 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34960 mainly the body of pmap_getport. Add parameters to specify timeouts.
34961 (pmap_getport): Use __libc_rpc_getport.
34962 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34963 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34964 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34965
f3dcc2f9
AS
349662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34967
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34969 fanotify_mark.
34970
6d34eb5b
RM
349712010-08-27 Roland McGrath <roland@redhat.com>
34972
34973 * sysdeps/i386/i686/multiarch/Makefile
34974 (CFLAGS-varshift.c): New variable.
34975
9ea3de11
UD
349762010-08-27 Ulrich Drepper <drepper@redhat.com>
34977
c96d23fc
UD
34978 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34979 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34980
9ea3de11
UD
34981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34982
34983 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34984
623aac7f
L
349852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34986
34987 * sysdeps/x86_64/strlen.S: Unroll the loop.
34988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34989 strlen-sse2 strlen-sse2-bsf.
34990 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34991 __strlen_no_bsf if bit_Slow_BSF is set.
34992 (__strlen_sse42): Removed.
34993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34994 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34995
8b2b7715
RM
349962010-08-25 Roland McGrath <roland@redhat.com>
34997
34998 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34999 * sysdeps/x86_64/multiarch/varshift.c: New file.
35000 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35001 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35002 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35003 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35004
e73015f2
L
350052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35006
35007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35008 strlen-sse2 strlen-sse2-bsf.
35009 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35010 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35011 (__strlen_sse2): Removed.
35012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35015 bit_Slow_BSF for Atom.
35016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35017 (index_Slow_BSF): Define.
35018 (HAS_SLOW_BSF): Define.
35019
df24a73e
UD
350202010-08-25 Ulrich Drepper <drepper@redhat.com>
35021
35022 [BZ #10851]
35023 * resolv/res_init.c (__res_vinit): When no server address at all
35024 is given default to loopback.
35025
f2ac4868
RM
350262010-08-24 Roland McGrath <roland@redhat.com>
35027
09055553
RM
35028 * configure.in: Remove config-name.h generation.
35029 * configure: Regenerated.
35030 * config-name.in: File removed.
35031 * scripts/config-uname.sh: New file.
35032 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35033 ($(objdir)config-name.h): New target.
35034
f2ac4868
RM
35035 * sunrpc/rpc_parse.h: Avoid nested comment.
35036
73f27d5e
RH
350372010-08-24 Richard Henderson <rth@redhat.com>
35038 Ulrich Drepper <drepper@redhat.com>
35039 H.J. Lu <hongjiu.lu@intel.com>
35040
35041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35043 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35044 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35045 _mm_alignr_epi8 with _mm_loadu_si128.
35046 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35047 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35048 (__m128i_shift_right): Removed.
35049 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35050 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35051 * sysdeps/x86_64/multiarch/varshift.h: New file.
35052 * sysdeps/x86_64/multiarch/varshift.S: New file.
35053
84b9230c
MF
350542010-08-21 Mike Frysinger <vapier@gentoo.org>
35055
35056 * configure.in: Move assembler checks to before sysdep dir checking.
35057
9bbd0ddc
PB
350582010-08-20 Petr Baudis <pasky@suse.cz>
35059
35060 * LICENSES: Sync the sunrpc license.
35061
9da4bb31
UD
350622010-08-19 Ulrich Drepper <drepper@redhat.com>
35063
a7ab6ec8
UD
35064 * sunrpc/auth_des.c: Update copyright notice once again.
35065 * sunrpc/auth_none.c: Likewise.
35066 * sunrpc/auth_unix.c: Likewise.
35067 * sunrpc/authdes_prot.c: Likewise.
35068 * sunrpc/authuxprot.c: Likewise.
35069 * sunrpc/bindrsvprt.c: Likewise.
35070 * sunrpc/clnt_gen.c: Likewise.
35071 * sunrpc/clnt_perr.c: Likewise.
35072 * sunrpc/clnt_raw.c: Likewise.
35073 * sunrpc/clnt_simp.c: Likewise.
35074 * sunrpc/clnt_tcp.c: Likewise.
35075 * sunrpc/clnt_udp.c: Likewise.
35076 * sunrpc/clnt_unix.c: Likewise.
35077 * sunrpc/des_crypt.c: Likewise.
35078 * sunrpc/des_soft.c: Likewise.
35079 * sunrpc/get_myaddr.c: Likewise.
35080 * sunrpc/getrpcport.c: Likewise.
35081 * sunrpc/key_call.c: Likewise.
35082 * sunrpc/key_prot.c: Likewise.
35083 * sunrpc/openchild.c: Likewise.
35084 * sunrpc/pm_getmaps.c: Likewise.
35085 * sunrpc/pm_getport.c: Likewise.
35086 * sunrpc/pmap_clnt.c: Likewise.
35087 * sunrpc/pmap_prot.c: Likewise.
35088 * sunrpc/pmap_prot2.c: Likewise.
35089 * sunrpc/pmap_rmt.c: Likewise.
35090 * sunrpc/rpc/auth.h: Likewise.
35091 * sunrpc/rpc/auth_unix.h: Likewise.
35092 * sunrpc/rpc/clnt.h: Likewise.
35093 * sunrpc/rpc/des_crypt.h: Likewise.
35094 * sunrpc/rpc/key_prot.h: Likewise.
35095 * sunrpc/rpc/netdb.h: Likewise.
35096 * sunrpc/rpc/pmap_clnt.h: Likewise.
35097 * sunrpc/rpc/pmap_prot.h: Likewise.
35098 * sunrpc/rpc/pmap_rmt.h: Likewise.
35099 * sunrpc/rpc/rpc.h: Likewise.
35100 * sunrpc/rpc/rpc_des.h: Likewise.
35101 * sunrpc/rpc/rpc_msg.h: Likewise.
35102 * sunrpc/rpc/svc.h: Likewise.
35103 * sunrpc/rpc/svc_auth.h: Likewise.
35104 * sunrpc/rpc/types.h: Likewise.
35105 * sunrpc/rpc/xdr.h: Likewise.
35106 * sunrpc/rpc_clntout.c: Likewise.
35107 * sunrpc/rpc_cmsg.c: Likewise.
35108 * sunrpc/rpc_common.c: Likewise.
35109 * sunrpc/rpc_cout.c: Likewise.
35110 * sunrpc/rpc_dtable.c: Likewise.
35111 * sunrpc/rpc_hout.c: Likewise.
35112 * sunrpc/rpc_main.c: Likewise.
35113 * sunrpc/rpc_parse.c: Likewise.
35114 * sunrpc/rpc_parse.h: Likewise.
35115 * sunrpc/rpc_prot.c: Likewise.
35116 * sunrpc/rpc_sample.c: Likewise.
35117 * sunrpc/rpc_scan.c: Likewise.
35118 * sunrpc/rpc_scan.h: Likewise.
35119 * sunrpc/rpc_svcout.c: Likewise.
35120 * sunrpc/rpc_tblout.c: Likewise.
35121 * sunrpc/rpc_util.c: Likewise.
35122 * sunrpc/rpc_util.h: Likewise.
35123 * sunrpc/rpcinfo.c: Likewise.
35124 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35125 * sunrpc/rpcsvc/key_prot.x: Likewise.
35126 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35127 * sunrpc/rpcsvc/mount.x: Likewise.
35128 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35129 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35130 * sunrpc/rpcsvc/rex.x: Likewise.
35131 * sunrpc/rpcsvc/rstat.x: Likewise.
35132 * sunrpc/rpcsvc/rusers.x: Likewise.
35133 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35134 * sunrpc/rpcsvc/spray.x: Likewise.
35135 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35136 * sunrpc/rtime.c: Likewise.
35137 * sunrpc/svc.c: Likewise.
35138 * sunrpc/svc_auth.c: Likewise.
35139 * sunrpc/svc_authux.c: Likewise.
35140 * sunrpc/svc_raw.c: Likewise.
35141 * sunrpc/svc_run.c: Likewise.
35142 * sunrpc/svc_simple.c: Likewise.
35143 * sunrpc/svc_tcp.c: Likewise.
35144 * sunrpc/svc_udp.c: Likewise.
35145 * sunrpc/svc_unix.c: Likewise.
35146 * sunrpc/svcauth_des.c: Likewise.
35147 * sunrpc/xcrypt.c: Likewise.
35148 * sunrpc/xdr.c: Likewise.
35149 * sunrpc/xdr_array.c: Likewise.
35150 * sunrpc/xdr_float.c: Likewise.
35151 * sunrpc/xdr_mem.c: Likewise.
35152 * sunrpc/xdr_rec.c: Likewise.
35153 * sunrpc/xdr_ref.c: Likewise.
35154 * sunrpc/xdr_sizeof.c: Likewise.
35155 * sunrpc/xdr_stdio.c: Likewise.
35156
9da4bb31
UD
35157 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35158 handling.
35159
bdaa77bc
AS
351602010-08-19 Andreas Schwab <schwab@redhat.com>
35161
35162 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35163
fe2f79db
LM
351642010-08-19 Luis Machado <luisgpm@br.ibm.com>
35165
35166 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35167 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35168 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35169 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35170 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35171 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35172 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35173 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35176 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35177 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35178 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35179 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35180
b9b42ee0
AB
351812010-07-26 Anton Blanchard <anton@samba.org>
35182
35183 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35184 * malloc/arena.c (heap_trim): Likewise.
35185
1c06ba31
UD
351862010-08-16 Ulrich Drepper <drepper@redhat.com>
35187
35188 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35189 here. Not...
35190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35191 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35192
f8392f40
L
351932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35194
35195 * sysdeps/i386/elf/Makefile: New file.
35196
3162f12e
AS
351972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35198
35199 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35200 from fanotify_init.
35201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35203
28c90b2c
UD
352042010-08-15 Ulrich Drepper <drepper@redhat.com>
35205
35206 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35207 of strncasecmp_l.
1feccb6c 35208 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35209
ca6bb004
UD
352102010-08-14 Ulrich Drepper <drepper@redhat.com>
35211
e9f82e0d
UD
35212 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35213 strncase_l-nonascii.
35214 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35215 Add strncase_l-ssse3.
35216 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35217 * sysdeps/x86_64/strcmp.S: Likewise.
35218 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35219 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35220 * sysdeps/x86_64/strncase.S: New file.
35221 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35222 * sysdeps/x86_64/strncase_l.S: New file.
35223 * string/Makefile (strop-tests): Add strncasecmp.
35224 * string/test-strncasecmp.c: New file.
35225
35226 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35227 warning.
35228
ca6bb004
UD
35229 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35230 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35231
052fa7b3
AS
352322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35233
35234 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35235
962dba78
UD
352362010-08-12 Ulrich Drepper <drepper@redhat.com>
35237
35238 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35241
bebff237
AM
352422010-05-01 Alan Modra <amodra@gmail.com>
35243
35244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35245 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35246 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35247 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35248 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35249 tidying. Don't tail-call __sigjmp_save for static lib.
35250 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35251 save location.
35252 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35253 (CALL_MCOUNT): Add eh info, and nop after bl.
35254 (TAIL_CALL_SYSCALL_ERROR): New macro.
35255 (PSEUDO_RET): Use it.
35256 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35257 Correct save location of integer regs and cr.
35258 (_dl_profile_resolve): Correct cr save location. Delete nops
35259 after bl when SHARED. Reduce cfi size a little by better
35260 placement of cfi directives.
35261 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35262 make a stack frame. Instead use parm save area as a temp.
35263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35264 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35266 Don't make a stack frame for parent, use parm save area.
35267 Increase child stack frame to 112 bytes. Don't save unused reg,
35268 and adjust reg usage. Set up cfi on error recovery and
35269 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35271 (__makecontext): Add dummy nop after jump to exit.
35272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35273 Use correct parm save area and cr save, reduce stack frame.
35274 Correct cfi for possible PSEUDO_RET frame setup.
35275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35276 Branch to local label emitted by PSEUDO_RET rather than
35277 __syscall_error.
35278
02637374
AS
352792010-08-12 Andreas Schwab <schwab@redhat.com>
35280
35281 [BZ #11904]
35282 * locale/programs/locale.c (print_assignment): New function.
35283 (show_locale_vars): Use it.
35284
c3e2f19b
UD
352852010-08-11 Ulrich Drepper <drepper@redhat.com>
35286
3cdaa6ad
UD
35287 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35288 field.
35289 (struct statfs64): Likewise.
35290 (_STATFS_F_FLAGS): Define.
35291 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35292 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35293 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35294 (ST_VALID): Define locally.
35295 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35296 __statvfs_getflags, use the provided value.
35297 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35298 __ASSUME_STATFS_F_FLAGS.
35299
754f7da3
UD
35300 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35301
10b3bedc
UD
35302 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35303 Add sys/fanotify.h.
35304 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35305 fanotify_mask for GLIBC_2.13.
35306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35307 fanotify_init and fanotify_mark.
35308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35309 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35310
c08fb0d7
UD
35311 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35312 Add prlimit.
35313 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35314 prlimit64 for GLIBC_2.13.
35315 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35316 prlimit64.
35317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35318 syscall.
35319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35320 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35321 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35322 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35324 add prlimit alias.
35325 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35326
15bac72b
UD
35327 [BZ #11903]
35328 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35329 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35330
c3e2f19b
UD
35331 * nss/Makefile: Add rules to build and run tst-nss-test1.
35332 * shlib-versions: Add entry for libnss_test1.
35333 * nss/nss_test1.c: New file.
35334 * nss/tst-nss-test1.c: New file.
35335
35336 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35337 (__nss_configure_lookup): Set appropriate entry in
35338 __nss_configure_lookup to true.
35339 * nss/nsswitch.h: Define enum with indeces of databases in
35340 databases and __nss_database_custom arrays. Declare
35341 __nss_database_custom.
35342 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35343 to avoid using nscd when custom rules are installed.
35344 * nss/getXXbyYY_r.c: Likewise.
35345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35346
35347 * nss/nss_files/files-parse.c: Whitespace fixes.
35348
f15ce4d8
UD
353492010-08-09 Ulrich Drepper <drepper@redhat.com>
35350
35351 [BZ #11883]
35352 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35353 * posix/fnmatch_loop.c: Likewise.
35354
d22e4cc9
AK
353552010-07-17 Andi Kleen <ak@linux.intel.com>
35356
35357 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35358 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35359 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35360 * Versions.def [GLIBC_2.13]: Add.
35361
805bc17d
UD
353622010-08-06 Ulrich Drepper <drepper@redhat.com>
35363
35364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35365 Also fail if tpwd after pwuid call is NULL.
35366
5a42321d
ST
353672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35368
35369 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35370 when converting to ms.
35371
fd3ebeda
ST
353722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35373
35374 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35375 EOPNOTSUPP errors with ENOTTY.
35376 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35377 EOPNOTSUPP errors with ENOTTY.
35378
73507d3a
UD
353792010-07-31 Ulrich Drepper <drepper@redhat.com>
35380
35381 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35382 Add strcasecmp_l-ssse3.
35383 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35384 strcasecmp.
35385 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35386 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35387 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35388
fe36dd02
UD
353892010-07-30 Ulrich Drepper <drepper@redhat.com>
35390
66f6765a
UD
35391 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35392
42e08a54
UD
35393 * string/Makefile (strop-tests): Add strcasecmp.
35394 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35395 strcasecmp_l-nonascii.
35396 (gen-as-const-headers): Add locale-defines.sym.
35397 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35398 * sysdeps/x86_64/strcasecmp.S: New file.
35399 * sysdeps/x86_64/strcasecmp_l.S: New file.
35400 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35401 * sysdeps/x86_64/locale-defines.sym: New file.
35402 * string/test-strcasecmp.c: New file.
35403
fe36dd02
UD
35404 * string/test-strcasestr.c: Test both ends of the range of characters.
35405 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35406
48cbc0d6
RM
354072010-07-29 Roland McGrath <roland@redhat.com>
35408
76e6d6bc 35409 [BZ #11856]
48cbc0d6
RM
35410 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35411
880113d9
UD
354122010-07-27 Ulrich Drepper <drepper@redhat.com>
35413
35414 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35415 for ld.so.
35416
deb9cabb
AS
354172010-07-27 Andreas Schwab <schwab@redhat.com>
35418
35419 * manual/memory.texi (Malloc Tunable Parameters): Document
35420 M_PERTURB.
35421
1c7570ff
RM
354222010-07-26 Roland McGrath <roland@redhat.com>
35423
35424 [BZ #11840]
35425 * configure.in (-fgnu89-inline check): Set and substitute
35426 gnu89_inline, not libc_cv_gnu89_inline.
35427 * configure: Regenerated.
35428 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35429
24fb0f88
UD
354302010-07-26 Ulrich Drepper <drepper@redhat.com>
35431
35432 * string/test-strnlen.c: New file.
35433 * string/Makefile (strop-tests): Add strnlen.
35434 * string/tester.c (test_strnlen): Add a few more test cases.
35435 * string/tst-strlen.c: Better error reporting.
35436
35437 * sysdeps/x86_64/strnlen.S: New file.
35438
8e96b93a
UD
354392010-07-24 Ulrich Drepper <drepper@redhat.com>
35440
35441 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35442 lower-latency instructions.
35443
dbc676d4
UD
354442010-07-23 Ulrich Drepper <drepper@redhat.com>
35445
35446 * string/test-strcasestr.c: New file.
35447 * string/test-strstr.c: New file.
35448 * string/Makefile (strop-tests): Add strstr and strcasestr.
35449 * string/str-two-way.h: Don't undefine MAX.
35450 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35451
f6a31e0e
AS
354522010-07-21 Andreas Schwab <schwab@redhat.com>
35453
35454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35455 strcasestr-nonascii.
35456 (CFLAGS-strcasestr-nonascii.c): Define.
35457 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35459 Remove unused attribute.
35460
5dbc3b6c
RM
354612010-07-20 Roland McGrath <roland@redhat.com>
35462
35463 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35464 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35465 ld.so.cache was broken. With it, there is no way to disable dsocaps
35466 like LD_HWCAP_MASK can disable hwcaps.
35467
23d101d8
EPM
354682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35469
35470 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35471
cc9f2e47
UD
354722010-07-16 Ulrich Drepper <drepper@redhat.com>
35473
35474 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35475 call in strcasestr.
35476 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35477 __strcasestr_sse42_nonascii.
35478 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35479 strcasestr-nonascii.c.
35480 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35481
77c1b069
LM
354822010-06-15 Luis Machado <luisgpm@br.ibm.com>
35483
35484 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35485 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35487 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35488
440566c3
UD
354892010-07-09 Ulrich Drepper <drepper@redhat.com>
35490
35491 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35492 fcntl.
35493
5be9d05d
AS
354942010-07-06 Andreas Schwab <schwab@redhat.com>
35495
c30b7ee2 35496 [BZ #11577]
5be9d05d
AS
35497 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35498 dl_signal_cerror.
35499
8a492a67
UD
355002010-07-06 Ulrich Drepper <drepper@redhat.com>
35501
35502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35503 _PC_PIPE_BUF using F_GETPIPE_SZ.
35504
713df3d5
RM
355052010-07-05 Roland McGrath <roland@redhat.com>
35506
35507 * manual/arith.texi (Rounding Functions): Fix rint description
35508 implicit in round description.
35509
702e8f14
UD
355102010-07-02 Ulrich Drepper <drepper@redhat.com>
35511
35512 * elf/Makefile: Fix linking for a few tests to make recent linker
35513 happy.
35514
52ed8be9
AS
355152010-06-30 Andreas Schwab <schwab@redhat.com>
35516
35517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35518 $(common-objpfx)libc_nonshared.a.
35519
f47c9a11
LM
355202010-06-21 Luis Machado <luisgpm@br.ibm.com>
35521
35522 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35523 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35524 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35525 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35526 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35527 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35528 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35529 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35544 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35545 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35546 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35547 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35548 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35549 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35550 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35551 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35552 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35553 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35554 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35555 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35570
6fb8cbcb
L
355712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35572
35573 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35574 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35575 * string/memmove.c (memmove): Renamed to ...
35576 (MEMMOVE): ...this. Default to memmove.
35577 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35578 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35579 (END_CHK): Define.
35580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35581 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35582 mempcpy-ssse3-back memmove-ssse3-back.
35583 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35585 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35586 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35587 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35588 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35589 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35590 * sysdeps/x86_64/multiarch/memmove.c: New file.
35591 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35592 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35593 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35594 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35595 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35597 Define.
35598 (index_Fast_Copy_Backward): Define.
35599 (HAS_ARCH_FEATURE): Define.
35600 (HAS_FAST_REP_STRING): Define.
35601 (HAS_FAST_COPY_BACKWARD): Define.
35602
4e733bac 356032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35604
35605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35606 Restore proper fallback handling.
35607
63c4ed22
UD
356082010-06-19 Ulrich Drepper <drepper@redhat.com>
35609
ac2b484c
UD
35610 [BZ #11701]
35611 * posix/group_member.c (__group_member): Correct checking loop.
35612
63c4ed22
UD
35613 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35614 OOM in getpwuid_r correctly. Return error number when the caller
35615 should return, otherwise -1.
35616 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35617 call returning > 0 value.
35618 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35619
765ade4b
AS
356202010-06-07 Andreas Schwab <schwab@redhat.com>
35621
35622 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35623 libc_nonshared.a from targets in modules-names.
35624
80da2e09
KS
356252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35626
35627 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35628 requires it.
35629
158db122
LM
356302010-06-10 Luis Machado <luisgpm@br.ibm.com>
35631
35632 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35633 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35635 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35636
caa78cf8
AS
356372010-06-02 Andreas Schwab <schwab@redhat.com>
35638
35639 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35640
b2ef2c01
UD
356412010-06-14 Ulrich Drepper <drepper@redhat.com>
35642
35643 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35644 and F_GETPIPE_SZ.
35645 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35650 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35651
fbd643b6
RM
356522010-06-14 Roland McGrath <roland@redhat.com>
35653
35654 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35655
f32f2869
JJ
356562010-06-07 Jakub Jelinek <jakub@redhat.com>
35657
35658 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35659 __REDIRECT followed by __THROW.
35660 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35661 * posix/getopt.h (getopt): Likewise.
35662
2a50c078
EPM
356632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35664
35665 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35666 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35667 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35668 in AT_FLAGS.
35669 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35670 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35671
eb5ad2eb
LM
356722010-05-28 Luis Machado <luisgpm@br.ibm.com>
35673
35674 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35675
3c88fe1e
L
356762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35677
35678 [BZ #11640]
35679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35680 Properly check family and model.
35681
d2f73151
TY
356822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35683
35684 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35685
ebd2e13d
LM
356862010-05-24 Luis Machado <luisgpm@br.ibm.com>
35687
35688 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35689
b32b8b45
UD
356902010-05-21 Ulrich Drepper <drepper@redhat.com>
35691
35692 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35693 symbol reference.
35694
9acbe24d
AS
356952010-05-19 Andreas Schwab <schwab@redhat.com>
35696
35697 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35698 symbol reference.
35699
f0ccf6ea
AS
357002010-05-21 Andreas Schwab <schwab@redhat.com>
35701
3d04ff3a
AS
35702 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35703 and internal_recvmmsg.
35704 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35705 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35706 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35707 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35708
f0ccf6ea
AS
35709 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35710 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35711 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35712
5b08ac57
AS
357132010-05-20 Andreas Schwab <schwab@redhat.com>
35714
35715 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35716
4828935d
LM
357172010-05-17 Luis Machado <luisgpm@br.ibm.com>
35718
35719 POWER7 optimizations.
35720 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35721 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35722
373d545e
UD
357232010-05-19 Ulrich Drepper <drepper@redhat.com>
35724
35725 * version.h: Update for 2.13 development version.
35726
21a2b1ae
AS
357272010-05-12 Andrew Stubbs <ams@codesourcery.com>
35728
35729 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35730 exceptions. Return 0.
35731
3f7dcb2b
RM
357322010-05-07 Roland McGrath <roland@redhat.com>
35733
35734 * elf/ldconfig.c (main): Add a const.
35735
5f24d53a 357362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35737
a160f8d8
UD
35738 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35739 (args_options): Add no-idn option.
35740 (ahosts_keys_int): Add idn_flags to ai_flags.
35741 (parse_option): Handle 'i' option to clear idn_flags.
35742
5f24d53a
UD
35743 * malloc/malloc.c (_int_free): Possible race in the most recently
35744 added check. Only act on the data if no current modification
35745 happened.
265bb1ce
UD
35746
35747See ChangeLog.17 for earlier changes.