]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add bug number to ChangeLog and NEWS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
18d14251
AJ
12013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2
3d2e6075 3 [BZ #16289]
18d14251
AJ
4 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
5 division by 0.
6
520d437b
SP
72013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8
9 [BZ #16195]
10 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12 (STAP_PROBE0): New macro.
13 (STAP_PROBE1): Likewise.
14 (STAP_PROBE2): Likewise.
15 (STAP_PROBE3): Likewise.
16 (STAP_PROBE4): Likewise.
17
416e0145
OB
182013-12-02 Ondřej Bílka <neleai@seznam.cz>
19
20 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21
9d17796a
SE
222013-12-02 Steve Ellcey <sellcey@mips.com>
23
24 * benchtests/Makefile (bench): Add sqrt.
25 (LDLIBS-bench-sqrt): New.
26 * benchtests/sqrt-input: New.
27
f524d6a8
PS
282013-12-02 Pavel Simerda <psimerda@redhat.com>
29
639a0ef8
PS
30 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
31 (GAIH_EAI): Likewise.
32 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33 (gaih_inet): Likewise.
34 (getaddrinfo): Don't use GAIH_EAI.
35
f524d6a8
PS
36 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37 (struct gaih): Remove definition.
38
df3aedaf
SP
392013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40
41 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42 Use HERRNOP directly.
43
1ab19dec
AZ
442013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
b42ad38d 46 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 47
176b0c79
JM
482013-11-30 Joseph Myers <joseph@codesourcery.com>
49
50 * math/gen-auto-libm-tests.c (test_functions): Add more
51 single-argument functions.
52 (special_fill_pi_2): New function.
53 (special_fill_minus_pi_2): Likewise.
54 (special_fill_pi_6): Likewise.
55 (special_fill_minus_pi_6): Likewise.
56 (special_fill_pi_3): Likewise.
57 (special_fill_2pi_3): Likewise.
58 (special_fill_e): Likewise.
59 (special_fill_1_e): Likewise.
60 (special_fill_e_minus_1): Likewise.
61 (special_real_inputs): Add more special inputs.
62 (output_for_one_input_case): Do not require ERANGE on underflow to
63 zero if round-to-nearest result does not underflow to zero, unless
64 exact results required.
65 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
66 atan, atanh, cbrt, cos and cosh.
67 * math/auto-libm-test-out: Regenerated.
68 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
69 (acos_tonearest_test_data): Likewise.
70 (acos_towardzero_test_data): Likewise.
71 (acos_downward_test_data): Likewise.
72 (acos_upward_test_data): Likewise.
73 (acosh_test_data): Likewise.
74 (asin_test_data): Likewise.
75 (asin_tonearest_test_data): Likewise.
76 (asin_towardzero_test_data): Likewise.
77 (asin_upward_test_data): Likewise.
78 (asinh_test_data): Likewise.
79 (atan_test_data): Likewise.
80 (atanh_test_data): Likewise.
81 (cbrt_test_data): Likewise.
82 (cos_test_data): Likewise.
83 (cos_tonearest_test_data): Likewise.
84 (cos_towardzero_test_data): Likewise.
85 (cos_downward_test_data): Likewise.
86 (cos_upward_test_data): Likewise.
87 (cosh_test_data): Likewise.
88 (cosh_tonearest_test_data): Likewise.
89 (cosh_towardzero_test_data): Likewise.
90 (cosh_downward_test_data): Likewise.
91 (cosh_upward_test_data): Likewise.
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
93 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94
ffb536d0
JM
952013-11-29 Joseph Myers <joseph@codesourcery.com>
96
2a77a467
JM
97 [BZ #6787]
98 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
99 * math/w_exp10f.c (__exp10f): Likewise.
100 * math/w_exp10l.c (__exp10l): Likewise.
101 * math/libm-test.inc (exp10_test_data): Add more tests and expect
102 errno settings in existing tests.
103
ea3bc4e8
JM
104 [BZ #14032]
105 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
106 precision control set to double precision.
107 * sysdeps/i386/fpu/w_sqrt.c: New file.
108 * math/auto-libm-test-in: Add more tests.
109 * math/auto-libm-test-out: Update.
110
0712c9d8
JM
111 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
112 (sqrt_test_tonearest): New function.
113 (sqrt_towardzero_test_data): New variable.
114 (sqrt_test_towardzero): New function.
115 (sqrt_downward_test_data): New variable.
116 (sqrt_test_downward): New function.
117 (sqrt_upward_test_data): New variable.
118 (sqrt_test_upward): New function.
119 (main): Call the new functions.
120
ffb536d0
JM
121 * math/gen-auto-libm-tests.c: New file.
122 * math/auto-libm-test-in: Likewise.
123 * math/auto-libm-test-out: New generated file.
124 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
125 variables.
126 (%beautify): Add generated representations of zero.
127 (top level): Set $auto_input and call parse_auto_input.
128 (beautify): Remove trailing "f" from hex float constants.
129 (parse_args): Handle XFAIL_TEST.
130 (convert_condition): New function.
131 (or_value): Likewise.
132 (or_cond_value): Likewise.
133 (generate_testfile): Handle AUTO_TESTS_* lines.
134 (parse_auto_input): New function.
135 * math/libm-test.inc (XFAIL_TEST): New macro.
136 (ERRNO_UNCHANGED): Update value.
137 (ERRNO_EDOM): Likewise.
138 (ERRNO_ERANGE): Likewise.
139 (IGNORE_RESULT): Likewise.
140 (TEST_COND_flt_32): New macro.
141 (TEST_COND_dbl_64): Likewise.
142 (TEST_COND_ldbl_96_intel): Likewise.
143 (TEST_COND_ldbl_96_m68k): Likewise.
144 (TEST_COND_ldbl_128): Likewise.
145 (TEST_COND_ldbl_128ibm): Likewise.
146 (TEST_COND_long32): Likewise.
147 (TEST_COND_long64): Likewise.
148 (TEST_COND_before_rounding): Likewise.
149 (TEST_COND_after_rounding): Likewise.
150 (enable_test): Handle XFAIL_TEST flag.
151 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
152 with finite results.
153 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
154 auto-libm-test-out.
155
acd98a8e
AK
1562013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
157 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
158
159 [BZ #16214]
160 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
161 __tls_get_addr_internal instead of __tls_get_offset in order to
162 avoid GOT pointer dependency. Make rtld export
163 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
164 __tls_get_addr since we are a __tls_get_offset platform.
165 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
166 GOT pointer being set up before.
167 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
168
3c1c46a6
JM
1692013-11-28 Joseph Myers <joseph@codesourcery.com>
170
7475aef5
JM
171 * manual/math.texi (Errors in Math Functions): Document accuracy
172 goals.
173
8bca7cd8
JM
174 [BZ #15004]
175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
176 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
178 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
179 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
180 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
181 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
182 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
183 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
184 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
185 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
186 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
187 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
188 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
189 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
190 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
191
91a1f3fe
JM
192 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
193 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
194 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
195 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
196 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
197 Likewise.
198 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
199 Likewise.
200 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
201 Likewise.
202 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
203 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
204 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
205 atomic-feupdateenv and flt-rounds.
206 * sysdeps/powerpc/nofpu/Versions (libc): Add
207 __atomic_feholdexcept, __atomic_feclearexcept,
208 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
209 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
210 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
211 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
212 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
213 here.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
215 Update.
216
c5df7609
JM
217 * manual/arith.texi (FP Exceptions): Document that exceptions may
218 not be raised when matherr is used.
219 (Math Error Reporting): Document overflow in directed rounding
220 modes. Document that errno may not be set when finite values are
221 returned on overflow. Document intent to set errno on underflow
222 only for underflow to zero.
223
3c1c46a6
JM
224 [BZ #16271]
225 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
226 round-to-nearest then adjust result for other rounding modes.
227 * include/fenv.h (fegetround): Use libm_hidden_proto.
228 * math/fegetround.c (fegetround): Use libm_hidden_def.
229 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
230 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
231 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
232 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
233 Likewise.
234 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
235 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
236 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
237 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
238
5a4c6d53
SP
2392013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
240
241 [BZ #16077]
242 * nss/Versions (libnss_files): Add
243 _nss_files_gethostbyname3_r.
244 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
245 New function.
246 (HOST_DB_LOOKUP): Remove macro.
247 (_nss_files_gethostbyname_r): Implement function without the
248 HOST_DB_LOOKUP macro.
249 (_nss_files_gethostbyname2_r): Likewise.
250
897b98ba
OB
2512013-11-28 Ondřej Bílka <neleai@seznam.cz>
252
253 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
254
6f476861
UB
2552013-11-26 Uros Bizjak <ubizjak@gmail.com>
256
257 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
258 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
259 warning.
260
bd12ab55
AZ
2612013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262
263 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
264 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
265 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
266 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
267 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
268 __fe_nomask_env_priv and attribute_hidden.
269 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
270 (libc_feupdateenv_test_ppc): Likewise.
271 (libc_feresetround_ppc): Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
273 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
274 compat_symbol macro.
275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
276 (__fe_nomask_env): Likewise.
277 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
278
52bb6543
OB
2792013-11-26 Ondřej Bílka <neleai@seznam.cz>
280
281 * string/Makefile: Remove ifunc tests.
282 * string/test-string.h: Define TEST_IFUNC.
283 * string/test-bcopy-ifunc.c: Remove.
284 * string/test-bzero-ifunc.c: Likewise.
285 * string/test-memccpy-ifunc.c: Likewise.
286 * string/test-memchr-ifunc.c: Likewise.
287 * string/test-memcmp-ifunc.c: Likewise.
288 * string/test-memcpy-ifunc.c: Likewise.
289 * string/test-memmem-ifunc.c: Likewise.
290 * string/test-memmove-ifunc.c: Likewise.
291 * string/test-mempcpy-ifunc.c: Likewise.
292 * string/test-memrchr-ifunc.c: Likewise.
293 * string/test-memset-ifunc.c: Likewise.
294 * string/test-rawmemchr-ifunc.c: Likewise.
295 * string/test-stpcpy-ifunc.c: Likewise.
296 * string/test-stpncpy-ifunc.c: Likewise.
297 * string/test-strcasecmp-ifunc.c: Likewise.
298 * string/test-strcasestr-ifunc.c: Likewise.
299 * string/test-strcat-ifunc.c: Likewise.
300 * string/test-strchr-ifunc.c: Likewise.
301 * string/test-strchrnul-ifunc.c: Likewise.
302 * string/test-strcmp-ifunc.c: Likewise.
303 * string/test-strcpy-ifunc.c: Likewise.
304 * string/test-strcspn-ifunc.c: Likewise.
305 * string/test-strlen-ifunc.c: Likewise.
306 * string/test-strncasecmp-ifunc.c: Likewise.
307 * string/test-strncat-ifunc.c: Likewise.
308 * string/test-strncmp-ifunc.c: Likewise.
309 * string/test-strncpy-ifunc.c: Likewise.
310 * string/test-strnlen-ifunc.c: Likewise.
311 * string/test-strpbrk-ifunc.c: Likewise.
312 * string/test-strrchr-ifunc.c: Likewise.
313 * string/test-strspn-ifunc.c: Likewise.
314 * string/test-strstr-ifunc.c: Likewise.
315
ab260039 3162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
317
318 * benchtests/Makefile: Remove ifunc tests.
319 * benchtests/bench-string.h: Define TEST_IFUNC.
320 * benchtests/bench-bcopy-ifunc.c: Remove.
321 * benchtests/bench-bzero-ifunc.c: Likewise.
322 * benchtests/bench-memccpy-ifunc.c: Likewise.
323 * benchtests/bench-memchr-ifunc.c: Likewise.
324 * benchtests/bench-memcmp-ifunc.c: Likewise.
325 * benchtests/bench-memcpy-ifunc.c: Likewise.
326 * benchtests/bench-memmem-ifunc.c: Likewise.
327 * benchtests/bench-memmove-ifunc.c: Likewise.
328 * benchtests/bench-mempcpy-ifunc.c: Likewise.
329 * benchtests/bench-memrchr-ifunc.c: Likewise.
330 * benchtests/bench-memset-ifunc.c: Likewise.
331 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
332 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
333 * benchtests/bench-stpcpy-ifunc.c: Likewise.
334 * benchtests/bench-stpncpy-ifunc.c: Likewise.
335 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
336 * benchtests/bench-strcasestr-ifunc.c: Likewise.
337 * benchtests/bench-strcat-ifunc.c: Likewise.
338 * benchtests/bench-strchr-ifunc.c: Likewise.
339 * benchtests/bench-strchrnul-ifunc.c: Likewise.
340 * benchtests/bench-strcmp-ifunc.c: Likewise.
341 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
342 * benchtests/bench-strcpy-ifunc.c: Likewise.
343 * benchtests/bench-strcspn-ifunc.c: Likewise.
344 * benchtests/bench-strlen-ifunc.c: Likewise.
345 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
346 * benchtests/bench-strncat-ifunc.c: Likewise.
347 * benchtests/bench-strncmp-ifunc.c: Likewise.
348 * benchtests/bench-strncpy-ifunc.c: Likewise.
349 * benchtests/bench-strnlen-ifunc.c: Likewise.
350 * benchtests/bench-strpbrk-ifunc.c: Likewise.
351 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 352 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
353 * benchtests/bench-strspn-ifunc.c: Likewise.
354 * benchtests/bench-strstr-ifunc.c: Likewise.
355
3562013-11-26 Ondřej Bílka <neleai@seznam.cz>
357
ab260039
OB
358 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
359
d1d9eaf4 3602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 361
d1d9eaf4
OB
362 * resolv/netdb.h: Use __glibc_reserved instead __unused.
363 * rt/aio.h: Likewise.
364 * sysdeps/gnu/bits/utmp.h: Likewise.
365 * sysdeps/gnu/bits/utmpx.h: Likewise.
366 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
367 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
368 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
369 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
370 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
371 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
372 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
373 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
375 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
381 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
383 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
384 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
385 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
386 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
387 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
388 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
389 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
390 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
393 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
394 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
395 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
396 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
397 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
398 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
399 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
401 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
402 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
403 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
404 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
405 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
406 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
407 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
408
a7624ed9
CD
4092013-11-25 Carlos O'Donell <carlos@redhat.com>
410
411 [BZ #16245]
412 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
413 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
414
63cfe52b
JM
4152013-11-25 Joseph Myers <joseph@codesourcery.com>
416
417 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
418 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
419 Likewise.
420
41e8926a
AZ
4212013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422
423 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
424 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
425 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
426 (__fesetround): Remove define.
427 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
428 rounding and exceptions handling.
429 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
430 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
431 (__fe_nomask_env): Likewise.
432 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
433 __fegetround instead of fegetround.
434 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
436
6851bd4d
RM
4372013-11-21 Roland McGrath <roland@hack.frob.com>
438
070906ff
RM
439 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
440 it's there.
441
6851bd4d
RM
442 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
443
84ae135d
MI
4442013-11-21 Meador Inge <meadori@codesourcery.com>
445
446 [BZ #11157]
447 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
448 (encrypt_r): Likewise.
449 * malloc/obstack.h (obstack_free): Likewise.
450 * posix/unistd.h (encrypt): Likewise.
451
daf75146
GM
4522013-11-21 Guy Martin <gmsoft@tuxicoman.be>
453
454 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
455 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
456 DL_CALL_DT_FINI() that call the functions directly.
457 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
458 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
459 * elf/dl-fini.c: Likewise.
460
10ad46bc
OB
4612013-11-20 Ondřej Bílka <neleai@seznam.cz>
462
463 * malloc/hooks.c (memalign_check): Add alignment rounding.
464 * malloc/malloc.c (_mid_memalign): New function.
465 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
466 Implement by calling _mid_memalign.
467 * manual/probes.texi (Memory Allocation Probes): Remove
468 memory_valloc_retry and memory_pvalloc_retry.
469
f3fd2628
SP
4702013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
471
4712799f
SP
472 * locale/programs/locarchive.c (open_archive): Add const
473 qualifier to ARCHIVEFNAME and copy default fname to
474 DEFAULT_FNAME.
475
0417b20f
SP
476 [BZ #15601]
477 * libio/tst-widetext.input: Rename Oriya to Odia.
478 * locale/iso-639.def: Likewise.
479
f3fd2628
SP
480 * manual/probes.texi (Mathematical Function Probes): Add
481 documentation for sin, cos, asin and acos probes.
482 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
483 (__sin32): Add slowasin probe.
484 (__cos32): Add slowacos probe.
485 (__mpsin): Add slowsin probe.
486 (__mpcos): Add slowcos probe.
487
73c1ce4f
JM
4882013-11-19 Joseph Myers <joseph@codesourcery.com>
489
490 [BZ #15483]
491 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
492 thread-local __sim_exceptions_thread and global
493 __sim_exceptions_global.
494 (__sim_disabled_exceptions): Change to thread-local
495 __sim_disabled_exceptions_thread and global
496 __sim_disabled_exceptions_global.
497 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
498 and global __sim_round_mode_global.
499 (__simulate_exceptions): Use thread-local floating-point state and
500 set global state from it as needed.
501 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
502 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
503 __sim_round_mode_thread.
504 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
505 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
506 and global __sim_exceptions_global.
507 (__sim_disabled_exceptions): Change to thread-local
508 __sim_disabled_exceptions_thread and global
509 __sim_disabled_exceptions_global.
510 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
511 and global __sim_round_mode_global.
512 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
513 (SIM_SET_GLOBAL): Likewise.
514 * sysdeps/powerpc/soft-fp/sfp-machine.h
515 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
516 __sim_round_mode_thread.
517 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
518 __sim_disabled_exceptions_thread.
519 (__sim_exceptions): Change to __sim_exceptions_thread.
520 (__sim_disabled_exceptions): Change to
521 __sim_disabled_exceptions_thread.
522 (__sim_round_mode): Change to __sim_round_mode_thread.
523 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
524 thread-local floating-point state and set global state from it as
525 needed.
526 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
527 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
528 (__sim_disabled_exceptions): Remove extern declaration.
529 (feenableexcept): Use thread-local floating-point state and set
530 global state from it as needed.
531 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
532 extern declaration.
533 (__sim_disabled_exceptions): Likewise.
534 (__sim_round_mode): Likewise.
535 (__fegetenv): Use thread-local floating-point state.
536 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
537 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
538 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
539 floating-point state and set global state from it as needed.
540 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
541 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
542 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
543 Likewise.
544 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
545 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
546 Likewise.
547 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
548 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
549 Use __sim_round_mode_thread.
550 * math/test-fenv-tls.c: New file.
551 * math/Makefile (tests): Add test-fenv-tls.
552 ($(objpfx)test-fenv-tls): Depend on
553 $(common-objpfx)nptl/libpthread.so.
554
b5449b12
AS
5552013-11-19 Andreas Schwab <schwab@suse.de>
556
557 * locale/programs/locale.c (show_info): Decode wordarray elements.
558 * locale/categories.def (LC_MONETARY): Add element for
559 _NL_MONETARY_CRNCYSTR.
560 * locale/C-monetary.c (conversion_rate): New variable.
561 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
562 element.
563
e186536b
CM
5642013-11-18 Chris Metcalf <cmetcalf@tilera.com>
565
566 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
567 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
568
5c349950
PP
5692013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
570
571 * elf/Makefile (tst-auxv): New test.
572 * elf/tst-auxv.c: New
573 * elf/rtld.c (dl_main): Adjust AT_EXECFN
574
699df45b
JM
5752013-11-18 Joseph Myers <joseph@codesourcery.com>
576
577 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
578 (hidden_proto): Caller changed.
579 (hidden_tls_proto): New macro.
580 (libc_hidden_tls_proto): Likewise.
581 (rtld_hidden_tls_proto): Likewise.
582 (libm_hidden_tls_proto): Likewise.
583 (libresolv_hidden_tls_proto): Likewise.
584 (librt_hidden_tls_proto): Likewise.
585 (libdl_hidden_tls_proto): Likewise.
586 (libnss_files_hidden_tls_proto): Likewise.
587 (libnsl_hidden_tls_proto): Likewise.
588 (libnss_nisplus_hidden_tls_proto): Likewise.
589 (libutil_hidden_tls_proto): Likewise.
590
b7589107
OB
5912013-11-18 Ondřej Bílka <neleai@seznam.cz>
592
593 [BZ #10253]
594 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
595 (decompose_rpath): Defer expansion to fillin_rpath.
596 (_dl_init_paths): Pass linkmap to fillin_rpath.
597
250c23bd
RS
5982013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
599
600 * benchtests/Makefile: Add strsep.
601 * benchtests/bench-strsep.c: New file: strsep benchtest.
602 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
603
a7931fcf
AS
6042013-11-18 Andreas Schwab <schwab@suse.de>
605
606 * locale/programs/locale.c (show_info) [case byte]: Check for
607 '\377' instead of '\177'.
608 * locale/C-monetary.c (not_available): Always use "\377".
609 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
610 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
611 detect unavailable sign_posn locale elements.
612 * locale/localeconv.c (__localeconv): For grouping and
613 mon_grouping handle "\177" and "\377" like no grouping.
614 (INT_ELEM): New macro. Use it to set all numeric members.
615 * locale/programs/ld-monetary.c (monetary_read)
616 <tok_mon_grouping>: Normalize single -1 to the empty string.
617 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
618 Likewise.
619
728dab0e
OB
6202013-11-07 Ondřej Bílka <neleai@seznam.cz>
621
622 [BZ #16055]
623 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
624 when we match (nil).
625 * stdio-common/tst-sscanf.c (struct test): Add testcase.
626
66294491
JM
6272013-11-16 Joseph Myers <joseph@codesourcery.com>
628
ce665817
JM
629 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
630 (NO_TEST_INLINE): Update value.
631 (ERRNO_UNCHANGED): Likewise.
632 (ERRNO_EDOM): Likewise.
633 (ERRNO_ERANGE): Likewise.
634 (IGNORE_RESULT): Likewise.
635 (check_float_internal): Check signs of NaN results if
636 TEST_NAN_SIGN used.
637 (check_complex): Pass TEST_NAN_SIGN flag through to second
638 check_float_internal call.
639 (copysign_test_data): Add tests with quiet NaNs as second
640 argument. Use TEST_NAN_SIGN.
641 (fabs_test_data): Add test of negative quiet NaN argument. Use
642 TEST_NAN_SIGN.
643 (signbit_test_data): Add tests of quiet NaN argument.
644 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
645
ee1466a9
JM
646 * math/gen-libm-test.pl (show_exceptions): Take extra argument
647 $ignore_result.
648 (parse_args): Handle function results specified as IGNORE.
649 * math/libm-test.inc (IGNORE_RESULT): New macro.
650 (check_float_internal): Do not check numerical result if flag
651 IGNORE_RESULT set.
652 (check_complex): Pass through IGNORE_RESULT to second
653 check_float_internal call.
654 (check_int): Do not check numerical result if flag IGNORE_RESULT
655 set.
656 (check_long): Likewise.
657 (check_bool): Likewise.
658 (check_longlong): Likewise.
659 (lrint_test_data): Add tests of infinite and NaN arguments.
660 (lrint_tonearest_test_data): Likewise.
661 (lrint_towardzero_test_data): Likewise.
662 (lrint_downward_test_data): Likewise.
663 (lrint_upward_test_data): Likewise.
664 (llrint_test_data): Likewise.
665 (llrint_tonearest_test_data): Likewise.
666 (llrint_towardzero_test_data): Likewise.
667 (llrint_downward_test_data): Likewise.
668 (llrint_upward_test_data): Likewise.
669 (lround_test_data): Likewise.
670 (llround_test_data): Likewise.
671
14407b7e
JM
672 * math/libm-test.inc (NO_TEST_INLINE): New macro.
673 (ERRNO_UNCHANGED): Update value.
674 (ERRNO_EDOM): Likewise.
675 (ERRNO_ERANGE): Likewise.
676 (NO_TEST_INLINE_FLOAT): New macro.
677 (NO_TEST_INLINE_DOUBLE): Likewise.
678 (enable_test): New function.
679 (RUN_TEST_f_f): Check enable_test before running test.
680 (RUN_TEST_2_f): Likewise.
681 (RUN_TEST_fff_f): Likewise.
682 (RUN_TEST_c_f): Likewise.
683 (RUN_TEST_f_f1): Likewise.
684 (RUN_TEST_fF_f1): Likewise.
685 (RUN_TEST_fI_f1): Likewise.
686 (RUN_TEST_ffI_f1): Likewise.
687 (RUN_TEST_c_c): Likewise.
688 (RUN_TEST_cc_c): Likewise.
689 (RUN_TEST_f_i): Likewise.
690 (RUN_TEST_f_i_tg): Likewise.
691 (RUN_TEST_ff_i_tg): Likewise.
692 (RUN_TEST_f_b): Likewise.
693 (RUN_TEST_f_b_tg): Likewise.
694 (RUN_TEST_f_l): Likewise.
695 (RUN_TEST_f_L): Likewise.
696 (RUN_TEST_fFF_11): Likewise.
697 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
698 conditionals.
699 (cosh_test_data): Likewise.
700 (exp_test_data): Likewise.
701 (expm1_test_data): Likewise.
702 (hypot_test_data): Likewise.
703 (pow_test_data): Likewise.
704 (sinh_test_data): Likewise.
705 (tanh_test_data): Likewise.
706 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
707 flags argument.
708
ca07f197
JM
709 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
710 tests with quiet NaN input and output.
711 (acosh_test_data): Likewise.
712 (asin_test_data): Likewise.
713 (asinh_test_data): Likewise.
714 (atan_test_data): Likewise.
715 (atanh_test_data): Likewise.
716 (atan2_test_data): Likewise.
717 (cbrt_test_data): Likewise.
718 (cos_test_data): Likewise.
719 (cosh_test_data): Likewise.
720 (erf_test_data): Likewise.
721 (erfc_test_data): Likewise.
722 (exp_test_data): Likewise.
723 (exp10_test_data): Likewise.
724 (exp2_test_data): Likewise.
725 (expm1_test_data): Likewise.
726 (hypot_test_data): Likewise.
727 (j0_test_data): Likewise.
728 (j1_test_data): Likewise.
729 (jn_test_data): Likewise.
730 (lgamma_test_data): Likewise.
731 (log_test_data): Likewise.
732 (log10_test_data): Likewise.
733 (log1p_test_data): Likewise.
734 (log2_test_data): Likewise.
735 (pow_test_data): Likewise.
736 (scalb_test_data): Likewise.
737 (sin_test_data): Likewise.
738 (sincos_test_data): Likewise.
739 (sinh_test_data): Likewise.
740 (tan_test_data): Likewise.
741 (tanh_test_data): Likewise.
742 (tgamma_test_data): Likewise.
743 (y0_test_data): Likewise.
744 (y1_test_data): Likewise.
745 (yn_test_data): Likewise.
746
66294491
JM
747 [BZ #16167]
748 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
749 argument being NaN and avoid computations with second argument in
750 that case.
751 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
752 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
753 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
754
1820b143
CL
7552013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
756
757 * locale/iso-639.def: Add Chitwani Tharu (the).
758
714bd261
AS
7592013-11-14 Andreas Schwab <schwab@suse.de>
760
761 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
762 word instead of empty string.
763
7ab44563
AZ
7642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765
766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
767 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
769 (__fe_nomask_env): Likewise.
770
e8470ea2
SE
7712013-11-13 Steve Ellcey <sellcey@mips.com>
772
773 * benchtests/bench-timing.h: Include time.h.
774
17c1d9f0
L
7752013-11-13 H.J. Lu <hongjiu.lu@intel.com>
776
777 [BZ #15997]
778 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
779 to 3.4.0 for x32.
780 * sysdeps/unix/sysv/linux/configure: Regenerated.
781
9310c284
JM
7822013-11-13 Joseph Myers <joseph@codesourcery.com>
783
784 [BZ #16151]
785 * stdlib/strtod_l.c (round_and_return): Do not consider
786 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
787 exponent one less than half the least subnormal exponent.
788 * stdlib/test-strtod-round-data: Add more tests.
789 * stdlib/tst-strtod-round.c (tests): Regenerated.
790
7a2ad8cf
AZ
7912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
792
793 [BZ #14143]
794 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
795 (__fe_mask_env): Likewise.
796 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
797 libm_hidden_proto and add function prototype.
798 (__fe_mask_env): Add function prototype.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
800 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
802 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
804 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
805
50727aa7
MS
8062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
807
b2f386c1 808 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
809 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
810
a615be46
MS
8112013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
812
813 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
814 of htab_find_slot().
815
7ddace62
DM
8162013-11-11 David S. Miller <davem@davemloft.net>
817
818 [BZ #16150]
819 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
820 symbol in the non-vis3 case in static builds.
821 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
822 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
823 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
824 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
825
9182aa67
JK
8262013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 [BZ #387]
829 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
830 it is empty.
831
450a2e2d
AZ
8322013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
833
b2f386c1
SP
834 * benchtests/Makefile: Add bench-strtod.
835 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 836
8ec3f656
AS
8372013-11-11 Andreas Schwab <schwab@suse.de>
838
839 [BZ #16153]
840 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
841 terminating NUL in key length.
842
76a9b998
AZ
8432013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
844
845 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
846 Add artificial ODP entry for vDSO symbol for PPC64.
847 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
848 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
849
e4368156
OB
8502013-11-07 Ondřej Bílka <neleai@seznam.cz>
851
852 [BZ #15374]
853 * nss/getent.c (services_keys): Recognize services starting with digit.
854
8d6bb57c
DM
8552013-11-06 David S. Miller <davem@davemloft.net>
856
857 [BZ #15985]
858 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
859 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
860
e256c421
WN
8612013-11-06 Will Newton <will.newton@linaro.org>
862
863 * manual/memory.texi (Malloc Examples): Remove register
864 keyword from examples.
865
f6e12daa 8662013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 867
f6e12daa 868 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 869
9d880655
AS
8702013-11-04 Joseph Myers <joseph@codesourcery.com>
871
872 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
873 depending on [__GCC_IEC_559 > 0].
874 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
875 depending on [__GCC_IEC_559_COMPLEX > 0].
876
ae129d3c
CL
8772013-11-03 Chris Leonard <cjl@sugarlabs.org>
878
879 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
880 to iso-639.def.
881
4a15c2a4 8822013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
883
884 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
885
8b35e35d
OB
8862013-11-01 Ondřej Bílka <neleai@seznam.cz>
887
888 [BZ #16112]
889 * malloc/malloc (malloc_info): Do not handle first bin as
890 special case.
891
1d70fd6c
CL
8922013-11-01 Chris Leonard <cjl@sugarlabs.org>
893
894 * locale/iso-639.def: Add Central Nahuatl (nhn).
895
8c5c2600
BH
8962013-11-01 Bruno Haible <bruno@clisp.org>
897
898 [BZ #7003]
899 * manual/math.texi (BSD Random): Specify range upper bound as
900 in POSIX.
901
da5579c2
CL
9022013-10-31 Chris Leonard <cjl@sugarlabs.org>
903
904 * locale/iso-639.def: Add Meadow Mari (mhr).
905
5d30d853
OB
9062013-10-31 Ondřej Bílka <neleai@seznam.cz>
907
908 [BZ #14752], [BZ #15763]
909 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
910 Validate name.
911 * rt/tst_shm.c: Add test for escaping directory.
912
a4966c61
AS
9132013-10-31 Andreas Schwab <schwab@suse.de>
914
8a43e768 915 [BZ #15917]
a4966c61
AS
916 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
917 followed by 'x' as part of digit sequence.
918 * stdio-common/tst-sscanf.c (double_tests2): New tests.
919
28d708c4
MAP
9202013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
921
922 [BZ #16037]
923 * configure.ac: allow GNU Make 4.0 and greater.
924 * configure: Regenerated.
925
a56ee40b
WN
9262013-10-30 Will Newton <will.newton@linaro.org>
927
928 [BZ #16038]
929 * malloc/hooks.c (memalign_check): Limit alignment to the
930 maximum representable power of two.
931 * malloc/malloc.c (__libc_memalign): Likewise.
932 * malloc/tst-memalign.c (do_test): Add test for very
933 large alignment values.
934 * malloc/tst-posix_memalign.c (do_test): Likewise.
935
c6e4925d
OB
9362013-10-30 Ondřej Bílka <neleai@seznam.cz>
937
938 [BZ #11087]
939 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
940 (munmap_chunk): Likewise.
941 (mremap_chunk): Likewise.
942
9432013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 944
8a43e768 945 [BZ #15799]
bbea82f7
OB
946 * stdlib/div.c (div): Remove obsolete code.
947 * stdlib/ldiv.c (ldiv): Likewise.
948 * stdlib/lldiv.c (lldiv): Likewise.
949
977f4b31
SP
9502013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
951
952 [BZ #16071]
953 * nss/nss_files/files-XXX.c (get_contents_ret): New
954 enumerator.
955 (get_contents): New function.
956 (internal_getent): Use it. Expand size of LINEBUFLEN.
957
cb8a6dbd
MF
9582013-10-30 Mike Frysinger <vapier@gentoo.org>
959
960 * configure.in: Moved to ...
961 * configure.ac: ... here. Change reference to configure.in
962 to configure.ac.
963 * sysdeps/arm/preconfigure.ac: ... here.
964 configure.in to configure.ac.
965 * sysdeps/gnu/configure.in: Moved to ...
966 * sysdeps/gnu/configure.ac: ... here.
967 * sysdeps/i386/configure.in: Moved to ...
968 * sysdeps/i386/configure.ac: ... here.
969 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
970 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
971 * sysdeps/mach/configure.in: Moved to ...
972 * sysdeps/mach/configure.ac: ... here.
973 * sysdeps/mach/hurd/configure.in: Moved to ...
974 * sysdeps/mach/hurd/configure.ac: ... here.
975 * sysdeps/powerpc/configure.in: Moved to ...
976 * sysdeps/powerpc/configure.ac: ... here.
977 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
978 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
979 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
980 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
981 * sysdeps/s390/s390-32/configure.in: Moved to ...
982 * sysdeps/s390/s390-32/configure.ac: ... here.
983 * sysdeps/s390/s390-64/configure.in: Moved to ...
984 * sysdeps/s390/s390-64/configure.ac: ... here.
985 * sysdeps/sh/configure.in: Moved to ...
986 * sysdeps/sh/configure.ac: ... here.
987 * sysdeps/sparc/configure.in: Moved to ...
988 * sysdeps/sparc/configure.ac: ... here.
989 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
990 * sysdeps/unix/sysv/linux/configure.ac: ... here.
991 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
992 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
993 * sysdeps/x86_64/configure.in: Moved to ...
994 * sysdeps/x86_64/configure.ac: ... here.
995 * sysdeps/x86_64/preconfigure.in: Moved to ...
996 * sysdeps/x86_64/preconfigure.ac: ... here.
997 * aclocal.m4: Change reference to configure.in to configure.ac.
998 * config.h.in: Likewise.
999 * manual/install.texi: Likewise.
1000 * manual/maint.texi: Likewise.
1001 * Makefile: Likewise.
1002 * malloc/Makefile: Likewise.
1003 * nscd/Makefile: Likewise.
1004 * Makeconfig: Change reference to configure.in and
1005 preconfigure.in to configure.ac and preconfigure.ac
1006 respectively.
1007 * INSTALL: Regenerated.
1008 * configure: Likewise.
1009 * sysdeps/gnu/configure: Likewise.
1010 * sysdeps/i386/configure: Likewise.
1011 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1012 * sysdeps/mach/configure: Likewise.
1013 * sysdeps/mach/hurd/configure: Likewise.
1014 * sysdeps/powerpc/configure: Likewise.
1015 * sysdeps/powerpc/powerpc32/configure: Likewise.
1016 * sysdeps/powerpc/powerpc64/configure: Likewise.
1017 * sysdeps/s390/s390-32/configure: Likewise.
1018 * sysdeps/s390/s390-64/configure: Likewise.
1019 * sysdeps/sh/configure: Likewise.
1020 * sysdeps/sparc/configure: Likewise.
1021 * sysdeps/unix/sysv/linux/configure: Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1023 * sysdeps/x86_64/configure: Likewise.
1024 * sysdeps/x86_64/preconfigure: Likewise.
1025
36a4953a
AS
10262013-10-29 Andreas Schwab <schwab@suse.de>
1027
1028 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1029
c79a1204
SP
10302013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
dfa1b402
SP
1032 * benchtests/pow-inputs: Add new inputs.
1033
54f73d9c
SP
1034 * benchtests/exp-inputs: Add new inputs.
1035
c79a1204
SP
1036 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1037 conditional check for return value.
1038 (__cos32): Likewise.
1039
67beb545 10402013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1041
1042 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1043 to provide a boost for large inputs with word alignment.
1044 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1045 implementation based on optimized PPC64 strcpy.
1046 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1047 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1048 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1049 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1050
151659f6
OB
10512013-10-25 Ondřej Bílka <neleai@seznam.cz>
1052
482a077e 1053 [BZ #2801]
151659f6
OB
1054 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1055
10b0f26b
OB
10562013-10-25 Ondřej Bílka <neleai@seznam.cz>
1057
1058 [BZ #14876]
1059 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1060 * time/tst-strptime.c (day_tests): Add testcase.
1061
ca42d35e
OB
10622013-10-25 Ondřej Bílka <neleai@seznam.cz>
1063
482a077e 1064 [BZ #14029]
ca42d35e
OB
1065 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1066
52e6d801
FB
10672013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1068
1069 [BZ #16074]
1070 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1071 MAP_FAILED on error.
1072
7cbcdb36
SP
10732013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
1075 [BZ #16072]
1076 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1077 heap for large requests.
1078
894f3f10
AM
10792013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1080
1081 [BZ #9954]
1082 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1083 result if the result has no associated interface.
1084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1085 interface for all 127.X.Y.Z addresses.
1086
b85545a6
CL
10872013-10-24 Chris Leonard <cjl@sugarlabs.org>
1088
1089 * locale/iso-639.def: Add Ligurian (lij)
1090
d1f23d46
OB
10912013-10-21 Ondřej Bílka <neleai@seznam.cz>
1092
1093 [BZ #15825]
1094 * sunrpc/rpc_main.c: Document rpcgen -5.
1095
4db5b08f
MS
10962013-10-19 Michael Stahl <mstahl@redhat.com>
1097
1098 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1099
a471e96a
OB
11002013-10-19 Ondřej Bílka <neleai@seznam.cz>
1101
d1f23d46 1102 [BZ #10278]
a471e96a
OB
1103 * posix/glob.c: Match only directories when trailing slash is present.
1104 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1105 (main): Add testcase.
1106
45c30c61
OB
11072013-10-19 Ondřej Bílka <neleai@seznam.cz>
1108
1109 [BZ #15670]
1110 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1111
484c12fb
CD
11122013-10-18 Carlos O'Donell <carlos@redhat.com>
1113
3d7dc513
CD
1114 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1115 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1116 AUTH_DES and cindex for FIPS 140-2.
1117 (DES Encryption): Add cindex FIPS 46-3.
1118
484c12fb
CD
1119 * locale/locarchive.h (struct locarhandle): Add fname.
1120 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1121 if an optional argument was specified to --list-archive,
1122 otherwise NULL.
1123 * locale/programs/locarchive.c (show_archive_content): Take new
1124 argument fname and pass it via ah.fname to open_archive.
1125 * locale/programs/localedef.h: Update decl.
1126 (open_archive): If AH->fname is non-null, open that file
1127 rather than the default file name, and don't ignore ENOENT.
1128 (create_archive): Set AH.fname to NULL.
1129 (delete_locales_from_archive): Likewise.
1130 (add_locales_to_archive): Likewise.
1131 * locale/programs/locfile.c (write_all_categories): Likewise.
1132
3c8325fb
JM
11332013-10-18 Joseph Myers <joseph@codesourcery.com>
1134 Aldy Hernandez <aldyh@redhat.com>
1135
1136 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1137 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1138 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1139 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1140 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1142 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1144 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1146 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1147 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1148 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1149 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1150 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1151 Likewise.
1152 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1153 Likewise.
1154 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1155 Likewise.
1156 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1157 Likewise.
1158 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1159 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1160 Likewise.
1161 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1162 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1163 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1164 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1165 Likewise.
1166 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1167 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1168 * sysdeps/powerpc/preconfigure: Likewise.
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1170 Likewise.
1171 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1172 Replace contents of file by #include of <fenv_libc.h>.
1173 * sysdeps/powerpc/soft-fp/sfp-machine.h
1174 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1175 and <sys/prctl.h>.
1176 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1189 Allow copysignl PLT reference to be missing.
1190
5abe0682
RS
11912013-10-18 Richard Sandiford <richard@codesourcery.com>
1192 Joseph Myers <joseph@codesourcery.com
1193
1194 [BZ #15948]
1195 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1196 single character.
1197 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1198
c7738d08
SP
11992013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1200
1201 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1202 * elf/tst-tls1.c: Likewise.
1203 * elf/tst-tls10.h: Likewise.
1204 * elf/tst-tls14.c: Likewise.
1205 * elf/tst-tls2.c: Likewise.
1206 * elf/tst-tls3.c: Likewise.
1207 * elf/tst-tls4.c: Likewise.
1208 * elf/tst-tls5.c: Likewise.
1209 * elf/tst-tls6.c: Likewise.
1210 * elf/tst-tls7.c: Likewise.
1211 * elf/tst-tls8.c: Likewise.
1212 * elf/tst-tls9.c: Likewise.
1213 * elf/tst-tlsmod1.c: Likewise.
1214 * elf/tst-tlsmod13.c: Likewise.
1215 * elf/tst-tlsmod13a.c: Likewise.
1216 * elf/tst-tlsmod14a.c: Likewise.
1217 * elf/tst-tlsmod16a.c: Likewise.
1218 * elf/tst-tlsmod16b.c: Likewise.
1219 * elf/tst-tlsmod2.c: Likewise.
1220 * elf/tst-tlsmod3.c: Likewise.
1221 * elf/tst-tlsmod4.c: Likewise.
1222 * elf/tst-tlsmod5.c: Likewise.
1223 * elf/tst-tlsmod6.c: Likewise.
1224
0bfcf2c7
OB
12252013-10-18 Ondřej Bílka <neleai@seznam.cz>
1226
1227 [BZ #12486]
1228 * malloc/malloc.c: remove checks for statistics.
1229
264aad1e
OB
12302013-10-17 Ondřej Bílka <neleai@seznam.cz>
1231
1232 [BZ #15277]
1233 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1234 * inet/tst-network.c: Add testcase.
1235
b957ced8
AS
12362013-10-17 Andreas Schwab <schwab@suse.de>
1237
1238 [BZ #15218]
1239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1240 to determine canonical name.
1241
c5d5d574
OB
12422013-10-17 Ondřej Bílka <neleai@seznam.cz>
1243
1244 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1245 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1247 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1259 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1262 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1263 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1267 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1268 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1269 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1270 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1271 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1272 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1273 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1274 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1285 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1286 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1288 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1289 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1295 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1298 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1299 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1301 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1302
e5c2c2d0
JM
13032013-10-17 Joseph Myers <joseph@codesourcery.com>
1304
1305 [BZ #16041]
1306 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1307 make result into a quiet NaN.
1308
51ca9e29
JM
13092013-10-16 Joseph Myers <joseph@codesourcery.com>
1310
1311 * soft-fp/adddf3.c: Fix horizontal whitespace.
1312 * soft-fp/addsf3.c: Likewise.
1313 * soft-fp/addtf3.c: Likewise.
1314 * soft-fp/divdf3.c: Likewise.
1315 * soft-fp/divsf3.c: Likewise.
1316 * soft-fp/divtf3.c: Likewise.
1317 * soft-fp/double.h: Likewise.
1318 * soft-fp/eqdf2.c: Likewise.
1319 * soft-fp/eqsf2.c: Likewise.
1320 * soft-fp/eqtf2.c: Likewise.
1321 * soft-fp/extenddftf2.c: Likewise.
1322 * soft-fp/extended.h: Likewise.
1323 * soft-fp/extendsfdf2.c: Likewise.
1324 * soft-fp/extendsftf2.c: Likewise.
1325 * soft-fp/extendxftf2.c: Likewise.
1326 * soft-fp/fixdfdi.c: Likewise.
1327 * soft-fp/fixdfsi.c: Likewise.
1328 * soft-fp/fixdfti.c: Likewise.
1329 * soft-fp/fixsfdi.c: Likewise.
1330 * soft-fp/fixsfsi.c: Likewise.
1331 * soft-fp/fixsfti.c: Likewise.
1332 * soft-fp/fixtfdi.c: Likewise.
1333 * soft-fp/fixtfsi.c: Likewise.
1334 * soft-fp/fixtfti.c: Likewise.
1335 * soft-fp/fixunsdfdi.c: Likewise.
1336 * soft-fp/fixunsdfsi.c: Likewise.
1337 * soft-fp/fixunsdfti.c: Likewise.
1338 * soft-fp/fixunssfdi.c: Likewise.
1339 * soft-fp/fixunssfsi.c: Likewise.
1340 * soft-fp/fixunssfti.c: Likewise.
1341 * soft-fp/fixunstfdi.c: Likewise.
1342 * soft-fp/fixunstfsi.c: Likewise.
1343 * soft-fp/fixunstfti.c: Likewise.
1344 * soft-fp/floatdidf.c: Likewise.
1345 * soft-fp/floatdisf.c: Likewise.
1346 * soft-fp/floatditf.c: Likewise.
1347 * soft-fp/floatsidf.c: Likewise.
1348 * soft-fp/floatsisf.c: Likewise.
1349 * soft-fp/floatsitf.c: Likewise.
1350 * soft-fp/floattidf.c: Likewise.
1351 * soft-fp/floattisf.c: Likewise.
1352 * soft-fp/floattitf.c: Likewise.
1353 * soft-fp/floatundidf.c: Likewise.
1354 * soft-fp/floatundisf.c: Likewise.
1355 * soft-fp/floatunditf.c: Likewise.
1356 * soft-fp/floatunsidf.c: Likewise.
1357 * soft-fp/floatunsisf.c: Likewise.
1358 * soft-fp/floatunsitf.c: Likewise.
1359 * soft-fp/floatuntidf.c: Likewise.
1360 * soft-fp/floatuntisf.c: Likewise.
1361 * soft-fp/floatuntitf.c: Likewise.
1362 * soft-fp/fmadf4.c: Likewise.
1363 * soft-fp/fmasf4.c: Likewise.
1364 * soft-fp/fmatf4.c: Likewise.
1365 * soft-fp/gedf2.c: Likewise.
1366 * soft-fp/gesf2.c: Likewise.
1367 * soft-fp/getf2.c: Likewise.
1368 * soft-fp/ledf2.c: Likewise.
1369 * soft-fp/lesf2.c: Likewise.
1370 * soft-fp/letf2.c: Likewise.
1371 * soft-fp/muldf3.c: Likewise.
1372 * soft-fp/mulsf3.c: Likewise.
1373 * soft-fp/multf3.c: Likewise.
1374 * soft-fp/negdf2.c: Likewise.
1375 * soft-fp/negsf2.c: Likewise.
1376 * soft-fp/negtf2.c: Likewise.
1377 * soft-fp/op-1.h: Likewise.
1378 * soft-fp/op-2.h: Likewise.
1379 * soft-fp/op-4.h: Likewise.
1380 * soft-fp/op-8.h: Likewise.
1381 * soft-fp/op-common.h: Likewise.
1382 * soft-fp/quad.h: Likewise.
1383 * soft-fp/single.h: Likewise.
1384 * soft-fp/soft-fp.h: Likewise.
1385 * soft-fp/sqrtdf2.c: Likewise.
1386 * soft-fp/sqrtsf2.c: Likewise.
1387 * soft-fp/sqrttf2.c: Likewise.
1388 * soft-fp/subdf3.c: Likewise.
1389 * soft-fp/subsf3.c: Likewise.
1390 * soft-fp/subtf3.c: Likewise.
1391 * soft-fp/truncdfsf2.c: Likewise.
1392 * soft-fp/trunctfdf2.c: Likewise.
1393 * soft-fp/trunctfsf2.c: Likewise.
1394 * soft-fp/trunctfxf2.c: Likewise.
1395 * soft-fp/unorddf2.c: Likewise.
1396 * soft-fp/unordsf2.c: Likewise.
1397 * soft-fp/unordtf2.c: Likewise.
1398
9ebb0332
JM
13992013-10-15 Joseph Myers <joseph@codesourcery.com>
1400
1401 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1402 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1403
4b1a6d8b
OB
14042013-10-15 Ondřej Bílka <neleai@seznam.cz>
1405
1406 * elf/dl-libc.c: Clear initfini list after freeing.
1407
1e145589
JM
14082013-10-14 Joseph Myers <joseph@codesourcery.com>
1409
1410 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1411 * soft-fp/addsf3.c: Likewise.
1412 * soft-fp/addtf3.c: Likewise.
1413 * soft-fp/divdf3.c: Likewise.
1414 * soft-fp/divsf3.c: Likewise.
1415 * soft-fp/divtf3.c: Likewise.
1416 * soft-fp/double.h: Likewise.
1417 * soft-fp/eqdf2.c: Likewise.
1418 * soft-fp/eqsf2.c: Likewise.
1419 * soft-fp/eqtf2.c: Likewise.
1420 * soft-fp/extenddftf2.c: Likewise.
1421 * soft-fp/extended.h: Likewise.
1422 * soft-fp/extendsfdf2.c: Likewise.
1423 * soft-fp/extendsftf2.c: Likewise.
1424 * soft-fp/extendxftf2.c: Likewise.
1425 * soft-fp/fixdfdi.c: Likewise.
1426 * soft-fp/fixdfsi.c: Likewise.
1427 * soft-fp/fixdfti.c: Likewise.
1428 * soft-fp/fixsfdi.c: Likewise.
1429 * soft-fp/fixsfsi.c: Likewise.
1430 * soft-fp/fixsfti.c: Likewise.
1431 * soft-fp/fixtfdi.c: Likewise.
1432 * soft-fp/fixtfsi.c: Likewise.
1433 * soft-fp/fixtfti.c: Likewise.
1434 * soft-fp/fixunsdfdi.c: Likewise.
1435 * soft-fp/fixunsdfsi.c: Likewise.
1436 * soft-fp/fixunsdfti.c: Likewise.
1437 * soft-fp/fixunssfdi.c: Likewise.
1438 * soft-fp/fixunssfsi.c: Likewise.
1439 * soft-fp/fixunssfti.c: Likewise.
1440 * soft-fp/fixunstfdi.c: Likewise.
1441 * soft-fp/fixunstfsi.c: Likewise.
1442 * soft-fp/fixunstfti.c: Likewise.
1443 * soft-fp/floatdidf.c: Likewise.
1444 * soft-fp/floatdisf.c: Likewise.
1445 * soft-fp/floatditf.c: Likewise.
1446 * soft-fp/floatsidf.c: Likewise.
1447 * soft-fp/floatsisf.c: Likewise.
1448 * soft-fp/floatsitf.c: Likewise.
1449 * soft-fp/floattidf.c: Likewise.
1450 * soft-fp/floattisf.c: Likewise.
1451 * soft-fp/floattitf.c: Likewise.
1452 * soft-fp/floatundidf.c: Likewise.
1453 * soft-fp/floatundisf.c: Likewise.
1454 * soft-fp/floatunsidf.c: Likewise.
1455 * soft-fp/floatunsisf.c: Likewise.
1456 * soft-fp/floatuntidf.c: Likewise.
1457 * soft-fp/floatuntisf.c: Likewise.
1458 * soft-fp/floatuntitf.c: Likewise.
1459 * soft-fp/fmadf4.c: Likewise.
1460 * soft-fp/fmasf4.c: Likewise.
1461 * soft-fp/fmatf4.c: Likewise.
1462 * soft-fp/gedf2.c: Likewise.
1463 * soft-fp/gesf2.c: Likewise.
1464 * soft-fp/getf2.c: Likewise.
1465 * soft-fp/ledf2.c: Likewise.
1466 * soft-fp/lesf2.c: Likewise.
1467 * soft-fp/letf2.c: Likewise.
1468 * soft-fp/muldf3.c: Likewise.
1469 * soft-fp/mulsf3.c: Likewise.
1470 * soft-fp/multf3.c: Likewise.
1471 * soft-fp/negdf2.c: Likewise.
1472 * soft-fp/negsf2.c: Likewise.
1473 * soft-fp/negtf2.c: Likewise.
1474 * soft-fp/op-1.h: Likewise.
1475 * soft-fp/op-2.h: Likewise.
1476 * soft-fp/op-4.h: Likewise.
1477 * soft-fp/op-8.h: Likewise.
1478 * soft-fp/op-common.h: Likewise.
1479 * soft-fp/quad.h: Likewise.
1480 * soft-fp/single.h: Likewise.
1481 * soft-fp/soft-fp.h: Likewise.
1482 * soft-fp/sqrtdf2.c: Likewise.
1483 * soft-fp/sqrtsf2.c: Likewise.
1484 * soft-fp/sqrttf2.c: Likewise.
1485 * soft-fp/subdf3.c: Likewise.
1486 * soft-fp/subsf3.c: Likewise.
1487 * soft-fp/subtf3.c: Likewise.
1488 * soft-fp/truncdfsf2.c: Likewise.
1489 * soft-fp/trunctfdf2.c: Likewise.
1490 * soft-fp/trunctfsf2.c: Likewise.
1491 * soft-fp/trunctfxf2.c: Likewise.
1492 * soft-fp/unorddf2.c: Likewise.
1493 * soft-fp/unordsf2.c: Likewise.
1494 * soft-fp/unordtf2.c: Likewise.
1495
17c48a60
OB
14962013-10-14 Ondřej Bílka <neleai@seznam.cz>
1497
1498 [BZ #15672]
1499 * misc/error.c (error_tail): Fix possible buffer overflow.
1500
cabba934
OB
15012013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1502
1503 [BZ #13028]
1504 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1505 address.
1506
94bf958a
PM
15072013-10-14 P. J. McDermott <pj@pehjota.net>
1508
1509 [BZ #832]
1510 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1511 testing pipefail option.
1512
71b4dea7
JM
15132013-10-12 Joseph Myers <joseph@codesourcery.com>
1514
1515 * soft-fp/double.h: Indent preprocessor directives inside #if.
1516 * soft-fp/extended.h: Likewise.
1517 * soft-fp/op-2.h: Likewise.
1518 * soft-fp/op-4.h: Likewise.
1519 * soft-fp/op-common.h: Likewise.
1520 * soft-fp/quad.h: Likewise.
1521 * soft-fp/single.h: Likewise.
1522 * soft-fp/soft-fp.h: Likewise.
1523
55602758
YC
15242013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1525
1526 * iconv/iconv_prog.c: Fix typos.
1527 * stdio-common/psiginfo-data.h: Likewise.
1528
9cd83302
RT
15292013-10-12 Reuben Thomas <rrt@sc3d.org>
1530
1531 [BZ #15764]
1532 * locale/setlocale.c: Fix typo.
1533
99fd9f47
JM
15342013-10-12 Joseph Myers <joseph@codesourcery.com>
1535
b7ea74f0
JM
1536 [BZ #16036]
1537 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1538 signaling NaN arguments.
1539 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1540 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1541
8a509447
JM
1542 [BZ #14910]
1543 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1544 unordered operands.
1545 * soft-fp/gesf2.c (__gesf2): Likewise.
1546 * soft-fp/getf2.c (__getf2): Likewise.
1547 * soft-fp/ledf2.c (__ledf2): Likewise.
1548 * soft-fp/lesf2.c (__lesf2): Likewise.
1549 * soft-fp/letf2.c (__letf2): Likewise.
1550
98998e9f
JM
1551 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1552 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1553 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1554 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1555 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1556 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1557 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1558 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1559 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1560 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1561 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1562 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1563 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1564 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1565 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1566 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1567 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1568 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1569 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1570 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1571 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1572 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1573 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1574 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1575 * soft-fp/floattidf.c (__floattidf): Likewise.
1576 * soft-fp/floattisf.c (__floattisf): Likewise.
1577 * soft-fp/floattitf.c (__floattitf): Likewise.
1578 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1579 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1580 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1581 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1582 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1583 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1584 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1585 * soft-fp/gesf2.c (__gesf2): Likewise.
1586 * soft-fp/getf2.c (__getf2): Likewise.
1587 * soft-fp/ledf2.c (__ledf2): Likewise.
1588 * soft-fp/lesf2.c (__lesf2): Likewise.
1589 * soft-fp/letf2.c (__letf2): Likewise.
1590
8edc4a11
JM
1591 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1592 Undefine and redefine.
1593 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1594 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1595 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1596 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1597 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1598 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1599 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1600 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1601 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1602 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1603 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1604 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1605 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1606 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1607 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1608
8399acaf
JM
1609 [BZ #16032]
1610 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1611 without decrementing exponent if mantissa >= that for the
1612 denominator, not >.
1613 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1614 denominator, not >. Decrement exponent in < case instead of
1615 incrementing in >= case.
1616 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1617 without decrementing exponent if mantissa >= that for the
1618 denominator, not >.
1619
99fd9f47
JM
1620 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1621 computing saturated result for unsigned overflow.
1622
10e1cf6b
SP
16232013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1624 Jeff Law <law@redhat.com>
1625
1626 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1627 (atan2Mp): Add systemtap probe marker.
1628 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1629 (__ieee754_log): Add systemtap probe marker.
1630 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1631 (atanMp): Add systemtap probe marker.
1632 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1633 (tanMp): Add systemtap probe marker.
1634 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1635 (__slowexp): Add systemtap probe marker.
1636 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1637 (__slowpow): Add systemtap probe marker.
1638 * manual/probes.texi: Document probes.
1639
3d110c7c
EB
16402013-10-11 Eric Biggers <ebiggers3@gmail.com>
1641
1642 [BZ #15362]
1643 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1644 written.
1645 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1646 written.
1647 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1648 written to buffer but not flushed.
1649 * libio/iofwrite_u.c: Likewise.
1650 * libio/iopadn.c: Return bytes returned even if EOF was
1651 encountered.
1652 * libio/iowpadn.c: Likewise.
1653 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1654 if _IO_padn does not write the whole buffer.
1655 [!COMPILE_WPRINTF] (PAD): Likewise.
1656
75b4202a
DM
16572013-10-10 David S. Miller <davem@davemloft.net>
1658
1659 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1660 directory block.
1661
6c6352e6
JM
16622013-10-10 Joseph Myers <joseph@codesourcery.com>
1663
33b853c3
JM
1664 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1665 instead of FSF address.
1666 * soft-fp/fixdfti.c: Likewise.
1667 * soft-fp/fixsfti.c: Likewise.
1668 * soft-fp/fixtfti.c: Likewise.
1669 * soft-fp/fixunsdfti.c: Likewise.
1670 * soft-fp/fixunssfti.c: Likewise.
1671 * soft-fp/fixunstfti.c: Likewise.
1672 * soft-fp/floattidf.c: Likewise.
1673 * soft-fp/floattisf.c: Likewise.
1674 * soft-fp/floattitf.c: Likewise.
1675 * soft-fp/floatuntidf.c: Likewise.
1676 * soft-fp/floatuntisf.c: Likewise.
1677 * soft-fp/floatuntitf.c: Likewise.
1678 * soft-fp/trunctfxf2.c: Likewise.
1679
6c6352e6
JM
1680 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1681 * soft-fp/fixdfti.c: Likewise.
1682 * soft-fp/fixsfti.c: Likewise.
1683 * soft-fp/fixtfti.c: Likewise.
1684 * soft-fp/fixunsdfti.c: Likewise.
1685 * soft-fp/fixunssfti.c: Likewise.
1686 * soft-fp/fixunstfti.c: Likewise.
1687 * soft-fp/floattidf.c: Likewise.
1688 * soft-fp/floattisf.c: Likewise.
1689 * soft-fp/floattitf.c: Likewise.
1690 * soft-fp/floatuntidf.c: Likewise.
1691 * soft-fp/floatuntisf.c: Likewise.
1692 * soft-fp/floatuntitf.c: Likewise.
1693 * soft-fp/trunctfxf2.c: Likewise.
1694
3bf78b71
DM
16952013-10-10 David S. Miller <davem@davemloft.net>
1696
1697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1698
6f10289e
JM
16992013-10-10 Joseph Myers <joseph@codsourcery.com>
1700
bd878fc0
JM
1701 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1702 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1703 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1704 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1705 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1706 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1707 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1708
6f10289e
JM
1709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1710 for NaNs before doing comparisons on argument.
1711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1712 Likewise.
1713
321e2684
WN
17142013-10-10 Will Newton <will.newton@linaro.org>
1715
1716 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1717 passed to _int_memalign does not overflow.
1718
40fefba1
TR
17192013-10-10 Torvald Riegel <triegel@redhat.com>
1720
1721 * scripts/bench.pl: Add include-sources directive.
1722 * benchtests/README: Update documentation.
1723
2ae21ed2
JM
17242013-10-10 Joseph Myers <joseph@codesourcery.com>
1725
dcc2dd3f
JM
1726 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1727 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1728 instead of FP_INIT_ROUNDMODE.
1729 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1730 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1731
2ae21ed2
JM
1732 [BZ #16034]
1733 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1734 copy class of input value.
1735 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1736 not handle exceptions.
1737 * soft-fp/negsf2.c (__negsf2): Likewise.
1738 * soft-fp/negtf2.c (__negtf2): Likewise.
1739 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1740
cb8f9562
JM
17412013-10-09 Joseph Myers <joseph@codesourcery.com>
1742
1743 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1744 semicolon. From Linux kernel.
1745
5b60c59d
AB
17462013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1747
1748 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1749
b86835ca
YC
17502013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1751
1752 [BZ #156]
1753 * manual/socket.texi: Added statement about buffer
1754 for gethostbyname2_r.
1755
e7044ea7
OB
17562013-10-08 Ondřej Bílka <neleai@seznam.cz>
1757
1758 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1759 Use .p2align directive instead, throughout.
1760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1761 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1762 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1763 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1764 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1765 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1766 * sysdeps/x86_64/strchr.S: Likewise.
1767 * sysdeps/x86_64/strrchr.S: Likewise.
1768
09544cbc
SP
17692013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1770
88576635
SP
1771 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1772
e7b2d1dd
SP
1773 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1774
09544cbc
SP
1775 * sysdeps/generic/math_private.h (__mpsin1): Remove
1776 declaration.
1777 (__mpcos1): Likewise.
1778 (__mpsin): New argument __range_reduce.
1779 (__mpcos): Likewise.
1780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1781 (slow): Use __mpsin and __mpcos.
1782 (slow1): Likewise.
1783 (slow2): Likewise.
1784 (sloww): Likewise.
1785 (sloww1): Likewise.
1786 (sloww2): Likewise.
1787 (bsloww): Likewise.
1788 (bsloww1): Likewise.
1789 (bsloww2): Likewise.
1790 (cslow2): Likewise.
1791 (csloww): Likewise.
1792 (csloww1): Likewise.
1793 (csloww2): Likewise.
1794 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1795 range_reduce. Merge in __mpsin1.
1796 (__mpcos): Likewise.
1797 (__mpsin1): Remove.
1798 (__mpcos1): Likewise.
1799
7602d070
JM
18002013-10-07 Joseph Myers <joseph@codesourcery.com>
1801
1802 * locale/loadlocale.c (_nl_intern_locale_data): Use
1803 LOCFILE_ALIGNED_P.
1804 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1805 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1806 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1807 obstack data is appropriately aligned.
1808 (obstack_int32_grow_fast): Likewise.
1809 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1810 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1811 (add_locale_uint32_array): Likewise.
1812
a357259b
SP
18132013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1814
1815 * benchtests/Makefile: Remove ARGLIST and RET variables.
1816 ($(objpfx)bench-%.c): Pass only function name to the script.
1817 * benchtests/README: Update documentation.
1818 * benchtests/acos-inputs: Add new directives.
1819 * benchtests/acosh-inputs: Likewise.
1820 * benchtests/asin-inputs: Likewise.
1821 * benchtests/asinh-inputs: Likewise.
1822 * benchtests/atan-inputs: Likewise.
1823 * benchtests/atanh-inputs: Likewise.
1824 * benchtests/cos-inputs: Likewise.
1825 * benchtests/cosh-inputs: Likewise.
1826 * benchtests/exp-inputs: Likewise.
1827 * benchtests/log-inputs: Likewise.
1828 * benchtests/pow-inputs: Likewise.
1829 * benchtests/rint-inputs: Likewise.
1830 * benchtests/sin-inputs: Likewise.
1831 * benchtests/sinh-inputs: Likewise.
1832 * benchtests/tan-inputs: Likewise.
1833 * benchtests/tanh-inputs: Likewise.
1834 * scripts/bench.pl: Add support for new directives.
1835
9ec1b13d
AM
18362013-10-07 Alan Modra <amodra@gmail.com>
1837
1838 * README: Fix careless merge.
1839
8b7d57cd
AM
18402013-10-05 Alan Modra <amodra@gmail.com>
1841
1842 * NEWS: Mention powerpc64le support and bugs fixed.
1843 * README: Both big-endian and little-endian powerpc64 supported.
1844
7b7bab13
ST
18452013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1846
1847 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1848 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1849 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1850 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1851
d39baad1
RA
18522013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1853
1854 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1855 match prototype.
1856
cd78f7e7
JM
18572013-10-04 Joseph Myers <joseph@codesourcery.com>
1858
29d73d86
JM
1859 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1860 Move -mhard-float appending from
1861 ports/sysdeps/powerpc/powerpc32/Makefile.
1862 [$(with-fp) = yes] (ASFLAGS): Likewise.
1863 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1864 * sysdeps/powerpc/nofpu: Move directory from
1865 ports/sysdeps/powerpc/nofpu.
1866 * sysdeps/powerpc/soft-fp: Move directory from
1867 ports/sysdeps/powerpc/soft-fp.
1868 * sysdeps/powerpc/powerpc32/405: Move directory from
1869 ports/sysdeps/powerpc/powerpc32/405.
1870 * sysdeps/powerpc/powerpc32/440: Move directory from
1871 ports/sysdeps/powerpc/powerpc32/440.
1872 * sysdeps/powerpc/powerpc32/464: Move directory from
1873 ports/sysdeps/powerpc/powerpc32/464.
1874 * sysdeps/powerpc/powerpc32/476: Move directory from
1875 ports/sysdeps/powerpc/powerpc32/476.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1877 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1879 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1881 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1883 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1885 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1886 * README: Update for powerpc-*-linux-gnu software floating point
1887 support in libc.
1888
e246b347
JM
1889 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1890 case to powerpc/powerpc32*.
1891 * sysdeps/unix/sysv/linux/configure: Regenerated.
1892
89c2003e
JM
1893 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1894 (_FPU_MASK_OM): Define as 0x04.
1895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1897 0x00c10080.
1898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1899 0x0000003c.
1900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1901
cd78f7e7
JM
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1903 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1904 getcontext_e500.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1906 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1907 setcontext_e500.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1909 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1910 and setcontext_e500.
1911
c755294d
CL
19122013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1913
1914 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1915
e16d221c
SP
19162013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
1918 * manual/threads.texi (Default Thread Attributes): Fix typo.
1919
215c7d43
WN
19202013-10-04 Will Newton <will.newton@linaro.org>
1921
1922 * malloc/Makefile: Add tst-memalign.
1923 * malloc/tst-memalign.c: New file.
1924
27d0461b
WN
1925 * malloc/tst-posix_memalign.c: Add comments.
1926 (do_test): Add comments and call free on all potentially
1927 allocated pointers. Add space after cast.
1928
1bc92709
WN
1929 * malloc/tst-pvalloc.c: Add comments.
1930 (do_test): Add comments and call free on all potentially
1931 allocated pointers. Remove duplicate check for NULL pointer.
1932 Add space after cast.
1933
66a9be9d
WN
1934 * malloc/tst-valloc.c: Add comments.
1935 (do_test): Add comments and call free on all potentially
1936 allocated pointers. Remove duplicate check for NULL pointer.
1937 Add space after cast.
1938
4cb81307
AM
19392013-10-04 Alan Modra <amodra@gmail.com>
1940
1941 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1942 Use stdint types in rather than __attribute__((mode())).
1943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1944
f8e3e9f3
AM
19452013-10-04 Alan Modra <amodra@gmail.com>
1946
1947 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1948 Correct handling of unaligned relocs for little-endian.
1949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1950
8f9ebb08
AM
19512013-10-04 Alan Modra <amodra@gmail.com>
1952
1953 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1954 * configure: Regenerate.
1955 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1956 * shlib-versions: Likewise.
1957
0edf96c2
AM
19582013-10-04 Alan Modra <amodra@gmail.com>
1959
1960 * string/tester.c (test_memrchr): Increment reported test cycle.
1961
e0f7a380
AM
19622013-10-04 Alan Modra <amodra@gmail.com>
1963
1964 * string/test-memcpy.c (do_one_test): When reporting errors, print
1965 string address and don't overrun end of string.
1966
466b0393
AM
19672013-10-04 Alan Modra <amodra@gmail.com>
1968
1969 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1970 insrdi. Make better use of reg selection to speed exit slightly.
1971 Schedule entry path a little better. Remove useless "are we done"
1972 checks on entry to main loop. Handle wrapping around zero address.
1973 Correct main loop count. Handle single left-over word from main
1974 loop inline rather than by using loop_small. Remove extra word
1975 case in loop_small caused by wrong loop count. Add little-endian
1976 support.
1977 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1978 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1979 cache hint.
1980 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1981 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1982 support. Avoid rlwimi.
1983 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1984
3be87c77
AM
19852013-10-04 Alan Modra <amodra@gmail.com>
1986
1987 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1988 insrdi. Formatting.
3be87c77
AM
1989 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1990 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1991 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1992 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1993 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1994 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1995
759cfef3
AM
19962013-10-04 Alan Modra <amodra@gmail.com>
1997
1998 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1999 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2001 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2003 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2005 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2006 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2007 use of regs. Use power7 mtocrf. Tidy function tails.
2008
fe6e95d7
AM
20092013-10-04 Alan Modra <amodra@gmail.com>
2010
2011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2012 Formatting. Consistently use rXXX register defines or rN defines.
2013 Use early exit labels that avoid restoring unused non-volatile regs.
2014 Make cr field use more consistent with rWORDn compares. Rename
2015 regs used as shift registers for unaligned loop, using rN defines
2016 for short lifetime/multiple use regs.
2017 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2018 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2019 addi 1,1,64 to pop stack frame. Simplify return value code.
2020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2021
664318c3
AM
20222013-10-04 Alan Modra <amodra@gmail.com>
2023
2024 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2025 support. Correct typos, formatting. Optimize tail. Use insrdi
2026 rather than rlwimi.
2027 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2028 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2029 little-endian support. Correct typos.
2030 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2031 rather than rlwimi.
2032 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2033 in loop and entry code to keep "and." results.
2034 (strchr): Add little-endian support. Comment. Move cntlzd
2035 earlier in tail.
2036 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2037
43b84013
AM
20382013-10-04 Alan Modra <amodra@gmail.com>
2039
2040 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2041 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2044
8a7413f9
AM
20452013-10-04 Alan Modra <amodra@gmail.com>
2046
2047 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2048 (rTMP): Define as r11.
2049 (strcmp): Add little-endian support. Optimise tail.
2050 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2051 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2052 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2057
33ee81de
AM
20582013-10-04 Alan Modra <amodra@gmail.com>
2059
2060 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2061 little-endian support. Remove unnecessary "are we done" tests.
2062 Handle "s" wrapping around zero and extremely large "size".
2063 Correct main loop count. Handle single left-over word from main
2064 loop inline rather than by using small_loop. Correct comments.
2065 Delete "zero" tail, use "end_max" instead.
2066 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2067
db9b4570
AM
20682013-10-04 Alan Modra <amodra@gmail.com>
2069
2070 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2071 support. Don't branch over align.
2072 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2073 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2074 support. Rearrange tmp reg use to suit. Comment.
2075 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2076
f7c399cf
AM
20772013-10-04 Alan Modra <amodra@gmail.com>
2078
2079 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2080
0b2c2ace
AM
20812013-10-04 Alan Modra <amodra@gmail.com>
2082
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2084 conditional form of branch and link when obtaining pc.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2086
02f04a6c
AM
20872013-10-04 Alan Modra <amodra@gmail.com>
2088
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2090 HIWORD/LOWORD.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2093
9b874b2f
AM
20942013-10-04 Alan Modra <amodra@gmail.com>
2095
2096 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2097 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2098 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2101 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2102 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2103 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2104 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2105 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2106
be1e5d31
AB
21072013-10-04 Anton Blanchard <anton@au1.ibm.com>
2108 Alistair Popple <alistair@ozlabs.au.ibm.com>
2109 Alan Modra <amodra@gmail.com>
2110
2111 [BZ #15723]
2112 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2114 _dl_hwcap access for little-endian.
2115 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2116 destroy vmx regs when saving unaligned.
2117 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2118 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2119 destroy vmx regs when saving unaligned.
2120
fef13a78
AM
21212013-10-04 Alan Modra <amodra@gmail.com>
2122
2123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2124 Don't use a union to pack hi/low value.
2125
76a66d51
AB
21262013-10-04 Anton Blanchard <anton@au1.ibm.com>
2127
2128 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2129 for little-endian.
2130 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2135
6a31fe7f
AM
21362013-10-04 Alan Modra <amodra@gmail.com>
2137
2138 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2139 constants to usual value for .cst8 section, and remove redundant
2140 high address load.
2141 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2142 constant for 0x1p52. Load little-endian words of double from
2143 correct stack offsets.
2144
7b88401f
AM
21452013-10-04 Alan Modra <amodra@gmail.com>
2146
2147 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2148 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2149 words of double from correct stack offsets.
2150 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2151 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2152 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2157 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2162 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2163 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2164 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2165 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2166 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2167
9c008155
AM
21682013-10-04 Alan Modra <amodra@gmail.com>
2169
2170 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2171 64-bit int/double union.
2172 (_FPU_SETCW): Likewise.
2173 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2174 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2175
da13146d
AM
21762013-10-04 Alan Modra <amodra@gmail.com>
2177
2178 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2179 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2180
603e8410
AM
21812013-10-04 Alan Modra <amodra@gmail.com>
2182
2183 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2184 use vector int constants.
2185 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2186
4a28b3ca
AB
21872013-10-04 Anton Blanchard <anton@au1.ibm.com>
2188
2189 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2190 array with long long.
2191 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2192 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2193 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2194 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2195 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2196 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2197 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2198 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2199 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2200 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2201 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2202 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2203 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2204
2ca85d2b
AB
22052013-10-04 Anton Blanchard <anton@au1.ibm.com>
2206
2207 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2208 (__signbit): Likewise. Correct for little-endian.
2209 (__signbitl): Call __signbit.
2210 (lrint): Correct for little-endian.
2211 (lrintf): Call lrint.
2212
62a728ae
AM
22132013-10-04 Alan Modra <amodra@gmail.com>
2214
2215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2216 union 32-bit int array member with 64-bit int array.
2217 (t515, tm256): Double rather than long double.
2218 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2219
32c301df
AM
22202013-10-04 Alan Modra <amodra@gmail.com>
2221
2222 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2223 Delete.
2224 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2226 version of math_ldbl.h.
2227
650ef4bd
AM
22282013-10-04 Alan Modra <amodra@gmail.com>
2229
2230 [BZ #15734], [BZ #15735]
2231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2232 all uses of ieee875 long double macros and unions. Simplify test
2233 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2234 ldbl_extract_mantissa value for ix,iy exponents. Properly
2235 normalize after ldbl_extract_mantissa, and don't add hidden bit
2236 already handled. Don't treat low word of ieee854 mantissa like
2237 low word of IBM long double and mask off bit when testing for
2238 zero.
2239 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2240 all uses of ieee875 long double macros and unions. Simplify tests
2241 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2242 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2243 two1022, instead use their values. Recognise that tests for large
2244 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2245 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2246 Rewrite all uses of ieee875 long double macros and unions. Simplify
2247 test for 0.0L and nan. Correct negation.
2248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2249 ieee875 long double macros and unions. Correct output for large
2250 magnitude x. Correct absolute value calculation.
2251 (__erfcl): Likewise.
2252 * math/libm-test.inc: Add tests for errors discovered in IBM long
2253 double versions of fmodl, remainderl, erfl and erfcl.
2254
765714ca
AM
22552013-10-04 Alan Modra <amodra@gmail.com>
2256
2257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2258 all uses of ieee854 long double macros and unions. Simplify tests
2259 for long doubles that are fully specified by the high double.
2260 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2261 Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2263 Remove dead code too.
2264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2265 (__ieee754_ynl): Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2269 Remove dead code too.
2270 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2274 Simplify.
2275 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2276 Simplify.
2277 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2280 Comment on variable precision.
2281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2283 Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2288 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2289
4ebd120c
AM
22902013-10-04 Alan Modra <amodra@gmail.com>
2291
2292 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2294 all uses of ieee854 long double macros and unions.
2295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2301 Likewise.
2302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2308 Simplify sign and nan test too.
2309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2313 Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2316 Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2319 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2320 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2321 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2323
1b6adf88
AM
23242013-10-04 Alan Modra <amodra@gmail.com>
2325
2326 * stdio-common/printf_size.c (__printf_size): Don't use
2327 union ieee854_long_double in fpnum union.
2328 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2329 signbit macro to retrieve sign from long double.
2330 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2331 retrieve sign from long double.
2332 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2333 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2334 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2335 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2336 * math/test-misc.c (main): Don't use union ieee854_long_double.
2337
4cf69995
AM
23382013-10-04 Alan Modra <amodra@gmail.com>
2339
2340 [BZ #15680]
2341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2342 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2343 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2344 calculation. Remove unnecessary test for denormal exponent.
2345 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2346 Correct handling of denormals. Avoid undefined shift behaviour.
2347 Correct normalisation of low mantissa when low double is denormal.
2348 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2349 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2350 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2351 Correct normalisation of low mantissa. Test for overflow of high
2352 mantissa and normalise.
2353 (ldbl_nearbyint): Use more readable constant for two52.
2354 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2355 (__mpn_construct_long_double): Fix test for overflow of high
2356 mantissa and correct normalisation. Avoid undefined shift.
2357
9605ca6c
AM
23582013-10-04 Alan Modra <amodra@gmail.com>
2359
2360 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2361 (union ibm_extended_long_double): Define as an array of ieee754_double.
2362 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2364 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2365 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2369 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2373
975569d0
JM
23742013-10-03 Joseph Myers <joseph@codesourcery.com>
2375
d3d23756
JM
2376 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2377 page size instead of calling getpagesize.
2378
975569d0
JM
2379 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2380 (LOCFILE_ALIGN_MASK): Likewise.
2381 (LOCFILE_ALIGN_UP): Likewise.
2382 (LOCFILE_ALIGNED_P): Likewise.
2383 * locale/programs/ld-collate.c (collate_output): Use the new
2384 macros instead of __alignof__ (int32_t).
2385 * locale/weight.h (findidx): Likewise.
2386
b1fe1f2b
OB
23872013-10-03 Ondřej Bílka <neleai@seznam.cz>
2388
2389 [BZ #431]
2390 * manual/string.texi: Fix strncat and wcsncat.
2391
5f855e35
BM
23922013-10-03 Brooks Moses <bmoses@google.com>
2393
2394 [BZ #15915]
2395 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2396 * Makerules: ...here, and adjust associated comments.
2397
3cef6009
WN
23982013-10-02 Will Newton <will.newton@linaro.org>
2399
2400 * malloc/Makefile: Add tst-pvalloc.
2401 * malloc/tst-pvalloc.c: New file.
2402
7815420b
WN
24032013-10-02 Will Newton <will.newton@linaro.org>
2404
2405 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2406 improve test coverage.
2407
4868b204
WN
24082013-10-02 Will Newton <will.newton@linaro.org>
2409
2410 * malloc/Makefile: Add tst-posix_memalign.
2411 * malloc/tst-posix_memalign.c: New file.
2412
29c793b3
EB
24132013-10-01 Eric Blake <eblake@redhat.com>
2414
2415 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2416 Use __THROWNL rather than __THROW on static functions.
2417
fd967522
PM
24182013-09-30 Petr Machata <pmachata@redhat.com>
2419
2420 * elf/elf.h (R_AARCH64_ABS16): New macro.
2421 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2422 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2423 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2424 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2425 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2426 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2427 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2428 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2429 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2430 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2431 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2432 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2433 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2434 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2435 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2436 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2437 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2438 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2439 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2440 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2441 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2442 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2443 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2444 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2445 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2446 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2447 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2448 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2449 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2450 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2451 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2452 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2453 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2454 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2455 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2456 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2457 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2458 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2459 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2460 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2461 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2462 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2463 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2464 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2465 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2466 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2467 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2468 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2469 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2470 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2471 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2472 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2473 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2474 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2475 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2476 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2477 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2478 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2479 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2480 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2481 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2482 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2483 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2484 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2485 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2486 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2487 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2488 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2489 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2490 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2491 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2492 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2493 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2494 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2495 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2496 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2497 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2498 (R_AARCH64_TLSDESC_LDR): Likewise.
2499 (R_AARCH64_TLSDESC_ADD): Likewise.
2500 (R_AARCH64_TLSDESC_CALL): Likewise.
2501
b2179107
AS
25022013-09-30 Andreas Schwab <schwab@suse.de>
2503
2504 [BZ #15048]
2505 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2506 the nss database lookup.
2507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2509
47f28d0a
MF
25102013-09-28 Mike Frysinger <vapier@gentoo.org>
2511
2512 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2513
25142013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2515
2516 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2517 ${Bash-specific parameter/pattern/string} parameter expansion.
2518 * sysdeps/unix/make-syscalls.sh: Likewise.
2519
f4518a17
KK
25202013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2521
2522 * sysdeps/sh/stackguard-macros.h: New file.
2523
dc1a95c7
OB
25242013-09-26 Ondřej Bílka <neleai@seznam.cz>
2525
2526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2528 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2531 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2532
5ebbff8f
AZ
25332013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2534
2535 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2536 Fix thread ID register.
2537
4fd2cf9f
JM
25382013-09-25 Joseph Myers <joseph@codesourcery.com>
2539
2540 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2541 [POSIX || UNIX98]: Require rather than permitting all symbols from
2542 <time.h>.
2543 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2544 element of struct sched_param.
2545 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2546 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2547 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2548 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2549 constant.
2550
12c22bc4
OL
25512013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2552
2553 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2554 argument calculation.
2555
a03d8ea7
JM
25562013-09-24 Joseph Myers <joseph@codesourcery.com>
2557
2558 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2559 Expect macro.
2560 [POSIX] (pthread_attr_t): Do not require type.
2561 [POSIX] (pthread_cond_t): Likewise.
2562 [POSIX] (pthread_condattr_t): Likewise.
2563 [POSIX] (pthread_key_t): Likewise.
2564 [POSIX] (pthread_mutex_t): Likewise.
2565 [POSIX] (pthread_mutexattr_t): Likewise.
2566 [POSIX] (pthread_once_t): Likewise.
2567 [POSIX] (pthread_t): Likewise.
2568 [POSIX-based standards] (pthread_atfork): Expect function.
2569
6055173a
JM
25702013-09-24 Joseph Myers <joseph@codesourcery.com>
2571 Richard Sandiford <richard@codesourcery.com>
2572
2573 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2574 (swap_endianness_p): New extern variable.
2575 (set_big_endian): New inline function.
2576 (maybe_swap_uint32): Likewise.
2577 (maybe_swap_uint32_array): Likewise.
2578 (maybe_swap_uint32_obstack): Likewise.
2579 * locale/programs/locfile.c: Include <stdbool.h>.
2580 (swap_endianness_p): New variable.
2581 (add_locale_uint32): Call maybe_swap_uint32.
2582 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2583 (write_locale_data): Call maybe_swap_uint32_array.
2584 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2585 maybe_swap_uint32.
2586 (obstack_int32_grow_fast): Likewise.
2587 (output_weightwc): Call maybe_swap_uint32_obstack.
2588 (collate_output): Likewise.
2589 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2590 (OPT_LITTLE_ENDIAN): Likewise.
2591 (options): Add --little-endian and --big-endian options.
2592 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2593 * locale/programs/locarchive.c: Include "locfile.h".
2594 (GET): New macro.
2595 (SET): Likewise.
2596 (INC): Likewise.
2597 (create_archive): Use the new macros to access fields of
2598 structures directly mapped from or written to locale archives.
2599 (oldlocrecentcmp): Likewise.
2600 (enlarge_archive): Likewise.
2601 (insert_name): Likewise.
2602 (add_alias): Likewise.
2603 (add_locale): Likewise.
2604 (delete_locales_from_archive): Likewise.
2605 (show_archive_content): Likewise.
2606 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2607 locale data.
2608
39bf0bb4
RM
26092013-09-24 Roland McGrath <roland@hack.frob.com>
2610
2611 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2612 http://www.gnu.org/doc/freemanuals.texi.
2613 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2614
f02eed10
WN
26152013-09-24 Will Newton <will.newton@linaro.org>
2616
2617 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2618 macro.
2619
a3a6c312
JM
26202013-09-23 Joseph Myers <joseph@codesourcery.com>
2621
2622 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2623 unsigned char.
2624
107375ac
MR
26252013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2626
2627 * manual/threads.texi (POSIX Threads): Fix a typo.
2628
141f3a77
SP
26292013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2630
303e567a
SP
2631 [BZ #14547]
2632 * string/tst-strcoll-overflow.c: New test case.
2633 * string/Makefile (xtests): Add tst-strcoll-overflow.
2634 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2635 cache if string sizes may cause integer overflow.
2636
141f3a77
SP
2637 [BZ #14547]
2638 * string/strcoll_l.c (coll_seq): New members rule, idx,
2639 save_idx and back_us.
2640 (get_next_seq_nocache): New function.
2641 (do_compare_nocache): New function.
2642 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2643 when malloc fails.
2644
c61b4d41
CD
26452013-09-23 Carlos O'Donell <carlos@redhat.com>
2646
0b1f8e35
CD
2647 [BZ #15754]
2648 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2649 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2650 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2651
c61b4d41
CD
2652 [BZ #15754]
2653 * elf/Makefile (tests): Add tst-ptrguard1.
2654 (tests-static): Add tst-ptrguard1-static.
2655 (tst-ptrguard1-ARGS): Define.
2656 (tst-ptrguard1-static-ARGS): Define.
2657 * elf/tst-ptrguard1.c: New file.
2658 * elf/tst-ptrguard1-static.c: New file.
2659 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2660 * sysdeps/i386/stackguard-macros.h: Likewise.
2661 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2662 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2663 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2664 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2665 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2666 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2667
26682013-09-23 Hector Marco <hecmargi@upv.es>
2669 Ismael Ripoll <iripoll@disca.upv.es>
2670 Carlos O'Donell <carlos@redhat.com>
2671
2672 [BZ #15754]
2673 * sysdeps/generic/stackguard-macros.h: Define
2674 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2675 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2676 Define __pointer_chk_guard_local.
2677 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2678 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2679
f5f4e7b4
VV
26802013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2681
2682 [BZ #15859]
2683 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2684
5bb43a43
AS
26852013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2686
2687 * include/string.h (__ffs): Declare as hidden.
2688 * string/ffs.c (__ffs): Define as hidden.
2689 * sysdeps/i386/ffs.c (__ffs): Likewise.
2690 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2691 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2692 * sysdeps/s390/ffs.c (__ffs): Likewise.
2693 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2694
3ea5be54
AO
26952013-09-20 Alexandre Oliva <aoliva@redhat.com>
2696
ffb89e53
AO
2697 * NEWS: Mention malloc probes.
2698
322dea08
AO
2699 * malloc/arena.c (new_heap): New memory_heap_new probe.
2700 (grow_heap): New memory_heap_more probe.
2701 (shrink_heap): New memory_heap_less probe.
2702 (heap_trim): New memory_heap_free probe.
2703 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2704 (systrim): New memory_sbrk_less probe.
2705 * manual/probes.texi: Document them.
2706
655673f3
AO
2707 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2708 * manual/probes.texi: Document it.
2709
35fed6f1
AO
2710 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2711 (__libc_realloc): Add memory_realloc_retry probe.
2712 (__libc_memalign): Add memory_memalign_retry probe.
2713 (__libc_valloc): Add memory_valloc_retry probe.
2714 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2715 (__libc_calloc): Add memory_calloc_retry probe.
2716 * manual/probes.texi: Document them.
2717
6999d38c
AO
2718 * malloc/arena.c (get_free_list): Add probe
2719 memory_arena_reuse_free_list.
2720 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2721 and memory_arena_reuse.
2722 (arena_get2) [!PER_THREAD]: Likewise.
2723 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2724 memory_arena_reuse_realloc.
2725 * manual/probes.texi: Document them.
2726
0653427f
AO
2727 * malloc/malloc.c (__libc_free): Add
2728 memory_mallopt_free_dyn_thresholds probe.
2729 (__libc_mallopt): Add multiple memory_mallopt probes.
2730 * manual/probes.texi: Document them.
2731
3ea5be54
AO
2732 * malloc/malloc.c: Include stap-probe.h.
2733 (__libc_mallopt): Add memory_mallopt probe.
2734 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2735 * manual/probes.texi: New.
2736 * manual/Makefile (chapters): Add probes.
2737 * manual/threads.texi: Set next node.
2738
e35696c3 27392013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2740
e35696c3
CL
2741 [BZ #15963, #13985]
2742 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2743 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2744 Add `Chinese' to `nan' entry name.
2745
4aafb73c
SP
27462013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2747
2748 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2749 (POLYNOMIAL): Likewise.
2750 (TAYLOR_SINCOS): Likewise.
2751 (TAYLOR_SLOW): Likewise.
2752 (__sin): Use TAYLOR_SINCOS.
2753 (__cos): Likewise.
2754 (slow): Use TAYLOR_SLOW.
2755 (sloww): Likewise.
2756 (bsloww): Likewise.
2757 (csloww): Likewise.
2758
d84f25c7
LD
27592013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2760
2761 * stdlib/strtod_l.c: Fix buffer overrun.
2762
5eea0404
SP
27632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2764
7849ff93
SP
2765 * benchtests/Makefile (bench): Add sincos.
2766 * benchtests/bench-sincos.c: New file.
2767
cfa3c886
SP
2768 * math/libm-test.inc (cos_test_data): New test inputs.
2769 (sin_test_data): Likewise.
2770
b348e1e3
SP
2771 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2772 macro.
2773 (__sin): Use it.
2774 (__cos): Likewise.
2775 (slow1): Likewise.
2776 (slow2): Likewise.
2777 (sloww1): Likewise.
2778 (sloww2): Likewise.
2779 (bsloww1): Likewise.
2780 (bsloww2): Likewise.
2781 (cslow2): Likewise.
2782 (csloww1): Likewise.
2783 (csloww2): Likewise.
2784
6cce25f8
SP
2785 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2786 function.
2787 (__sin): Use it.
2788 (__cos): Likewise.
2789
5eea0404
SP
2790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2791 gotos.
2792 (__cos): Likewise.
2793
9c21573c
MR
27942013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2795
2796 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2797 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2798 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2799 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2800 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2801 * elf/cache.c (print_entry): Handle the new cache flags.
2802
24d22e65
JM
28032013-09-18 Joseph Myers <joseph@codesourcery.com>
2804 Aldy Hernandez <aldyh@redhat.com>
2805
2806 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2807 Change condition to [_SOFT_FLOAT].
2808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2820 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2823 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2824 declaration.
2825
d13ef066
JM
28262013-09-18 Joseph Myers <joseph@codesourcery.com>
2827
2e071de0
JM
2828 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2829 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2830 (__longjmp): Use LOAD_GP to load saved GPRs.
2831 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2832 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2833 (__sigsetjmp): Use SAVE_GP to save GPRs.
2834
d13ef066
JM
2835 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2836 Do not append -msoft-float.
2837 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2838
97a0650b
SP
28392013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2840
2841 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2842
11ca09e9
JM
28432013-09-17 Joseph Myers <joseph@codesourcery.com>
2844
2845 [BZ #15966]
2846 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2847 (_FPU_GETCW): Use initial "__" on variable and field names but not
2848 on macro parameter name.
2849 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2850 parentheses around reference to macro parameter.
2851
08ffcf34
RS
28522013-09-13 Richard Sandiford <richard@codesourcery.com>
2853
2854 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2855 prototype.
2856 (ctype_startup): Use uint32_t in cast and sizeof for
2857 ctype->charnames.
2858
ae7080d3
JL
28592013-09-11 Jia Liu <proljc@gmail.com>
2860
2861 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2862 __daddr_t_defined.
2863 [__FreeBSD__]: Likewise.
2864
5905e7b3
OB
28652013-09-11 Ondřej Bílka <neleai@seznam.cz>
2866
2867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2868 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2869 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2870 (strchr): Remove __strchr_sse42 ifunc selection.
2871 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2872 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2873
b987c776
WN
28742013-09-11 Will Newton <will.newton@linaro.org>
2875
2876 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2877 parameter to RES. Remove hardcoded 1000 value.
2878 * benchtests/bench-skeleton.c (main): Pass RES parameter
2879 to TIMING_INIT and multiply result by 1000.
2880
ddf985af
AZ
28812013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2882
2883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2884
ffdd3181
AS
28852013-09-11 Andreas Schwab <schwab@suse.de>
2886
2887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2888 if not defined.
2889 (O_TMPFILE) [__USE_GNU]: Define.
2890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2891 Define.
2892
b73ed247
WN
28932013-09-11 Will Newton <will.newton@linaro.org>
2894
2895 [BZ #15857]
2896 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2897 does not overflow.
2898
55e17aad
WN
28992013-09-11 Will Newton <will.newton@linaro.org>
2900
2901 [BZ #15856]
2902 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2903 does not overflow.
2904
1159a193
WN
29052013-09-11 Will Newton <will.newton@linaro.org>
2906
2907 [BZ #15855]
2908 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2909 does not overflow.
2910
5905e7b3 29112013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2912
2913 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2915 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2916 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2918
cdfc721b
AM
29192013-09-10 Allan McRae <allan@archlinux.org>
2920
aa04af00
AM
2921 [BZ #15748]
2922 * manual/arith.texi (Parsing of Floats): Clarify
2923 cross-reference.
2924
cdfc721b
AM
2925 [BZ #15849]
2926 * manual/install.texi (Running make install): Mention
2927 --enable-pt-chown.
2928 * INSTALL: Regenerated.
2929
95e7cf29
MR
29302013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2931
2932 * csu/init-first.c (_init): Remove the !SHARED condition around
2933 FPU control word initialization.
2934 * elf/dl-support.c (_dl_fpu_control): New variable.
2935 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2936 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2937 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2938 * math/test-fpucw-static.c: New file.
2939 * math/test-fpucw-ieee.c: New file.
2940 * math/test-fpucw-ieee-static.c: New file.
2941 * math/Makefile (tests): Add `test-fpucw-ieee' and
2942 `$(tests-static)'.
2943 (tests-static): New variable.
2944 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2945 dependency to...
2946 [($(build-shared),yes)]
2947 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2948 ... this.
2949 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2950 New dependency.
2951
83e43bf0
AM
29522013-09-09 Allan McRae <allan@archlinux.org>
2953
a9f5ce09
AM
2954 [BZ #15939]
2955 * manual/string.texi (Collation Functions): Fix typo in
2956 strcoll example.
2957 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2958
34829bc2
AM
2959 [BZ #15893]
2960 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2961
3932737d
AM
2962 [BZ #15892]
2963 * libio/memstream.c (open_memstream): Fix memory leak.
2964 * libio/wmemstream.c (open_wmemstream): Likewise.
2965
83e43bf0
AM
2966 [BZ #15895]
2967 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2968
0c66b8e9
WN
29692013-09-09 Will Newton <will.newton@linaro.org>
2970
2971 * malloc/Makefile: Add tst-realloc to tests.
2972 * malloc/tst-realloc.c: New file.
2973
f6b00fd1
AM
29742013-09-09 Allan McRae <allan@archlinux.org>
2975
2976 [BZ #15844]
2977 * COPYING: Update from GNU website to fix FSF address.
2978 * COPYING.LIB: Likewise.
2979
eec55e16
DM
29802013-09-06 David S. Miller <davem@davemloft.net>
2981
2982 * po/zh_TW.po: Update Chinese (traditional) translation from
2983 translation project.
2984
1ecbb381
RS
29852013-09-06 Richard Sandiford <richard@codesourcery.com>
2986 Joseph Myers <joseph@codesourcery.com>
2987
2988 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2989 "localeinfo.h".
2990 (obstack_chunk_alloc): New macro.
2991 (obstack_chunk_free): Likewise.
2992 (record_offset): New function.
2993 (init_locale_data): Likewise.
2994 (align_locale_data): Likewise.
2995 (add_locale_empty): Likewise.
2996 (add_locale_raw_data): Likewise.
2997 (add_locale_raw_obstack): Likewise.
2998 (add_locale_string): Likewise.
2999 (add_locale_wstring): Likewise.
3000 (add_locale_uint32): Likewise.
3001 (add_locale_uint32_array): Likewise.
3002 (add_locale_char): Likewise.
3003 (start_locale_structure): Likewise.
3004 (end_locale_structure): Likewise.
3005 (start_locale_prelude): Likewise.
3006 (end_locale_prelude): Likewise.
3007 (write_locale_data): Take locale_file structure rather than an
3008 iovec.
3009 * locale/programs/locfile.h: Include "obstack.h".
3010 (struct locale_file): Change to store locale file contents instead
3011 of header.
3012 (init_locale_data): New prototype.
3013 (align_locale_data): Likewise.
3014 (add_locale_empty): Likewise.
3015 (add_locale_raw_data): Likewise.
3016 (add_locale_raw_obstack): Likewise.
3017 (add_locale_string): Likewise.
3018 (add_locale_wstring): Likewise.
3019 (add_locale_uint32): Likewise.
3020 (add_locale_uint32_array): Likewise.
3021 (add_locale_char): Likewise.
3022 (start_locale_structure): Likewise.
3023 (end_locale_structure): Likewise.
3024 (start_locale_prelude): Likewise.
3025 (end_locale_prelude): Likewise.
3026 (write_locale_data): Update prototype.
3027 * locale/programs/3level.h (struct TABLE): Remove result field.
3028 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3029 Use new locale_file interface.
3030 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3031 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3032 * locale/programs/ld-address.c (address_output): Use new
3033 locale_file interface.
3034 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3035 NO_ADD_LOCALE.
3036 (collate_finish): Don't call collseq_table_finalize.
3037 (collate_output): Use new locale_file interface.
3038 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3039 in file.
3040 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3041 (TABLE): Move defines earlier in file.
3042 (ELEMENT): Likewise.
3043 (DEFAULT): Likewise.
3044 (wctrans_table_add): Move macro and inline function earlier in
3045 file.
3046 (struct wctype_table): Move type earlier in file.
3047 (add_locale_wctype_table): New static prototype.
3048 (struct locale_ctype_t): Use logical types instead of struct iovec
3049 pointers for members.
3050 (ctype_output): Use new locale_file interface.
3051 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3052 new locale_file interface.
3053 (allocate_arrays): Update for use of new locale_file interface.
3054 * locale/programs/ld-identification.c (identification_output): Use
3055 new locale_file interface.
3056 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3057 * locale/programs/ld-messages.c (messages_output): Likewise.
3058 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3059 * locale/programs/ld-name.c (name_output): Likewise.
3060 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3061 * locale/programs/ld-paper.c (paper_output): Likewise.
3062 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3063 * locale/programs/ld-time.c (time_output): Likewise.
3064
e029e2e5
AZ
30652013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3066
3067 * benchtests/Makefile: Add memrchr benchmark.
3068 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3069 benchmark as memrchr.
3070 * benchtests/bench-memrchr-ifunc.c: New file.
3071 * benchtests/bench-memrchr.c: New file.
3072
bbf6e8e4
WN
30732013-09-06 Will Newton <will.newton@linaro.org>
3074
3075 * benchtests/Makefile (string-bench): Add memcpy.
3076
6c82a2f8
CD
30772013-09-05 Carlos O'Donell <carlos@redhat.com>
3078 Cong Wang <amwang@redhat.com>
3079
3080 * sysdeps/unix/sysv/linux/bits/in.h
3081 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3082 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3083 before __USE_KERNEL_IPV6_DEFS uses.
3084 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3085 IPPROTO_BEETPH.
3086 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3087 sockaddr_in6, or ipv6_mreq.
3088
5430fc65
AZ
30892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090
3091 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3092 memory access for final bytes in some large inputs.
3093 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3094
4660856c
AZ
30952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3096
3097 * string/test-memrchr.c: New file.
3098 * string/test-memrchr-ifunc.c: New file.
3099 * string/Makefile: Add new memrchr testcase.
3100
bb8ea713
MF
31012013-09-05 Mike Frysinger <vapier@gentoo.org>
3102
3103 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3104 fanotify_init returns EPERM.
3105
b92a20b5
JM
31062013-09-04 Joseph Myers <joseph@codesourcery.com>
3107
3108 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3109 errors.
3110 (top level): Treat second token from macro or constant entries for
3111 allowed headers as allowed.
3112 * include/complex.h: Condition internal declarations on
3113 [!_ISOMAC].
3114 * include/fenv.h: Condition include of <stdbool.h> and internal
3115 declarations on [!_ISOMAC].
7447ccd9
CL
3116
31172013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3118
3e181dda 3119 [BZ #15923]
7447ccd9
CL
3120 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3121
3f2e46a4
JM
31222013-09-04 Joseph Myers <joseph@codesourcery.com>
3123
3124 * configure.in (--enable-versioning): Remove configure option.
3125 (libc_cv_asm_symver_directive): Remove configure test.
3126 (libc_cv_ld_version_script_option): Likewise.
3127 (VERSIONING): Remove variable and AC_SUBST.
3128 (DO_VERSIONING): Remove AC_DEFINE.
3129 * configure: Regenerated.
3130 * config.h.in (DO_VERSIONING): Remove macro.
3131 * Makerules [$(versioning) = yes]: Change conditionals to
3132 [$(build-shared) = yes].
3133 * config.make.in (versioning): Remove variable.
3134 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3135 [$(build-shared) = yes].
3136 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3137 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3138 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3139 [$(build-shared) = yes].
3140 * extra-lib.mk [$(versioning) = yes]: Likewise.
3141 * hurd/Makefile [$(versioning) = yes]: Likewise.
3142 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3143 [SHARED].
3144 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3145 [SHARED].
3146 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3147 [SHARED && !NO_HIDDEN].
3148 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3149 [SHARED].
3150 [SHARED && DO_VERSIONING]: Likewise..
3151 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3152 [$(build-shared) = yes].
3153 * manual/install.texi (--disable-versioning): Remove
3154 documentation.
3155 * INSTALL: Regenerated.
3156 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3157 to [SHARED].
3158 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3159 [$(build-shared) = yes].
3160 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3161 * sysdeps/i386/i686/multiarch/strstr-c.c
3162 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3163 [SHARED && !NO_HIDDEN].
3164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3165 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3166 * sysdeps/powerpc/powerpc32/dl-machine.c
3167 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3168 * sysdeps/powerpc/powerpc32/sysdep.h
3169 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3170 to [SHARED && PIC && !NO_HIDDEN].
3171 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3172 conditional to [SHARED].
3173
44558701
WN
31742013-09-04 Will Newton <will.newton@linaro.org>
3175
3176 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3177 * benchtests/bench-string.h: Include bench-timing.h instead
3178 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3179 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3180 call to HP_TIMING_DIFF_INIT.
3181 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3182 instead of hp-timing.h macros.
3183 * benchtests/bench-memchr.c: Likewise.
3184 * benchtests/bench-memcmp.c: Likewise.
3185 * benchtests/bench-memcpy.c: Likewise.
3186 * benchtests/bench-memmem.c: Likewise.
3187 * benchtests/bench-memmove.c: Likewise.
3188 * benchtests/bench-memset.c: Likewise.
3189 * benchtests/bench-rawmemchr.c: Likewise.
3190 * benchtests/bench-strcasecmp.c: Likewise.
3191 * benchtests/bench-strcasestr.c: Likewise.
3192 * benchtests/bench-strcat.c: Likewise.
3193 * benchtests/bench-strchr.c: Likewise.
3194 * benchtests/bench-strcmp.c: Likewise.
3195 * benchtests/bench-strcpy.c: Likewise.
3196 * benchtests/bench-strcpy_chk.c: Likewise.
3197 * benchtests/bench-strlen.c: Likewise.
3198 * benchtests/bench-strncasecmp.c: Likewise.
3199 * benchtests/bench-strncat.c: Likewise.
3200 * benchtests/bench-strncmp.c: Likewise.
3201 * benchtests/bench-strncpy.c: Likewise.
3202 * benchtests/bench-strnlen.c: Likewise.
3203 * benchtests/bench-strpbrk.c: Likewise.
3204 * benchtests/bench-strrchr.c: Likewise.
3205 * benchtests/bench-strspn.c: Likewise.
3206 * benchtests/bench-strstr.c: Likewise.
3207
cae16d66
WN
32082013-09-04 Will Newton <will.newton@linaro.org>
3209
3210 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3211
ffa3cd7f
JM
32122013-09-03 Joseph Myers <joseph@codesourcery.com>
3213
3214 [BZ #15427]
3215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3216 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3217 * math/libm-test.inc (lgamma_test_data): Add more tests.
3218 * sysdeps/i386/fpu/libm-test-ulps: Update.
3219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220
8f02859f
OB
32212013-09-03 Ondřej Bílka <neleai@seznam.cz>
3222
3223 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3225 Add ifunc.
3226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3227 Add strcmp-sse2-unaligned
3228 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3229
18d43716
MF
32302013-09-02 Mike Frysinger <vapier@gentoo.org>
3231
3232 * Versions.def (libc): Add GLIBC_2.19.
3233
ac444012
MF
32342013-09-02 Mike Frysinger <vapier@gentoo.org>
3235
3236 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3237 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3238
b7835e32
JM
32392013-09-02 Joseph Myers <joseph@codesourcery.com>
3240
3241 [BZ #14155]
3242 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3243 intermediate calculations in recurrence.
3244 (__ieee754_ynf): Likewise.
3245 * math/libm-test.inc (jn_test_data): Do not allow spurious
3246 underflow exception. Add more tests.
3247 (yn_test_data): Add more tests.
3248 * sysdeps/i386/fpu/libm-test-ulps: Update.
3249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250
8220f4f0
OB
32512013-09-02 Ondřej Bílka <neleai@seznam.cz>
3252
3253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3254
f24a6d08
OB
32552013-08-30 Ondřej Bílka <neleai@seznam.cz>
3256
3257 * csu/init-first.c: Fix then/than typos.
3258 * locale/programs/ld-collate.c: Likewise.
3259 * locale/programs/linereader.h: Likewise.
3260 * manual/charset.texi: Likewise.
3261 * manual/filesys.texi: Likewise.
3262 * manual/stdio.texi: Likewise.
3263 * manual/string.texi: Likewise.
3264 * stdlib/fmtmsg.c: Likewise.
3265 * sysdeps/i386/stpncpy.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3267 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3269 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3270
382466e0
OB
32712013-08-30 Ondřej Bílka <neleai@seznam.cz>
3272
3273 * elf/dl-open.c: Fix typos.
3274 * iconvdata/gbbig5.c: Likewise.
3275 * iconvdata/iso-2022-jp.c: Likewise.
3276 * iconv/gconv_int.h: Likewise.
3277 * iconv/loop.c: Likewise.
3278 * nis/rpcsvc/nis.h: Likewise.
3279 * resolv/ns_name.c: Likewise.
3280 * stdio-common/vfscanf.c: Likewise.
3281 * streams/stropts.h: Likewise.
3282 * sunrpc/rpc_thread.c: Likewise.
3283 * sysdeps/i386/strpbrk.S: Likewise.
3284 * sysdeps/ieee754/k_standard.c: Likewise.
3285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3287 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3288 * sysdeps/mach/hurd/profil.c: Likewise.
3289 * sysdeps/s390/dl-procinfo.h: Likewise.
3290 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3292 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3293 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3295
0186c6e9
OB
32962013-08-30 Ondřej Bílka <neleai@seznam.cz>
3297
3298 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3299 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3300
d4e16af1
OB
33012013-08-29 Ondřej Bílka <neleai@seznam.cz>
3302
3303 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3304 aix specific files.
3305 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3308 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3309 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3313
88335980
TS
33142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3315 Roland McGrath <roland@hack.frob.com>
3316
3317 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3318 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3319
ed479b02
ST
33202013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3321
3322 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3323 __executable_start symbol instead of _start.
3324
f1cc4c86
TS
33252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3326
d821f07c
TS
3327 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3328 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3329 Move macros to...
3330 * sysdeps/gnu/ldsodefs.h: ... this new file.
3331
c54290cf
TS
3332 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3333 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3334 instead of ELFOSABI_LINUX.
3335
0007fc9b 3336 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3337 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3338 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3339 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3340 Likewise.
3341 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3342 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3343 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3344 Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3346 (ibm_extended_long_double): Add ieee_nan member.
3347 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3348 (do_test): New function.
3349
f1cc4c86
TS
3350 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3351 TEST_TRUNC.
3352 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3353 functions, renamed from truncdfsf_test, trunctfsf_test,
3354 trunctfdf_test.
3355 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3356 functions.
3357 (do_test): Run all these.
3358
6f65e668
OB
33592013-08-29 Ondřej Bílka <neleai@seznam.cz>
3360
3361 * argp/argp-help.c: Fix typos.
3362 * argp/argp-parse.c: Likewise.
3363 * debug/backtracesyms.c: Likewise.
3364 * elf/elf.h: Likewise.
3365 * malloc/malloc.c: Likewise.
3366 * nis/nis_print.c: Likewise.
3367 * resolv/res_comp.c: Likewise.
3368 * stdlib/stdlib.h: Likewise.
3369 * sunrpc/clnt_tcp.c: Likewise.
3370 * sunrpc/clnt_udp.c: Likewise.
3371 * sunrpc/clnt_unix.c: Likewise.
3372 * sysdeps/unix/bsd/ptsname.c: Likewise.
3373 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3376 Likewise.
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3378 Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3380 Likewise.
6f65e668
OB
3381 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3382
3a309239
SP
33832013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3384
3385 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3387
3b813b29
MF
33882013-08-27 Mike Frysinger <vapier@gentoo.org>
3389
3390 [BZ #15897]
3391 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3392 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3393 ($(objpfx)bug-dl-leaf): New rule.
3394 ($(objpfx)bug-dl-leaf.so): Likewise.
3395 ($(objpfx)bug-dl-leaf.out): Likewise.
3396 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3397 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3398 * dlfcn/bug-dl-leaf.c: New test.
3399 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3400 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3401 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3402 (dlclose): Likewise.
3403 (dlmopen): Likewise.
3404
8cc3269f
RM
34052013-08-27 Roland McGrath <roland@hack.frob.com>
3406
7f9d0034
RM
3407 * include/netdb.h [!_ISOMAC]:
3408 Don't include <tls.h>.
3409 (h_errno, __libc_h_errno): Move declaration and macros out of
3410 [_LIBC_REENTRANT].
3411
fb431262
RM
3412 * include/resolv.h [_RESOLV_H_]:
3413 Don't include <tls.h>.
3414 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3415 * resolv/res_libc.c: Don't include <tls.h>.
3416 (_res): Use __attribute__ ((nocommon)) in place of
3417 __attribute__ ((section (".bss"))).
3418
bd81123a
RM
3419 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3420 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3421
c4e42566
RM
3422 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3423
f890a59b
RM
3424 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3425 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3426
3427 * resolv/res_mkquery.c: Include <sys/time.h>.
3428
5d1f0a09
RM
3429 * inet/ifreq.c: Moved to ...
3430 * sysdeps/unix/ifreq.c: ... here.
3431 * inet/ifreq.c: New file, true stub version.
3432
6fcf28b3
RM
3433 * socket/sa_len.c: New file.
3434 * socket/Makefile (aux): Add it.
3435 * sysdeps/unix/sysv/linux/Makefile
3436 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3437 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3438 and #include <socket/sa_len.c>.
3439 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3440 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3441
e041fb8b
RM
3442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3443 * bits/socket.h: ... here.
3444
8cc3269f
RM
3445 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3446 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3447 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3448
5d228a43
AS
34492013-08-27 Andreas Schwab <schwab@suse.de>
3450
45b8accc
AS
3451 [BZ #15736]
3452 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3453 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3454 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3455 * string/test-strcasecmp.c (test_main): Run tests in several
3456 locales.
3457 * string/test-strncasecmp.c (test_main): Likewise.
3458
5d228a43
AS
3459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3460 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3461 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3463 (__strncasecmp_ssse3) [PIC]: Likewise.
3464
59d112a4
RM
34652013-08-26 Roland McGrath <roland@hack.frob.com>
3466
53234cc3
RM
3467 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3468
59d112a4
RM
3469 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3470 instead of explicitly declaring xdecrypt.
3471 * nis/nss_nis/nis-publickey.c: Likewise.
3472
595aba70
SP
34732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3474
3475 [BZ #15890]
3476 * nscd/aicache.c: Include res_hconf.h.
3477 (addhstaiX): Initialize res_hconf.
3478
ffabd393
AS
34792013-08-26 Andreas Schwab <schwab@suse.de>
3480
3481 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3482 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3483
e0a69f5c
SP
34842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3485
3486 * nscd/aicache.c (addhstaiX): Fix indentation.
3487
8c12f01d
MF
34882013-08-25 Mike Frysinger <vapier@gentoo.org>
3489
3490 * configure.ac: Quote $build_pt_chown test.
3491 * configure: Regenerated.
3492
8fe89494
JM
34932013-08-23 Joseph Myers <joseph@codesourcery.com>
3494
3495 [BZ #15532]
3496 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3497 * math/s_cexpf.c (__cexpf): Likewise.
3498 * math/s_cexpl.c (__cexpl): Likewise.
3499 * math/libm-test.inc (cexp_test_data): Correct expected return
3500 value for NaN + i0. Add another test.
3501
75b181d6
DM
35022013-08-22 David S. Miller <davem@davemloft.net>
3503
3504 * po/ca.po: Update Catalan translation from translation project.
936241e4 3505 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3506
acd06bb1
JM
35072013-08-21 Joseph Myers <joseph@codesourcery.com>
3508
3509 [BZ #15797]
3510 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3511 is infinite, not alongside NaN test.
3512 * math/s_fdimf.c (__fdimf): Likewise.
3513 * math/s_fdiml.c (__fdiml): Likewise.
3514 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3515 errno is unchanged.
3516
c0c3f78a
OB
35172013-08-21 Ondřej Bílka <neleai@seznam.cz>
3518
3519 * argp/argp-help.c: Fix typos.
3520 * crypt/speeds.c: Likewise.
3521 * csu/check_fds.c: Likewise.
3522 * elf/dl-load.c: Likewise.
3523 * elf/dl-open.c: Likewise.
3524 * elf/reldep3.c: Likewise.
3525 * elf/reldep.c: Likewise.
3526 * elf/sprof.c: Likewise.
3527 * iconv/iconv_charmap.c: Likewise.
3528 * iconv/skeleton.c: Likewise.
3529 * iconv/strtab.c: Likewise.
3530 * io/lockf64.c: Likewise.
3531 * libio/libioP.h: Likewise.
3532 * resolv/gai_notify.c: Likewise.
3533 * resolv/ns_name.c: Likewise.
3534 * resolv/ns_samedomain.c: Likewise.
3535 * resolv/res_send.c: Likewise.
3536 * stdlib/random.c: Likewise.
3537 * sunrpc/rpc/xdr.h: Likewise.
3538 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3546 * sysdeps/mach/hurd/check_fds.c: Likewise.
3547 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3548 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3551 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3552 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3553 * sysdeps/pthread/aio_notify.c: Likewise.
3554 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3555 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3556 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3558 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3559
46ed1038
LD
35602013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3561
3562 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3563 version if bit_Slow_SSE4_2 is set.
3564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3566
d400dcac
AZ
35672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3568
3569 [BZ #15867]
3570 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3571 trampoline stack frame information.
3572 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3574 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3575 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3576 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3577 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3578 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3579 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3580 sa_flags value.
3581 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3582 interrupting a syscall and set with option SA_SIGINFO.
3583
42c8fdd8
JM
35842013-08-20 Joseph Myers <joseph@codesourcery.com>
3585
c980f2f4
JM
3586 [BZ #15531]
3587 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3588 argument is infinite.
3589 * math/s_cprojf.c (__cprojf): Likewise.
3590 * math/s_cprojl.c (__cprojl): Likewise.
3591 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3592 * math/libm-test.inc (cproj_test_data): Add more tests.
3593
0716c4fc
JM
3594 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3595
42c8fdd8
JM
3596 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3597 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3598 size. Use __ffs to determine corresponding shift.
3599
b31469d0
JM
36002013-08-20 Joseph Myers <joseph@codesourcery.com>
3601 Roland McGrath <roland@hack.frob.com>
3602
3603 * Makefile (INSTALL): Remove trailing blank lines from output of
3604 makeinfo.
3605
4e39af6e
AK
36062013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3607
3608 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3609 Align 32 bit compat elf_greg to 8 bytes.
3610
f315524e
AA
36112013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3612
3613 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3614
1326ba1a
SP
36152013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3616
3617 * string/strcoll_l.c (coll_seq): New structure.
3618 (get_next_seq_cached): New function.
3619 (get_next_seq): New function.
3620 (do_compare): New function.
3621 (STRCOLL): Use GNU style definition. Simplify implementation
3622 by using get_next_seq, get_next_seq_cached and do_compare.
3623
91ce4085
FW
36242013-08-16 Florian Weimer <fweimer@redhat.com>
3625
3626 [BZ #14699]
3627 CVE-2013-4237
3628 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3629 member.
3630 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3631 member.
3632 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3633 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3634 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3635 conditional.
3636 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3637 GETDENTS_64BIT_ALIGNED.
3638 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3639 * manual/filesys.texi (Reading/Closing Directory): Document
3640 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3641 strongly.
3642 * manual/conf.texi (Limits for Files): Add portability note to
3643 NAME_MAX, PATH_MAX.
3644 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3645
ca0a6bc4
AS
36462013-08-13 Andreas Schwab <schwab@suse.de>
3647
3648 [BZ #15749]
3649 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3650 of fabs.
3651 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3652 LDBL_MAX_EXP >= 16384]: Add tests for it.
3653
6c1fd795
DM
36542013-08-12 David S. Miller <davem@davemloft.net>
3655
3656 * version.h (RELEASE): Set to "development".
3657 (VERSION): Set to "2.18.90".
3658 * NEWS: Add 2.19 section.
3659
31ad488d
DM
36602013-08-03 David S. Miller <davem@davemloft.net>
3661
3662 * po/ko.po: Update Korean translation from translation project.
3663
db24e684
DM
36642013-08-01 David S. Miller <davem@davemloft.net>
3665
3666 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3667 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3668 Bilka.
3669
f723285b
DM
36702013-07-30 David S. Miller <davem@davemloft.net>
3671
3672 * po/fr.po: Update French translation from translation project.
3673
3cbc52db
DM
36742013-07-28 David S. Miller <davem@davemloft.net>
3675
30bbc0cc
DM
3676 * po/cs.po: Update Czech translation from translation project.
3677
3cbc52db
DM
3678 * po/sv.po: Update Swedish translation from translation project.
3679
d492e6d0
DM
36802013-07-27 David S. Miller <davem@davemloft.net>
3681
f1a7f492
DM
3682 * po/eo.po: Update Esperanto translation from translation project.
3683
90e62a4a
DM
3684 * po/vi.po: Update Vietnamese translation from translation project.
3685
d492e6d0
DM
3686 * po/de.po: Update German translation from translation project.
3687
d4baa62d
DM
36882013-07-26 David S. Miller <davem@davemloft.net>
3689
641aa7b4
DM
3690 * po/bg.po: Update Bulgarian translation from translation project.
3691
d4baa62d
DM
3692 * po/nl.po: Update Dutch translation from translation project.
3693 * po/pl.po: Update Polish translation from translation project.
3694 * po/ru.po: Update Russian translation from translation project.
3695
61a9dcb9
DM
36962013-07-24 David S. Miller <davem@davemloft.net>
3697
3698 * po/libc.pot: Update.
3699
7b1f8b58
AZ
37002013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3701
3702 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3703 variable page size.
3704 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3706 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3707
a8fc7a03
AK
37082013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3709
3710 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3711
e4608715
CD
37122013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3713 Andreas Schwab <schwab@suse.de>
3714 Roland McGrath <roland@hack.frob.com>
3715 Joseph Myers <joseph@codesourcery.com>
3716 Carlos O'Donell <carlos@redhat.com>
3717
3718 [BZ #15755]
3719 * config.h.in: Define HAVE_PT_CHOWN.
3720 * config.make.in (build-pt-chown): New variable.
3721 * configure.in (--enable-pt_chown): New configure option.
3722 * configure: Regenerate.
3723 * login/Makefile: Include Makeconfig. Build pt_chown only if
3724 build-pt-chown is enabled.
3725 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3726 pt_chown to fix pty ownership.
3727 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3728 CLOSE_ALL_FDS.
3729 * manual/install.texi (Configuring and compiling): Mention
3730 --enable-pt_chown. Add @findex for grantpt.
3731 * INSTALL: Regenerate.
3732
da2d62df
DM
37332013-07-20 David S. Miller <davem@davemloft.net>
3734
3735 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3736 difference between 32-bit and 64-bit.
3737
d7e06450
CD
37382013-07-15 Carlos O'Donell <carlos@redhat.com>
3739
3740 [BZ #15711]
3741 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3742 Avoid system header dependency with -ffreestanding.
3743 ($(objpfx)bits/syscall%d): Likewise.
3744
f959cfd7
DM
37452013-07-13 David S. Miller <davem@davemloft.net>
3746
3747 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3748 underflows from atanl/atan2l due to bug 15319.
3749 (casinh_test_data): Likewise.
3750
c61f8513
DM
37512013-07-07 David S. Miller <davem@davemloft.net>
3752
3753 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3754
72c90ed0
JA
37552013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3756
3757 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759
52dfbe13
SP
37602013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
3762 * configure.in (--enable-lock-elision): Fix message text.
3763 * INSTALL: Regenerate.
3764 * configure: Regenerate.
3765
3f169543
AZ
37662013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767
3768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3769
521c6785
AJ
37702013-07-03 Andreas Jaeger <aj@suse.de>
3771
3772 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3773 define.
3774 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3775 (ptrace_peeksiginfo_args): Add.
3776 (__ptrace_peeksiginfo_flags): Add.
3777 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3780
d2cc15cb
AM
37812013-07-03 Allan McRae <allan@archlinux.org>
3782
3783 * sysdeps/i386/fpu/libm-test-ulps: Update.
3784
3aaeeca7
DM
37852013-07-02 David S. Miller <davem@davemloft.net>
3786
3787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3788
5314ed1a
MT
37892013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3790
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3792
67338156
JM
37932013-07-02 Joseph Myers <joseph@codesourcery.com>
3794
3795 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3797
1717da59
AK
37982013-07-02 Andi Kleen <ak@linux.intel.com>
3799
3800 * config.h.in (ENABLE_LOCK_ELISION): Add.
3801 * configure.in (--enable-lock-elision): Add option.
3802 * manual/install.texi: Document --enable lock elision.
3803 * configure: Regenerate
3804 * INSTALL: Regenerate.
3805
1c81621c
L
38062013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3807
3808 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3809 SSE4.2 strcasecmp for libc.a.
3810 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3811
77f01ab5
JM
38122013-07-02 Joseph Myers <joseph@codesourcery.com>
3813
3814 [BZ #13304]
3815 * soft-fp/op-common.h (_FP_FMA): New macro.
3816 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3817 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3818 (_FP_MUL_MEAT_1_imm): ... here.
3819 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3820 (_FP_MUL_MEAT_1_wide): ... here.
3821 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3822 (_FP_MUL_MEAT_1_hard): ... here.
3823 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3824 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3825 (_FP_MUL_MEAT_2_wide): ... here.
3826 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3827 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3828 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3829 (_FP_MUL_MEAT_2_gmp): ... here.
3830 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3831 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3832 (_FP_MUL_MEAT_4_wide): ... here.
3833 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3834 (_FP_MUL_MEAT_4_gmp): ... here.
3835 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3836 (_FP_WFRACBITS_DW_S): Likewise.
3837 (_FP_WFRACXBITS_DW_S): Likewise.
3838 (_FP_HIGHBIT_DW_S): Likewise.
3839 (FP_FMA_S): Likewise.
3840 (_FP_FRAC_HIGH_DW_S): Likewise.
3841 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3842 (_FP_WFRACBITS_DW_D): Likewise.
3843 (_FP_WFRACXBITS_DW_D): Likewise.
3844 (_FP_HIGHBIT_DW_D): Likewise.
3845 (FP_FMA_D): Likewise.
3846 (_FP_FRAC_HIGH_DW_D): Likewise.
3847 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3848 (_FP_WFRACBITS_DW_E): Likewise.
3849 (_FP_WFRACXBITS_DW_E): Likewise.
3850 (_FP_HIGHBIT_DW_E): Likewise.
3851 (FP_FMA_E): Likewise.
3852 (_FP_FRAC_HIGH_DW_E): Likewise.
3853 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3854 (_FP_WFRACBITS_DW_Q): Likewise.
3855 (_FP_WFRACXBITS_DW_Q): Likewise.
3856 (_FP_HIGHBIT_DW_Q): Likewise.
3857 (FP_FMA_Q): Likewise.
3858 (_FP_FRAC_HIGH_DW_Q): Likewise.
3859 * soft-fp/fmasf4.c: New file.
3860 * soft-fp/fmadf4.c: Likewise.
3861 * soft-fp/fmatf4.c: Likewise.
3862
6308fd9a
LD
38632013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3864
3865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3866 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3867 Silvermont.
3868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3869 macro.
3870 (index_Slow_SSE4_2): Likewise.
3871 (index_Prefer_PMINUB_for_stringop): Likewise.
3872 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3873 bit_Slow_SSE4_2 is set.
3874 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3875 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3876
89cd9569
RA
38772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3878
3879 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3880 rtld_global._dl_hwcap2.
3881 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3882 POWER8.
3883 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3884 POWER8 feature descriptions defined in _dl_hwcap2.
3885 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3886 string handling for POWER8 feature bits.
3887 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3888 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3889 _dl_powerpc_cap_flags.
3890 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3891 * sysdeps/powerpc/rtld-global-offsets.sym
3892 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3893 _dl_hwcap2 in the rtld_global_ro structure.
3894
1ae8bfe0
RA
38952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3896
3897 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3898 hardware capabilities in support of AT_HWCAP2.
3899 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3900 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3901 GLRO(dl_hwcap2).
3902 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3903 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3904 explicitly the unknown a_type display mechanism is used.
3905 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3906 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3907 struct member.
3908 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3909 to macro prototype for AT_HWCAP2 support.
3910 * sysdeps/i386/dl-procinfo.h: Likewise.
3911 * sysdeps/s390/dl-procinfo.h: Likewise.
3912 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3913 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3914 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3915 return -1 for unknown a_type display fallback.
3916 * sysdeps/sparc/dl-procinfo.h: Likewise.
3917 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3918 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3919
8fbec010
JM
39202013-06-28 Joseph Myers <joseph@codesourcery.com>
3921
3922 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3923 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3924
0432680e
PY
39252013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3926
3927 [BZ #12492]
3928 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3929 mprotect making __stack_prot writable.
3930
ce61a2ad
NF
39312013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3932 Joseph Myers <joseph@codesourcery.com>
3933
3934 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3935 as being properly aligned.
3936
f91f1c0f
MR
39372013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3938
3d0f5d0c
MR
3939 * dlfcn/modstatic5.c: New file.
3940 * dlfcn/tststatic5.c: New file.
3941 * dlfcn/Makefile (tests): Add tststatic5.
3942 (tests-static): Likewise.
3943 (modules-names): Add modstatic5.
3944 (tststatic5-ENV): New variable.
3945 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3946
f91f1c0f
MR
3947 [BZ #15022]
3948 * elf/dl-support.c (_dl_main_map): New variable.
3949 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3950 (_dl_nns, _dl_load_adds): Set to 1.
3951 (_dl_initial_searchlist): Refer to _dl_main_map.
3952 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3953 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3954 call to _dl_get_origin.
3955 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3956 around call_map.
3957 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3958 * dlfcn/modstatic3.c: New file.
3959 * dlfcn/tststatic3.c: New file.
3960 * dlfcn/tststatic4.c: New file.
3961 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3962 (tests-static): Likewise.
3963 (modules-names): Add modstatic3.
3964 (tststatic3-ENV, tststatic4-ENV): New variables.
3965 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3966 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3967
cbe7d24b
JM
39682013-06-26 Joseph Myers <joseph@codesourcery.com>
3969
3970 * configure.in (CC): Require GCC version 4.4 or later.
3971 * configure: Regenerated.
3972 * manual/install.texi (Tools for Compilation): Update GCC version
3973 requirement.
3974 * INSTALL: Regenerated.
3975
11b8a0e1
LD
39762013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3977
3978 [BZ #15674]
bb5bb87c
L
3979 * string/test-memcmp.c (check2): New.
3980 (main): Call check2.
3981
11b8a0e1
LD
3982 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3983
b0037103
MR
39842013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3985
3986 [BZ #15022]
3987 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3988 over to...
3989 (dl_open_worker) [!SHARED]: ... here.
3990
c18c701d
RA
39912013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3992
3993 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3994
1d17fa5f
RH
39952013-06-25 Richard Henderson <rth@redhat.com>
3996
3997 * locale/programs/locarchive.c: Include <libc-internal.h>
3998
8fcb833a
JM
39992013-06-25 Joseph Myers <joseph@codesourcery.com>
4000
4001 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4002 trailing whitespace removed.
4003
17db6e8d
MF
40042013-06-24 Mike Frysinger <vapier@gentoo.org>
4005
4006 [BZ #10283]
17db6e8d
MF
4007 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4008 * locale/programs/locarchive.c: Include libc-mmap.h.
4009 (prepare_address_space): Take two new outputs (the mmap base and len).
4010 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4011 values.
4012 (create_archive): Declare new mmap base and len values for
4013 prepare_address_space, and store the result in ah.
4014 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4015 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4016 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4017 Declare new mmap base and len values for
4018 prepare_address_space, and store the result in new_ah.
4019 (open_archive): Declare new mmap base and len values for
4020 prepare_address_space, and store the result in ah.
4021 (close_archive): If ah->mmap_base is not NULL, use that and
4022 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4023 * sysdeps/generic/libc-mmap.h: New file.
4024
d605071e
MF
40252013-06-24 Mike Frysinger <vapier@gentoo.org>
4026
4027 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4028 (ALIGN_UP): Likewise.
4029 (PTR_ALIGN_DOWN): Likewise.
4030 (PTR_ALIGN_UP): Likewise.
4031
2f063a6e
RA
40322013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4033
4034 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4035 entry mapped to PPC_PLATFORM_POWER8.
4036 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4037 POWER8.
4038 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4039 (_dl_string_platform): Add case for exporting platform position for
4040 POWER8.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4042 search path to sysdeps/powerpc/powerpc32/power8 directory.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4044 search path to sysdeps/powerpc/powerpc64/power8 directory.
4045 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4046 power7 directories.
4047 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4048 power7 directories.
4049
a31ee4b3
SP
40502013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4051
a74ca98f
SP
4052 * INSTALL: Regenerate.
4053
a31ee4b3
SP
4054 * nscd/connections.c (nscd_init): Fix comment.
4055
695c378f
JM
40562013-06-22 Joseph Myers <joseph@codesourcery.com>
4057
d8412221
JM
4058 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4059
695c378f
JM
4060 [BZ #15667]
4061 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4062 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4063
d1d54715
MR
40642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4065
4066 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4067 DL_DST_REQ_STATIC.
4068 (DL_DST_REQ_STATIC): Remove macro.
4069
8fdda7af
JM
40702013-06-21 Joseph Myers <joseph@codesourcery.com>
4071
4072 [BZ #7006]
4073 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4074 with a shift of 0 bits.
4075
f3bc5e5a
MR
40762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4077
4078 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4079 $(tststatic-ENV).
4080
be09e8c9
KK
40812013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4082
4083 [BZ #15655]
4084 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4085
85c2e611
AZ
40862013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4087
4088 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4089 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4090 accepts -fno-tree-loop-distribute-patterns.
4091 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4092 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4093 recursive call.
4094 * string/memset.c (memset): Likewise.
4095 * string/test-memmove.c (simple_memmove): Disable loop transformation
4096 to library calls.
4097 * string/test-memset.c (simple_memset): Likewise.
4098 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4099 * benchtests/bench-memset.c (simple_memset): Likewise.
4100 * configure: Regenerated.
4101
c91e0825
JM
41022013-06-20 Joseph Myers <joseph@codesourcery.com>
4103
b8c792af
JM
4104 * math/test-misc.c (main): Ignore fesetround failure when failures
4105 of subsequent rounding tests would be ignored.
4106
c91e0825
JM
4107 [BZ #15654]
4108 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4109 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4110 * math/fegetenv.c (__fegetenv): Return 0.
4111 * math/fegetexcept.c (fegetexcept): Return 0.
4112 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4113 FE_TONEAREST.
4114 * math/feholdexcpt.c (feholdexcept): Return 0.
4115 * math/fesetenv.c (__fesetenv): Return 0.
4116 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4117 argument FE_TONEAREST.
4118 * math/feupdateenv.c (__feupdateenv): Return 0.
4119 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4120
bfcacbde
RM
41212013-06-18 Roland McGrath <roland@hack.frob.com>
4122
4123 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4124 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4125 ($(objpfx)rtld-%.os rules): Use them.
4126
e55a9b25
AZ
41272013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4128
4129 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4130 fields.
4131
346d65b3
RM
41322013-06-17 Roland McGrath <roland@hack.frob.com>
4133
12086fb4
RM
4134 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4135 length of target pattern, then descending length of dependency pattern.
4136 * configure.in (AWK): Require gawk 3.1.2 or newer.
4137 * manual/install.texi (Tools for Compilation): Say that we do.
4138 * configure: Regenerated.
4139
346d65b3
RM
4140 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4141 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4142 * scripts/sysd-rules.awk: ... this new script.
4143 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4144 than a glob-style pattern.
4145
1a846317
JM
41462013-06-17 Joseph Myers <joseph@codesourcery.com>
4147
4148 * math/test-misc.c (main): Do not treat incorrectly rounded
4149 conversions as failure unless ROUNDING_TESTS passes.
4150
8fc75e6f
JM
41512013-06-15 Joseph Myers <joseph@codesourcery.com>
4152
3711a167
JM
4153 [BZ #15631]
4154 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4155 restore exception state around main square root computation, then
4156 check for inexactness explicitly.
4157
8fc75e6f
JM
4158 * math/libm-test.inc (fma_test_data): Add another test.
4159
61dd6208
SP
41602013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4161
adf23d2c
SP
4162 * manual/threads.texi (Non-POSIX Extensions): New document
4163 node. Document pthread_getattr_default_np and
4164 pthread_setattr_default_np.
4165
61dd6208
SP
4166 * Versions.def (libpthread): Add GLIBC_2.18.
4167 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4169 Likewise.
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4171 Likewise.
4172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4173 Likewise.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4175 Likewise.
4176 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4177 Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4179 Likewise.
4180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4181 Likewise.
4182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4183 Likewise.
4184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4185 Likewise.
4186
d086fc7b
LD
41872013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4188
4189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4190 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4191
747ef469
SP
41922013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4193 H.J. Lu <hjl.tools@gmail.com>
4194
4195 [BZ #15627]
4196 * sysdeps/x86_64/rtld-memset.c: Remove file.
4197 * sysdeps/x86_64/rtld-memset.S: New file.
4198
1b2feed2
JM
41992013-06-14 Joseph Myers <joseph@codesourcery.com>
4200
4201 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4202 (test_in_one_mode): Take arguments for whether the rounding mode
4203 is supported for each floating-point type.
4204 (do_test): Pass new arguments to test_in_one_mode using
4205 ROUNDING_TESTS.
4206
a58ad3f8
RM
42072013-06-13 Roland McGrath <roland@hack.frob.com>
4208
4209 * posix/tst-waitid.c (do_test): Distinguish different instances of
4210 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4211 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4212 before entering the kernel for waitpid.
4213
c204ab28
SP
42142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4215
4216 * NEWS: Fix note on clock function precision. Text by Roland
4217 McGrath.
4218
f4a29fba
RM
42192013-06-13 Roland McGrath <roland@hack.frob.com>
4220
4221 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4222 it into place only when and if the sanity check passes.
4223
1f24b9ad
JM
42242013-06-13 Joseph Myers <joseph@codesourcery.com>
4225
4226 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4227 output for whether conversion result is exact. Take argument
4228 indicating whether type is IBM long double.
4229 (round_for_all): Change need_exact field to ibm_ld.
4230 * stdlib/tst-strtod-round.c (struct exactness): New type.
4231 (struct test): Change bool ld_ok field to struct exactness exact.
4232 (TEST): Update all definitions for change to field.
4233 (tests): Regenerate array contents.
4234 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4235 field value. Check for IBM long double here.
4236 (do_test): Update calls to test_in_one_mode.
4237
58206c68
SP
42382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4239
4240 [BZ #12515]
4241 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4242 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4243
2d6f4c5b 42442013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4245
4246 [BZ #15605]
4247 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4248 generated by the compiler on loop optimizations.
4249 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4250 general definitions.
4251
94f2c076
JM
42522013-06-12 Joseph Myers <joseph@codesourcery.com>
4253
4254 * math/bug-nextafter.c: Include <math-tests.h>.
4255 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4256 the relevant type.
4257 * math/bug-nexttoward.c: Include <math-tests.h>.
4258 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4259 the relevant type.
4260 * math/test-misc.c: Include <math-tests.h>.
4261 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4262 the relevant type.
4263
e0e50a0a
AJ
42642013-06-12 Andreas Jaeger <aj@suse.de>
4265
4266 * po/ia.po: Update Interlingua translation from translation
4267 project.
4268
25061094
SP
42692013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4270
4271 * include/fenv.h: Include stdbool.h.
4272 (struct rm_ctx): New structure.
4273 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4274 Define macro.
4275 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4276 (SET_RESTORE_ROUNDF): Likewise.
4277 (SET_RESTORE_ROUNDL): Likewise.
4278 (SET_RESTORE_ROUND_NOEX): Likewise.
4279 (SET_RESTORE_ROUND_NOEXF): Likewise.
4280 (SET_RESTORE_ROUND_NOEXL): Likewise.
4281 (SET_RESTORE_ROUND_53BIT): Likewise.
4282 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4283 (libc_feresetround_noexf_ctx): Likewise.
4284 (libc_feresetround_noexl_ctx): Likewise.
4285 (libc_feholdsetround_53bit_ctx): Likewise.
4286 (libc_feresetround_53bit_ctx): Likewise.
4287 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4288 (libc_feholdexcept_setround_sse_ctx): New function.
4289 (libc_fesetenv_sse_ctx): Likewise.
4290 (libc_feupdateenv_sse_ctx): Likewise.
4291 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4292 (libc_feholdexcept_setround_387_ctx): Likewise.
4293 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4294 (libc_feholdsetround_387_prec_ctx): Likewise.
4295 (libc_feholdsetround_387_ctx): Likewise.
4296 (libc_feholdsetround_387_53bit_ctx): Likewise.
4297 (libc_feholdsetround_sse_ctx): Likewise.
4298 (libc_feresetround_sse_ctx): Likewise.
4299 (libc_feresetround_387_ctx): Likewise.
4300 (libc_feupdateenv_387_ctx): Likewise.
4301 (libc_feholdexcept_setroundf_ctx): Define macro.
4302 (libc_fesetenvf_ctx): Likewise.
4303 (libc_feupdateenvf_ctx): Likewise.
4304 (libc_feholdsetroundf_ctx): Likewise.
4305 (libc_feresetroundf_ctx): Likewise.
4306 (libc_feholdexcept_setround_ctx): Likewise.
4307 (libc_fesetenv_ctx): Likewise.
4308 (libc_feupdateenv_ctx): Likewise.
4309 (libc_feholdsetround_ctx): Likewise.
4310 (libc_feresetround_ctx): Likewise.
4311 (libc_feholdexcept_setroundl_ctx): Likewise.
4312 (libc_feupdateenvl_ctx): Likewise.
4313 (libc_feholdsetroundl_ctx): Likewise.
4314 (libc_feresetroundl_ctx): Likewise.
4315 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4316 (libc_feresetround_53bit_ctx): Likewise.
4317
59b30555
SP
43182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4319
4320 * locale/iso-639.def: Convert to UTF-8.
4321
f1d73d30
JM
43222013-06-11 Joseph Myers <joseph@codesourcery.com>
4323
4324 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4325 (EXCEPTION_TESTS_double): Likewise.
4326 (EXCEPTION_TESTS_long_double): Likewise.
4327 (EXCEPTION_TESTS): Likewise.
4328 * math/libm-test.inc (test_exceptions): Only test exceptions if
4329 EXCEPTION_TESTS (FLOAT).
4330
94aca5e7
SP
43312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4332
4333 * benchtests/Makefile (string-bench): Add strcpy_chk and
4334 stpcpy_chk.
4335 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4336 * benchtests/bench-stpcpy_chk.c: New file.
4337 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4338 * benchtests/bench-strcpy_chk.c: New file.
4339 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4340 code.
4341 (do_test): Likewise.
4342
fac0c5f2
RA
43432013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4344
4345 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4346 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4347 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4348 with tabs where appropriate.
4349 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4350 dl-procinfo.h.
4351 [PPC_PLATFORM_PPC440]: Likewise.
4352 [PPC_PLATFORM_PPC464]: Likewise.
4353 [PPC_PLATFORM_PPC476]: Likewise.
4354 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4355 ppc464, and ppc476 platform strings merging from ports/
4356 dl-procinfo.h.
4357
f22bc486
AS
43582013-06-11 Andreas Schwab <schwab@suse.de>
4359
4360 [BZ #14991]
4361 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4362 (from_ucs4_idx): Regenerate.
4363 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4364 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4365 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4366 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4367 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4368 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4369 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4370 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4371 from FROM_LOOP and TO_LOOP specific macros.
4372 (BODY): Handle combining characters.
4373 * iconvdata/BIG5HKSCS.irreversible: Update.
4374 * iconvdata/BIG5HKSCS.precomposed: New file.
4375 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4376 characters.
4377 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4378
c1f75dc3
SP
43792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4380
4eacded2
SP
4381 * include/sys/time.h: Fix indentation and add copyright header.
4382
fec799f8
SP
4383 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4384 (do_test): Likewise.
4385 * string/test-memchr.c (do_one_test): Likewise.
4386 (do_test): Likewise.
4387 * string/test-memcmp.c (do_one_test): Likewise.
4388 (do_test): Likewise.
4389 * string/test-memcpy.c (do_one_test): Likewise.
4390 (do_test): Likewise.
4391 * string/test-memmem.c (do_one_test): Likewise.
4392 (do_test): Likewise.
4393 (do_random_tests): Likewise.
4394 * string/test-memmove.c (do_one_test): Likewise.
4395 (do_test): Likewise.
4396 * string/test-memset.c (do_one_test): Likewise.
4397 (do_test): Likewise.
4398 * string/test-rawmemchr.c (do_one_test): Likewise.
4399 (do_test): Likewise.
4400 * string/test-strcasecmp.c (do_one_test): Likewise.
4401 (do_test): Likewise.
4402 * string/test-strcasestr.c (do_one_test): Likewise.
4403 (do_test): Likewise.
4404 * string/test-strcat.c (do_one_test): Likewise.
4405 (do_test): Likewise.
4406 * string/test-strchr.c (do_one_test): Likewise.
4407 (do_test): Likewise.
4408 * string/test-strcmp.c (do_one_test): Likewise.
4409 (do_test): Likewise.
4410 * string/test-strcpy.c (do_one_test): Likewise.
4411 (do_test): Likewise.
4412 * string/test-string.h: Likewise.
4413 (test_init): Likewise.
4414 * string/test-strlen.c (do_one_test): Likewise.
4415 (do_test): Likewise.
4416 * string/test-strncasecmp.c (do_one_test): Likewise.
4417 (do_test): Likewise.
4418 * string/test-strncat.c (do_one_test): Likewise.
4419 (do_test): Likewise.
4420 * string/test-strncmp.c (do_one_test): Likewise.
4421 (do_test_limit): Likewise.
4422 (do_test): Likewise.
4423 * string/test-strncpy.c (do_one_test): Likewise.
4424 (do_test): Likewise.
4425 * string/test-strnlen.c (do_one_test): Likewise.
4426 (do_test): Likewise.
4427 * string/test-strpbrk.c (do_one_test): Likewise.
4428 (do_test): Likewise.
4429 * string/test-strrchr.c (do_one_test): Likewise.
4430 (do_test): Likewise.
4431 * string/test-strspn.c (do_one_test): Likewise.
4432 (do_test): Likewise.
4433 * string/test-strstr.c (do_one_test): Likewise.
4434 (do_test): Likewise.
4435
97020474
SP
4436 * benchtests/Makefile (string-bench): Add string benchmarks.
4437 * benchtests/bench-bcopy-ifunc.c: New file.
4438 * benchtests/bench-bcopy.c: New file.
4439 * benchtests/bench-bzero-ifunc.c: New file.
4440 * benchtests/bench-bzero.c: New file.
4441 * benchtests/bench-memccpy-ifunc.c: New file.
4442 * benchtests/bench-memccpy.c: New file.
4443 * benchtests/bench-memchr-ifunc.c: New file.
4444 * benchtests/bench-memchr.c: New file.
4445 * benchtests/bench-memcmp-ifunc.c: New file.
4446 * benchtests/bench-memcmp.c: New file.
4447 * benchtests/bench-memmem-ifunc.c: New file.
4448 * benchtests/bench-memmem.c: New file.
4449 * benchtests/bench-memmove-ifunc.c: New file.
4450 * benchtests/bench-memmove.c: New file.
4451 * benchtests/bench-mempcpy-ifunc.c: New file.
4452 * benchtests/bench-mempcpy.c: New file.
4453 * benchtests/bench-memset-ifunc.c: New file.
4454 * benchtests/bench-memset.c: New file.
4455 * benchtests/bench-rawmemchr-ifunc.c: New file.
4456 * benchtests/bench-rawmemchr.c: New file.
4457 * benchtests/bench-stpcpy-ifunc.c: New file.
4458 * benchtests/bench-stpcpy.c: New file.
4459 * benchtests/bench-stpncpy-ifunc.c: New file.
4460 * benchtests/bench-stpncpy.c: New file.
4461 * benchtests/bench-strcasecmp-ifunc.c: New file.
4462 * benchtests/bench-strcasecmp.c: New file.
4463 * benchtests/bench-strcasestr-ifunc.c: New file.
4464 * benchtests/bench-strcasestr.c: New file.
4465 * benchtests/bench-strcat-ifunc.c: New file.
4466 * benchtests/bench-strcat.c: New file.
4467 * benchtests/bench-strchr-ifunc.c: New file.
4468 * benchtests/bench-strchr.c: New file.
4469 * benchtests/bench-strchrnul-ifunc.c: New file.
4470 * benchtests/bench-strchrnul.c: New file.
4471 * benchtests/bench-strcmp-ifunc.c: New file.
4472 * benchtests/bench-strcmp.c: New file.
4473 * benchtests/bench-strcpy-ifunc.c: New file.
4474 * benchtests/bench-strcpy.c: New file.
4475 * benchtests/bench-strcspn-ifunc.c: New file.
4476 * benchtests/bench-strcspn.c: New file.
4477 * benchtests/bench-strlen-ifunc.c: New file.
4478 * benchtests/bench-strlen.c: New file.
4479 * benchtests/bench-strncasecmp-ifunc.c: New file.
4480 * benchtests/bench-strncasecmp.c: New file.
4481 * benchtests/bench-strncat-ifunc.c: New file.
4482 * benchtests/bench-strncat.c: New file.
4483 * benchtests/bench-strncmp-ifunc.c: New file.
4484 * benchtests/bench-strncmp.c: New file.
4485 * benchtests/bench-strncpy-ifunc.c: New file.
4486 * benchtests/bench-strncpy.c: New file.
4487 * benchtests/bench-strnlen-ifunc.c: New file.
4488 * benchtests/bench-strnlen.c: New file.
4489 * benchtests/bench-strpbrk-ifunc.c: New file.
4490 * benchtests/bench-strpbrk.c: New file.
4491 * benchtests/bench-strrchr-ifunc.c: New file.
4492 * benchtests/bench-strrchr.c: New file.
4493 * benchtests/bench-strspn-ifunc.c: New file.
4494 * benchtests/bench-strspn.c: New file.
4495 * benchtests/bench-strstr-ifunc.c: New file.
4496 * benchtests/bench-strstr.c: New file.
4497
c1f75dc3
SP
4498 * benchtests/Makefile: Disable parallel execution of targets.
4499 (string-bench): Add memcpy.
4500 (benchset): New variable to store a list of benchmark sets.
4501 (bench-func): Renamed from bench.
4502 (bench-set): New target.
4503 (bench): Depend on bench-func and bench-set.
4504 * benchtests/README: Add section on benchmark sets.
4505 * benchtests/bench-memcpy-ifunc.c: New file.
4506 * benchtests/bench-memcpy.c: New file.
4507 * benchtests/bench-string.h: New file.
4508
50fd745b
AS
45092013-06-11 Andreas Schwab <schwab@suse.de>
4510
4511 [BZ #15577]
4512 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4513 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4514 values in the triple.
4515 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4516 terminator in the group key.
4517
3ee7e9fe
AJ
45182013-06-11 Andreas Jaeger <aj@suse.de>
4519
4520 * po/zh_TW.po: Update Chinese (traditional) translation from
4521 translation project.
4522
89fb6835
SP
45232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4524
4525 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4526 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4527 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4528 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4529 (clock_getcpuclockid): Likewise.
4530 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4531 Add weak_alias and libc_hidden_def.
4532 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4533 * rt/clock_gettime.c (clock_gettime): Rename to
4534 __clock_gettime. Add weak_alias and libc_hidden_def.
4535 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4536 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4537 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4538 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4539 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4540 Likewise.
4541 * rt/clock_settime.c (clock_settime): Rename to
4542 __clock_settime. Add weak_alias and libc_hidden_def.
4543 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4544
0efa6f8b
JM
45452013-06-10 Joseph Myers <joseph@codesourcery.com>
4546
b8c61b4b
JM
4547 * mach/err_boot.sub: Remove trailing whitespace.
4548 * mach/err_ipc.sub: Likewise.
4549 * mach/err_mach.sub: Likewise.
4550
0efa6f8b
JM
4551 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4552 (ROUNDING_TESTS_double): Likewise.
4553 (ROUNDING_TESTS_long_double): Likewise.
4554 (ROUNDING_TESTS): Likewise.
4555 * math/libm-test.inc: Include <math-tests.h>.
4556 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4557 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4558 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4559 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4560
50b818bf
SP
45612013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4562
4563 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4564 of assigning.
4565
60d2f8f3
JM
45662013-06-08 Joseph Myers <joseph@codesourcery.com>
4567
4902d2c3
JM
4568 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4569 otherwise empty TRANS lines.
4570 * sysdeps/gnu/errlist.c: Regenerated.
4571
60d2f8f3
JM
4572 * catgets/gencat.c (error_print): Use (void) in function
4573 definition.
4574 * crypt/crypt_util.c (__init_des): Likewise.
4575 * crypt/speeds.c (Stop): Likewise.
4576 (main): Likewise.
4577 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4578 * inet/ruserpass.c (token): Likewise.
4579 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4580 * intl/localealias.c (extend_alias_table): Likewise.
4581 * intl/plural-exp.c (init_germanic_plural): Likewise.
4582 * libio/fcloseall.c (__fcloseall): Likewise.
4583 * libio/genops.c (_IO_flush_all): Likewise.
4584 (_IO_flush_all_linebuffered): Likewise.
4585 (_IO_cleanup): Likewise.
4586 (_IO_iter_begin): Likewise.
4587 (_IO_iter_end): Likewise.
4588 (_IO_list_lock): Likewise.
4589 (_IO_list_unlock): Likewise.
4590 (_IO_list_resetlock): Likewise.
4591 * libio/getchar.c (getchar): Likewise.
4592 * libio/getchar_u.c (getchar_unlocked): Likewise.
4593 * libio/getwchar.c (getwchar): Likewise.
4594 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4595 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4596 * login/getpt.c (__getpt): Likewise.
4597 * login/tst-utmp.c (main): Likewise.
4598 * malloc/hooks.c (__malloc_check_init): Likewise.
4599 * malloc/malloc.c (__malloc_stats): Likewise.
4600 * malloc/mtrace.c (tr_break): Likewise.
4601 (mtrace): Likewise.
4602 (muntrace): Likewise.
4603 * misc/fstab.c (endfsent): Likewise.
4604 * misc/getclktck.c (__getclktck): Likewise.
4605 * misc/getdtsz.c (__getdtablesize): Likewise.
4606 * misc/gethostid.c (gethostid): Likewise.
4607 * misc/getpagesize.c (__getpagesize): Likewise.
4608 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4609 (__get_nprocs): Likewise.
4610 (__get_phys_pages): Likewise.
4611 (__get_avphys_pages): Likewise.
4612 * misc/getttyent.c (getttyent): Likewise.
4613 (setttyent): Likewise.
4614 (endttyent): Likewise.
4615 * misc/getusershell.c (getusershell): Likewise.
4616 (endusershell): Likewise.
4617 (setusershell): Likewise.
4618 (initshells): Likewise.
4619 * misc/hsearch.c (__hdestroy): Likewise.
4620 * misc/sync.c (sync): Likewise.
4621 * misc/syslog.c (closelog_internal): Likewise.
4622 (closelog): Likewise.
4623 * misc/ttyslot.c (ttyslot): Likewise.
4624 * misc/vhangup.c (vhangup): Likewise.
4625 * posix/fork.c (__fork): Likewise.
4626 * posix/getegid.c (__getegid): Likewise.
4627 * posix/geteuid.c (__geteuid): Likewise.
4628 * posix/getgid.c (__getgid): Likewise.
4629 * posix/getpid.c (__getpid): Likewise.
4630 * posix/getppid.c (__getppid): Likewise.
4631 * posix/getuid.c (__getuid): Likewise.
4632 * posix/pause.c (pause): Likewise.
4633 * posix/setpgrp.c (setpgrp): Likewise.
4634 * posix/setsid.c (__setsid): Likewise.
4635 * posix/test-vfork.c (noop): Likewise.
4636 * resolv/gethnamaddr.c (_endhtent): Likewise.
4637 (_gethtent): Likewise.
4638 (ht_endhostent): Likewise.
4639 (gethostent): Likewise.
4640 (dns_service): Likewise.
4641 * stdlib/drand48.c (drand48): Likewise.
4642 * stdlib/lrand48.c (lrand48): Likewise.
4643 * stdlib/mrand48.c (mrand48): Likewise.
4644 * stdlib/rand.c (rand): Likewise.
4645 * stdlib/random.c (__random): Likewise.
4646 * stdlib/setenv.c (clearenv): Likewise.
4647 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4648 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4649 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4650 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4651 (__get_nprocs): Likewise.
4652 (__get_phys_pages): Likewise.
4653 (__get_avphys_pages): Likewise.
4654 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4655 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4656 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4657 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4658 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4659 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4660 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4661 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4662 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4663 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4664 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4665 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4666 * sysdeps/posix/clock.c (clock): Likewise.
4667 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4668 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4669 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4670 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4671 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4673 (__get_nprocs_conf): Likewise.
4674 (__get_phys_pages): Likewise.
4675 (__get_avphys_pages): Likewise.
4676 * time/clock.c (clock): Likewise.
4677 * time/tzset.c (__tzname_max): Likewise.
4678
2e09a79a
JM
46792013-06-07 Joseph Myers <joseph@codesourcery.com>
4680
4681 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4682 (__bswap_32): Do not use "register".
4683 * crypt/crypt.c (_ufc_doit_r): Likewise.
4684 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4685 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4686 * gmon/gmon.c (__monstartup): Likewise.
4687 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4688 * hurd/hurdmalloc.c (more_memory): Likewise.
4689 (malloc): Likewise.
4690 (free): Likewise.
4691 (realloc): Likewise.
4692 (malloc_fork_prepare): Likewise.
4693 (malloc_fork_parent): Likewise.
4694 (malloc_fork_child): Likewise.
4695 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4696 (_svcauth_des): Likewise.
4697 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4698 * inet/inet_net.c (inet_network): Likewise.
4699 * inet/inet_netof.c (inet_netof): Likewise.
4700 * inet/rcmd.c (__validuser2_sa): Likewise.
4701 * io/fts.c (fts_open): Likewise.
4702 (fts_load): Likewise.
4703 (fts_close): Likewise.
4704 (fts_read): Likewise.
4705 (fts_children): Likewise.
4706 (fts_build): Likewise.
4707 (fts_stat): Likewise.
4708 (fts_sort): Likewise.
4709 (fts_alloc): Likewise.
4710 (fts_lfree): Likewise.
4711 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4712 (_IO_file_xsgetn): Likewise.
4713 (_IO_file_xsgetn_mmap): Likewise.
4714 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4715 (_IO_cookie_write): Likewise.
4716 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4717 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4718 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4719 * malloc/obstack.c (_obstack_begin): Likewise.
4720 (_obstack_begin_1): Likewise.
4721 (_obstack_newchunk): Likewise.
4722 (_obstack_allocated_p): Likewise.
4723 (obstack_free): Likewise.
4724 (_obstack_memory_used): Likewise.
4725 * misc/getttyent.c (getttynam): Likewise.
4726 (getttyent): Likewise.
4727 (skip): Likewise.
4728 (value): Likewise.
4729 * misc/getusershell.c (initshells): Likewise.
4730 * misc/syslog.c (__vsyslog_chk): Likewise.
4731 * misc/ttyslot.c (ttyslot): Likewise.
4732 * nis/nis_hash.c (__nis_hash): Likewise.
4733 * posix/fnmatch_loop.c (FCT): Likewise.
4734 * posix/getconf.c (print_all): Likewise.
4735 (main): Likewise.
4736 * posix/getopt.c (exchange): Likewise.
4737 * posix/glob.c (globfree): Likewise.
4738 (prefix_array): Likewise.
4739 (__glob_pattern_type): Likewise.
4740 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4741 (NS_GET32): Likewise.
4742 (NS_PUT16): Likewise.
4743 (NS_PUT32): Likewise.
4744 * resolv/gethnamaddr.c (getanswer): Likewise.
4745 (gethostbyname2): Likewise.
4746 (gethostbyaddr): Likewise.
4747 (_gethtent): Likewise.
4748 (_gethtbyname2): Likewise.
4749 (_gethtbyaddr): Likewise.
4750 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4751 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4752 * resolv/res_init.c (__res_vinit): Likewise.
4753 (net_mask): Likewise.
4754 * resolv/res_mkquery.c (outchar): Likewise.
4755 (PRINT): Likewise.
4756 * stdio-common/printf_fp.c (outchar): Likewise.
4757 (PRINT): Likewise.
4758 * stdio-common/printf_fphex.c (outchar): Likewise.
4759 (PRINT): Likewise.
4760 * stdio-common/printf_size.c (outchar): Likewise.
4761 (PRINT): Likewise.
4762 * stdio-common/test_rdwr.c (main): Likewise.
4763 * stdio-common/tfformat.c (matches): Likewise.
4764 * stdio-common/vfprintf.c (outchar): Likewise.
4765 (printf_unknown): Likewise.
4766 (buffered_vfprintf): Likewise.
4767 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4768 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4769 (ReadFile): Likewise.
4770 * stdlib/qsort.c (SWAP): Likewise.
4771 (_quicksort): Likewise.
4772 * stdlib/setenv.c (__add_to_environ): Likewise.
4773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4774 * stdlib/strtol_l.c (__strtol_l): Likewise.
4775 * stdlib/tst-strtod.c (main): Likewise.
4776 * stdlib/tst-strtol.c (main): Likewise.
4777 * stdlib/tst-strtoll.c (main): Likewise.
4778 * string/bits/string2.h (__strcmp_cc): Likewise.
4779 (__strcmp_cg): Likewise.
4780 (__strcspn_c1): Likewise.
4781 (__strcspn_c2): Likewise.
4782 (__strcspn_c3): Likewise.
4783 (__strspn_c1): Likewise.
4784 (__strspn_c2): Likewise.
4785 (__strspn_c3): Likewise.
4786 (__strsep_1c): Likewise.
4787 (__strsep_2c): Likewise.
4788 (__strsep_3c): Likewise.
4789 * string/memccpy.c (__memccpy): Likewise.
4790 * string/stpcpy.c (__stpcpy): Likewise.
4791 * string/strcmp.c (strcmp): Likewise.
4792 * string/strrchr.c (strrchr): Likewise.
4793 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4794 Likewise.
4795 * sysdeps/mach/hurd/getcwd.c
4796 (_hurd_canonicalize_directory_name_internal): Likewise.
4797 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4798 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4799 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4800 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4801 Likewise, in both definitions.
4802 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4803 definitions.
4804 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4805 64] (__bswap_64): Likewise.
4806 * time/test_time.c (main): Likewise.
4807 * time/tzfile.c (__tzfile_read): Likewise.
4808 (__tzfile_compute): Likewise.
4809 * time/tzset.c (__tzset_parse_tz): Likewise.
4810 (tzset_internal): Likewise.
4811 (compute_change): Likewise.
4812 * wcsmbs/wcscat.c (__wcscat): Likewise.
4813 * wcsmbs/wcschr.c (wcschr): Likewise.
4814 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4815 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4816 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4817 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4818 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4819 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4820 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4821 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4822 * wcsmbs/wmemset.c (wmemset): Likewise.
4823
9e54314b
JM
48242013-06-06 Joseph Myers <joseph@codesourcery.com>
4825
4826 * scripts/config.guess: Update to version 2013-05-16.
4827 * scripts/config.sub: Update to version 2013-04-24.
4828 * scripts/install-sh: Update to version 2011-11-20.07.
4829 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4830 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4831
350635a5
OB
48322013-06-06 Ondřej Bílka <neleai@seznam.cz>
4833
4834 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4835 * elf/sln.c: Likewise.
4836 * hurd/hurd/ioctl.h: Likewise.
4837 * hurd/hurdmalloc.c: Likewise.
4838 * hurd/xattr.c: Likewise.
4839 * include/shlib-compat.h: Likewise.
4840 * inet/ruserpass.c: Likewise.
4841 * libio/iofgets_u.c: Likewise.
4842 * libio/iofgetws_u.c: Likewise.
4843 * locale/programs/ld-identification.c: Likewise.
4844 * locale/programs/ld-time.c: Likewise.
4845 * mach/msg-destroy.c: Likewise.
4846 * nss/nss_files/files-netgrp.c: Likewise.
4847 * resolv/res_data.c: Likewise.
4848 * soft-fp/op-1.h: Likewise.
4849 * soft-fp/op-2.h: Likewise.
4850 * soft-fp/op-4.h: Likewise.
4851 * soft-fp/op-common.h: Likewise.
4852 * stdio-common/printf_fphex.c: Likewise.
4853 * stdlib/strtod_l.c: Likewise.
4854 * sunrpc/rpc/clnt.h: Likewise.
4855 * sysdeps/generic/framestate.c: Likewise.
4856 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4857 * sysdeps/i386/bsd-setjmp.S: Likewise.
4858 * sysdeps/i386/__longjmp.S: Likewise.
4859 * sysdeps/i386/setjmp.S: Likewise.
4860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4861 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4878 * sysdeps/ieee754/support.c: Likewise.
4879 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4880 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4881 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4882 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4883 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4884 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4885 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4886 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4887 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4888 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4889 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4890 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4891 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4892 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4893 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4894 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4895 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4897
44a988af
OB
48982013-06-05 Ondřej Bílka <neleai@seznam.cz>
4899
25506f09 4900 * posix/transbug.c: Remove executable mode.
44a988af 4901
9c84384c
JM
49022013-06-05 Joseph Myers <joseph@codesourcery.com>
4903
4904 * crypt/speeds.c: Remove trailing whitespace.
4905 * dlfcn/default.c: Likewise.
4906 * elf/ifuncdep2.c: Likewise.
4907 * elf/ifuncmain1.c: Likewise.
4908 * elf/ifuncmain1vis.c: Likewise.
4909 * elf/testobj.h: Likewise.
4910 * elf/tst-stackguard1.c: Likewise.
4911 * gmon/sys/gmon.h: Likewise.
4912 * hurd/hurdmsg.c: Likewise.
4913 * hurd/new-fd.c: Likewise.
4914 * hurd/ports-get.c: Likewise.
4915 * iconvdata/ibm1008_420.c: Likewise.
4916 * inet/tst-getni1.c: Likewise.
4917 * inet/tst-getni2.c: Likewise.
4918 * libio/ioungetc.c: Likewise.
4919 * libio/wfiledoalloc.c: Likewise.
4920 * manual/libm-err-tab.pl: Likewise.
4921 * math/w_dremf.c: Likewise.
4922 * misc/ftruncate.c: Likewise.
4923 * posix/bug-glob2.c: Likewise.
4924 * posix/tst-pcre.c: Likewise.
4925 * posix/wait4.c: Likewise.
4926 * resolv/README: Likewise.
4927 * resolv/res_debug.h: Likewise.
4928 * resolv/tst-inet_ntop.c: Likewise.
4929 * setjmp/bug269-setjmp.c: Likewise.
4930 * soft-fp/extended.h: Likewise.
4931 * soft-fp/op-1.h: Likewise.
4932 * soft-fp/op-2.h: Likewise.
4933 * soft-fp/op-4.h: Likewise.
4934 * soft-fp/op-8.h: Likewise.
4935 * soft-fp/testit.c: Likewise.
4936 * stdio-common/bug16.c: Likewise.
4937 * stdlib/random.c: Likewise.
4938 * sunrpc/rpcsvc/rquota.x: Likewise.
4939 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4940 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4942 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4943 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4945 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4948 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4949 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4968 * sysdeps/ieee754/s_lib_version.c: Likewise.
4969 * sysdeps/mach/hurd/check_fds.c: Likewise.
4970 * sysdeps/mach/hurd/getsockname.c: Likewise.
4971 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4972 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4973 * sysdeps/powerpc/bits/link.h: Likewise.
4974 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4975 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4976 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4977 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4978 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4979 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4980 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4981 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4982 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4983 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4984 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4987 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4988 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4989 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4993 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4994 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4995 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4996 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4998 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5001 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5002 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5003 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5004 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5005 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5008 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5010 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5011 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5012 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5017 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5018 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5019 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5022 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5023 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5026 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5027 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5028 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5029 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5032 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5033 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5035 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5037 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5038 * sysdeps/powerpc/sysdep.h: Likewise.
5039 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5040 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5041 * sysdeps/sh/dl-trampoline.S: Likewise.
5042 * sysdeps/sh/memset.S: Likewise.
5043 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5044 * sysdeps/sh/strlen.S: Likewise.
5045 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5046 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5047 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5048 * sysdeps/sparc/sparc32/rem.S: Likewise.
5049 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5050 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5051 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5052 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5053 * sysdeps/sparc/sparc32/urem.S: Likewise.
5054 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5055 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5056 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5057 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5059 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5060 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5061 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5062 * sysdeps/unix/bsd/times.c: Likewise.
5063 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5064 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5072 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5074 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5075 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5076 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5077 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5078 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5079 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5080 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5081 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5082 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5083 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5084 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5085 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5086 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5087 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5088 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5089 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5091 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5092 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5093 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5094 * sysdeps/x86_64/strcspn.S: Likewise.
5095
869378a5
RA
50962013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5097
5098 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5099 generated file. Regenerate properly from gen-translit.pl.
5100 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5101 locale/C-translit.h.
5102
840e2943
AS
51032013-06-05 Andreas Schwab <schwab@suse.de>
5104
5105 [BZ #15100]
5106 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5107 week as 6 instead of -1.
5108 * time/tst-strptime.c (day_tests): Add test case.
5109
4c60cb0c
SP
51102013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5111
5112 * sysdeps/generic/math_private.h
5113 (libc_feholdexcept_setround_53bit): Replace with
5114 libc_feholdsetround_53bit.
5115 (libc_feupdateenv_53bit): Replace with
5116 libc_feresetround_53bit.
5117 (SET_RESTORE_ROUND_53BIT): Adjust.
5118
d180203e
SP
51192013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
96df079a
SP
5121 * string/test-strchrnul.c: Add copyright header.
5122
d180203e
SP
5123 * posix/tst-getaddrinfo4.c: Increase test timeout.
5124
8b0ccb2d
CD
51252013-06-03 Carlos O'Donell <carlos@redhat.com>
5126
5127 [BZ #15536]
5128 * math/libm-test.inc (MAX_EXP): Remove
5129 (MIN_EXP): Define.
5130 (ulp): Use MIN_EXP - MANT_DIG.
5131 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5132
3b3c4d40
CD
51332013-05-31 Carlos O'Donell <carlos@redhat.com>
5134
5135 * po/be.po: Revert last change.
5136 * po/zh_CN.po: Likewise.
5137 * po/header.pot: Likewise.
5138
fab7ce3f
JM
51392013-05-31 Joseph Myers <joseph@codesourcery.com>
5140
5141 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5142 link-libc-deps to empty as target-specific variable.
5143 * Makerules (link-libc-args): New variable.
5144 (libc-for-link): Likewise.
5145 (link-libc-deps): Likewise.
5146 (lib%.so): Depend on $(link-libc-deps). Link with
5147 $(link-libc-args).
5148 (build-module): Link with $(link-libc-args).
5149 (build-module-asneeded): Likewise.
5150 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5151 list of objects.
5152 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5153 target-specific variable.
5154 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5155 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5156 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5157 libc.
5158 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5159 libc and ld.so.
5160 ($(objpfx)libpcprofile.so): Likewise.
5161 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5162 libc_nonshared.a.
5163 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5164 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5166 $(link-libc-deps).
5167 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5168 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5169 * login/Makefile ($(objpfx)libutil.so): Likewise.
5170 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5171 * math/Makefile ($(objpfx)libm.so): Likewise.
5172 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5173 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5174 variable instead of depending directly on libc.
5175 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5176 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5177 $(link-libc-deps).
5178 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5179 libc.
5180 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5181 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5182 ($(objpfx)libanl.so): Likewise.
5183 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5184 ld.so.
5185 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5186 $(link-libc-deps).
5187 * sysdeps/i386/fpu/Makefile: Remove file.
5188 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5189 ($(objpfx)libm.so): Remove dependency on ld.so.
5190
eca5920c
PF
51912013-05-30 Patsy Franklin <pfrankli@redhat.com>
5192
5193 [BZ # 15553]
5194 * nis/yp_xdr.c (XDRMAXNAME): Define.
5195 (XDRMAXRECORD): Define.
5196 (xdr_domainname): Use XDRMAXNAME.
5197 (xdr_mapname): Likewise.
5198 (xdr_peername): Likewise.
5199 (xdr_keydat): Use XDRMAXRECORD.
5200 (xdr_valdat): Likewise.
5201
52022013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5203
5204 [BZ #14256]
5205 * manual/errno.texi (ESTALE): Update to account for more than
5206 just NFS file systems.
5207 * sysdeps/gnu/errlist.c: Regenerated.
5208
b9375348
SP
52092013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5210
5211 [BZ #15465]
5212 * elf/Makefile (tests): Add tst-null-argv.
5213 (modules-names): Add tst-null-argv-lib.
5214 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5215 (tst-null-argv-ENV): Set environment for tst-null-argv.
5216 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5217 (RTLD_PROGNAME): New macro.
5218 * elf/tst-null-argv.c: New test case.
5219 * elf/tst-null-argv-lib.c: Library for test case.
5220 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5221 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5222 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5223 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5224 * elf/dl-init.c (call_init): Likewise.
5225 (_dl_init): Likewise.
5226 * elf/dl-load.c (print_search_path): Likewise.
5227 (_dl_map_object): Likewise.
5228 * elf/dl-lookup.c (do_lookup_x): Likewise.
5229 (add_dependency): Likewise.
5230 (_dl_lookup_symbol_x): Likewise.
5231 (_dl_debug_bindings): Likewise.
5232 * elf/dl-open.c (_dl_show_scope): Likewise.
5233 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5234 * elf/dl-version.c (match_symbol): Likewise.
5235 (_dl_check_map_versions): Likewise.
5236 * elf/rtld.c (dl_main): Likewise.
5237 (print_unresolved): Use RTLD_PROGNAME.
5238 (print_missing_version): Likewise.
5239 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5240 (elf_machine_rela): Likewise.
5241 * sysdeps/powerpc/powerpc32/dl-machine.c
5242 (__process_machine_rela): Likewise.
5243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5244 Likewise.
5245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5246 Likewise.
5247 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5248 Likewise.
5249 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5251 Likewise.
5252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5253 Likewise.
5254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5255
8a9f20c8
CD
52562013-05-28 Carlos O'Donell <carlos@redhat.com>
5257
5258 * po/be.po: Add descriptive title.
5259 * po/zh_CN.po: Likewise.
5260 * po/header.pot: Likewise.
5261
0e60d68e
MF
52622013-05-28 Mike Frysinger <vapier@gentoo.org>
5263
5264 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5265 error message.
5266 (enlarge_archive): Likewise.
5267
56b672e9
BN
52682013-05-28 Ben North <ben@redfrontdoor.org>
5269
5270 * manual/arith.texi (frexp): It is the magnitude of the return
5271 value which lies in [0.5, 1), not the return value itself.
5272
5e056687
AZ
52732013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5274
5275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5276
2b66ef5d
TS
52772013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5278
528c2405
TS
5279 * stdio-common/bug26.c (main): Correct fscanf template.
5280
07b4c13d
TS
5281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5282 declare _dl_skip_args.
5283
ec9dd97c
TS
5284 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5285 Don't declare.
5286
2b66ef5d
TS
5287 * manual/platform.texi: Add missing @end deftypefun.
5288
4f8dfe27
JM
52892013-05-24 Joseph Myers <joseph@codesourcery.com>
5290
0323d086
JM
5291 [BZ #15529]
5292 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5293 bit of mantissa of 2^16382.
5294 * math/libm-test.inc (hypot_test_data): Add more tests.
5295
dd4259b9
JM
5296 * math/libm-test.inc: Add drem and pow10 to list of tested
5297 functions.
5298 (pow10_test): New function.
5299 (drem_test): Likewise.
5300 (drem_test_tonearest): Likewise.
5301 (drem_test_towardzero): Likewise.
5302 (drem_test_downward): Likewise.
5303 (drem_test_upward): Likewise.
5304 (main): Call the new functions.
5305
4f8dfe27
JM
5306 * math/libm-test.inc (finite_test_data): Remove.
5307 (finite_test): Run tests from isfinite_test_data.
5308 (gamma_test_data): Remove.
5309 (gamma_test): Run tests from lgamma_test_data.
5310 * sysdeps/i386/fpu/libm-test-ulps: Update.
5311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5312
d116b7c4
AZ
53132013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314
5315 * manual/platform.texi: Add PowerPC PPR function set documentation.
5316 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5317 implementation.
5318
e96e3767
CD
53192013-05-24 Carlos O'Donell <carlos@redhat.com>
5320
5321 * math/libm-test.inc (MAX_EXP): Define.
5322 (ULPDIFF): Define.
5323 (ulp): New function.
5324 (check_float_internal): Use ULPDIFF.
5325 (cpow_test): Disable failing test.
5326 (check_ulp): Test ulp() implemetnation.
5327 (main): Call check_ulp before starting tests.
5328
b679a606
JM
53292013-05-24 Joseph Myers <joseph@codesourcery.com>
5330
e8bdba36
JM
5331 * math/gen-libm-test.pl (generate_testfile): Do not handle
5332 START_DATA and END_DATA.
5333 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5334 END_DATA.
5335 (acos_tonearest_test_data): Likewise.
5336 (acos_towardzero_test_data): Likewise.
5337 (acos_downward_test_data): Likewise.
5338 (acos_upward_test_data): Likewise.
5339 (acosh_test_data): Likewise.
5340 (asin_test_data): Likewise.
5341 (asin_tonearest_test_data): Likewise.
5342 (asin_towardzero_test_data): Likewise.
5343 (asin_downward_test_data): Likewise.
5344 (asin_upward_test_data): Likewise.
5345 (asinh_test_data): Likewise.
5346 (atan_test_data): Likewise.
5347 (atanh_test_data): Likewise.
5348 (atan2_test_data): Likewise.
5349 (cabs_test_data): Likewise.
5350 (cacos_test_data): Likewise.
5351 (cacosh_test_data): Likewise.
5352 (carg_test_data): Likewise.
5353 (casin_test_data): Likewise.
5354 (casinh_test_data): Likewise.
5355 (catan_test_data): Likewise.
5356 (catanh_test_data): Likewise.
5357 (cbrt_test_data): Likewise.
5358 (ccos_test_data): Likewise.
5359 (ccosh_test_data): Likewise.
5360 (ceil_test_data): Likewise.
5361 (cexp_test_data): Likewise.
5362 (cimag_test_data): Likewise.
5363 (clog_test_data): Likewise.
5364 (clog10_test_data): Likewise.
5365 (conj_test_data): Likewise.
5366 (copysign_test_data): Likewise.
5367 (cos_test_data): Likewise.
5368 (cos_tonearest_test_data): Likewise.
5369 (cos_towardzero_test_data): Likewise.
5370 (cos_downward_test_data): Likewise.
5371 (cos_upward_test_data): Likewise.
5372 (cosh_test_data): Likewise.
5373 (cosh_tonearest_test_data): Likewise.
5374 (cosh_towardzero_test_data): Likewise.
5375 (cosh_downward_test_data): Likewise.
5376 (cosh_upward_test_data): Likewise.
5377 (cpow_test_data): Likewise.
5378 (cproj_test_data): Likewise.
5379 (creal_test_data): Likewise.
5380 (csin_test_data): Likewise.
5381 (csinh_test_data): Likewise.
5382 (csqrt_test_data): Likewise.
5383 (ctan_test_data): Likewise.
5384 (ctan_tonearest_test_data): Likewise.
5385 (ctan_towardzero_test_data): Likewise.
5386 (ctan_downward_test_data): Likewise.
5387 (ctan_upward_test_data): Likewise.
5388 (ctanh_test_data): Likewise.
5389 (ctanh_tonearest_test_data): Likewise.
5390 (ctanh_towardzero_test_data): Likewise.
5391 (ctanh_downward_test_data): Likewise.
5392 (ctanh_upward_test_data): Likewise.
5393 (erf_test_data): Likewise.
5394 (erfc_test_data): Likewise.
5395 (exp_test_data): Likewise.
5396 (exp_tonearest_test_data): Likewise.
5397 (exp_towardzero_test_data): Likewise.
5398 (exp_downward_test_data): Likewise.
5399 (exp_upward_test_data): Likewise.
5400 (exp10_test_data): Likewise.
5401 (exp2_test_data): Likewise.
5402 (expm1_test_data): Likewise.
5403 (fabs_test_data): Likewise.
5404 (fdim_test_data): Likewise.
5405 (finite_test_data): Likewise.
5406 (floor_test_data): Likewise.
5407 (fma_test_data): Likewise.
5408 (fma_towardzero_test_data): Likewise.
5409 (fma_downward_test_data): Likewise.
5410 (fma_upward_test_data): Likewise.
5411 (fmax_test_data): Likewise.
5412 (fmin_test_data): Likewise.
5413 (fmod_test_data): Likewise.
5414 (fpclassify_test_data): Likewise.
5415 (frexp_test_data): Likewise.
5416 (gamma_test_data): Likewise.
5417 (hypot_test_data): Likewise.
5418 (ilogb_test_data): Likewise.
5419 (isfinite_test_data): Likewise.
5420 (isgreater_test_data): Likewise.
5421 (isgreaterequal_test_data): Likewise.
5422 (isinf_test_data): Likewise.
5423 (isless_test_data): Likewise.
5424 (islessequal_test_data): Likewise.
5425 (islessgreater_test_data): Likewise.
5426 (isnan_test_data): Likewise.
5427 (isnormal_test_data): Likewise.
5428 (issignaling_test_data): Likewise.
5429 (isunordered_test_data): Likewise.
5430 (j0_test_data): Likewise.
5431 (j1_test_data): Likewise.
5432 (jn_test_data): Likewise.
5433 (ldexp_test_data): Likewise.
5434 (lgamma_test_data): Likewise.
5435 (lrint_test_data): Likewise.
5436 (lrint_tonearest_test_data): Likewise.
5437 (lrint_towardzero_test_data): Likewise.
5438 (lrint_downward_test_data): Likewise.
5439 (lrint_upward_test_data): Likewise.
5440 (llrint_test_data): Likewise.
5441 (llrint_tonearest_test_data): Likewise.
5442 (llrint_towardzero_test_data): Likewise.
5443 (llrint_downward_test_data): Likewise.
5444 (llrint_upward_test_data): Likewise.
5445 (log_test_data): Likewise.
5446 (log10_test_data): Likewise.
5447 (log1p_test_data): Likewise.
5448 (log2_test_data): Likewise.
5449 (logb_test_data): Likewise.
5450 (logb_downward_test_data): Likewise.
5451 (lround_test_data): Likewise.
5452 (llround_test_data): Likewise.
5453 (modf_test_data): Likewise.
5454 (nearbyint_test_data): Likewise.
5455 (nextafter_test_data): Likewise.
5456 (nexttoward_test_data): Likewise.
5457 (pow_test_data): Likewise.
5458 (pow_tonearest_test_data): Likewise.
5459 (pow_towardzero_test_data): Likewise.
5460 (pow_downward_test_data): Likewise.
5461 (pow_upward_test_data): Likewise.
5462 (remainder_test_data): Likewise.
5463 (remainder_tonearest_test_data): Likewise.
5464 (remainder_towardzero_test_data): Likewise.
5465 (remainder_downward_test_data): Likewise.
5466 (remainder_upward_test_data): Likewise.
5467 (remquo_test_data): Likewise.
5468 (rint_test_data): Likewise.
5469 (rint_tonearest_test_data): Likewise.
5470 (rint_towardzero_test_data): Likewise.
5471 (rint_downward_test_data): Likewise.
5472 (rint_upward_test_data): Likewise.
5473 (round_test_data): Likewise.
5474 (scalb_test_data): Likewise.
5475 (scalbn_test_data): Likewise.
5476 (scalbln_test_data): Likewise.
5477 (signbit_test_data): Likewise.
5478 (sin_test_data): Likewise.
5479 (sin_tonearest_test_data): Likewise.
5480 (sin_towardzero_test_data): Likewise.
5481 (sin_downward_test_data): Likewise.
5482 (sin_upward_test_data): Likewise.
5483 (sincos_test_data): Likewise.
5484 (sinh_test_data): Likewise.
5485 (sinh_tonearest_test_data): Likewise.
5486 (sinh_towardzero_test_data): Likewise.
5487 (sinh_downward_test_data): Likewise.
5488 (sinh_upward_test_data): Likewise.
5489 (sqrt_test_data): Likewise.
5490 (tan_test_data): Likewise.
5491 (tan_tonearest_test_data): Likewise.
5492 (tan_towardzero_test_data): Likewise.
5493 (tan_downward_test_data): Likewise.
5494 (tan_upward_test_data): Likewise.
5495 (tanh_test_data): Likewise.
5496 (tgamma_test_data): Likewise.
5497 (trunc_test_data): Likewise.
5498 (y0_test_data): Likewise.
5499 (y1_test_data): Likewise.
5500 (yn_test_data): Likewise.
5501 (significand_test_data): Likewise.
5502
b679a606
JM
5503 * math/gen-libm-test.pl (@functions): Remove variable.
5504 (generate_testfile): Don't handle START and END lines.
5505 * math/libm-test.inc (START): New macro.
5506 (END): Likewise.
5507 (END_COMPLEX): Likewise.
5508 (acos_test): Use END macro without arguments.
5509 (acos_test_tonearest): Likewise.
5510 (acos_test_towardzero): Likewise.
5511 (acos_test_downward): Likewise.
5512 (acos_test_upward): Likewise.
5513 (acosh_test): Likewise.
5514 (asin_test): Likewise.
5515 (asin_test_tonearest): Likewise.
5516 (asin_test_towardzero): Likewise.
5517 (asin_test_downward): Likewise.
5518 (asin_test_upward): Likewise.
5519 (asinh_test): Likewise.
5520 (atan_test): Likewise.
5521 (atanh_test): Likewise.
5522 (atan2_test): Likewise.
5523 (cabs_test): Likewise.
5524 (cacos_test): Use END_COMPLEX macro without arguments.
5525 (cacosh_test): Likewise.
5526 (carg_test): Use END macro without arguments.
5527 (casin_test): Use END_COMPLEX macro without arguments.
5528 (casinh_test): Likewise.
5529 (catan_test): Likewise.
5530 (catanh_test): Likewise.
5531 (cbrt_test): Use END macro without arguments.
5532 (ccos_test): Use END_COMPLEX macro without arguments.
5533 (ccosh_test): Likewise.
5534 (ceil_test): Use END macro without arguments.
5535 (cexp_test): Use END_COMPLEX macro without arguments.
5536 (cimag_test): Use END macro without arguments.
5537 (clog_test): Use END_COMPLEX macro without arguments.
5538 (clog10_test): Likewise.
5539 (conj_test): Likewise.
5540 (copysign_test): Use END macro without arguments.
5541 (cos_test): Likewise.
5542 (cos_test_tonearest): Likewise.
5543 (cos_test_towardzero): Likewise.
5544 (cos_test_downward): Likewise.
5545 (cos_test_upward): Likewise.
5546 (cosh_test): Likewise.
5547 (cosh_test_tonearest): Likewise.
5548 (cosh_test_towardzero): Likewise.
5549 (cosh_test_downward): Likewise.
5550 (cosh_test_upward): Likewise.
5551 (cpow_test): Use END_COMPLEX macro without arguments.
5552 (cproj_test): Likewise.
5553 (creal_test): Use END macro without arguments.
5554 (csin_test): Use END_COMPLEX macro without arguments.
5555 (csinh_test): Likewise.
5556 (csqrt_test): Likewise.
5557 (ctan_test): Likewise.
5558 (ctan_test_tonearest): Likewise.
5559 (ctan_test_towardzero): Likewise.
5560 (ctan_test_downward): Likewise.
5561 (ctan_test_upward): Likewise.
5562 (ctanh_test): Likewise.
5563 (ctanh_test_tonearest): Likewise.
5564 (ctanh_test_towardzero): Likewise.
5565 (ctanh_test_downward): Likewise.
5566 (ctanh_test_upward): Likewise.
5567 (erf_test): Use END macro without arguments.
5568 (erfc_test): Likewise.
5569 (exp_test): Likewise.
5570 (exp_test_tonearest): Likewise.
5571 (exp_test_towardzero): Likewise.
5572 (exp_test_downward): Likewise.
5573 (exp_test_upward): Likewise.
5574 (exp10_test): Likewise.
5575 (exp2_test): Likewise.
5576 (expm1_test): Likewise.
5577 (fabs_test): Likewise.
5578 (fdim_test): Likewise.
5579 (finite_test): Likewise.
5580 (floor_test): Likewise.
5581 (fma_test): Likewise.
5582 (fma_test_towardzero): Likewise.
5583 (fma_test_downward): Likewise.
5584 (fma_test_upward): Likewise.
5585 (fmax_test): Likewise.
5586 (fmin_test): Likewise.
5587 (fmod_test): Likewise.
5588 (fpclassify_test): Likewise.
5589 (frexp_test): Likewise.
5590 (gamma_test): Likewise.
5591 (hypot_test): Likewise.
5592 (ilogb_test): Likewise.
5593 (isfinite_test): Likewise.
5594 (isgreater_test): Likewise.
5595 (isgreaterequal_test): Likewise.
5596 (isinf_test): Likewise.
5597 (isless_test): Likewise.
5598 (islessequal_test): Likewise.
5599 (islessgreater_test): Likewise.
5600 (isnan_test): Likewise.
5601 (isnormal_test): Likewise.
5602 (issignaling_test): Likewise.
5603 (isunordered_test): Likewise.
5604 (j0_test): Likewise.
5605 (j1_test): Likewise.
5606 (jn_test): Likewise.
5607 (ldexp_test): Likewise.
5608 (lgamma_test): Likewise.
5609 (lrint_test): Likewise.
5610 (lrint_test_tonearest): Likewise.
5611 (lrint_test_towardzero): Likewise.
5612 (lrint_test_downward): Likewise.
5613 (lrint_test_upward): Likewise.
5614 (llrint_test): Likewise.
5615 (llrint_test_tonearest): Likewise.
5616 (llrint_test_towardzero): Likewise.
5617 (llrint_test_downward): Likewise.
5618 (llrint_test_upward): Likewise.
5619 (log_test): Likewise.
5620 (log10_test): Likewise.
5621 (log1p_test): Likewise.
5622 (log2_test): Likewise.
5623 (logb_test): Likewise.
5624 (logb_test_downward): Likewise.
5625 (lround_test): Likewise.
5626 (llround_test): Likewise.
5627 (modf_test): Likewise.
5628 (nearbyint_test): Likewise.
5629 (nextafter_test): Likewise.
5630 (nexttoward_test): Likewise.
5631 (pow_test): Likewise.
5632 (pow_test_tonearest): Likewise.
5633 (pow_test_towardzero): Likewise.
5634 (pow_test_downward): Likewise.
5635 (pow_test_upward): Likewise.
5636 (remainder_test): Likewise.
5637 (remainder_test_tonearest): Likewise.
5638 (remainder_test_towardzero): Likewise.
5639 (remainder_test_downward): Likewise.
5640 (remainder_test_upward): Likewise.
5641 (remquo_test): Likewise.
5642 (rint_test): Likewise.
5643 (rint_test_tonearest): Likewise.
5644 (rint_test_towardzero): Likewise.
5645 (rint_test_downward): Likewise.
5646 (rint_test_upward): Likewise.
5647 (round_test): Likewise.
5648 (scalb_test): Likewise.
5649 (scalbn_test): Likewise.
5650 (scalbln_test): Likewise.
5651 (signbit_test): Likewise.
5652 (sin_test): Likewise.
5653 (sin_test_tonearest): Likewise.
5654 (sin_test_towardzero): Likewise.
5655 (sin_test_downward): Likewise.
5656 (sin_test_upward): Likewise.
5657 (sincos_test): Likewise.
5658 (sinh_test): Likewise.
5659 (sinh_test_tonearest): Likewise.
5660 (sinh_test_towardzero): Likewise.
5661 (sinh_test_downward): Likewise.
5662 (sinh_test_upward): Likewise.
5663 (sqrt_test): Likewise.
5664 (tan_test): Likewise.
5665 (tan_test_tonearest): Likewise.
5666 (tan_test_towardzero): Likewise.
5667 (tan_test_downward): Likewise.
5668 (tan_test_upward): Likewise.
5669 (tanh_test): Likewise.
5670 (tgamma_test): Likewise.
5671 (trunc_test): Likewise.
5672 (y0_test): Likewise.
5673 (y1_test): Likewise.
5674 (yn_test): Likewise.
5675 (significand_test): Likewise.
5676
bae143d2
OB
56772013-05-24 Ondřej Bílka <neleai@seznam.cz>
5678
5679 [BZ #15381]
5680 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5681
9323d39b
EM
56822013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5683
d4ea44a0 5684 [BZ #14894]
9323d39b
EM
5685 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5686 __ppc_mdoio and __ppc_mdoom.
5687 * manual/platform.texi: Document new functions __ppc_yield,
5688 __ppc_mdoio and __ppc_mdoom.
5689
13e23af7
CD
56902013-05-22 Carlos O'Donell <carlos@redhat.com>
5691
5692 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5693 (main): Mention "tls" pseudo-hwcap is legacy.
5694 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5695
351fe550
JM
56962013-05-22 Joseph Myers <joseph@codesourcery.com>
5697
5698 * math/gen-libm-test.pl (parse_args): Output only string of
5699 arguments as text for test name, not full call or descriptions of
5700 tests for extra outputs.
5701 (generate_testfile): Do not pass function name to parse_args.
5702 Generate this_func variable from START.
5703 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5704 field to arg_str.
5705 (struct test_ff_f_data): Likewise.
5706 (test_ff_f_data_nexttoward): Likewise.
5707 (struct test_fi_f_data): Likewise.
5708 (struct test_fl_f_data): Likewise.
5709 (struct test_if_f_data): Likewise.
5710 (struct test_fff_f_data): Likewise.
5711 (struct test_c_f_data): Likewise.
5712 (struct test_f_f1_data): Likewise. Remove field extra_name.
5713 (struct test_fF_f1_data): Likewise.
5714 (struct test_ffI_f1_data): Likewise.
5715 (struct test_c_c_data): Rename test_name field to arg_str.
5716 (struct test_cc_c_data): Likewise.
5717 (struct test_f_i_data): Likewise.
5718 (struct test_ff_i_data): Likewise.
5719 (struct test_f_l_data): Likewise.
5720 (struct test_f_L_data): Likewise.
5721 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5722 and extra2_name.
5723 (COMMON_TEST_SETUP): New macro.
5724 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5725 (COMMON_TEST_CLEANUP): Likewise.
5726 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5727 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5728 macros.
5729 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5730 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5731 macros.
5732 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5733 (RUN_TEST_fff_f): Take argument string. Call new setup and
5734 cleanup macros.
5735 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5736 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5737 macros.
5738 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5739 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5740 macros.
5741 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5742 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5743 cleanup macros.
5744 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5745 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5746 cleanup macros.
5747 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5748 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5749 cleanup macros.
5750 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5751 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5752 macros.
5753 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5754 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5755 macros.
5756 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5757 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5758 macros.
5759 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5760 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5761 cleanup macros.
5762 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5763 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5764 cleanup macros.
5765 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5766 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5767 macros.
5768 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5769 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5770 cleanup macros.
5771 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5772 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5773 macros.
5774 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5775 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5776 macros.
5777 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5778 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5779 cleanup macros.
5780 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5781
85118d4d
EBM
57822013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5783
5784 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5785 to _sifields.sigfault.
5786 (si_addr_lsb): Define new macro.
5787 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5788 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5789 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5790
7a44c18f
CD
57912013-05-03 Carlos O'Donell <carlos at redhat.com>
5792
5793 [BZ #15441]
5794 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5795 returns -1.
5796 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5797 null return -1.
5798 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5799 loading the domain.
5800
b50a7181
JM
58012013-05-22 Joseph Myers <joseph@codesourcery.com>
5802
5803 * math/gen-libm-test.pl (parse_args): Do not include expected
5804 result in test name.
5805 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5807 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5808 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5809 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5811
051063c8
SP
58122013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5813
3ce9e010
SP
5814 * benchtests/Makefile: Sort function entries.
5815
051063c8
SP
5816 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5817 tanh, asinh, acosh, atanh.
5818 * benchtests/acos-inputs: New file.
5819 * benchtests/acosh-inputs: New file.
5820 * benchtests/asin-inputs: New file.
5821 * benchtests/asinh-inputs: New file.
5822 * benchtests/atanh-inputs: New file.
5823 * benchtests/cosh-inputs: New file.
5824 * benchtests/log-inputs: New file.
5825 * benchtests/sinh-inputs: New file.
5826 * benchtests/tanh-inputs: New file.
5827
47c22455
DL
58282013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5829
5830 [BZ #15339]
5831 * posix/tst-getaddrinfo4.c: New test.
5832 * posix/Makefile (tests): Add it.
5833
3d04f5db
SP
58342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5835
5836 [BZ #15339]
5837 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5838 when no services were used.
5839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5840 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5841
d5dd6189
AS
58422013-05-21 Andreas Schwab <schwab@suse.de>
5843
5844 [BZ #15014]
5845 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5846 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5847 successful.
5848 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5849 redundant variable declarations and reallocation of buffer when
5850 parsing as IPv6 address. Always set NSS status when called from
5851 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5852 buffer too small. Correct computation of needed size.
5853 * nss/Makefile (tests): Add test-digits-dots.
5854 * nss/test-digits-dots.c: New test.
5855
fef94eab
SP
58562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5857
5858 * benchtests/Makefile: Remove instructions for adding
5859 benchmark tests.
5860 * benchtests/README: New file to explain how to execute and
5861 enhance the benchmark tests.
5862
e39adf43
AS
58632013-05-21 Andreas Schwab <schwab@suse.de>
5864
5865 [BZ #15493]
5866 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5867 * setjmp/tst-sigsetjmp.c: New test.
5868
b2b671b6
OB
58692013-05-20 Ondřej Bílka <neleai@seznam.cz>
5870
5871 * sysdeps/x86_64/memset.S (memset): New implementation.
5872 (__bzero): Likewise.
5873 (__memset_tail): New function.
5874
2d48b41c
OB
58752013-05-20 Ondřej Bílka <neleai@seznam.cz>
5876
5877 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5878 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5879 __memcpy_sse2_unaligned ifunc selection.
5880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5881 Add memcpy-sse2-unaligned.S.
5882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5883 Add: __memcpy_sse2_unaligned.
5884
f16cc3eb
JM
58852013-05-19 Joseph Myers <joseph@codesourcery.com>
5886
3e694268
JM
5887 [BZ #15490]
5888 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5889 math_force_eval before restoring floating-point envrionment.
5890 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5892 Likewise.
5893 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5894 <math_private.h>.
5895 (__nearbyintl): Use math_force_eval before restoring
5896 floating-point environment.
5897 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5898
db62a907
JM
5899 * math/gen-libm-test.pl (special_functions): Remove.
5900 (parse_args): Don't handle TEST_extra. Handle functions with no
5901 return value.
5902 * math/libm-test.inc (struct test_sincos_data): Replace with
5903 struct test_fFF_11_data.
5904 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5905 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5906 (sincos_test_data): Change element type to struct
5907 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5908 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5909 RUN_TEST_LOOP_sincos.
5910 * math/README.libm-test: Don't mention special handling of
5911 individual functions.
5912 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5914 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5915 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5916 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5918
f16cc3eb
JM
5919 * math/gen-libm-test.pl (get_variable): Remove function.
5920 (parse_args): Don't show pointer parameters to call in test
5921 names. Use "extra output N" in test names for extra outputs
5922 rather than naming variables.
5923
3779b5b6
JM
59242013-05-18 Joseph Myers <joseph@codesourcery.com>
5925
2ee094ff
JM
5926 [BZ #15488]
5927 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5928 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5929 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5930 double tests.
5931 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5932 disable.
5933 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5934 check_long_double.
5935
3779b5b6
JM
5936 * math/gen-libm-test.pl (@tests): Remove variable.
5937 ($count): Likewise.
5938 (new_test): Remove function.
5939 (show_exceptions): New function.
5940 (special_functions): Use show_exceptions instead of new_test.
5941 (parse_args): Likewise.
5942 (generate_testfile): Pass only function name in generated call to
5943 print_max_error or print_complex_max_error.
5944 (get_ulps): Do not handle complex tests specially.
5945 (output_test): Rename to ...
5946 (get_all_ulps_for_test): ... this. Return a string rather than
5947 printing to a file. Require ulps to be present.
5948 (output_ulps): Generate arrays rather than #defines.
5949 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5950 (struct ulp_data): New type.
5951 (BUILD_COMPLEX_ULP): Remove macro.
5952 (compare_ulp_data): New function.
5953 (find_ulps): Likewise.
5954 (find_test_ulps): Likewise.
5955 (find_function_ulps): Likewise.
5956 (find_complex_function_ulps): Likewise.
5957 (print_max_error): Determine allowed ulps using
5958 find_function_ulps.
5959 (print_complex_max_error): Determine allowed ulps using
5960 find_complex_function_ulps.
5961 (check_float_internal): Determine max ulps using find_test_ulps.
5962 (check_float): Do not take max_ulp parameter. Update call to
5963 check_float_internal.
5964 (check_complex): Likewise.
5965 (check_int): Do not take max_ulp parameter.
5966 (check_long): Likewise.
5967 (check_bool): Likewise.
5968 (check_longlong): Likewise.
5969 (struct test_f_f_data): Remove max_ulp field.
5970 (struct test_ff_f_data): Likewise.
5971 (struct test_ff_f_data_nexttoward): Likewise.
5972 (struct test_fi_f_data): Likewise.
5973 (struct test_fl_f_data): Likewise.
5974 (struct test_if_f_data): Likewise.
5975 (struct test_fff_f_data): Likewise.
5976 (struct test_c_f_data): Likewise.
5977 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5978 (struct test_fF_f1_data): Likewise.
5979 (struct test_ffI_f1_data): Likewise.
5980 (struct test_c_c_data): Remove max_ulp field.
5981 (struct test_cc_c_data): Likewise.
5982 (struct test_f_i_data): Likewise.
5983 (struct test_ff_i_data): Likewise.
5984 (struct test_f_l_data): Likewise.
5985 (struct test_f_L_data): Likewise.
5986 (struct test_sincos_data): Likewise.
5987 (RUN_TEST_f_f): Do not handle ulps.
5988 (RUN_TEST_LOOP_f_f): Likewise.
5989 (RUN_TEST_2_f): Likewise.
5990 (RUN_TEST_LOOP_2_f): Likewise.
5991 (RUN_TEST_fff_f): Likewise.
5992 (RUN_TEST_LOOP_fff_f): Likewise.
5993 (RUN_TEST_c_f): Likewise.
5994 (RUN_TEST_LOOP_c_f): Likewise.
5995 (RUN_TEST_f_f1): Likewise.
5996 (RUN_TEST_LOOP_f_f1): Likewise.
5997 (RUN_TEST_fF_f1): Likewise.
5998 (RUN_TEST_LOOP_fF_f1): Likewise.
5999 (RUN_TEST_fI_f1): Likewise.
6000 (RUN_TEST_LOOP_fI_f1): Likewise.
6001 (RUN_TEST_ffI_f1): Likewise.
6002 (RUN_TEST_LOOP_ffI_f1): Likewise.
6003 (RUN_TEST_c_c): Likewise.
6004 (RUN_TEST_LOOP_c_c): Likewise.
6005 (RUN_TEST_cc_c): Likewise.
6006 (RUN_TEST_LOOP_cc_c): Likewise.
6007 (RUN_TEST_f_i): Likewise.
6008 (RUN_TEST_LOOP_f_i): Likewise.
6009 (RUN_TEST_f_i_tg): Likewise.
6010 (RUN_TEST_LOOP_f_i_tg): Likewise.
6011 (RUN_TEST_ff_i_tg): Likewise.
6012 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6013 (RUN_TEST_f_b): Likewise.
6014 (RUN_TEST_LOOP_f_b): Likewise.
6015 (RUN_TEST_f_b_tg): Likewise.
6016 (RUN_TEST_LOOP_f_b_tg): Likewise.
6017 (RUN_TEST_f_l): Likewise.
6018 (RUN_TEST_LOOP_f_l): Likewise.
6019 (RUN_TEST_f_L): Likewise.
6020 (RUN_TEST_LOOP_f_L): Likewise.
6021 (RUN_TEST_sincos): Likewise.
6022 (RUN_TEST_LOOP_sincos): Likewise.
6023
8269107f
JM
60242013-05-17 Joseph Myers <joseph@codesourcery.com>
6025
bb38759d
JM
6026 [BZ #15480]
6027 [BZ #15485]
6028 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6029 main case of finite arguments, set rounding mode to FE_TONEAREST
6030 and discard exceptions.
6031 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6032 exceptions.
6033 (remainder_tonearest_test_data): New variable.
6034 (remainder_test_tonearest): New function.
6035 (remainder_towardzero_test_data): New variable.
6036 (remainder_test_towardzero): New function.
6037 (remainder_downward_test_data): New variable.
6038 (remainder_test_downward): New function.
6039 (remainder_upward_test_data): New variable.
6040 (remainder_test_upward): New function.
6041 (main): Call the new test functions.
6042
a00bdcf0
JM
6043 * math/libm-test.inc (struct test_f_f1_data): Remove field
6044 extra_init.
6045 (struct test_fF_f1_data): Likewise.
6046 (struct test_ffI_f1_data): Likewise.
6047 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6048 based on value of EXTRA_EXPECTED.
6049 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6050 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6051 EXTRA_VAR based on value of EXTRA_EXPECTED.
6052 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6053 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6054 EXTRA_VAR based on value of EXTRA_EXPECTED.
6055 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6056 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6057 EXTRA_VAR based on value of EXTRA_EXPECTED.
6058 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6059 * math/gen-libm-test.pl (parse_args): Don't output initializers
6060 for extra output values.
6061
de407f79
JM
6062 * math/libm-test.inc (check_int): Expect result to be exactly
6063 equal to expected value and do not handle ulps.
6064 (check_long): Likewise.
6065 (check_longlong): Likewise.
6066
8269107f
JM
6067 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6068 exceptions.
6069 (cimag_test_data): Likewise.
6070 (conj_test_data): Likewise.
6071 (copysign_test_data): Likewise.
6072 (cproj_test_data): Likewise.
6073 (creal_test_data): Likewise.
6074 (fabs_test_data): Likewise.
6075 (fdim_test_data): Likewise.
6076 (finite_test_data): Likewise.
6077 (floor_test_data): Likewise.
6078 (fmax_test_data): Likewise.
6079 (fmin_test_data): Likewise.
6080 (fmod_test_data): Likewise.
6081 (fpclassify_test_data): Likewise.
6082 (frexp_test_data): Likewise.
6083 (ilogb_test_data): Likewise.
6084 (isfinite_test_data): Likewise.
6085 (isgreater_test_data): Likewise.
6086 (isgreaterequal_test_data): Likewise.
6087 (isinf_test_data): Likewise.
6088 (isless_test_data): Likewise.
6089 (islessequal_test_data): Likewise.
6090 (islessgreater_test_data): Likewise.
6091 (isnan_test_data): Likewise.
6092 (isnormal_test_data): Likewise.
6093 (issignaling_test_data): Likewise.
6094 (isunordered_test_data): Likewise.
6095 (ldexp_test_data): Likewise.
6096 (lrint_test_data): Likewise.
6097 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6098 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6099 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6100 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6101 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6102 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6103 test input.
6104 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6105 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6106 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6107 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6108 that test input.
6109 (lrint_downward_test_data): Test for "inexact" exceptions.
6110 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6111 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6112 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6113 test input.
6114 (lrint_upward_test_data): Test for "inexact" exceptions.
6115 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6116 test input.
6117 (llrint_test_data): Test for "inexact" exceptions.
6118 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6119 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6120 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6121 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6122 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6123 (llrint_downward_test_data): Test for "inexact" exceptions.
6124 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6125 (llrint_upward_test_data): Test for "inexact" exceptions.
6126 (logb_test_data): Likewise.
6127 (logb_downward_test_data): Likewise.
6128 (nextafter_test_data): Likewise.
6129 (nexttoward_test_data): Likewise.
6130 (remainder_test_data): Likewise.
6131 (remquo_test_data): Likewise.
6132 (scalbn_test_data): Likewise.
6133 (scalbln_test_data): Likewise.
6134 (signbit_test_data): Likewise.
6135 (sqrt_test_data): Likewise.
6136 (significand_test_data): Likewise.
6137
48a18de1
SP
61382013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6139
6140 [BZ #15424]
6141 * benchtests/bench-modf.c (struct args): Mark arg0 as
6142 volatile.
6143 * scripts/bench.pl: Mark members of struct args as volatile.
6144
13d3b41a
AZ
61452013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6146
68191c1d 6147 [BZ # 15497]
13d3b41a
AZ
6148 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6149 negative infinity on POWER6 or lower.
6150 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6151
2848b105
MR
61522013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6153
6154 [BZ #15442]
6155 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6156 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6157 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6158 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6159 (_FP_SETQNAN): New macro.
6160 (_FP_SETQNAN_SEMIRAW): Likewise.
6161 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6162 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6163 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6164 (FP_EXTEND): Use _FP_FRAC_SNANP.
6165 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6166 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6167 into account.
6168 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6169 New macro.
6170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6171 Likewise.
6172
323e5cb7
JM
61732013-05-16 Joseph Myers <joseph@codesourcery.com>
6174
c58b274f
JM
6175 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6176 with DIVIDE_BY_ZERO_EXCEPTION.
6177 (gamma_test_data): Likewise.
6178 (lgamma_test_data): Likewise.
6179 (log_test_data): Likewise.
6180 (log10_test_data): Likewise.
6181 (log2_test_data): Likewise.
6182 (tgamma_test_data): Likewise.
6183
0ab34904
JM
6184 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6185 (acos_test_tonearest): Likewise.
6186 (acos_test_towardzero): Likewise.
6187 (acos_test_downward): Likewise.
6188 (acos_test_upward): Likewise.
6189 (acosh_test): Likewise.
6190 (asin_test): Likewise.
6191 (asin_test_tonearest): Likewise.
6192 (asin_test_towardzero): Likewise.
6193 (asin_test_downward): Likewise.
6194 (asin_test_upward): Likewise.
6195 (asinh_test): Likewise.
6196 (atan_test): Likewise.
6197 (atanh_test): Likewise.
6198 (atan2_test): Likewise.
6199 (cabs_test): Likewise.
6200 (cacos_test): Likewise.
6201 (cacosh_test): Likewise.
6202 (casin_test): Likewise.
6203 (casinh_test): Likewise.
6204 (catan_test): Likewise.
6205 (catanh_test): Likewise.
6206 (cbrt_test): Likewise.
6207 (ccos_test): Likewise.
6208 (ccosh_test): Likewise.
6209 (cexp_test): Likewise.
6210 (clog_test): Likewise.
6211 (clog10_test): Likewise.
6212 (cos_test): Likewise.
6213 (cos_test_tonearest): Likewise.
6214 (cos_test_towardzero): Likewise.
6215 (cos_test_downward): Likewise.
6216 (cos_test_upward): Likewise.
6217 (cosh_test): Likewise.
6218 (cosh_test_tonearest): Likewise.
6219 (cosh_test_towardzero): Likewise.
6220 (cosh_test_downward): Likewise.
6221 (cosh_test_upward): Likewise.
6222 (cpow_test): Likewise.
6223 (csin_test): Likewise.
6224 (csinh_test): Likewise.
6225 (csqrt_test): Likewise.
6226 (ctan_test): Likewise.
6227 (ctan_test_tonearest): Likewise.
6228 (ctan_test_towardzero): Likewise.
6229 (ctan_test_downward): Likewise.
6230 (ctan_test_upward): Likewise.
6231 (ctanh_test): Likewise.
6232 (ctanh_test_tonearest): Likewise.
6233 (ctanh_test_towardzero): Likewise.
6234 (ctanh_test_downward): Likewise.
6235 (ctanh_test_upward): Likewise.
6236 (erf_test): Likewise.
6237 (erfc_test): Likewise.
6238 (exp_test): Likewise.
6239 (exp_test_tonearest): Likewise.
6240 (exp_test_towardzero): Likewise.
6241 (exp_test_downward): Likewise.
6242 (exp_test_upward): Likewise.
6243 (exp10_test): Likewise.
6244 (exp2_test): Likewise.
6245 (expm1_test): Likewise.
6246 (fmod_test): Likewise.
6247 (gamma_test): Likewise.
6248 (hypot_test): Likewise.
6249 (j0_test): Likewise.
6250 (j1_test): Likewise.
6251 (jn_test): Likewise.
6252 (lgamma_test): Likewise.
6253 (log_test): Likewise.
6254 (log10_test): Likewise.
6255 (log1p_test): Likewise.
6256 (log2_test): Likewise.
6257 (logb_test_downward): Likewise.
6258 (pow_test): Likewise.
6259 (pow_test_tonearest): Likewise.
6260 (pow_test_towardzero): Likewise.
6261 (pow_test_downward): Likewise.
6262 (pow_test_upward): Likewise.
6263 (remainder_test): Likewise.
6264 (remquo_test): Likewise.
6265 (sin_test): Likewise.
6266 (sin_test_tonearest): Likewise.
6267 (sin_test_towardzero): Likewise.
6268 (sin_test_downward): Likewise.
6269 (sin_test_upward): Likewise.
6270 (sincos_test): Likewise.
6271 (sinh_test): Likewise.
6272 (sinh_test_tonearest): Likewise.
6273 (sinh_test_towardzero): Likewise.
6274 (sinh_test_downward): Likewise.
6275 (sinh_test_upward): Likewise.
6276 (sqrt_test): Likewise.
6277 (tan_test): Likewise.
6278 (tan_test_tonearest): Likewise.
6279 (tan_test_towardzero): Likewise.
6280 (tan_test_downward): Likewise.
6281 (tan_test_upward): Likewise.
6282 (tanh_test): Likewise.
6283 (tgamma_test): Likewise.
6284 (y0_test): Likewise.
6285 (y1_test): Likewise.
6286 (yn_test): Likewise.
6287
323e5cb7
JM
6288 * math/gen-libm-test.pl (adjust_arg): Remove function.
6289 (special_function): Remove argument $in_func. Only handle
6290 generating output for tables of tests, not inside functions.
6291 (parse_args): Likewise.
6292 (generate_testfile): Remove variable $in_func. Update call to
6293 parse_args.
6294 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6295 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6296 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6297 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6298 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6299 (MAX_VALUE_INIT): Rename macro to max_value.
6300 (MIN_VALUE_INIT): Rename macro to min_value.
6301 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6302 (plus_zero): Remove variable.
6303 (minus_zero): Likewise.
6304 (plus_infty): Likewise.
6305 (minus_infty): Likewise.
6306 (qnan_value): Likewise.
6307 (max_value): Likewise.
6308 (min_value): Likewise.
6309 (min_subnorm_value): Likewise.
6310
e054f494
RA
63112013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6312
6313 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6314 uint64_t or uint32_t usage.
6315 * crypt/sha256-block.c: Likewise.
6316 * crypt/sha256-crypt.c: Likewise.
6317 * crypt/sha256.c: Likewise.
6318 * crypt/sha512-block.c: Likewise.
6319 * crypt/sha512-crypt.c: Likewise.
6320 * crypt/sha512.c: Likewise.
6321 * debug/backtrace-tst.c: Likewise.
6322 * debug/pcprofiledump.c: Likewise.
6323 * elf/cache.c: Likewise.
6324 * elf/dl-cache.c: Likewise.
6325 * elf/dl-misc.c: Likewise.
6326 * elf/dl-profile.c: Likewise.
6327 * elf/dl-support.c: Likewise.
6328 * elf/ldconfig.c: Likewise.
6329 * elf/sprof.c: Likewise.
6330 * iconv/dummy-repertoire.c: Likewise.
6331 * iconv/iconv_charmap.c: Likewise.
6332 * iconv/skeleton.c: Likewise.
6333 * iconvdata/8bit-generic.c: Likewise.
6334 * iconvdata/cp737.h: Likewise.
6335 * iconvdata/cp775.h: Likewise.
6336 * iconvdata/ibm1008.h: Likewise.
6337 * iconvdata/ibm1025.h: Likewise.
6338 * iconvdata/ibm1046.h: Likewise.
6339 * iconvdata/ibm1097.h: Likewise.
6340 * iconvdata/ibm1112.h: Likewise.
6341 * iconvdata/ibm1122.h: Likewise.
6342 * iconvdata/ibm1123.h: Likewise.
6343 * iconvdata/ibm1124.h: Likewise.
6344 * iconvdata/ibm1129.h: Likewise.
6345 * iconvdata/ibm1130.h: Likewise.
6346 * iconvdata/ibm1132.h: Likewise.
6347 * iconvdata/ibm1133.h: Likewise.
6348 * iconvdata/ibm1137.h: Likewise.
6349 * iconvdata/ibm1140.h: Likewise.
6350 * iconvdata/ibm1141.h: Likewise.
6351 * iconvdata/ibm1142.h: Likewise.
6352 * iconvdata/ibm1143.h: Likewise.
6353 * iconvdata/ibm1144.h: Likewise.
6354 * iconvdata/ibm1145.h: Likewise.
6355 * iconvdata/ibm1146.h: Likewise.
6356 * iconvdata/ibm1147.h: Likewise.
6357 * iconvdata/ibm1148.h: Likewise.
6358 * iconvdata/ibm1149.h: Likewise.
6359 * iconvdata/ibm1153.h: Likewise.
6360 * iconvdata/ibm1154.h: Likewise.
6361 * iconvdata/ibm1155.h: Likewise.
6362 * iconvdata/ibm1156.h: Likewise.
6363 * iconvdata/ibm1157.h: Likewise.
6364 * iconvdata/ibm1158.h: Likewise.
6365 * iconvdata/ibm1160.h: Likewise.
6366 * iconvdata/ibm1161.h: Likewise.
6367 * iconvdata/ibm1162.h: Likewise.
6368 * iconvdata/ibm1163.h: Likewise.
6369 * iconvdata/ibm1164.h: Likewise.
6370 * iconvdata/ibm1166.h: Likewise.
6371 * iconvdata/ibm1167.h: Likewise.
6372 * iconvdata/ibm12712.h: Likewise.
6373 * iconvdata/ibm1390.h: Likewise.
6374 * iconvdata/ibm1399.h: Likewise.
6375 * iconvdata/ibm16804.h: Likewise.
6376 * iconvdata/ibm4517.h: Likewise.
6377 * iconvdata/ibm4899.h: Likewise.
6378 * iconvdata/ibm4909.h: Likewise.
6379 * iconvdata/ibm4971.h: Likewise.
6380 * iconvdata/ibm5347.h: Likewise.
6381 * iconvdata/ibm803.h: Likewise.
6382 * iconvdata/ibm856.h: Likewise.
6383 * iconvdata/ibm901.h: Likewise.
6384 * iconvdata/ibm902.h: Likewise.
6385 * iconvdata/ibm9030.h: Likewise.
6386 * iconvdata/ibm9066.h: Likewise.
6387 * iconvdata/ibm921.h: Likewise.
6388 * iconvdata/ibm922.h: Likewise.
6389 * iconvdata/ibm9448.h: Likewise.
6390 * iconvdata/isiri-3342.h: Likewise.
6391 * iconvdata/jis0201.h: Likewise.
6392 * include/link.h: Likewise.
6393 * include/netdb.h: Likewise.
6394 * inet/check_native.c: Likewise.
6395 * inet/check_pf.c: Likewise.
6396 * inet/getipv4sourcefilter.c: Likewise.
6397 * inet/getnameinfo.c: Likewise.
6398 * inet/getsourcefilter.c: Likewise.
6399 * inet/htonl.c: Likewise.
6400 * inet/setipv4sourcefilter.c: Likewise.
6401 * inet/setsourcefilter.c: Likewise.
6402 * inet/test-inet6_opt.c: Likewise.
6403 * inet/tst-network.c: Likewise.
6404 * locale/C-collate.c: Likewise.
6405 * locale/C-ctype.c: Likewise.
6406 * locale/C-time.c: Likewise.
6407 * locale/C-translit.h: Likewise.
6408 * locale/loadarchive.c: Likewise.
6409 * locale/programs/3level.h: Likewise.
6410 * locale/programs/charmap.c: Likewise.
6411 * locale/programs/charmap.h: Likewise.
6412 * locale/programs/ld-address.c: Likewise.
6413 * locale/programs/ld-collate.c: Likewise.
6414 * locale/programs/ld-ctype.c: Likewise.
6415 * locale/programs/ld-identification.c: Likewise.
6416 * locale/programs/ld-measurement.c: Likewise.
6417 * locale/programs/ld-messages.c: Likewise.
6418 * locale/programs/ld-monetary.c: Likewise.
6419 * locale/programs/ld-name.c: Likewise.
6420 * locale/programs/ld-numeric.c: Likewise.
6421 * locale/programs/ld-paper.c: Likewise.
6422 * locale/programs/ld-telephone.c: Likewise.
6423 * locale/programs/ld-time.c: Likewise.
6424 * locale/programs/linereader.c: Likewise.
6425 * locale/programs/locale.c: Likewise.
6426 * locale/programs/locarchive.c: Likewise.
6427 * locale/programs/locfile.h: Likewise.
6428 * locale/programs/repertoire.c: Likewise.
6429 * locale/programs/simple-hash.c: Likewise.
6430 * locale/programs/simple-hash.h: Likewise.
6431 * malloc/memusage.c: Likewise.
6432 * malloc/memusagestat.c: Likewise.
6433 * nis/nis_defaults.c: Likewise.
6434 * nis/nis_hash.c: Likewise.
6435 * nis/nis_print.c: Likewise.
6436 * nis/nis_xdr.c: Likewise.
6437 * nscd/connections.c: Likewise.
6438 * nscd/hstcache.c: Likewise.
6439 * nscd/nscd_gethst_r.c: Likewise.
6440 * nscd/nscd_getserv_r.c: Likewise.
6441 * nscd/nscd_helper.c: Likewise.
6442 * nscd/servicescache.c: Likewise.
6443 * nss/makedb.c: Likewise.
6444 * nss/nss_db/db-XXX.c: Likewise.
6445 * nss/nss_db/db-initgroups.c: Likewise.
6446 * nss/nss_db/db-netgrp.c: Likewise.
6447 * nss/nss_files/files-network.c: Likewise.
6448 * nss/nss_files/files-parse.c: Likewise.
6449 * posix/bug-regex5.c: Likewise.
6450 * posix/fnmatch_loop.c: Likewise.
6451 * posix/regcomp.c: Likewise.
6452 * posix/regexec.c: Likewise.
6453 * posix/tst-rfc3484-2.c: Likewise.
6454 * posix/tst-rfc3484-3.c: Likewise.
6455 * posix/tst-rfc3484.c: Likewise.
6456 * resolv/nss_dns/dns-canon.c: Likewise.
6457 * resolv/nss_dns/dns-network.c: Likewise.
6458 * resolv/res_init.c: Likewise.
6459 * resolv/res_mkquery.c: Likewise.
6460 * resolv/tst-aton.c: Likewise.
6461 * stdlib/cxa_atexit.c: Likewise.
6462 * stdlib/cxa_finalize.c: Likewise.
6463 * stdlib/gen-fpioconst.c: Likewise.
6464 * stdlib/strtol_l.c: Likewise.
6465 * string/tst-endian.c: Likewise.
6466 * sunrpc/auth_des.c: Likewise.
6467 * sunrpc/clnt_udp.c: Likewise.
6468 * sunrpc/rtime.c: Likewise.
6469 * sunrpc/svcauth_des.c: Likewise.
6470 * sunrpc/xdr.c: Likewise.
6471 * sunrpc/xdr_intXX_t.c: Likewise.
6472 * sunrpc/xdr_rec.c: Likewise.
6473 * sysdeps/generic/ldconfig.h: Likewise.
6474 * sysdeps/generic/ldsodefs.h: Likewise.
6475 * sysdeps/generic/memusage.h: Likewise.
6476 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6486 * sysdeps/posix/getaddrinfo.c: Likewise.
6487 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6488 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6489 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6490 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6491 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6492 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6493 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6494 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6495 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6496 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6497 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6498 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6499 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6500 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6501 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6502 * sysdeps/x86_64/dl-tls.h: Likewise.
6503 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6504 * time/alt_digit.c: Likewise.
6505 * time/era.c: Likewise.
6506 * wcsmbs/tst-c16c32-1.c: Likewise.
6507
8c75f674
JM
65082013-05-16 Joseph Myers <joseph@codesourcery.com>
6509
6510 * math/libm-test.inc (struct test_sincos_data): New type.
6511 (RUN_TEST_LOOP_sincos): New macro.
6512 (sincos_test_data): New variable.
6513 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6514
e6e49e59
RH
65152013-05-16 Richard Henderson <rth@redhat.com>
6516
6517 * math/atest-exp2.c (LIMB64): New macro.
6518 (CONSTSZ): New macro.
6519 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6520 (hexdig): Move ...
6521 (print_mpn_fp): ... to function scope.
6522 (read_mpn_hex): Remove.
6523 (get_log2): Remove.
6524 (exp2_mpn): Use mp_log2.
6525 (main): Use mp_exp1.
6526
15c7c18d
JM
65272013-05-16 Joseph Myers <joseph@codesourcery.com>
6528
105a07df
JM
6529 * math/libm-test.inc: Remove comment about not testing "inexact"
6530 exceptions.
6531 (INEXACT_EXCEPTION): New macro.
6532 (NO_INEXACT_EXCEPTION): Likewise.
6533 (INVALID_EXCEPTION_OK): Update value.
6534 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6535 (OVERFLOW_EXCEPTION_OK): Likewise.
6536 (UNDERFLOW_EXCEPTION_OK): Likewise.
6537 (IGNORE_ZERO_INF_SIGN): Likewise.
6538 (ERRNO_UNCHANGED): Likewise.
6539 (ERRNO_EDOM): Likewise.
6540 (ERRNO_ERANGE): Likewise.
6541 (test_exceptions): Handle testing "inexact" exceptions.
6542 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6543 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6544 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6545 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6546 INEXACT_EXCEPTION.
6547 (rint_towardzero_test_data): Likewise.
6548 (rint_downward_test_data): Likewise.
6549 (rint_upward_test_data): Likewise.
6550
e9eee333
JM
6551 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6552 with OVERFLOW_EXCEPTION.
6553 (exp10_test_data): Likewise.
6554 (exp2_test_data): Likewise.
6555 (expm1_test_data): Likewise.
6556 (lgamma_test_data): Likewise.
6557 (pow_test_data): Likewise.
6558 (tgamma_test_data): Likewise.
6559 (yn_test_data): Remove duplicate test of overflow.
6560
1c38ff73
JM
6561 * math/libm-test.inc (struct test_cc_c_data): New type.
6562 (RUN_TEST_LOOP_cc_c): New macro.
6563 (cpow_test_data): New variable.
6564 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6565
15c7c18d
JM
6566 * math/libm-test.inc (struct test_f_L_data): New type.
6567 (RUN_TEST_LOOP_f_L): New macro.
6568 (llrint_test_data): New variable.
6569 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6570 (llrint_tonearest_test_data): New variable.
6571 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6572 (llrint_towardzero_test_data): New variable.
6573 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6574 (llrint_downward_test_data): New variable.
6575 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6576 (llrint_upward_test_data): New variable.
6577 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6578 (llround_test_data): New variable.
6579 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6580
f137ff13
PC
65812013-05-13 Peter Collingbourne <pcc@google.com>
6582
6583 * math/atest-exp2.c (get_log2): Remove const attribute.
6584
3608cb24
JM
65852013-05-15 Joseph Myers <joseph@codesourcery.com>
6586
6587 * math/libm-test.inc (struct test_f_l_data): New type.
6588 (RUN_TEST_LOOP_f_l): New macro.
6589 (lrint_test_data): New variable.
6590 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6591 (lrint_tonearest_test_data): New variable.
6592 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6593 (lrint_towardzero_test_data): New variable.
6594 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6595 (lrint_downward_test_data): New variable.
6596 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6597 (lrint_upward_test_data): New variable.
6598 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6599 (lround_test_data): New variable.
6600 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6601
39b1f617
PC
66022013-05-15 Peter Collingbourne <pcc@google.com>
6603
1deff3dc
PC
6604 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6605 (EXTRACT_WORDS64) Use where appropriate.
6606 (INSERT_WORDS64) Likewise.
6607
791f3ba0
PC
6608 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6609 constraints with x constraints.
6610 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6611
39b1f617
PC
6612 * malloc/obstack.c (_obstack_compat): Add initializer.
6613
12fba011
EM
66142013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6615
6616 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6617 si_trapno and add si_addr_lsb to _sifields.sigfault.
6618 (si_trapno): Remove macro.
6619 (si_addr_lsb): Define new macro.
6620 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6621
d369f531
JM
66222013-05-15 Joseph Myers <joseph@codesourcery.com>
6623
b861c6c4
JM
6624 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6625 instead of TEST_f_l.
6626 (llrint_test_tonearest): Likewise.
6627 (llrint_test_towardzero): Likewise.
6628 (llrint_test_downward): Likewise.
6629 (llrint_test_upward): Likewise.
6630 (llround_test): Likewise.
6631
7abeee12
JM
6632 * math/libm-test.inc (struct test_f_i_data): Add comment.
6633 (RUN_TEST_LOOP_f_b): New macro.
6634 (RUN_TEST_LOOP_f_b_tg): Likewise.
6635 (finite_test_data): New variable.
6636 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6637 (isfinite_test_data): New variable.
6638 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6639 (isinf_test_data): New variable.
6640 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6641 (isnan_test_data): New variable.
6642 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6643 (isnormal_test_data): New variable.
6644 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6645 (issignaling_test_data): New variable.
6646 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6647 (signbit_test_data): New variable.
6648 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6649
cbe8c4d3
JM
6650 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6651 with INVALID_EXCEPTION.
6652 (acosh_test_data): Likewise.
6653 (asin_test_data): Likewise.
6654 (atanh_test_data): Likewise.
6655 (fmod_test_data): Likewise.
6656 (log_test_data): Likewise.
6657 (log10_test_data): Likewise.
6658 (log2_test_data): Likewise.
6659 (pow_test_data): Likewise.
6660 (sqrt_test_data): Likewise.
6661 (y0_test_data): Likewise.
6662 (y1_test_data): Likewise.
6663 (yn_test_data): Likewise.
6664
5575c0e5
JM
6665 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6666 function contents.
6667
d369f531
JM
6668 * math/libm-test.inc (struct test_ff_i_data): New type.
6669 (RUN_TEST_LOOP_ff_i_tg): New macro.
6670 (isgreater_test_data): New variable.
6671 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6672 (isgreaterequal_test_data): New variable.
6673 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6674 (isless_test_data): New variable.
6675 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6676 (islessequal_test_data): New variable.
6677 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6678 (islessgreater_test_data): New variable.
6679 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6680 (isunordered_test_data): New variable.
6681 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6682
781fd748
DM
66832013-05-14 David S. Miller <davem@davemloft.net>
6684
6685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6686
87aa21df
JM
66872013-05-14 Joseph Myers <joseph@codesourcery.com>
6688
5e908270
JM
6689 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6690
f71172e5
JM
6691 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6692 extra_test to int.
6693 (struct test_f_i_data): Change type of max_ulp to int.
6694
8cfa635a
JM
6695 * math/libm-test.inc (test_ffI_f1_data): New type.
6696 (RUN_TEST_LOOP_ffI_f1): New macro.
6697 (remquo_test_data): New variable.
6698 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6699
2bcb36b2
JM
6700 * setjmp/tst-setjmp-fp.c: New file.
6701 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6702 (link-libm): New variable.
6703 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6704
acbd839a
JM
6705 * math/libm-test.inc (struct test_f_i_data): New type.
6706 (RUN_TEST_LOOP_f_i): New macro.
6707 (RUN_TEST_LOOP_f_i_tg): Likewise.
6708 (fpclassify_test_data): New variable.
6709 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6710 (ilogb_test_data): New variable.
6711 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6712
e414d745
JM
6713 * math/libm-test.inc (scalbln_test): Correct function name in END
6714 call.
6715
d9c2a0fd
JM
6716 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6717 (RUN_TEST_LOOP_fI_f1): New macro.
6718 (frexp_test_data): New variable.
6719 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6720
9dc9095d
JM
6721 * math/libm-test.inc (struct test_fF_f1_data): New type.
6722 (RUN_TEST_LOOP_fF_f1): New macro.
6723 (modf_test_data): New variable.
6724 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6725
87aa21df
JM
6726 * math/libm-test.inc (struct test_f_f1_data): New type.
6727 (RUN_TEST_LOOP_f_f1): New macro.
6728 (gamma_test_data): New variable.
6729 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6730 (lgamma_test_data): New variable.
6731 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6732
141af660
CD
67332013-05-13 Carlos O'Donell <carlos@redhat.com>
6734
6735 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6736 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6737 (main): Comment "tls" pseudo-hwcap.
6738
6d33265c
JM
67392013-05-13 Joseph Myers <joseph@codesourcery.com>
6740
68fc074c
JM
6741 * math/libm-test.inc (struct test_fl_f_data): New type.
6742 (RUN_TEST_LOOP_fl_f): New variable.
6743 (scalbln_test_data): New variable.
6744 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6745
243216e1
JM
6746 * math/libm-test.inc (struct test_fi_f_data): New type.
6747 (RUN_TEST_LOOP_fi_f): New macro.
6748 (ldexp_test_data): New variable.
6749 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6750 (scalbn_test_data): New variable.
6751 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6752
6a1992e2
JM
6753 * math/libm-test.inc (struct test_c_f_data): New type.
6754 (RUN_TEST_LOOP_c_f): New macro.
6755 (cabs_test_data): New variable.
6756 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6757 (carg_test_data): New variable.
6758 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6759 (cimag_test_data): New variable.
6760 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6761 (creal_test_data): New variable.
6762 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6763
0e400df5
JM
6764 * math/libm-test.inc (struct test_if_f_data): New type.
6765 (RUN_TEST_LOOP_if_f): New macro.
6766 (jn_test_data): New variable.
6767 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6768 (yn_test_data): New variable.
6769 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6770
6d33265c
JM
6771 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6772
f98ece5f
AZ
67732013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6774
6775 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6776 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6777
0f7d347b
SP
67782013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
43fe811b
SP
6780 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6781 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6782 (bench-deps): Add bench-timing.h.
6783 * benchtests-bench-skeleton.c: Include bench-timing.h.
6784 (main): Use TIMING_* macros instead of clock_gettime.
6785 * benchtests/bench-timing.h: New file.
6786
0f7d347b
SP
6787 [BZ #14582]
6788 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6789 Renamed from _LIB_VERSION.
6790 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6791
601a3a5f
JM
67922013-05-12 Joseph Myers <joseph@codesourcery.com>
6793
4f184d30
JM
6794 * math/libm-test.inc (struct test_fff_f_data): New type.
6795 (RUN_TEST_LOOP_fff_f): New macro.
6796 (fma_test_data): New variable.
6797 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6798 (fma_towardzero_test_data): New variable.
6799 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6800 (fma_downward_test_data): New variable.
6801 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6802 (fma_upward_test_data): New variable.
6803 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6804
08198877
JM
6805 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6806 (struct test_c_c_data): New type.
6807 (RUN_TEST_LOOP_c_c): New macro.
6808 (cacos_test_data): New variable.
6809 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6810 (cacosh_test_data): New variable.
6811 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6812 (casin_test_data): New variable.
6813 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6814 (casinh_test_data): New variable.
6815 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6816 (catan_test_data): New variable.
6817 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6818 (catanh_test_data): New variable.
6819 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6820 (ccos_test_data): New variable.
6821 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6822 (ccosh_test_data): New variable.
6823 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6824 (cexp_test_data): New variable.
6825 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6826 (clog_test_data): New variable.
6827 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6828 (clog10_test_data): New variable.
6829 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6830 (conj_test_data): New variable.
6831 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6832 (cproj_test_data): New variable.
6833 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6834 (csin_test_data): New variable.
6835 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6836 (csinh_test_data): New variable.
6837 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6838 (csqrt_test_data): New variable.
6839 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6840 (ctan_test_data): New variable.
6841 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6842 (ctan_tonearest_test_data): New variable.
6843 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6844 (ctan_towardzero_test_data): New variable.
6845 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6846 (ctan_downward_test_data): New variable.
6847 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6848 (ctan_upward_test_data): New variable.
6849 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6850 (ctanh_test_data): New variable.
6851 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6852 (ctanh_tonearest_test_data): New variable.
6853 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6854 (ctanh_towardzero_test_data): New variable.
6855 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6856 (ctanh_downward_test_data): New variable.
6857 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6858 (ctanh_upward_test_data): New variable.
6859 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6860 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6861 of BUILD_COMPLEX.
6862
601a3a5f
JM
6863 * math/libm-test.inc (struct test_ff_f_data): New type.
6864 (struct test_ff_f_data_nexttoward): Likewise.
6865 (RUN_TEST_LOOP_2_f): New macro.
6866 (RUN_TEST_LOOP_ff_f): Likewise.
6867 (atan2_test_data): New variable.
6868 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6869 (copysign_test_data): New variable.
6870 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6871 (fdim_test_data): New variable.
6872 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6873 (fmax_test_data): New variable.
6874 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6875 (fmin_test_data): New variable.
6876 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6877 (fmod_test_data): New variable.
6878 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6879 (hypot_test_data): New variable.
6880 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6881 (nextafter_test_data): New variable.
6882 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6883 (nexttoward_test_data): New variable.
6884 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6885 (pow_test_data): New variable.
6886 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6887 (pow_tonearest_test_data): New variable.
6888 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6889 (pow_towardzero_test_data): New variable.
6890 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6891 (pow_downward_test_data): New variable.
6892 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6893 (pow_upward_test_data): New variable.
6894 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6895 (remainder_test_data): New variable.
6896 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6897 (scalb_test_data): New variable.
6898 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6899 * sysdeps/i386/fpu/libm-test-ulps: Update.
6900
74c57478
JM
69012013-05-11 Joseph Myers <joseph@codesourcery.com>
6902
8329e4da
JM
6903 * math/libm-test.inc (fma_test): Use max_value instead of local
6904 variable fltmax.
6905 (nextafter_test): Likewise.
6906
74c57478
JM
6907 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6908 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6909 (acos_downward_test_data): New variable.
6910 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6911 (acos_upward_test_data): New variable.
6912 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6913 (acosh_test_data): New variable.
6914 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6915 (asin_test_data): New variable.
6916 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6917 (asin_tonearest_test_data): New variable.
6918 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6919 (asin_towardzero_test_data): New variable.
6920 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6921 (asin_downward_test_data): New variable.
6922 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6923 (asin_upward_test_data): New variable.
6924 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6925 (asinh_test_data): New variable.
6926 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6927 (atan_test_data): New variable.
6928 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6929 (atanh_test_data): New variable.
6930 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6931 (cbrt_test_data): New variable.
6932 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6933 (ceil_test_data): New variable.
6934 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6935 (cos_test_data): New variable.
6936 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6937 (cos_tonearest_test_data): New variable.
6938 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6939 (cos_towardzero_test_data): New variable.
6940 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6941 (cos_downward_test_data): New variable.
6942 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6943 (cos_upward_test_data): New variable.
6944 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6945 (cosh_test_data): New variable.
6946 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6947 (cosh_tonearest_test_data): New variable.
6948 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6949 (cosh_towardzero_test_data): New variable.
6950 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6951 (cosh_downward_test_data): New variable.
6952 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6953 (cosh_upward_test_data): New variable.
6954 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6955 (erf_test_data): New variable.
6956 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6957 (erfc_test_data): New variable.
6958 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6959 (exp_test_data): New variable.
6960 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6961 (exp_tonearest_test_data): New variable.
6962 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6963 (exp_towardzero_test_data): New variable.
6964 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6965 (exp_downward_test_data): New variable.
6966 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6967 (exp_upward_test_data): New variable.
6968 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6969 (exp10_test_data): New variable.
6970 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6971 (exp2_test_data): New variable.
6972 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6973 (expm1_test_data): New variable.
6974 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6975 (fabs_test_data): New variable.
6976 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6977 (floor_test_data): New variable.
6978 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6979 (j0_test_data): New variable.
6980 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6981 (j1_test_data): New variable.
6982 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6983 (log_test_data): New variable.
6984 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6985 (log10_test_data): New variable.
6986 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6987 (log1p_test_data): New variable.
6988 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6989 (log2_test_data): New variable.
6990 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6991 (logb_test_data): New variable.
6992 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6993 (logb_downward_test_data): New variable.
6994 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6995 (nearbyint_test_data): New variable.
6996 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6997 (rint_test_data): New variable.
6998 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6999 (rint_tonearest_test_data): New variable.
7000 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7001 (rint_towardzero_test_data): New variable.
7002 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7003 (rint_downward_test_data): New variable.
7004 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7005 (rint_upward_test_data): New variable.
7006 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7007 (round_test_data): New variable.
7008 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7009 (sin_test_data): New variable.
7010 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7011 (sin_tonearest_test_data): New variable.
7012 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7013 (sin_towardzero_test_data): New variable.
7014 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7015 (sin_downward_test_data): New variable.
7016 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7017 (sin_upward_test_data): New variable.
7018 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7019 (sinh_test_data): New variable.
7020 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7021 (sinh_tonearest_test_data): New variable.
7022 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7023 (sinh_towardzero_test_data): New variable.
7024 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7025 (sinh_downward_test_data): New variable.
7026 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7027 (sinh_upward_test_data): New variable.
7028 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7029 (sqrt_test_data): New variable.
7030 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7031 (tan_test_data): New variable.
7032 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7033 (tan_tonearest_test_data): New variable.
7034 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7035 (tan_towardzero_test_data): New variable.
7036 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7037 (tan_downward_test_data): New variable.
7038 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7039 (tan_upward_test_data): New variable.
7040 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7041 (tanh_test_data): New variable.
7042 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7043 (tgamma_test_data): New variable.
7044 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7045 (trunc_test_data): New variable.
7046 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7047 (y0_test_data): New variable.
7048 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7049 (y1_test_data): New variable.
7050 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7051 (significand_test_data): New variable.
7052 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7053
7187d844
CG
70542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7055
7056 [BZ #12387]
7057 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7058
f63fae73
PT
70592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7060
7061 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7062
8a67a4b3
AJ
70632013-05-10 Andreas Jaeger <aj@suse.de>
7064
7065 [BZ #15448]
7066 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7067 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7068
51df539d
JM
70692013-05-10 Joseph Myers <joseph@codesourcery.com>
7070
7071 * math/gen-libm-test.pl (adjust_arg): New function.
7072 (special_functions): Handle generating output in both functions
7073 and arrays.
7074 (parse_args): Likewise.
7075 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7076 $in_func argument to parse_args.
7077 * math/libm-test.inc (struct test_f_f_data): New type.
7078 (IF_ROUND_INIT_): New macro.
7079 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7080 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7081 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7082 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7083 (ROUND_RESTORE_): Likewise.
7084 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7085 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7086 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7087 (ROUND_RESTORE_FE_UPWARD): Likewise.
7088 (RUN_TEST_LOOP_f_f): New macro.
7089 (acos_test_data): New variable.
7090 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7091 (acos_tonearest_test_data): New variable.
7092 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7093
5c637fe5
SP
70942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7095
7096 * benchtests/bench-skeleton.c (startup): Fix coding style.
7097
ab2b9461
JM
70982013-05-10 Joseph Myers <joseph@codesourcery.com>
7099
7100 [BZ #6809]
7101 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7102 negative infinity argument.
7103 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7104 negative infinity argument.
7105 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7106 negative infinity argument.
7107 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7108 domain errors.
7109
4c0fe6fe
FW
71102013-05-10 Florian Weimer <fweimer@redhat.com>
7111
7112 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7113 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7114 * iconv/iconv_prog.c (main): Likewise.
7115 * locale/programs/charmap-dir.c (charmap_readdir)
7116 (fopen_uncompressed): Likewise.
7117 * locale/programs/locfile.c (siblings_uncached)
7118 (write_locale_data): Use lstat64 instead of lstat.
7119 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7120 stat.
7121
a3375d29
AJ
71222013-05-10 Andreas Jaeger <aj@suse.de>
7123
7124 [BZ #15395]
7125 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7126 localization.
7127 Include <locale.h>.
7128
36129722
CD
71292013-05-09 Carlos O'Donell <carlos@redhat.com>
7130
7131 * elf/dl-close.c (_dl_close_worker): Add comments.
7132
faa7f811
JM
71332013-05-09 Joseph Myers <joseph@codesourcery.com>
7134
ed41ffef
JM
7135 [BZ #15359]
7136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7137 high part of pi/2.
7138 (__ieee754_rem_pio2l): Update comments.
7139
d0213cd0
JM
7140 [BZ #15429]
7141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7142 high part of pi/2.
7143 (__ieee754_rem_pio2l): Update comments.
7144
0d3e777a
JM
7145 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7146 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7147
24f56066
JM
7148 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7149 M_PI_4l.
7150
faa7f811
JM
7151 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7152 (M_PI_34_LOG10El): Likewise.
7153 (M_PI2_LOG10El): Likewise.
7154 (M_PI4_LOG10El): Likewise.
7155 (M_PI_LOG10El): Likewise.
7156
e9a5e0fd
AZ
71572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7158
7159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7160
d8cd06db
JM
71612013-05-08 Joseph Myers <joseph@codesourcery.com>
7162
a0d9f9d7
JM
7163 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7164 (MINUS_ZERO_INIT): Likewise.
7165 (PLUS_INFTY_INIT): Likewise.
7166 (MINUS_INFTY_INIT): Likewise.
7167 (QNAN_VALUE_INIT): Likewise.
7168 (MAX_VALUE_INIT): Likewise.
7169 (MIN_VALUE_INIT): Likewise.
7170 (MIN_SUBNORM_VALUE_INIT): Likewise.
7171 (plus_zero): Initialize with PLUS_ZERO_INIT.
7172 (minus_zero): Initialize with MINUS_ZERO_INIT.
7173 (plus_infty): Initialize with PLUS_INFTY_INIT.
7174 (minus_infty): Initialize with MINUS_INFTY_INIT.
7175 (qnan_value): Initialize with QNAN_VALUE_INIT.
7176 (max_value): Initialize with MAX_VALUE_INIT.
7177 (min_value): Initialize with MIN_VALUE_INIT.
7178 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7179
ae08db3b
JM
7180 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7181 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7182 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7183 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7184
f44bf14a
JM
7185 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7186 (RUN_TEST_2_f): Likewise.
7187 (RUN_TEST_ff_f): Likewise.
7188 (RUN_TEST_fi_f): Likewise.
7189 (RUN_TEST_fl_f): Likewise.
7190 (RUN_TEST_fff_f): Likewise.
7191 (RUN_TEST_c_f): Likewise.
7192 (RUN_TEST_f_f1): Likewise.
7193 (RUN_TEST_fF_f1): Likewise.
7194 (RUN_TEST_fI_f1): Likewise.
7195 (RUN_TEST_ffI_f1): Likewise.
7196 (RUN_TEST_c_c): Likewise.
7197 (RUN_TEST_cc_c): Likewise.
7198 (RUN_TEST_f_i): Likewise.
7199 (RUN_TEST_f_i_tg): Likewise.
7200 (RUN_TEST_ff_i_tg): Likewise.
7201 (RUN_TEST_f_b): Likewise.
7202 (RUN_TEST_f_b_tg): Likewise.
7203 (RUN_TEST_f_l): Likewise.
7204 (RUN_TEST_f_L): Likewise.
7205 (RUN_TEST_sincos): Likewise.
7206 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7207 whether to show exceptions. Do not include ");\n" in return
7208 value.
7209 (special_functions): Output call to RUN_TEST_sincos instead of
7210 check_float calls. Update calls to new_test.
7211 (parse_args): Output call to single RUN_TEST_* macro instead of
7212 check_* calls and other assignments. Update calls to new_test.
7213
d8cd06db
JM
7214 [BZ #2546]
7215 [BZ #2560]
7216 [BZ #5159]
7217 [BZ #15426]
7218 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7219 input to result for tgamma overflow.
7220 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7221 (gamma_coeff): New variable.
7222 (NCOEFF): New macro.
7223 (gamma_positive): New function.
7224 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7225 underflow here. Use gamma_positive instead of exp (lgamma) for
7226 other arguments.
7227 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7228 (gamma_coeff): New variable.
7229 (NCOEFF): New macro.
7230 (gammaf_positive): New function.
7231 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7232 underflow here. Use gamma_positive instead of exp (lgamma) for
7233 other arguments.
7234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7235 (gamma_coeff): New variable.
7236 (NCOEFF): New macro.
7237 (gammal_positive): New function.
7238 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7239 underflow here. Use gamma_positive instead of exp (lgamma) for
7240 other arguments.
7241 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7242 (gamma_coeff): New variable.
7243 (NCOEFF): New macro.
7244 (gammal_positive): New function.
7245 (__ieee754_gammal_r): Handle positive infinity, overflow and
7246 underflow here. Handle NaN the same as positive infinity. Remove
7247 check x < 0xffffffff for negative integers. Use gamma_positive
7248 instead of exp (lgamma) for other arguments.
7249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7250 (gamma_coeff): New variable.
7251 (NCOEFF): New macro.
7252 (gammal_positive): New function.
7253 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7254 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7258 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7259 * sysdeps/generic/math_private.h (__gamma_productf): New
7260 prototype.
7261 (__gamma_product): Likewise.
7262 (__gamma_productl): Likewise.
7263 * math/Makefile (libm-calls): Add gamma_product.
7264 * math/libm-test.inc (tgamma_test): Add more tests.
7265 * sysdeps/i386/fpu/libm-test-ulps: Update.
7266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7267
bb7cf681
OB
72682013-05-08 Ondřej Bílka <neleai@seznam.cz>
7269
7270 * benchtests/bench-skeleton.c (main): Preheat CPU.
7271
ba853947
AJ
72722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7273
7274 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7275
8347c74c
RM
72762013-05-07 Roland McGrath <roland@hack.frob.com>
7277
7278 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7279 and _dl_skip_args_internal.
7280
e8dd4791
CD
72812013-05-07 Carlos O'Donell <carlos@redhat.com>
7282
7283 * manual/message.texi (Message Translation): Talk about users.
7284 Message to key mapping impacts design.
7285
c7405830
RM
72862013-05-06 Roland McGrath <roland@hack.frob.com>
7287
a9173057
RM
7288 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7289
976e2f03
RM
7290 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7291
9723ffc5
RM
7292 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7293 * sysdeps/wordsize-64/glob64.c: ... here.
7294
962e6658
RM
7295 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7296 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7297 New macros.
7298
ee586a6d
RM
7299 * debug/getlogin_r_chk.c: Moved to ...
7300 * login/getlogin_r_chk.c: ... here.
7301 * debug/Makefile (routines): Move getlogin_r_chk to ...
7302 * login/Makefile (routines): ... here.
7303 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7304 * login/Versions (libc: GLIBC_2.4): ... here.
7305
355f9165
RM
7306 * io/poll.c (__poll): Renamed from poll.
7307 Add libc_hidden_def.
7308 (poll): Define as weak alias.
7309
bd9ffde6
RM
7310 * debug/ptsname_r_chk.c: Moved to ...
7311 * login/ptsname_r_chk.c: ... here.
7312 * debug/Makefile (routines): Move ptsname_r_chk to ...
7313 * login/Makefile (routines): ... here.
7314 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7315 * login/Versions (libc: GLIBC_2.4): ... here.
7316
8fb16a04
RM
7317 * posix/getlogin.c: Moved to ...
7318 * login/getlogin.c: ... here.
7319 * posix/getlogin_r.c: Moved to ...
7320 * login/getlogin_r.c: ... here.
7321 * posix/getlogin_r.c: Moved to ...
7322 * login/getlogin_r.c: ... here.
7323 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7324 * login/Makefile (routines): ... here.
7325 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7326 * login/Versions (libc: GLIBC_2.0): ... here.
7327
b99b892f
RM
7328 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7329 (setrlimit): Define as weak alias.
7330
c7405830
RM
7331 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7332 Call __ names for open, ftruncate, and close.
7333 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7334 (truncate): Define as weak alias.
7335
5bf96de5
JM
73362013-05-06 Joseph Myers <joseph@codesourcery.com>
7337
9ea3513c
JM
7338 * math/gen-libm-test.pl (parse_args): Initialize x before each
7339 test of frexp, modf and remquo.
7340
5bf96de5
JM
7341 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7342 test signgam value.
7343
16e616a7
AZ
73442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7345
7346 [BZ #15418]
7347 [BZ #15419]
7348 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7349 internal tests.
7350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7351
d5e82754
RM
73522013-05-06 Roland McGrath <roland@hack.frob.com>
7353
7354 * elf/dl-writev.h: New file.
7355 * elf/dl-misc.c: Include it.
7356 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7357 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7358
a7548d41
JM
73592013-05-04 Joseph Myers <joseph@codesourcery.com>
7360
b7dab1e4
JM
7361 * math/libm-test.inc (noXFails): Remove variable.
7362 (noXPasses): Likewise.
7363 (BUILD_COMPLEX_INT): Remove macro.
7364 (print_screen): Remove xfail argument.
7365 (print_screen_max_error): Likewise.
7366 (update_stats): Likewise.
7367 (print_max_error): Likewise. Update calls to other affected
7368 functions.
7369 (print_complex_max_error): Likewise.
7370 (test_single_exception): Update calls to print_screen.
7371 (test_single_errno): Likewise.
7372 (check_float_internal): Remove xfail argument. Update calls to
7373 other affected functions.
7374 (check_float): Likewise.
7375 (check_complex): Likewise.
7376 (check_int): Likewise.
7377 (check_long): Likewise.
7378 (check_bool): Likewise.
7379 (check_longlong): Likewise.
7380 (main): Don't print noXFails and noXPasses.
7381 * math/gen-libm-test.pl (top level): Don't mention expected
7382 failure handling in comment.
7383 (new_test): Don't handle expected failures.
7384 (parse_args): Don't mention expected failure handling in comment.
7385 (generate_testfile): Don't handle expected failures.
7386 (parse_ulps): Likewise.
7387 (print_ulps_file): Likewise.
7388 (get_failure): Remove function.
7389 (output_test): Don't handle expected failures.
7390 * make/README.libm-test: Don't mention expected failure handling.
7391
a7548d41
JM
7392 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7393 (minus_zero): Likewise.
7394 (plus_infty): Likewise.
7395 (minus_infty): Likewise.
7396 (qnan_value): Likewise.
7397 (max_value): Likewise.
7398 (min_value): Likewise.
7399 (min_subnorm_value): Likewise.
7400 (initialize): Do not initialize those variables dynamically.
7401
60bfd54c
RM
74022013-05-03 Roland McGrath <roland@hack.frob.com>
7403
cc0e6ed8
RM
7404 * io/open.c (__open_2): Moved to ...
7405 * io/open_2.c: ... this new file.
7406 * io/open64.c (__open64_2): Moved to ...
7407 * io/open64_2.c: ... this new file.
7408 * io/openat.c (__openat_2): Moved to ...
7409 * io/openat_2.c: ... this new file.
7410 * io/openat64.c (__openat64_2): Moved to ...
7411 * io/openat64_2.c: ... this new file.
7412 * io/Makefile (routines): Add them.
7413 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7414 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7415 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7416 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7417 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7418 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7419 (__openat64): Add hidden_ver.
7420 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7421 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7422
60bfd54c
RM
7423 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7424 Separately conditionalize setting of GLRO(dl_sysinfo) so
7425 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7426 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7427
83e7640f
AZ
74282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7429
7430 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7432 definition.
7433 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7434 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7435 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7436 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7437 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7438
d5dc2af3
JM
74392013-05-03 Joseph Myers <joseph@codesourcery.com>
7440
c31a5b1e
JM
7441 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7442 test signgam value.
7443
d5dc2af3
JM
7444 * math/libm-test.inc (hypot_test): Do not use
7445 IGNORE_ZERO_INF_SIGN.
7446
164fd39d
AJ
74472013-05-03 Andreas Jaeger <aj@suse.de>
7448
7449 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7450 Linux 3.9.
7451 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7452 (PF_MAX): Adjust for VSOCK change.
7453
8237f48c
AZ
74542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7455
7456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7457
9df02941
CD
74582013-05-02 Carlos O'Donell <carlos@redhat.com>
7459
7460 [BZ #15264]
7461 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7462 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7463 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7464
d422395e
DM
74652013-05-02 David S. Miller <davem@davemloft.net>
7466
7467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7468
a07c5731
OB
74692013-05-01 Ondřej Bílka <neleai@seznam.cz>
7470
7471 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7472
1324e37f
RM
74732013-05-01 Roland McGrath <roland@hack.frob.com>
7474
7475 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7476
0695940b
RS
74772013-05-01 Richard Smith <richard@metafoo.co.uk>
7478
bb5f27ad 7479 [BZ #14952]
0695940b
RS
7480 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7481 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7482 Use __attribute__ ((__gnu_inline__)).
7483 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7484 Don't use __attribute__ ((__gnu_inline__)).
7485
10de07f5
JM
74862013-05-01 Joseph Myers <joseph@codesourcery.com>
7487
7488 [BZ #15423]
7489 * math/s_catan.c (__catan): Handle small real or imaginary part of
7490 input specially to avoid spurious underflow.
7491 * math/s_catanf.c (__catanf): Likewise.
7492 * math/s_catanh.c (__catanh): Likewise.
7493 * math/s_catanhf.c (__catanhf): Likewise.
7494 * math/s_catanhl.c (__catanhl): Likewise.
7495 * math/s_catanl.c (__catanl): Likewise.
7496 * math/libm-test.inc (catan_test): Add more tests.
7497 (catanh_test): Likewise.
7498 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500
cb4d5414
AZ
75012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7502
7503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7504
caf84319
JM
75052013-04-30 Joseph Myers <joseph@codesourcery.com>
7506
7507 [BZ #15416]
7508 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7509 accurately for denominator in atan2.
7510 * math/s_catanf.c (__catanf): Likewise.
7511 * math/s_catanh.c (__catanh): Likewise.
7512 * math/s_catanhf.c (__catanhf): Likewise.
7513 * math/s_catanhl.c (__catanhl): Likewise.
7514 * math/s_catanl.c (__catanl): Likewise.
7515 * math/libm-test.inc (catan_test): Add more tests.
7516 (catanh_test): Likewise.
7517 * sysdeps/i386/fpu/libm-test-ulps: Update.
7518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7519
d569c6ee
SP
75202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7521
6dbe713d
SP
7522 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7523
f0ee064b
SP
7524 * benchtests/Makefile (bench): Remove slow benchmarks.
7525 * benchtests/atan-inputs: Add slow benchmark inputs.
7526 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7527 (BENCH_FUNC): Accept variant offset.
7528 (VARIANT): Define.
7529 * benchtests/bench-skeleton.c (main): Run benchmark for each
7530 variant.
7531 * benchtests/cos-inputs: Add slow benchmark inputs.
7532 * benchtests/exp-inputs: Likewise.
7533 * benchtests/pow-inputs: Likewise.
7534 * benchtests/sin-inputs: Likewise.
7535 * benchtests/slowatan-inputs: Remove.
7536 * benchtests/slowatan.c: Remove.
7537 * benchtests/slowcos-inputs: Remove.
7538 * benchtests/slowcos.c: Remove.
7539 * benchtests/slowexp-inputs: Remove.
7540 * benchtests/slowexp.c: Remove.
7541 * benchtests/slowpow-inputs: Remove.
7542 * benchtests/slowpow.c: Remove.
7543 * benchtests/slowsin-inputs: Remove.
7544 * benchtests/slowsin.c: Remove.
7545 * benchtests/slowtan-inputs: Remove.
7546 * benchtests/slowtan.c: Remove.
7547 * benchtests/tan-inputs: Add slow benchmark inputs.
7548 * scripts/bench.pl: Parse comments and directives.
7549
d569c6ee
SP
7550 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7551 in CPPFLAGS.
7552 ($(objpfx)bench-%.c): Remove *-ITER.
7553 * benchtests/bench-modf.c: Remove definition of ITER.
7554 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7555 (main): Loop for DURATION seconds instead of fixed number of
7556 iterations.
7557 * scripts/bench.pl: Don't expect iterations in parameters.
7558
a6a242fe
RM
75592013-04-29 Roland McGrath <roland@hack.frob.com>
7560
7561 * io/fchdir.c (__fchdir): Renamed from fchdir.
7562 (fchdir): Define as weak alias.
7563
f2da7793
JM
75642013-04-29 Joseph Myers <joseph@codesourcery.com>
7565
7566 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7567 (ERRNO_EDOM): Likewise.
7568 (ERRNO_ERANGE): Likewise.
7569 (noErrnoTests): New variable.
7570 (init_max_error): Set errno to 0.
7571 (test_single_errno): New function.
7572 (test_errno): Likewise.
7573 (check_float_internal): Call test_errno. Set errno to 0.
7574 (check_complex): Refer to errno tests in comment.
7575 (check_int): Call test_errno. Set errno to 0.
7576 (check_long): Likewise.
7577 (check_bool): Likewise.
7578 (check_longlong): Likewise.
7579 (cos_test): Use ERRNO_* flags for errno tests instead of
7580 check_int.
7581 (expm1_test): Likewise.
7582 (fmod_test): Likewise.
7583 (ilogb_test): Likewise.
7584 (lgamma_test): Likewise.
7585 (pow_test): Likewise.
7586 (remainder_test): Likewise.
7587 (sin_test): Likewise.
7588 (tan_test): Likewise.
7589 (yn_test): Likewise.
7590 (initialize): Set errno to 0.
7591 (main): Print number of errno tests.
7592 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7593
b1a36ceb
AJ
75942013-04-29 Andreas Jaeger <aj@suse.de>
7595
c3ed8088
AJ
7596 [BZ #15084]
7597 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7598 and RES_USEVC.
7599
f1a24198
AJ
7600 [BZ #15085]
7601 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7602 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7603 unimplemented.
7604
9ce3b2cb
AJ
7605 [BZ #15380]
7606 * stdlib/random.c (__initstate): Return NULL if
7607 __initstate fails.
7608
f1a24198 7609 [BZ #15086]
b1a36ceb
AJ
7610 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7611 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7612 RES_SNGLKUPREOP.
7613
7e7b6f36
AZ
76142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7615
7616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7617
4d14f449
JM
76182013-04-29 Joseph Myers <joseph@codesourcery.com>
7619
7620 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7621 of individual tests.
7622 (casin_test): Likewise.
7623 (casinh_test): Likewise.
7624
5b4217d7
JM
76252013-04-27 Joseph Myers <joseph@codesourcery.com>
7626
7627 [BZ #15409]
7628 * math/s_catan.c (__catan): Handle arguments with large real or
7629 imaginary part separately without squaring.
7630 * math/s_catanf.c (__catanf): Likewise.
7631 * math/s_catanh.c (__catanh): Likewise.
7632 * math/s_catanhf.c (__catanhf): Likewise.
7633 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7634 and redefine.
7635 (__catanhl): Handle arguments with large real or imaginary part
7636 separately without squaring.
7637 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7638 and redefine.
7639 (__catanl): Handle arguments with large real or imaginary part
7640 separately without squaring.
7641 * math/libm-test.inc (catan_test): Add more tests.
7642 (catanh_test): Likewise.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645
4220c3ef
AJ
76462013-04-27 Andreas Jaeger <aj@suse.de>
7647
7648 [BZ #15007]
7649 * stdlib/stdlib.h: Update guards for qecvt.
7650 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7651 <stdlib.h>.
7652
4721b2d1
AM
76532013-04-27 Allan McRae <allan@archlinux.org>
7654
7655 * sysdeps/i386/fpu/libm-test-ulps: Update.
7656
f0302940
JM
76572013-04-26 Joseph Myers <joseph@codesourcery.com>
7658
9457fd95
JM
7659 [BZ #15406]
7660 * math/s_catan.c: Include <float.h>.
7661 (__catan): Ensure underflow exception occurs for underflowed
7662 result.
7663 * math/s_catanf.c: Include <float.h>.
7664 (__catanf): Ensure underflow exception occurs for underflowed
7665 result.
7666 * math/s_catanh.c: Include <float.h>.
7667 (__catanh): Ensure underflow exception occurs for underflowed
7668 result.
7669 * math/s_catanhf.c: Include <float.h>.
7670 (__catanhf): Ensure underflow exception occurs for underflowed
7671 result.
7672 * math/s_catanhl.c: Include <float.h>.
7673 (__catanhl): Ensure underflow exception occurs for underflowed
7674 result.
7675 * math/s_catanl.c: Include <float.h>.
7676 (__catanl): Ensure underflow exception occurs for underflowed
7677 result.
7678 * math/libm-test.inc (catan_test): Add more tests.
7679 (catanh_test): Likewise.
7680
f0302940
JM
7681 [BZ #15405]
7682 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7683 underflowed result.
7684 * math/s_ccoshf.c (__ccoshf): Likewise.
7685 * math/s_ccoshl.c (__ccoshl): Likewise.
7686 * math/s_csin.c (__csin): Likewise.
7687 * math/s_csinf.c (__csinf): Likewise.
7688 * math/s_csinh.c (__csinh): Likewise.
7689 * math/s_csinhf.c (__csinhf): Likewise.
7690 * math/s_csinhl.c (__csinhl): Likewise.
7691 * math/s_csinl.c (__csinl): Likewise.
7692 * math/libm-test.inc (ccos_test): Add more tests.
7693 (ccosh_test): Likewise.
7694 (csin_test): Likewise.
7695 (csinh_test): Likewise.
7696
aa630f59
AZ
76972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7698
7699 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7700 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7701 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7702 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7703 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7704 powerpc/power5+/fpu folders.
7705 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7706
7707
1b835983
MT
77082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7709
7710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7711
73709b26
JM
77122013-04-25 Joseph Myers <joseph@codesourcery.com>
7713
7714 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7715 additions to variable.
7716 [$(config-machine) = x86_64] (modules-names): Likewise.
7717 ($(objpfx)tst-audit3): Remove dependency.
7718 ($(objpfx)tst-audit3.out): Likewise.
7719 ($(objpfx)tst-audit4): Likewise.
7720 ($(objpfx)tst-audit4.out): Likewise.
7721 ($(objpfx)tst-audit5): Likewise.
7722 ($(objpfx)tst-audit5.out): Likewise.
7723 ($(objpfx)tst-audit6): Likewise.
7724 ($(objpfx)tst-audit6.out): Likewise.
7725 ($(objpfx)tst-audit7): Likewise.
7726 ($(objpfx)tst-audit7.out): Likewise.
7727 (tst-audit3-ENV): Remove variable.
7728 (tst-audit4-ENV): Likewise.
7729 (tst-audit5-ENV): Likewise.
7730 (tst-audit6-ENV): Likewise.
7731 (tst-audit7-ENV): Likewise.
7732 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7733 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7734 addition to variable.
7735 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7736 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7737 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7738 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7739 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7740 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7741 tst-audit3, tst-audit4 and tst-audit5.
7742 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7743 tst-audit6 and tst-audit7.
7744 [$(subdir) = elf] (modules-names): Add audit modules for those
7745 tests.
7746 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7747 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7748 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7749 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7750 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7751 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7752 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7753 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7754 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7755 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7756 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7757 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7758 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7759 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7760 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7761 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7762 Likewise.
7763 [$(subdir) = elf && $(config-cflags-avx) = yes]
7764 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7765 [$(subdir) = elf && $(config-cflags-avx) = yes]
7766 (CFLAGS-tst-auditmod4a.c): Likewise.
7767 [$(subdir) = elf && $(config-cflags-avx) = yes]
7768 (CFLAGS-tst-auditmod4b.c): Likewise.
7769 [$(subdir) = elf && $(config-cflags-avx) = yes]
7770 (CFLAGS-tst-auditmod6b.c): Likewise.
7771 [$(subdir) = elf && $(config-cflags-avx) = yes]
7772 (CFLAGS-tst-auditmod6c.c): Likewise.
7773 [$(subdir) = elf && $(config-cflags-avx) = yes]
7774 (CFLAGS-tst-auditmod7b.c): Likewise.
7775 * elf/tst-audit3.c: Move to ...
7776 * sysdeps/x86_64/tst-audit3.c: ... here.
7777 * elf/tst-audit4.c: Move to ...
7778 * sysdeps/x86_64/tst-audit4.c: ... here.
7779 * elf/tst-audit5.c: Move to ...
7780 * sysdeps/x86_64/tst-audit5.c: ... here.
7781 * elf/tst-audit6.c: Move to ...
7782 * sysdeps/x86_64/tst-audit6.c: ... here.
7783 * elf/tst-audit7.c: Move to ...
7784 * sysdeps/x86_64/tst-audit7.c: ... here.
7785 * elf/tst-auditmod3a.c: Move to ...
7786 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7787 * elf/tst-auditmod3b.c: Move to ...
7788 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7789 * elf/tst-auditmod4a.c: Move to ...
7790 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7791 * elf/tst-auditmod4b.c: Move to ...
7792 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7793 * elf/tst-auditmod5a.c: Move to ...
7794 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7795 * elf/tst-auditmod5b.c: Move to ...
7796 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7797 * elf/tst-auditmod6a.c: Move to ...
7798 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7799 * elf/tst-auditmod6b.c: Move to ...
7800 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7801 * elf/tst-auditmod6c.c: Move to ...
7802 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7803 * elf/tst-auditmod7a.c: Move to ...
7804 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7805 * elf/tst-auditmod7b.c: Move to ...
7806 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7807
1ef74943
PP
78082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7809
7810 [BZ #15366]
7811 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7812 define unconditionally.
7813 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7814 define unconditionally.
7815 (INT8_C, INT16_C, etc.): Likewise.
7816
93fd48c5
MR
78172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7818
ae9552cf
MR
7819 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7820 __ehdr_start with hidden visibility.
7821
93fd48c5
MR
7822 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7823
418601aa
CD
78242013-04-24 Carlos O'Donell <carlos@redhat.com>
7825
7826 * math/libm-test.inc (cos_test): Use accurate hex constants.
7827 (sincost_test): Likewise.
7828
2f38fbfe
JM
78292013-04-24 Joseph Myers <joseph@codesourcery.com>
7830
5e221800
JM
7831 * math/libm-test.inc (catan_test): Add more tests.
7832 (catanh_test): Likewise.
7833
77f143fd
JM
7834 * math/s_catanf.c (__catanf): Use suffixed floating-point
7835 constants.
7836 * math/s_catanhf.c (__catanhf): Likewise.
7837 * math/s_catanhl.c (__catanhl): Likewise.
7838 * math/s_catanl.c (__catanl): Likewise.
7839
2f38fbfe
JM
7840 [BZ #15394]
7841 * math/s_catan.c (__catan): Calculate imaginary part of result
7842 with log1p not log unless computing log of number close to 0.
7843 * math/s_catanf.c (__catanf): Likewise.
7844 * math/s_catanl.c (__catanl): Likewise.
7845 * math/s_catanh.c (__catanh): Calculate real part of result with
7846 log1p not log unless computing log of number close to 0.
7847 * math/s_catanhf.c (__catanhf): Likewise.
7848 * math/s_catanhl.c (__catanhl): Likewise.
7849 * math/libm-test.inc (catan_test): Add more tests.
7850 (catanh_test): Likewise.
7851 * sysdeps/i386/fpu/libm-test-ulps: Update.
7852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7853
45d69176
SP
78542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
7856 * benchtests/Makefile: Mention files in which fast and slow
7857 paths of math functions are implemented.
7858
87f51853
RM
78592013-04-23 Roland McGrath <roland@hack.frob.com>
7860
7861 * sysdeps/posix/timespec_get.c: New file.
7862
3c026539
AZ
78632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7864
7865 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7866 POWER.
7867 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7868 for POWER.
7869 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7870 powerpc/power5/fpu folders.
7871 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7872 * benchtests/Makefile: Add modf testcase.
7873 * benchtests/bench-modf.c: New file: Benchmark test for mo
7874
ff491d14
SP
78752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7876
7877 [BZ #14888]
7878 * time/Makefile (tests): Add tst-strptime-whitespace.
7879 * time/strptime_l.c (get_number): Use ISSPACE.
7880 (__strptime_internal): Likewise.
7881 * time/tst-strptime-whitespace.c: New test case.
7882
7ed3f4e8
AS
78832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7884
7885 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7886 member.
7887 (_nss_files_init): Set it here.
7888
5c95f7b6
HC
78892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7890
7891 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7892 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7893 unsigned.
7894
d34c9158
JBG
78952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7896
7897 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7898
2169712d
SP
78992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7900
7901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7902 size just once.
7903
29c5de99
DM
79042013-04-21 David S. Miller <davem@davemloft.net>
7905
7906 * po/ru.po: Update Russion translation from translation project.
7907
ccdad15d
AC
79082013-04-17 Adam Conrad <adconrad@0c3.net>
7909
7910 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7911 and setfsgid.
7912
0f122b8d
CD
79132013-04-17 Carlos O'Donell <carlos@redhat.com>
7914
5c5b07da 7915 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7916 * configure: Regenerate.
5c5b07da 7917 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7918 Add example to error message.
7919 * sysdeps/i386/configure: Regenerate.
7920
037714dd
SP
79212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7922
7923 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7924 slowtan.
7925 * benchtests/cos-inputs: New file.
7926 * benchtests/slowcos-inputs: New file.
7927 * benchtests/slowcos.c: New file.
7928 * benchtests/slowtan-inputs: New file.
7929 * benchtests/slowtan.c: New file.
7930 * benchtests/tan-inputs: New file.
7931
e913141d
RM
79322013-04-16 Roland McGrath <roland@hack.frob.com>
7933
7934 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7935 considered kosher.
7936
a2964074
SP
79372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7938
4856bcd2
SP
7939 * benchtests/Makefile: Include cppflags-iterator.mk to add
7940 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7941
a2964074
SP
7942 * Makefile.in (bench-clean): New target.
7943 * benchtests/Makefile (bench-clean): Likewise.
7944
9fbf9aca
DH
79452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7946
7947 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7948
207d1e2a
TS
79492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7950
7951 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7952
306dfba9
AS
79532013-04-15 Andreas Schwab <schwab@suse.de>
7954
7955 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7957 * nscd/pwdcache.c (cache_addpw): Likewise.
7958 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7959 more than recsize.
7960
206a6699
SP
79612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7962
7963 * benchtests/Makefile (bench): Write all output to
7964 bench-out.tmp together.
7965
0582f6b3
AS
79662013-04-15 Andreas Schwab <schwab@suse.de>
7967
7968 * nscd/nscd.c (main): Don't fork again after closing files.
7969
acb4325f
SP
79702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7971
5cb26d0a
SP
7972 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7973
acb4325f
SP
7974 * benchtests/Rules (bench-deps): Collect dependencies into a
7975 single variable. Add Makefile to dependencies.
7976 ($(objpfx)bench-%.c): Depend on bench-deps.
7977
47792506
RM
79782013-04-12 Roland McGrath <roland@hack.frob.com>
7979 Xavier Roche <roche+kml2@exalead.com>
7980
7981 [BZ #15361]
7982 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7983 just that it's a file descriptor.
7984 * manual/llio.texi (Synchronizing AIO Operations): Update description
7985 for EBADF error from aio_fsync.
7986
8fc1bee5
SP
79872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7988
7989 * Rules (bench): Move target definition...
7990 * benchtests/Makefile: ... here.
7991
aba5e333
CD
79922013-04-11 Carlos O'Donell <carlos@redhat.com>
7993
7994 * math/libm-test.inc (cos_test): Fix PI/2 test.
7995 (sincos_test): Likewise.
7996 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7997 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7998
273cdee8
AS
79992013-04-11 Andreas Schwab <schwab@suse.de>
8000
6ecec3b6
AS
8001 [BZ #13988]
8002 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8003 accept exponent character only when digits were seen.
8004 * stdio-common/Makefile (tests): Add bug26.
8005 * stdio-common/bug26.c: New file.
8006
273cdee8
AS
8007 [BZ #14293]
8008 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8009 non-freeable.
8010
8da491f5
SP
80112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8012
01dc6df9
SP
8013 * Makeconfig (rtld-prefix): Define built linker prefix.
8014 * Rules (run-bench): Use it.
8015 * math/Makefile (run-regen-ulps): Likewise.
8016
8da491f5
SP
8017 * Rules (bench): Remove eval.
8018
abe7f530
SP
80192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8020 Roland McGrath <roland@hack.frob.com>
8021 Ondrej Bilka <neleai@seznam.cz>
8022
8023 [BZ #15346]
8024 * time/getdate.c: Include ctype.h and alloca.h.
8025 (__getdate_r): Trim leading and trailing spaces of input.
8026 * time/tst-getdate.c (tests): Add tests with leading and
8027 trailing spaces.
8028
61c23e62
RM
80292013-04-08 Roland McGrath <roland@hack.frob.com>
8030
8031 [BZ #14280]
8032 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8033 when computing value.
8034
7208a313
CD
80352013-04-06 Carlos O'Donell <carlos@redhat.com>
8036
085b2d41
CD
8037 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8038 Use testrun.sh to run libm tests.
8039
7208a313
CD
8040 [BZ #15309]
8041 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8042
872c0acd
MM
80432013-04-06 Marko Myllynen <myllynen@redhat.com>
8044
8045 [BZ #15264]
8046 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8047
26510bdd
CD
80482013-04-06 Carlos O'Donell <carlos@redhat.com>
8049
8050 * Makefile.in (regen-ulps): New target.
8051 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8052 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8053 [ifneq (no,$(PERL)] (regen-ulps): New target.
8054 [ifeq (no,$(PERL)] (regen-ulps): New target.
8055 * math/libm-test.inc (ulps_file_name): Define.
8056 (output_dir): New variable.
8057 (options): Add "output-dir" option.
8058 (parse_opt): Handle 'o' case.
8059 (main): If output_dir is non-NULL use it as a prefix
8060 otherwise use "".
8061 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8062
a01f19c8
CD
80632013-04-06 Carlos O'Donell <carlos@redhat.com>
8064
8065 [BZ #10060, #10062]
8066 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8067 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8068 fail configure if __sync_val_compare_and_swap is not inlined.
8069 * sysdeps/i386/configure: Regenerate.
8070 * configure.in: Build for i686 when configured for i386.
8071 * configure: Regenerate.
8072 * README: Remove i386 reference.
8073
b7a329a5
CD
80742013-04-06 Carlos O'Donell <carlos@redhat.com>
8075
8076 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8078
bf0f50df
TS
80792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8080
ee091edf
TS
8081 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8082 (lmsnanval): New variables.
8083 (F): Add conversion tests.
8084 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8085 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8086
a8b792d6
TS
8087 * stdio-common/tstdiomisc.c (F): Properly collect individual
8088 tests' results.
8089
a1cbf437
TS
8090 [BZ #14686, #15336]
8091 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8092 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8093 Instead, use input NaN values or generate a qNaN by arithmetic
8094 operation. Also fix bugs to comply with the standard.
8095 * math/libm-test.inc (remainder_test): Add more tests.
8096
8b43a0c9
TS
8097 [BZ #15335, #15342]
8098 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8100 input NaN values or generate a qNaN by arithmetic operation.
8101
d91da4ce
TS
8102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8103 unreachable code.
8104
bf0f50df
TS
8105 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8106 definitions.
8107
05e166c8
JM
81082013-04-03 Joseph Myers <joseph@codesourcery.com>
8109
8110 [BZ #14478]
8111 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8112 underflowed result.
8113 * math/s_cexpf.c (__cexpf): Likewise.
8114 * math/s_cexpl.c (__cexpl): Likewise.
8115 * math/libm-test.inc (cexp_test): Add more tests.
8116
1cef1b19
AS
81172013-04-03 Andreas Schwab <schwab@suse.de>
8118
8119 [BZ #15330]
8120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8121 order arrays from heap if bigger than alloca cutoff.
8122
74d87055
TS
81232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8124
8125 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8126 (SNAN_TESTS_double): Refer to GCC PR56831.
8127 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8128 GCC PR56828.
8129
d755bba4
SP
81302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8131
90d5d5bb
SP
8132 * Rules (bench): Move bench.out after the run is complete.
8133
73e0cd5d
SP
8134 * Rules (bench): Echo currently running benchmark.
8135
64aabd4b
SP
8136 * benchtests/Makefile (bench): Add atan and slowatan.
8137 * benchtests/atan-inputs: New file.
8138 * benchtests/slowatan-inputs: New file.
8139 * benchtests/slowatan.c: New file.
8140
c871eccd
SP
8141 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8143 its value.
8144
d755bba4
SP
8145 [BZ #15305]
8146 * sysdeps/unix/sysv/linux/kernel-features.h
8147 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8148 __ASSUME_XFS_RESTRICTED_CHOWN.
8149 * sysdeps/unix/sysv/linux/pathconf.c
8150 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8151 Save and restore errno.
8152
52ce4860
JM
81532013-04-02 Joseph Myers <joseph@codesourcery.com>
8154
8155 [BZ #15327]
8156 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8157 arguments using __kernel_casinh.
8158 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8159 arguments using __kernel_casinhf.
8160 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8161 arguments using __kernel_casinhl.
8162 * math/libm-test.inc (cacosh_test): Add more tests.
8163 * sysdeps/i386/fpu/libm-test-ulps: Update.
8164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8165
81f311c2
SP
81662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8167
e7906a47
SP
8168 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8170
92e3664b
SP
8171 * bench/Makefile (bench): Add sin and slowsin.
8172 * benchtests/sin-inputs: New file.
8173 * benchtests/slowsin-inputs: New file.
8174 * benchtests/slowsin.c: New file.
8175
81f311c2
SP
8176 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8177 (bench): Add slowexp and slowpow.
8178 (exp-ITER): Increase iterations.
8179 (pow-ITER): Likewise.
8180 * benchtests/exp-inputs: Change input.
8181 * benchtests/pow-inputs: Likewise.
8182 * benchtests/slowexp-inputs: New file.
8183 * benchtests/slowexp.c: New file.
8184 * benchtests/slowpow-inputs: New file.
8185 * benchtests/slowpow.c: New file.
8186
ab0f1aa9
AZ
81872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
8189 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8190 instructions.
8191 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8192 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8193 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8194 * benchtests/Makefile: Add rint benchtest.
8195 * benchtests/rint-inputs: Input for rint benchtest.
8196
57267616
TS
81972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8198
8199 * Versions.def (libm): Add GLIBC_2.18.
8200 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8201 hidden libm prototypes.
8202 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8203 * math/Makefile (libm-calls): Add s_issignaling.
8204 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8205 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8206 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8207 declaration.
8208 * math/math.h [__USE_GNU] (issignaling): New macro.
8209 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8210 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8212 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8215 * manual/arith.texi (issignaling): New section.
8216 * manual/libm-err-tab.pl (@all_functions): Update comment.
8217 * math/gen-libm-test.pl (parse_args): Apply special handling for
8218 issignaling.
8219 * math/libm-test.inc (print_float, issignaling_test): New
8220 functions.
8221 (check_float_internal): Add issignaling checks.
8222 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8223 default definition.
8224 * sysdeps/powerpc/math-tests.h: New file.
8225 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8226 tests.
8227 * math/test-snan.c (TEST_FUNC): Likewise.
8228
6142896d
DM
82292013-03-30 David S. Miller <davem@davemloft.net>
8230
8231 * po/de.po: Update from translation team.
8232
ccc8cadf
JM
82332013-03-30 Joseph Myers <joseph@codesourcery.com>
8234
8235 [BZ #10357]
8236 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8237 imaginary part less than 1.0 and real part less than 0.5
8238 specially.
8239 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8240 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8241 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8242 (cacos_test): Add more tests.
8243 (casin_test): Likewise.
8244 (casinh_test): Likewise.
8245 * sysdeps/i386/fpu/libm-test-ulps: Update.
8246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8247
0f6a8d4b
SP
82482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8249
0d1029de
SP
8250 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8251 ONE with its value.
8252
c2d94018
SP
8253 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8254 (__pow_mp): Replace ONE and MONE with their values.
8255 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8257 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8258 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8259 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8260 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8261
27ec37f1
SP
8262 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8263
a64d7e0e
SP
8264 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8265 (__pow_mp): Replace ZERO and MZERO with their values.
8266 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8267 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8268 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8271 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8272 (__sqr): Likewise.
8273
d26dd3eb
SP
8274 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8275
0f6a8d4b
SP
8276 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8277
e57b0c61
RM
82782013-03-28 Roland McGrath <roland@hack.frob.com>
8279
8280 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8281 Declare with __attribute__ ((weak)).
8282 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8283 Call __call_tls_dtors only if it's not NULL.
8284
356b3480
RM
82852013-03-28 Roland McGrath <roland@hack.frob.com>
8286
288f7d79
RM
8287 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8288 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8289 magic __ehdr_start linker symbol if it's defined.
8290 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8291 them up here if it was already done.
8292
dc0a0263
RM
8293 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8294 (_dl_aux_init): Use const in cast when setting it.
8295 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8296 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8297 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8298
3d3436ae
RM
8299 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8300 Declare them here.
8301 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8302 * csu/libc-tls.c: Nor here.
8303 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8304
356b3480
RM
8305 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8306 (__libc_message): Never call vsyslog.
8307
b0f1246a
AM
83082013-03-28 Alan Modra <amodra@gmail.com>
8309
8310 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8311 Define as empty.
8312 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8313 Likewise.
8314
fbbe2b9a
AZ
83152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8316
8317 [BZ #15214]
8318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8319 underflow.
8320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8321
1728ab37
SP
83222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8323
7a86be6e
SP
8324 [BZ #15304]
8325 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8326 Don't add gid passed as argument.
8327
1728ab37
SP
8328 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8329
3a7182a1
JM
83302013-03-27 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #15307]
8333 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8334 imaginary part between 1.0 and 1.5 and real part less than 0.5
8335 specially.
8336 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8337 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8338 * math/libm-test.inc (cacos_test): Add more tests.
8339 (casin_test): Likewise.
8340 (casinh_test): Likewise.
8341 * sysdeps/i386/fpu/libm-test-ulps: Update.
8342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343
6f2e90e7
SP
83442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8345
5739f705
SP
8346 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8347 constants.
8348 (norm): Likewise.
8349 (denorm): Likewise.
8350 (__dbl_mp): Likewise.
8351 (add_magnitudes): Likewise.
8352 (sub_magnitudes): Likewise.
8353 (__add): Likewise.
8354 (__sub): Likewise.
8355 (__mul): Likewise.
8356 (__sqr): Likewise.
8357 (__inv): Likewise.
8358 (__dvd): Likewise.
8359
e375e83d
SP
8360 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8361 commented code.
8362 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8363 (__dubcos): Likewise.
8364 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8365 (__ieee754_acos): Likewise.
8366 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8367 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8368 (__exp1): Likewise.
8369 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8371 (log1): Likewise.
8372 (my_log2): Likewise.
8373 (checkint): Likewise.
8374 * sysdeps/ieee754/dbl-64/e_remainder.c
8375 (__ieee754_remainder): Likewise.
8376 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8378 (bsloww): Likewise.
8379 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8380
6f2e90e7
SP
8381 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8382 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8383 MANTISSA_STORE_T to store computations on mantissa. Use
8384 macros for rounding and division.
8385 (denorm): Likewise.
8386 (__dbl_mp): Likewise.
8387 (add_magnitudes): Likewise.
8388 (sub_magnitudes): Likewise.
8389 (__mul): Likewise.
8390 (__sqr): Likewise.
8391 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8392 powers of two in terms of TWOPOW macro.
8393 (mp_no): Make type of mantissa as MANTISSA_T.
8394 [!RADIXI]: Define RADIXI.
8395 [!TWO52]: Define TWO52.
8396 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8397
fce14d4e
AZ
83982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8399
8400 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8401 llroundl symbol when building for PPC32.
8402
9ad027fb
MW
84032013-03-24 Mark H Weaver <mhw@netris.org>
8404
8405 * manual/arith.texi (Normalization Functions): Fix prototypes for
8406 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8407
e42a38dd
AZ
84082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409
8410 [BZ #13889]
8411 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8412 high value to check if expl overflow.
8413 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8414 to check for underflow and overflow.
8415 * math/libm-test.inc: Add exp test.
8416
2e0fb521
DL
84172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8418
8419 [BZ #11120]
8420 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8421 with NOT_IN_libc.
8422
b5784d95
AZ
84232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8424
8425 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8426 symbol.
8427
5aa4a1a1
TS
84282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8429
bdef0be7
TS
8430 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8431 wrap blocks consisting of several statements.
8432
5aa4a1a1
TS
8433 * sysdeps/generic/math-tests.h: New file.
8434 * sysdeps/i386/fpu/math-tests.h: Likewise.
8435 * math/test-snan.c: Include it.
8436 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8437
98c48fe5
JM
84382013-03-21 Joseph Myers <joseph@codesourcery.com>
8439
8440 [BZ #15285]
8441 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8442 (__ieee754_j0l): Do not improve calculations using cos of twice
8443 input for inputs above LDBL_MAX / 2.0L.
8444 (__ieee754_y0l): Likewise.
8445 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8446 (__ieee754_j1l): Do not improve calculations using cos of twice
8447 input for inputs above LDBL_MAX / 2.0L.
8448 (__ieee754_y1l): Likewise.
8449 * math/libm-test.inc (j0_test): Add another test.
8450 (j1_test): Likewise.
8451 (y0_test): Likewise.
8452 (y1_test): Likewise.
8453 * sysdeps/i386/fpu/libm-test-ulps: Update.
8454
3775a8bc
SP
84552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8456
8457 * Rules ($(objpfx)bench-%.c): Include code from a C source
8458 file.
8459
0a1b2ae6
JM
84602013-03-21 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #15287]
8463 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8464 imaginary part 1.0 and real part less than 0.5 specially.
8465 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8466 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8467 * math/libm-test.inc (cacos_test): Add more tests.
8468 (casin_test): Likewise.
8469 (casinh_test): Likewise.
8470 * sysdeps/i386/fpu/libm-test-ulps: Update.
8471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8472
b33d4ce4
SP
84732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8474
8475 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8476 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8477
bef0b507
JM
84782013-03-20 Joseph Myers <joseph@codesourcery.com>
8479
8480 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8481 * config.make.in (config-cflags-sse4): Remove variable.
8482 (config-cflags-avx): Likewise.
8483 (config-cflags-sse2avx): Likewise.
8484 (config-cflags-novzeroupper): Likewise.
8485 (config-asflags-i686): Likewise.
8486 (have-mfma4): Likewise.
8487 (have-as-vis3): Likewise.
8488 (MIG): Likewise.
8489 * configure.in (MIG): Do not AC_SUBST.
8490 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8491 (libc_cv_cc_sse4): Do not AC_SUBST.
8492 (libc_cv_cc_avx): Likewise.
8493 (libc_cv_cc_sse2avx): Likewise.
8494 (libc_cv_cc_novzeroupper): Likewise.
8495 (libc_cv_cc_fma4): Likewise.
8496 (libc_cv_as_i686): Likewise.
8497 (libc_cv_sparc_as_vis3): Likewise.
8498 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8499 LIBC_CONFIG_VAR.
8500 (config-asflags-i686): Likewise.
8501 (config-cflags-avx): Likewise.
8502 (config-cflags-sse2avx): Likewise.
8503 (have-mfma4): Likewise.
8504 (config-cflags-novzeroupper): Likewise.
8505 * sysdeps/mach/configure.in (MIG): Likewise.
8506 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8507 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8508 LIBC_CONFIG_VAR.
8509 (config-cflags-avx): Likewise.
8510 (config-cflags-sse2avx): Likewise.
8511 (have-mfma4): Likewise.
8512 (config-cflags-novzeroupper): Likewise.
8513 * configure: Regenerated.
8514 * sysdeps/i386/configure: Likewise.
8515 * sysdeps/mach/configure: Likewise.
8516 * sysdeps/sparc/configure: Likewise.
8517 * sysdeps/x86_64/configure: Likewise.
8518
912cc4b3
RM
85192013-03-20 Roland McGrath <roland@hack.frob.com>
8520
8521 [BZ #14812]
8522 * locale/programs/localedef.c (options): Put N_ translation marker
8523 on argument names, not just descriptions.
8524
04eed2b0
MS
85252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8526
8527 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8528
a065ceff
OB
85292013-03-20 Ondřej Bílka <neleai@seznam.cz>
8530
9bb2a810 8531 [BZ #14176]
a065ceff
OB
8532 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8533
a600e5ce
RM
85342013-03-19 Roland McGrath <roland@hack.frob.com>
8535
8536 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8537 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8538 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8539 [!BEFORE_ABORT] (before_abort): New function.
8540 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8541 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8542 (writev_for_fatal): New function.
8543 (WRITEV_FOR_FATAL): New macro; call that.
8544 (backtrace_and_maps): New function.
8545 (BEFORE_ABORT): New macro; call that.
8546 (struct str_list): Type removed.
8547 (__libc_message, __libc_fatal): Functions removed.
8548 Include <sysdeps/posix/libc_fatal.c> instead.
8549
6b18bea6
JM
85502013-03-19 Joseph Myers <joseph@codesourcery.com>
8551
8552 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8553 constants.
8554 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8555 double constants.
8556
aaa8cb4b
AS
85572013-03-19 Andreas Schwab <schwab@suse.de>
8558
44673770
AS
8559 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8560 * sysdeps/gnu/configure: Regenerate.
8561
aaa8cb4b
AS
8562 * configure.in: Substitute libc_cv_rtlddir.
8563 * configure: Regenerate.
8564 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8565 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8566 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8567 * elf/Makefile (install-others, CFLAGS-interp.c)
8568 (ldso_install, common-ldd-rewrite): Likewise.
8569 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8570 $(inst_slibdir)/$(rtld-installed-name).
8571 * scripts/rellns-sh: Add -p option.
8572 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8573 for source.
8574
d3cfc668
SP
85752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8576
8577 * manual/nptl.texi: Renamed to ...
8578 * manual/threads.texi: ... this.
8579 * manual/Makefile (chapters): Update.
8580
0e2b9cdd
RM
85812013-03-18 Roland McGrath <roland@hack.frob.com>
8582
8583 [BZ #14812]
8584 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8585 on argument names, not just descriptions.
0e2b9cdd
RM
8586 * malloc/memusagestat.c (options): Likewise.
8587 * nss/getent.c (options): Likewise.
63270c24
RM
8588
85892013-03-18 Benno Schulenberg <bensberg@justemail.net>
8590
8591 [BZ #14812]
8592 * iconv/iconv_prog.c (options): Put N_ translation marker
8593 on argument names, not just descriptions.
8594 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8595
b2e1393c
OB
85962013-03-18 Ondrej Bilka <neleai@seznam.cz>
8597
8598 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8599 implementation which is faster on all x86_64 architectures.
8600 Tested on AMD, Intel Nehalem, SNB, IVB.
8601 * sysdeps/x86_64/strnlen.S: Likewise.
8602
8603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8604 Remove all multiarch strlen and strnlen versions.
8605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8606 Remove strlen and strnlen related parts.
8607
8608 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8609 Inline strlen part.
8610 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8611
8612 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8613 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8614 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8615 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8616 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8617 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8618
ec4ff04d
CD
86192013-03-17 Carlos O'Donell <carlos@redhat.com>
8620
8621 * manual/memory.texi (Malloc Tunable Parameters):
8622 Sort parameters alphabetically. Add comments for missing entries.
8623
cd18e90a
DM
86242013-03-17 David S. Miller <davem@davemloft.net>
8625
8626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8627
2a185d32
JM
86282013-03-16 Joseph Myers <joseph@codesourcery.com>
8629
d2f9799e
JM
8630 [BZ #15283]
8631 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8632 for arguments at most half maximum finite value.
8633 * math/libm-test.inc (j0_test): Add more tests.
8634 (j1_test): Likewise.
8635 (y0_test): Likewise.
8636 (y1_test): Likewise.
8637 * sysdeps/i386/fpu/libm-test-ulps: Update.
8638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8639
2a185d32
JM
8640 [BZ #14155]
8641 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8642 1 / x and functions P and Q for arguments above 0x1p256L.
8643 (__ieee754_y0l): Likewise.
8644 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8645 (__ieee754_y1l): Likewise.
8646 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8647 (j1_test): Likewise.
8648 (y0_test): Likewise.
8649 (y1_test): Likewise.
8650
6cbec759
TS
86512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8652
8653 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8654 variable.
8655
bc16e260
RM
86562013-03-15 Roland McGrath <roland@hack.frob.com>
8657
aefc9b8c
RM
8658 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8659 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8660 zero since it's initialized to EXEC_PAGESIZE.
8661
bc16e260
RM
8662 * sysdeps/unix/sysv/linux/ldsodefs.h
8663 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8664 * sysdeps/generic/ldsodefs.h: ... here.
8665
a57da955
TS
86662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8667
af00a34d
TS
8668 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8669
495ded2c
TS
8670 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8671 math/test-snan.c.
8672 * math/test-snan.c: Renamed from
8673 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8674 * math/Makefile (tests): Add test-snan.
8675 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8676 test-powerpc-snan.
8677
777b0332
TS
8678 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8679 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8680 functions.
8681 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8682 __builtin_nan family of functions.
8683 * math/libm-test.inc (initialize): Initialize qnan_value with
8684 __builtin_nan family of functions.
8685 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8686 Remove variables.
8687 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8688 Remove functions.
8689 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8690 storage class. Initialize qNaN_var and sNaN_var with
8691 __builtin_nan and __builtin_nans families of functions,
8692 respectively.
8693
64d063b8
TS
8694 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8695 (sqrt_test): Remove duplicate test with qNaN input.
8696 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8697 (round_test, signbit_test, significand_test): Note missing +/-Inf
8698 as well as qNaN tests.
8699
67e971f1
TS
8700 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8701 qNaN_var. Fix a few strings, too.
8702 * math/libm-test.inc (nan_value): Rename to qnan_value.
8703 * math/gen-libm-test.pl (%beautify): Adjust to that.
8704 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8705 * math/test-misc.c (main): Likewise.
8706 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8707 to __qnan_bytes, and __qnan_union, respectively.
8708 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8709 Likewise.
8710 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8711 and lqnanval, respectively.
8712 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8713 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8714 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8715 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8716
64487e12
TS
8717 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8718 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8719 doubles.
8720
e015e27b
TS
8721 * math/test-misc.c (main): Fix copy'n'pastos.
8722 * misc/tst-efgcvt.c (special): Likewise.
8723
a57da955
TS
8724 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8725 Remove declarations.
8726
1e380345
SP
87272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
8729 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8730 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8731 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8732 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8733
ef26eece
AZ
87342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8735
8736 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8737 macro to return vdso values correctly in IFUNC implementations.
8738 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8739 Optimization by using IFUNC.
8740
8cfdb7e0
SP
87412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8742 Richard Henderson <rth@redhat.com>
8743 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8744
8745 * Makefile.in (bench): New target.
8746 * NEWS: Mention the benchmark framework.
8747 * Rules (bench): Likewise.
8748 (binaries-bench): Generate binaries for functions to
8749 benchmark.
8750 * benchtests/Makefile: New makefile for benchmark tests.
8751 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8752 programs.
8753 * benchtests/exp-inputs: New input file for EXP function.
8754 * benchtests/pow-inputs: New input file for POW function.
8755 * scripts/bench.pl: New script to generate source files for
8756 benchmark programs.
8757
bcda9880
SP
87582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8759
d22ca8cd
SP
8760 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8761 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8762 computations on mantissa. Use macros for rounding and
8763 division.
8764 (denorm): Likewise.
8765 (__dbl_mp): Likewise.
8766 (add_magnitudes): Likewise.
8767 (sub_magnitudes): Likewise.
8768 (__mul): Likewise.
8769 (__sqr): Likewise.
8770 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8771 powers of two in terms of TWOPOW macro.
8772 (mp_no): Make type of mantissa as MANTISSA_T.
8773 [!RADIXI]: Define RADIXI.
8774 [!TWO52]: Define TWO52.
8775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8776
bcda9880
SP
8777 * manual/nptl.texi (cindex): Modify threads to pthreads.
8778
06d5adfb
JM
87792013-03-15 Joseph Myers <joseph@codesourcery.com>
8780
8781 * sysdeps/x86_64/preconfigure: Regenerated.
8782
41c7328e
JM
87832013-03-14 Joseph Myers <joseph@codesourcery.com>
8784
8785 [BZ #14155]
8786 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8787 0x1p28 and above.
8788 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8789 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8790 0x1p28 and above.
8791 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8792 * math/libm-test.inc (j0_test): Do not allow one spurious
8793 underflow exception.
8794 (y1_test): Likewise.
8795
e25cfa60
SP
87962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8797
0409959c
SP
8798 * manual/Makefile (chapters): Add nptl.
8799 * manual/debug.texi (Debugging Support): Add link to Threads
8800 chapter.
8801 * manual/nptl.texi: New file.
8802
e25cfa60
SP
8803 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8804
58a1335e
PB
88052013-03-14 Petr Baudis <pasky@ucw.cz>
8806
8807 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8808 for non-NULL pointer before the memory validity test. Pointed
8809 out by Holger Brunck <holger.brunck@keymile.com>.
8810
9dc7c64f
AS
88112013-03-13 Andreas Schwab <schwab@suse.de>
8812
8813 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8814 instead of .os.
8815
54206aa6
JM
88162013-03-13 Joseph Myers <joseph@codesourcery.com>
8817
8818 * timezone/zic.c: Update from tzcode 2013b.
8819
e98cdb38
CD
88202013-03-12 Carlos O'Donell <carlos@redhat.com>
8821
8822 * manual/install.texi (Configuring and compiling):
8823 Mention i686 and i586.
8824 * INSTALL: Regenerate.
8825
9967e003
RM
88262013-03-12 Roland McGrath <roland@hack.frob.com>
8827
8828 * sysdeps/init_array/elf-init.c: New file.
8829 * csu/elf-init.c
8830 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8831 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8832
8833 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8834 __gmon_start__ as global, but as static with a .preinit_array pointer.
8835 * sysdeps/init_array/gmon-start.c: New file. Use that.
8836 * sysdeps/init_array/crti.S: New file, empty except for comments.
8837 * sysdeps/init_array/crtn.S: Likewise.
8838
e6b5a293 88392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8840
8841 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8842 definining bcopy.
80f844c9
OB
8843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8844 Remove Prefer_SSE_for_memop.
8845 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8846 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8847 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8849 memset-x86-64.
80f844c9 8850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8851 Remove bzero, memset ifunc support.
80f844c9
OB
8852 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8853 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8854 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8855 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8856
fb6b0fcb
AS
88572013-03-11 Andreas Schwab <schwab@suse.de>
8858
8859 [BZ #15234]
8860 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8861 by SHLIB_COMPAT.
8862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8863 (GLIBC_2.16): Remove pthread_atfork.
8864
3e6bd4b1
PP
88652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8866
8867 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8868 (ptestcases.h): Likewise.
8869
222d7f00
RM
88702013-03-08 Roland McGrath <roland@hack.frob.com>
8871
8872 * Makeconfig ($(common-objpfx)config.status): Depend on
8873 sysdeps/*/preconfigure{,.in} too.
8874
1ba4f030
JM
88752013-03-08 Joseph Myers <joseph@codesourcery.com>
8876
a222d91a
JM
8877 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8878 (__free_hook): Use void * instead of __malloc_ptr_t.
8879 (__malloc_hook): Likewise.
8880 (__realloc_hook): Likewise.
8881 (__memalign_hook): Likewise.
8882 (__after_morecore_hook): Likewise.
8883 * malloc/arena.c (save_malloc_hook): Likewise.
8884 (save_free_hook): Likewise.
8885 * malloc/hooks.c (malloc_hook_ini): Likewise.
8886 (realloc_hook_ini): Likewise.
8887 (memalign_hook_ini): Likewise.
8888 * malloc/malloc.c (malloc_hook_ini): Likewise.
8889 (realloc_hook_ini): Likewise.
8890 (memalign_hook_ini): Likewise.
8891 (__free_hook): Likewise.
8892 (__malloc_hook): Likewise.
8893 (__realloc_hook): Likewise.
8894 (__memalign_hook): Likewise.
8895 (__libc_malloc): Likewise.
8896 (__libc_free): Likewise.
8897 (__libc_realloc): Likewise.
8898 (__libc_memalign): Likewise.
8899 (__libc_valloc): Likewise.
8900 (__libc_pvalloc): Likewise.
8901 (__libc_calloc): Likewise.
8902 (__posix_memalign): Likewise.
8903 * malloc/morecore.c (__sbrk): Likewise.
8904 (__default_morecore): Likewise.
8905
5cc45e10
JM
8906 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8907
dd54b864
JM
8908 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8909 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8910 __malloc_ptrdiff_t.
8911
1ba4f030
JM
8912 * malloc/malloc.h (__malloc_size_t): Remove macro.
8913 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8914 __malloc_size_t.
8915 (old_memalign_hook): Likewise.
8916 (old_realloc_hook): Likewise.
8917 (struct hdr): Likewise.
8918 (flood): Likewise.
8919 (mallochook): Likewise.
8920 (memalignhook): Likewise.
8921 (reallochook): Likewise.
8922 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8923 (tr_old_realloc_hook): Likewise.
8924 (tr_old_memalign_hook): Likewise.
8925 (tr_mallochook): Likewise.
8926 (tr_reallochook): Likewise.
8927 (tr_memalignhook): Likewise.
8928
edf66e57
AZ
89292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8930
8931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8932 default_ldbl_pack and using as default implementation.
8933 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8934 implementation.
8935 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8936 redundant definition.
8937 (ldbl_insert_mantissa): Likewise.
8938 (ldbl_canonicalize): Likewise.
8939 (ldbl_nearbyint): Likewise.
8940 (ldbl_pack): Rename to ldbl_pack_ppc.
8941 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8942 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8943 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8944
6d9145d8
SP
89452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8946
8947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8948 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8949 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8950 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8952 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8953 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8954 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8955
4dd4e157
AJ
89562013-03-07 Andreas Jaeger <aj@suse.de>
8957
8958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8959 bits/mman-linux.h.
8960
adbb8027
SP
89612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8962
ce544b5b
SP
8963 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8964 Include mpa.h and declare __MPEXP.
8965 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8966 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8967 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8968 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8969 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8970 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8971 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8972
4cc149fd
SP
8973 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8974 (__slowpow): Use long double EXPL and LOGL functions to
8975 compute POW.
8976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8977 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8978 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8980 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8981 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8982
e6ebd4a7
SP
8983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8984 intermediate variable to calculate exponent.
8985 (__sqr): Likewise.
8986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8987 Likewise.
8988 (__sqr): Likewise.
8989
82a9811d
SP
8990 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8991 [!NO__SQR]: Define __sqr.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8993 and NO__SQR. Remove all code except __mul and __sqr. Include
8994 sysdeps/ieee754/dbl-64/mpa.c.
8995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8996
adbb8027
SP
8997 [BZ #12723]
8998 * posix/Makefile (tests): Add tst-pathconf.
8999 * posix/tst-pathconf.c: New test case.
9000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9001 _PC_PIPE_BUF.
9002 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9003
39120df9
PF
90042013-03-06 Patsy Franklin <pfrankli@redhat.com>
9005
9006 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9007
67525cb8
AJ
90082013-03-06 Andreas Jaeger <aj@suse.de>
9009
664a9ce4
AJ
9010 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9011 definition via __MAP_ANONYMOUS.
9012
8e39047d
AJ
9013 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9014 it's not part of Linux headers.
9015
67525cb8
AJ
9016 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9017 (MAP_HUGE_MASK): Define.
9018
9019 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9020 Define.
9021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9023 Define.
9024 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9025 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9026 Define.
9027 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9029 Define.
9030 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9031
9032 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9033 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9034 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9035 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9036 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9037 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9038
9039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9040 Handle f2fs.
9041
9042 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9043 Handle f2fs and efivarfs.
9044
9045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9046 f2fs.
9047
9048 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9049 (EFIVARFS_MAGIC): Add.
9050 (F2FS_LINK_MAX): Add.
9051
e1b42695
PP
90522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9053
9054 * stdio-common/vfprintf.c: Replace __builtin_expect with
9055 __glibc_unlikely.
9056
2d67d91a
JM
90572013-03-06 Joseph Myers <joseph@codesourcery.com>
9058
9059 [BZ #13550]
9060 * sysdeps/generic/bp-sym.h: Remove file.
9061 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9062 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9063 <bp-sym.h> and <bp-asm.h>.
9064 (__longjmp): Don't use BP_SYM.
9065 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9066 and <bp-asm.h>.
9067 (memcpy): Don't use BP_SYM.
9068 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9069 <bp-sym.h> and <bp-asm.h>.
9070 (memcpy): Don't use BP_SYM.
9071 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9072 <bp-asm.h>.
9073 (memcpy): Don't use BP_SYM.
9074 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9075 <bp-asm.h>.
9076 (memset): Don't use BP_SYM.
9077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9079 (__bzero): Don't use BP_SYM.
9080 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9081 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9083 <bp-sym.h> and <bp-asm.h>.
9084 (memcmp): Don't use BP_SYM. Remove comment about bounded
9085 pointers.
9086 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9087 <bp-sym.h> and <bp-asm.h>.
9088 (memcpy): Don't use BP_SYM.
9089 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9090 <bp-sym.h> and <bp-asm.h>.
9091 (memset): Don't use BP_SYM.
9092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9094 (__bzero): Don't use BP_SYM.
9095 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9096 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9098 <bp-sym.h> and <bp-asm.h>.
9099 (strncmp): Don't use BP_SYM. Remove comment about bounded
9100 pointers.
9101 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9102 <bp-sym.h> and <bp-asm.h>.
9103 (memcpy): Don't use BP_SYM.
9104 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9105 <bp-sym.h> and <bp-asm.h>.
9106 (memset): Don't use BP_SYM.
9107 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9108 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9109 (__bzero): Don't use BP_SYM.
9110 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9111 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9112 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9113 <bp-sym.h> and <bp-asm.h>.
9114 (__memchr): Don't use BP_SYM.
9115 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9116 <bp-sym.h> and <bp-asm.h>.
9117 (memcmp): Don't use BP_SYM. Remove comment about bounded
9118 pointers.
9119 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9120 <bp-sym.h> and <bp-asm.h>.
9121 (memcpy): Don't use BP_SYM.
9122 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9123 <bp-sym.h> and <bp-asm.h>.
9124 (__mempcpy): Don't use BP_SYM.
9125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9126 <bp-sym.h> and <bp-asm.h>.
9127 (__memrchr): Don't use BP_SYM.
9128 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9129 <bp-sym.h> and <bp-asm.h>.
9130 (memset): Don't use BP_SYM.
9131 (__bzero): Likewise.
9132 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9133 <bp-sym.h> and <bp-asm.h>.
9134 (__rawmemchr): Don't use BP_SYM.
9135 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9136 <bp-sym.h> and <bp-asm.h>.
9137 (__STRCMP): Don't use BP_SYM.
9138 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9139 <bp-sym.h> and <bp-asm.h>.
9140 (strchr): Don't use BP_SYM.
9141 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9142 <bp-sym.h> and <bp-asm.h>.
9143 (__strchrnul): Don't use BP_SYM.
9144 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9145 <bp-sym.h> and <bp-asm.h>.
9146 (strlen): Don't use BP_SYM.
9147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9148 <bp-sym.h> and <bp-asm.h>.
9149 (strncmp): Don't use BP_SYM. Remove comment about bounded
9150 pointers.
9151 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9152 <bp-sym.h> and <bp-asm.h>.
9153 (__strnlen): Don't use BP_SYM.
9154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9155 <bp-sym.h> and <bp-asm.h>.
9156 (__GI__setjmp): Don't use BP_SYM.
9157 (_setjmp): Likewise.
9158 (__sigsetjmp): Likewise.
9159 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9160 (L(start_addresses)): Don't use BP_SYM.
9161 (_start): Likewise.
9162 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9163 <bp-asm.h>.
9164 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9165 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9166 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9167 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9168 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9169 <bp-asm.h>.
9170 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9171 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9172 about bounded pointers.
9173 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9174 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9175 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9176 <bp-asm.h>.
9177 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9178 about bounded pointers. Remove GKM FIXME comments.
9179 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9180 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9181 <bp-asm.h>.
9182 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9183 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9184 Remove GKM FIXME comments.
9185 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9186 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9187 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9188 <bp-asm.h>.
9189 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9190 about bounded pointers. Remove GKM FIXME comment.
9191 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9192 and <bp-asm.h>.
9193 (strncmp): Don't use BP_SYM. Remove comment about bounded
9194 pointers.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9196 <bp-sym.h> and <bp-asm.h>.
9197 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9199 <bp-sym.h> and <bp-asm.h>.
9200 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9201 comment.
9202
cdcf361f
PP
92032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9204
9205 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9206 call free(NULL).
9207
3c4a2b15
DM
92082013-03-05 David S. Miller <davem@davemloft.net>
9209
9210 * po/es.po: Update from translation team.
9211
cdcf361f 92122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9213
9214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9215 <bits/mman-linux.h>.
9216 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9217 is fine.
9218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9219 <bits/mman-linux.h> to end of file.
9220 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9221 is fine.
9222 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9223 <bits/mman-linux.h> to end of file.
9224 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9225 is fine.
9226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9227 <bits/mman-linux.h> to end of file.
9228
9229 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9230 (MCL_CURRENT, MCL_FUTURE): Define here.
9231
5f67c04f
AK
92322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9233
8a4473cc 9234 [BZ #15232]
5f67c04f
AK
9235 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9236 attribute_hidden.
9237 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9238
c3e94a95
AK
92392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9240
9241 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9242 fourth parameter needed for rt_sigprocmask syscall.
9243 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9244 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9246 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9247 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9248 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9249
cfb6382a
JM
92502013-03-04 Joseph Myers <joseph@codesourcery.com>
9251
9252 [BZ #13550]
9253 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9254 comment about bounded pointers.
9255 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9256 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9257
539d8e01
AJ
92582013-03-04 Andreas Jaeger <aj@suse.de>
9259
9260 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9261 common definitions.
9262
9263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9264 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9266 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9269
2e167a70 92702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9271
9272 [BZ #15055]
9273 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9274 __ieee754_sqrl instead of __sqrl.
9275
68508633
JM
92762013-03-01 Joseph Myers <joseph@codesourcery.com>
9277
9278 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9279 * sysdeps/powerpc/fpu_control.h: ... here.
9280 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9281 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9282 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9283 * sysdeps/powerpc/bits/mathinline.h: ... here.
9284
7775448e
RM
92852013-03-01 Roland McGrath <roland@hack.frob.com>
9286
9287 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9288 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9289 to just [NEED_DL_SYSINFO_DSO].
9290 * elf/dl-support.c: Likewise.
9291 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9292 * elf/rtld.c (dl_main): Likewise.
9293 * elf/setup-vdso.h (setup_vdso): Likewise.
9294 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9295 * sysdeps/unix/sysv/linux/dl-sysdep.c
9296 (_dl_discover_osversion): Likewise.
9297
4e9b5995
CD
92982013-03-01 Carlos O'Donell <carlos@redhat.com>
9299
9300 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9301 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9302
e23872c8
SP
93032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9304
e5c74c63
SP
9305 * NEWS: Mention libm performance improvements and non-x86 PI
9306 futex support.
9307
e23872c8
SP
9308 * csu/libc-start.c (__pthread_initialize_minimal): Change
9309 function arguments.
9310 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9311
b5510883
JM
93122013-02-28 Joseph Myers <joseph@codesourcery.com>
9313
9314 [BZ #13550]
9315 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9316 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9317 <bp-sym.h> and <bp-asm.h>.
9318 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9320 and <bp-asm.h>.
9321 (memcpy): Don't use BP_SYM.
9322 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9323 <bp-asm.h>.
9324 (__mpn_add_n): Don't use BP_SYM.
9325 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9326 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9327 and <bp-asm.h>.
9328 (__mpn_addmul_1): Don't use BP_SYM.
9329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9330 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9331 <bp-sym.h>.
9332 (_setjmp): Don't use BP_SYM.
9333 (__novmx_setjmp): Likewise.
9334 (__GI__setjmp): Likewise.
9335 (__vmx_setjmp): Likewise.
9336 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9337 <bp-sym.h>.
9338 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9339 (__bzero): Don't use BP_SYM.
9340 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9341 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9342 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9343 <bp-sym.h> and <bp-asm.h>.
9344 (memcpy): Don't use BP_SYM.
9345 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9346 <bp-sym.h> and <bp-asm.h>.
9347 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9349 <bp-sym.h> and <bp-asm.h>.
9350 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9351 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9352 <bp-asm.h>.
9353 (__mpn_lshift): Don't use BP_SYM.
9354 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9355 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9356 <bp-asm.h>.
9357 (memset): Don't use BP_SYM.
9358 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9359 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9360 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9361 <bp-asm.h>.
9362 (__mpn_mul_1): Don't use BP_SYM.
9363 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9365 <bp-sym.h> and <bp-asm.h>.
9366 (memcmp): Don't use BP_SYM.
9367 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9368 <bp-sym.h> and <bp-asm.h>.
9369 (memcpy): Don't use BP_SYM.
9370 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9371 <bp-sym.h> and <bp-asm.h>.
9372 (memset): Don't use BP_SYM.
9373 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9374 <bp-sym.h> and <bp-asm.h>.
9375 (strncmp): Don't use BP_SYM.
9376 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9377 <bp-sym.h> and <bp-asm.h>.
9378 (memcpy): Don't use BP_SYM.
9379 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9380 <bp-sym.h> and <bp-asm.h>.
9381 (memset): Don't use BP_SYM.
9382 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (__memchr): Don't use BP_SYM.
9385 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9386 <bp-sym.h> and <bp-asm.h>.
9387 (memcmp): Don't use BP_SYM.
9388 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9389 <bp-sym.h> and <bp-asm.h>.
9390 (memcpy): Don't use BP_SYM.
9391 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9392 <bp-sym.h> and <bp-asm.h>.
9393 (__mempcpy): Don't use BP_SYM.
9394 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9395 <bp-sym.h> and <bp-asm.h>.
9396 (__memrchr): Don't use BP_SYM.
9397 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9398 <bp-sym.h> and <bp-asm.h>.
9399 (memset): Don't use BP_SYM.
9400 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9401 <bp-sym.h> and <bp-asm.h>.
9402 (__rawmemchr): Don't use BP_SYM.
9403 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9404 <bp-sym.h> and <bp-asm.h>.
9405 (__STRCMP): Don't use BP_SYM.
9406 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9407 <bp-sym.h> and <bp-asm.h>.
9408 (strchr): Don't use BP_SYM.
9409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9410 <bp-sym.h> and <bp-asm.h>.
9411 (__strchrnul): Don't use BP_SYM.
9412 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9413 <bp-sym.h> and <bp-asm.h>.
9414 (strlen): Don't use BP_SYM.
9415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9416 <bp-sym.h> and <bp-asm.h>.
9417 (strncmp): Don't use BP_SYM.
9418 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9419 <bp-sym.h> and <bp-asm.h>.
9420 (__strnlen): Don't use BP_SYM.
9421 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9422 <bp-asm.h>.
9423 (__mpn_rshift): Don't use BP_SYM.
9424 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9425 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9426 <bp-sym.h> and <bp-asm.h>.
9427 (__sigsetjmp): Don't use BP_SYM.
9428 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9429 (L(start_addresses)): Don't use BP_SYM.
9430 (_start): Likewise.
9431 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9432 <bp-asm.h>.
9433 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9434 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9435 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9436 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9437 <bp-asm.h>.
9438 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9439 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9441 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9442 <bp-asm.h>.
9443 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9444 comments.
9445 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9446 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9447 <bp-asm.h>.
9448 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9449 FIXME comments.
9450 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9451 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9452 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9453 <bp-asm.h>.
9454 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9455 comment.
9456 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9457 and <bp-asm.h>.
9458 (strncmp): Don't use BP_SYM,
9459 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9460 <bp-asm.h>.
9461 (__mpn_sub_n): Don't use BP_SYM.
9462 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9463 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9464 and <bp-asm.h>.
9465 (__mpn_submul_1): Don't use BP_SYM.
9466 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9468 <bp-sym.h> and <bp-asm.h>.
9469 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9471 <bp-sym.h> and <bp-asm.h>.
9472 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9473 comment.
9474
8d19fe64
SP
94752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9476
9477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9478 Use ZK to minimize writes to Z.
9479 (sub_magnitudes): Simplify code a bit.
9480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9481 Use ZK to minimize writes to Z.
9482 (sub_magnitudes): Simplify code a bit.
9483
85bd816a
RM
94842013-02-27 Roland McGrath <roland@hack.frob.com>
9485
9486 * csu/gmon-start.c: Add special exception to license text.
9487
b5977bf2
RH
94882013-02-27 Richard Henderson <rth@redhat.com>
9489
9490 * scripts/config.guess: Update from config.git.
9491 * scripts/config.sub: Likewise.
9492
11d6e2f2
SP
94932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9494
09c14ed2
SP
9495 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9496
a688864e
SP
9497 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9498
6295157a
SP
9499 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9500
b8de2202
SP
9501 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9502
11d6e2f2
SP
9503 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9504
7e80ddb8
RM
95052013-02-26 Roland McGrath <roland@hack.frob.com>
9506
9507 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9508 [$(build-shared = yes].
7e80ddb8 9509
7da6d9ed
SP
95102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9511
45f05884
SP
9512 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9513 (__mul): Reduce iterations for calculating mantissa.
9514
2236d359
SP
9515 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9516 MPTWO.
9517 (__mpranred): Likewise.
9518
7da6d9ed
SP
9519 [BZ #15160]
9520 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9521 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9522
b7688c42
PE
95232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9524
9525 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9526 Define __attribute__.
9527
53a5c423
SP
95282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9529
9530 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9531 unused.
9532 * posix/regex_internal.h (__attribute): Remove.
9533 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9534 (re_string_context_at): Likewise.
9535 (bitset_not): Use __attribute__ and mark function as possibly
9536 unused.
9537 (bitset_merge): Likewise.
9538 (bitset_mask): Likewise.
9539 (re_string_char_size_at): Likewise.
9540 (re_string_wchar_at): Likewise.
9541 (re_string_elem_size_at): Likewise.
9542
60f5a8b5
SP
95432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9544
2a983a2e
SP
9545 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9546 code.
9547 (cc32): Likewise.
9548
e69804d1
SP
9549 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9550 (__acr): Likewise.
9551 (__cpy): Likewise.
9552 (norm): Likewise.
9553 (denorm): Likewise.
9554 (__dbl_mp): Likewise.
9555 (add_magnitudes): Likewise.
9556 (sub_magnitudes): Likewise.
9557 (__mul): Likewise.
9558 (__inv): Likewise.
9559
2f22a1e8
SP
9560 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9561 style.
9562
8930ddc7
SP
9563 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9564 style.
9565
dc60cb11
SP
9566 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9567 code.
9568
60f5a8b5
SP
9569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9570 up changes with default code.
9571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9572 Likewise.
9573
b4d1fd33
AM
95742013-02-24 Allan McRae <allan@archlinux.org>
9575
faf6f8bc
AM
9576 * manual/socket.texi (The Internet Namespace): Order menu items
9577 to match that in the file.
9578
b4d1fd33
AM
9579 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9580 node listing of the info page menu.
9581
2366713d
JM
95822013-02-21 Joseph Myers <joseph@codesourcery.com>
9583
9584 [BZ #13550]
9585 * sysdeps/i386/bp-asm.h: Remove file.
9586 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9587 (PARMS): Do not use macros from bp-asm.h.
9588 (S1): Likewise.
9589 (S2): Likewise.
9590 (SIZE): Likewise.
9591 (__mpn_add_n): Do not use BP_SYM
9592 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9593 "bp-asm.h".
9594 (PARMS): Do not use macros from bp-asm.h.
9595 (S1): Likewise.
9596 (SIZE): Likewise.
9597 (__mpn_addmul_1): Do not use BP_SYM
9598 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9599 "bp-asm.h".
9600 (PARMS): Do not use macros from bp-asm.h.
9601 (SIGMSK): Likewise.
9602 (_setjmp): Likewise. Do not use BP_SYM.
9603 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9604 "bp-asm.h".
9605 (PARMS): Do not use macros from bp-asm.h.
9606 (SIGMSK): Likewise.
9607 (setjmp): Likewise. Do not use BP_SYM.
9608 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9609 "bp-asm.h".
9610 (PARMS): Do not use macros from bp-asm.h.
9611 (__frexp): Do not use BP_SYM.
9612 (frexp): Likewise.
9613 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9614 "bp-asm.h".
9615 (PARMS): Do not use macros from bp-asm.h.
9616 (__frexpf): Do not use BP_SYM.
9617 (frexpf): Likewise.
9618 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9619 "bp-asm.h".
9620 (PARMS): Do not use macros from bp-asm.h.
9621 (__frexpl): Do not use BP_SYM.
9622 (frexpl): Likewise.
9623 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9624 "bp-asm.h".
9625 (PARMS): Do not use macros from bp-asm.h.
9626 (__remquo): Do not use BP_SYM.
9627 (remquo): Likewise.
9628 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9629 "bp-asm.h".
9630 (PARMS): Do not use macros from bp-asm.h.
9631 (__remquof): Do not use BP_SYM.
9632 (remquof): Likewise.
9633 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9634 "bp-asm.h".
9635 (PARMS): Do not use macros from bp-asm.h.
9636 (__remquol): Do not use BP_SYM.
9637 (remquol): Likewise.
9638 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9639 "bp-asm.h".
9640 (PARMS): Do not use macros from bp-asm.h.
9641 (DEST): Likewise.
9642 (SRC): Likewise.
9643 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9644 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9645 "bp-asm.h".
9646 (PARMS): Do not use macros from bp-asm.h.
9647 (strlen): Do not use BP_SYM.
9648 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9649 "bp-asm.h".
9650 (PARMS): Do not use macros from bp-asm.h.
9651 (S1): Likewise.
9652 (S2): Likewise.
9653 (SIZE): Likewise.
9654 (__mpn_add_n): Do not use BP_SYM.
9655 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9656 "bp-asm.h".
9657 (PARMS): Do not use macros from bp-asm.h.
9658 (S1): Likewise.
9659 (SIZE): Likewise.
9660 (__mpn_addmul_1): Do not use BP_SYM.
9661 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9662 weak_alias.
9663 (bzero): Likewise.
9664 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9665 "bp-asm.h".
9666 (PARMS): Do not use macros from bp-asm.h.
9667 (S): Likewise.
9668 (SIZE): Likewise.
9669 (__mpn_lshift): Do not use BP_SYM.
9670 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9671 "bp-asm.h".
9672 (PARMS): Do not use macros from bp-asm.h.
9673 (DEST): Likewise.
9674 (SRC): Likewise.
9675 (LEN): Likewise.
9676 (memcpy): Likewise. Do not use BP_SYM.
9677 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9678 libc_hidden_def and weak_alias.
9679 (mempcpy): Do not use BP_SYM in weak_alias.
9680 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9681 "bp-asm.h".
9682 (PARMS): Do not use macros from bp-asm.h.
9683 (DEST): Likewise.
9684 (LEN): Likewise.
9685 [!BZERO_P] (CHR): Likewise.
9686 (memset): Likewise. Do not use BP_SYM.
9687 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9688 "bp-asm.h".
9689 (PARMS): Do not use macros from bp-asm.h.
9690 (S1): Likewise.
9691 (SIZE): Likewise.
9692 (__mpn_mul_1): Do not use BP_SYM.
9693 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9694 "bp-asm.h".
9695 (PARMS): Do not use macros from bp-asm.h.
9696 (S): Likewise.
9697 (SIZE): Likewise.
9698 (__mpn_rshift): Do not use BP_SYM.
9699 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9700 "bp-asm.h".
9701 (PARMS): Do not use macros from bp-asm.h.
9702 (STR): Likewise.
9703 (CHR): Likewise.
9704 (strchr): Likewise. Do not use BP_SYM.
9705 (index): Do not use BP_SYM in weak_alias.
9706 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9707 "bp-asm.h".
9708 (PARMS): Do not use macros from bp-asm.h.
9709 (DEST): Likewise.
9710 (SRC): Likewise.
9711 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9712 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9713 "bp-asm.h".
9714 (PARMS): Do not use macros from bp-asm.h.
9715 (strlen): Do not use BP_SYM.
9716 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9717 "bp-asm.h".
9718 (PARMS): Do not use macros from bp-asm.h.
9719 (S1): Likewise.
9720 (S2): Likewise.
9721 (SIZE): Likewise.
9722 (__mpn_sub_n): Do not use BP_SYM.
9723 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9724 "bp-asm.h".
9725 (PARMS): Do not use macros from bp-asm.h.
9726 (S1): Likewise.
9727 (SIZE): Likewise.
9728 (__mpn_submul_1): Do not use BP_SYM.
9729 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9730 "bp-asm.h".
9731 (PARMS): Do not use macros from bp-asm.h.
9732 (S1): Likewise.
9733 (S2): Likewise.
9734 (SIZE): Likewise.
9735 (__mpn_add_n): Do not use BP_SYM.
9736 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9737 weak_alias.
9738 (bzero): Likewise.
9739 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9740 "bp-asm.h".
9741 (PARMS): Do not use macros from bp-asm.h.
9742 (BLK2): Likewise.
9743 (LEN): Likewise.
9744 (memcmp): Do not use BP_SYM.
9745 (bcmp): Do not use BP_SYM in weak_alias.
9746 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9747 "bp-asm.h".
9748 (PARMS): Do not use macros from bp-asm.h.
9749 (DEST): Likewise.
9750 (SRC): Likewise.
9751 (LEN): Likewise.
9752 (memcpy): Likewise. Do not use BP_SYM.
9753 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9754 "bp-asm.h".
9755 (PARMS): Do not use macros from bp-asm.h.
9756 (DEST): Likewise.
9757 (SRC): Likewise.
9758 (LEN): Likewise.
9759 (memmove): Likewise. Do not use BP_SYM.
9760 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9761 "bp-asm.h".
9762 (PARMS): Do not use macros from bp-asm.h.
9763 (DEST): Likewise.
9764 (SRC): Likewise.
9765 (LEN): Likewise.
9766 (__mempcpy): Likewise. Do not use BP_SYM.
9767 (mempcpy): Do not use BP_SYM in weak_alias.
9768 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9769 "bp-asm.h".
9770 (PARMS): Do not use macros from bp-asm.h.
9771 (DEST): Likewise.
9772 (LEN): Likewise.
9773 [!BZERO_P] (CHR): Likewise.
9774 (memset): Likewise. Do not use BP_SYM.
9775 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9776 "bp-asm.h".
9777 (PARMS): Do not use macros from bp-asm.h.
9778 (STR2): Likewise.
9779 (strcmp): Do not use BP_SYM.
9780 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9781 "bp-asm.h".
9782 (PARMS): Do not use macros from bp-asm.h.
9783 (STR): Likewise.
9784 (DELIM): Likewise.
9785 [USE_AS_STRTOK_R] (SAVE): Likewise.
9786 (FUNCTION): Likewise. Do not use BP_SYM.
9787 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9788 aliases.
9789 (strtok_r): Likewise.
9790 (__GI___strtok_r): Likewise.
9791 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9792 (PARMS): Do not use macros from bp-asm.h.
9793 (S): Likewise.
9794 (SIZE): Likewise.
9795 (__mpn_lshift): Do not use BP_SYM.
9796 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9797 (PARMS): Do not use macros from bp-asm.h.
9798 (STR): Likewise.
9799 (CHR): Likewise.
9800 (__memchr): Do not use BP_SYM.
9801 (memchr): Do not use BP_SYM in weak_alias.
9802 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9803 (PARMS): Do not use macros from bp-asm.h.
9804 (BLK2): Likewise.
9805 (LEN): Likewise.
9806 (memcmp): Do not use BP_SYM.
9807 (bcmp): Do not use BP_SYM in weak_alias.
9808 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9809 (PARMS): Do not use macros from bp-asm.h.
9810 (S1): Likewise.
9811 (SIZE): Likewise.
9812 (__mpn_mul_1): Do not use BP_SYM.
9813 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9814 "bp-asm.h".
9815 (PARMS): Do not use macros from bp-asm.h.
9816 (STR): Likewise.
9817 (CHR): Likewise.
9818 (__rawmemchr): Do not use BP_SYM.
9819 (rawmemchr): Do not use BP_SYM in weak_alias.
9820 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9821 (PARMS): Do not use macros from bp-asm.h.
9822 (S): Likewise.
9823 (SIZE): Likewise.
9824 (__mpn_rshift): Do not use BP_SYM.
9825 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9826 (PARMS): Do not use macros from bp-asm.h.
9827 (SIGMSK): Likewise.
9828 (__sigsetjmp): Likewise. Do not use BP_SYM.
9829 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9830 (_start): Do not use BP_SYM.
9831 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9832 (PARMS): Do not use macros from bp-asm.h.
9833 (DEST): Likewise.
9834 (SRC): Likewise.
9835 (__stpcpy): Likewise. Do not use BP_SYM.
9836 (stpcpy): Do not use BP_SYM in weak_alias.
9837 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9838 "bp-asm.h".
9839 (PARMS): Do not use macros from bp-asm.h.
9840 (DEST): Likewise.
9841 (SRC): Likewise.
9842 (LEN): Likewise.
9843 (__stpncpy): Likewise. Do not use BP_SYM.
9844 (stpncpy): Do not use BP_SYM in weak_alias.
9845 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9846 (PARMS): Do not use macros from bp-asm.h.
9847 (STR): Likewise.
9848 (CHR): Likewise.
9849 (strchr): Likewise. Do not use BP_SYM.
9850 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9851 "bp-asm.h".
9852 (PARMS): Do not use macros from bp-asm.h.
9853 (STR): Likewise.
9854 (CHR): Likewise.
9855 (__strchrnul): Likewise. Do not use BP_SYM.
9856 (strchrnul): Do not use BP_SYM in weak_alias.
9857 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9858 "bp-asm.h".
9859 (PARMS): Do not use macros from bp-asm.h.
9860 (STOP): Likewise.
9861 (strcspn): Do not use BP_SYM.
9862 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9863 "bp-asm.h".
9864 (PARMS): Do not use macros from bp-asm.h.
9865 (STR): Likewise.
9866 (STOP): Likewise.
9867 (strpbrk): Likewise. Do not use BP_SYM.
9868 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9869 "bp-asm.h".
9870 (PARMS): Do not use macros from bp-asm.h.
9871 (STR): Likewise.
9872 (CHR): Likewise.
9873 (strrchr): Likewise. Do not use BP_SYM.
9874 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9875 (PARMS): Do not use macros from bp-asm.h.
9876 (SKIP): Likewise.
9877 (strspn): Do not use BP_SYM.
9878 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9879 (PARMS): Do not use macros from bp-asm.h.
9880 (STR): Likewise.
9881 (DELIM): Likewise.
9882 (SAVE): Likewise.
9883 (FUNCTION): Likewise. Do not use BP_SYM.
9884 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9885 aliases.
9886 (strtok_r): Likewise.
9887 (__GI___strtok_r): Likewise.
9888 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9889 (PARMS): Do not use macros from bp-asm.h.
9890 (S1): Likewise.
9891 (S2): Likewise.
9892 (SIZE): Likewise.
9893 (__mpn_sub_n): Do not use BP_SYM.
9894 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9895 "bp-asm.h".
9896 (PARMS): Do not use macros from bp-asm.h.
9897 (S1): Likewise.
9898 (SIZE): Likewise.
9899 (__mpn_submul_1): Do not use BP_SYM.
9900 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9901 <bp-sym.h>.
9902 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9903 and <bp-asm.h>.
9904 (PARMS): Do not use macros from bp-asm.h.
9905 (FLAGS): Likewise.
9906 (PTID): Likewise.
9907 (TLS): Likewise.
9908 (CTID): Likewise.
9909 (__clone): Do not use BP_SYM.
9910 (clone): Do not use BP_SYM in weak_alias.
9911 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9912 and <bp-asm.h>.
9913 (PARMS): Do not use macros from bp-asm.h.
9914 (LEN): Likewise.
9915 (__mmap64): Do not use BP_SYM.
9916 (mmap64): Do not use BP_SYM in weak_alias.
9917 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9918 <bp-sym.h> and <bp-asm.h>.
9919 (PARMS): Do not use macros from bp-asm.h.
9920 (__posix_fadvise64_l64): Do not use BP_SYM.
9921 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9922 (PARMS): Do not use macros from bp-asm.h.
9923 (NSOPS): Likewise.
9924 (semtimedop): Do not use BP_SYM.
9925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9926 and <bp-asm.h>.
9927
582a3cff
AM
99282013-02-21 Allan McRae <allan@archlinux.org>
9929
9930 * manual/message.texi (Charset conversion in gettext):
9931 Move @end statement to beginning of line.
9932
bab8a695
SP
99332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9934
80945231
SP
9935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9936 static.
9937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9938 Likewise.
9939
bab8a695
SP
9940 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9941 (denorm): Likewise.
9942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9944
e21d7aa7
AK
99452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9946
9947 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9948 tail-call to the resolved function if pltexit isn't needed.
9949
4c7a4263
SP
99502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9951
9952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9953 or Y being zero as being unlikely.
9954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9955 Likewise.
9956
41f49342
CD
99572013-02-20 Carlos O'Donell <carlos@redhat.com>
9958
9959 * manual/nss.texi (System Databases and Name Service Switch):
9960 Remove frobnicate @pxref.
9961
50022a93
TS
99622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9963
9964 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9965 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9966
08cbd996
PM
99672013-02-20 Petr Machata <pmachata@redhat.com>
9968
9969 * elf/elf.h (R_ARM_TARGET1): New macro.
9970 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9971 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9972 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9973 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9974 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9975 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9976 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9977 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9978 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9979 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9980 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9981 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9982 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9983 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9984 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9985 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9986 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9987 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9988 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9989 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9990 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9991 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9992 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9993 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9994 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9995 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9996 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9997 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9998 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9999 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10000 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10001 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10002 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10003 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10004 (R_ARM_THM_GOT_BREL12): Likewise.
10005 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10006 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10007 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10008 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10009 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10010 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10011 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10012 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10013 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10014
c7b275d6
TS
100152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10016
10017 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10018 __attribute_used__ to __attribute__ ((unused)).
10019
20cd7fb3
SP
100202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10021
10022 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10023 powerpc mpa.c.
10024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10025 comment formatting.
10026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10027
92945b52
JM
100282013-02-19 Joseph Myers <joseph@codesourcery.com>
10029
10030 [BZ #13550]
10031 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10032 Remove macro.
10033 (ENTER): Remove both macro definitions.
10034 (LEAVE): Likewise.
10035 (CHECK_BOUNDS_LOW): Likewise.
10036 (CHECK_BOUNDS_HIGH): Likewise.
10037 (CHECK_BOUNDS_BOTH): Likewise.
10038 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10039 (RETURN_BOUNDED_POINTER): Likewise.
10040 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10041 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10042 (POP_ERRNO_LOCATION_RETURN): Likewise.
10043 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10044 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10045 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10046 macros.
10047 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10048 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10049 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10050 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10051 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10052 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10053 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10054 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10055 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10056 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10057 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10058 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10059 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10060 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10061 removed macros.
10062 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10063 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10064 macros.
10065 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10066 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10067 * sysdeps/i386/i586/memset.S (memset): Likewise.
10068 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10069 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10070 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10071 macros.
10072 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10073 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10074 Change uses of L(2) to L(out).
10075 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10076 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10077 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10078 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10079 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10080 removed macros.
10081 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10082 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10083 macros.
10084 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10085 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10086 (RETURN): Do not use macro LEAVE.
10087 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10088 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10089 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10090 * sysdeps/i386/i686/memset.S (memset): Likewise.
10091 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10092 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10094 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10095 Likewise.
10096 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10097 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10098 L(1_2) and L(1_3) into L(1).
10099 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10100 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10101 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10102 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10103 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10104 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10105 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10107 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10108 macros.
10109 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10110 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10111 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10112 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10113 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10114 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10115 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10116 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10117 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10118 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10119 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10120 * sysdeps/i386/strspn.S (strspn): Likewise.
10121 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10122 conditional code.
10123 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10124 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10125 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10126 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10127 L(1_3) into L(1_1).
10128 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10129 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10130 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10131 macros.
10132 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10133
2389741a
JJ
101342013-02-19 Jakub Jelinek <jakub@redhat.com>
10135
10136 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10137 macro.
10138
2016b3cd
SP
101392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10140
e4f22324
SP
10141 * math/atest-exp.c (exp_mpn): Remove ROUND.
10142 * math/atest-exp2.c (exp_mpn): Likewise.
10143 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10144
2016b3cd
SP
10145 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10146 * stdlib/tst-tls-atexit-lib.c: Likewise.
10147 * stdlib/tst-tls-atexit.c: Likewise.
10148
4be9b544
MF
101492013-02-18 Mike Frysinger <vapier@gentoo.org>
10150
10151 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10152 and __attribute_alloc_size__.
10153
2f62b9ee
MF
101542013-02-18 Mike Frysinger <vapier@gentoo.org>
10155
10156 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10157 __attribute_alloc_size__.
10158 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10159 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10160
6ff444c4
MF
101612013-02-18 Mike Frysinger <vapier@gentoo.org>
10162
10163 * include/programs/xmalloc.h: New file.
10164 * catgets/gencat.c: Include it.
10165 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10166 * elf/pldd.c: Likewise.
10167 * iconv/iconv_charmap.c: Likewise.
10168 * iconv/iconvconfig.c: Likewise.
10169 * iconv/strtab.c: Likewise.
10170 * locale/programs/locale.c: Likewise.
10171 * locale/programs/localedef.h: Likewise.
10172 * locale/programs/simple-hash.c: Likewise.
10173 * nscd/nscd.h: Likewise.
10174 * nss/makedb.c: Likewise.
10175 * sysdeps/generic/ldconfig.h: Likewise.
10176
be179c8a
SP
101772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10178
ba384f6e
SP
10179 * Versions.def: Add GLIBC_2.18.
10180 * include/link.h (struct link_map): New member l_tls_dtor_count.
10181 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10182 (__call_tls_dtors): Likewise.
10183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10184 __cxa_thread_atexit_impl.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10186 Likewise.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10188 Likewise.
10189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10190 Likewise.
10191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10192 Likewise.
10193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10195 Likewise.
10196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10197 Likewise.
10198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10200 Likewise.
10201 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10202 (tests): Add test case tst-tls-atexit.
10203 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10204 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10205 (GLIBC_PRIVATE): Add __call_tls_dtors.
10206 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10207 for libstdc++.
10208 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10209 * stdlib/tst-tls-atexit.c: New test case.
10210 * stdlib/tst-tls-atexit-lib.c: New test case.
10211
ffaa74cf 10212 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10213
be179c8a
SP
10214 * elf/Versions (ld): Add _dl_find_dso_for_object.
10215 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10216 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10217 (dl_open_worker): Use _dl_find_dso_for_object.
10218 * elf/dl-sym.c (do_sym): Likewise.
10219 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10220
f78b5caa
AK
102212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10222
10223 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10224 Syntactic changes only.
10225 (_dl_runtime_profile): Do a tail-call to the resolved function.
10226
29691210
JM
102272013-02-17 Joseph Myers <joseph@codesourcery.com>
10228
10229 [BZ #13550]
10230 * sysdeps/x86_64/bp-asm.h: Remove file.
10231 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10232 <bp-sym.h> and <bp-asm.h>.
10233 (__clone): Do not use BP_SYM.
10234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10235 <bp-sym.h> and <bp-asm.h>.
10236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10237 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10238 "bp-asm.h".
10239 (_setjmp): Do not use BP_SYM.
10240 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10241 "bp-asm.h".
10242 (setjmp): Do not use BP_SYM.
10243 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10244 libc_hidden_def.
10245 (mempcpy): Do not use BP_SYM in weak_alias.
10246 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10247 "bp-asm.h".
10248 (strchr): Do not use BP_SYM.
10249 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10250 "bp-asm.h".
10251 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10252 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10253 (_start): Do not use BP_SYM.
10254 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10255 "bp-asm.h".
10256 (strcat): Do not use BP_SYM.
10257 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10258 "bp-asm.h".
10259 (STRCMP): Do not use BP_SYM.
10260 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10261 "bp-asm.h".
10262 (STRCPY): Do not use BP_SYM.
10263 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10264 "bp-asm.h".
10265 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10266 "bp-asm.h".
10267 (FUNCTION): Do not use BP_SYM.
10268 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10269 weak_alias.
10270 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10271
f238fd19
AJ
102722013-02-17 Andreas Jaeger <aj@suse.de>
10273
10274 * time/Versions: Sort entries.
10275 * string/Versions: Likewise.
10276 * resolv/Versions: Likewise.
10277 * posix/Versions: Likewise.
10278 * iconv/Versions: Likewise.
10279 * elf/Versions: Likewise.
10280 * wcsmbs/Versions: Likewise.
10281
bd07f23c 102822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10283
22af19f9
SP
10284 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10285 loop termination condition.
10286
4709fe76
SP
10287 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10288 variable to calculate EZ.
10289 (__sqr): Likewise.
2d0e0f29
SP
10290
10291 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10292 the lower precision input.
10293
daaa7713
JM
102942013-02-15 Joseph Myers <joseph@codesourcery.com>
10295
10296 [BZ #13550]
10297 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10298 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10299 (run-via-rtld-prefix): Do not handle %-bp tests.
10300 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10301 (all-object-suffixes): Remove .ob.
10302 (bppfx): Remove variable.
10303 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10304 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10305 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10306 [$(build-bounded) = yes] (libtype.ob): Likewise.
10307 * Makerules (elide-routines.ob): Remove variable.
10308 (do-tests-clean): Do not handle *-bp.out.
10309 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10310 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10311 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10312 (tests): Do not include $(tests-bp.out).
10313 (xtests): Do not include $(xtests-bp.out).
10314 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10315 [$(build-bounded) = yes] ($(addprefix
10316 $(objpfx),$(binaries-bounded))): Remove rule.
10317 ($(objpfx)%-bp.out): Remove rule.
10318 * config.make.in (build-bounded): Remove variable.
10319 * crypt/Makefile [$(build-bounded) = yes]
10320 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10321 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10322 append to variable.
10323 [$(build-bounded) = yes] (install-lib): Likewise.
10324 [$(build-bounded) = yes] (generated): Likewise.
10325 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10326 Remove rule.
10327 * intl/Makefile [$(build-bounded) = yes]
10328 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10329 * math/Makefile [$(build-bounded) = yes]
10330 ($(tests:%=$(objpfx)%-bp): Likewise.
10331 * misc/Makefile [$(build-bounded) = yes]
10332 ($(objpfx)tst-tsearch-bp): Likewise.
10333 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10334 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10335 Remove dependency.
10336 * string/Makefile (o-objects.ob): Remove variable.
10337 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10338 (CFLAGS-.ob): Remove variable.
10339 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10340 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10341 both definitions of variable.
10342 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10343 (ASFLAGS-.ob): Remove variable.
10344
e97ed6dd
JM
103452013-02-14 Joseph Myers <joseph@codesourcery.com>
10346
2bdd4ca6
JM
10347 [BZ #13550]
10348 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10349 Remove __BOUNDED_POINTERS__ from condition.
10350 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10351 * string/bits/string2.h [!__NO_STRING_INLINES &&
10352 !__BOUNDED_POINTERS__]: Likewise.
10353 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10354 Likewise.
10355 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10356 Remove conditional code.
10357 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10358 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10359 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10360 condition.
10361
e97ed6dd
JM
10362 [BZ #13550]
10363 * csu/libc-start.c: Do not include <bp-sym.h>.
10364 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10365 * elf/dl-open.c: Do not include <bp-sym.h>.
10366 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10367 * math/fegetenv.c: Do not include <bp-sym.h>.
10368 (fegetenv): Do not use BP_SYM in versioned symbols.
10369 * nptl/sysdeps/pthread/bits/libc-lockP.h
10370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10371 <bp-sym.h>.
10372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10373 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10375 (__pthread_mutex_destroy): Likewise.
10376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10377 (__pthread_mutex_lock): Likewise.
10378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10379 (__pthread_mutex_trylock): Likewise.
10380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10381 (__pthread_mutex_unlock): Likewise.
10382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10383 (__pthread_mutexattr_init): Likewise.
10384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10385 (__pthread_mutexattr_destroy): Likewise.
10386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10387 (__pthread_mutexattr_settype): Likewise.
10388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10389 (__pthread_rwlock_init): Likewise.
10390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10391 (__pthread_rwlock_destroy): Likewise.
10392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10393 (__pthread_rwlock_rdlock): Likewise.
10394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10395 (__pthread_rwlock_tryrdlock): Likewise.
10396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10397 (__pthread_rwlock_wrlock): Likewise.
10398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10399 (__pthread_rwlock_trywrlock): Likewise.
10400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10401 (__pthread_rwlock_unlock): Likewise.
10402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10403 (__pthread_key_create): Likewise.
10404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10405 (__pthread_setspecific): Likewise.
10406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10407 (__pthread_getspecific): Likewise.
10408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10409 Likewise.
10410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10411 (_pthread_cleanup_push_defer): Likewise.
10412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10413 (_pthread_cleanup_pop_restore): Likewise.
10414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10415 (pthread_setcancelstate): Likewise.
10416 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10417 <bp-sym.h>.
10418 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10419 (memchr): Do not use BP_SYM in weak_alias.
10420 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10421 (fegetenv): Do not use BP_SYM in versioned symbols.
10422 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10423 (fesetenv): Do not use BP_SYM in versioned symbols.
10424 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10425 (feupdateenv): Do not use BP_SYM in versioned symbols.
10426 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10427 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10428 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10429 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10430 (open64): Do not use BP_SYM in weak_alias.
10431 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10432 (fegetenv): Do not use BP_SYM in versioned symbols.
10433 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10434 (fesetenv): Do not use BP_SYM in versioned symbols.
10435 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10436 (feupdateenv): Do not use BP_SYM in versioned symbols.
10437 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10438 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10439 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10440 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10441 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10442 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10443 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10444 <bp-sym.h>.
10445 (__libc_start_main): Do not use BP_SYM.
10446
d6752ccd
SP
104472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10448
cb57ce60
SP
10449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10450 redundant return line.
10451 (norm): Likewise.
10452 (denorm): Likewise.
10453 (dbl_mp): Likewise.
10454 (sub_magnitudes): Likewise.
10455 (__add): Likewise.
10456 (__sub): Likewise.
10457 (__mul): Likewise.
10458 (__inv): Likewise.
10459 (__dvd): Likewise.
10460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10461 (norm): Likewise.
10462 (denorm): Likewise.
10463 (dbl_mp): Likewise.
10464 (sub_magnitudes): Likewise.
10465 (__add): Likewise.
10466 (__sub): Likewise.
10467 (__mul): Likewise.
10468 (__inv): Likewise.
10469 (__dvd): Likewise.
10470
f414520d
SP
10471 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10472 instead of __mul.
10473 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10474 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10475 (cc32): Likewise.
10476
d6752ccd
SP
10477 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10478 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10480 of __mul for squares.
10481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10482 function
10483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10484 Likewise.
10485 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10486 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10487
70d9946a
JM
104882013-02-13 Joseph Myers <joseph@codesourcery.com>
10489
10490 [BZ #13550]
10491 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10492 code.
10493 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10494 prototype or function definition. Rename ubp_* variables and
10495 parameters. Remove argv definitions conditional on
10496 [__BOUNDED_POINTERS__].
10497 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10498 * elf/dl-runtime.c (_dl_fixup): Likewise.
10499 * include/set-hooks.h (RUN_HOOK): Likewise.
10500 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10501 definition.
10502 * string/strcpy.c (strcpy): Do not use __unbounded.
10503 * sysdeps/generic/frame.h (struct layout): Likewise.
10504 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10505 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10506 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10507 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10508 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10509 (__backtrace): Likewise.
10510 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10511 use __ptrvalue.
10512 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10513 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10514 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10515 Likewise.
10516 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10517 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10518 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10519 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10520 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10521 Do not use __unbounded.
10522 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10523 Rename __unboundedrlimits parameter to rlimits in prototype.
10524 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10525 Do not use __unbounded.
10526 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10527 not use __ptrvalue.
10528 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10529 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10530 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10531 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10532 __ptrvalue or __unbounded.
10533 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10534 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10535 use __unbounded.
10536 (__new_msgctl): Do not use __ptrvalue.
10537 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10538 __unbounded.
10539 (__libc_msgrcv): Do not use __ptrvalue.
10540 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10541 startup_info): Do not use __unbounded.
10542 (__libc_start_main): Likewise. Rename ubp_* variables and
10543 parameters. Remove argv definitions conditional on
10544 [__BOUNDED_POINTERS__].
10545 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10546 __ptrvalue.
10547 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10548 use __unbounded.
10549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10550 or __ptrvalue.
10551 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10552 use __unbounded.
10553 (__new_shmctl): Do not use __ptrvalue.
10554 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10555 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10556 Likewise.
10557 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10559 (__libc_sigaction): Likewise.
10560 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10561 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10562 Likewise.
10563 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10564
cc7834d6
OB
105652013-02-13 Ondřej Bílka <neleai@seznam.cz>
10566
ffb1ec7b 10567 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10568
10569 * string/mempcpy.c: Implement by calling memcpy.
10570
bdf02814
SP
105712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10572
c2af38aa
SP
10573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10574
4e92d59e
SP
10575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10576 evaluation.
10577
909279a5
SP
10578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10579 values in the mantissa.
10580
bdf02814
SP
10581 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10582 minimize writes to Z.
10583 (sub_magnitudes): Simplify code a bit.
10584
cd525923
RM
105852013-02-12 Roland McGrath <roland@hack.frob.com>
10586
10587 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10588 from the message. The linker prefixes all warnings with that already.
10589
7e2f0d2d
AS
105902013-02-12 Andreas Schwab <schwab@suse.de>
10591
a445af0b
AS
10592 [BZ #15078]
10593 * posix/regexec.c (extend_buffers): Add parameter min_len.
10594 (check_matching): Pass minimum needed length.
10595 (clean_state_log_if_needed): Likewise.
10596 (get_subexp): Likewise.
10597 * posix/Makefile (tests): Add bug-regex34.
10598 (bug-regex34-ENV): Define.
10599 * posix/bug-regex34.c: New file.
10600
7e2f0d2d
AS
10601 [BZ #11561]
10602 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10603 elements compare against the byte sequence of it, not its name.
10604 * posix/Makefile (tests): Add bug-regex35.
10605 (bug-regex35-ENV): Define.
10606 * posix/bug-regex35.c: New file.
10607
a175b684
TV
106082013-02-11 Tom de Vries <tom@codesourcery.com>
10609
10610 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10611 comment.
10612 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10613 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10614 (CHECK_EOL): Add undef.
10615
310998fe 106162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10617
10618 * bits/stdlib-bsearch.h: New file.
10619 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10620 * stdlib/stdlib.h: Likewise.
41eda41d 10621
8ded91fb
RM
106222013-02-11 Roland McGrath <roland@hack.frob.com>
10623
10624 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10625 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10626 declaration.
10627 * manual/search.texi (Array Search Function): Add missing const in
10628 lfind prototype.
10629 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10630 declaration to use rlim_t.
10631 (Basic Scheduling Functions): Remove erroneous const from
10632 sched_getparam prototype. Remove erroneous * from
10633 sched_get_priority_max and sched_get_priority_min prototypes.
10634 (Resource Usage): Fix summary @comment on vtimes to refer to
10635 sys/vtimes.h rather than vtimes.h.
10636 Add missing *s in vtimes prototype.
10637 (Limits on Resources): Fix ulimit prototype to return long int.
10638 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10639 prototypes to use long int rather than double.
10640 (BSD Random): Fix initstate and setstate to use char *, not void *.
10641 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10642 prototype to make second argument 'struct aiocb64 *const[]'.
10643 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10644 (Status of AIO Operations): Remove erroneous const in aio_return and
10645 aio_return64 prototypes.
10646 (Synchronizing I/O): Fix sync prototype to return void.
10647 * manual/startup.texi (Suboptions): Remove an erroneous const in
10648 getsubopt prototype.
10649 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10650 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10651 use size_t rather than int.
10652 (Scanning All Users): Likewise for getpwent_r.
10653 (Setting Groups): Add missing const to setgroups prototype.
10654 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10655 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10656 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10657 'const void *' rather than 'const char *'.
10658 (Host Address Functions): Likewise for inet_ntop.
10659 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10660 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10661 ssize_t for return value.
10662 (Sending Data): Likewise for send, sendto, sendmsg.
10663 (Socket Option Functions): Add a missing const in setsockopt prototype.
10664 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10665 use wchar_t for the argument.
10666 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10667 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10668 take no arguments.
10669 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10670 double/float/long double for second argument.
10671 Fix return types of significand, significandf, significandl.
10672 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10673 argument in fchmod prototype.
10674 (File Owner): Use uid_t and gid_t in fchown prototype.
10675 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10676 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10677 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10678 use 'const struct dirent **' as argument types to CMP function pointer
10679 argument.
10680 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10681 (File Times): Fix summary magic @comment for struct utimbuf and utime
10682 to refer to utime.h, not time.h.
10683 * manual/string.texi (Argz Functions): Add missing const in
10684 argz_extract and argz_next prototypes.
10685 (Finding Tokens in a String): Likewise for basename.
10686 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10687 (Copying and Concatenation): Fix typo in wmemmove prototype.
10688 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10689 (Signal Stack): Remove erroneous const in sigstack prototype.
10690 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10691 prototype.
10692 (Simple Calendar Time): Likewise for stime.
10693 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10694 prototype.
10695 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10696 say sys/sysctl.h instead.
10697 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10698 and vsyslog prototypes.
10699
fe77fe6d
TV
107002013-02-11 Tom de Vries <tom@codesourcery.com>
10701
10702 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10703 Remove.
10704
3a09b620
RM
107052013-02-11 Roland McGrath <roland@hack.frob.com>
10706
10707 * misc/sys/mman.h: Fix typo in mremap comment.
10708
550a0b89
RM
107092013-02-08 Roland McGrath <roland@hack.frob.com>
10710
10711 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10712 the '\0' terminator.
10713
a2da1673
JM
107142013-02-08 Joseph Myers <joseph@codesourcery.com>
10715
10716 [BZ #13550]
10717 * debug/segfault.c: Don't include <bp-checks.h>.
10718 * sysdeps/generic/bp-checks.h: Remove file.
10719 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10720 (__GETDENTS): Don't use CHECK_N.
10721 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10722 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10723 (__getgroups): Don't use CHECK_N.
10724 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10725 (setgroups): Don't use CHECK_N.
10726 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10727 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10728 (__libc_msgrcv): Don't use CHECK_N.
10729 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10730 (__libc_msgsnd): Don't use CHECK_N.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10732 <bp-checks.h>.
10733 (__libc_pread): Don't use CHECK_N.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10735 include <bp-checks.h>.
10736 (__libc_pread64): Don't use CHECK_N.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10738 include <bp-checks.h>.
10739 (__libc_pwrite): Don't use CHECK_N.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10741 include <bp-checks.h>.
10742 (__libc_pwrite64): Don't use CHECK_N.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10744 <bp-checks.h>.
10745 (__libc_pread): Don't use CHECK_N.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10747 include <bp-checks.h>.
10748 (__libc_pread64): Don't use CHECK_N.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10750 include <bp-checks.h>.
10751 (__libc_pwrite): Don't use CHECK_N.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10753 include <bp-checks.h>.
10754 (__libc_pwrite64): Don't use CHECK_N.
10755 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10756 (do_pread): Don't use CHECK_N.
10757 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10758 (do_pread64): Don't use CHECK_N.
10759 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10760 (do_pwrite): Don't use CHECK_N.
10761 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10762 (do_pwrite64): Don't use CHECK_N.
10763 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10764 (__libc_readv): Don't use CHECK_N.
10765 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10766 (semop): Don't use CHECK_N.
10767 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10768 <bp-checks.h>.
10769 (semtimedop): Don't use CHECK_N.
10770 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10771 (__libc_pread): Don't use CHECK_N.
10772 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10773 <bp-checks.h>.
10774 (__libc_pread64): Don't use CHECK_N.
10775 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10776 <bp-checks.h>.
10777 (__libc_pwrite): Don't use CHECK_N.
10778 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10779 <bp-checks.h>.
10780 (__libc_pwrite64): Don't use CHECK_N.
10781 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10782 <bp-checks.h>.
10783 (__libc_msgrcv): Don't use CHECK_N.
10784 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10785 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10786 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10787 (__libc_writev): Don't use CHECK_N.
10788
b84660a8
RM
107892013-02-08 Roland McGrath <roland@hack.frob.com>
10790
7f3e75f8
RM
10791 * string/strcpy.c: Removed unused variable.
10792
b84660a8
RM
10793 * Makeconfig (+sysdep-includes): Define with := rather than =.
10794 Use an existing include/ subdir of each sysdeps dir before it.
10795
471514d3
CD
107962013-02-08 Carlos O'Donell <carlos@redhat.com>
10797
10798 * nscd/connection.c (register_traced_file): Comment function.
10799 [HAVE_INOTIFY] (union __inev): Define.
10800 [HAVE_INOTIFY] (inotify_check_files): New function.
10801 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10802 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10803 clear_db_cache.
10804 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10805
b2d3c3be
CD
108062013-02-08 Carlos O'Donell <carlos@redhat.com>
10807
10808 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10809 loaded if not already and that a failure is permanent.
10810
b39949d2
CD
108112013-02-08 Carlos O'Donell <carlos@redhat.com>
10812
ddacd1db 10813 [BZ #15006]
b39949d2
CD
10814 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10815 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10816
b2c9eff4
JM
108172013-02-08 Joseph Myers <joseph@codesourcery.com>
10818
f3aae3f3
JM
10819 [BZ #13550]
10820 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10821 (CHECK_1_NULL_OK): Likewise.
10822 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10823 (__fxstat): Do not use CHECK_1.
10824 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10825 <bp-checks.h>.
10826 (___fxstat64): Do not use CHECK_1.
10827 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10828 <bp-checks.h>.
10829 (__fxstatat): Do not use CHECK_1.
10830 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10831 <bp-checks.h>.
10832 (__fxstatat64): Do not use CHECK_1.
10833 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10834 <bp-checks.h>.
10835 (__fxstat): Do not use CHECK_1.
10836 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10837 <bp-checks.h>.
10838 (__fxstatat): Do not use CHECK_1.
10839 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10840 <bp-checks.h>.
10841 (__getresgid): Do not use CHECK_1.
10842 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10843 <bp-checks.h>.
10844 (__getresuid): Do not use CHECK_1.
10845 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10846 <bp-checks.h>.
10847 (__lxstat): Do not use CHECK_1.
10848 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10849 <bp-checks.h>.
10850 (__old_msgctl): Do not use CHECK_1.
10851 (__new_msgctl): Likewise.
10852 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10853 <bp-checks.h>.
10854 (__new_setrlimit): Do not use CHECK_1.
10855 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10856 <bp-checks.h>.
10857 (__old_shmctl): Do not use CHECK_1.
10858 (__new_shmctl): Likewise.
10859 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10860 <bp-checks.h>.
10861 (__xstat): Do not use CHECK_1.
10862 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10863 (__lxstat): Do not use CHECK_1.
10864 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10865 <bp-checks.h>.
10866 (___lxstat64): Do not use CHECK_1.
10867 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10868 (__old_msgctl): Do not use CHECK_1.
10869 (__new_msgctl): Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10871 <bp-checks.h>.
10872 (__gettimeofday): Do not use CHECK_1.
10873 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10874 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10876 <bp-checks.h>.
10877 (__gettimeofday): Do not use CHECK_1.
10878 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10879 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10880 (__new_shmctl): Do not use CHECK_1.
10881 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10882 <bp-checks.h>.
10883 (do_sigtimedwait): Do not use CHECK_1.
10884 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10885 <bp-checks.h>.
10886 (do_sigwaitinfo): Do not use CHECK_1.
10887 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10888 <bp-checks.h>.
10889 (msgctl): Do not use CHECK_1.
10890 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10891 <bp-checks.h>.
10892 (shmctl): Do not use CHECK_1.
10893 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10894 (ustat): Do not use CHECK_1.
10895 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10896 <bp-checks.h>.
10897 (__fxstat): Do not use CHECK_1.
10898 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10899 <bp-checks.h>.
10900 (__fxstatat): Do not use CHECK_1.
10901 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10902 <bp-checks.h>.
10903 (__lxstat): Do not use CHECK_1.
10904 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10905 <bp-checks.h>.
10906 (__xstat): Do not use CHECK_1.
10907 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10908 (__xstat): Do not use CHECK_1.
10909 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10910 (___xstat64): Do not use CHECK_1.
10911
b2c9eff4
JM
10912 [BZ #13550]
10913 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10914 definitions.
10915 (CHECK_BOUNDS_HIGH): Likewise.
10916 * string/strcpy.c: Do not include <bp-checks.h>.
10917 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10918
f1d70dad
RM
109192013-02-07 Roland McGrath <roland@hack.frob.com>
10920
10921 * nscd/nscd-client.h (__nscd_drop_map_ref):
10922 Add __attribute__ ((unused)).
10923 * nis/nss-nisplus.h (niserr2nss): Likewise.
10924
10925 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10926 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10927
10928 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10929 Remove inline keyword.
10930 * include/rounding-mode.h (round_away): Likewise.
10931 * libio/wfileops.c (adjust_wide_data): Likewise.
10932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10933 (__m128i_strloadu_tolower): Likewise.
10934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10935 (__m128i_strloadu_tolower): Likewise.
10936 * time/mktime.c (ydhms_diff): Likewise.
10937 * locale/elem-hash.h (elem_hash): Likewise.
10938 * locale/setlocale.c (setdata): Likewise.
10939 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10940 (re_string_wchar_at): Likewise.
10941 (bitset_not, bitset_merge, bitset_mask): Likewise.
10942 [!(__GNUC__ > 3)] (inline): Remove macro.
10943 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10944 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10945 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10946 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10947 * string/memcmp.c (memcmp_bytes): Likewise.
10948 * locale/programs/locarchive.c (compute_hashval): Likewise.
10949 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10950 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10951 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10952 * nss/getent.c (print_rpc, print_protocols): Likewise.
10953 (print_passwd, print_group, print_aliases): Likewise.
10954 * nis/nss-nisplus.h (niserr2nss): Likewise.
10955 * nscd/connections.c (restart_p): Likewise.
10956 Change return type to bool.
10957
eab55bfb
RM
109582013-02-05 Roland McGrath <roland@hack.frob.com>
10959
7bd642f5
RM
10960 * Makeconfig (all-Depend-files): Add existing
10961 $(sorted-subdirs:=/Depend) files.
10962 (all-subdirs): Remove nss.
10963 * sysdeps/unix/inet/Subdirs: Add it here instead.
10964 * hesiod/Depend: New file.
10965
573c29b2
RM
10966 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10967 instead of calling alloca.
10968
b2e25af0
RM
10969 * io/lseek.c (__lseek): Rename to __libc_lseek.
10970 Define __lseek as an alias.
10971
eab55bfb
RM
10972 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10973
9a0d1941
CD
109742013-02-04 Carlos O'Donell <carlos@redhat.com>
10975
10976 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10977 else clause and remove check for non-standard endianness.
10978
b83bbec4
DM
109792013-02-04 David S. Miller <davem@davemloft.net>
10980
10981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10982
6277fdab
JM
109832013-02-04 Joseph Myers <joseph@codesourcery.com>
10984
10985 [BZ #13550]
10986 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10987 (__ubp_memchr): Remove prototype.
10988 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10989 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10990 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10991 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10992 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10993 Remove alias.
10994 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10995 (__ubp_memchr): Likewise.
10996 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10997 (__ubp_memchr): Likewise.
10998 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10999 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11000 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11001 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11002 CHECK_STRING.
11003 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11004 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11005 (__getcwd): Do not use CHECK_STRING.
11006 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11007 <bp-checks.h>.
11008 (__real_chown): Do not use CHECK_STRING.
11009 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11010 <bp-checks.h>.
11011 (fchownat): Do not use CHECK_STRING.
11012 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11013 CHECK_STRING.
11014 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11015 <bp-checks.h>.
11016 (__lchown): Do not use CHECK_STRING.
11017 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11018 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11019 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11020 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11022 include <bp-checks.h>.
11023 (truncate64): Do not use CHECK_STRING.
11024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11025 <bp-checks.h>.
11026 (__real_chown): Do not use CHECK_STRING.
11027 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11028 <bp-checks.h>.
11029 (__lchown): Do not use CHECK_STRING.
11030 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11031 <bp-checks.h>.
11032 (__chown): Do not use CHECK_STRING.
11033 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11034 <bp-checks.h>.
11035 (truncate64): Do not use CHECK_STRING.
11036 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11037 Likewise.
11038 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11039 (__xmknod): Do not use CHECK_STRING.
11040 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11041 <bp-checks.h>.
11042 (__xmknodat): Do not use CHECK_STRING.
11043 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11044 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11045
903ae060
AS
110462013-02-04 Andreas Schwab <schwab@suse.de>
11047
11048 [BZ #14142]
11049 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11050 * include/netdb.h: Likewise for h_errno.
11051 * elf/tst-stackguard1.c: Include <tls.h>.
11052
542f9466
JK
110532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11054
11055 * elf/link.h (struct link_map): Extend the l_addr comment.
11056 * include/link.h (struct link_map): Likewise.
11057
e782a927
JM
110582013-02-01 Joseph Myers <joseph@codesourcery.com>
11059
11060 [BZ #13550]
11061 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11062 (BOUNDED_1): Remove macro.
11063 * debug/backtrace.c: Don't include <bp-checks.h>.
11064 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11065 (__backtrace): Likewise.
11066 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11067 <bp-checks.h>.
11068 (__backtrace): Don't use BOUNDED_1.
11069 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11070 <bp-checks.h>.
11071 (__backtrace): Don't use BOUNDED_1.
11072 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11073 (__backtrace): Don't use BOUNDED_1.
11074 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11075 (shmat): Don't use BOUNDED_N.
11076
8cf28c5e
JM
110772013-01-31 Joseph Myers <joseph@codesourcery.com>
11078
3a7ac8a0
JM
11079 [BZ #13550]
11080 * sysdeps/generic/bp-start.h: Remove file.
11081 * csu/libc-start.c: Don't include <bp-start.h>.
11082 (LIBC_START_MAIN): Set up __environ directly instead of using
11083 INIT_ARGV_and_ENVIRON.
11084 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11085 <bp-start.h>.
11086
f3499f95
JM
11087 [BZ #13550]
11088 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11089 definitions.
11090 (CHECK_FCNTL): Likewise.
11091 (CHECK_N_PAGES): Likewise.
11092
32a45bea
JM
11093 [BZ #13550]
11094 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11095 definitions.
11096 (CHECK_SIGSET_NULL_OK): Likewise.
11097 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11098 <bp-checks.h>.
11099 (sigpending): Don't use CHECK_SIGSET.
11100 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11101 <bp-checks.h>.
11102 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11103 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11104 <bp-checks.h>.
11105 (do_sigsuspend): Don't use CHECK_SIGSET.
11106 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11107 use CHECK_SIGSET.
11108 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11109 (do_sigwait): Don't use CHECK_SIGSET.
11110 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11111 use CHECK_SIGSET.
11112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11113 include <bp-checks.h>.
11114 (sigpending): Don't use CHECK_SIGSET.
11115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11116 include <bp-checks.h>.
11117 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11118 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11119 <bp-checks.h>.
11120 (sigpending): Don't use CHECK_SIGSET.
11121 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11122 <bp-checks.h>.
11123 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11124
2e8a5c8c
JM
11125 [BZ #13550]
11126 * sysdeps/generic/bp-semctl.h: Remove file.
11127 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11128 <bp-checks.h> and <bp-semctl.h>.
11129 (__old_semctl): Don't use CHECK_SEMCTL.
11130 (__new_semctl): Likewise.
11131 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11132 and <bp-semctl.h>.
11133 (__old_semctl): Don't use CHECK_SEMCTL.
11134 (__new_semctl): Likewise.
11135 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11136 <bp-checks.h> and <bp-semctl.h>.
11137 (__old_semctl): Don't use CHECK_SEMCTL.
11138 (__new_semctl): Likewise.
11139 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11140 <bp-checks.h> and <bp-semctl.h>.
11141 (semctl): Don't use CHECK_SEMCTL.
11142
c2d54929
JM
11143 [BZ #13550]
11144 * Makerules (elide-bp-thunks): Remove variable.
11145 (elide-routines.oS): Don't use $(elide-bp-thunks).
11146 (elide-routines.os): Likewise.
11147 (elide-routines.o): Likewise.
11148 (elide-routines.op): Likewise.
11149 (elide-routines.og): Likewise.
11150 (objects): Don't use $(bp-thunks).
11151 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11152 include.
11153 (common-generated): Do not add s-proto-bp.d.
11154 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11155 (int): Likewise.
11156 (typ): Likewise.
11157 Do not generate makefile rules for bounded-pointer thunks.
11158 * sysdeps/generic/bp-thunks.h: Remove file.
11159 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11160 * sysdeps/unix/s-proto-bp.S: Likewise.
11161
8cf28c5e
JM
11162 [BZ #15062]
11163 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11164 parts of result separately when argument is not close to line from
11165 -i to i and one part of argument is small.
11166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11168 * math/libm-test.inc (cacos_test): Add more tests.
11169 (casin_test): Likewise.
11170 (casinh_test): Likewise.
11171 * sysdeps/i386/fpu/libm-test-ulps: Update.
11172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11173
c4e33b8d
DM
111742013-01-31 David S. Miller <davem@davemloft.net>
11175
11176 * po/de.po: Update from translation team.
11177
3b60b421
MK
111782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11179
11180 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11181
bb931195
TS
111822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11183
b5a5da23
TS
11184 * configure.in (_AC_PROG_CC_C89): New definition.
11185 * configure: Regenerate.
11186
bb931195
TS
11187 * configure.in (AC_PROG_CPP): New definition.
11188 * configure: Regenerate.
11189
8c53a12c
JM
111902013-01-23 Joseph Myers <joseph@codesourcery.com>
11191
11192 * debug/tst-backtrace.h: New file.
11193 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11194 (ret): Remove variable.
11195 (x): Likewise.
11196 (FAIL): Remove macro.
11197 (NO_INLINE): Likewise.
11198 (fn1): Use match function instead of strstr.
11199 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11200 (ret): Remove variable.
11201 (x): Likewise.
11202 (FAIL): Remove macro.
11203 (NO_INLINE): Likewise.
11204 (fn): Use match function instead of strstr.
11205 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11206 (ret): Remove variable.
11207 (x): Likewise.
11208 (FAIL): Remove macro.
11209 (NO_INLINE): Likewise.
11210 (handle_signal): Use match function instead of strstr.
11211 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11212 (ret): Remove variable.
11213 (x): Likewise.
11214 (FAIL): Remove macro.
11215 (NO_INLINE): Likewise.
11216 (handle_signal): Use match function instead of strstr.
11217
4858fa2a
RM
112182013-01-23 Roland McGrath <roland@hack.frob.com>
11219
11220 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11221
bae8e7f5
DM
112222013-01-23 David S. Miller <davem@davemloft.net>
11223
11224 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11225 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11226 argument of CAS if possible.
11227 * sysdeps/sparc/sparc64/bits/atomic.h
11228 (__arch_compare_and_exchange_val_32_acq): Likewise.
11229 (__arch_compare_and_exchange_val_64_acq): Likewise.
11230
9cbbc4ae
PT
112312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11232
11233 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11234 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11235 Include <limits.h>.
67b3f58c 11236 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11237
5655a0b5
AC
112382013-01-23 Adam Conrad <adconrad@0c3.net>
11239
11240 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11241 (LDFLAGS-tst-array5): Likewise.
11242
052aff95
JM
112432013-01-23 Joseph Myers <joseph@codesourcery.com>
11244
11245 [BZ #15036]
11246 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11247 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11248 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11249 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11250
7c1e01aa
DM
112512013-01-21 David S. Miller <davem@davemloft.net>
11252
11253 * sysdeps/sparc/backtrace.c: New file.
11254 * sysdeps/sparc/sparc32/backtrace.h: New file.
11255 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11256 * sysdeps/sparc/sparc64/backtrace.h: New file.
11257 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11258 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11259 -funwind-tables.
11260
ab087e0a
AS
112612013-01-21 Andreas Schwab <schwab@suse.de>
11262
11263 [BZ #15020]
11264 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11265 closed its stdout.
11266
ed689c2f
AS
112672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11268
11269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11270 "mpa2.h".
11271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11272
31d470ac
JM
112732013-01-18 Joseph Myers <joseph@codesourcery.com>
11274 Mark Mitchell <mark@codesourcery.com>
11275 Tom de Vries <tom@codesourcery.com>
11276 Paul Pluzhnikov <ppluzhnikov@google.com>
11277
11278 * debug/tst-backtrace2.c: New file.
11279 * debug/tst-backtrace3.c: Likewise.
11280 * debug/tst-backtrace4.c: Likewise.
11281 * debug/tst-backtrace5.c: Likewise.
11282 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11283 (CFLAGS-tst-backtrace3.c): Likewise.
11284 (CFLAGS-tst-backtrace4.c): Likewise.
11285 (CFLAGS-tst-backtrace5.c): Likewise.
11286 (LDFLAGS-tst-backtrace2): Likewise.
11287 (LDFLAGS-tst-backtrace3): Likewise.
11288 (LDFLAGS-tst-backtrace4): Likewise.
11289 (LDFLAGS-tst-backtrace5): Likewise.
11290 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11291 tst-backtrace4 and tst-backtrace5.
11292
90567f30 112932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11294 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11295
11296 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11297 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11299 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11301 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11302 "+r" and remove output regs list as redundant. Add explicit inline
11303 asm to specify register of return val to work around compiler codegen
11304 bug. Remove (int) cast on return value. Add return type parameter to
11305 use in macro so that this macro does not truncate return value for
11306 64-bit values.
11307 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11308 pass to INTERNAL_VSYSCALL_NCS.
11309 (INLINE_VSYSCALL): Add 'long int' as return type to
11310 INTERNAL_VSYSCALL_NCS macro invocation.
11311 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11312 INTERNAL_VSYSCALL_NCS macro invocation.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11314
d3b9ea61
SP
113152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11316
0b57daeb
SP
11317 [BZ #14496]
11318 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11319 Fix application of SIMD FP exception mask.
11320
caa99d06
SP
11321 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11322 mp_no from a power of two.
11323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11324 __mpexp_twomm1. Use __pow_mp.
11325
d3b9ea61
SP
11326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11327 multiplication.
11328
1dbaee3c
DM
113292013-01-17 David S. Miller <davem@davemloft.net>
11330
11331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11332
728d7b43
JM
113332013-01-17 Joseph Myers <joseph@codesourcery.com>
11334
11335 [BZ #15023]
11336 * include/complex.h: Condition contents on [!_COMPLEX_H].
11337 (__kernel_casinhf): New prototype.
11338 (__kernel_casinh): Likewise.
11339 (__kernel_casinhl): Likewise.
11340 * math/Makefile (libm_calls): Add k_casinh.
11341 * math/k_casinh.c: New file.
11342 * math/k_casinhf.c: Likewise.
11343 * math/k_casinhl.c: Likewise.
11344 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11345 finite nonzero arguments.
11346 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11347 finite nonzero arguments.
11348 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11349 finite nonzero arguments.
11350 * math/s_casinh.c: Do not include <float.h>.
11351 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11352 * math/s_casinhf.c: Do not include <float.h>.
11353 (__casinhf): Move code for finite nonzero arguments to
11354 k_casinhf.c.
11355 * math/s_casinhl.c: Do not include <float.h>.
11356 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11357 redefine.
11358 (__casinhl): Move code for finite nonzero arguments to
11359 k_casinhl.c.
11360 * math/libm-test.inc (cacos_test): Add more tests.
11361 * sysdeps/i386/fpu/libm-test-ulps: Update.
11362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363
2a26ef3a
PT
113642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11365
11366 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11367 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11368 [!HAVE_MREMAP]: Remove [defined linux] case.
11369 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11370
a897655d
SP
113712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11372
11373 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11374
881ebe89 113752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11376
11377 * elf/elf.h (R_386_SIZE32): New relocation.
11378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11379 R_386_SIZE32.
11380 (elf_machine_rela): Likewise.
11381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11382 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11383
59981e9b
JM
113842013-01-17 Joseph Myers <joseph@codesourcery.com>
11385
11386 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11387 (FP_FAST_FMA): Do not define.
11388 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11389 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11390 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11391 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11392 !_SOFT_FLOAT]: Likewise.
11393 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11394 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11395 value.
11396 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11397 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11398 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11399 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11400 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11401 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11402 file.
11403
cfa8054f
AS
114042013-01-16 Andreas Schwab <schwab@suse.de>
11405
11406 [BZ #14327]
11407 * include/stdlib.h (__mktemp): Add declaration.
11408 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11409 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11410
dd930cc5
SP
114112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11412
881ebe89
SP
11413 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11414 definitions.
11415 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11416 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11417 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11418 definitions here.
11419 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11420 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11421 definitions.
11422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11423 and ONE.
11424 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11425 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11426 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11427 definitions.
11428 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11429 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11430 definitions.
11431 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11432
dd930cc5
SP
11433 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11434
c19a9f89
DM
114352013-01-15 David S. Miller <davem@davemloft.net>
11436
1aa61767
DM
11437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11438 trunc{,f} to libm-sysdep_routes.
11439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11441 file.
11442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11444 file.
11445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11446 file.
11447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11449 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11450 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11451 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11452 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11453 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11454 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11455
c42d5e98
DM
11456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11457 nearbyint{,f} to libm-sysdep_routes.
11458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11460 New file.
11461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11462 file.
11463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11464 New file.
11465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11466 file.
11467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11469 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11470 file.
11471 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11472 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11473 file.
11474 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11475 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11476 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11477
c19a9f89
DM
11478 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11479 libc_feholdexcept and libc_fesetenv.
11480
357679d2
MF
114812013-01-15 Mike Frysinger <vapier@gentoo.org>
11482
11483 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11484
65a82e3d
DM
114852013-01-14 David S. Miller <davem@davemloft.net>
11486
8b954ab9
DM
11487 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11488 (SPARC_ASM_VIS2_IFUNC): Likewise.
11489 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11491 use of 'siam' instruction.
11492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11493 Likewise.
11494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11495 Likewise.
11496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11497 Likewise.
11498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11503 file.
11504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11505 file.
11506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11507 file.
11508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11509 file.
11510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11515 new VIS2 routines.
11516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11519 Likewise.
11520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11525 routines to libm-sysdep_routines.
11526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11527
65a82e3d
DM
11528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11529 fdim/fdimf to libm-sysdep_routines.
11530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11531 file.
11532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11534 file.
11535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11538 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11539 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11540 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11541 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11542
e34ab705
SP
115432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11544
2a91b573
SP
11545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11546 to optimize copies.
11547
1066a534
SP
11548 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11551
e34ab705
SP
11552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11553 local variable MPTWO.
11554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11555 Likewise.
11556
aba5e596
MF
115572013-01-13 Mike Frysinger <vapier@gentoo.org>
11558
11559 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11560 GLOB_NOESCAPE.
11561
e557e9e5
MF
115622013-01-13 Mike Frysinger <vapier@gentoo.org>
11563
11564 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11565
0428cec9
MF
115662013-01-13 Mike Frysinger <vapier@gentoo.org>
11567
11568 * manual/pattern.texi (glob_t): Document gl_flags.
11569 (glob64_t): Likewise.
11570
8794a964
DM
115712013-01-11 David S. Miller <davem@davemloft.net>
11572
66438c3f
RM
11573 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11574 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11575 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11576 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11577 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11578 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11579 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11580 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11581 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11582 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11583 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11584 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11585 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11586
4ae4244d
DM
11587 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11588 sparc V9 rather than using V8 code.
11589 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11590 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11591
8794a964
DM
11592 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11593 Move to...
11594 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11595 Here.
11596
6270516e
RM
115972013-01-11 Roland McGrath <roland@hack.frob.com>
11598
11599 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11600 not in the main loop.
11601 * configure: Regenerated.
11602
6a57d931
JM
116032013-01-11 Joseph Myers <joseph@codesourcery.com>
11604
11605 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11606 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11607 to just #else.
11608 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11609 [!__GLIBC_HAVE_LONG_LONG] case.
11610 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11611 condition to just #else.
11612 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11613 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11614 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11615 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11616 unconditional.
11617 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11618 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11619 #elif condition to just #else.
11620 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11621 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11622 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11623 #elif condition to just #else.
11624
0e8529e9
SE
116252013-01-11 Steve Ellcey <sellcey@mips.com>
11626
11627 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11628 (EF_MIPS_ARCH_64): Fix value.
11629 (EF_MIPS_ARCH_32R2): New.
11630 (EF_MIPS_ARCH_64R2): New.
11631
740b3dbe
L
116322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 * Makeconfig (+link-pie-before-libc): New.
11635 (+link-pie-after-libc): Likewise.
11636 (+link-pie-tests): Likewise.
11637 (+link-pie): Rewritten.
11638 (link-before-libc): Remove $(config-LDFLAGS).
11639 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11640 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11641 (config-LDFLAGS): Renamed to ...
11642 (rtld-LDFLAGS): This.
11643 (rtld-tests-LDFLAGS): New macro.
11644 (link-libc-rpath-link): Likewise.
11645 (link-libc-tests-rpath-link): Likewise.
11646 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11647 (link-libc): Prepand $(link-libc-rpath-link).
11648 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11649 (test-program-prefix): New macro.
11650 (test-via-rtld-prefix): Likewise.
11651 (test-program-cmd): Likewise.
11652 (host-test-program-cmd): Likewise.
11653 * Makefile ($(common-objpfx)testrun.sh): Replace
11654 $(run-program-prefix) with $(test-program-prefix).
11655 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11656 $(rtld-LDFLAGS).
11657 ($(common-objpfx)shlib.lds): Likewise.
11658 (build-module-helper): Likewise.
11659 ($(common-objpfx)format.lds): Likewise.
11660 * Rules (binaries-pie-tests): New.
11661 (binaries-pie-notests): Likewise.
11662 (binaries-pie): Rewritten.
11663 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11664 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11665 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11666 (make-test-out): Replace $(host-built-program-cmd) with
11667 $(host-test-program-cmd).
11668 * config.make.in (build-hardcoded-path-in-tests): New variable.
11669 * configure.in (--enable-hardcoded-path-in-tests): New configure
11670 option.
11671 (hardcoded_path_in_tests): New AC_SUBST.
11672 * configure: Regenerated.
11673 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11674 $(built-program-cmd) with $(test-program-cmd).
11675 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11676 (test_program_cmd): This.
11677 * elf/Makefile ($(objpfx)order.out): Run test with
11678 $(test-program-prefix).
11679 ($(objpfx)order2.out): Likewise.
11680 ($(objpfx)tst-initorder.out): Likewise.
11681 ($(objpfx)tst-initorder2.out): Likewise.
11682 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11683 $(test-program-cmd).
11684 ($(objpfx)tst-array1-static.out): Likewise.
11685 ($(objpfx)tst-array2.out): Likewise.
11686 ($(objpfx)tst-array3.out): Likewise.
11687 ($(objpfx)tst-array4.out): Likewise.
11688 ($(objpfx)tst-array5.out): Likewise.
11689 ($(objpfx)tst-array5-static.out): Likewise.
11690 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11691 $(test-program-cmd).
11692 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11693 $(run-program-prefix) with $(test-program-prefix).
11694 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11695 (test_program_prefix): This.
11696 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11697 $(run-program-prefix) with $(test-program-prefix).
11698 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11699 (test_program_prefix): This.
11700 * iconvdata/tst-tables.sh: Likewise.
11701 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11702 $(run-program-prefix) with $(test-program-prefix).
11703 ($(objpfx)tst-translit.out): Likewise.
11704 ($(objpfx)tst-gettext2.out): Likewise.
11705 ($(objpfx)tst-gettext4.out): Likewise.
11706 ($(objpfx)tst-gettext6.out): Likewise.
11707 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11708 (test_program_prefix): This.
11709 * intl/tst-gettext2.sh: Likewise.
11710 * intl/tst-gettext4.sh Likewise.
11711 * intl/tst-gettext6.sh: Likewise.
11712 * intl/tst-translit.sh: Likewise.
11713 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11714 with $(test-program-cmd).
11715 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11716 $(run-program-prefix) with $(test-program-prefix).
11717 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11718 (test_program_prefix): This.
11719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11720 $(run-program-prefix) with $(test-program-prefix).
11721 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11722 (test_program_prefix): This.
11723 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11724 * posix/Makefile ($(objpfx)globtest.out): Replace
11725 $(run-via-rtld-prefix) and $(test-wrapper) with
11726 $(test-program-prefix) and $(test-via-rtld-prefix).
11727 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11728 $(test-program-prefix).
11729 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11730 $(host-test-program-cmd).
11731 (tst-spawn-ARGS): Likewise.
11732 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11733 $(test-program-prefix).
11734 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11735 (test_via_rtld_prefix): This.
11736 (test_wrapper): Renamed to ...
11737 (test_program_prefix): This.
11738 (run_program_prefix): Replaced by test_program_prefix.
11739 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11740 (test_program_prefix): This.
11741 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11742 with $(host-test-program-cmd).
11743 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11744 $(run-program-prefix) with $(test-program-prefix).
11745 ($(objpfx)tst-printf.out): Likewise.
11746 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11747 $(test-program-cmd).
11748 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11749 (test_program_prefix): This.
11750 * stdio-common/tst-unbputc.sh: Likewise.
11751 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11752 $(run-program-prefix) with $(test-program-prefix).
11753 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11754 (test_program_prefix): This.
11755 * string/Makefile ($(objpfx)tst-svc.out): Replace
11756 $(built-program-cmd) with $(test-program-cmd).
11757
c6fe55cf
AJ
117582013-01-11 Andreas Jaeger <aj@suse.de>
11759
11760 [BZ #15003]
11761 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11762 value. Sync with Linux 3.7.
11763
9e6919c8
DM
117642013-01-10 David S. Miller <davem@davemloft.net>
11765
11766 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11769
1c9f1a02
RM
117702013-01-10 Roland McGrath <roland@hack.frob.com>
11771
11772 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11773 never set.
11774 * configure: Regenerated.
11775
b9de2dde
DM
117762013-01-10 David S. Miller <davem@davemloft.net>
11777
11778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11779 sparc V9 rather than using V8 code.
11780 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11781 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11782
e7f68ef4
RM
117832013-01-10 Roland McGrath <roland@hack.frob.com>
11784
11785 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11786 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11787 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11788 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11789 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11790 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11791 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11792 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11793 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11794 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11795 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11796 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11797 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11798 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11799 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11800 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11801 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11802 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11803 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11804 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11805 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11806 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11807 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11808 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11809 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11810 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11811 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11812
5a47cc9c
DM
118132013-01-10 David S. Miller <davem@davemloft.net>
11814
11815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11816
4cf8f209
L
118172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * posix/Makefile (tests-static): New variable.
11820 (tests): Add $(tests-static).
11821 (tst-exec-static-ARGS): New variable.
11822 (tst-spawn-static-ARGS): Likewise.
11823 * posix/tst-exec-static.c: New file.
11824 * posix/tst-spawn-static.c: Likewise.
11825 * posix/tst-exec.c: Support run directly.
11826 * posix/tst-spawn.c: Likewise.
11827
fed0faa1
JM
118282013-01-10 Joseph Myers <joseph@codesourcery.com>
11829
828beb13
JM
11830 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11831 long.
11832 * math/bits/mathcalls.h (llrint): Likewise.
11833 (llround): Likewise.
11834 * stdlib/stdlib.h (struct drand48_data): Likewise.
11835 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11836 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11837 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11838 Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11840 Likewise.
11841 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11842 (elf_greg_t): Likewise.
11843 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11844 (__jmp_buf): Likewise.
11845 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11846 definitions.
11847 (llrint): Likewise, for all definitions.
11848 (llrintl): Likewise.
11849
fed0faa1
JM
11850 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11851 Remove [__GNUC__] condition.
11852 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11853 condition to just [__USE_ISOC99].
11854 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11855
1a20cb20
L
118562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 [BZ #14200]
11859 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11860 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11861 defined.
11862 (_POSIX_V6_ILP32_OFF32): Likewise.
11863 (_XBS5_ILP32_OFF32): Likewise.
11864 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11865 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11866
751b85f7
SP
118672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11868
7490eb81
SP
11869 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11870
751b85f7
SP
11871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11872 doubles __mpexp_twomm1. Adjust usage.
11873 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11874 Remove.
11875
988197f0
AS
118762013-01-10 Andreas Schwab <schwab@suse.de>
11877
11878 [BZ #14964]
11879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11880 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11881
e83d7298
DM
118822013-01-09 David S. Miller <davem@davemloft.net>
11883
034ed64b 11884 [BZ #15003]
e83d7298
DM
11885 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11886 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11887 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11888 TCP_FASTOPEN): Define.
11889 (tcp_repair_opt): New structure.
11890 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11891 enum values.
11892 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11893 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11894 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11895 (tcp_cookie_transactions): New structure.
11896
d5e0b9bd
AB
118972013-01-09 Anton Blanchard <anton@samba.org>
11898
11899 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11900 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11901 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11902 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11903
0c07e3ea
JM
119042013-01-09 Joseph Myers <joseph@codesourcery.com>
11905
11906 * include/features.h (__USE_ANSI): Remove.
11907
232f7002
RM
119082013-01-09 Roland McGrath <roland@hack.frob.com>
11909
ad98e30c
RM
11910 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11911
232f7002
RM
11912 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11913
950c99ca
SP
119142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11915
b5792741
SP
11916 * sysdeps/s390/fpu/libm-test-ulps: Update.
11917
47cf2278
SP
11918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11919
950c99ca
SP
11920 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11921 (__acr): Likewise.
11922 (__cpy): Likewise.
11923 (norm): Likewise.
11924 (denorm): Likewise.
11925 (__mp_dbl): Likewise.
11926 (__dbl_mp): Likewise.
11927 (add_magnitudes): Likewise.
11928 (sub_magnitudes): Likewise.
11929 (__add): Likewise.
11930 (__sub): Likewise.
11931 (__mul): Likewise.
11932 (__inv): Likewise.
11933 (__dvd): Likewise.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11935 (__acr): Likewise.
11936 (__cpy): Likewise.
11937 (norm): Likewise.
11938 (denorm): Likewise.
11939 (__mp_dbl): Likewise.
11940 (__dbl_mp): Likewise.
11941 (add_magnitudes): Likewise.
11942 (sub_magnitudes): Likewise.
11943 (__add): Likewise.
11944 (__sub): Likewise.
11945 (__mul): Likewise.
11946 (__inv): Likewise.
11947 (__dvd): Likewise.
11948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11949 (__acr): Likewise.
11950 (__cpy): Likewise.
11951 (norm): Likewise.
11952 (denorm): Likewise.
11953 (__mp_dbl): Likewise.
11954 (__dbl_mp): Likewise.
11955 (add_magnitudes): Likewise.
11956 (sub_magnitudes): Likewise.
11957 (__add): Likewise.
11958 (__sub): Likewise.
11959 (__mul): Likewise.
11960 (__inv): Likewise.
11961 (__dvd): Likewise.
11962
eede9df9
JM
119632013-01-08 Joseph Myers <joseph@codesourcery.com>
11964
11965 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11966 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11967 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11968 2 && __USE_EXTERN_INLINES]: Likewise.
11969
c40ea3d9
AJ
119702013-01-08 Andreas Jaeger <aj@suse.de>
11971
11972 [BZ# 14985]
11973 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11974 Remove.
11975 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11976 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11977
2ccdea26
AB
119782013-01-07 Anton Blanchard <anton@samba.org>
11979
11980 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11981 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11982 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11983 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11984 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11985 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11986 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11987 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11995 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11998 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11999 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12000 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12001 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12003 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12004 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12006 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12007 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12009 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12010 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12012 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12013 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12014 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12020 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12021 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12022 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12023
a9708fed
JM
120242013-01-07 Joseph Myers <joseph@codesourcery.com>
12025
375607b9
JM
12026 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12027 (__MALLOC_PMT): Likewise.
12028 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12029 [__GNUC__], only on [_LIBC].
12030 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12031 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12032 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12033 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12034 forward declaration.
12035 (realloc_hook_ini): Likewise.
12036 (memalign_hook_ini): Likewise.
12037 (__libc_memalign): Do not use __MALLOC_PMT in variable
12038 declaration.
12039 (__libc_valloc): Likewise.
12040 (__libc_pvalloc): Likewise.
12041 (__libc_calloc): Likewise.
12042 (__posix_memalign): Likewise.
12043
a9708fed
JM
12044 [BZ #14996]
12045 * math/s_casinh.c: Include <float.h>.
12046 (__casinh): Do not do computation with squaring and square root
12047 for large arguments.
12048 * math/s_casinhf.c: Include <float.h>.
12049 (__casinhf): Do not do computation with squaring and square root
12050 for large arguments.
12051 * math/s_casinhl.c: Include <float.h>.
12052 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12053 (__casinhl): Do not do computation with squaring and square root
12054 for large arguments.
12055 * math/libm-test.inc (casin_test): Add more tests.
12056 (casinh_test): Likewise.
12057 * sysdeps/i386/fpu/libm-test-ulps: Update.
12058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12059
afec409a
L
120602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12063 (__x86_64_raw_data_cache_size): Likewise.
12064 (__x86_64_data_cache_size_half): Likewise.
12065 (__x86_64_raw_data_cache_size_half): Likewise.
12066 (__x86_64_shared_cache_size): Likewise.
12067 (__x86_64_raw_shared_cache_size): Likewise.
12068 (__x86_64_shared_cache_size_half): Likewise.
12069 (__x86_64_raw_shared_cache_size_half): Likewise.
12070 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12071 to ...
12072 (__x86_data_cache_size): This.
12073 (__x86_64_raw_data_cache_size): Renamed to ...
12074 (__x86_raw_data_cache_size): This.
12075 (__x86_64_data_cache_size_half): Renamed to ...
12076 (__x86_data_cache_size_half): This.
12077 (__x86_64_raw_data_cache_size_half): Renamed to ...
12078 (__x86_raw_data_cache_size_half): This.
12079 (__x86_64_shared_cache_size): Renamed to ...
12080 (__x86_shared_cache_size): This.
12081 (__x86_64_raw_shared_cache_size): Renamed to ...
12082 (__x86_raw_shared_cache_size): This.
12083 (__x86_64_shared_cache_size_half): Renamed to ...
12084 (__x86_shared_cache_size_half): This.
12085 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12086 (__x86_raw_shared_cache_size_half): This.
12087 * sysdeps/x86_64/memcpy.S: Updated.
12088 * sysdeps/x86_64/memset.S: Likewise.
12089 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12092
0b3986d0
DM
120932013-01-04 David S. Miller <davem@davemloft.net>
12094
12095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12096
e47686e9
AS
120972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12098
d643bac1
AS
12099 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12100 1 to avoid redefinition warning.
12101 (__USE_GNU): Don't define.
12102 (init_signaling_nan): Protoize.
12103
e47686e9
AS
12104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12105
b18decba
SP
121062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12107
fffb407f
SP
12108 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12110 (__cpymn): Likewise.
12111 (norm): Remove commented code.
12112 (denorm): Likewise.
12113 (__mp_dbl): Likewise.
12114 (__inv): Likewise.
12115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12116 (__cpymn): Likewise.
12117 (norm): Remove commented code.
12118 (denorm): Likewise.
12119 (__mp_dbl): Likewise.
12120 (__inv): Likewise.
12121
b18decba
SP
12122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12123 mp_no value for 1.0 and 2.0.
12124 (norm): Use RADIXI instead of radixi.d.
12125 (denorm): Likewise.
12126 (__mul): Use 0.0 instead of zero.d.
12127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12128 mp_no value for 1.0 and 2.0.
12129 (norm): Use RADIXI instead of radixi.d.
12130 (denorm): Likewise.
12131 (__mul): Use 0.0 instead of zero.d.
12132
cdc1c96f
JM
121332013-01-04 Joseph Myers <joseph@codesourcery.com>
12134
12135 [BZ #14994]
12136 * math/s_casinh.c (__casinh): Reduce finite argument to first
12137 quadrant then set signs of results at the end.
12138 * math/s_casinhf.c (__casinhf): Likewise.
12139 * math/s_casinhl.c (__casinhl): Likewise.
12140 * math/libm-test.inc (casin_test): Add more tests.
12141 (casinh_test): Likewise.
12142 * sysdeps/i386/fpu/libm-test-ulps: Update.
12143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12144
302913e1
SP
121452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12146
6420d207
SP
12147 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12148
a9e48ab4
SP
12149 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12150
b7837264
SP
12151 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12152 declarations.
12153 (denorm): Likewise.
12154 (__mp_dbl): Likewise.
12155 (__inv): Likewise.
12156
f8af25d2
SP
12157 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12158 and adjust the header comment.
12159
302913e1
SP
12160 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12161 variable name from declaration.
12162
5d7dd1ca
L
121632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12164
12165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12166 Initialize COMMON_CPUID_INDEX_7 element.
12167 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12168 (CPUID_RTM): Likewise.
12169 (HAS_RTM): Likewise.
12170 (COMMON_CPUID_INDEX_7): New enum.
12171
2f5f40f4
AS
121722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12173
12174 [BZ #14981]
12175 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12176 size is zero, record memory as freed.
12177
4056f4a0
AJ
121782013-01-03 Andreas Jaeger <aj@suse.de>
12179
12180 * po/ia.po: Add new Interlingua translation.
12181
ab15736f 121822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12183
12184 * locale/programs/localedef.c: Fix description of '--posix' flag.
12185
568035b7
JM
121862013-01-02 Joseph Myers <joseph@codesourcery.com>
12187
e6898b8d
JM
12188 * NEWS: Update dates in second copyright notice.
12189 * README: Update copyright dates in example.
12190 * manual/libc.texinfo: Update copyright dates.
12191 * scripts/test-installation.pl: Update copyright date in --version
12192 output.
12193
0e2f9562
JM
12194 * hurd/ctty-input.c: Fix copyright notice formatting.
12195 * hurd/ctty-output.c: Likewise.
12196 * hurd/dtable.c: Likewise.
12197 * hurd/hurd-raise.c: Likewise.
12198 * hurd/hurdprio.c: Likewise.
12199 * hurd/msgportdemux.c: Likewise.
12200 * misc/sys/file.h: Likewise.
12201 * misc/sys/ioctl.h: Likewise.
12202 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12203 * sysdeps/mach/hurd/chdir.c: Likewise.
12204 * sysdeps/mach/hurd/fchdir.c: Likewise.
12205 * sysdeps/mach/hurd/rename.c: Likewise.
12206 * sysdeps/mach/hurd/rmdir.c: Likewise.
12207 * sysdeps/mach/hurd/seekdir.c: Likewise.
12208 * sysdeps/mach/hurd/setsid.c: Likewise.
12209 * sysdeps/posix/wait3.c: Likewise.
12210
568035b7
JM
12211 * All files with FSF copyright notices: Update copyright dates
12212 using scripts/update-copyrights.
12213 * intl/plural.c: Regenerated.
12214 * locale/programs/charmap-kw.h: Likewise.
12215 * locale/programs/locfile-kw.h: Likewise.
12216
da08f647
SP
122172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12218
0f5477af
SP
12219 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12220 four values.
12221
44e0d4c2
SP
12222 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12223 calculation loop and add branch prediction.
12224
4d55b4e5
SP
12225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12226 check access beyond bounds of m1np.
12227
da08f647
SP
12228 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12229 MPTWO.
12230 (__inv): Remove local variable MPTWO to use the global
12231 constant.
12232 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12233 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12234 variable MPTWO.
12235 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12236 MP3HALFS static const.
12237
8e051029
DM
122382013-01-01 David S. Miller <davem@davemloft.net>
12239
12240 * po/ca.po: Update from translation team.
12241
f4cf5f2d
JM
122422013-01-01 Joseph Myers <joseph@codesourcery.com>
12243
12244 * scripts/update-copyrights: New file.
12245 * Makeconfig: Reformat copyright notice.
12246 * ctype/ctype.h: Likewise.
12247 * debug/swprintf_chk.c: Likewise.
12248 * elf/dl-cache.c: Likewise.
12249 * elf/dl-debug.c: Likewise.
12250 * elf/dl-object.c: Likewise.
12251 * grp/initgroups.c: Likewise.
12252 * hurd/Makefile: Likewise.
12253 * hurd/hurd/signal.h: Likewise.
12254 * hurd/hurdfault.c: Likewise.
12255 * hurd/hurdioctl.c: Likewise.
12256 * hurd/hurdlookup.c: Likewise.
12257 * hurd/intr-msg.c: Likewise.
12258 * iconv/gconv_open.c: Likewise.
12259 * libio/swprintf.c: Likewise.
12260 * locale/lc-ctype.c: Likewise.
12261 * locale/nl_langinfo.c: Likewise.
12262 * mach/Machrules: Likewise.
12263 * mach/Makefile: Likewise.
12264 * malloc/obstack.h: Likewise.
12265 * manual/Makefile: Likewise.
12266 * manual/tsort.awk: Likewise.
12267 * misc/bits/stab.def: Likewise.
12268 * nis/nis_print_group_entry.c: Likewise.
12269 * nis/nis_table.c: Likewise.
12270 * nis/nss_compat/compat-pwd.c: Likewise.
12271 * nis/nss_compat/compat-spwd.c: Likewise.
12272 * po/Makefile: Likewise.
12273 * posix/fnmatch.c: Likewise.
12274 * posix/regex.h: Likewise.
12275 * resolv/Makefile: Likewise.
12276 * resolv/nss_dns/dns-network.c: Likewise.
12277 * resolv/res_hconf.c: Likewise.
12278 * scripts/gen-sorted.awk: Likewise.
12279 * soft-fp/soft-fp.h: Likewise.
12280 * stdio-common/printf.h: Likewise.
12281 * stdlib/monetary.h: Likewise.
12282 * stdlib/random.c: Likewise.
12283 * stdlib/random_r.c: Likewise.
12284 * sysdeps/generic/Makefile: Likewise.
12285 * sysdeps/gnu/Makefile: Likewise.
12286 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12314 * sysdeps/mach/hurd/errnos.awk: Likewise.
12315 * sysdeps/mach/hurd/fork.c: Likewise.
12316 * sysdeps/mach/hurd/getcwd.c: Likewise.
12317 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12318 * sysdeps/mach/hurd/mmap.c: Likewise.
12319 * sysdeps/mach/hurd/utimes.c: Likewise.
12320 * sysdeps/mach/hurd/xmknod.c: Likewise.
12321 * sysdeps/posix/profil.c: Likewise.
12322 * sysdeps/posix/readdir_r.c: Likewise.
12323 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12324 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12325 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12326 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12328 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12333 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12334 * sysdeps/pthread/lio_listio.c: Likewise.
12335 * sysdeps/sparc/dl-procinfo.h: Likewise.
12336 * sysdeps/unix/i386/sysdep.S: Likewise.
12337 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12338 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12339 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12340 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12342 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12343 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12344 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12345 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12346 * sysdeps/wordsize-32/divdi3.c: Likewise.
12347 * time/sys/time.h: Likewise.
12348 * wcsmbs/Makefile: Likewise.
12349
0549fbba
DM
123502013-01-01 David S. Miller <davem@davemloft.net>
12351
a141f1a7
DM
12352 * po/fr.po: Update from translation team.
12353
0549fbba
DM
12354 * catgets/gencat.c: Update copyright year.
12355 * csu/version.c: Likewise.
12356 * debug/catchsegv.sh: Likewise.
12357 * debug/pcprofiledump.c: Likewise.
12358 * debug/xtrace.sh: Likewise.
12359 * elf/ldconfig.c: Likewise.
12360 * elf/ldd.bash.in: Likewise.
12361 * elf/pldd.c: Likewise.
12362 * elf/sotruss.ksh: Likewise.
12363 * elf/sprof.c: Likewise.
12364 * iconv/iconv_prog.c: Likewise.
12365 * iconv/iconvconfig.c: Likewise.
12366 * locale/programs/locale.c: Likewise.
12367 * locale/programs/localedef.c: Likewise.
12368 * login/programs/pt_chown.c: Likewise.
12369 * malloc/memusage.sh: Likewise.
12370 * malloc/memusagestat.c: Likewise.
12371 * malloc/mtrace.pl: Likewise.
12372 * nscd/nscd.c: Likewise.
12373 * nss/getent.c: Likewise.
12374 * nss/makedb.c: Likewise.
12375 * posix/getconf.c: Likewise.
12376
18ea052c
SP
123772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12378
12379 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12380 numbers.
12381
9c89fca6
MF
123822012-12-30 Mike Frysinger <vapier@gentoo.org>
12383
12384 * math/bits/mathcalls.h (modf): Use __nonnull.
12385
085ec079
SP
123862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12387
12388 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12389 (split): Use macro CN instead of the bare value.
12390 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12391 could be used.
12392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12393 instead of the bare value.
12394 (power1): Likewise.
12395
6d9f97e1
SP
123962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12397
d63f73be
SP
12398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12399 __ATAN_TWOM.
12400 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12401
6d9f97e1
SP
12402 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12403 their values.
12404 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12405 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12406 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12407 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12408
4c4febf5
AJ
124092012-12-28 Andreas Jaeger <aj@suse.de>
12410
af5843ef
AJ
12411 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12412 values are from Linux 3.7.
12413
4c4febf5
AJ
12414 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12415 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12416
99136f82
SP
124172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12418
2f216c3c 12419 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12420 TRUE case.
12421
99136f82
SP
12422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12423 (norm): Likewise.
12424 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12425 variables with preprocessor constants.
12426 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12427 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12428 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12429
7fffbdff
BH
124302012-12-27 Bruno Haible <bruno@clisp.org>
12431
12432 [BZ #14317]
12433 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12434 only if needed.
12435
b76eb5f0
SP
124362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12437
31a7fe5c
SP
12438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12439 and use variable directly.
12440 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12441
b76eb5f0
SP
12442 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12443 MPONE.
12444 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12446 variable MPONE.
12447 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12449 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12450 include directive. Remove local variable MPONE.
12451 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12452 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12453 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12454
2c8bfe7d
DM
124552012-12-25 David S. Miller <davem@davemloft.net>
12456
12457 * version.h (RELEASE): Set to "development".
12458 (VERSION): Set to "2.17.90".
12459 * NEWS: Add 2.18 section.
12460
147d03b0
DM
124612012-12-21 David S. Miller <davem@davemloft.net>
12462
12463 * po/hr.po: Update from translation team.
12464
a8ebb2b9
AK
124652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12466
12467 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12468
95b4f1b6
SE
124692012-12-19 Steve Ellcey <sellcey@mips.com>
12470
b2d94007 12471 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12472
cedb2a90
MS
124732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12474
12475 * manual/contrib.texi (Contributors): Spelling correction.
12476
bbf527d6
DM
124772012-12-15 David S. Miller <davem@davemloft.net>
12478
12479 * po/ru.po: Update from translation team.
12480
bc38c906
DM
124812012-12-13 David S. Miller <davem@davemloft.net>
12482
85429b1a
DM
12483 * NEWS: Mention IFUNC testsuite enhancements.
12484
d283e353
DM
12485 * po/pl.po: Update from translation team.
12486 * po/bg.po: Likewise.
12487
bc38c906
DM
12488 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12489 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12490
a181b0d7
DM
124912012-12-11 David S. Miller <davem@davemloft.net>
12492
4641d57e
DM
12493 * po/sv.po: Update from translation team.
12494
f7bc6495
DM
12495 * po/vi.po: Update from translation team.
12496
6fc9048f
DM
12497 * po/cs.po: Update from translation team.
12498
a181b0d7
DM
12499 * po/de.po: Update from translation team.
12500 * po/eo.po: Likewise.
12501 * po/nl.po: Likewise.
12502
f70bfe80
SP
125032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12504
3c8b4190
SP
12505 [BZ #14246]
12506 * manual/argp.texi (Argp Helper Functions): Move node to follow
12507 Argp Parsing State.
12508
f70bfe80
SP
12509 [BZ #14872]
12510 * manual/conf.texi (Limits on File System Capacity): Mention if
12511 terminating null is included in the max size.
12512
188f0adf
AJ
125132012-12-10 Andreas Jaeger <aj@suse.de>
12514
12515 * po/cs.po: Update from translation team.
12516
56e7d3ad
SP
125172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12518
12519 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12520 void pointer and cast to uintptr_t.
12521 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12522 path.
12523 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12524 * sysdeps/s390/s390-64/memset.S: Likewise.
12525
76f2d2ea 125262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12527
12528 [BZ #14833]
12529 * menual/message.texi (Message Translation): Fix typos.
12530 (Helper programs for gettext): Likewise.
12531
67cbf9a2
AS
125322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12533
12534 [BZ #14898]
12535 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12536 Change to -1.
12537
682d0e9a
DM
125382012-12-07 David S. Miller <davem@davemloft.net>
12539
12540 * po/libc.pot: Update.
12541
573cd484
RH
125422012-12-07 Richard Henderson <rth@redhat.com>
12543
7e9da188 12544 [BZ #10114]
573cd484
RH
12545 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12546 normal/normal case to before the switch.
12547 (_FP_DIV): Likewise.
12548
e933a943
MF
125492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12550 Mike Frysinger <vapier@gentoo.org>
12551
12552 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12553 check for __NR_fadvise64_64.
12554
82123268
CM
125552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12556
12557 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12558 0, not just to plain "0" as a statement.
12559 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12560 with cw.
12561
d9814526
JM
125622012-12-06 Joseph Myers <joseph@codesourcery.com>
12563
12564 * NEWS: Use sourceware.org in Bugzilla URL.
12565
7728c574
SP
125662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12567
f16946dd
SP
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12569 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12570
5704bbcb
SP
12571 * stdio-common/tst-put-error.c (do_test): Add newline to the
12572 padded test to ensure flush.
12573
17aa0516
JL
125742012-12-05 Jeff Law <law@redhat.com>
12575
12576 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12577
363313b5
JM
125782012-12-05 Joseph Myers <joseph@codesourcery.com>
12579
effbd42a
JM
12580 * README: Don't refer to ports add-on as distributed separately.
12581 Mention AArch64 in list of systems supported in the ports add-on.
12582
87600365
JM
12583 * LICENSES: Add more non-FSF copyright and license notices.
12584
a0d7066a
JM
12585 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12586 ((unused)).
12587
66ca5a5b
JM
12588 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12589
363313b5
JM
12590 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12591 10000 as width of padded output.
12592
b37984ad
JM
125932012-12-04 Joseph Myers <joseph@codesourcery.com>
12594
9003570a
JM
12595 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12596
b37984ad
JM
12597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12598 variable LX with __attribute__ ((unused)).
12599 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12600 Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12604 with __attribute__ ((unused)).
12605
c8df52ec
DM
126062012-12-04 David S. Miller <davem@abraco.davemloft.net>
12607
12608 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12609
b3b099af
JM
126102012-12-04 Joseph Myers <joseph@codesourcery.com>
12611
c33aa6e3
JM
12612 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12613 (CFLAGS-nldbl-acos.c): New variable.
12614 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12615 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12616 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12617 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12618 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12619 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12620 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12621 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12622 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12623 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12624 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12625 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12626 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12627 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12628 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12629 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12630 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12631 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12632 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12633 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12634 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12635 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12636 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12637 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12638 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12639 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12640 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12641 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12642 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12643 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12644 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12645 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12646 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12647 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12648 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12653 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12654 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12655 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12656 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12657 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12668 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12669 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12670 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12671 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12672 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12673 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12674 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12675 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12676 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12681 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12682 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12683 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12684 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12685 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12686 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12687 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12688 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12689 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12690 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12691 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12692 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12693 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12694 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12699 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12700 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12701 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12702 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12703 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12704 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12705 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12706 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12707 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12708 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12709 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12710 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12711
20f0018d
JM
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12713 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12714
b3b099af
JM
12715 [BZ #14914]
12716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12717 whole low double instead of just low 47 bits when splitting values
12718 into two parts.
12719
029264d1
AM
127202012-12-03 Allan McRae <allan@archlinux.org>
12721
12722 * manual/stdio.texi (Predefined Printf Handlers): Remove
12723 @hsep and @vsep usage.
12724
c9d6789e
MF
127252012-12-03 Mike Frysinger <vapier@gentoo.org>
12726
12727 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12728 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12729
4b7634a5
JL
127302012-12-03 Jeff Law <law@redhat.com>
12731
12732 * time/sys/time.h (settimeofday): Do not mark TV argument
12733 as __nonnull.
12734
eb6cbd24
MF
127352012-12-01 Mike Frysinger <vapier@gentoo.org>
12736
12737 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12738 when currently writing and seek to current position when not.
12739 * libio/Makefile (tests): Remove bug-fclose1.
12740 * libio/bug-fclose1.c: Delete.
12741
f638872a
JM
127422012-12-01 Joseph Myers <joseph@codesourcery.com>
12743
12744 * manual/arith.texi (feenableexcept): Fix typo.
12745 (fedisableexcept): Likewise.
12746
48085d14
RM
127472012-11-30 Roland McGrath <roland@hack.frob.com>
12748
12749 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12750 second, differently-typed declaration, rather than a cast.
12751
1a538b9f
SP
127522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12753
12754 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12755 * include/rpc/svc.h: ... here.
12756
d07f2ff1 127572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12758
12759 [BZ #13013]
12760 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12761 depending n and resplen2 to catch cases where answer
12762 equals answerp2.
12763
c93ec1f0
CD
127642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12765
12766 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12767 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12768
37db69de
MF
127692012-11-29 Mike Frysinger <vapier@gentoo.org>
12770
12771 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12772
e10c4e4f
RM
127732012-11-29 Roland McGrath <roland@hack.frob.com>
12774
12775 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12776
2af1b328
JL
127772012-11-28 Jeff Law <law@redhat.com>
12778
12779 [BZ #13761]
12780 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12781 dataset_temporary. Track alloca usage into alloca_used.
12782 If dataset is large allocate and release it via malloc/free.
12783
111db5b1
FW
127842012-06-04 Florian Weimer <fweimer@redhat.com>
12785
f06cc227 12786 [BZ #14197]
111db5b1
FW
12787 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12788
dd694abd
DM
127892012-11-28 David S. Miller <davem@davemloft.net>
12790
12791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12792
9984dd01
JM
127932012-11-28 Joseph Myers <joseph@codesourcery.com>
12794
12795 [BZ #14803]
12796 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12797 of pi/2 rounded to nearest to 64 bits.
12798 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12799 nearest to 64 bits.
12800 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12801 bits.
12802
14bc93a9
JL
128032012-11-28 Jeff Law <law@redhat.com>
12804 Martin Osvald <mosvald@redhat.com>
12805
12806 [BZ #14889]
12807 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12808 * sunrpc/svc.c: Include time.h.
12809 (__svc_accept_failed): New function.
12810 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12811 any reason other than EINTR, call __svc_accept_failed.
12812 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12813 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12814
e3c6aa3a
AS
128152012-11-28 Andreas Schwab <schwab@suse.de>
12816
12817 * scripts/abilist.awk: Also handle indirect functions in .opd
12818 section.
12819
1bead169
JM
128202012-11-28 Joseph Myers <joseph@codesourcery.com>
12821
12822 [BZ #13881]
12823 * sysdeps/x86/fpu/powl_helper.c: New file.
12824 * sysdeps/x86/fpu/Makefile: Likewise.
12825 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12826 (p3): New object.
12827 (__ieee754_powl): Use __powl_helper for finite arguments except
12828 integer exponents below 8.
12829 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12830 (p3): New object.
12831 (__ieee754_powl): Use __powl_helper for finite arguments except
12832 integer exponents below 8.
12833 * math/libm-test.inc (pow_test): Add more tests and enable some
12834 previously disabled tests.
12835 * sysdeps/i386/fpu/libm-test-ulps: Update.
12836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12837
0817d63d
SP
128382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12839 Carlos O'Donell <carlos_odonell@mentor.com>
12840
12841 * nss/makedb.c (is_prime): Assert that input is odd and greater
12842 than 4. Note that fact in a comment too.
12843 (next_prime): Add 4 to input.
12844
de2fd463
SP
128452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
12847 [BZ #11741]
12848 * libio/Makefile (tests): Add test case tst-fwrite-error.
12849 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12850 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12851 * libio/tst-fwrite-error.c: New test case.
12852
c515fb51
L
128532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12854
12855 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12856 before casting to void *.
12857 * include/libc-internal.h (__pointer_type): New macro.
12858 (__integer_if_pointer_type_sub): Likewise.
12859 (__integer_if_pointer_type): Likewise.
12860 (cast_to_integer): Likewise.
12861 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12862 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12863 before casting to atomic64_t.
12864 (atomic_exchange_acq): Likewise.
12865 (__arch_exchange_and_add_body): Likewise.
12866 (__arch_add_body): Likewise.
12867 (atomic_add_negative): Likewise.
12868 (atomic_add_zero): Likewise.
12869
4cf77aa9
JM
128702012-11-26 Joseph Myers <joseph@codesourcery.com>
12871
12872 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12873 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12874 (add_fdes): Likewise.
12875 (linear_search_fdes): Likewise.
12876 (binary_search_unencoded_fdes): Likewise.
12877
d260b3b4
AS
128782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12879
12880 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12881
67060746
AC
128822012-11-24 Adam Conrad <adconrad@0c3.net>
12883
12884 * configure.in: Autodetect C++ header directories.
12885 * configure: Regenerated.
12886
800938a1
MF
128872012-11-23 Mike Frysinger <vapier@gentoo.org>
12888
12889 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12890
4e6e34e6
AS
128912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12892
12893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12894
7c7feb47
JM
128952012-11-22 Joseph Myers <joseph@codesourcery.com>
12896
7184dcdf
JM
12897 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12898 LDBL_MANT_DIG == 106]: Disable some tests.
12899 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12900 Likewise.
12901 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12902 Likewise.
12903
0a42601f
JM
12904 [BZ #14871]
12905 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12906 input for small inputs. Return +/- pi/2 for large inputs.
12907 * math/libm-test.inc (atan_test): Add more tests.
12908
79c9b9fe
JM
12909 * sysdeps/generic/unwind-dw2-fde-glibc.c
12910 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12911 __attribute__ ((unused)).
12912
c60d3bf2
JM
12913 [BZ #14645]
12914 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12915 x * y if x and y are nonzero and z is zero.
12916
ef1e0867
JM
12917 [BZ #14811]
12918 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12919 nonzero exponents with absolute value below 0x1p-117 to +/-
12920 0x1p-117.
12921
1468ded3
JM
12922 [BZ #14869]
12923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12924 up arguments below 2**-450, not just those below 2**-500.
12925 * math/libm-test.inc (hypot_test): Add another test.
12926
8e27e3cc
JM
12927 [BZ #14868]
12928 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12929 Return a+b for ratio over 2**120, not 2**60.
12930 * math/libm-test.inc (hypot_test): Add another test.
12931
c9c0279b
JM
12932 * math/libm-test.inc (clog_test): Use
12933 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12934 (clog10_test): Likewise.
12935
7c7feb47
JM
12936 [BZ #6778]
12937 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12938
fff1530e
AS
129392012-11-22 Andreas Schwab <schwab@suse.de>
12940
12941 * sysdeps/i386/fpu/libm-test-ulps: Update.
12942
94558d30
PT
129432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12944
12945 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12946 printf output with newline.
12947
7e1be741
L
129482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12949
6bfea974
L
12950 [BZ #14865]
12951 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12952 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12953 -z nodlopen, -z initfirst and -z execstack support.
12954 * configure: Regenerated.
12955
7e1be741
L
12956 * elf/elf.h (DF_1_NODIRECT): New macro.
12957 (DF_1_IGNMULDEF): Likewise.
12958 (DF_1_NOKSYMS): Likewise.
12959 (DF_1_NOHDR): Likewise.
12960 (DF_1_EDITED): Likewise.
12961 (DF_1_NORELOC): Likewise.
12962 (DF_1_SYMINTPOSE): Likewise.
12963 (DF_1_GLOBAUDIT): Likewise.
12964 (DF_1_SINGLETON): Likewise.
12965 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12966 DT_1_SUPPORTED_MASK bits.
12967 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12968
105ce2ce
CD
129692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12970
12971 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12972
123be9de
TS
129732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12974
d072f3f7
TS
12975 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12976 macro.
12977
123be9de
TS
12978 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12979 (sendmmsg): Move declarations...
12980 * socket/sys/socket.h: ... here.
12981 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12982 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12983 include it from...
12984 * socket/recvmmsg.c: ... this new file.
12985 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12986 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12987 definition of __sendmmsg hidden.
12988 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12989 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12990 Move ENOSYS stub into and include it from...
12991 * socket/sendmmsg.c: ... this new file.
12992 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12993 (sysdep_routines): Move recvmmsg and sendmmsg...
12994 * socket/Makefile (routines): ... here.
12995 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12996 (GLIBC_PRIVATE): Add __sendmmsg.
12997 * include/sys/socket.h (__sendmmsg): Add declarations.
12998 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12999 sendmmsg.
13000
cf9a5d18
JM
130012012-11-20 Joseph Myers <joseph@codesourcery.com>
13002
13003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13004 variable I1 with __attribute__ ((unused)).
13005 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13006
ecd4caf9
JM
130072012-11-19 Joseph Myers <joseph@codesourcery.com>
13008
be14d48f
JM
13009 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13010 DUMMY variables with __attribute__ ((unused)).
13011
ecd4caf9
JM
13012 * bits/byteswap.h: Include <bits/types.h>.
13013 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13014
986cab95
PT
130152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13016
13017 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13018 string_t. Do not manually set errno.
13019 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13020 length with __strnlen. Make sure to both set errno and return it on
13021 failure.
13022
6d33cc9d
DM
130232012-11-19 David S. Miller <davem@davemloft.net>
13024
13025 With help from Joseph Myers.
13026 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13027 very large arguments properly.
13028 * math/libm-test.inc (atan_test): New tests.
13029 (atan2_test): New tests.
13030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13032
ee663277
JM
130332012-11-19 Joseph Myers <joseph@codesourcery.com>
13034
877f2d8e
JM
13035 [BZ #14856]
13036 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13037 Define to 3.
13038
116fc08a
JM
13039 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13040 [POSIX] (EADDRNOTAVAIL): Likewise.
13041 [POSIX] (EAFNOSUPPORT): Likewise.
13042 [POSIX] (EALREADY): Likewise.
13043 [POSIX] (ECONNABORTED): Likewise.
13044 [POSIX] (ECONNREFUSED): Likewise.
13045 [POSIX] (ECONNRESET): Likewise.
13046 [POSIX] (EDESTADDRREQ): Likewise.
13047 [POSIX] (EDQUOT): Likewise.
13048 [POSIX] (EHOSTUNREACH): Likewise.
13049 [POSIX] (EIDRM): Likewise.
13050 [POSIX] (EISCONN): Likewise.
13051 [POSIX] (ELOOP): Likewise.
13052 [POSIX] (EMULTIHOP): Likewise.
13053 [POSIX] (ENETDOWN): Likewise.
13054 [POSIX] (ENETUNREACH): Likewise.
13055 [POSIX] (ENOBUFS): Likewise.
13056 [POSIX] (ENODATA): Likewise.
13057 [POSIX] (ENOLINK): Likewise.
13058 [POSIX] (ENOMSG): Likewise.
13059 [POSIX] (ENOPROTOOPT): Likewise.
13060 [POSIX] (ENOSR): Likewise.
13061 [POSIX] (ENOSTR): Likewise.
13062 [POSIX] (ENOTCONN): Likewise.
13063 [POSIX] (ENOTSOCK): Likewise.
13064 [POSIX] (EOPNOTSUPP): Likewise.
13065 [POSIX] (EOVERFLOW): Likewise.
13066 [POSIX] (EPROTO): Likewise.
13067 [POSIX] (EPROTONOSUPPORT): Likewise.
13068 [POSIX] (EPROTOTYPE): Likewise.
13069 [POSIX] (ESTALE): Likewise.
13070 [POSIX] (ETIME): Likewise.
13071 [POSIX] (ETXTBSY): Likewise.
13072 [POSIX] (EWOULDBLOCK): Likewise.
13073 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13074 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13075 [POSIX] (SEEK_CUR): Likewise.
13076 [POSIX] (SEEK_END): Likewise.
13077 [POSIX || UNIX98] (mode_t): Do not require.
13078 [POSIX] (off_t): Likewise.
13079 [POSIX] (pid_t): Likewise.
13080 [POSIX] (sys/stat.h): Do not allow header.
13081 [POSIX] (unistd.h): Likewise.
13082 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13083 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13084 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13085 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13086 require.
13087 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13088 sigevent): Specify elements.
13089 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13090 entry.
13091 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13092 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13093
a483863f
JM
13094 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13095 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13096 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13097 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13098 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13099 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13100 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13101 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13102 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13103 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13104 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13105 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13106 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13107 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13108 Likewise.
13109 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13110 Likewise.
13111 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13112 Likewise.
13113 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13114 Likewise.
13115 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13116 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13117 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13118 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13119 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13120 Specify lower bound on value.
13121 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13122 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13123 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13124 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13125 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13126 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13127 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13128 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13129 value.
13130 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13131 as optional.
13132 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13133 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13134 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13135 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13136 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13137 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13138 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13139 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13140 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13141 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13142 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13143 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13144 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13145 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13146 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13147 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13148 entry.
13149 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13150 optional.
13151 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13152 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13153 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13154 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13155 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13156 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13157 Likewise.
13158 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13159 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13160 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13161 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13162 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13163 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13164 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13165 as optional.
13166 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13167 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13168 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13169 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13170 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13171 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13172 specify as optional.
13173 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13174 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13175 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13176 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13177 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13178 [XPG3] (NL_LANGMAX): Likewise.
13179 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13180 [POSIX || XPG3] (NL_NMAX): Likewise.
13181 [POSIX || XPG3] (NL_SETMAX): Likewise.
13182 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13183 [XPG3] (NZERO): Likewise.
13184 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13185 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13186 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13187 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13188 (REG_ERANGE): Expect.
13189 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13190 optional-constant.
13191 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13192 Use (void) in prototype.
13193 [POSIX] (*_t): Allow.
13194 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13195 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13196 (WRDE_BADVAL): Expect.
13197
5ba924e3
JM
13198 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13199 expect.
13200 [XPG3 || XPG4] (O_RSYNC): Likewise.
13201 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13202 Likewise.
13203 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13204 [XPG3 || XPG4] (sigqueue): Likewise.
13205 [XPG3 || XPG4] (sigtimedwait): Likewise.
13206 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13207 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13208 [XPG3 || XPG4] (vsnprintf): Likewise.
13209 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13210 Likewise.
13211 [XPG3 || XPG4] (blksize_t): Likewise.
13212 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13213 Likewise.
13214 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13215 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13216 [XPG3 || XPG4] (struct itimerspec): Likewise.
13217 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13218 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13219 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13220 [XPG3 || XPG4] (clockid_t): Likewise.
13221 [XPG3 || XPG4] (timer_t): Likewise.
13222 [XPG3 || XPG4] (clock_getres): Likewise.
13223 [XPG3 || XPG4] (clock_gettime): Likewise.
13224 [XPG3 || XPG4] (clock_settime): Likewise.
13225 [XPG3 || XPG4] (nanosleep): Likewise.
13226 [XPG3 || XPG4] (timer_create): Likewise.
13227 [XPG3 || XPG4] (timer_delete): Likewise.
13228 [XPG3 || XPG4] (timer_gettime): Likewise.
13229 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13230 [XPG3 || XPG4] (timer_settime): Likewise.
13231 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13232 [XPG3 || XPG4] (getlogin_r): Likewise.
13233 [XPG3 || XPG4] (pread): Likewise.
13234 [XPG3 || XPG4] (pthread_atfork): Likewise.
13235 [XPG3 || XPG4] (pwrite): Likewise.
13236
ee663277
JM
13237 [BZ #14835]
13238 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13239 <bits/siginfo.h>.
13240
942caa16
PT
132412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13242
e19af380
PT
13243 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13244 finalizing MALLSTREAM.
13245
942caa16
PT
13246 * sysdeps/mach/hurd/syncfs.c: New file.
13247
cfde9b46
SP
132482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13249
13250 [BZ #14719]
13251 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13252 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13253 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13254 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13255 (_nss_dns_gethostbyname4_r): Likewise.
13256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13257 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13258
f6da27e5
PH
132592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13260
13261 [BZ #13763]
13262 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13263
6665d4a2
SM
132642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13265
1f51ee92
SM
13266 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13267 * elf/cache.c (print_entry): Print ",AArch64" for
13268 FLAG_AARCH64_LIB64
13269
6665d4a2
SM
13270 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13271 * elf/cache.c (print_entry): Print ",hard-float" for
13272 FLAG_ARM_LIBHF.
13273
05b227bd
DM
132742012-11-18 David S. Miller <davem@davemloft.net>
13275
13276 With help from Joseph Myers.
13277 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13278 cutoff to 2**-13.
13279 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13280 cutoff to 2**-25.
13281 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13282 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13283 small.
13284 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13285 * math/libm-test.inc (y0_test): New tests.
13286 (y1_test): New tests.
13287 * sysdeps/i386/fpu/libm-test-ulps: Update.
13288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13290
786b0b67
AS
132912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13292
13293 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13294 64-bit targets.
13295 * configure: Regenerated.
13296
8e18b86d
DM
132972012-11-17 David S. Miller <davem@davemloft.net>
13298
13299 [BZ #14811]
13300 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13301 nonzero exponents with absolute value below 0x1p-128 to +/-
13302 0x1p-128.
13303
531f1ae0
JM
133042012-11-17 Joseph Myers <joseph@codesourcery.com>
13305
12df29e2
JM
13306 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13307
150dc1a0
JM
13308 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13309
531f1ae0
JM
13310 * posix/getconf-speclist.c: New file.
13311 * posix/posix-envs.def: Likewise.
13312 * posix/confstr.c (START_ENV_GROUP): New macro.
13313 (END_ENV_GROUP): Likewise.
13314 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13315 (KNOWN_PRESENT_ENV_STRING): Likewise.
13316 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13317 (UNKNOWN_ENVIRONMENT): Likewise.
13318 (confstr): Include posix-envs.def instead of handling
13319 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13320 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13321 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13322 (END_ENV_GROUP): Likewise.
13323 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13324 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13325 (UNKNOWN_ENVIRONMENT): Likewise.
13326 (__sysconf): Include posix-envs.def instead of handling associated
13327 cases directly here.
13328 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13329 preprocessing getconf-speclist.c rather than running getconf or
13330 generating empty file.
13331
a93f9cbc
PT
133322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13333
13334 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13335
d64d9f87
AL
133362012-11-16 Andrej Lajovic <natrij@gmail.com>
13337
13338 [BZ #14672]
13339 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13340
447885eb
DM
133412012-11-16 David S. Miller <davem@davemloft.net>
13342
13343 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13344 smaller than LDBL_EPSILON/2.0L, just return xm1.
13345
bcbf9830
L
133462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 * elf/tst-array1.c (init): Set constructor priority to 1000.
13349 (fini): Set destructor priority to 1000.
13350 * elf/tst-array2dep.c: Likewise.
13351
2b766585
SP
133522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13353
13354 [BZ #11741]
13355 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13356 (_IO_new_file_xsputn): Also return EOF if none of the input
13357 data was written when overflow failed.
13358 * libio/iopadn.c (_IO_padn): Likewise.
13359 * libio/iowpadn.c (_IO_wpadn): Likewise.
13360 * stdio-common/tst-put-error.c: Add copyright notice.
13361 (do_test): Add case for printing padded string.
13362 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13363 _IO_padn returned error.
13364 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13365 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13366 return EOF.
13367
b1848fde
SP
133682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13369
13370 * libio/libioP.h: Add comment note that the references to C++
13371 bits are now obsolete.
13372
2fd89785
MS
133732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13374
13375 * math/libm-test.inc (check_complex): Use asprintf.
13376
e3ea5409
JM
133772012-11-14 Joseph Myers <joseph@codesourcery.com>
13378
13379 * debug/pcprofiledump.c (print_version): Update copyright year.
13380 * malloc/memusagestat.c (print_version): Likewise.
13381
2e64d265
L
133822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13383
13384 [BZ #14831]
13385 * elf/Makefile (tests): Add tst-audit8.
13386 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13387 ($(objpfx)tst-audit8.out): New target.
13388 (tst-audit8-ENV): New variable.
13389 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13390 audit if l_reloc_result is NULL.
13391 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13392 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13393 * elf/tst-audit8.c: New file.
13394
c485e4d2
MS
133952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13396
13397 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13398 * misc/Makefile (CFLAGS-select.c): Define.
13399 * posix/Makefile (CFLAGS-pause.c): Define.
13400
3a0d900a
DM
134012012-11-13 David S. Miller <davem@davemloft.net>
13402
13403 * crypt/Makefile: Move test targets after toplevel Rules
13404 inclusion. Grab any necessary sysdep routines when linking.
13405 * crypt/md5.c (md5_process_block): Remove define, we will always
13406 name it __md5_process_block.
13407 (md5_finish_ctx): Update md5_process_block call.
13408 (md5_stream): Likewise.
13409 (md5_process_bytes): Likewise.
13410 (md5_process_block): Rename to __md5_process_block and move to ...
13411 * crypt/md5-block.c: ... here.
13412 * crypt/sha256.c (sha256_process_block): Move to ...
13413 * crypt/sha256-block.c: ... here.
13414 * crypt/sha512.c (sha512_process_block): Move to ...
13415 * crypt/sha512-block.c: ... here.
13416 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13417 path.
13418 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13419 * sysdeps/sparc/sparc64/multiarch/Makefile
13420 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13421 crypt subdir.
13422 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13423 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13424 multiarch changes.
13425 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13426 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13427 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13428 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13429 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13430 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13431 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13432 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13433 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13434 file.
13435 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13436 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13437 file.
13438 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13439
8ca89318
JM
134402012-11-13 Joseph Myers <joseph@codesourcery.com>
13441
e27d476a
JM
13442 * timezone/tzselect.ksh: Update from tzcode git revision
13443 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13444 * timezone/zdump.c: Likewise.
13445 * timezone/zic.c: Likewise.
13446 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13447 in TZVERSION setting, not $(PKGVERSION).
13448 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13449 REPORT_BUGS_TO settings.
13450
8ca89318
JM
13451 [BZ #14838]
13452 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13453 macro.
13454
47594329
MS
134552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13456
13457 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13458 detection to immediately after _FP_ROUND().
13459 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13460 bits are 0.
13461
640ac3f1
DM
134622012-11-11 David S. Miller <davem@davemloft.net>
13463
13464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13465 inttypes.h
13466 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13467 __close rather than their public counterparts.
13468
3d2577bb
JM
134692012-11-10 Joseph Myers <joseph@codesourcery.com>
13470
13471 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13472 file.
13473 [UNIX98] (sem_timedwait): Do not expect.
13474 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13475 [XPG4 || UNIX98] (sockatmark): Do not expect.
13476 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13477 (clock_getcpuclockid): Do not expect.
13478 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13479 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13480 Do not expect.
13481 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13482 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13483 [UNIX98] (vwscanf): Likewise.
13484 [UNIX98] (vswscanf): Likewise.
13485
fb1ae1ee
JM
134862012-11-09 Joseph Myers <joseph@codesourcery.com>
13487
9ec6f8bd
JM
13488 * timezone/version.h: Remove file.
13489 * timezone/README: Do not refer to version.h.
13490 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13491 $(objpfx)version.h.
13492 ($(objpfx)zdump.o): Likewise.
c3f81911 13493 ($(objpfx)version.h): New target.
9ec6f8bd 13494
0aa8f8a1
JM
13495 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13496 2012i.
13497 * timezone/README: Don't mention modification to tzselect.ksh.
13498 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13499 work on unmodified tzselect.ksh. Substitute version numbers in
13500 tzselect.ksh.
13501
4e87147f
JM
13502 * Makefile (format-me): Remove.
13503 (INSTALL): Adjust indentation. Use commands directly instead of
13504 using $(format-me).
13505
8b748aed
JM
13506 * aclocal.m4 (ACX_PKGVERSION): New macro.
13507 (ACX_BUGURL): Likewise.
13508 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13509 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13510 (REPORT_BUGS_TO): Likewise.
13511 * configure: Regenerated.
13512 * config.h.in (PKGVERSION): New macro.
13513 (REPORT_BUGS_TO): Likewise.
13514 * config.make.in (PKGVERSION): New variable.
13515 (PKGVERSION_TEXI): Likewise.
13516 (REPORT_BUGS_TO): Likewise.
13517 (REPORT_BUGS_TEXI): Likewise.
13518 * Makefile (format-me): Use -I$(common-objpfx)manual.
13519 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13520 ($(common-objpfx)manual/%): New target.
13521 (manual/%): Remove target.
13522 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13523 (print_version): Use PKGVERSION.
13524 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13525 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13526 and REPORT_BUGS_TO.
13527 ($(objpfx)xtrace): Likewise.
13528 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13529 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13530 (print_version): Use PKGVERSION.
13531 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13532 (do_version): Use PKGVERSION.
13533 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13534 REPORT_BUGS_TO.
13535 (common-ldd-rewrite): Likewise.
13536 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13537 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13538 (print_version): Use PKGVERSION.
13539 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13540 * elf/pldd.c (argp_program_bug_address): Remove variable.
13541 (more_help): New function.
13542 (argp): Use more_help.
13543 (print_version): Use PKGVERSION.
13544 * elf/sln.c (main): Use PKGVERSION.
13545 (usage): Use REPORT_BUGS_TO.
13546 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13547 (top level): Use PKGVERSION.
13548 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13549 (print_version): Use PKGVERSION.
13550 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13551 (print_version): Use PKGVERSION.
13552 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13553 (print_version): Use PKGVERSION.
13554 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13555 (print_version): Use PKGVERSION.
13556 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13557 (print_version): Use PKGVERSION.
13558 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13559 (print_version): Use PKGVERSION.
13560 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13561 and BUGURL.
13562 ($(objpfx)memusage): Likewise.
13563 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13564 (do_version): Use PKGVERSION.
13565 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13566 (print_version): Use PKGVERSION.
13567 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13568 ($PKGVERSION): New variable.
13569 ($REPORT_BUGS_TO): Likewise.
13570 (usage): Use $REPORT_BUGS_TO.
13571 (top level): Use $PKGVERSION.
13572 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13573 ($(objpfx)pkgvers.texi): New rule.
13574 ($(objpfx)stamp-pkgvers): Likewise.
13575 * manual/install.texi: Include pkgvers.texi.
13576 (--with-pkgversion): Document new configure option.
13577 (--with-bugurl): Likewise.
13578 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13579 than necessarily for this particular distribution. Use
13580 REPORT_BUGS_TO for where to report bugs.
13581 * INSTALL: Regenerated.
13582 * manual/libc.texinfo: Include pkgvers.texi.
13583 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13584 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13585 (print_version): Use PKGVERSION.
13586 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13587 (print_version): Use PKGVERSION.
13588 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13589 (print_version): Use PKGVERSION.
13590 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13591 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13592 macro.
13593 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13594 (print_version): Use PKGVERSION.
13595 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13596 (print_version): Use PKGVERSION.
13597 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13598 and PKGVERSION.
13599
92e4b6a9
JM
13600 * timezone/checktab.awk: Update from tzcode 2012i.
13601 * timezone/ialloc.c: Likewise.
13602 * timezone/private.h: Likewise.
13603 * timezone/scheck.c: Likewise.
13604 * timezone/tzfile.h: Likewise.
13605 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13606 (TZVERSION): Hardcode tzcode version number.
13607 * timezone/zdump.c: Update from tzcode 2012i.
13608 * timezone/zic.c: Likewise.
13609 * timezone/version.h: New file.
13610 * timezone/README: Describe version.h. Update upstream location.
13611
9bde902c
JM
13612 [BZ #14824]
13613 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13614 (mktemp): Enable declaration.
13615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13619 Likewise.
13620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13621 Likewise.
13622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13623 Likewise.
13624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13625 Likewise.
13626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13627 Likewise.
13628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13629 Likewise.
13630
fb1ae1ee
JM
13631 [BZ #14821]
13632 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13633 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13634 for copies of such integer values.
13635 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13636 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13637
2c1adbcb
AJ
136382012-11-09 Andreas Jaeger <aj@suse.de>
13639
13640 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13641 definitions and declarations that are provided by
13642 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13643
d0f8457e
AK
136442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13645
3a235abb 13646 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13647 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13648 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13649 definition.
13650
57241e26
MS
136512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13652
13653 * elf/elf.h: Update comment before AArch64 relocations.
13654
60e8270d
DM
136552012-11-07 David S. Miller <davem@davemloft.net>
13656
13657 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13658 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13659 (__start_context): Declare.
13660 (__makecontext_ret): Delete.
13661 (__makecontext): Hook up __start_context instead of
13662 __makecontext_ret.
13663 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13664 (sysdep_routines): Add __start_context when in stdlib.
13665
0fbb0fbc
JM
136662012-11-07 Joseph Myers <joseph@codesourcery.com>
13667
13668 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13669 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13670 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13671 hardcoded "nm".
13672 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13673 (READELF): New variable. Use it instead of hardcoded "readelf".
13674
eb48db7e
L
136752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13678 * sysdeps/x86/Makefile: Here.
13679 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13680 * sysdeps/x86/tst-xmmymm.sh: This.
13681
05bcf62a
JM
136822012-11-07 Joseph Myers <joseph@codesourcery.com>
13683
c4b6cf53
JM
13684 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13685 expectations.
13686 [UNIX98] (pthread_barrier_t): Do not expect.
13687 [UNIX98] (pthread_barrierattr_t): Likewise.
13688 [UNIX98] (pthread_spinlock_t): Likewise.
13689 [UNIX98] (pthread_barrier_destroy): Likewise.
13690 [UNIX98] (pthread_barrier_init): Likewise.
13691 [UNIX98] (pthread_barrier_wait): Likewise.
13692 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13693 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13694 [UNIX98] (pthread_barrierattr_init): Likewise.
13695 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13696 [UNIX98] (pthread_getcpuclockid): Likewise.
13697 [UNIX98] (pthread_mutex_timedlock): Likewise.
13698 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13699 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13700 [UNIX98] (pthread_sigmask): Likewise.
13701 [UNIX98] (pthread_spin_destroy): Likewise.
13702 [UNIX98] (pthread_spin_init): Likewise.
13703 [UNIX98] (pthread_spin_lock): Likewise.
13704 [UNIX98] (pthread_spin_trylock): Likewise.
13705 [UNIX98] (pthread_spin_unlock): Likewise.
13706 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13707 Do not expect.
13708 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13710 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13711 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13712 [XPG3 || XPG4] (pthread_key_t): Likewise.
13713 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13714 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13715 [XPG3 || XPG4] (pthread_once_t): Likewise.
13716 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13717 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13719 [XPG3 || XPG4] (pthread_t): Likewise.
13720
cbe6e120
JM
13721 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13722 not expect.
13723 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13724
1b126443
JM
13725 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13726 Change function return type to int.
13727
b961a573
JM
13728 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13729 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13730 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13731 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13732 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13733 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13734 [!POSIX] (posix_madvise): Likewise.
13735 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13736 && !UNIX98].
13737 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13738 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13739 (mode_t): Likewise.
13740 (posix_mem_offset): Likewise.
13741 (posix_typed_mem_get_info): Likewise.
13742 (posix_typed_mem_open): Likewise.
13743
9e188909
JM
13744 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13745 Change condition to [XOPEN2K8].
13746
05bcf62a
JM
13747 * conform/conformtest.pl: Preprocess allow-header data with -x c
13748 instead of from stdin.
13749 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13750 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13751 [C99-based standards] (cerfc): Likewise.
13752 [C99-based standards] (cexp2): Likewise.
13753 [C99-based standards] (cexpm1): Likewise.
13754 [C99-based standards] (clog10): Likewise.
13755 [C99-based standards] (clog1p): Likewise.
13756 [C99-based standards] (clog2): Likewise.
13757 [C99-based standards] (clgamma): Likewise.
13758 [C99-based standards] (ctgamma): Likewise.
13759 [C99-based standards] (cerff): Likewise.
13760 [C99-based standards] (cerfcf): Likewise.
13761 [C99-based standards] (cexp2f): Likewise.
13762 [C99-based standards] (cexpm1f): Likewise.
13763 [C99-based standards] (clog10f): Likewise.
13764 [C99-based standards] (clog1pf): Likewise.
13765 [C99-based standards] (clog2f): Likewise.
13766 [C99-based standards] (clgammaf): Likewise.
13767 [C99-based standards] (ctgammaf): Likewise.
13768 [C99-based standards] (cerfl): Likewise.
13769 [C99-based standards] (cerfcl): Likewise.
13770 [C99-based standards] (cexp2l): Likewise.
13771 [C99-based standards] (cexpm1l): Likewise.
13772 [C99-based standards] (clog10l): Likewise.
13773 [C99-based standards] (clog1pl): Likewise.
13774 [C99-based standards] (clog2l): Likewise.
13775 [C99-based standards] (clgammal): Likewise.
13776 [C99-based standards] (ctgammal): Likewise.
13777 * conform/data/inttypes.h-data [C99-based standards]: Include
13778 stdint.h-data. Remove all expectations for stdint.h contents.
13779 [C99-based standards] (PRI*): Do not allow.
13780 [C99-based standards] (SCN*): Likewise.
13781 [C99-based standards] (*_t): Likewise.
13782 [C99-based-standards] (PRId8): Expect macro.
13783 [C99-based-standards] (PRIi8): Likewise.
13784 [C99-based-standards] (PRIo8): Likewise.
13785 [C99-based-standards] (PRIu8): Likewise.
13786 [C99-based-standards] (PRIx8): Likewise.
13787 [C99-based-standards] (PRIX8): Likewise.
13788 [C99-based-standards] (SCNd8): Likewise.
13789 [C99-based-standards] (SCNi8): Likewise.
13790 [C99-based-standards] (SCNo8): Likewise.
13791 [C99-based-standards] (SCNu8): Likewise.
13792 [C99-based-standards] (SCNx8): Likewise.
13793 [C99-based-standards] (PRIdLEAST8): Likewise.
13794 [C99-based-standards] (PRIiLEAST8): Likewise.
13795 [C99-based-standards] (PRIoLEAST8): Likewise.
13796 [C99-based-standards] (PRIuLEAST8): Likewise.
13797 [C99-based-standards] (PRIxLEAST8): Likewise.
13798 [C99-based-standards] (PRIXLEAST8): Likewise.
13799 [C99-based-standards] (SCNdLEAST8): Likewise.
13800 [C99-based-standards] (SCNiLEAST8): Likewise.
13801 [C99-based-standards] (SCNoLEAST8): Likewise.
13802 [C99-based-standards] (SCNuLEAST8): Likewise.
13803 [C99-based-standards] (SCNxLEAST8): Likewise.
13804 [C99-based-standards] (PRIdFAST8): Likewise.
13805 [C99-based-standards] (PRIiFAST8): Likewise.
13806 [C99-based-standards] (PRIoFAST8): Likewise.
13807 [C99-based-standards] (PRIuFAST8): Likewise.
13808 [C99-based-standards] (PRIxFAST8): Likewise.
13809 [C99-based-standards] (PRIXFAST8): Likewise.
13810 [C99-based-standards] (SCNdFAST8): Likewise.
13811 [C99-based-standards] (SCNiFAST8): Likewise.
13812 [C99-based-standards] (SCNoFAST8): Likewise.
13813 [C99-based-standards] (SCNuFAST8): Likewise.
13814 [C99-based-standards] (SCNxFAST8): Likewise.
13815 [C99-based-standards] (PRId16): Likewise.
13816 [C99-based-standards] (PRIi16): Likewise.
13817 [C99-based-standards] (PRIo16): Likewise.
13818 [C99-based-standards] (PRIu16): Likewise.
13819 [C99-based-standards] (PRIx16): Likewise.
13820 [C99-based-standards] (PRIX16): Likewise.
13821 [C99-based-standards] (SCNd16): Likewise.
13822 [C99-based-standards] (SCNi16): Likewise.
13823 [C99-based-standards] (SCNo16): Likewise.
13824 [C99-based-standards] (SCNu16): Likewise.
13825 [C99-based-standards] (SCNx16): Likewise.
13826 [C99-based-standards] (PRIdLEAST16): Likewise.
13827 [C99-based-standards] (PRIiLEAST16): Likewise.
13828 [C99-based-standards] (PRIoLEAST16): Likewise.
13829 [C99-based-standards] (PRIuLEAST16): Likewise.
13830 [C99-based-standards] (PRIxLEAST16): Likewise.
13831 [C99-based-standards] (PRIXLEAST16): Likewise.
13832 [C99-based-standards] (SCNdLEAST16): Likewise.
13833 [C99-based-standards] (SCNiLEAST16): Likewise.
13834 [C99-based-standards] (SCNoLEAST16): Likewise.
13835 [C99-based-standards] (SCNuLEAST16): Likewise.
13836 [C99-based-standards] (SCNxLEAST16): Likewise.
13837 [C99-based-standards] (PRIdFAST16): Likewise.
13838 [C99-based-standards] (PRIiFAST16): Likewise.
13839 [C99-based-standards] (PRIoFAST16): Likewise.
13840 [C99-based-standards] (PRIuFAST16): Likewise.
13841 [C99-based-standards] (PRIxFAST16): Likewise.
13842 [C99-based-standards] (PRIXFAST16): Likewise.
13843 [C99-based-standards] (SCNdFAST16): Likewise.
13844 [C99-based-standards] (SCNiFAST16): Likewise.
13845 [C99-based-standards] (SCNoFAST16): Likewise.
13846 [C99-based-standards] (SCNuFAST16): Likewise.
13847 [C99-based-standards] (SCNxFAST16): Likewise.
13848 [C99-based-standards] (PRId32): Likewise.
13849 [C99-based-standards] (PRIi32): Likewise.
13850 [C99-based-standards] (PRIo32): Likewise.
13851 [C99-based-standards] (PRIu32): Likewise.
13852 [C99-based-standards] (PRIx32): Likewise.
13853 [C99-based-standards] (PRIX32): Likewise.
13854 [C99-based-standards] (SCNd32): Likewise.
13855 [C99-based-standards] (SCNi32): Likewise.
13856 [C99-based-standards] (SCNo32): Likewise.
13857 [C99-based-standards] (SCNu32): Likewise.
13858 [C99-based-standards] (SCNx32): Likewise.
13859 [C99-based-standards] (PRIdLEAST32): Likewise.
13860 [C99-based-standards] (PRIiLEAST32): Likewise.
13861 [C99-based-standards] (PRIoLEAST32): Likewise.
13862 [C99-based-standards] (PRIuLEAST32): Likewise.
13863 [C99-based-standards] (PRIxLEAST32): Likewise.
13864 [C99-based-standards] (PRIXLEAST32): Likewise.
13865 [C99-based-standards] (SCNdLEAST32): Likewise.
13866 [C99-based-standards] (SCNiLEAST32): Likewise.
13867 [C99-based-standards] (SCNoLEAST32): Likewise.
13868 [C99-based-standards] (SCNuLEAST32): Likewise.
13869 [C99-based-standards] (SCNxLEAST32): Likewise.
13870 [C99-based-standards] (PRIdFAST32): Likewise.
13871 [C99-based-standards] (PRIiFAST32): Likewise.
13872 [C99-based-standards] (PRIoFAST32): Likewise.
13873 [C99-based-standards] (PRIuFAST32): Likewise.
13874 [C99-based-standards] (PRIxFAST32): Likewise.
13875 [C99-based-standards] (PRIXFAST32): Likewise.
13876 [C99-based-standards] (SCNdFAST32): Likewise.
13877 [C99-based-standards] (SCNiFAST32): Likewise.
13878 [C99-based-standards] (SCNoFAST32): Likewise.
13879 [C99-based-standards] (SCNuFAST32): Likewise.
13880 [C99-based-standards] (SCNxFAST32): Likewise.
13881 [C99-based-standards] (PRId64): Likewise.
13882 [C99-based-standards] (PRIi64): Likewise.
13883 [C99-based-standards] (PRIo64): Likewise.
13884 [C99-based-standards] (PRIu64): Likewise.
13885 [C99-based-standards] (PRIx64): Likewise.
13886 [C99-based-standards] (PRIX64): Likewise.
13887 [C99-based-standards] (SCNd64): Likewise.
13888 [C99-based-standards] (SCNi64): Likewise.
13889 [C99-based-standards] (SCNo64): Likewise.
13890 [C99-based-standards] (SCNu64): Likewise.
13891 [C99-based-standards] (SCNx64): Likewise.
13892 [C99-based-standards] (PRIdLEAST64): Likewise.
13893 [C99-based-standards] (PRIiLEAST64): Likewise.
13894 [C99-based-standards] (PRIoLEAST64): Likewise.
13895 [C99-based-standards] (PRIuLEAST64): Likewise.
13896 [C99-based-standards] (PRIxLEAST64): Likewise.
13897 [C99-based-standards] (PRIXLEAST64): Likewise.
13898 [C99-based-standards] (SCNdLEAST64): Likewise.
13899 [C99-based-standards] (SCNiLEAST64): Likewise.
13900 [C99-based-standards] (SCNoLEAST64): Likewise.
13901 [C99-based-standards] (SCNuLEAST64): Likewise.
13902 [C99-based-standards] (SCNxLEAST64): Likewise.
13903 [C99-based-standards] (PRIdFAST64): Likewise.
13904 [C99-based-standards] (PRIiFAST64): Likewise.
13905 [C99-based-standards] (PRIoFAST64): Likewise.
13906 [C99-based-standards] (PRIuFAST64): Likewise.
13907 [C99-based-standards] (PRIxFAST64): Likewise.
13908 [C99-based-standards] (PRIXFAST64): Likewise.
13909 [C99-based-standards] (SCNdFAST64): Likewise.
13910 [C99-based-standards] (SCNiFAST64): Likewise.
13911 [C99-based-standards] (SCNoFAST64): Likewise.
13912 [C99-based-standards] (SCNuFAST64): Likewise.
13913 [C99-based-standards] (SCNxFAST64): Likewise.
13914 [C99-based-standards] (PRIdMAX): Likewise.
13915 [C99-based-standards] (PRIiMAX): Likewise.
13916 [C99-based-standards] (PRIoMAX): Likewise.
13917 [C99-based-standards] (PRIuMAX): Likewise.
13918 [C99-based-standards] (PRIxMAX): Likewise.
13919 [C99-based-standards] (PRIXMAX): Likewise.
13920 [C99-based-standards] (SCNdMAX): Likewise.
13921 [C99-based-standards] (SCNiMAX): Likewise.
13922 [C99-based-standards] (SCNoMAX): Likewise.
13923 [C99-based-standards] (SCNuMAX): Likewise.
13924 [C99-based-standards] (SCNxMAX): Likewise.
13925 [C99-based-standards] (PRIdPTR): Likewise.
13926 [C99-based-standards] (PRIiPTR): Likewise.
13927 [C99-based-standards] (PRIoPTR): Likewise.
13928 [C99-based-standards] (PRIuPTR): Likewise.
13929 [C99-based-standards] (PRIxPTR): Likewise.
13930 [C99-based-standards] (PRIXPTR): Likewise.
13931 [C99-based-standards] (SCNdPTR): Likewise.
13932 [C99-based-standards] (SCNiPTR): Likewise.
13933 [C99-based-standards] (SCNoPTR): Likewise.
13934 [C99-based-standards] (SCNuPTR): Likewise.
13935 [C99-based-standards] (SCNxPTR): Likewise.
13936 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13937 allow.
13938 * conform/data/stdint.h-data: Update comments to clarify
13939 requirements.
13940 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13941 type.
13942 [C99-based standards] (INT8_MAX): Likewise.
13943 [C99-based standards] (INT16_MIN): Likewise.
13944 [C99-based standards] (INT16_MAX): Likewise.
13945 [C99-based standards] (INT32_MIN): Likewise.
13946 [C99-based standards] (INT32_MAX): Likewise.
13947 [C99-based standards] (INT64_MIN): Likewise.
13948 [C99-based standards] (INT64_MAX): Likewise.
13949 [C99-based standards] (UINT8_MAX): Likewise.
13950 [C99-based standards] (UINT16_MAX): Likewise.
13951 [C99-based standards] (UINT32_MAX): Likewise.
13952 [C99-based standards] (UINT64_MAX): Likewise.
13953 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13954 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13955 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13956 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13957 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13958 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13959 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13960 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13961 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13962 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13963 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13964 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13965 [C99-based standards] (INT_FAST8_MIN): Likewise.
13966 [C99-based standards] (INT_FAST8_MAX): Likewise.
13967 [C99-based standards] (INT_FAST16_MIN): Likewise.
13968 [C99-based standards] (INT_FAST16_MAX): Likewise.
13969 [C99-based standards] (INT_FAST32_MIN): Likewise.
13970 [C99-based standards] (INT_FAST32_MAX): Likewise.
13971 [C99-based standards] (INT_FAST64_MIN): Likewise.
13972 [C99-based standards] (INT_FAST64_MAX): Likewise.
13973 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13974 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13975 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13976 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13977 [C99-based standards] (INTPTR_MIN): Likewise.
13978 [C99-based standards] (INTPTR_MAX): Likewise.
13979 [C99-based standards] (UINTPTR_MAX): Likewise.
13980 [C99-based standards] (INTMAX_MIN): Likewise.
13981 [C99-based standards] (INTMAX_MAX): Likewise.
13982 [C99-based standards] (UINTMAX_MAX): Likewise.
13983 [C99-based standards] (PTRDIFF_MIN): Likewise.
13984 [C99-based standards] (PTRDIFF_MAX): Likewise.
13985 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13986 [C99-based standards] (SIZE_MAX): Likewise.
13987 [C99-based standards] (WCHAR_MAX): Likewise.
13988 [C99-based standards] (WINT_MAX): Likewise.
13989 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13990 constraint on value.
13991 [C99-based standards] (WCHAR_MIN): Likewise.
13992 [C99-based standards] (WINT_MIN): Likewise.
13993 [C99-based standards] (*_t): Allow.
13994 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13995 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13996 Include math.h-data and complex.h-data. Remove all expectations
13997 of math.h and complex.h contents.
13998 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13999 at end of line.
14000 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14001 (struct tm): Expect tag.
14002 [C99-based-standards] (wcstof): Expect function.
14003 [C99-based-standards] (wcstold): Likewise.
14004 [C99-based-standards] (wcstoll): Likewise.
14005 [C99-based-standards] (wcstoull): Likewise.
14006 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14007 macro-int-constant. Specify type.
14008 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14009 constraint on value.
14010 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14011 Specify type.
14012 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14013 Specify value.
14014 [ISO C standards]: Do not allow headers.
14015 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14016 wcs[abcdefghijklmnopqrstuvwxyz]*.
14017 [ISO C standards] (*_t): Do not allow.
14018 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14019 Expect function.
14020 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14021 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14022 Specify type.
14023 [ISO C standards]: Do not allow headers.
14024 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14025 is[abcdefghijklmnopqrstuvwxyz]*.
14026 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14027 to[abcdefghijklmnopqrstuvwxyz]*.
14028 [ISO C standards] (*_t): Do not allow.
14029 * conform/data/stdalign.h-data: New file.
14030 * conform/data/stdbool.h-data: Likewise.
14031 * conform/data/stdnoreturn.h-data: Likewise.
14032
7514feb8
RM
140332012-11-07 Roland McGrath <roland@hack.frob.com>
14034
14035 [BZ #14815]
14036 * manual/filesys.texi (Directory Entries): Typo fix.
14037 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14038
19b2ecfc
MS
140392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14040
14041 * elf/elf.h (EM_AARCH64): New macro.
14042 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14043 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14044 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14045 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14046 (R_AARCH64_TLSDESC): Likewise.
14047 (NT_ARM_TLS): Likewise.
14048 (NT_ARM_HW_BREAK): Likewise.
14049 (NT_ARM_HW_WATCH): Likewise.
14050
60e235ee
JM
140512012-11-07 Joseph Myers <joseph@codesourcery.com>
14052
14053 [BZ #14811]
14054 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14055 (__ieee754_powl): Saturate nonzero exponents with absolute value
14056 below 0x1p-79 to +/- 0x1p-79.
14057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14058 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14059 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14060 nonzero exponents with absolute value below 0x1p-32 to +/-
14061 0x1p-32.
14062 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14063 (__ieee754_powl): Saturate nonzero exponents with absolute value
14064 below 0x1p-79 to +/- 0x1p-79.
14065 * math/libm-test.inc (pow_test): Add more tests.
14066
0ab234b7
AK
140672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14068
14069 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14070 _dl_s390_cap_flags with kernel. Increase string length.
14071 (_dl_s390_platforms): Add z196 and zEC12.
14072
45832f74
JM
140732012-11-07 Joseph Myers <joseph@codesourcery.com>
14074
14075 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14076 Change XOPEN21K to XOPEN2K.
14077
19218757
MK
140782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14079
14080 * string/memmove.c: Use memcpy when possible.
14081
c5f45721
AJ
140822012-11-06 Andreas Jaeger <aj@suse.de>
14083
14084 * po/eo.po: Update from translation team.
14085
82477c28
JM
140862012-11-06 Joseph Myers <joseph@codesourcery.com>
14087
14088 [BZ #14793]
14089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14090 exponent and small x and y exponents, scale x or y up. Increase
14091 by 2 the exponent used in scaling up.
14092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14094 * math/libm-test.inc (fma_test): Add more tests.
14095 (fma_test_towardzero): Likewise.
14096 (fma_test_downward): Likewise.
14097 (fma_test_upward): Likewise.
14098
99252c8c
JM
140992012-11-05 Joseph Myers <joseph@codesourcery.com>
14100
acfa885f
JM
14101 [BZ #14805]
14102 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14103 fenv_t *.
14104
99252c8c
JM
14105 [BZ #14801]
14106 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14107 namespace for names of struct fields.
14108 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14109 fenv_t fields.
14110 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14111 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14112
d6d98dea
ST
141132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14114
14115 [BZ #3665]
14116 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14117
e10bb107
TS
141182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14119
14120 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14121 PTR_DEMANGLE.
14122
14123 [BZ #5246]
14124 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14125 PTR_DEMANGLE.
14126
a0c2940d
JM
141272012-11-04 Joseph Myers <joseph@codesourcery.com>
14128
14129 [BZ #14797]
14130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14131 definitely overflow as x * y not x * y + z.
14132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14134 * math/libm-test.inc (fma_test): Add more tests.
14135 (fma_test_towardzero): Likewise.
14136 (fma_test_downward): Likewise.
14137 (fma_test_upward): Likewise.
14138
b830319d
TS
141392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14140
14141 [BZ #157]
14142
14143 * include/stub-tag.h: Remove file.
14144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14145 '#include' of it.
14146 * manual/maint.texi (Porting): Don't reference it.
14147 * Makerules ($(objpfx)stubs): Likewise.
14148 * dirent/closedir.c: Don't include <stub-tag.h>.
14149 * dirent/dirfd.c: Likewise.
14150 * dirent/fdopendir.c: Likewise.
14151 * dirent/getdents.c: Likewise.
14152 * dirent/getdents64.c: Likewise.
14153 * dirent/opendir.c: Likewise.
14154 * dirent/readdir.c: Likewise.
14155 * dirent/readdir64.c: Likewise.
14156 * dirent/readdir64_r.c: Likewise.
14157 * dirent/readdir_r.c: Likewise.
14158 * dirent/rewinddir.c: Likewise.
14159 * dirent/seekdir.c: Likewise.
14160 * dirent/telldir.c: Likewise.
14161 * gmon/profil.c: Likewise.
14162 * grp/setgroups.c: Likewise.
14163 * inet/if_index.c: Likewise.
14164 * io/access.c: Likewise.
14165 * io/chdir.c: Likewise.
14166 * io/chmod.c: Likewise.
14167 * io/chown.c: Likewise.
14168 * io/close.c: Likewise.
14169 * io/dup.c: Likewise.
14170 * io/dup2.c: Likewise.
14171 * io/dup3.c: Likewise.
14172 * io/euidaccess.c: Likewise.
14173 * io/faccessat.c: Likewise.
14174 * io/fchdir.c: Likewise.
14175 * io/fchmod.c: Likewise.
14176 * io/fchmodat.c: Likewise.
14177 * io/fchown.c: Likewise.
14178 * io/fchownat.c: Likewise.
14179 * io/fcntl.c: Likewise.
14180 * io/flock.c: Likewise.
14181 * io/fstatfs.c: Likewise.
14182 * io/fstatfs64.c: Likewise.
14183 * io/fstatvfs.c: Likewise.
14184 * io/fstatvfs64.c: Likewise.
14185 * io/futimens.c: Likewise.
14186 * io/fxstat.c: Likewise.
14187 * io/fxstat64.c: Likewise.
14188 * io/fxstatat.c: Likewise.
14189 * io/fxstatat64.c: Likewise.
14190 * io/getcwd.c: Likewise.
14191 * io/isatty.c: Likewise.
14192 * io/lchmod.c: Likewise.
14193 * io/lchown.c: Likewise.
14194 * io/link.c: Likewise.
14195 * io/linkat.c: Likewise.
14196 * io/lseek.c: Likewise.
14197 * io/lseek64.c: Likewise.
14198 * io/lxstat64.c: Likewise.
14199 * io/mkdir.c: Likewise.
14200 * io/mkdirat.c: Likewise.
14201 * io/mkfifo.c: Likewise.
14202 * io/mkfifoat.c: Likewise.
14203 * io/open.c: Likewise.
14204 * io/open64.c: Likewise.
14205 * io/openat.c: Likewise.
14206 * io/openat64.c: Likewise.
14207 * io/pipe.c: Likewise.
14208 * io/pipe2.c: Likewise.
14209 * io/poll.c: Likewise.
14210 * io/posix_fadvise.c: Likewise.
14211 * io/posix_fadvise64.c: Likewise.
14212 * io/posix_fallocate.c: Likewise.
14213 * io/posix_fallocate64.c: Likewise.
14214 * io/read.c: Likewise.
14215 * io/readlink.c: Likewise.
14216 * io/readlinkat.c: Likewise.
14217 * io/rmdir.c: Likewise.
14218 * io/sendfile.c: Likewise.
14219 * io/sendfile64.c: Likewise.
14220 * io/statfs.c: Likewise.
14221 * io/statfs64.c: Likewise.
14222 * io/statvfs.c: Likewise.
14223 * io/statvfs64.c: Likewise.
14224 * io/symlink.c: Likewise.
14225 * io/symlinkat.c: Likewise.
14226 * io/ttyname.c: Likewise.
14227 * io/ttyname_r.c: Likewise.
14228 * io/umask.c: Likewise.
14229 * io/unlink.c: Likewise.
14230 * io/unlinkat.c: Likewise.
14231 * io/utime.c: Likewise.
14232 * io/utimensat.c: Likewise.
14233 * io/write.c: Likewise.
14234 * io/xmknod.c: Likewise.
14235 * io/xmknodat.c: Likewise.
14236 * io/xstat.c: Likewise.
14237 * io/xstat64.c: Likewise.
14238 * login/getpt.c: Likewise.
14239 * login/grantpt.c: Likewise.
14240 * login/unlockpt.c: Likewise.
14241 * math/e_acoshl.c: Likewise.
14242 * math/e_acosl.c: Likewise.
14243 * math/e_asinl.c: Likewise.
14244 * math/e_atan2l.c: Likewise.
14245 * math/e_atanhl.c: Likewise.
14246 * math/e_coshl.c: Likewise.
14247 * math/e_expl.c: Likewise.
14248 * math/e_fmodl.c: Likewise.
14249 * math/e_gammal_r.c: Likewise.
14250 * math/e_hypotl.c: Likewise.
14251 * math/e_j0l.c: Likewise.
14252 * math/e_j1l.c: Likewise.
14253 * math/e_jnl.c: Likewise.
14254 * math/e_lgammal_r.c: Likewise.
14255 * math/e_log10l.c: Likewise.
14256 * math/e_log2l.c: Likewise.
14257 * math/e_logl.c: Likewise.
14258 * math/e_powl.c: Likewise.
14259 * math/e_rem_pio2l.c: Likewise.
14260 * math/e_sinhl.c: Likewise.
14261 * math/e_sqrtl.c: Likewise.
14262 * math/fclrexcpt.c: Likewise.
14263 * math/fedisblxcpt.c: Likewise.
14264 * math/feenablxcpt.c: Likewise.
14265 * math/fegetenv.c: Likewise.
14266 * math/fegetexcept.c: Likewise.
14267 * math/fegetround.c: Likewise.
14268 * math/feholdexcpt.c: Likewise.
14269 * math/fesetenv.c: Likewise.
14270 * math/fesetround.c: Likewise.
14271 * math/feupdateenv.c: Likewise.
14272 * math/fgetexcptflg.c: Likewise.
14273 * math/fraiseexcpt.c: Likewise.
14274 * math/fsetexcptflg.c: Likewise.
14275 * math/ftestexcept.c: Likewise.
14276 * math/k_cosl.c: Likewise.
14277 * math/k_rem_pio2l.c: Likewise.
14278 * math/k_sinl.c: Likewise.
14279 * math/k_tanl.c: Likewise.
14280 * math/s_asinhl.c: Likewise.
14281 * math/s_atanl.c: Likewise.
14282 * math/s_cbrtl.c: Likewise.
14283 * math/s_erfl.c: Likewise.
14284 * math/s_expm1l.c: Likewise.
14285 * math/s_log1pl.c: Likewise.
14286 * math/s_tanhl.c: Likewise.
14287 * misc/acct.c: Likewise.
14288 * misc/brk.c: Likewise.
14289 * misc/chflags.c: Likewise.
14290 * misc/chroot.c: Likewise.
14291 * misc/fchflags.c: Likewise.
14292 * misc/fgetxattr.c: Likewise.
14293 * misc/flistxattr.c: Likewise.
14294 * misc/fremovexattr.c: Likewise.
14295 * misc/fsetxattr.c: Likewise.
14296 * misc/fsync.c: Likewise.
14297 * misc/ftruncate.c: Likewise.
14298 * misc/futimes.c: Likewise.
14299 * misc/futimesat.c: Likewise.
14300 * misc/getdomain.c: Likewise.
14301 * misc/getdtsz.c: Likewise.
14302 * misc/gethostid.c: Likewise.
14303 * misc/gethostname.c: Likewise.
14304 * misc/getloadavg.c: Likewise.
14305 * misc/getpagesize.c: Likewise.
14306 * misc/getsysstats.c: Likewise.
14307 * misc/getxattr.c: Likewise.
14308 * misc/gtty.c: Likewise.
14309 * misc/ioctl.c: Likewise.
14310 * misc/lgetxattr.c: Likewise.
14311 * misc/listxattr.c: Likewise.
14312 * misc/llistxattr.c: Likewise.
14313 * misc/lremovexattr.c: Likewise.
14314 * misc/lsetxattr.c: Likewise.
14315 * misc/lutimes.c: Likewise.
14316 * misc/madvise.c: Likewise.
14317 * misc/mincore.c: Likewise.
14318 * misc/mlock.c: Likewise.
14319 * misc/mlockall.c: Likewise.
14320 * misc/mmap.c: Likewise.
14321 * misc/mprotect.c: Likewise.
14322 * misc/msync.c: Likewise.
14323 * misc/munlock.c: Likewise.
14324 * misc/munlockall.c: Likewise.
14325 * misc/munmap.c: Likewise.
14326 * misc/preadv.c: Likewise.
14327 * misc/preadv64.c: Likewise.
14328 * misc/ptrace.c: Likewise.
14329 * misc/pwritev.c: Likewise.
14330 * misc/pwritev64.c: Likewise.
14331 * misc/readv.c: Likewise.
14332 * misc/reboot.c: Likewise.
14333 * misc/remap_file_pages.c: Likewise.
14334 * misc/removexattr.c: Likewise.
14335 * misc/revoke.c: Likewise.
14336 * misc/select.c: Likewise.
14337 * misc/setdomain.c: Likewise.
14338 * misc/setegid.c: Likewise.
14339 * misc/seteuid.c: Likewise.
14340 * misc/sethostid.c: Likewise.
14341 * misc/sethostname.c: Likewise.
14342 * misc/setregid.c: Likewise.
14343 * misc/setreuid.c: Likewise.
14344 * misc/setxattr.c: Likewise.
14345 * misc/sstk.c: Likewise.
14346 * misc/stty.c: Likewise.
14347 * misc/swapoff.c: Likewise.
14348 * misc/swapon.c: Likewise.
14349 * misc/sync.c: Likewise.
14350 * misc/syncfs.c: Likewise.
14351 * misc/syscall.c: Likewise.
14352 * misc/truncate.c: Likewise.
14353 * misc/ualarm.c: Likewise.
14354 * misc/usleep.c: Likewise.
14355 * misc/ustat.c: Likewise.
14356 * misc/utimes.c: Likewise.
14357 * misc/vhangup.c: Likewise.
14358 * misc/writev.c: Likewise.
14359 * posix/_exit.c: Likewise.
14360 * posix/alarm.c: Likewise.
14361 * posix/execve.c: Likewise.
14362 * posix/fexecve.c: Likewise.
14363 * posix/fork.c: Likewise.
14364 * posix/fpathconf.c: Likewise.
14365 * posix/getaddrinfo.c: Likewise.
14366 * posix/getegid.c: Likewise.
14367 * posix/geteuid.c: Likewise.
14368 * posix/getgid.c: Likewise.
14369 * posix/getgroups.c: Likewise.
14370 * posix/getlogin.c: Likewise.
14371 * posix/getlogin_r.c: Likewise.
14372 * posix/getpgid.c: Likewise.
14373 * posix/getpid.c: Likewise.
14374 * posix/getppid.c: Likewise.
14375 * posix/getresgid.c: Likewise.
14376 * posix/getresuid.c: Likewise.
14377 * posix/getsid.c: Likewise.
14378 * posix/getuid.c: Likewise.
14379 * posix/glob64.c: Likewise.
14380 * posix/nanosleep.c: Likewise.
14381 * posix/pathconf.c: Likewise.
14382 * posix/pause.c: Likewise.
14383 * posix/posix_madvise.c: Likewise.
14384 * posix/pread.c: Likewise.
14385 * posix/pread64.c: Likewise.
14386 * posix/pwrite.c: Likewise.
14387 * posix/pwrite64.c: Likewise.
14388 * posix/sched_getaffinity.c: Likewise.
14389 * posix/sched_getp.c: Likewise.
14390 * posix/sched_gets.c: Likewise.
14391 * posix/sched_primax.c: Likewise.
14392 * posix/sched_primin.c: Likewise.
14393 * posix/sched_rr_gi.c: Likewise.
14394 * posix/sched_setaffinity.c: Likewise.
14395 * posix/sched_setp.c: Likewise.
14396 * posix/sched_sets.c: Likewise.
14397 * posix/sched_yield.c: Likewise.
14398 * posix/setgid.c: Likewise.
14399 * posix/setlogin.c: Likewise.
14400 * posix/setpgid.c: Likewise.
14401 * posix/setresgid.c: Likewise.
14402 * posix/setresuid.c: Likewise.
14403 * posix/setsid.c: Likewise.
14404 * posix/setuid.c: Likewise.
14405 * posix/sleep.c: Likewise.
14406 * posix/spawni.c: Likewise.
14407 * posix/sysconf.c: Likewise.
14408 * posix/times.c: Likewise.
14409 * posix/wait.c: Likewise.
14410 * posix/wait3.c: Likewise.
14411 * posix/wait4.c: Likewise.
14412 * posix/waitpid.c: Likewise.
14413 * resolv/gai_sigqueue.c: Likewise.
14414 * resource/getpriority.c: Likewise.
14415 * resource/getrlimit.c: Likewise.
14416 * resource/getrusage.c: Likewise.
14417 * resource/nice.c: Likewise.
14418 * resource/setpriority.c: Likewise.
14419 * resource/setrlimit.c: Likewise.
14420 * resource/ulimit.c: Likewise.
14421 * rt/aio_cancel.c: Likewise.
14422 * rt/aio_fsync.c: Likewise.
14423 * rt/aio_read.c: Likewise.
14424 * rt/aio_sigqueue.c: Likewise.
14425 * rt/aio_suspend.c: Likewise.
14426 * rt/aio_write.c: Likewise.
14427 * rt/clock_getres.c: Likewise.
14428 * rt/clock_gettime.c: Likewise.
14429 * rt/clock_nanosleep.c: Likewise.
14430 * rt/clock_settime.c: Likewise.
14431 * rt/lio_listio.c: Likewise.
14432 * rt/mq_close.c: Likewise.
14433 * rt/mq_getattr.c: Likewise.
14434 * rt/mq_notify.c: Likewise.
14435 * rt/mq_open.c: Likewise.
14436 * rt/mq_receive.c: Likewise.
14437 * rt/mq_send.c: Likewise.
14438 * rt/mq_setattr.c: Likewise.
14439 * rt/mq_timedreceive.c: Likewise.
14440 * rt/mq_timedsend.c: Likewise.
14441 * rt/mq_unlink.c: Likewise.
14442 * rt/shm_open.c: Likewise.
14443 * rt/shm_unlink.c: Likewise.
14444 * rt/timer_create.c: Likewise.
14445 * rt/timer_delete.c: Likewise.
14446 * rt/timer_getoverr.c: Likewise.
14447 * rt/timer_gettime.c: Likewise.
14448 * rt/timer_settime.c: Likewise.
14449 * setjmp/__longjmp.c: Likewise.
14450 * setjmp/setjmp.c: Likewise.
14451 * signal/kill.c: Likewise.
14452 * signal/killpg.c: Likewise.
14453 * signal/raise.c: Likewise.
14454 * signal/sigaction.c: Likewise.
14455 * signal/sigaltstack.c: Likewise.
14456 * signal/sigblock.c: Likewise.
14457 * signal/sigignore.c: Likewise.
14458 * signal/sigintr.c: Likewise.
14459 * signal/signal.c: Likewise.
14460 * signal/sigpause.c: Likewise.
14461 * signal/sigpending.c: Likewise.
14462 * signal/sigqueue.c: Likewise.
14463 * signal/sigreturn.c: Likewise.
14464 * signal/sigset.c: Likewise.
14465 * signal/sigsetmask.c: Likewise.
14466 * signal/sigstack.c: Likewise.
14467 * signal/sigsuspend.c: Likewise.
14468 * signal/sigtimedwait.c: Likewise.
14469 * signal/sigvec.c: Likewise.
14470 * signal/sigwait.c: Likewise.
14471 * signal/sigwaitinfo.c: Likewise.
14472 * signal/sysv_signal.c: Likewise.
14473 * socket/accept.c: Likewise.
14474 * socket/accept4.c: Likewise.
14475 * socket/bind.c: Likewise.
14476 * socket/connect.c: Likewise.
14477 * socket/getpeername.c: Likewise.
14478 * socket/getsockname.c: Likewise.
14479 * socket/getsockopt.c: Likewise.
14480 * socket/isfdtype.c: Likewise.
14481 * socket/listen.c: Likewise.
14482 * socket/recv.c: Likewise.
14483 * socket/recvfrom.c: Likewise.
14484 * socket/recvmsg.c: Likewise.
14485 * socket/send.c: Likewise.
14486 * socket/sendmsg.c: Likewise.
14487 * socket/sendto.c: Likewise.
14488 * socket/setsockopt.c: Likewise.
14489 * socket/shutdown.c: Likewise.
14490 * socket/sockatmark.c: Likewise.
14491 * socket/socket.c: Likewise.
14492 * socket/socketpair.c: Likewise.
14493 * stdio-common/ctermid.c: Likewise.
14494 * stdio-common/cuserid.c: Likewise.
14495 * stdio-common/remove.c: Likewise.
14496 * stdio-common/rename.c: Likewise.
14497 * stdio-common/renameat.c: Likewise.
14498 * stdio-common/tempname.c: Likewise.
14499 * stdlib/getcontext.c: Likewise.
14500 * stdlib/makecontext.c: Likewise.
14501 * stdlib/setcontext.c: Likewise.
14502 * stdlib/swapcontext.c: Likewise.
14503 * stdlib/system.c: Likewise.
14504 * streams/fattach.c: Likewise.
14505 * streams/fdetach.c: Likewise.
14506 * streams/getmsg.c: Likewise.
14507 * streams/getpmsg.c: Likewise.
14508 * streams/putmsg.c: Likewise.
14509 * streams/putpmsg.c: Likewise.
14510 * sysdeps/unix/bsd/getpt.c: Likewise.
14511 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14512 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14513 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14515 Likewise.
14516 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14517 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14518 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14519 * sysvipc/msgctl.c: Likewise.
14520 * sysvipc/msgget.c: Likewise.
14521 * sysvipc/msgrcv.c: Likewise.
14522 * sysvipc/msgsnd.c: Likewise.
14523 * sysvipc/semctl.c: Likewise.
14524 * sysvipc/semget.c: Likewise.
14525 * sysvipc/semop.c: Likewise.
14526 * sysvipc/semtimedop.c: Likewise.
14527 * sysvipc/shmat.c: Likewise.
14528 * sysvipc/shmctl.c: Likewise.
14529 * sysvipc/shmdt.c: Likewise.
14530 * sysvipc/shmget.c: Likewise.
14531 * termios/tcdrain.c: Likewise.
14532 * termios/tcflow.c: Likewise.
14533 * termios/tcflush.c: Likewise.
14534 * termios/tcgetattr.c: Likewise.
14535 * termios/tcgetpgrp.c: Likewise.
14536 * termios/tcsendbrk.c: Likewise.
14537 * termios/tcsetattr.c: Likewise.
14538 * termios/tcsetpgrp.c: Likewise.
14539 * time/adjtime.c: Likewise.
14540 * time/clock.c: Likewise.
14541 * time/getitimer.c: Likewise.
14542 * time/gettimeofday.c: Likewise.
14543 * time/setitimer.c: Likewise.
14544 * time/settimeofday.c: Likewise.
14545 * time/stime.c: Likewise.
14546 * time/time.c: Likewise.
14547
145482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14549
a20492cf
PT
14550 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14551 /usr/old/bin.
14552
72e182e3
PT
14553 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14554 instead of spaces.
14555 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14556
fbeafede
JM
145572012-11-03 Joseph Myers <joseph@codesourcery.com>
14558
5b5b04d6
JM
14559 [BZ #14796]
14560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14561 FE_TONEAREST before applying Dekker multiplication and Knuth
14562 addition. Clear inexact exceptions and check for exact zero
14563 results afterwards.
14564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14567 * math/libm-test.inc (fma_test): Add more tests.
14568 (fma_test_towardzero): Likewise.
14569 (fma_test_downward): Likewise.
14570 (fma_test_upward): Likewise.
14571 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14572 function.
14573 (libc_fesetround): New macro.
14574 (libc_fesetroundf): Likewise.
14575 (libc_fesetroundl): Likewise.
14576 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14577 function.
14578 (libc_fesetround_387): Likewise.
14579 (libc_fesetroundf): New macro.
14580 (libc_fesetround): Likewise.
14581 (libc_fesetroundl): Likewise.
14582 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14583 function.
14584 (libc_fesetroundf): New macro.
14585 (libc_fesetround): Likewise.
14586 (libc_fesetroundl): Likewise.
14587 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14588 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14589 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14590 libm_hidden_ver.
14591 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14592 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14593 libm_hidden_def.
14594 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14595 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14596 libm_hidden_ver.
14597 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14598 libm_hidden_def.
14599
fbeafede
JM
14600 [BZ #3439]
14601 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14602 integer constant usable in #if and use that to give value to enum
14603 constant.
14604 (FE_DIVBYZERO): Likewise.
14605 (FE_UNDERFLOW): Likewise.
14606 (FE_OVERFLOW): Likewise.
14607 (FE_INVALID): Likewise.
14608 (FE_INVALID_SNAN): Likewise.
14609 (FE_INVALID_ISI): Likewise.
14610 (FE_INVALID_IDI): Likewise.
14611 (FE_INVALID_ZDZ): Likewise.
14612 (FE_INVALID_IMZ): Likewise.
14613 (FE_INVALID_COMPARE): Likewise.
14614 (FE_INVALID_SOFTWARE): Likewise.
14615 (FE_INVALID_SQRT): Likewise.
14616 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14617 (FE_TONEAREST): Likewise.
14618 (FE_TOWARDZERO): Likewise.
14619 (FE_UPWARD): Likewise.
14620 (FE_DOWNWARD): Likewise.
14621 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14622 (FE_DIVBYZERO): Likewise.
14623 (FE_OVERFLOW): Likewise.
14624 (FE_UNDERFLOW): Likewise.
14625 (FE_INEXACT): Likewise.
14626 (FE_TONEAREST): Likewise.
14627 (FE_DOWNWARD): Likewise.
14628 (FE_UPWARD): Likewise.
14629 (FE_TOWARDZERO): Likewise.
14630 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14631 (FE_UNDERFLOW): Likewise.
14632 (FE_OVERFLOW): Likewise.
14633 (FE_DIVBYZERO): Likewise.
14634 (FE_INVALID): Likewise.
14635 (FE_TONEAREST): Likewise.
14636 (FE_TOWARDZERO): Likewise.
14637 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14638 (FE_OVERFLOW): Likewise.
14639 (FE_UNDERFLOW): Likewise.
14640 (FE_DIVBYZERO): Likewise.
14641 (FE_INEXACT): Likewise.
14642 (FE_TONEAREST): Likewise.
14643 (FE_TOWARDZERO): Likewise.
14644 (FE_UPWARD): Likewise.
14645 (FE_DOWNWARD): Likewise.
14646 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14647 (FE_DIVBYZERO): Likewise.
14648 (FE_OVERFLOW): Likewise.
14649 (FE_UNDERFLOW): Likewise.
14650 (FE_INEXACT): Likewise.
14651 (FE_TONEAREST): Likewise.
14652 (FE_DOWNWARD): Likewise.
14653 (FE_UPWARD): Likewise.
14654 (FE_TOWARDZERO): Likewise.
14655
105ca950
CM
146562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14657
14658 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14659
a542b389
AS
146602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14661
14662 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14663 commands. Quote $PWD.
14664 (blacklist_exports): Don't use remove_newlines. Replace "declare
14665 -x" by "export".
14666 (remove_newlines): Remove.
14667
f62c8abc
L
146682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14669
14670 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14671 * stdlib/stdlib.h (atof): Moved to ...
14672 * include/bits/stdlib-float.h: Here. New file.
14673 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14674 * stdlib/bits/stdlib-float.h: New file.
14675 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14676 -mno-sse -mno-mmx.
14677 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14678 <xmmintrin.h>.
14679
0155d5b2
JM
146802012-11-02 Joseph Myers <joseph@codesourcery.com>
14681
a68d0680
JM
14682 * conform/conformtest.pl (@headers): Add fenv.h.
14683 * conform/data/fenv.h-data: New file.
14684 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14685 include of <math/fenv.h>.
14686
caf7f573
JM
14687 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14688 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14689 && !UNIX98]. Enables tests for XOPEN2K8.
14690 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14691 POSIX2008]: Likewise.
14692
6c073ad6
JM
14693 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14694 (struct rusage): Do not expect type or its members.
14695
0155d5b2
JM
14696 [BZ #3439]
14697 * math/math.h (FP_NAN): Define macro to integer constant usable in
14698 #if and use that to give value to enum constant.
14699 (FP_INFINITE): Likewise.
14700 (FP_ZERO): Likewise.
14701 (FP_SUBNORMAL): Likewise.
14702 (FP_NORMAL): Likewise.
14703
b5dcacb4
AS
147042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14705
14706 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14707 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14708 arguments.
14709
f7934be8
RM
147102012-11-02 Roland McGrath <roland@hack.frob.com>
14711
14712 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14713 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14714 autoconf-time if not.
14715 * configure.in: Remove AC_PREREQ.
14716
d7d08bde
TMQMF
147172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14718
14719 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14720 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14721 of the internal implementation.
14722
dcdae19a
JM
147232012-11-02 Joseph Myers <joseph@codesourcery.com>
14724
14725 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14726 except include of <misc/sys/syslog.h>.
14727
d6cffd3e
AS
147282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14729
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14731 function returns with a NULL context exit with zero.
14732
b3563932
TMQMF
147332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14734
14735 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14736
b288a93d
L
147372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14738
14739 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14740 (run_program_cmd): This.
14741 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14742 (tst_langinfo): New variable. Use it.
14743
a2421a68
SAS
147442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14745
14746 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14747 floating point opcodes.
14748
6f796e1b
TS
147492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14750
7402596b
TS
14751 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14752 variable.
14753
d0d4f868
TS
14754 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14755
6f796e1b
TS
14756 * sysdeps/mach/hurd/powerpc: Remove directory.
14757 * sysdeps/mach/powerpc: Likewise.
14758
4da224a2
AS
147592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14760
14761 * scripts/check-local-headers.sh: Ignore c++ headers.
14762
341dd673
TS
147632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14764
14765 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14766 __libc_cleanup_region_start argument.
14767
473611b2
JM
147682012-11-01 Joseph Myers <joseph@codesourcery.com>
14769
14770 [BZ #14784]
14771 [BZ #14785]
14772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14773 x * y using scaling, not as x * y + z.
14774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14776 * math/libm-test.inc (fma_test): Add more tests.
14777 (fma_test_towardzero): Likewise.
14778 (fma_test_downward): Likewise.
14779 (fma_test_upward): Likewise.
14780
4078da3d
TS
147812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14782
14783 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14784
903252aa
JM
147852012-10-31 Joseph Myers <joseph@codesourcery.com>
14786
14787 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14788 New variable.
14789
cbc818d0
TS
147902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14791
14792 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14793
5a03cb1e
AS
147942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14795
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14797 Fix sort order.
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14799 Likewise.
14800
90aff2ff
TMQMF
148012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14802
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14804 Fix the order of the list for glibc 2.17.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14806 Likewise.
14807
1818fcb7
AS
148082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14809
14810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14811
ef82f4da
JM
148122012-10-31 Joseph Myers <joseph@codesourcery.com>
14813
16a0e2ec
JM
14814 [BZ #14610]
14815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14816 for low part of x being zero before using __atanl (y).
14817 * math/libm-test.inc (atan2_test): Add another test.
14818
0eb69512
JM
14819 * manual/install.texi (Configuring and compiling): Document
14820 general use of test-wrapper and test-wrapper-env.
14821 * INSTALL: Regenerated.
14822
ef82f4da
JM
14823 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14824 (__fma): Do not extract and scale down low bits on after-rounding
14825 systems when result rounded to normal precision would have normal
14826 exponent.
14827 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14828 (__fmal): Do not extract and scale down low bits on after-rounding
14829 systems when result rounded to normal precision would have normal
14830 exponent.
14831 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14832 (__fmal): Do not extract and scale down low bits on after-rounding
14833 systems when result rounded to normal precision would have normal
14834 exponent.
14835 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14836 macro.
14837 (fma_test): Add more tests.
14838 (fma_test_towardzero): Likewise.
14839 (fma_test_downward): Likewise.
14840 (fma_test_upward): Likewise.
14841
954ef0d9
L
148422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 * sysdeps/i386/tininess.h: Renamed to ...
14845 * sysdeps/x86/tininess.h: This.
14846 * sysdeps/x86_64/tininess.h: Removed.
14847
df61ffb2
JM
148482012-10-30 Joseph Myers <joseph@codesourcery.com>
14849
14850 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14851 input. Use $(build-program-cmd).
14852 ($(objpfx)tst-array1-static.out): Likewise.
14853 ($(objpfx)tst-array2.out): Likewise.
14854 ($(objpfx)tst-array3.out): Likewise.
14855 ($(objpfx)tst-array4.out): Likewise.
14856 ($(objpfx)tst-array5.out): Likewise.
14857 ($(objpfx)tst-array5-static.out): Likewise.
14858
01767843
CM
148592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14860
47cc1490
CM
14861 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14862 if defined.
14863
01767843
CM
14864 * nss/nsswitch.h (nss_interface_function): Provide new
14865 macro for use with NSS functions.
14866 * grp/initgroups.c: Use new macro.
14867 * nss/getXXbyYY.c: Likewise.
14868 * nss/getXXbyYY_r.c: Likewise.
14869 * nss/getXXent.c: Likewise.
14870 * nss/getXXent_r.c: Likewise.
14871 * sysdeps/posix/getaddrinfo.c: Likewise.
14872
8321aa97
AJ
148732012-10-30 Andreas Jaeger <aj@suse.de>
14874
14875 * po/ru.po: Update Russion translation from translation project.
14876
2a27fd6d
JM
148772012-10-30 Joseph Myers <joseph@codesourcery.com>
14878
8627a232
JM
14879 [BZ #14152]
14880 [BZ #14783]
14881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14882 result and shift together with sticky bit instead of replicating
14883 round-to-nearest rounding.
14884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14886 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14887 missing underflow exceptions.
14888 (fma_test_towardzero): Add more tests.
14889 (fma_test_downward): Likewise.
14890 (fma_test_upward): Likewise.
14891
2a27fd6d
JM
14892 [BZ #14047]
14893 * sysdeps/generic/tininess.h: New file.
14894 * sysdeps/i386/tininess.h: Likewise.
14895 * sysdeps/sh/tininess.h: Likewise.
14896 * sysdeps/x86_64/tininess.h: Likewise.
14897 * stdlib/tst-strtod-underflow.c: Likewise.
14898 * stdlib/tst-tininess.c: Likewise.
14899 * stdlib/strtod_l.c: Include <tininess.h>.
14900 (round_and_return): Do not set errno for exact underflow cases.
14901 Force an underflow exception when setting errno for underflow.
14902 Determine underflow based on rounding to normal precision if
14903 TININESS_AFTER_ROUNDING.
14904 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14905 ERANGE for exact underflow cases.
14906 * stdlib/Makefile (tests): Add tst-tininess and
14907 tst-strtod-underflow.
14908 ($(objpfx)tst-tininess): Use $(link-libm).
14909 ($(objpfx)tst-strtod-underflow): Likewise.
14910
e7170363
AJ
149112012-10-30 Andreas Jaeger <aj@suse.de>
14912
e5088dc6
AJ
14913 [BZ#14767]
14914 * elf/Makefile (tests): Remove conditional for have-initfini-array
14915 since this is now always required and the variable does not exist
14916 anymore.
14917 (tests-static): Likewise.
14918 (modules-names): Likewise.
14919
e7170363 14920 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14921
14922 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14923 merged with constructor/destructor.
14924 (init_array): Likewise.
14925 * elf/tst-array2dep.c (fini_array): Likewise.
14926 (init_array): Likewise.
14927
60457d8a
MF
149282012-10-29 Mike Frysinger <vapier@gentoo.org>
14929
14930 * manual/message.texi: Delete @cartouche tags.
14931
8bece752
PT
149322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14933
94ce799f
PT
14934 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14935 EOPNOTSUPP.
14936 * sysdeps/mach/hurd/fsync.c: Likewise.
14937
8bece752
PT
14938 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14939 [_POSIX_REALTIME_SIGNALS]: Change condition to
14940 [_POSIX_REALTIME_SIGNALS > 0].
14941
86ebe6b1
AJ
149422012-10-27 Andreas Jaeger <aj@suse.de>
14943
14944 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14945 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14947 [__WORDSIZE != 64]: Likewise.
14948
54399c08
L
149492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 * iconvdata/tst-table.sh: Remove ${SHELL}.
14952 * iconvdata/tst-tables.sh: Likewise.
14953
e2211bed
DM
149542012-10-25 David S. Miller <davem@davemloft.net>
14955
14956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14957 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14958 of strtoull.
14959
f303f97c
DM
14960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14961 ifunc-impl-list.c
14962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14963 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14964 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14965 file.
14966
1e9d84cd
RM
149672012-10-25 Roland McGrath <roland@hack.frob.com>
14968
14969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14970 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14971 __getdirentries.
14972
df381762
JM
149732012-10-25 Joseph Myers <joseph@codesourcery.com>
14974 Jim Blandy <jimb@codesourcery.com>
14975
14976 * scripts/cross-test-ssh.sh: New file.
14977 * manual/install.texi (Configuring and compiling): Document use of
14978 cross-test-ssh.sh.
14979 * INSTALL: Regenerated.
14980
bff64913
PT
149812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14982
14983 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14984 EOPNOTSUPP.
14985
25fe8932
JM
149862012-10-25 Joseph Myers <joseph@codesourcery.com>
14987
14988 * Makeconfig (run-program-prefix): Fix comment.
14989
cc1290d0
JM
149902012-10-24 Joseph Myers <joseph@codesourcery.com>
14991 Jim Blandy <jimb@codesourcery.com>
14992
14993 * Makeconfig (test-wrapper): New variable,
14994 (test-wrapper-env): Likewise.
14995 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14996 (run-built-tests): Define to yes.
14997 (run-program-prefix): Use $(test-wrapper).
14998 (built-program-cmd): Likewise.
14999 * Rules (make-test-out): Use $(test-wrapper-env) and
15000 $(host-built-program-cmd).
15001 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15002 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15003 tst-pathopt.sh.
15004 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15005 $(test-wrapper-env) to tst-rtld-load-self.sh.
15006 ($(objpfx)order2.out): Use $(test-wrapper).
15007 ($(objpfx)tst-initorder.out): Likewise.
15008 ($(objpfx)tst-initorder2.out): Likewise.
15009 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15010 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15011 (test_wrapper_env): New variable. Use it to run ld.so.
15012 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15013 Use it to run ld.so.
15014 (test_wrapper_env): Likewise.
15015 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15016 $(test-wrapper) to run-iconv-test.sh.
15017 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15018 (ICONV): Use $test_wrapper.
15019 * posix/Makefile ($(objpfx)globtest.out): Pass
15020 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15021 globtest.sh, not $(run-program-prefix).
15022 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15023 (test_wrapper): Likewise.
15024 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15025 set together with run_via_rtld_prefix.
15026 (run_program_prefix): Define in terms of test_wrapper and
15027 run_via_rtld_prefix.
15028
6e6249d0
RM
150292012-10-24 Roland McGrath <roland@hack.frob.com>
15030
15031 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15032 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15033 Targets removed.
15034
15035 [BZ #14743]
15036 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15037 Declare __clock_getres, __clock_gettime, __clock_settime,
15038 __clock_nanosleep, and __clock_getcpuclockid.
15039 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15040 Remove librt_hidden_def (clock_gettime).
15041 * sysdeps/unix/clock_gettime.c: Likewise.
15042 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15044 * rt/clock_getres.c: Define __clock_getres as an alias.
15045 * sysdeps/posix/clock_getres.c: Likewise.
15046 * rt/clock_settime.c: Define __clock_settime as an alias.
15047 * sysdeps/unix/clock_settime.c: Likewise.
15048 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15049 * sysdeps/unix/clock_nanosleep.c: Likewise.
15050 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15051 * rt/clock-compat.c: New file.
15052 * rt/Makefile (librt-routines): Add clock-compat and move
15053 $(clock-routines) to ...
15054 (routines): ... here, new variable.
15055 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15056 Don't add get_clockfreq here.
15057 * rt/Versions (libc: GLIBC_2.17): New version set.
15058 Add clock_* symbols here.
15059 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15061 (GLIBC_2.17): Add clock_* symbols.
15062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15066 Likewise.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15068 Likewise.
15069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15073 * NEWS: Mention the move.
15074
15075 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15076 Use __open, __read, __close rather than their public counterparts.
15077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15078 (__get_clockfreq_via_cpuinfo): Likewise.
15079 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15080 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15081
15082 * config.h.in (HAVE_IFUNC): New #undef.
15083 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15084 was successful.
15085 * configure: Regenerated.
15086
0cae3f4b
MF
150872012-10-24 Mike Frysinger <vapier@gentoo.org>
15088
15089 * configure.in: Move READELF check to start of file.
15090 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15091 libc_cv_asm_gnu_indirect_function in the process.
15092 * configure: Regenerated.
15093
8175a253
MF
150942012-10-24 Mike Frysinger <vapier@gentoo.org>
15095
15096 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15097 send the output to /dev/null.
15098 (libc_cv_cc_with_libunwind): Likewise.
15099 (libc_cv_as_noexecstack): Likewise.
15100 * configure: Regenerate.
15101
0708a7d1
JM
151022012-10-24 Joseph Myers <joseph@codesourcery.com>
15103
10b40d85
JM
15104 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15105
0708a7d1
JM
15106 * posix/globtest.sh (TMPDIR): Do not set.
15107 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15108 (testout): Likewise.
15109
9fddec1a
AJ
151102012-10-24 Andreas Jaeger <aj@suse.de>
15111
3a8db22f
AJ
15112 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15113 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15114 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15115 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15116 posix_fadvise64, posix_fallocate64.
15117
9fddec1a
AJ
15118 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15119 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15120 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15121 Likewise.
15122 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15123 Likewise.
15124 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15125
15126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15127 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15128 <bits/fcntl-linux.h>.
15129 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15130
15131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15132 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15133 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15134 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15135 [__WORDSIZE != 64]: Likewise.
15136
ebfd1bbd
JM
151372012-10-23 Joseph Myers <joseph@codesourcery.com>
15138
03ac099f
JM
15139 * Makeconfig (run-built-tests): New variable.
15140 * Rules [$(cross-compiling) = yes]: Change condition to
15141 [$(run-built-tests) = no].
15142 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15143 to [$(run-built-tests) = yes].
15144 * elf/Makefile [$(cross-compiling) = no]: Likewise
15145 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15146 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15147 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15148 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15149 * io/Makefile [$(cross-compiling) = no]: Likewise.
15150 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15151 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15152 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15153 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15154 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15155 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15156 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15157 * string/Makefile [$(cross-compiling) = no]: Likewise.
15158
ebfd1bbd
JM
15159 * posix/Makefile ($(objpfx)globtest.out): Pass
15160 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15161 $(rtld-installed-name).
15162 * posix/globtest.sh (elf_objpfx): Remove variable.
15163 (rtld_installed_name): Likewise.
15164 (library_path): Likewise.
15165 (run_program_prefix): New variable. Use for running globtest
15166 binary.
15167
166bca24
JB
151682012-10-23 Jim Blandy <jimb@codesourcery.com>
15169 Joseph Myers <joseph@codesourcery.com>
15170
15171 * Makeconfig (host-built-program-cmd): New variable.
15172 * elf/Makefile (tst-stackguard1-ARGS): Use
15173 $(host-built-program-cmd).
15174 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15175 (tst-spawn-ARGS): Likewise.
15176 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15177
88866099
JM
151782012-10-23 Joseph Myers <joseph@codesourcery.com>
15179 Jim Blandy <jimb@codesourcery.com>
15180
15181 * Makeconfig (run-via-rtld-prefix): New variable.
15182 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15183 (built-program-cmd): Likewise.
15184
b4b4c296
AJ
151852012-10-22 Andreas Jaeger <aj@suse.de>
15186
15187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15188 __O_RSYNC if it exists, otherwise to O_SYNC.
15189
6fb54a22
JB
151902012-10-22 Jim Blandy <jimb@codesourcery.com>
15191 Joseph Myers <joseph@codesourcery.com>
15192
15193 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15194 /dev/null.
15195 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15196 from /dev/null
15197 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15198 /dev/null.
15199
481b90b9
AJ
152002012-10-22 Andreas Jaeger <aj@suse.de>
15201
2a0e2669
AJ
15202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15203 Define always.
15204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15205
76e38f9a
AJ
15206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15207 bits/fcntl-linux.h.
15208
7cd37b43
AJ
15209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15210 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15211
481b90b9
AJ
15212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15213 to __O_LARGEFILE.
15214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15215 to __O_LARGEFILE.
15216
aba75984
JB
152172012-10-21 Jim Blandy <jimb@codesourcery.com>
15218 Joseph Myers <joseph@codesourcery.com>
15219
15220 * config.make.in (NM): New variable.
15221
88d4247f
AJ
152222012-10-21 Andreas Jaeger <aj@suse.de>
15223
15224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15225 definitions and declarations that are provided by
15226 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15227
f2eed205
L
152282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15229
15230 [BZ #14683]
15231 * elf/Makefile (tests-static): Add tst-leaks1-static.
15232 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15233 ($(objpfx)tst-leaks1-static): New rule.
15234 ($(objpfx)tst-leaks1-static-mem): Likewise.
15235 (tst-leaks1-static-ENV): New macro.
15236 * elf/dl-open.c (dl_open_worker): Check the main application
15237 only if SHARED is defined.
15238 * elf/tst-leaks1-static.c: New file.
15239
335e6931
AJ
152402012-10-20 Andreas Jaeger <aj@suse.de>
15241
15242 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15243 generic values for Linux.
15244 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15245 and declarations that are provided by <bits/fcntl-linux.h> and
15246 include <bits/fcntl-linux.h>.
15247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15249
ac5c94d3
RM
152502012-10-20 Roland McGrath <roland@hack.frob.com>
15251
15252 * io/fcntl.h: Move include of <bits/types.h> to the top and
15253 include it unconditionally.
15254
de54b33a
L
152552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15256
228cfb01
L
15257 * wcsmbs/Makefile (tests-ifunc): New variable.
15258 (tests): Add $(tests-ifunc).
15259 * wcsmbs/test-wcschr-ifunc.c: New file.
15260 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15261 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15262 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15263 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15264 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15265
69f07e5f
L
15266 * string/Makefile (tests-ifunc): New variable.
15267 (tests): Add $(tests-ifunc).
15268 * string/test-memccpy.c (TEST_NAME): New macro.
15269 * string/test-memchr.c (TEST_NAME): Likewise.
15270 * string/test-memcmp.c (TEST_NAME): Likewise.
15271 * string/test-memcpy.c (TEST_NAME): Likewise.
15272 * string/test-memmem.c (TEST_NAME): Likewise.
15273 * string/test-memmove.c (TEST_NAME): Likewise.
15274 * string/test-memset.c (TEST_NAME): Likewise.
15275 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15276 * string/test-stpcpy.c (TEST_NAME): Likewise.
15277 * string/test-stpncpy.c (TEST_NAME): Likewise.
15278 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15279 * string/test-strcasestr.c (TEST_NAME): Likewise.
15280 * string/test-strcat.c (TEST_NAME): Likewise.
15281 * string/test-strchr.c (TEST_NAME): Likewise.
15282 * string/test-strcmp.c(TEST_NAME): Likewise.
15283 * string/test-strcpy.c (TEST_NAME): Likewise.
15284 * string/test-strcspn.c (TEST_NAME): Likewise.
15285 * string/test-strlen.c (TEST_NAME): Likewise.
15286 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15287 * string/test-strncmp.c (TEST_NAME): Likewise.
15288 * string/test-strncpy.c (TEST_NAME): Likewise.
15289 * string/test-strnlen.c (TEST_NAME): Likewise.
15290 * string/test-strpbrk.c (TEST_NAME): Likewise.
15291 * string/test-strrchr.c (TEST_NAME): Likewise.
15292 * string/test-strspn.c (TEST_NAME): Likewise.
15293 * string/test-strstr.c (TEST_NAME): Likewise.
15294 * string/test-bcopy-ifunc.c: New file.
15295 * string/test-bzero-ifunc.c: Likewise.
15296 * string/test-memccpy-ifunc.c: Likewise.
15297 * string/test-memchr-ifunc.c: Likewise.
15298 * string/test-memcmp-ifunc.c: Likewise.
15299 * string/test-memcpy-ifunc.c: Likewise.
15300 * string/test-memmem-ifunc.c: Likewise.
15301 * string/test-memmove-ifunc.c: Likewise.
15302 * string/test-mempcpy-ifunc.c: Likewise.
15303 * string/test-memset-ifunc.c: Likewise.
15304 * string/test-rawmemchr-ifunc.c: Likewise.
15305 * string/test-stpcpy-ifunc.c: Likewise.
15306 * string/test-stpncpy-ifunc.c: Likewise.
15307 * string/test-strcasecmp-ifunc.c: Likewise.
15308 * string/test-strcasestr-ifunc.c: Likewise.
15309 * string/test-strcat-ifunc.c: Likewise.
15310 * string/test-strchr-ifunc.c: Likewise.
15311 * string/test-strchrnul-ifunc.c: Likewise.
15312 * string/test-strcmp-ifunc.c: Likewise.
15313 * string/test-strcpy-ifunc.c: Likewise.
15314 * string/test-strcspn-ifunc.c: Likewise.
15315 * string/test-strlen-ifunc.c: Likewise.
15316 * string/test-strncasecmp-ifunc.c: Likewise.
15317 * string/test-strncat-ifunc.c: Likewise.
15318 * string/test-strncmp-ifunc.c: Likewise.
15319 * string/test-strncpy-ifunc.c: Likewise.
15320 * string/test-strnlen-ifunc.c: Likewise.
15321 * string/test-strpbrk-ifunc.c: Likewise.
15322 * string/test-strrchr-ifunc.c: Likewise.
15323 * string/test-strspn-ifunc.c: Likewise.
15324 * string/test-strstr-ifunc.c: Likewise.
15325
de54b33a
L
15326 * debug/Makefile (tests-ifunc): New variable.
15327 (tests): Add $(tests-ifunc).
15328 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15329 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15330 * debug/test-stpcpy_chk-ifunc.c: New file.
15331 * debug/test-strcpy_chk-ifunc.c: Likewise.
15332
88481c16
SP
153332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15334
15335 [BZ #13601]
15336 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15337 header is not read in.
15338
135948bd
JM
153392012-10-19 Joseph Myers <joseph@codesourcery.com>
15340
89f1c388
JM
15341 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15342 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15343 directly. Pass built executable to script as
15344 $(built-program-cmd).
15345 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15346 $testprogram without using LD_LIBRARY_PATH and $ldso.
15347
e40a0d21
JM
15348 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15349 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15350 $(rtld-installed-name).
15351 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15352 (rtld_installed_name): Likewise.
15353 (library_path): Likewise.
15354 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15355 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15356 $(run-program-prefix) to tst-tables.sh.
15357 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15358 it to run tst-table-from and tst-table-to.
15359 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15360 Pass it to tst-table.sh.
15361 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15362 $(run-program-prefix) to tst-gettext.sh.
15363 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15364 tst-translit.sh.
15365 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15366 tst-gettext2.sh.
15367 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15368 to run tst-gettext.
15369 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15370 to run tst-gettext2.
15371 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15372 to run tst-translit.
15373 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15374 $(run-program-prefix) to tst-mtrace.sh.
15375 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15376 to run tst-mtrace.
15377 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15378 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15379 $(rtld-installed-name).
15380 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15381 (rtld_installed_name): Likewise.
15382 (run_program_prefix): New variable. Use it to run wordexp-test.
15383
728e272a
JM
15384 * Makeconfig (ARCH): Remove all definitions.
15385 (machine): Likewise.
15386 [ARCH]: Remove conditional code.
15387 [!objdir]: Give error.
15388 [!objdir] (objpfx): Remove.
15389 [!objdir] (common-objpfx): Likewise.
15390 [!objdir] (common-objdir): Likewise.
15391 * configure.in (config_makefile): Remove. Hardcode Makefile in
15392 AC_CONFIG_FILES call.
15393 * configure: Regenerated.
15394
d528cdcf
JM
15395 [BZ #13888]
15396 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15397 or TMPDIR.
15398 (testout): Likewise.
15399
135948bd
JM
15400 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15401 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15402 $(rtld-installed-name).
15403 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15404 (rtld_installed_name): Likwise.
15405 (runit): Remove function.
15406 (run_getconf): New variable, Use it for running getconf binary.
15407
38c78296
L
154082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15409
15410 [BZ #14716]
15411 * string/test-memmem.c (check_result): New function.
15412 (do_one_test): Use it.
15413 (check1): New function.
15414 (test_main): Use it.
15415
d077f65f
MT
154162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15417
15418 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15419
ced52c71
JM
154202012-10-18 Joseph Myers <joseph@codesourcery.com>
15421
15422 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15423 (_G_LSEEK64): Likewise.
15424 (_G_MMAP64): Likewise.
15425 (_G_FSTAT64): Likewise.
15426 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15427 (_G_LSEEK64): Likewise.
15428 (_G_MMAP64): Likewise.
15429 (_G_FSTAT64): Likewise.
15430 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15431 unconditional. Call __mmap64 directly.
15432 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15433 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15434 __lseek64 directly.
15435 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15436 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15437 __mmap64 directly.
15438 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15439 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15440 __lseek64 directly.
15441 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15442 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15443 __lseek64 directly.
15444 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15445 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15446 __lseek64 directly.
15447 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15448 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15449 __fxstat64 directly.
15450 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15451 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15452 unconditional.
15453 (freopen64) [!_G_OPEN64]: Remove conditional code.
15454 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15455 unconditional.
15456 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15457 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15458 unconditional.
15459 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15460 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15461 unconditional.
15462 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15463 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15464 unconditional.
15465 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15466 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15467 unconditional.
15468 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15469 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15470 unconditional.
15471 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15472 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15473 unconditional.
15474 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15475
b741de23
SP
154762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15477
15478 [BZ #12140]
15479 * manual/memory.texi (Malloc Tunable Parameters): Add note
15480 about free list pointers overwriting some perturb bytes.
15481 Wording suggested by Roland McGrath.
15482
f9b9d9c9
JM
154832012-10-17 Joseph Myers <joseph@codesourcery.com>
15484
15485 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15486 (lgamma_test): Likewise.
15487 (tgamma_test): Likewise.
15488
172a631a
FW
154892012-10-16 Florian Weimer <fweimer@redhat.com>
15490
15491 [BZ #14700]
15492 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15493 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15494
e9f37252
MK
154952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15496
15497 * NEWS: Mention BZ #14716.
15498 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15499 when removing AVAILABLE1_USES_J macro.
15500
d394eb74
L
155012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15502
15503 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15504 (__bswap_64): __uint64_t for unsigned 64-bit int.
15505
ca38dc17
AS
155062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15507
15508 * include/string.h (memmem): Declare libc hidden alias.
15509 * string/memmem.c (memmem): Define libc hidden alias.
15510 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15511 __read, __close instead of open, read, close.
15512
9a387d1f
L
155132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15514
ac49ecaf
L
15515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15516 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15517 global and hidden.
15518 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15519 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15520 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15521 Likewise.
15522 (__rawmemchr_sse2): Likewise.
15523 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15524 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15525 (__strchr_sse2): Likewise.
15526 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15527 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15528 (__strcasecmp_sse2): Likewise.
15529 (__strncasecmp_sse2): Likewise.
15530 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15531 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15532 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15533 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15534 (__strrchr_sse2): Likewise.
15535 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15536 ifunc-impl-list.c.
15537 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15538 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15539 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15540 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15541 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15542 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15543 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15544 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15545 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15546 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15547 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15548 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15549 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15550 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15551 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15552 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15553 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15554 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15555 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15556 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15557 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15558 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15559 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15560 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15561 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15562 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15563 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15564 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15565 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15566 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15567
b090e8ea
L
15568 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15569 global and hidden.
15570 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15571 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15572 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15573 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15574 Likewise.
15575 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15576 Likewise.
15577 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15578 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15579 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15580 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15581 ifunc-impl-list.c.
15582 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15600 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15610 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15615 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15616 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15617 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15618 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15619 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15620 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15621 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15622 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15623
11dd4af6
L
15624 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15625 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15626 * include/ifunc-impl-list.h: New file.
15627 * misc/ifunc-impl-list.c: Likewise.
15628 * misc/Makefile (routines): Add ifunc-impl-list.
15629 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15630 * string/test-string.h: Include <ifunc-impl-list.h>.
15631 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15632 impl_array): New variables.
15633 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15634 are defined.
15635 (test_init): Call __libc_ifunc_impl_list to initialize
15636 func_list if TEST_IFUNC and TEST_NAME are defined.
15637
9a387d1f
L
15638 * string/Makefile (strop-tests): Add bcopy and bzero.
15639 * string/test-bcopy.c: New file.
15640 * string/test-bzero.c: Likewise.
15641 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15642 defined.
15643 * string/test-memset.c: Support bzero test if TEST_BZERO is
15644 defined.
15645 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15646 __libc_memmove.
15647 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15648 __libc_memset.
15649 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15650 of memset.
15651
472371b9
JM
156522012-10-10 Joseph Myers <joseph@codesourcery.com>
15653
1e4a9536
JM
15654 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15655 * configure: Regenerated.
15656
d173d12e
JM
15657 * Makeconfig (+link-static-before-libc): Don't include
15658 $(link-static-libc).
15659
472371b9
JM
15660 * libio/libio.h (_IO_pos_t): Remove.
15661
89a3ad0b
AO
156622012-10-10 Alexandre Oliva <aoliva@redhat.com>
15663
15664 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15665 McGrath.
15666
e7451425
AO
156672012-10-10 Alexandre Oliva <aoliva@redhat.com>
15668
15669 * crypt/crypt-entry.c: Include fips-private.h.
15670 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15671 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15672 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15673 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15674
4ba74a35
AO
156752012-10-10 Alexandre Oliva <aoliva@redhat.com>
15676
15677 * crypt/crypt-private.h: Include stdbool.h.
15678 (_ufc_setup_salt_r): Return bool.
15679 * crypt/crypt-entry.c: Include errno.h.
15680 (__crypt_r): Return NULL with EINVAL for bad salt.
15681 * crypt/crypt_util.c (bad_for_salt): New.
15682 (_ufc_setup_salt_r): Check that salt is long enough and within
15683 the specified alphabet.
15684 * crypt/badsalttest.c: New file.
15685 * crypt/Makefile (tests): Add it.
15686 ($(objpfx)badsalttest): New.
15687
f96f1242
MK
156882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15689
15690 * NEWS: Add entry for BZ #14602.
15691
0e8e0c1c
JM
156922012-10-09 Joseph Myers <joseph@codesourcery.com>
15693
15694 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15695 type-generic.
15696 * math/libm-test.inc: Update comment listing what functions and
15697 macros are tested.
15698 (isgreater_test): New function.
15699 (isgreaterequal_test): Likewise.
15700 (isless_test): Likewise.
15701 (islessequal_test): Likewise.
15702 (islessgreater_test): Likewise.
15703 (isunordered_test): Likewise.
15704 (main): Call the new functions.
15705
273edc5e
RM
157062012-10-09 Roland McGrath <roland@hack.frob.com>
15707
b8493de0
RM
15708 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15709 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15710 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15711 * sysdeps/i386/configure: Regenerated.
15712 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15713 * sysdeps/mach/configure: Regenerated.
15714 * sysdeps/mach/hurd/configure: Regenerated.
15715 * sysdeps/powerpc/configure: Regenerated.
15716 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15717 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15718 * sysdeps/s390/s390-32/configure: Regenerated.
15719 * sysdeps/s390/s390-64/configure: Regenerated.
15720 * sysdeps/sh/configure: Regenerated.
15721 * sysdeps/sparc/configure: Regenerated.
15722 * sysdeps/unix/sysv/linux/configure: Regenerated.
15723 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15724 * sysdeps/x86_64/configure: Regenerated.
15725
273edc5e
RM
15726 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15727 defined. Don't check if MAP is NULL.
15728
c8450f70
JM
157292012-10-09 Joseph Myers <joseph@codesourcery.com>
15730
15731 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15732 (_G_stat64): Likewise.
15733 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15734 (_G_stat64): Likewise.
15735 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15736 instead of struct _G_stat64.
15737 * libio/fileops.c (mmap_remap_check): Likewise.
15738 (decide_maybe_mmap): Likewise.
15739 (_IO_new_file_seekoff): Likewise.
15740 (_IO_file_stat): Likewise.
15741 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15742 _G_off64_t.
15743 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15744 instead of struct _G_stat64.
15745 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15746
57e605ba
MK
157472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15748
15749 [BZ #14602]
15750 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15751 Replace with ...
15752 (CHECK_EOL): New macro.
15753 (two_way_short_needle): Check beginning of haystack for EOL. Use
15754 CHECK_EOL.
15755 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15756 Replace with CHECK_EOL.
15757 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15758 Replace with CHECK_EOL.
15759
ef1bb361
JM
157602012-10-08 Joseph Myers <joseph@codesourcery.com>
15761
15762 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15763 type-generic.
15764 * math/libm-test.inc: Update comment listing what functions and
15765 macros are tested.
15766 (finite_test): New function.
15767 (isinf_test): Likewise.
15768 (isnan_test): Likewise.
15769 (fpclassify_test): Test subnormal input.
15770 (isfinite_test): Likewise.
15771 (isnormal_test): Likewise.
15772 (main): Call the new functions.
15773
55f11534
JN
157742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15775
15776 [BZ #14660]
15777 * Makerules (%.dynsym): Force C locale when running
15778 $(OBJDUMP) --dynamic-syms.
15779
1ab29350
AS
157802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15781
15782 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15783 <stdint.h>.
15784
f1ecb7ef
DM
157852012-10-06 David S. Miller <davem@davemloft.net>
15786
15787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15788 upper 32-bits of the length value in %o2 since we use branch-on-register
15789 tests which consider the entire 64-bit register.
15790
5d41d91a
L
157912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15792
15793 * string/test-strstr.c (check2): Add a test for page boundary.
15794
3baddb72
DM
157952012-10-05 David S. Miller <davem@davemloft.net>
15796
15797 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15798 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15799 file.
15800 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15801 sysdep_routines.
15802 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15803 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15804 and bzero when HWCAP_SPARC_CRYPTO is present.
15805
9cee5585
L
158062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15807
d7e0dab9
L
15808 [BZ #14602]
15809 * string/test-strstr.c (check2): New function.
15810 (test_main): Call check2.
15811
03759f47
L
15812 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15813 and bug-strchr1.
15814 * string/bug-strcasestr1.c (do_test): Moved to ...
15815 * string/test-strcasestr.c (check1): Here. New function.
15816 (do_one_test): Break out result checking code into ...
15817 (check_result): This. New function.
15818 (do_one_test): Call check_result.
15819 (test_main): Call check1.
15820 * string/bug-strchr1.c (do_test): Moved to ...
15821 * string/test-strchr.c (check1): Here. New function.
15822 (do_one_test): Break out result checking code into ...
15823 (check_result): This. New function.
15824 (do_one_test): Call check_result.
15825 (test_main): Call check1.
15826 * string/bug-strstr1.c (main): Moved to ...
046f153e 15827 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15828 (do_one_test): Break out result checking code into ...
15829 (check_result): This. New function.
15830 (do_one_test): Call check_result.
15831 (test_main): Call check1.
15832 * string/bug-strcasestr1.c: Removed.
15833 * string/bug-strchr1.c: Likewise.
15834 * string/bug-strstr1.c: Likewise.
15835
53cea63e
L
15836 * elf/Makefile (dl-routines): Add hwcaps.
15837 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15838 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15839 (_dl_important_hwcaps): Moved to ...
15840 * elf/dl-hwcaps.c: Here. New file.
15841 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15842
9cee5585 15843 [BZ #14557]
bb859b06
L
15844 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15845 if IS_IN_rtld isn't defined.
15846
9cee5585
L
15847 * elf/dl-support.c (_dl_sysinfo_map): New.
15848 Include "get-dynamic-info.h" and "setup-vdso.h".
15849 (_dl_non_dynamic_init): Call setup_vdso.
15850 * elf/dynamic-link.h: Don't include <assert.h>.
15851 (elf_get_dynamic_info): Moved to ...
15852 * elf/get-dynamic-info.h: Here. New file.
15853 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15854 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15855 * elf/setup-vdso.h: Here. New file.
15856 * elf/rtld.c: Include "setup-vdso.h".
15857 (dl_main): Call setup_vdso.
15858
23c31b76
JM
158592012-10-05 Joseph Myers <joseph@codesourcery.com>
15860
28234b07
JM
15861 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15862 creal in comment listing functions tested. List finite, isinf,
15863 isnan, isless, islessequal, isgreater, isgreaterequal,
15864 islessgreater, isunordered, lgamma_r and pow10 as functions and
15865 macros not tested. Mention which functions not tested are aliases
15866 for other functions. Fix typo. Note that signs of NaNs are not
15867 tested.
15868
23c31b76
JM
15869 * scripts/config.guess: Update from config.git.
15870 * scripts/config.sub: Likewise.
15871
9043e228
RM
158722012-10-04 Roland McGrath <roland@hack.frob.com>
15873
15874 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15875 * misc/madvise.c (madvise): Renamed to __madvise.
15876 Make madvise a weak alias.
15877 * include/sys/mman.h: Declare __madvise.
15878 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15879 * sysdeps/unix/syscalls.list
15880 (madvise): Make __madvise the strong name, and madvise a weak alias.
15881 * sysdeps/unix/sysv/linux/syscalls.list
15882 (madvise, mmap): Remove redundant entries.
15883 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15884 * malloc/malloc.c (mtrim): Likewise.
15885 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15886
f57f8055
RM
158872012-10-03 Roland McGrath <roland@hack.frob.com>
15888
15889 * sysdeps/mach/hurd/dl-cache.c: File removed.
15890 * config.h.in (USE_LDCONFIG): New #undef.
15891 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15892 * configure: Regenerated.
15893 * elf/Makefile (dl-routines): Add dl-cache only under
15894 [$(use-ldconfig) = yes].
15895 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15896 cache on [USE_LDCONFIG].
15897 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15898 [USE_LDCONFIG].
15899 * elf/rtld.c (dl_main): Likewise.
15900
5bb0c10a
PT
159012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15902
15903 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15904 _SC_LEVEL4_CACHE_LINESIZE.
15905
010188c6
RM
159062012-10-03 Roland McGrath <roland@hack.frob.com>
15907
15908 * sysdeps/unix/bsd/confstr.h: File removed.
15909
b6c5ec07
AO
159102012-10-02 Alexandre Oliva <aoliva@redhat.com>
15911
15912 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15913 sys/sdt-config.h.
15914
408223d4
RM
159152012-10-02 Roland McGrath <roland@hack.frob.com>
15916
15917 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15918 Make 'mapoff' field ElfW(Off) rather than off_t.
15919
bb9510dc
DL
159202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15921
fc997c6e
DL
15922 * nscd/Makefile: Remove nscd-cflags and all its users.
15923 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15924 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15925
bb9510dc
DL
15926 [BZ #10631]
15927 * malloc.c (malloc_printerr): Clarify error message.
15928
05699367
L
159292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15930
15931 [BZ #14648]
15932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15933 Set bit_FMA_Usable if FMA is supported.
15934 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15935 macro.
15936 (bit_FMA4_Usable): Updated.
15937 (index_FMA_Usable): New macro.
15938 (CPUID_FMA): Likewise
15939 (HAS_FMA): Defined with bit_FMA_Usable.
15940
51367701
RM
159412012-10-01 Roland McGrath <roland@hack.frob.com>
15942
15943 * bits/types.h (__swblk_t): Type removed.
15944 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15945 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15947 (__SWBLK_T_TYPE): Likewise.
15948 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15949 (__SWBLK_T_TYPE): Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15951 (__SWBLK_T_TYPE): Likewise.
15952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15953 (__SWBLK_T_TYPE): Likewise.
15954
4d57bf63 159552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15956 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15957
15958 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15959 (xdr_mapname): Use YPMAXMAP as maxsize.
15960 (xdr_peername): Use YPMAXPEER as maxsize.
15961 (xdr_keydat): Use YPAXRECORD as maxsize.
15962 (xdr_valdat): Use YPMAXRECORD as maxsize.
15963
93c65d43
RM
159642012-10-01 Roland McGrath <roland@hack.frob.com>
15965
497a03d6
RM
15966 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15967
93c65d43
RM
15968 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15969 * csu/init-first.c: ... here.
15970 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15971 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15972 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15973 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15974 * sysdeps/i386/init-first.c: File removed.
15975 * sysdeps/sh/init-first.c: File removed.
15976
bec749fd
JM
159772012-10-01 Joseph Myers <joseph@codesourcery.com>
15978
15979 [BZ #14645]
15980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15981 if x * y might underflow to zero and z is zero.
15982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15984 * math/libm-test.inc (min_subnorm_value): New variable.
15985 (fma_test): Add more tests.
15986 (fma_test_towardzero): Likewise.
15987 (fma_test_downward): Likewise
15988 (fma_test_upward): Likewise.
15989 (initialize): Set min_subnorm_value.
15990
8ec5b013
JM
159912012-09-29 Joseph Myers <joseph@codesourcery.com>
15992
15993 [BZ #14638]
15994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15995 0 + 0.
15996 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15997 mode for addition resulting in exact zero.
15998 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16000 exact 0 + 0.
16001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16003 * math/libm-test.inc (fma_test): Add more tests.
16004 (fma_test_towardzero): New function.
16005 (fma_test_downward): Likewise.
16006 (fma_test_upward): Likewise.
16007 (main): Call the new functions.
16008
b1fa802e
DM
160092012-09-28 David S. Miller <davem@davemloft.net>
16010
16011 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16012
d3b9fd9e
RM
160132012-09-28 Roland McGrath <roland@hack.frob.com>
16014
ea4d37b3
RM
16015 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16016 instead of SIGALRM.
16017
ac51c949
RM
16018 * sysdeps/gnu/_G_config.h: Moved to ...
16019 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16020 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16021 * sysdeps/generic/_G_config.h: ... here.
16022
28c195f7
RM
16023 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16024
848917f9
RM
16025 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16026
6bacf05b
RM
16027 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16028 Conditionalize target on [libnss_test1.so-version].
16029
91363dbb
RM
16030 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16031
cc87f7d8
RM
16032 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16033 (elfobjdir): Move out of conditionals.
16034
b1c608fe
RM
16035 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16036 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16037 (__nss_lookup_function): Conditionalize label remove_from_tree on
16038 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16039
1d9a6d96
DM
160402012-09-28 David S. Miller <davem@davemloft.net>
16041
16042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16043 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16044 file.
16045 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16046 sysdep_routines.
16047 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16049 when HWCAP_SPARC_CRYPTO is present.
16050
72581615
PT
160512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16052
16053 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16054
715a900c
JL
160552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16056
16057 [BZ #6530]
16058 * stdio-common/vfprintf.c (process_string_arg): Revert
16059 2000-07-22 change.
16060
160612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16062
16063 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16064 for testcase.
16065 * stdio-common/tst-sprintf.c: Include <locale.h>
16066 (main): Test sprintf's handling of incomplete multibyte
16067 characters.
16068
9bac1d86
L
160692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 * elf/dl-runtime.c (VERSYMIDX): Removed.
16072 * elf/dl-version.c (VERSYMIDX): Likewise.
16073 * elf/do-rel.h (VERSYMIDX): Likewise.
16074 (VALIDX): Likewise.
16075 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16076 * elf/rtld.c (VALIDX): Likewise.
16077 (ADDRIDX): Likewise.
9bac1d86
L
16078 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16079 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16080 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16081 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16082 (VALIDX): Likewise.
16083 (ADDRIDX): Likewise.
9bac1d86 16084
b31606c0
PT
160852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16086
16087 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16088
11541177
JL
160892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16090
16091 [BZ #11438]
16092 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16093 to global scope.
16094 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16095 addresses are in the same scope as 192.0.2/24.
16096 * posix/gai.conf: Document new scope table defaults.
16097
adb26fae
SP
160982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16099
16100 [BZ #5298]
16101 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16102 for ftell. Compute offsets from write pointers instead.
16103 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16104
4573c6b0
SP
161052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16106
16107 [BZ #14543]
16108 * libio/Makefile (tests): New test case tst-fseek.
16109 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16110 combination works in wide mode.
16111 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16112 state when the external buffer state changes.
16113
aa9bbfe6
DM
161142012-09-27 David S. Miller <davem@davemloft.net>
16115
16116 [BZ #14376]
16117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16118 pass reloc->r_addend in as the 'high' argument to
16119 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16120
784421e7
DM
16121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16122
c39bc8b8
PT
161232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16124
16125 * rt/tst-aio2.c: Include <pthread.h>.
16126 * rt/tst-aio3.c: Likewise.
16127
1ccc2399
SE
161282012-09-27 Steve Ellcey <sellcey@mips.com>
16129
16130 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16131
31ed4153
L
161322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16133
25f5f885
L
16134 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16135 contents on [SHARED].
31ed4153 16136
b7bfe116
MP
161372012-09-26 Marek Polacek <polacek@redhat.com>
16138
16139 [BZ #14530]
16140 [BZ #13741]
16141 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16142 for C++ and GCC <4.3 as well as for non GCC compilers.
16143
43c4edba
MT
161442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16145
16146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16147
6a1bf82f
RM
161482012-09-25 Roland McGrath <roland@hack.frob.com>
16149
16150 * Makefile.in (all, install): Declare with .PHONY.
16151 Reported by Michael Hope <michael.hope@linaro.org>.
16152
8ad11b9a
TMQMF
161532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16154
16155 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16156 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16157 system header.
16158 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16159 Likewise.
16160 (sydep_routines): Add the new and the internal functions.
16161 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16162 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16164 (GLIBC_2.17): Add the new function.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16166 (GLIBC_2.17): Likewise.
16167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16168 (GLIBC_2.17): Likewise.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16170 (GLIBC_2.17): Likewise.
16171 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16172
7e2fca8d
AM
161732012-09-25 Alan Modra <amodra@gmail.com>
16174
16175 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16176 Add release barrier before setting once_control to say
16177 initialisation is done. Add hints on lwarx. Use macro in
16178 place of isync.
16179 (clear_once_control): Add release barrier.
16180
b87c4b24
JM
161812012-09-25 Joseph Myers <joseph@codesourcery.com>
16182
d032e0d2
JM
16183 [BZ #13629]
16184 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16185 specially.
16186 * math/s_clog10.c (__clog10): Likewise.
16187 * math/s_clog10f.c (__clog10f): Likewise.
16188 * math/s_clog10l.c (__clog10l): Likewise.
16189 * math/s_clogf.c (__clogf): Likewise.
16190 * math/s_clogl.c (__clogl): Likewise.
16191 * math/Makefile (libm-calls): Add x2y2m1.
16192 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16193 (__x2y2m1): Likewise.
16194 (__x2y2m1l): Likewise.
16195 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16196 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16197 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16198 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16200 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16201 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16202 * sysdeps/i386/fpu/libm-test-ulps: Update.
16203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16204
b87c4b24
JM
16205 [BZ #14621]
16206 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16207 int as type of variable DEPTH.
16208 (glob): Use size_t instead of int as type of variables NEWCOUNT
16209 and OLD_PATHC.
16210
6d3bf199
LD
162112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16212
22bf5c17
LD
16213 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16214 Add s_sincosf-sse2.
16215 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16216 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16217 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16218 macros for using routine as __sincosf_ia32.
16219 Use macro for function declaration and weak_alias.
16220 * sysdeps/i386/fpu/libm-test-ulps: Update.
16221
16222 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16224
16225 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16226 subnormal argument.
16227 * math/s_cexpf.c (__cexpf): Likewise.
16228 * math/s_csinf.c (__csinf): Likewise.
16229 * math/s_csinhf.c (__csinhf): Likewise.
16230 * math/s_ctanf.c (__ctanf): Likewise.
16231 * math/s_ctanhf.c (__ctanhf): Likewise.
16232 * math/s_ccosh.c (__ccoshf): Likewise.
16233 * math/s_cexp.c (__cexpl): Likewise.
16234 * math/s_csin.c (__csin): Likewise.
16235 * math/s_csinh.c (__csinh): Likewise.
16236 * math/s_ctan.c (__ctan): Likewise.
16237 * math/s_ctanh.c (ctanh): Likewise.
16238 * math/s_ccoshl.c (__ccoshl): Likewise.
16239 * math/s_cexpl.c (__cexpl): Likewise.
16240 * math/s_csinl.c (__csinl): Likewise.
16241 * math/s_csinhl.c (__csinhl): Likewise.
16242 * math/s_ctanl.c (__ctanl): Likewise.
16243 * math/s_ctanhl.c (__ctanhl): Likewise.
16244
203e5603
JM
162452012-09-25 Joseph Myers <joseph@codesourcery.com>
16246
16247 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16248 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16249 (_IO_off_t): Define to __off_t, not _G_off_t.
16250 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16251 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16252 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16253 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16254 type of __dummy and __dummy2 fields.
16255 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16256 (_G_ssize_t): Likewise.
16257 (_G_off_t): Likewise.
16258 (_G_pid_t): Likewise.
16259 (_G_uid_t): Likewise.
16260 (_G_wchar_t): Likewise.
16261 (_G_wint_t): Likewise.
16262 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16263 (_G_ssize_t): Likewise.
16264 (_G_off_t): Likewise.
16265 (_G_pid_t): Likewise.
16266 (_G_uid_t): Likewise.
16267 (_G_wchar_t): Likewise.
16268 (_G_wint_t): Likewise.
16269 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16270 (_G_ssize_t): Likewise.
16271 (_G_off_t): Likewise.
16272 (_G_pid_t): Likewise.
16273 (_G_uid_t): Likewise.
16274 (_G_wchar_t): Likewise.
16275 (_G_wint_t): Likewise.
16276
9fab36eb
SP
162772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16278
16279 * malloc/arena.c: Include malloc-sysdep.h.
16280 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16281 is sufficient to shrink the heap or an unmap is needed.
16282 * sysdeps/generic/malloc-sysdep.h: New file. Define
16283 new function check_may_shrink_heap.
16284 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16285 new function check_may_shrink_heap.
16286
2b4f00d1
SP
162872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16288
16289 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16290 comments.
16291
9a9028b1
DL
162922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16293
57c69bef
DL
16294 * catgets/test-gencat.sh: Add "set -e".
16295 * elf/tst-pathopt.sh: Likewise.
16296 * grp/tst_fgetgrent.sh: Likewise.
16297 * iconvdata/run-iconv-test.sh: Likewise.
16298 * intl/tst-gettext.sh: Likewise.
16299 * intl/tst-gettext2.sh: Likewise.
16300 * intl/tst-gettext4.sh: Likewise.
16301 * intl/tst-gettext6.sh: Likewise.
16302 * intl/tst-translit.sh: Likewise.
16303 * io/ftwtest-sh: Likewise.
16304 * libio/test-freopen.sh: Likewise.
16305 * malloc/tst-mtrace.sh: Likewise.
16306 * posix/globtest.sh: Likewise.
16307 * posix/tst-getconf.sh: Likewise.
16308 * posix/wordexp-tst.sh: Likewise.
16309 * stdio-common/tst-printf.sh: Likewise.
16310 * stdio-common/tst-unbputc.sh: Likewise.
16311 * stdlib/tst-fmtmsg.sh: Likewise.
16312 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16313 * catgets/Makefile: Do not specify -e option when running
16314 testsuite shell scripts.
16315 * elf/Makefile: Likewise.
16316 * grp/Makefile: Likewise.
16317 * iconvdata/Makefile: Likewise.
16318 * intl/Makefile: Likewise.
16319 * io/Makefile: Likewise.
16320 * libio/Makefile: Likewise.
16321 * malloc/Makefile: Likewise.
16322 * posix/Makefile: Likewise.
16323 * stdio-common/Makefile: Likewise.
16324 * stdlib/Makefile: Likewise.
16325 * sysdeps/x86_64/Makefile: Likewise.
16326
9a9028b1
DL
16327 * io/ftwtest-sh: Add copyright header.
16328 * posix/globtest.sh: Likewise.
16329 * posix/tst-getconf.sh: Likewise.
16330 * posix/wordexp-tst.sh: Likewise.
16331 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16332
ced6f16e
L
163332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16334
94b32c39
L
16335 [BZ #13679]
16336 * Makeconfig (+link): Defined as $(+link-static) if
16337 $(build-shared) isn't yes.
16338 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16339 isn't yes.
16340 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16341
189e935b
L
16342 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16343
ced6f16e
L
16344 [BZ #14562]
16345 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16346 new chunk size with MALLOC_ALIGN_MASK.
16347
a9f8e53a
JM
163482012-09-24 Joseph Myers <joseph@codesourcery.com>
16349
16350 [BZ #5044]
16351 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16352 <rounding-mode.h>.
16353 (__printf_fphex): Determine rounding using get_rounding_mode and
16354 round_away.
16355 * stdio-common/tst-printf-round.c (struct hex_test): New
16356 structure.
16357 (hex_tests): New variable.
16358 (test_hex_in_one_mode): New function.
16359 (do_test): Also run tests for hex float output.
16360
43153109
JM
163612012-09-21 Joseph Myers <joseph@codesourcery.com>
16362
16363 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16364 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16365 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16366 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16367 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16368 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16369 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16370 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16371
8a26625d
JM
163722012-09-20 Joseph Myers <joseph@codesourcery.com>
16373
16374 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16375 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16376 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16377 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16378
f3fd569c
DL
163792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16380
16381 [BZ #14579]
16382 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16383 mode only.
16384 * elf/tst-rtld-load-self.sh: New test.
16385 * elf/Makefile: Run it.
16386
63bbedd4
JM
163872012-09-18 Joseph Myers <joseph@codesourcery.com>
16388
16389 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16390 (tst-writev-ENV): Remove.
16391 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16392
626f8b6a
CM
163932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16394
16395 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16396
b7aaa4d6
JM
163972012-09-17 Joseph Myers <joseph@codesourcery.com>
16398
16399 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16400 unconditional.
16401 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16402 Likewise.
16403 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16404 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16405 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16406 Likewise.
16407
65513990
L
164082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16409
16410 [BZ #14587]
16411 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16412 * config.make.in (have-cpp-asm-debuginfo): Removed.
16413 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16414 * configure: Regenerated.
16415
784761be
JM
164162012-09-14 Joseph Myers <joseph@codesourcery.com>
16417
16418 [BZ #5044]
16419 * stdio-common/printf_fp.c: Include <stdbool.h> and
16420 <rounding-mode.h>.
16421 (___printf_fp): Determine rounding using get_rounding_mode and
16422 round_away.
16423 * stdio-common/tst-printf-round.c: New file.
16424 * stdio-common/Makefile (tests): Add tst-printf-round.
16425 (link-libm): New variable.
16426 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16427
9503345f
L
164282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16429
16430 [BZ #14576]
16431 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16432 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16433 Likewise.
16434 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16435 Likewise.
16436
ad35fc00
JM
164372012-09-13 Joseph Myers <joseph@codesourcery.com>
16438
16439 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16440 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16441 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16443
6c9b0f68
JM
164442012-09-12 Joseph Myers <joseph@codesourcery.com>
16445
16446 [BZ #14518]
16447 * include/rounding-mode.h: New file.
16448 * sysdeps/generic/get-rounding-mode.h: Likewise.
16449 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16450 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16451 (MAX_VALUE): New macro.
16452 (MIN_VALUE): Likewise.
16453 (overflow_value): New function.
16454 (underflow_value): Likewise.
16455 (round_and_return): Use overflow_value and underflow_value to
16456 determine return values in overflow and underflow cases. Use
16457 round_away to determine rounding depending on rounding mode.
16458 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16459 determine return values in overflow and underflow cases.
16460 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16461 (struct test_results): New structure.
16462 (struct test): Use struct test_results to store expected results
16463 for all rounding modes.
16464 (TEST): Include expected results for all rounding modes.
16465 (test_in_one_mode): New function.
16466 (do_test): Use test_in_one_mode to compute and check results.
16467 Check results for all rounding modes.
16468 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16469 $(link-libm).
16470
19fcedd5
AM
164712012-12-09 Allan McRae <allan@archlinux.org>
16472
1e9d84cd 16473 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16474
8bbfd2f1
JM
164752012-09-11 Joseph Myers <joseph@codesourcery.com>
16476
16477 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16478 (_G_int32_t): Likewise.
16479 (_G_uint16_t): Likewise.
16480 (_G_uint32_t): Likewise.
16481 (_G_HAVE_BOOL): Likewise.
16482 (_G_HAVE_ATEXIT): Likewise.
16483 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16484 (_G_HAVE_IO_FILE_OPEN): Likewise.
16485 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16486 (_G_int32_t): Likewise.
16487 (_G_uint16_t): Likewise.
16488 (_G_uint32_t): Likewise.
16489 (_G_HAVE_BOOL): Likewise.
16490 (_G_HAVE_ATEXIT): Likewise.
16491 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16492 (_G_HAVE_IO_FILE_OPEN): Likewise.
16493 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16494 (_G_int32_t): Likewise.
16495 (_G_uint16_t): Likewise.
16496 (_G_uint32_t): Likewise.
16497 (_G_HAVE_BOOL): Likewise.
16498 (_G_HAVE_ATEXIT): Likewise.
16499 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16500 (_G_HAVE_IO_FILE_OPEN): Likewise.
16501
b1dc5912
L
165022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16503
16504 * csu/libc-tls.c: Update copyright years.
16505
0e886ef9
JM
165062012-09-10 Joseph Myers <joseph@codesourcery.com>
16507
28361c5e
JM
16508 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16509 [!_G_USING_THUNKS]: Remove conditional code.
16510 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16511 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16512
0e886ef9
JM
16513 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16514 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16515 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16516 (_G_VTABLE_LABEL_PREFIX): Likewise.
16517 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16518 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16519 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16520 (_G_VTABLE_LABEL_PREFIX): Likewise.
16521 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16522 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16523 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16524 (_G_VTABLE_LABEL_PREFIX): Likewise.
16525 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16526
bcba7aa2
L
165272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16528
16529 * libio/Makefile: Include ../Makeconfig before tests.
16530 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16531 only if $(build-shared) is yes.
16532
06585ee8
L
16533 * iconv/gconv_db.c: Update copyright years.
16534
80ccd52c
LD
165352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16536
16537 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16538 unwind info if defined PIC. Fix special cases description.
16539 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16540
16541 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16542 DP_HI_MASK entry.
16543 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16544
691bc9c1
L
165452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16546
3d9b46b3
L
16547 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16548
de2139a9
L
16549 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16550 is NULL.
16551
5ca78dd0
L
16552 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16553 (LDLIBS-tst-chk4): This.
16554 (LDFLAGS-tst-chk5): Renamed to ...
16555 (LDLIBS-tst-chk5): This.
16556 (LDFLAGS-tst-chk6): Renamed to ...
16557 (LDLIBS-tst-chk6): This.
16558 (LDFLAGS-tst-lfschk4): Renamed to ...
16559 (LDLIBS-tst-lfschk4): This.
16560 (LDFLAGS-tst-lfschk5): Renamed to ...
16561 (LDLIBS-tst-lfschk5): This.
16562 (LDFLAGS-tst-lfschk6): Renamed to ...
16563 (LDLIBS-tst-lfschk6): This.
16564
691bc9c1
L
16565 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16566 on $(common-objpfx)soversions.mk.
16567
65cafb1c
JM
165682012-09-07 Joseph Myers <joseph@codesourcery.com>
16569
16570 [BZ #10014]
16571 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16572 example host name.
16573
c78ab094
SP
165742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16575
16576 * malloc/arena.c (arena_get_retry): New function that gets
16577 another arena for the caller to try its request on.
16578 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16579 current arena cannot fulfill the request.
16580 (__libc_memalign): Likewise.
16581 (__libc_memalign): Likewise.
16582 (__libc_pvalloc): Likewise.
16583 (__libc_calloc): Likewise.
16584
01f49f59
JT
165852012-09-05 John Tobey <john.tobey@gmail.com>
16586
16587 [BZ #13542]
16588 * manual/arith.texi (Operations on Complex): Fix description
16589 of carg branch cut.
16590
4c23fed5
JM
165912012-09-06 Joseph Myers <joseph@codesourcery.com>
16592
1d3c8572
JM
16593 [BZ #10014]
16594 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16595 host name.
16596
4c23fed5
JM
16597 [BZ #10038]
16598 * manual/memory.texi (Memory): Make order of menu items match
16599 order of sections.
16600
04570aaa
L
166012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16604 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16605 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16606
b80af2f4
L
166072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16608
16609 * csu/libc-tls.c (static_dtv): Renamed to ...
16610 (_dl_static_dtv): This. Make it global.
16611 (_dl_initial_dtv): Removed.
16612 (__libc_setup_tls): Updated.
16613 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16614 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16615 DL_INITIAL_DTV.
16616
2abe9f15
PM
166172012-09-06 Petr Machata <pmachata@redhat.com>
16618
16619 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16620 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16621 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16622 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16623
0948c3af
L
166242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 [BZ #14545]
16627 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16628 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16629 freeing dtv[-1].
16630
a5055ad1
L
166312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16632
16633 [BZ #14544]
16634 * Makeconfig (link-static-before-libc): Replace $(+prector)
16635 with $(+prectorT).
16636 (link-static-after-libc): Replace $(+postctor) with
16637 $(+postctorT).
16638 (link-bounded): Replace $(+prector)/$(+postctor) with
16639 $(+prectorT)/$(+postctorT).
16640 (+prectorT): New macro.
16641 (+postctorT): Likewise.
16642
ed8c2ecd
JM
166432012-09-06 Joseph Myers <joseph@codesourcery.com>
16644
16645 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16646 (round_str): Handle values above the maximum for IBM long double
16647 as inexact.
16648 * stdlib/tst-strtod-round.c (tests): Regenerated.
16649
14c996c8
AK
166502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16651
16652 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16653 assembler flag.
16654 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16655 zarch_nohighgprs around the zarch optimized routines.
16656 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16657 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16658 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16659 for zarch.
16660
430d6ce6
DM
166612012-09-05 David S. Miller <davem@davemloft.net>
16662
16663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16664
ff04dda4
DM
16665 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16666 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16667 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16668 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16669 entries.
16670
24d4e01b
AO
166712012-09-05 Alexandre Oliva <aoliva@redhat.com>
16672
16673 * malloc/arena.c: Fold copyright years.
16674 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16675
61d58174
AO
166762012-09-05 Alexandre Oliva <aoliva@redhat.com>
16677
16678 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16679
20196a5e
AO
166802012-09-05 Alexandre Oliva <aoliva@redhat.com>
16681
16682 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16683
5c447383
AO
166842012-09-05 Alexandre Oliva <aoliva@redhat.com>
16685
16686 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16687 change internal state upon failure.
16688
fad64255
AO
166892012-09-05 Alexandre Oliva <aoliva@redhat.com>
16690
16691 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16692 * malloc/memusage.c (mmap): Likewise.
16693 (mmap64, mremap): Likewise. Adjust name in comment.
16694
1ffb8c90
SP
166952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16696
16697 * libio/fileops.c: Fix typos in comments.
16698 * libio/oldfileops.c: Likewise.
16699 * libio/wfileops.c: Likewise.
16700
6ef9cc37
SP
167012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16702
16703 [BZ #1349]
16704 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16705 (tst-malloc-usable-ENV): Set environment for test case.
16706 * malloc/hooks.c (malloc_check_get_size): New function to get
16707 requested size.
16708 * malloc/malloc.c (musable): Use malloc_check_get_size.
16709 * malloc/tst-malloc-usable.c: New test case.
16710
4d038ae3
AS
167112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16712
16713 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16714
c4e85184
AM
167152012-09-05 Allan McRae <allan@archlinux.org>
16716
b9dafc56 16717 [BZ #13966]
c4e85184
AM
16718 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16719 determine header location.
16720 * configure: Regenerated.
16721
e1343020
AS
167222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16723
16724 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16725 float format.
16726 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16727 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16728 format.
e1343020
AS
16729 (test): Regenerate.
16730
0a9f1987
DM
167312012-09-04 David S. Miller <davem@davemloft.net>
16732
16733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16735 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16736
29237804
FW
167372012-09-04 Florian Weimer <fweimer@redhat.com>
16738
16739 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16740 failures.
16741
edb3cb88
FW
16742 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16743
60160d83
JM
167442012-09-04 Joseph Myers <joseph@codesourcery.com>
16745
16746 [BZ #9914]
16747 * libio/iogetdelim.c: Include <limits.h>.
16748 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16749 + len + 1 would overflow.
16750
bcd6c8dc
AJ
167512012-09-03 Andreas Jaeger <aj@suse.de>
16752
16753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16754 * sysdeps/i386/fpu/libm-test-ulps: Update.
16755
4ffffbd2
LD
167562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16757
16758 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16759 Add s_sinf-sse2, s_conf-sse2.
16760
16761 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16762 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16763 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16764 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16765
16766 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16767 for using routine as __sinf_ia32.
16768 Use macro for function declaration and weak_alias.
16769 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16770 for using routine as __cosf_ia32.
16771 Use macro for function declaration and weak_alias.
16772
16773 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16774 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16775
16776 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16777 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16779
16780 * math/libm-test.inc (cos_test): Add more test cases.
16781 (sin_test): Likewise.
16782 (sincos_test): Likewise.
16783
511fa286
AK
167842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16785
16786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16787 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16788 hidden.
16789 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16790
5f30cfec
L
167912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16792
16793 [BZ #14538]
16794 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16795 first element of the GOT.
16796 (elf_machine_load_address): Return the difference between
16797 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16798
0786794f
AM
167992012-09-01 Allan McRae <allan@archlinux.org>
16800
5f30cfec
L
16801 [BZ #13412]
16802 * configure.in (AWK): Require gawk version 3.0 or later.
16803 * configure: Regenerated.
0786794f 16804
26889eac
JM
168052012-09-01 Joseph Myers <joseph@codesourcery.com>
16806
16807 * sysdeps/unix/sysv/linux/kernel-features.h
16808 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16809 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16810 [__NR_clock_getres]: Make code unconditional.
16811 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16812 (clock_getcpuclockid): Remove code left unreachable by removal of
16813 conditionals.
16814 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16815 code unconditional.
16816 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16817 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16818 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16819 Make code unconditional.
16820 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16821 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16822 * sysdeps/unix/sysv/linux/clock_settime.c
16823 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16824 conditional code.
16825 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16826 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16827
d22e28b0
L
168282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16829
16830 [BZ #14476]
16831 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16832 scripts/test-installation.pl.
16833
16834 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16835 and $ld_so_version if it is set.
16836
050af9c4
SP
168372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16838
16839 [BZ #14516]
16840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16841 failure if reading from procfs failed.
16842 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16843
ad845c0b
JM
168442012-08-27 Joseph Myers <joseph@codesourcery.com>
16845
16846 * sysdeps/unix/sysv/linux/kernel-features.h
16847 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16848 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16849 Remove conditional code.
16850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16851 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16852 Remove conditional code.
16853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16854 * sysdeps/unix/sysv/linux/i386/fxstat.c
16855 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16857 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16858 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16860 * sysdeps/unix/sysv/linux/i386/lxstat.c
16861 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16863 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16864 Remove conditional code.
16865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16866 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16867 Remove conditional code.
16868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16869 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16870 <kernel-features.h>.
16871 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16872 Remove.
16873 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16874 Remove conditional code.
16875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16876 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16877 Remove conditional.
16878
5dbf56af
MF
168792012-08-27 Mike Frysinger <vapier@gentoo.org>
16880
16881 [BZ #5400]
16882 * NEWS: Add fixed bug number.
16883
d6e70f43
JM
168842012-08-27 Joseph Myers <joseph@codesourcery.com>
16885
7efb4737
JM
16886 [BZ #14519]
16887 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16888 underflowing exponent in case of negative sign.
16889 * stdlib/tst-strtod-round-data: Add more tests.
16890 * stdlib/tst-strtod-round.c (tests): Regenerated.
16891
af92131a
JM
16892 [BZ #3479]
16893 * stdlib/strtod_l.c (NDIG): Remove.
16894 (HEXNDIG): Likewise.
16895 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16896 smallest representable value.
16897 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16898 lie within an exact representation of 1/2 ulp of the result.
16899 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16900 unconditionally.
16901 (TENS_P9_IDX): Define unconditionally.
16902 (TENS_P9_SIZE): Likewise.
16903 (TENS_P10_IDX): Likewise.
16904 (TENS_P10_SIZE): Likewise.
16905 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16906 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16907 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16908 entries for 10^2^13 and 10^2^14.
16909 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16910 (TENS_P13_IDX): Define.
16911 (TENS_P13_SIZE): Likewise.
16912 (TENS_P14_IDX): Likewise.
16913 (TENS_P14_SIZE): Likewise.
16914 (_fpioconst_pow10): Change array size to
16915 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16916 unconditional.
16917 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16918 1024]: Add entries for 10^2^13 and 10^2^14.
16919 [LAST_POW10 > _LAST_POW10]: Remove #error.
16920 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16921 (_fpioconst_pow10): Change array size to
16922 FPIOCONST_POW10_ARRAY_SIZE.
16923 * stdlib/gen-fpioconst.c: New file.
16924 * stdlib/gen-tst-strtod-round.c: Likewise.
16925 * stdlib/tst-strtod-round-data: Likewise.
16926 * stdlib/tst-strtod-round.c: Likewise.
16927 * stdlib/Makefile (tests): Add tst-strtod-round.
16928
d6e70f43
JM
16929 [BZ #14459]
16930 * stdlib/strtod_l.c: Include <stdint.h>.
16931 (NDEBUG): Do not define.
16932 (round_and_return): Change EXPONENT parameter to type intmax_t.
16933 Rearrange calculations to avoid internal overflow possibilities.
16934 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16935 Rearrange calculations to avoid internal overflow possibilities.
16936 Assert that number fits inside MPNSIZE limbs.
16937 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16938 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16939 calculations and add assertions to avoid internal overflow
16940 possibilities. Add casts to avoid signed/unsigned operations.
16941 * stdlib/tst-strtod-overflow.c: New file.
16942 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16943
1f529f7d
MP
169442012-08-25 Marek Polacek <polacek@redhat.com>
16945
16946 * time/time.h: Fix some typos in comments.
16947
59a629f1
RM
169482012-08-23 Roland McGrath <roland@hack.frob.com>
16949
16950 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16951 * posix/tst-rfc3484-2.c: Likewise.
16952 * posix/tst-rfc3484-3.c: Likewise.
16953
d3bafbc9
SM
169542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16955
16956 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16957 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16958
4efcc022
JM
169592012-08-23 Joseph Myers <joseph@codesourcery.com>
16960
16961 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16962 #include of fxstatat64.c.
16963
3cc3ef96
RM
169642012-08-22 Roland McGrath <roland@hack.frob.com>
16965
f04e2132
RM
16966 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16967 * shadow/getspent_r.c: Likewise.
16968 * shadow/getspnam.c: Likewise.
16969 * shadow/getspnam_r.c: Likewise.
16970 * gshadow/getsgent.c: Likewise.
16971 * gshadow/getsgent_r.c: Likewise.
16972 * gshadow/getsgnam.c: Likewise.
16973 * gshadow/getsgnam_r.c: Likewise.
16974 * inet/getnetbyad.c: Likewise.
16975 * inet/getnetbyad_r.c: Likewise.
16976 * inet/getnetbynm.c: Likewise.
16977 * inet/getnetbynm_r.c: Likewise.
16978 * inet/getnetent.c: Likewise.
16979 * inet/getnetent_r.c: Likewise.
16980 * inet/getproto.c: Likewise.
16981 * inet/getproto_r.c: Likewise.
16982 * inet/getprtent.c: Likewise.
16983 * inet/getprtent_r.c: Likewise.
16984 * inet/getprtname.c: Likewise.
16985 * inet/getprtname_r.c: Likewise.
16986 * inet/getrpcbyname.c: Likewise.
16987 * inet/getrpcbyname_r.c: Likewise.
16988 * inet/getrpcbynumber.c: Likewise.
16989 * inet/getrpcbynumber_r.c: Likewise.
16990 * inet/getrpcent.c: Likewise.
16991 * inet/getrpcent_r.c: Likewise.
16992 * inet/getaliasent.c: Likewise.
16993 * inet/getaliasent_r.c: Likewise.
16994 * inet/getaliasname.c: Likewise.
16995 * inet/getaliasname_r.c: Likewise.
16996 * nscd/getgrgid_r.c: Likewise.
16997 * nscd/getgrnam_r.c: Likewise.
16998 * nscd/gethstbyad_r.c: Likewise.
16999 * nscd/gethstbynm3_r.c: Likewise.
17000 * nscd/getpwnam_r.c: Likewise.
17001 * nscd/getpwuid_r.c: Likewise.
17002 * nscd/getsrvbynm_r.c: Likewise.
17003 * nscd/getsrvbypt_r.c: Likewise.
17004 * nscd/gai.c: Likewise.
17005
c53d909c
RM
17006 * configure.in (build_nscd): New substituted variable, set
17007 by --disable-build-nscd and defaults to $use_nscd.
17008 * configure: Regenerated.
17009 * config.make.in (build-nscd): New substituted variable.
17010 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17011 Change conditional to require [$(build-nscd) = yes] as well.
17012 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17013
3cc3ef96
RM
17014 [BZ# 13696]
17015 * configure.in (use_nscd): New substituted variable, set by
17016 --disable-nscd. If enabled, define USE_NSCD.
17017 * configure: Regenerated.
17018 * config.h.in: Add USE_NSCD.
17019 * config.make.in (use-nscd): New substituted variable.
17020 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17021 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17022 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17023 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17024 (CFLAGS-getgrnam_r.c): Likewise.
17025 (CFLAGS-initgroups.c): Likewise.
17026 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17027 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17028 Variables removed.
17029 * inet/getnetgrent_r.c
17030 (nscd_setnetgrent): New function, broken out of ...
17031 (setnetgrent): ... here. Call it.
17032 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17033 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17034 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17035 * nscd/Makefile (routines, aux): Move definitions after include of
17036 Makeconfig. Conditionalize on [$(use-nscd) != no].
17037 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17038 Conditionalize on [USE_NSCD].
17039 (is_nscd, nscd_init_cb): Likewise.
17040 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17041 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17042 * nss/nss_db/db-init.c: Likewise.
17043 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17044 [USE_NSCD].
17045 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17046 (make_request): Use it.
17047 (cache_valid_p): New function.
17048 (__check_pf): Use it.
17049 * NEWS: Add item for --disable-nscd.
17050
07e51550
DL
170512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17052
17053 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17054 to support sed >= 4.2.1-20-ga9bf076.
17055 * configure: Regenerated.
17056
35a5b08b
RM
170572012-08-22 Roland McGrath <roland@hack.frob.com>
17058
17059 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17060 Conditionalize whole body on [IREL].
17061
8479f23a
JL
170622012-08-22 Jeff Law <law@redhat.com>
17063
17064 [BZ #14505]
17065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17066 if the family is PF_UNSPEC.
17067
48da0b21
MF
170682012-08-22 Mike Frysinger <vapier@gentoo.org>
17069
17070 * Makerules (lib-version): Rename from V.
17071 (install-lib-nosubdir): Change V to lib-version.
17072
15d0da8c
WS
170732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17074
17075 [BZ #14252]
17076 * powerpc32/power6/wcschr.c: New file.
17077 * powerpc32/power6/wcscpy.c: New file.
17078 * powerpc32/power6/wcsrchr.c: New file.
17079 * powerpc64/power6/wcschr.c: New file.
17080 * powerpc64/power6/wcscpy.c: New file.
17081 * powerpc64/power6/wcsrchr.c: New file.
17082
bcca0895
MK
170832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17084
17085 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17086 (two_way_short_needle): Use it.
5a4aaa33
RM
17087 * string/strstr.c (AVAILABLE1_USES_J): Define.
17088 * string/strcasestr.c: Likewise.
99677e57
MK
17089
17090 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17091 array references.
17092 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17093
400726de
MK
17094 [BZ #11607]
17095 * NEWS: Add an entry.
17096 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17097 define their defaults.
17098 (two_way_short_needle): Detect end-of-string on-the-fly.
17099 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17100 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17101 * string/bug-strcasestr1.c: New test.
17102 * string/Makefile: Run it.
17103
20a71f2c
MK
171042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17105
17106 [BZ #11607]
17107 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17108 the first character.
17109
21ad0558
RM
171102012-08-21 Roland McGrath <roland@hack.frob.com>
17111
17112 * csu/elf-init.c (__libc_csu_irel): Function removed.
17113 * csu/libc-start.c (apply_irel): New function.
17114 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17115
0e1d9911
JM
171162012-08-21 Joseph Myers <joseph@codesourcery.com>
17117
17118 * sysdeps/unix/sysv/linux/kernel-features.h
17119 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17120 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17121 <kernel-features.h>.
17122 [__NR_fadvise64_64]: Make code unconditional.
17123 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17124 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17125 !__NR_fadvise64_64)]: Likewise.
17126 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17127 !__NR_fadvise64_64))]: Likewise.
17128 [__NR_fadvise64]: Make code unconditional.
17129 [!__NR_fadvise64]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17131 <kernel-features.h>.
17132 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17133 unconditional.
17134 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17135 conditional code.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17137 not include <kernel-features.h>.
17138 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17139 unconditional.
17140 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17141 conditional code.
17142 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17143 include <kernel-features.h>.
17144 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17145 unconditional.
17146 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17147 conditional code.
17148
14a50c9d
WS
171492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17150
17151 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17152 slight instruction rearrangements per scrollpipe analysis.
17153 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17154
c0f4faf0
RM
171552012-08-20 Roland McGrath <roland@hack.frob.com>
17156
696da859
RM
17157 * manual/syslog.texi (syslog; vsyslog, closelog):
17158 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17159 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17160
c0f4faf0
RM
17161 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17162 DSOCAPS to match condition on defining it.
17163
348363b2
JM
171642012-08-20 Joseph Myers <joseph@codesourcery.com>
17165
a35cbf28
JM
17166 * sysdeps/unix/sysv/linux/kernel-features.h
17167 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17172 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17173 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17175 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17176 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17177
445f7ecd
JM
17178 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17179 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17180
348363b2
JM
17181 * sysdeps/unix/sysv/linux/kernel-features.h
17182 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17183 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17184 unconditional.
17185 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17186 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17187 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17188 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17189 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17190 Make code unconditional.
17191 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17192 (__mmap64) [!__NR_mmap2]: Likewise.
17193 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17194 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17195 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17196 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17197 [__NR_mmap2]: Make code unconditional.
17198 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17199 (__mmap64) [!__NR_mmap2]: Likewise.
17200
bc5bc0e5
AK
172012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17202
17203 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17204
88d506de
AJ
172052012-08-18 Andreas Jaeger <aj@suse.de>
17206
17207 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17208
493387d2
MF
172092012-08-18 Mike Frysinger <vapier@gentoo.org>
17210
17211 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17212 * include/unistd.h (__have_sock_cloexec): Likewise.
17213 (__have_pipe2): Likewise.
17214 (__have_dup3): Likewise.
17215
a277af22
MF
172162012-08-18 Mike Frysinger <vapier@gentoo.org>
17217
17218 [BZ #9685]
17219 * include/unistd.h (__have_pipe2): Change define into an extern int.
17220 (__have_dup3): Likewise.
17221 * socket/have_sock_cloexec.c: Include fcntl.h.
17222 (__have_pipe2): New variable.
17223 (__have_dup3): Likewise.
17224
fdab8fd3
MF
172252012-08-17 Mike Frysinger <vapier@gentoo.org>
17226
17227 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17228
31035e80
MP
172292012-08-17 Marek Polacek <polacek@redhat.com>
17230
17231 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17232 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17233
3bd9e993
RM
172342012-08-17 Roland McGrath <roland@hack.frob.com>
17235
c91c505f
RM
17236 * configure.in: Add AC_SUBST for sysheaders.
17237 * configure: Regenerated.
17238 * config.make.in (sysheaders): New substituted variable.
17239
7c6f9d53
RM
17240 * sysdeps/unix/mkfifo.c: Moved ...
17241 * sysdeps/posix/mkfifo.c: ... here.
17242 * sysdeps/unix/mkfifoat.c: Moved ...
17243 * sysdeps/posix/mkfifoat.c: ... here.
17244
17245 * sysdeps/unix/utime.c: Moved ...
17246 * sysdeps/posix/utime.c: ... here.
17247
17248 * sysdeps/unix/time.c: Moved ...
17249 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17250 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17251 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17252
17253 * sysdeps/unix/nice.c: Moved ...
17254 * sysdeps/posix/nice.c: ... here.
17255
17256 * sysdeps/unix/alarm.c: Moved ...
17257 * sysdeps/posix/alarm.c: ... here.
17258
3bd9e993
RM
17259 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17260
d1f09384
JL
172612012-08-17 Jeff Law <law@redhat.com>
17262
17263 * intl/Makefile (codeset_mo): New variable.
17264 ($(codeset_mo)): New target.
17265 (tst-codeset.out): Depend on that. Remove explicit rule.
17266 (tst-gettext3.out, tst-gettext5.out): Likewise.
17267 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17268 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17269 * intl/tst-codeset.sh: Remove.
17270 * intl/tst-gettext3.sh: Likewise.
17271 * intl/tst-gettext5.sh: Likewise.
17272
2ae1ae5c
RM
172732012-08-17 Roland McGrath <roland@hack.frob.com>
17274
c31fdb83
RM
17275 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17276 * sysdeps/unix/syscalls.list: ... here.
17277
a0844057
RM
17278 * sysdeps/posix/getaddrinfo.c
17279 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17280 (gaiconf_init, gaiconf_reload): Use them.
17281 [!_STATBUF_ST_NSEC]
17282 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17283 Define using time_t rather than struct timespec.
17284
750c1f2a
RM
17285 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17286 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17287 Macros removed.
17288 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17289 [!NO_THREADS].
17290 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17291 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17292 Likewise.
17293
2ae1ae5c
RM
17294 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17295 __libc_cleanup_push argument.
17296
e66a42f5
RM
17297 * bits/param.h: New file.
17298 * misc/sys/param.h: New file.
17299 * include/sys/param.h: New file.
17300 * misc/Makefile (headers): Add bits/param.h.
17301 * sysdeps/generic/sys/param.h: File removed.
17302 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17303 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17304 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17305 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17306
b7c08a66
RM
17307 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17308 last change.
17309
b2e1c562
RM
17310 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17311 [_IO_MTSAFE_IO].
17312 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17313 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17314 New macros.
17315
c75ccd4c
RM
17316 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17317 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17318 rather than -D_IO_MTSAFE_IO conditionally.
17319 * stdio-common/Makefile (CPPFLAGS): Likewise.
17320 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17321 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17322 Use $(libio-mtsafe).
17323 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17324 of -D_IO_MTSAFE_IO.
17325 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17326 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17327 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17328 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17329 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17330 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17331 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17332 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17333 (CFLAGS-fread_u_chk.c): Likewise.
17334 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17335 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17336 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17337 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17338 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17339 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17340 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17341 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17342 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17343
17344 * libio/Makefile: Test [$(libc-reentrant) = yes]
17345 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17346
17347 * Makeconfig
17348 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17349 * sysdeps/pthread/configure: File removed.
17350 * sysdeps/pthread/Makeconfig: New file.
17351 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17352 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17353
d9195db8
GB
173542012-08-16 Gary Benson <gbenson@redhat.com>
17355
17356 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17357 unmapping the first object in a namespace.
17358
86466cd9
RM
173592012-08-16 Roland McGrath <roland@hack.frob.com>
17360
17361 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17362 (__internal_setnetgrent): ... this. Add internal_function to
17363 definition. Add libc_hidden_def.
17364 (setnetgrent): Update caller.
17365 (internal_endnetgrent): Renamed to ...
17366 (__internal_endnetgrent): ... this. Add internal_function to
17367 definition. Add libc_hidden_def.
17368 (endnetgrent): Update caller.
17369 (internal_getnetgrent_r): Renamed to ...
17370 (__internal_getnetgrent_r): ... this. Add internal_function to
17371 definition. Add libc_hidden_def.
17372 (__getnetgrent_r): Update caller.
17373 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17374
c3c8283c
JM
173752012-08-16 Joseph Myers <joseph@codesourcery.com>
17376
17377 * stdlib/longlong.h: Update from GCC.
17378
db1ee0a8
RM
173792012-08-16 Roland McGrath <roland@hack.frob.com>
17380
17381 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17382 on _QL, which is set by umul_ppmm but never used.
17383 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17384 variables, which are set by GMP macros but never used.
17385 * stdio-common/_itowa.c (_itowa): Likewise.
17386 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17387 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17388
30f69637
CD
173892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17390
17391 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17392 struct La_sh_regs is not constant.
17393 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17394 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17395 and struct La_sparc64_regs are not constant.
17396
93a78ac4
JM
173972012-08-16 Joseph Myers <joseph@codesourcery.com>
17398
17399 * sysdeps/unix/sysv/linux/kernel-features.h
17400 (__ASSUME_POSIX_TIMERS): Remove.
17401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17404 Make code unconditional.
17405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17406 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17407 Make code unconditional.
17408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17409 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17410 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17412 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17413 Make code unconditional.
17414 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17415 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17416 (__libc_missing_posix_timers): Remove.
17417
dd924cd7
RM
174182012-08-15 Roland McGrath <roland@hack.frob.com>
17419
4b4f2771
RM
17420 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17421 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17422
601c888b
RM
17423 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17424
176790a7
RM
17425 * elf/dl-sym.c: Include <stdlib.h>.
17426
329bc018
RM
17427 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17428 constants, which avoids warnings in 32-bit builds.
17429
e04e272d
RM
17430 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17431 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17432
952bf94a
RM
17433 * misc/lseek.c: File moved to ...
17434 * io/lseek.c: ... here.
17435
7c99b50a
RM
17436 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17437
dd924cd7
RM
17438 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17439 shifting LEN more than 31 bits at once.
17440
b3f479a8
LD
174412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17442
17443 [BZ #14195]
8c4ae0d4
RM
17444 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17445 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17446 * string/test-strncasecmp.c (check1): Renamed to...
17447 (bz12205): ...this.
17448 (bz14195): Add new testcase for two empty input strings and N > 0.
17449 (test_main): Call new testcase, adapt for renamed function.
17450
9c55864e
AJ
174512012-08-15 Andreas Jaeger <aj@suse.de>
17452
17453 [BZ #14090]
17454 * crypt/md5test2.c: New test, based on test supplied by Serge
17455 Belyshev <belyshev@depni.sinp.msu.ru>.
17456 * crypt/Makefile (xtests): Add md5test-giant..
17457 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17458
02dcb6c5
PE
174592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17460
17461 [BZ #14090]
17462 * crypt/md5.c (md5_process_block): Don't assume the buffer
17463 length is less than 2**32.
17464 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17465 length is less than 2**64.
17466
a3f95dcc
RM
174672012-08-15 Roland McGrath <roland@hack.frob.com>
17468
be75d758
RM
17469 * string/str-two-way.h: Include <sys/param.h>.
17470 (MAX): Macro removed.
17471
7312ca90
RM
17472 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17473 Move #define and #undef of memmove to just before and after
17474 including <string.h>.
17475
9a0a5486
RM
17476 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17477 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17478 and after including <string.h>. Move declarations of
17479 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17480 to before #include "string/memmove.c".
17481
67cc348d
RM
17482 * include/dirent.h: Declare __getdirentries.
17483
a3f95dcc
RM
17484 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17485 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17486
ca98e171
MF
174872012-08-14 Mike Frysinger <vapier@gentoo.org>
17488
17489 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17490 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17491 * sysdeps/i386/configure: Regenerated.
17492 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17493 STABS_CURRENT_FILE, and STABS_FUN.
17494 (END): Remove call to STABS_FUN_END.
17495 (STABS_CURRENT_FILE1): Delete.
17496 (STABS_CURRENT_FILE): Likewise.
17497 (STABS_FUN): Likewise.
17498 (STABS_FUN_END): Likewise.
17499 (STABS_FUN2): Likewise.
17500 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17501 * sysdeps/x86_64/configure: Regenerated.
17502
5908bf46
RM
175032012-08-14 Roland McGrath <roland@hack.frob.com>
17504
17505 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17506 * elf/dl-lookup.c: Likewise.
5908bf46 17507
f2c05b9e
JM
175082012-08-14 Joseph Myers <joseph@codesourcery.com>
17509
17510 * sysdeps/unix/sysv/linux/kernel-features.h
17511 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17512 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17513 unconditionally.
17514 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17515 unconditionally.
17516 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17517 condition on __ASSUME_CLONE_THREAD_FLAGS.
17518
e11f5155
AJ
175192012-08-14 Andreas Jaeger <aj@suse.de>
17520
17521 * sysdeps/i386/fpu/libm-test-ulps: Update.
17522
51a9ba86
MK
175232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17524
2fdd4f78
AJ
17525 * include/atomic.h (atomic_exchange_and_add): Split into ...
17526 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17527 New atomic macros.
51a9ba86 17528
ba6cba9e
MT
175292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17530
17531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17532
42443a47
JL
175332012-08-13 Jeff Law <law@redhat.com>
17534
17535 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17536 null byte in the output string.
17537
121dce05
JM
175382012-08-10 Joseph Myers <joseph@codesourcery.com>
17539
17540 * sysdeps/unix/sysv/linux/kernel-features.h
17541 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17542 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17543 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17545 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17546 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17547 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17548
bf51f568
JL
175492012-08-09 Jeff Law <law@redhat.com>
17550
17551 [BZ #13939]
17552 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17553 When avoid_arena is set, don't retry in the that arena. Pick the
17554 next one, whatever it might be.
17555 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17556 (arena_lock): Pass in new parameter to arena_get2.
17557 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17558 arena_get2.
17559 (__libc_malloc): Unify retrying after main arena failure with
17560 __libc_memalign version.
17561 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17562
f85fa270
L
175632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17564
17565 [BZ #14166]
17566 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17567 to __redirect_strstr.
17568 (__strstr_sse42): Use typeof __redirect_strstr.
17569 (__strstr_ia32): Likewise.
17570 (__libc_strstr): New prototype.
17571 (strstr): Renamed to ...
17572 (__libc_strstr): This.
17573 (strstr): New strong alias of __libc_strstr.
17574 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17575 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17576 __redirect_time.
17577 Include <time.h>.
17578 (__libc_time): New prototype.
17579 (time_ifunc): Replace time with __libc_time.
17580 (time): New strong alias and hidden definition of __libc_time.
17581 (__GI_time): Remove strong alias.
17582 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17583 Include <stddef.h>.
17584 (memmove): Redefined to __redirect_memmove.
17585 (__memmove_sse2): Use typeof __redirect_memmove.
17586 (__memmove_ssse3): Likewise.
17587 (__memmove_ssse3_back): Likewise.
17588 (__libc_memmove): New prototype.
17589 (memmove): Renamed to ...
17590 (__libc_memmove): This.
17591 (memmove): New strong alias of __libc_memmove.
17592
33b4a91e
MS
175932012-08-08 Mark Salter <msalter@redhat.com>
17594
17595 * elf/elf.h
17596 (R_MN10300_TLS_GD): Define.
17597 (R_MN10300_TLS_LD): Likewise.
17598 (R_MN10300_TLS_LDO): Likewise.
17599 (R_MN10300_TLS_GOTIE): Likewise.
17600 (R_MN10300_TLS_IE): Likewise.
17601 (R_MN10300_TLS_LE): Likewise.
17602 (R_MN10300_TLS_DTPMOD): Likewise.
17603 (R_MN10300_TLS_DTPOFF): Likewise.
17604 (R_MN10300_TLS_TPOFF): Likewise.
17605 (R_MN10300_SYM_DIFF): Likewise.
17606 (R_MN10300_ALIGN): Likewise.
17607 (R_MN10300_NUM): Update.
17608
b36137f1
JM
176092012-08-08 Joseph Myers <joseph@codesourcery.com>
17610
17611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17612 Remove.
17613
cdd915fd
RM
176142012-08-08 Roland McGrath <roland@hack.frob.com>
17615
a2433aac
RM
17616 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17617
cdd915fd
RM
17618 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17619 sysdeps/unix -> sysdeps/posix move.
17620 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17621
bf9b740a
AM
176222012-08-07 Allan McRae <allan@archlinux.org>
17623
17624 [BZ #14303]
17625 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17626 (SUNOS_CPP): Likewise.
17627 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17628 not found.
17629 (open_input): Call CPP using execvp.
17630
93df14ee
JM
176312012-08-07 Joseph Myers <joseph@codesourcery.com>
17632
17633 * sysdeps/unix/sysv/linux/kernel-features.h
17634 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17635 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17636 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17637 (__ASSUME_WAITID_SYSCALL): Likewise.
17638 * sysdeps/unix/sysv/linux/dl-execstack.c
17639 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17640 code unconditional.
17641 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17642 conditional code.
17643 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17644 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17645 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17646 code.
17647 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17648 unconditional.
17649 [__ASSUME_WAITID_SYSCALL]: Likewise.
17650 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17651
d34689de
RM
176522012-08-07 Roland McGrath <roland@hack.frob.com>
17653
a281decc
RM
17654 * sysdeps/unix/closedir.c: Renamed to ...
17655 * sysdeps/posix/closedir.c: ... here.
17656 * sysdeps/unix/dirfd.c: Renamed to ...
17657 * sysdeps/posix/dirfd.c: ... here.
17658 * sysdeps/unix/dirstream.h: Renamed to ...
17659 * sysdeps/posix/dirstream.h: ... here.
17660 * sysdeps/unix/fdopendir.c: Renamed to ...
17661 * sysdeps/posix/fdopendir.c: ... here.
17662 * sysdeps/unix/opendir.c: Renamed to ...
17663 * sysdeps/posix/opendir.c: ... here.
17664 * sysdeps/unix/readdir.c: Renamed to ...
17665 * sysdeps/posix/readdir.c: ... here.
17666 * sysdeps/unix/readdir_r.c: Renamed to ...
17667 * sysdeps/posix/readdir_r.c: ... here.
17668 * sysdeps/unix/rewinddir.c: Renamed to ...
17669 * sysdeps/posix/rewinddir.c: ... here.
17670 * sysdeps/unix/seekdir.c: Renamed to ...
17671 * sysdeps/posix/seekdir.c: ... here.
17672 * sysdeps/unix/telldir.c: Renamed to ...
17673 * sysdeps/posix/telldir.c: ... here.
17674 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17675 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17676 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17677 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17678
22895b47
RM
17679 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17680 * bits/fcntl.h: ... here.
17681
707a53b6
RM
17682 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17683 not 0.
17684 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17685 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17686 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17687 (struct flock): Move l_start, l_len to the beginning.
17688 Use __pid_t for l_pid.
17689 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17690 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17691 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17692 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17693 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17694 [__USE_LARGEFILE64] (struct flock64): New type.
17695 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17696
f0bd3e25
RM
17697 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17698 * bits/dirent.h: ... here.
17699
d34689de
RM
17700 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17701 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17702
6dad2c06
JM
177032012-08-07 Joseph Myers <joseph@codesourcery.com>
17704
17705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17706 Change from 2.6.0 to 2.6.16.
17707 * sysdeps/unix/sysv/linux/configure: Regenerated.
17708 * sysdeps/unix/sysv/linux/kernel-features.h
17709 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17710 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17711 version.
17712 (__ASSUME_UTIMES): Likewise.
17713 (__ASSUME_CLONE_STOPPED): Remove.
17714 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17715 architectures, not kernel version.
17716 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17717 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17718 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17719 (__ASSUME_WAITID_SYSCALL): Likewise.
17720 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17721 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17722 * README: State 2.6.16 as minimum Linux kernel version. Do not
17723 refer to older versions.
17724
03af9520
RM
177252012-08-06 Roland McGrath <roland@hack.frob.com>
17726
8e49df1d
RM
17727 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17728 Define alphasort64 as an alias.
17729 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17730 Define versionsort64 as an alias.
17731 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17732 Define scandir64 as an alias.
17733 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17734 Define scandirat64 as an alias.
17735 * dirent/alphasort64.c (alphasort64):
17736 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17737 * dirent/versionsort64.c: Likewise.
17738 * dirent/scandir64.c: Likewise.
17739 * dirent/scandirat64.c: Likewise.
17740 * sysdeps/wordsize-64/alphasort.c: File removed.
17741 * sysdeps/wordsize-64/alphasort64.c: File removed.
17742 * sysdeps/wordsize-64/scandir.c: File removed.
17743 * sysdeps/wordsize-64/scandir64.c: File removed.
17744 * sysdeps/wordsize-64/scandirat.c: File removed.
17745 * sysdeps/wordsize-64/scandirat64.c: File removed.
17746 * sysdeps/wordsize-64/versionsort.c: File removed.
17747 * sysdeps/wordsize-64/versionsort64.c: File removed.
17748 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17749 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17750 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17751 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17752 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17755 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17756
17757 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17759 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17761 [defined __arch64__ || defined __sparcv9]
17762 (__INO_T_MATCHES_INO64_T): New macro.
17763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17764 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17765 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17766 * sysdeps/unix/sysv/linux/bits/dirent.h
17767 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17768 (_DIRENT_MATCHES_DIRENT64): New macro.
17769
03af9520
RM
17770 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17771 Define lockf64 as an alias.
17772 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17773 Define fseeko64 as an alias.
17774 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17775 Define ftello64 as an alias.
17776 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17777 Define _IO_fgetpos64 and fgetpos64 as aliases.
17778 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17779 Define _IO_fsetpos64 and fsetpos64 as aliases.
17780 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17781 Conditionalize body on this.
17782 * libio/fseeko64.c: Likewise.
17783 * libio/ftello64.c: Likewise.
17784 * libio/iofgetpos64.c: Likewise.
17785 * libio/iofsetpos64.c: Likewise.
17786 * sysdeps/wordsize-64/lockf.c: File removed.
17787 * sysdeps/wordsize-64/lockf64.c: File removed.
17788 * sysdeps/wordsize-64/fseeko.c: File removed.
17789 * sysdeps/wordsize-64/fseeko64.c: File removed.
17790 * sysdeps/wordsize-64/ftello.c: File removed.
17791 * sysdeps/wordsize-64/ftello64.c: File removed.
17792 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17793 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17794 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17795 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17798 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17800 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17806
17807 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17809 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17811 [defined __arch64__ || defined __sparcv9]
17812 (__OFF_T_MATCHES_OFF64_T): New macro.
17813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17814 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17816 (__OFF_T_MATCHES_OFF64_T): New macro.
17817
c5757acd
L
178182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17819
17820 * stdlib/secure-getenv.c (__secure_getenv): Replace
17821 GLIBC_2_16 with GLIBC_2_17.
17822
3a31811e
L
178232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17827
faa2bccb
DM
178282012-08-03 David S. Miller <davem@davemloft.net>
17829
17830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17831
85fe1997
JM
178322012-08-03 Joseph Myers <joseph@codesourcery.com>
17833
17834 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17835 Remove.
17836 (__ASSUME_CORRECT_SI_PID): Likewise.
17837 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17838 (__ASSUME_TMPFS_NAME): Likewise.
17839 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17840 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17841 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17842 (HAVE_AUX_SECURE): Make definition unconditional.
17843 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17844 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17845
4f75b7a0
RM
178462012-08-03 Roland McGrath <roland@hack.frob.com>
17847
17848 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17849 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17850 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17851 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17852 __eloop_threshold instead of SYMLOOP_MAX.
17853
17854 * sysdeps/generic/eloop-threshold.h: New file.
17855 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17856 of MAXSYMLINKS.
17857 * elf/chroot_canon.c (chroot_canon): Likewise.
17858
7aab07e4
JM
178592012-08-03 Joseph Myers <joseph@codesourcery.com>
17860
17861 [BZ #13717]
17862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17863 Change to 2.6.0 everywhere.
17864 * sysdeps/unix/sysv/linux/configure: Regenerated.
17865 * sysdeps/unix/sysv/linux/kernel-features.h
17866 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17867 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17868 kernel versions.
17869 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17870 (__ASSUME_FUTEX_REQUEUE): Remove.
17871 (__ASSUME_STATFS64): Define unconditionally.
17872 (__ASSUME_AT_SECURE): Likewise.
17873 (__ASSUME_CORRECT_SI_PID): Likewise.
17874 (__ASSUME_TGKILL): Define without depending on kernel version for
17875 i386.
17876 (__ASSUME_UTIMES): Likewise.
17877 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17878 kernel version.
17879 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17880 (__ASSUME_TMPFS_NAME): Likewise.
17881 * README: Update reference to Linux kernel versions.
17882
b67e9372
MP
178832012-08-02 Marek Polacek <polacek@redhat.com>
17884
1f529f7d 17885 [BZ# 14150]
b67e9372
MP
17886 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17887 libc_cv_asm_type_prefix with %.
17888 * configure: Regenerated.
d2441631
RM
17889 * include/libc-symbols.h: Remove comment about
17890 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17891 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17892 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17893 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17894 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17895 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17896 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17897 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17898 * elf/tst-unique2mod1.c: Likewise.
17899 * elf/tst-unique1mod2.c: Likewise.
17900 * elf/tst-unique1mod1.c: Likewise.
17901 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17902 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17903 Replace ASM_TYPE_DIRECTIVE with .type.
17904 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17905 * sysdeps/i386/sysdep.h: Likewise.
17906 * sysdeps/x86_64/sysdep.h: Likewise.
17907 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17909 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17910 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17911 * sysdeps/powerpc/powerpc32/sysdep.h:
17912 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17913 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17914 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17915 * sysdeps/i386/fpu/e_powf.S: Likewise.
17916 * sysdeps/i386/fpu/e_expl.S: Likewise.
17917 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17918 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17919 * sysdeps/i386/fpu/e_pow.S: Likewise.
17920 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17921 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17922 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17923 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17924 * sysdeps/i386/fpu/e_log2.S: Likewise.
17925 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17926 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17927 * sysdeps/i386/fpu/e_powl.S: Likewise.
17928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17929 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17930 * sysdeps/i386/fpu/e_logl.S: Likewise.
17931 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17932 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17933 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17934 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17935 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17936 * sysdeps/i386/fpu/e_log.S: Likewise.
17937 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17938 * sysdeps/i386/fpu/e_logf.S: Likewise.
17939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17940 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17941 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17942 * sysdeps/i386/fpu/e_log10.S: Likewise.
17943 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17944 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17945 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17946 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17947 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17948 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17949 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17950 * sysdeps/i386/i686/strtok.S: Likewise.
17951 * sysdeps/i386/i386-mcount.S: Likewise.
17952 * sysdeps/i386/strtok.S: Likewise.
17953 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17954 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17955 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17956 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17957 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17958 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17959 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17960 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17961 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17962 * sysdeps/x86_64/_mcount.S: Likewise.
17963 * sysdeps/x86_64/strtok.S: Likewise.
17964 * sysdeps/sh/_mcount.S: Likewise.
17965
2747bf9a
RM
179662012-08-01 Roland McGrath <roland@hack.frob.com>
17967
17968 * libio/iofopen.c: Include <fcntl.h>.
17969 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17970 (_IO_fopen64, fopen64): Define as aliases.
17971 * libio/iofopen64.c: Include <fcntl.h>.
17972 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17973 Conditionalize body on this.
17974 * sysdeps/wordsize-64/iofopen.c: File removed.
17975 * sysdeps/wordsize-64/iofopen64.c: File removed.
17976
3fb791b8
MP
179772012-08-01 Marek Polacek <polacek@redhat.com>
17978
17979 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17980 Use dlfcn directly instead of a variable.
17981 (binfmt-subdir): Do not define.
17982 (dlfcn): Likewise.
17983
a9f1039f
JM
179842012-08-01 Joseph Myers <joseph@codesourcery.com>
17985
23bddc06
JM
17986 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17987 Remove all definitions.
17988 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17989 <kernel-features.h>.
17990 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17991 (miss_F_GETOWN_EX): Remove all definitions.
17992 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17993 macro definition.
17994 [!__ASSUME_FCNTL64]: Remove conditional code.
17995 [__ASSUME_FCNTL64]: Make code unconditional.
17996 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17997 <kernel-features.h>.
17998 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17999 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18000 (lockf64) [__NR_fcntl64]: Make code unconditional.
18001 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18002
a9f1039f
JM
18003 * sysdeps/unix/sysv/linux/kernel-features.h
18004 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18005 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18006 Make code unconditional.
18007 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18008 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18010 [__NR_vfork]: Make code unconditional.
18011 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18012 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18014 [__NR_vfork]: Make code unconditional.
18015 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18016 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18017
09c0ee5f
RM
180182012-08-01 Roland McGrath <roland@hack.frob.com>
18019
48aec5b9
RM
18020 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18021 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18022
cd97c966
RM
18023 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18024 Define mkstemp64 as an alias.
3f55550c
RM
18025 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18026 Define mkstemps64 as an alias.
cd97c966
RM
18027 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18028 Define mkostemp64 as an alias.
b8625cfc
RM
18029 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18030 Define mkostemps64 as an alias.
cd97c966
RM
18031 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18032 Conditionalize body on this.
18033 * misc/mkostemp64.c: Likewise.
b8625cfc 18034 * misc/mkostemps64.c: Likewise.
3f55550c 18035 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18036 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18037 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18038 * sysdeps/wordsize-64/mkostemp.c: File removed.
18039 * sysdeps/wordsize-64/mkstemp.c: File removed.
18040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18041 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18042 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18043 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18044
09c0ee5f
RM
18045 [BZ #14138]
18046 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18047 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18048 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18049 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18050
18051 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18052 compat_symbol macros from <shlib-compat.h> rather than the underlying
18053 default_symbol_version and symbol_version macros, so that DEFAULT
18054 lines in shlib-versions are respected.
18055 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18056
7e66ee51
FW
180572012-08-01 Florian Weimer <fweimer@redhat.com>
18058
18059 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18060 Declare with warn_unused_result.
18061 (setgid, setregid, setegid, setresgid): Likewise.
18062 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18063 Likewise.
18064 * WUR-REPORT: Remove set*id functions.
18065
d2a54255
PT
180662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18067
18068 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18069
7ecdb005
RM
180702012-07-31 Roland McGrath <roland@hack.frob.com>
18071
b4180a5e 18072 [BZ #10191]
789bd351
RM
18073 * include/sys/socket.h (__libc_accept, __libc_accept4):
18074 Add attribute_hidden.
18075 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18076
40ce302d
RM
18077 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18078 use of PTR_MANGLE.
18079 * inet/getnetgrent_r.c (setup): Likewise.
18080
7ecdb005
RM
18081 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18082
e2eabb2c
DM
180832012-07-31 David S. Miller <davem@davemloft.net>
18084
18085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18086
d0419dbf
JM
180872012-07-31 Joseph Myers <joseph@codesourcery.com>
18088
18089 [BZ #13629]
18090 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18091 value between 1.0 and 2.0 and smaller part has absolute value less
18092 than 1.0.
18093 * math/s_clog10.c (__clog10): Likewise.
18094 * math/s_clog10f.c (__clog10f): Likewise.
18095 * math/s_clog10l.c (__clog10l): Likewise.
18096 * math/s_clogf.c (__clogf): Likewise.
18097 * math/s_clogl.c (__clogl): Likewise.
18098 * math/libm-test.inc (clog_test): Add more tests.
18099 (clog10_test): Likewise.
18100 * sysdeps/i386/fpu/libm-test-ulps: Update.
18101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18102
2bc13872
FW
181032012-07-31 Florian Weimer <fweimer@redhat.com>
18104
18105 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18106 Exit with zero in case no suitable GID is found, and write a
18107 message to standard error.
18108
bea9b193
RM
181092012-07-30 Roland McGrath <roland@hack.frob.com>
18110
18111 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18112 rather than to 1.
18113 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18114 (MAXPATHLEN): Removed.
18115 (NOGROUP, NODEV): New macros.
18116 (setbit, clrbit, isset, isclr): New macros.
18117 (howmany, roundup, powerof2): New macros.
18118 (DEV_BSIZE): New macro.
18119
18120 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18121 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18122
18123 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18124 definition on [!__NO_LONG_DOUBLE_MATH].
18125
18126 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18127 PTR_MANGLE and PTR_DEMANGLE.
18128
18129 * socket/accept4.c (accept4): Rename to __libc_accept4.
18130 Define accept4 as a weak alias.
18131
18132 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18133 on [_DIRENT_HAVE_D_TYPE].
18134 * io/ftw.c (ftw_dir): Likewise.
18135
18136 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18137
18138 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18139
18140 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18141 Use the BSD numbers rather than the arbitrary ones we had.
18142 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18143 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18144 (SIGXCPU, SIGXFSZ): New macros.
18145 (_NSIG): Now 32.
18146
18147 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18148 initializer on [_LIBC_REENTRANT].
18149
18150 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18151 definitions inside [_POSIX_MAPPED_FILES].
18152
18153 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18154
18155 * dirent/opendir.c: Include <fcntl.h>.
18156
18157 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18158 (__libc_getspecific): Likewise.
18159 (__libc_key_create): Likewise.
18160
18161 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18162 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18163 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18164 (tmpfile64): Define as alias.
18165 * sysdeps/wordsize-64/tmpfile.c: File removed.
18166 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18168 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18169
18170 * stdio-common/vfscanf.c: Include <stdbool.h>.
18171 * nss/makedb.c: Likewise.
18172 * stdio-common/_i18n_number.h: Likewise.
18173 * argp/argp-help.c: Likewise.
18174 * posix/wordexp.c: Likewise.
18175 * sysdeps/posix/spawni.c: Likewise.
18176 * nss/nss_files/files-initgroups.c: Likewise.
18177 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18178 * nss/nss_files/files-initgroups.c: Likewise.
18179 * nss/nss_db/db-netgrp.c: Likewise.
18180 * nss/nss_db/db-initgroups.c: Likewise.
18181 * io/fchmodat.c: Include <sys/stat.h>.
18182
18183 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18184 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18185
18186 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18187 [HAVE_MMAP].
18188
18189 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18190 Add multiple inclusion protection.
18191
e5abc686
DM
181922012-07-27 David S. Miller <davem@davemloft.net>
18193
18194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18195
815e6fa3
GB
181962012-07-27 Gary Benson <gbenson@redhat.com>
18197
18198 [BZ #14298]
18199 * elf/rtld.c: Include <stap-probe.h>.
18200 (dl_main): Added static probes "init_start" and "init_complete".
18201 * elf/dl-load.c: Include <stap-probe.h>.
18202 (lose): Take new parameter "nsid".
18203 Added static probe "map_failed".
18204 (_dl_map_object_from_fd): Pass namespace id to lose.
18205 Added static probe "map_start".
18206 (open_verify): Pass namespace id to lose.
18207 * elf/dl-open.c: Include <stap-probe.h>.
18208 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18209 and "reloc_complete".
18210 * elf/dl-close.c: Include <stap-probe.h>.
18211 (_dl_close_worker): Added static probes "unmap_start" and
18212 "unmap_complete".
18213 * elf/rtld-debugger-interface.txt: New file documenting the above.
18214
9f98c16c
RM
182152012-07-26 Roland McGrath <roland@hack.frob.com>
18216
18217 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18218 rather than a string variable.
18219 * sunrpc/rpc_main.c (h_output): Likewise.
18220 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18221
f3c22df3
PT
182222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18223
18224 * inet/check_native.c: New file.
18225
3129cfc6
JM
182262012-07-26 Joseph Myers <joseph@codesourcery.com>
18227
da865e95
JM
18228 [BZ #13629]
18229 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18230 if larger part has absolute value 1.0.
18231 * math/s_clog10.c (__clog10): Likewise.
18232 * math/s_clog10f.c (__clog10f): Likewise.
18233 * math/s_clog10l.c (__clog10l): Likewise.
18234 * math/s_clogf.c (__clogf): Likewise.
18235 * math/s_clogl.c (__clogl): Likewise.
18236 * math/libm-test.inc (clog_test): Add more tests.
18237 (clog10_test): Likewise.
18238 * sysdeps/i386/fpu/libm-test-ulps: Update.
18239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18240
3129cfc6
JM
18241 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18242 (pltexit): Likewise.
18243 (La_regs): Likewise.
18244 (La_retval): Likewise.
18245 (int_retval): Likewise.
18246 Update #error for removed macros to refer only to definitions in
18247 tst-audit.h.
18248 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18249 macro.
18250 (pltexit): Likewise.
18251 (La_regs): Likewise.
18252 (La_retval): Likewise.
18253 (int_retval): Likewise.
18254 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18255 macro.
18256 (pltexit): Likewise.
18257 (La_regs): Likewise.
18258 (La_retval): Likewise.
18259 (int_retval): Likewise.
18260 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18261 macro.
18262 (pltexit): Likewise.
18263 (La_regs): Likewise.
18264 (La_retval): Likewise.
18265 (int_retval): Likewise.
18266 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18267 macro.
18268 (pltexit): Likewise.
18269 (La_regs): Likewise.
18270 (La_retval): Likewise.
18271 (int_retval): Likewise.
18272 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18273 macro.
18274 (pltexit): Likewise.
18275 (La_regs): Likewise.
18276 (La_retval): Likewise.
18277 (int_retval): Likewise.
18278 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18279 macro.
18280 (pltexit): Likewise.
18281 (La_regs): Likewise.
18282 (La_retval): Likewise.
18283 (int_retval): Likewise.
18284 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18285 macro definitions in tst-audit.h.
18286 * sysdeps/i386/tst-audit.h: New file.
18287 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18288 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18289 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18290 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18291 * sysdeps/sh/tst-audit.h: Likewise.
18292 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18293 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18294 * sysdeps/x86_64/tst-audit.h: Likewise.
18295
bfc07087
AJ
182962012-07-26 Andreas Jaeger <aj@suse.de>
18297
b1b2aaf8
AJ
18298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18299 ptrace.
18300
18301 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18302 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18303 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18304 PTRACE_O_MASK.
18305 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18307 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18308
bfc07087
AJ
18309 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18310 value.
18311
18312 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18313 _sigsys.
18314 (si_call_addr, si_syscall, si_arch): Define new macro.
18315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18316 _sigsys.
18317 (si_call_addr, si_syscall, si_arch): Define new marcro.
18318 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18319 _sigsys.
18320 (si_call_addr, si_syscall, si_arch): Define new macro.
18321 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18322 _sigsys.
18323 (si_call_addr, si_syscall, si_arch): Define new macro.
18324
89b4b02f
JM
183252012-07-25 Joseph Myers <joseph@codesourcery.com>
18326
18327 [BZ #13717]
18328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18329 Change to 2.4.21 where previously 2.4.1.
18330 * sysdeps/unix/sysv/linux/configure: Regenerated.
18331 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18332 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18333 Linux kernel version.
18334 (__ASSUME_STD_AUXV): Remove.
18335 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18336 kernel version.
18337 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18338 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18339 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18340 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18341 (__ASSUME_NETLINK_SUPPORT): Likewise.
18342 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18343 (__no_netlink_support): Remove conditional definition.
18344 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18345 Remove.
18346 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18347 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18348 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18349 (if_nameindex_ioctl): Remove.
18350 (if_nameindex_netlink): Do not handle __no_netlink_support.
18351 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18352 code.
18353 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18354 Remove conditional code.
18355 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18356 code.
18357 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18358 unconditional.
18359 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18360 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18361 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18362 Remove.
18363 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18364 [!__ASSUME_STD_AUXV]: Remove conditional code.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18366 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18367 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18369 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18370 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18371 code.
18372 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18374 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18375 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18376 conditional code.
18377 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18379 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18380 code.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18382 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18383 conditional code.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18385 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18386 code unconditional.
18387 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18388 conditional code.
18389 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18390 unconditional.
18391 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18392 conditional code.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18394 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18395 unconditional.
18396 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18397 conditional code.
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18399 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18400 code unconditional.
18401 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18402 conditional code.
18403 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18404 unconditional.
18405 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18406 conditional code.
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18408 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18409 code unconditional.
18410 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18411 conditional code.
18412 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18413 unconditional.
18414 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18415 conditional code.
18416
842a39cd
AS
184172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18418
18419 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18420 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18421 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18422 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18423 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18424 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18425 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18426 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18427 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18428 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18429 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18430 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18431 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18432 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18442
84b3fd84
FW
184432012-07-25 Florian Weimer <fweimer@redhat.com>
18444
18445 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18446 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18447 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18448 Introduce __libc_secure_getenv.
0c7936d5
FW
18449 * stdlib/Versions (2.17): Add secure_getenv
18450 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18451 * stdlib/secure-getenv.c: Rename __secure_getenv to
18452 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18453 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18454 * stdlib/tst-secure-getenv.c: New.
18455 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18456 * manual/startup.texi (Environment Access): Document
18457 secure_getenv.
84b3fd84
FW
18458 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18459 __libc_secure_getenv.
18460 * inet/ruserpass.c (ruserpass): Likewise.
18461 * malloc/mtrace.c (mtrace): Likewise.
18462 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18463 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18464 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18465 * sysdeps/posix/tempname.c: Likewise. Evaluate
18466 HAVE_SECURE_GETENV.
18467 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18468 __secure_getenv to __libc_secure_getenv.
84b3fd84 18469 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18471 Likewise.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18473 Likewise.
18474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18481
56e49b71
JM
184822012-07-25 Joseph Myers <joseph@codesourcery.com>
18483
18484 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18485 (struct La_i86_retval): Likewise.
18486 (struct La_x86_64_regs): Likewise.
18487 (struct La_x86_64_retval): Likewise.
18488 (struct La_x32_regs): Likewise.
18489 (struct La_x32_retval): Likewise.
18490 (struct La_ppc32_regs): Likewise.
18491 (struct La_ppc32_retval): Likewise.
18492 (struct La_ppc64_regs): Likewise.
18493 (struct La_ppc64_retval): Likewise.
18494 (struct La_sh_regs): Likewise.
18495 (struct La_sh_retval): Likewise.
18496 (struct La_s390_32_regs): Likewise.
18497 (struct La_s390_32_retval): Likewise.
18498 (struct La_s390_64_regs): Likewise.
18499 (struct La_s390_64_retval): Likewise.
18500 (struct La_sparc32_regs): Likewise.
18501 (struct La_sparc32_retval): Likewise.
18502 (struct La_sparc64_regs): Likewise.
18503 (struct La_sparc64_retval): Likewise.
18504 (struct audit_ifaces): Remove architecture-specific pltenter and
18505 pltexit members.
18506 * sysdeps/i386/ldsodefs.h: New file.
18507 * sysdeps/powerpc/ldsodefs.h: Likewise.
18508 * sysdeps/s390/ldsodefs.h: Likewise.
18509 * sysdeps/sh/ldsodefs.h: Likewise.
18510 * sysdeps/sparc/ldsodefs.h: Likewise.
18511 * sysdeps/x86_64/ldsodefs.h: Likewise.
18512
354691b7
MP
185132012-07-25 Marek Polacek <polacek@redhat.com>
18514
18515 [BZ #6808]
18516 * math/libm-test.inc (yn_test): Add another test.
18517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18518 to ERANGE when the result is +-Inf.
18519 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18520 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18521 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18522 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18523
bf9e2071
JM
185242012-07-24 Joseph Myers <joseph@codesourcery.com>
18525
18526 * conform/data/time.h-data (NULL): Use macro-constant. Require
18527 equal to 0.
18528 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18529 clock_t.
18530 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18531
57633811
TS
185322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18533
18534 * configure.in <sysdeps resolving>: Correct printing
18535 Implies_before.
18536 * configure: Regenerate.
18537
c23c33b0
TS
185382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18539
18540 * math/w_ilogb.c: Include <limits.h>.
18541 * math/w_ilogbl.c: Likewise.
18542
b5982523
JM
185432012-07-20 Joseph Myers <joseph@codesourcery.com>
18544
18545 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18546 va_copy. Document allowing for unavailable va_copy only as
18547 pre-C99 compatibility.
18548 * manual/string.texi (Copying and Concatenation): Use va_copy
18549 instead of __va_copy in concat example.
18550
ac4ea442
PT
185512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18552
18553 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18554 (__sendto): Use create_address_port. Initialize APORT and deallocate
18555 it if not null.
18556
f98eafbd
PT
18557 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18558 with O_NOLINK passed to __file_name_lookup.
18559
898c7aab
PT
18560 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18561 with O_NOLINK passed to __file_name_lookup.
18562
0ced335a
PT
18563 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18564 negative N or less than NGIDS.
18565
b3404dbd
PT
18566 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18567 type to string_t. Set ERANGE as errno and return it if NAME is not big
18568 enough. Use memcpy instead of strncpy.
18569
0f48659e
JM
185702012-07-20 Joseph Myers <joseph@codesourcery.com>
18571
18572 * elf/Makefile (check-data): Remove.
18573 (localplt.data): New vpath directive.
18574 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18575 instead of $(check-data).
18576 * scripts/data/localplt-generic.data: Move to ...
18577 * sysdeps/generic/localplt.data: ... here.
18578 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18579 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18580 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18582 ... here.
18583 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18585 ... here.
18586 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18588 ... here.
18589 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18591 ... here.
18592 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18594 ... here.
18595 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18597 ... here.
18598
d37cbdaa
AZ
185992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18600
18601 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18602 PPC32 and PPC64 files.
18603 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18604 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18605
46f85fc2
AK
186062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18607
18608 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18609 __makecontext_ret to ...
18610 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18611 ... here and call exit if uc_link is NULL. New file.
18612 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18613 __makecontext_ret.S.
18614 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18615 __makecontext_ret to ...
18616 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18617 ... here and call exit if uc_link is NULL. New file.
18618 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18619 __makecontext_ret.S.
18620
08f43f9b
AK
186212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18622
18623 * elf/elf.h (R_390_IRELATIVE): New definition.
18624 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18625 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18626 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18627 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18628 (elf_machine_lazy_rel): Likewise.
18629 * sysdeps/s390/dl-irel.h: New file.
18630 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18631 * sysdeps/s390/s390-64/memset.S: New asm code.
18632 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18633 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18635 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18636 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18637 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18638 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18639 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18640 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18641 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18642 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18643 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18644 * sysdeps/s390/s390-32/memset.S: New asm code.
18645 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18646
3b05db33
MP
186472012-07-17 Marek Polacek <polacek@redhat.com>
18648
18649 [BZ #14349]
18650 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18651 * sysdeps/s390/s390-64/configure.in: Likewise.
18652 * sysdeps/sparc/configure.in: Likewise.
18653 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18654 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18655 * sysdeps/i386/configure.in: Likewise.
18656 * sysdeps/x86_64/configure.in: Likewise.
18657 * sysdeps/sh/configure.in: Likewise.
18658 * sysdeps/s390/s390-32/configure: Regenerated.
18659 * sysdeps/s390/s390-64/configure: Likewise.
18660 * sysdeps/x86_64/configure: Likewise.
18661 * sysdeps/sh/configure: Likewise.
18662 * sysdeps/powerpc/powerpc64/configure: Likewise.
18663 * sysdeps/powerpc/powerpc32/configure: Likewise.
18664 * sysdeps/sparc/configure: Likwise.
18665 * sysdeps/i386/configure: Likewise.
18666
a66877c6
MP
18667 * elf/dl-open.c: Comment fixes.
18668
cfc82fd8
JM
186692012-07-17 Joseph Myers <joseph@codesourcery.com>
18670
bd29910a
JM
18671 * Makefile [CXX] (check-data): Remove.
18672 [CXX] (c++-types.data): New vpath directive.
18673 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18674 vpath. Do not allow for C++ type data being missing.
18675 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18676 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18677 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18678 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18679 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18680 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18681 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18683 ... here.
18684 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18686 ... here.
18687 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18689 ... here.
18690 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18692 ... here.
18693 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18695 ... here.
18696 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18698 ... here.
18699 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18701 ... here.
18702 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18704
cfc82fd8
JM
18705 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18706 definitions to architecture-specific files.
18707 (TLS_IE): Likewise.
18708 (TLS_LD): Likewise.
18709 (TLS_GD): Likewise.
18710 * sysdeps/i386/tls-macros.h: New file.
18711 * sysdeps/powerpc/tls-macros.h: Likewise.
18712 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18713 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18714 * sysdeps/sh/tls-macros.h: Likewise.
18715 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18716 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18717 * sysdeps/x86_64/tls-macros.h: Likewise.
18718
f7db3170
TS
187192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18720
07cbfc23
TS
18721 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18722 zero value for regular exit case.
18723
f7db3170
TS
18724 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18725 (__start_context): Preserve zero value for regular exit case.
18726
dc97c227
TS
187272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18728 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18729
18730 * manual/setjmp.texi (setcontext): Clarify normal process
18731 termination when uc_link is the null pointer.
18732 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18733 exit call.
18734
d0cd7d02
AS
187352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18736
18737 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18738 preprocessor. Test for each exception mask separately.
18739
dd318934
AJ
187402012-07-16 Andreas Jaeger <aj@suse.de>
18741
18742 * po/ru.po: Update from translation team.
18743
8048311a
JM
187442012-07-15 Joseph Myers <joseph@codesourcery.com>
18745
18746 * conform/data/string.h-data (NULL): Use macro-constant. Require
18747 equal to 0.
18748 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18749 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18750 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18751 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18753
b637d46e
AJ
187542012-07-13 Andreas Jaeger <aj@suse.de>
18755
18756 * po/fr.po: Update from translation team.
18757
541428fe
MP
187582012-07-12 Marek Polacek <polacek@redhat.com>
18759
18760 [BZ #14173]
18761 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18762 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18763 loop condition.
18764
ec332e94
JM
187652012-07-12 Joseph Myers <joseph@codesourcery.com>
18766
18767 [BZ #13717]
18768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18769 Change to 2.4.1 where previously 2.4.0.
18770 * sysdeps/unix/sysv/linux/configure: Regenerated.
18771 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18772 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18773 version.
18774 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18775 (__ASSUME_AT_CLKTCK): Remove.
18776 (__ASSUME_AT_PAGESIZE): Likewise.
18777 (__ASSUME_AT_XID): Likewise.
18778 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18779 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18780 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18781 unconditionally.
18782 (HAVE_AUX_PAGESIZE): Likewise.
18783 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18784 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18785 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18786
7b6e99be
JB
187872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18788
18789 [BZ #14307]
18790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18791 the temporary buffer used to invoke __gethostbyname2_r,
18792 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18793 host_data / struct gaih_addrtuple.
18794 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18795 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18796 header file nss/nsswitch.h.
18797 * nss/nsswitch.h (global scope): Add definition of implementation
18798 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18799 resolv/nss_dns/dns-host.c).
18800
608404eb
AJ
188012012-07-11 Andreas Jaeger <aj@suse.de>
18802
18803 * po/fr.po: Update from translation team.
18804
71220aca
AJ
18805 * po/sv.po: Update from translation team
18806 * po/fr.po: Another update from translation team.
18807
28cfe843
AZ
188082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18809
18810 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18811 for subnormals or multiply small sinh result by itself.
18812 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18814
6b90f981
DM
188152012-07-11 David S. Miller <davem@davemloft.net>
18816
18817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18818
c6825772
AS
188192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18820
18821 [BZ #14347]
18822 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18823 (INTERNAL_MARK): Shift it here.
18824
7b8e0d49
MP
188252012-07-10 Marek Polacek <polacek@redhat.com>
18826
18827 [BZ #14151]
18828 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18829 libc_cv_asm_global_directive with .globl.
18830 * configure: Regenerated.
18831 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18832 with .globl.
18833 * sysdeps/i386/configure: Regenerated.
18834 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18835 with .globl.
18836 * sysdeps/x86_64/configure: Regenerated.
18837 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18838 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18839 * elf/tst-unique2mod2.c: Likewise.
18840 * elf/tst-unique2mod1.c: Likewise.
18841 * elf/tst-unique1mod2.c: Likewise.
18842 * elf/tst-unique1mod1.c: Likewise.
18843 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18844 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18846 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18847 * sysdeps/mach/sysdep.h: Likewise.
18848 * sysdeps/i386/sysdep.h: Likewise.
18849 * sysdeps/i386/i386-mcount.S: Likewise.
18850 * sysdeps/x86_64/_mcount.S: Likewise.
18851 * sysdeps/x86_64/sysdep.h: Likewise.
18852 * sysdeps/sh/_mcount.S: Likewise.
18853 * sysdeps/sh/sysdep.h: Likewise.
18854 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18855 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18856 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18857 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18858 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18859 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18860 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18861 * locale/localeinfo.h: Likewise.
18862 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18863 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18864
6c55cda3
RM
188652012-07-09 Roland McGrath <roland@hack.frob.com>
18866
18867 [BZ #14336]
18868 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18869 system".
18870 * manual/message.texi (The Uniforum approach): Likewise.
18871 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18872 (glibc iconv Implementation): Likewise.
18873
638a572e
JM
188742012-07-09 Joseph Myers <joseph@codesourcery.com>
18875
18876 [BZ #14337]
18877 * math/s_clog.c (__clog): Avoid scaling a value down where that
18878 could result in underflow.
18879 * math/s_clog10.c (__clog10): Likewise.
18880 * math/s_clog10f.c (__clog10f): Likewise.
18881 * math/s_clog10l.c (__clog10l): Likewise.
18882 * math/s_clogf.c (__clogf): Likewise.
18883 * math/s_clogl.c (__clogl): Likewise.
18884 * math/libm-test.inc (clog_test): Add more tests.
18885 (clog10_test): Likewise.
18886 * sysdeps/i386/fpu/libm-test-ulps: Update.
18887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18888
261f4859
AS
188892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18890
0abaf3e4
AS
18891 [BZ #14283]
18892 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18893 by 7 not 8 to examine high bit of fractional part.
18894
261f4859
AS
18895 [BZ #14042]
18896 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18897 for call to __mcount_internal.
18898 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18899 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18900 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18901
f17ac40d
JM
189022012-07-06 Joseph Myers <joseph@codesourcery.com>
18903
9ad63c23
JM
18904 [BZ #14154]
18905 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18906 approximation for values within 0x1p-13f of an odd multiple of
18907 pi/4.
18908 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18909 exception. Add more tests.
18910 * sysdeps/i386/fpu/libm-test-ulps: Update.
18911
f17ac40d
JM
18912 [BZ #6778]
18913 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18914 inputs and return -1 for them. Do not check for +Inf in case not
18915 reachable for +Inf.
18916 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18917 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18918 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18919 and return -1 for them. Do not check for +Inf in case not
18920 reachable for +Inf.
18921 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18922 define.
18923 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18924 and return -1 for them. Do not check for +Inf in case not
18925 reachable for +Inf.
18926 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18927 spurious underflow.
18928 * sysdeps/i386/fpu/libm-test-ulps: Update.
18929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930
fb21f89b
MF
189312012-07-06 Mike Frysinger <vapier@gentoo.org>
18932
18933 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18934
cdfe2c5e
JM
189352012-07-05 Joseph Myers <joseph@codesourcery.com>
18936
18937 [BZ #14157]
18938 [BZ #14331]
18939 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18940 could result in spurious underflow. Scale down values above
18941 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18942 * math/s_csqrtf.c (__csqrtf): Likewise.
18943 * math/s_csqrtl.c (__csqrtl): Likewise.
18944 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18945 spurious underflow.
18946 * sysdeps/i386/fpu/libm-test-ulps: Update.
18947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18948
70d35b67
AS
189492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18950
704bc459
AS
18951 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18952 xopen-msg.sed.
18953 * catgets/xopen-msg.awk: New file.
18954 * catgets/xopen-msg.sed: Removed.
18955
70d35b67
AS
18956 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18957 po2text.sed.
18958 * intl/po2test.awk: New file.
18959 * intl/po2test.sed: Removed.
18960
ca61cf32
JM
189612012-07-04 Joseph Myers <joseph@codesourcery.com>
18962
18963 [BZ #14328]
18964 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18965 or multiply small sinh result by itself.
18966 * math/s_ctanf.c (__ctanf): Likewise.
18967 * math/s_ctanh.c (__ctanh): Likewise.
18968 * math/s_ctanhf.c (__ctanhf): Likewise.
18969 * math/s_ctanhl.c (__ctanhl): Likewise.
18970 * math/s_ctanl.c (__ctanl): Likewise.
18971 * math/libm-test.inc (ctan_test_tonearest): New function.
18972 (ctan_test_towardzero): Likewise.
18973 (ctan_test_downward): Likewise.
18974 (ctan_test_upward): Likewise.
18975 (ctanh_test_tonearest): Likewise.
18976 (ctanh_test_towardzero): Likewise.
18977 (ctanh_test_downward): Likewise.
18978 (ctanh_test_upward): Likewise.
18979 (main): Call these new functions.
18980 * sysdeps/i386/fpu/libm-test-ulps: Update.
18981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18982
ca48a46a
MF
189832012-07-03 Mike Frysinger <vapier@gentoo.org>
18984
18985 * .gitignore: Delete /ports entry.
18986
9d63d37d
AJ
189872012-07-03 Andreas Jaeger <aj@suse.de>
18988
18989 * po/bg.po: Update from translation team.
18990 * po/cs.po: Likewise.
18991 * po/de.po: Likewise.
18992 * po/hr.po: Likewise.
18993 * po/nl.pl: Likewise.
18994 * po/pl.po: Likewise.
18995 * po/vi.po: Likewise.
18996
370ca3d2
JM
189972012-07-03 Joseph Myers <joseph@codesourcery.com>
18998
95f5a9a8
JM
18999 * Makeconfig [!+link] (+link-before-libc): New variable.
19000 [!+link] (+link-after-libc): Likewise.
19001 [!+link] (+link-tests): Likewise.
19002 [!+link] (+link): Define in terms of $(+link-before-libc) and
19003 $(+link-after-libc).
19004 [!+link-static] (+link-static-before-libc): New variable.
19005 [!+link-static] (+link-static-after-libc): Likewise.
19006 [!+link-static] (+link-static-tests): Likewise.
19007 [!+link-static] (+link-static): Define in terms of
19008 $(+link-static-before-libc) and $(+link-static-after-libc).
19009 [build-shared] (link-libc-before-gnulib): New variable.
19010 [build-shared] (link-libc-tests): Likewise.
19011 [build-shared] (link-libc): Define in terms of
19012 $(link-libc-before-gnulib).
19013 [!build-shared] (link-libc-tests): New variable.
19014 (link-libc-static-tests): New variable.
19015 [!gnulib] (gnulib-arch): New variable.
19016 [!gnulib] (gnulib-tests): Likewise.
19017 [!gnulib] (static-gnulib-arch): Likewise.
19018 [!gnulib] (static-gnulib-tests): Likewise.
19019 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19020 Define with "=" instead of ":=".
19021 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19022 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19023 * Rules (binaries-all-notests): New variable.
19024 (binaries-all-tests): Likewise.
19025 (binaries-static-notests): Likewise.
19026 (binaries-static-tests): Likewise.
19027 (binaries-all): Define using $(binaries-all-notests) and
19028 $(binaries-all-tests).
19029 (binaries-static): Define using $(binaries-static-notests) and
19030 $(binaries-static-tests).
19031 (binaries-shared-tests): New variable.
19032 (binaries-shared-notests): Likewise.
19033 (binaries-shared): Remove variable.
19034 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19035 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19036 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19037 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19038 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19039 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19040 * elf/Makefile (sln-modules): New variable.
19041 (extra-objs): Add $(sln-modules:=.o).
19042 (ldconfig-modules): Add static-stubs.
19043 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19044 * elf/static-stubs.c: New file.
19045
7a845b2c
JM
19046 [BZ #14283]
19047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19048 by 7 not 8 to examine high bit of fractional part. Use volatile
19049 variables when splitting into final array of floats if
19050 __FLT_EVAL_METHOD__ != 0.
19051 * math/libm-test.inc (cos_test): Add another test.
19052 (sin_test): Likewise.
19053 * sysdeps/i386/fpu/libm-test-ulps: Update.
19054
e2283f38
JM
19055 [BZ #14273]
19056 * math/libm-test.inc (cosh_test): Add more tests.
19057
370ca3d2
JM
19058 * version.h (RELEASE): Set to "development".
19059 (VERSION): Set to "2.16.90".
19060
ee9247c3
CD
190612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19062
19063 * NEWS: Update copyright. Remove last-updated date.
19064 Mention math library bug fixes and timezone data changes.
19065 * README: Mention GNU/Hurd, x32, and HPPA support status.
19066
4648c381
TS
190672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19068
19069 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19070
aac78a43
AJ
190712012-06-27 Andreas Jaeger <aj@suse.de>
19072
19073 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19074
ed3dbfad
AJ
190752012-06-25 Andreas Jaeger <aj@suse.de>
19076
19077 * sysdeps/s390/fpu/libm-test-ulps: Update.
19078
4d0ee855
AS
190792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19080 Thomas Schwinge <thomas@codesourcery.com>
19081
19082 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19083 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19085 fanotify_mark.
19086
af1bce34
TS
190872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19088
a9fa33ba
TS
19089 * sysdeps/mach/start.c: Remove file.
19090 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19091 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19092 * sysdeps/sh/init-first.c: Likewise.
19093
58f902b8
TS
19094 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19095 registers for frame unwinding purposes, add CFI directives.
19096 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19098 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19099 Likewise.
19100
1518f58b
TS
19101 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19102 __fortify_fail returning.
19103 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19104
db9b5059
TS
19105 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19106 sysdeps/sh/____longjmp_chk.S.
19107 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19108 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19109 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19110 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19111
967705fe
TS
19112 * sysdeps/sh/abort-instr.h: New file.
19113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19114 process in case exit returns.
19115
a9def8c4
TS
19116 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19117 initialize the GOT register before use.
19118
2a649725
TS
19119 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19120 calculation of ARGC > 4.
19121
af1bce34
TS
19122 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19123 meaningful names to some local labels.
19124
d230f50a
KK
191252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19126 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19127
19128 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19129 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19130 (__arch_compare_and_exchange_val_16_acq): Likewise.
19131 (__arch_compare_and_exchange_val_32_acq): Likewise.
19132 (atomic_exchange_and_add): Fix gUSA sequence.
19133 (atomic_add): Likewise.
19134 (atomic_add_negative): Likewise.
19135 (atomic_add_zero): Likewise.
19136 (atomic_bit_test_set): Likewise.
19137
0479b305
AS
191382012-06-22 Andreas Schwab <schwab@redhat.com>
19139
19140 [BZ #13579]
19141 * include/link.h (struct link_map): Add l_free_initfini.
19142 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19143 l_initfini.
19144 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19145 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19146 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19147 set.
19148
0e3933b9
CD
191492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19150
19151 * configure.in: Use AC_LANG_SOURCE.
19152 * configure: Regenerate.
19153
4248b1b1
RM
191542012-06-22 Roland McGrath <roland@hack.frob.com>
19155
19156 * configure.in (libc_cv_localstatedir): New substituted variable.
19157 * configure: Regenerated.
19158 * config.make.in (localstatedir): New variable, substituted from
19159 libc_cv_localstatedir.
19160 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19161 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19162 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19163 * sysdeps/gnu/configure: Regenerated.
19164
006dd861
JL
191652012-06-21 Jeff Law <law@redhat.com>
19166
19167 [BZ #14277]
19168 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19169 free. Simplify list management for _LIBC case.
19170
79662d42
JM
191712012-06-21 Joseph Myers <joseph@codesourcery.com>
19172
b7abb4bf
JM
19173 [BZ #14273]
19174 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19175 Clear sign bit of 64-bit integer value before comparing against
19176 overflow value.
19177
79662d42
JM
19178 * sysdeps/mach/configure: Regenerated.
19179
1f150908
L
191802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19181
19182 [BZ #14278]
19183 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19184
28363bbf
JL
191852012-06-21 Jeff Law <law@redhat.com>
19186
19187 [BZ #13882]
19188 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19189 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19190 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19191 * elf/dl-open.c (dl_open_worker): Likewise.
19192
09615db4
CD
191932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19194
19195 * scripts/list-sources.sh: Scan PORTS for translations.
19196 * po/libc.pot: Regenerated.
19197
2174c6dd
AJ
191982012-06-21 Andreas Jaeger <aj@suse.de>
19199
19200 [BZ #12194]
19201 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19202 warning.
19203 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19204 * bits/byteswap-16.h (__bswap_16): Likewise.
19205 * bits/byteswap.h (__bswap_constant_16): Likewise.
19206
3ee947b1
L
192072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19208
19209 [BZ #14117]
a2f34833
L
19210 * sysdeps/i386/fpu_control.h: Removed.
19211 * sysdeps/x86_64/fpu_control.h: Moved to ...
19212 * sysdeps/x86/fpu_control.h: Here.
19213
3ee947b1
L
19214 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19215 (_FPU_SETCW): Likewise.
19216
ed1825f8
L
192172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19218
25f1282a
L
19219 [BZ #14117]
19220 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19221 * sysdeps/x86/fpu/bits/mathinline.h: This.
19222 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19223
ed1825f8
L
19224 [BZ #14050]
19225 [BZ #14117]
19226 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19227 functions if __x86_64__ is defined.
19228
36d54b74
CLT
192292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19230
19231 * string/endian.h: Add !__ASSEMBLER__ condition for including
19232 conversion interfaces.
19233
10285c21
JM
192342012-06-15 Joseph Myers <joseph@codesourcery.com>
19235
19236 [BZ #14241]
19237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19238 of ABS(x) in calculating zero to negative powers other than odd
19239 integers.
19240 * math/libm-test.inc (pow_test): Add more tests.
19241
06c5abbd
AJ
192422012-06-15 Andreas Jaeger <aj@suse.de>
19243
19244 * manual/contrib.texi (Contributors): Update entry of Liubov
19245 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19246 Machado Filho.
19247
a3aeac40
CH
192482012-06-15 Cyril Hrubis <metan@ucw.cz>
19249
19250 * string/string.h: Add __wur to GNU version of strerror_r.
19251
49bdf4c1
L
192522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19253
19254 [BZ #14229]
19255 * string/Makefile (tests): Add tst-strtok_r.
19256 * string/tst-strtok_r.c: New file.
19257 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19258 RAX_LP/RDX_LP on SAVE_PTR.
19259
834f9b8d
RM
192602012-06-14 Roland McGrath <roland@hack.frob.com>
19261
19262 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19263
75fa1921
JM
192642012-06-14 Joseph Myers <joseph@codesourcery.com>
19265
19266 * libm_test.inc (csqrt_test): Allow more spurious underflow
19267 exceptions.
19268 (j0_test): Likewise.
19269 (j1_test): Likewise.
19270 (y0_test): Likewise.
19271 (y1_test): Likewise.
19272
771766df
CD
192732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19274
19275 * po/Makefile (libc.pot): Use UTF-8 charset.
19276
ceb9e56b
PP
192772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19278
19279 [BZ #14210]
19280 Suppress sign-conversion warning from FD_SET.
19281 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19282 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19283 not unsigned long int.
19284 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19285
ddb28975
L
192862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19287
19288 [BZ #14050]
19289 [BZ #14117]
19290 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19291 __extern_always_inline instead of __extern_inline.
19292 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19293 (__signbit): Likewise.
19294 (__signbitl): Support C++ namespace.
19295 (lrintf): New inline function.
19296 (lrint): Likewise.
19297 (llrintf): Likewise.
19298 (llrint): Likewise.
19299 (fmaxf): Likewise.
19300 (fmax): Likewise.
19301 (fminf): Likewise.
19302 (fmin): Likewise.
19303 (rint): Likewise.
19304 (rintf): Likewise.
19305 (ceil): Likewise.
19306 (ceilf): Likewise.
19307 (floor): Likewise.
19308 (floorf): Likewise.
19309 (nearbyint): Likewise.
19310 (nearbyintf): Likewise.
19311
d7b4fb26
TS
193122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19313
19314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19315 non-default versions.
19316
eb55f5c2
RM
193172012-06-11 Roland McGrath <roland@hack.frob.com>
19318
19319 [BZ #14218]
19320 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19321
366af02c
TS
193222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19323
99ff6e5c
TS
19324 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19325 (FE_UPWARD, FE_DOWNWARD): Don't define.
19326 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19328
366af02c
TS
19329 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19330 reading it.
19331 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19332 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19333
793ea851
KK
193342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19335
19336 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19338 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19339 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19340
a728a38f
L
193412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19342
19343 [BZ #14117]
c08010c7
L
19344 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19345 * sysdeps/i386/fpu/Implies: New file.
19346 * sysdeps/x86_64/fpu/Implies: Likewise.
19347 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19348 * sysdeps/x86/fpu/bits/fenv.h: This.
19349
a728a38f
L
19350 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19351 __SSE_MATH__.
19352
6e230d11
SP
193532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19354
19355 [BZ #14134]
19356 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19357 character 0xffff that matches the last element of the
19358 conversion table.
19359
1b671feb
AZ
193602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19361
19362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19363 fmodl commit.
19364
6043738b
AZ
193652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19366
19367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19368 values higher than 25.6283.
19369
34ae0b32
AZ
193702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19371
19372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19373 subnormal exponent extraction and add some __builtin_expect.
19374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19375 Fix for subnormal mantissa calculation.
19376
1214ec8f
MF
193772012-06-04 Mike Frysinger <vapier@gentoo.org>
19378
19379 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19380 cpu2 is -1 and errno is not ENOSYS.
19381
f3d1f93c
L
193822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19383
19384 [BZ #14117]
0e4a3cd7
L
19385 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19386 * sysdeps/x86/bits/string.h: This.
19387 * sysdeps/x86_64/bits/string.h: Removed.
19388
6704c645
L
19389 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19390 if not compiling for x86-64, but compiling for >= i486.
19391
48495318
L
19392 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19393 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19394
14adcbfc
L
19395 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19396 New macro from Linux kernel 3.4.0.
19397 (FP_XSTATE_MAGIC2): Likewise.
19398 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19399 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19400 (struct _fpx_sw_bytes): New struct.
19401 (struct _xsave_hdr): Likewise.
19402 (struct _ymmh_state): Likewise.
19403 (struct _xstate): Likewise.
19404
68e408ab
L
19405 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19406 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19407 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19408 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19409 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19410 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19411
f3d1f93c
L
19412 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19413 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19414 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19415 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19416 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19417 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19418
d9dc34cd
TMQMF
194192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19420
19421 [BZ #13743]
19422 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19423 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19424 (sysdep_headers): Include sys/platform/ppc.h.
19425 * sysdeps/powerpc/test-gettimebase.c: Test for
19426 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19427 * manual/Makefile (appendices): Include platform.texi.
19428 * manual/contrib.texi (Contributors): Update @node pointers.
19429 * manual/maint.texi (Maintenance): Likewise.
19430 (Platform): New node.
19431 * manual/platform.texi: New file. Document the new features.
19432
4af3879c
SP
194332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19434 Jakub Jelinek <jakub@redhat.com>
19435
19436 [BZ #14188]
19437 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19438 where __builtin_expect is unavailable.
19439
2fd6ff13
DM
194402012-06-03 David S. Miller <davem@davemloft.net>
19441
19442 * stdlib/longlong.h: Updated from GCC.
19443
173f7220
AS
194442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19445
19446 [BZ #14042]
19447 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19448 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19449 __mcount_internal.
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19451 (GLIBC_2.16): Likewise.
19452
f34a1c6f
L
194532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19454
19455 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19456
88a4576f
JM
194572012-06-01 Joseph Myers <joseph@codesourcery.com>
19458
ea32bcdd
JM
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19460 (default-abi): New variable.
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19462 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19463 variable.
19464 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19465 Likewise.
19466 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19467 Likewise.
19468 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19469 Likewise.
19470
88a4576f
JM
19471 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19472 definition. Document in comment.
19473
402fe938
DM
194742012-06-01 David S. Miller <davem@davemloft.net>
19475
19476 * stdlib/longlong.h: Updated from GCC.
19477
3553723f
L
194782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19479
19480 [BZ #14117]
3bd872c4
L
19481 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19482 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19483 sys/debugreg.h sys/io.h here.
19484 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19485 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19486 sys/io.h.
19487 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19488 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19489 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19490 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19491 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19492 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19493
3553723f
L
19494 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19495 Define only if __x86_64__ is defined.
19496
4842e4fe
JM
194972012-06-01 Joseph Myers <joseph@codesourcery.com>
19498
c5bfe3d5
JM
19499 [BZ #14048]
19500 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19501 Use int64_t for variable i.
19502 * math/libm-test.inc (fmod_test): Add more tests.
19503
4842e4fe
JM
19504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19505 z computation is not scheduled after fetestexcept.
19506 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19507 Use math_force_eval instead of asm to ensure calculation scheduled
19508 before exception test.
19509 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19510 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19511
efb73488
AJ
195122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19513
19514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19515 computation is not scheduled after fetestexcept.
19516
29bcce7c
L
195172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 [BZ #14117]
19520 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19521 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19522
73a68f94
AZ
195232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19524
19525 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19526 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19527
67b6df78
L
195282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19529
edf2933a 19530 [BZ #14117]
ebc64a18
L
19531 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19532 <bits/wordsize.h>.
19533 (__WCHAR_MIN): Support __WORDSIZE == 64.
19534 (__WCHAR_MAX): Likewise.
19535
edf2933a
L
19536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19538
57c6cf40
L
19539 [BZ #14183]
19540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19541 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19542
67b6df78 19543 [BZ #14117]
8eb6281e
L
19544 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19545 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19546
aac639f4
L
19547 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19548 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19549
67b6df78
L
19550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19551 Defined to 1 if __x86_64__ isn't defined.
19552 (_STAT_VER_LINUX_OLD): New.
19553 (st_atime): Remove duplicate.
19554 (st_mtime): Likewise.
19555 (st_ctime): Likewise.
19556
1c2cfe81
DM
195572012-05-31 David S. Miller <davem@davemloft.net>
19558
19559 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19560 entries.
19561
5be8418c
AS
195622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19563
e7725326
AS
19564 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19565 gen-libm-test.pl.
19566
5be8418c
AS
19567 [BZ #14132]
19568 * elf/dl-reloc.c: Include <_itoa.h>.
19569 (_dl_reloc_bad_type): Remove use of INTUSE.
19570 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19571 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19572 * stdio-common/psiginfo.c (psiginfo): Likewise.
19573 * stdio-common/psignal.c (psignal): Likewise.
19574 * string/strsignal.c (strsignal): Likewise.
19575 * include/signal.h (_sys_siglist): Declare hidden proto.
19576 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19577 INTVARDEF with libc_hidden_data_def.
19578 * stdio-common/itoa-udigits.c: Likewise.
19579 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19580 (_itoa_lower_digits_internal): Remove declaration.
19581 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19582 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19583 (_sys_sigabbrev_internal): Remove aliases.
19584 (_sys_siglist): Define hidden alias.
19585
507352f1
MT
195862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19587
19588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19589 bits/sysctl.h.
19590
42bbb1c3
L
195912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19592
19593 [BZ #14117]
6bd784b6
L
19594 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19595 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19596
8bca20f0
L
19597 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19598 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19599 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19600 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19602 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19603
f9e890a9
L
19604 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19605 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19606 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19607
471101a1
L
19608 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19609 with __addr.
19610 (insw): Likewise.
19611 (insl): Likewise.
19612 (outsb): Likewise.
19613 (outsw): Likewise.
19614 (outsl): Likewise.
19615
6451c862
L
19616 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19617 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19618 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19619
a254b8c9
L
19620 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19621 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19622 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19623 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19624 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19625 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19626
b8dfdd92
L
19627 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19628 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19629
578cd270
L
19630 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19631 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19632
de662f5f
L
19633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19635 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19636
25653439
L
19637 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19638 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19639 to ...
19640 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19641
6bad24a0
L
19642 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19643 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19644 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19645
42bbb1c3
L
19646 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19647 for x86-64.
19648 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19649
2d10d547
JM
196502012-05-31 Joseph Myers <joseph@codesourcery.com>
19651
19652 * math/math.h (M_El): Use two more decimal places.
19653 (M_LOG2El): Likewise.
19654 (M_LOG10El): Likewise.
19655 (M_LN2l): Likewise.
19656 (M_LN10l): Likewise.
19657 (M_PIl): Likewise.
19658 (M_PI_2l): Likewise.
19659 (M_PI_4l): Likewise.
19660 (M_1_PIl): Likewise.
19661 (M_2_PIl): Likewise.
19662 (M_2_SQRTPIl): Likewise.
19663 (M_SQRT2l): Likewise.
19664 (M_SQRT1_2l): Likewise.
19665
f230c29b
DM
196662012-05-31 David S. Miller <davem@davemloft.net>
19667
19668 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19669 values between float registers.
19670 * sysdeps/sparc/sparc64/memset.S: Likewise.
19671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19672
fed806c3
MF
196732012-05-31 Mike Frysinger <vapier@gentoo.org>
19674
19675 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19676 -D_FORTIFY_SOURCE=1.
19677 (CPPFLAGS-tst-longjmp_chk.c): Define.
19678 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19679 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19680 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19681 CFLAGS-tst-wchar-h.c.
19682
30917259
MP
196832012-05-31 Marek Polacek <polacek@redhat.com>
19684
19685 [BZ #14132]
19686 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19687 __endmntent_internal): Remove declaration.
19688 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19689 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19690 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19691
1c58d5dc
DM
196922012-05-30 David S. Miller <davem@davemloft.net>
19693
19694 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19695 (___Q_simulate_exceptions): Use real FP ops rather than writing
19696 into the %fsr.
19697 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19698 Likewise.
19699
7dc00e0d
L
197002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 [BZ #14117]
0bd53985
L
19703 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19704 * sysdeps/x86/bits/xtitypes.h: This.
19705
3a257e66
L
19706 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19707 * sysdeps/x86/bits/wordsize.h: This.
19708
62f62904
L
19709 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19710 * sysdeps/x86/bits/huge_vall.h: This.
19711
404fe9d9
L
19712 * sysdeps/i386/bits/select.h: Removed.
19713 * sysdeps/x86_64/bits/select.h: Renamed to ...
19714 * sysdeps/x86/bits/select.h: This.
19715
d48d0446
L
19716 * sysdeps/i386/bits/setjmp.h: Removed.
19717 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19718 * sysdeps/x86/bits/setjmp.h: This.
19719
7dc00e0d
L
19720 * sysdeps/i386/bits/mathdef.h: Removed.
19721 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19722 * sysdeps/x86/bits/mathdef.h: This.
19723
03277f8f
AS
197242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19725
19726 [BZ #14132]
19727 * include/sys/socket.h (__connect_internal)
19728 (__libc_sa_len_internal): Remove declaration.
19729 (__connect, __libc_sa_len): Declare hidden_proto.
19730 (SA_LEN): Remove use of INTUSE.
19731 * socket/connect.c: Add libc_hidden_def.
19732 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19733 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19734 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19735 alias.
19736 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19737 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19738 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19739 of adding _internal alias.
19740
13764867
L
197412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19742
19743 [BZ #14117]
6bd97696
L
19744 * sysdeps/i386/bits/link.h: Removed.
19745 * sysdeps/i386/bits/linkmap.h: Likewise.
19746 * sysdeps/x86_64/bits/link.h: Renamed to ...
19747 * sysdeps/x86/bits/link.h: This.
19748 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19749 * sysdeps/x86/bits/linkmap.h: This.
19750
f726f0bb
L
19751 * sysdeps/i386/bits/endian.h: Removed.
19752 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19753 * sysdeps/x86/bits/endian.h: This.
19754
13764867
L
19755 * sysdeps/i386/bits/byteswap.h: Removed.
19756 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19757 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19758 * sysdeps/x86/bits/byteswap.h: This.
19759 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19760 * sysdeps/x86/bits/byteswap-16.h: This.
19761 * sysdeps/i386/Implies: Add x86.
19762 * sysdeps/x86_64/Implies: Likewise.
19763
ae251b0b
DM
197642012-05-30 David S. Miller <davem@davemloft.net>
19765
19766 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19767 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19768 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19769 (FP_TRAPPING_EXCEPTIONS): Define.
19770 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19771 (FP_TRAPPING_EXCEPTIONS): Define.
19772 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19773 subnormals only when inexact has been signalled or underflow
19774 exceptions are enabled.
19775 (_FP_PACK_CANONICAL): Likewise.
19776
d5c90867
L
197772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19778
19779 [BZ #14183]
19780 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19781 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19782
63f1549e
RH
197832012-05-30 Richard Henderson <rth@twiddle.net>
19784
8d8f2279
RH
19785 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19786 with #ifndef NOT_IN_libc.
19787
63f1549e
RH
19788 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19789 marked to avoid plt entry.
19790
0ab0291b
L
197912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 [BZ #14112]
19794 * Makeconfig (default-abi): New macro.
19795 (abi-includes): Likewise.
19796 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19797 $(abi-$(default-abi)-lib-soname) for soname if defined.
19798 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19799 abi-variants.
19800 * Makefile (installed-stubs): Likewise.
19801 * include/stubs-biarch.h: Removed.
19802 * scripts/lib-names.awk: Only handle one library at a time.
19803 * scripts/soversions.awk: Remove WORDSIZE support.
19804 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19805 entries.
19806 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19807 Removed.
19808 (syscall-list-default-condition): Likewise.
19809 (syscall-list-default-condition): Likewise.
19810 (syscall-list-includes): Likewise.
19811 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19812 syscall-list-* with abi-*. Handle undefined abi-variants.
19813 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19814 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19815 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19817 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19818 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19819 Removed.
19820 (syscall-list-32-options): Likewise.
19821 (syscall-list-32-condition): Likewise.
19822 (syscall-list-64-options): Likewise.
19823 (syscall-list-64-condition): Likewise.
19824 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19825 macro.
19826 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19827 Renamed to ...
19828 (abi-*): This.
19829 (abi-64-ld-soname): New macro.
19830 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19831 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19832 Renamed to ...
19833 (abi-*): This.
19834 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19835 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19836
4da0431d
JM
198372012-05-30 Joseph Myers <joseph@codesourcery.com>
19838
3a85279c
JM
19839 * sysdeps/unix/sysv/linux/kernel-features.h
19840 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19841 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19842 include <kernel-features.h>.
19843 [!__NR_ftruncate64]: Remove conditional code.
19844 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19845 [__NR_ftruncate64]: Make code unconditional.
19846 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19847 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19848 include <kernel-features.h>.
19849 [!__NR_ftruncate64]: Remove conditional code.
19850 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19851 [__NR_ftruncate64]: Make code unconditional.
19852 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19854 include <kernel-features.h>.
19855 [!__NR_ftruncate64]: Remove conditional code.
19856 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19857 [__NR_ftruncate64]: Make code unconditional.
19858 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19860 include <kernel-features.h>.
19861 [!__NR_ftruncate64]: Remove conditional code.
19862 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19863 [__NR_ftruncate64]: Make code unconditional.
19864 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19865
4da0431d
JM
19866 * configure.in (libc_cv_fpie): Weaken to a compile test using
19867 LIBC_TRY_CC_OPTION.
19868 * configure: Regenerated.
19869
11ef492c
AK
198702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19871
19872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19876 Refreshed.
19877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19883 Refreshed.
19884
d66ef399
DM
198852012-05-27 David S. Miller <davem@davemloft.net>
19886
19887 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19888 (___Q_zero): New.
19889 (__Q_simulate_exceptions): Return void. Change to simulate
19890 exceptions by writing into the %fsr.
19891 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19892 (__Qp_handle_exceptions): Likewise.
19893 (numbers): Delete.
19894 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19895 __Qp_handle_exceptions.
19896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19897 __Qp_handle_exceptions.
19898 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19899 as unused and give dummy FP_RND_NEAREST initializer.
19900 (FP_INHIBIT_RESULTS): Define.
19901 (___Q_simulate_exceptions): Update declaration.
19902 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19903 formatting.
19904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19905 as unused and give dummy FP_RND_NEAREST initializer.
19906 (__Qp_handle_exceptions): Update declaration.
19907 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19908 formatting.
19909
04fb54b5
TS
199102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19911
19912 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19913 the temporary FPU control word.
19914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19915 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19917 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19918 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19919 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19920 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19921 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19922 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19923 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19924 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19925
3f99608f
KK
199262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19927
19928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19929 fields.
19930
65a4de4e
CLT
199312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19932
19933 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19934 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19935 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19936 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19937 Likewise.
19938 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19939 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19940 Likewise.
19941
15749d40
UD
199422012-05-27 Ulrich Drepper <drepper@gmail.com>
19943
19944 * po/h.po: Update from translation team.
19945
25dbcb27
AS
199462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19947
3d3f8e55
AS
19948 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19949
25dbcb27
AS
19950 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19951 handling of denormals.
19952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19953 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19959 Likewise.
19960
7ad47a80 199612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19962
19963 [BZ #14152]
19964 * math/libm-test.inc (fma_test): Don't always expect underflow
19965 exception.
19966
9c6ea9fa
SP
199672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19968
19969 [BZ #12416]
19970 * elf/tst-execstack.c: Include stackinfo.h.
19971 (do_test): Adjust test case to ensure that pthread_getattr_np
19972 behaviour remains the same after marking stack executable.
19973
a8239222
JM
199742012-05-25 Joseph Myers <joseph@codesourcery.com>
19975
19976 * sysdeps/unix/sysv/linux/kernel-features.h
19977 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19978 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19979 kernel-features.h.
19980 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19981 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19982 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19983 kernel-features.h.
19984 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19985 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19986
918b5606
L
199872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19988
19989 * configure.in: Define the default includes to being none.
19990 * configure: Regenerated.
19991
3a097cc7
RM
199922012-05-25 Roland McGrath <roland@hack.frob.com>
19993
8422c9a5
RM
19994 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19995 * sysdeps/x86_64/setjmp.S: Likewise.
19996 * sysdeps/i386/bsd-setjmp.S: Likewise.
19997 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19998 * sysdeps/i386/setjmp.S: Likewise.
19999 * sysdeps/i386/__longjmp.S: Likewise.
20000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20001 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20002
3a097cc7
RM
20003 * include/stap-probe.h: New file.
20004 * configure.in: Handle --enable-systemtap.
20005 * configure: Regenerated.
20006 * config.h.in (USE_STAP_PROBE): New #undef.
20007 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20008 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20009 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20010
21708942
JM
200112012-05-25 Joseph Myers <joseph@codesourcery.com>
20012
20013 [BZ #13717]
20014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20015 to 2.4.0 where earlier.
20016 * sysdeps/unix/sysv/linux/configure: Regenerated.
20017 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20018 <kernel-features.h>.
20019 [__ASSUME_32BITUIDS]: Make code unconditional.
20020 [!__ASSUME_32BITUIDS]: Remove conditional code.
20021 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20022 <kernel-features.h>.
20023 [__ASSUME_32BITUIDS]: Make code unconditional.
20024 [!__ASSUME_32BITUIDS]: Remove conditional code.
20025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20026 [__ASSUME_32BITUIDS]: Make code unconditional.
20027 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20028 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20029 <kernel-features.h>.
20030 [__ASSUME_32BITUIDS]: Make code unconditional.
20031 [!__ASSUME_32BITUIDS]: Remove conditional code.
20032 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20033 <kernel-features.h>.
20034 [__ASSUME_32BITUIDS]: Make code unconditional.
20035 [!__ASSUME_32BITUIDS]: Remove conditional code.
20036 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20037 <kernel-features.h>.
20038 [__ASSUME_32BITUIDS]: Make code unconditional.
20039 [!__ASSUME_32BITUIDS]: Remove conditional code.
20040 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20041 <kernel-features.h>.
20042 [__ASSUME_32BITUIDS]: Make code unconditional.
20043 [!__ASSUME_32BITUIDS]: Remove conditional code.
20044 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20045 <kernel-features.h>.
20046 [__ASSUME_32BITUIDS]: Make code unconditional.
20047 [!__ASSUME_32BITUIDS]: Remove conditional code.
20048 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20049 <kernel-features.h>.
20050 [__ASSUME_32BITUIDS]: Make code unconditional.
20051 [!__ASSUME_32BITUIDS]: Remove conditional code.
20052 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20053 <kernel-features.h>.
20054 [__ASSUME_32BITUIDS]: Make code unconditional.
20055 [!__ASSUME_32BITUIDS]: Remove conditional code.
20056 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20057 <kernel-features.h>.
20058 [__ASSUME_32BITUIDS]: Make code unconditional.
20059 [!__ASSUME_32BITUIDS]: Remove conditional code.
20060 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20061 <kernel-features.h>.
20062 [__ASSUME_32BITUIDS]: Make code unconditional.
20063 [!__ASSUME_32BITUIDS]: Remove conditional code.
20064 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20065 <kernel-features.h>.
20066 [__ASSUME_32BITUIDS]: Make code unconditional.
20067 [!__ASSUME_32BITUIDS]: Remove conditional code.
20068 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20069 <kernel-features.h>.
20070 [__NR_setresgid] (__setresgid): Do not declare.
20071 [__ASSUME_32BITUIDS]: Make code unconditional.
20072 [!__ASSUME_32BITUIDS]: Remove conditional code.
20073 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20074 <kernel-features.h>.
20075 [__NR_setresuid] (__setresuid): Do not declare.
20076 [__ASSUME_32BITUIDS]: Make code unconditional.
20077 [!__ASSUME_32BITUIDS]: Remove conditional code.
20078 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20079 <kernel-features.h>.
20080 [__ASSUME_32BITUIDS]: Make code unconditional.
20081 [!__ASSUME_32BITUIDS]: Remove conditional code.
20082 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20083 <kernel-features.h>.
20084 [__ASSUME_32BITUIDS]: Make code unconditional.
20085 [!__ASSUME_32BITUIDS]: Remove conditional code.
20086 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20087 <kernel-features.h>.
20088 [__ASSUME_32BITUIDS]: Make code unconditional.
20089 [!__ASSUME_32BITUIDS]: Remove conditional code.
20090 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20091 <kernel-features.h>.
20092 [__ASSUME_32BITUIDS]: Make code unconditional.
20093 [!__ASSUME_32BITUIDS]: Remove conditional code.
20094 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20095 <kernel-features.h>.
20096 [__ASSUME_32BITUIDS]: Make code unconditional.
20097 [!__ASSUME_32BITUIDS]: Remove conditional code.
20098 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20099 <kernel-features.h>.
20100 [__ASSUME_32BITUIDS]: Make code unconditional.
20101 [!__ASSUME_32BITUIDS]: Remove conditional code.
20102 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20103 <kernel-features.h>.
20104 [__ASSUME_32BITUIDS]: Make code unconditional.
20105 [!__ASSUME_32BITUIDS]: Remove conditional code.
20106 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20107 <kernel-features.h>.
20108 [__ASSUME_32BITUIDS]: Make code unconditional.
20109 [!__ASSUME_32BITUIDS]: Remove conditional code.
20110 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20111 <kernel-features.h>.
20112 [__ASSUME_32BITUIDS]: Make code unconditional.
20113 [!__ASSUME_32BITUIDS]: Remove conditional code.
20114 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20115 <kernel-features.h>.
20116 [__ASSUME_32BITUIDS]: Make code unconditional.
20117 [!__ASSUME_32BITUIDS]: Remove conditional code.
20118 * sysdeps/unix/sysv/linux/kernel-features.h
20119 (__ASSUME_SETRESUID_SYSCALL): Remove.
20120 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20121 (__ASSUME_32BITUIDS): Likewise.
20122 (__ASSUME_LDT_WORKS): Likewise.
20123 (__ASSUME_O_DIRECTORY): Likewise.
20124 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20125 architecture but not kernel version.
20126 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20127 (__ASSUME_MMAP2_SYSCALL): Likewise.
20128 (__ASSUME_STAT64_SYSCALL): Likewise.
20129 (__ASSUME_IPC64): Likewise.
20130 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20131 <kernel-features.h>.
20132 [__ASSUME_32BITUIDS]: Make code unconditional.
20133 [!__ASSUME_32BITUIDS]: Remove conditional code.
20134 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20135 <kernel-features.h>.
20136 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20137 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20138 132096]: Remove conditional code.
20139 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20140 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20141 <kernel-features.h>.
20142 [__ASSUME_32BITUIDS]: Make code unconditional.
20143 [!__ASSUME_32BITUIDS]: Remove conditional code.
20144 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20145 <kernel-features.h>.
20146 [__ASSUME_32BITUIDS]: Make code unconditional.
20147 [!__ASSUME_32BITUIDS]: Remove conditional code.
20148 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20149 <kernel-features.h>.
20150 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20151 unconditional.
20152 (__setresgid): Do not declare.
20153 [__ASSUME_32BITUIDS]: Make code unconditional.
20154 [!__ASSUME_32BITUIDS]: Remove conditional code.
20155 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20156 <kernel-features.h>.
20157 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20158 unconditional.
20159 (__setresuid): Do not declare.
20160 [__ASSUME_32BITUIDS]: Make code unconditional.
20161 [!__ASSUME_32BITUIDS]: Remove conditional code.
20162 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20163 <kernel-features.h>.
20164 [__ASSUME_32BITUIDS]: Make code unconditional.
20165 [!__ASSUME_32BITUIDS]: Remove conditional code.
20166 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20167 <kernel-features.h>.
20168 [__ASSUME_32BITUIDS]: Make code unconditional.
20169 [!__ASSUME_32BITUIDS]: Remove conditional code.
20170
a386f1cc
RH
201712012-05-25 Richard Henderson <rth@twiddle.net>
20172
20173 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20174 dl_hwcap to ifunc resolver.
20175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20176 elf_ifunc_invoke.
20177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20178 dl_hwcap to ifunc resolver.
20179 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20180
b6550497
JM
201812012-05-24 Joseph Myers <joseph@codesourcery.com>
20182
20183 [BZ #14153]
20184 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20185 for |x| <= 2**-26, not 2**-57.
20186 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20187 exception.
20188
b0bc23a1
JL
201892012-05-24 Jeff Law <law@redhat.com>
20190
20191 * stdio-common/Makefile (tests): Add bug25.
20192 * stdio-common/bug25.c: New test.
20193
347c92e9
L
201942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20195
20196 [BZ #13576]
20197 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20198 multiple of MALLOC_ALIGNMENT in size.
20199 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20200
6bcc8b3f
JM
202012012-05-24 Joseph Myers <joseph@codesourcery.com>
20202
20203 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20204 Require >= 256.
20205 (FILENAME_MAX): Use macro-int-constant.
20206 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20207 (_IOFBF): Use macro-int-constant.
20208 (_IOLBF): Likewise.
20209 (_IONBF): Likewise.
20210 (SEEK_CUR): Likewise.
20211 (SEEK_END): Likewise.
20212 (SEEK_SET): Likewise.
20213 (TMP_MAX): Likewise.
20214 (EOF): Use macro-int-constant. Require < 0.
20215 (NULL): Use macro-constant. Require == 0.
20216 (stdin): Require type to be FILE *.
20217 (stdout): Likewise.
20218 (stderr): Likewise.
20219 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20220 macro-int-constant.
20221 (EXIT_SUCCESS): Likewise.
20222 (NULL): Use macro-constant. Require == 0.
20223 (RAND_MAX): Use macro-int-constant.
20224 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20225 [C99-based standards] (strtof): Require function.
20226 [C99-based standards] (strtold): Likewise.
20227 [C99-based standards] (strtoll): Likewise.
20228 [C99-based standards] (strtoull): Likewise.
20229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20230 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20231 [ISO || ISO99 || ISO11] (math.h): Likewise.
20232 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20233 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20235
d18ea0c5
AS
202362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20237
20238 [BZ #14132]
56d25bb8
AS
20239 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20240 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20241 * intl/dgettext.c (DCGETTEXT): Likewise.
20242 * intl/gettext.c (DCGETTEXT): Likewise.
20243 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20244 * posix/regex_internal.h (gettext): Likewise.
20245 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20246 Remove declaration.
20247 * include/argz.h (__argz_count_internal)
20248 (__argz_stringify_internal): Remove declaration.
20249 (__argz_count, __argz_stringify): Declare hidden proto.
20250 * intl/dcgettext.c: Remove use of INTDEF.
20251 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20252 * string/argz-stringify.c: Likewise.
20253 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20254 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20255 Declare hidden proto.
d18ea0c5
AS
20256 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20257 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20258 Declare hidden proto.
20259 * include/stdio.h (__asprintf_internal): Don't declare.
20260 (__asprintf): Don't define as macro. Declare hidden proto.
20261 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20262 (__fsetlocking): Declare hidden proto.
20263 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20264 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20265 hidden proto.
20266 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20267 (_IO_setlinebuf): Remove use of INTUSE.
20268 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20269 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20270 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20271 Remove declaration.
20272 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20273 (_IO_do_flush): Remove use of INTUSE.
20274 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20275 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20276 (_IO_adjust_column, _IO_least_wmarker)
20277 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20278 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20279 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20280 (_IO_default_doallocate, _IO_wdefault_doallocate)
20281 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20282 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20283 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20284 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20285 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20286 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20287 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20288 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20289 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20290 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20291 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20292 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20293 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20294 proto.
20295 (_IO_flush_all_internal, _IO_adjust_column_internal)
20296 (_IO_default_uflow_internal, _IO_default_finish_internal)
20297 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20298 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20299 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20300 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20301 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20302 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20303 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20304 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20305 (_IO_file_close_internal, _IO_file_close_it_internal)
20306 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20307 (_IO_file_init_internal, _IO_file_attach_internal)
20308 (_IO_file_fopen_internal, _IO_file_read_internal)
20309 (_IO_file_sync_internal, _IO_file_seek_internal)
20310 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20311 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20312 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20313 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20314 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20315 (_IO_list_all_internal, _IO_link_in_internal)
20316 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20317 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20318 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20319 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20320 (_IO_do_write_internal, _IO_padn_internal)
20321 (_IO_getline_info_internal, _IO_getline_internal)
20322 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20323 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20324 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20325 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20326 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20327 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20328 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20329 with libc_hidden_ver, remove use of INTUSE.
20330 * libio/genops.c: Likewise.
20331 * libio/freopen.c: Likewise.
20332 * libio/freopen64.c: Likewise.
20333 * libio/iofclose.c: Likewise.
20334 * libio/iofdopen.c: Likewise.
20335 * libio/iofflush.c: Likewise.
20336 * libio/iofflush_u.c: Likewise.
20337 * libio/iofgets.c: Likewise.
20338 * libio/iofgets_u.c: Likewise.
20339 * libio/iofopen.c: Likewise.
20340 * libio/iofopncook.c: Likewise.
20341 * libio/iofread.c: Likewise.
20342 * libio/iofread_u.c: Likewise.
20343 * libio/ioftell.c: Likewise.
20344 * libio/iofwrite.c: Likewise.
20345 * libio/iogetline.c: Likewise.
20346 * libio/iogets.c: Likewise.
20347 * libio/iogetwline.c: Likewise.
20348 * libio/iopadn.c: Likewise.
20349 * libio/iopopen.c: Likewise.
20350 * libio/ioseekoff.c: Likewise.
20351 * libio/ioseekpos.c: Likewise.
20352 * libio/iosetbuffer.c: Likewise.
20353 * libio/iosetvbuf.c: Likewise.
20354 * libio/ioungetc.c: Likewise.
20355 * libio/ioungetwc.c: Likewise.
20356 * libio/iovdprintf.c: Likewise.
20357 * libio/iovsprintf.c: Likewise.
20358 * libio/iovsscanf.c: Likewise.
20359 * libio/memstream.c: Likewise.
20360 * libio/obprintf.c: Likewise.
20361 * libio/oldfileops.c: Likewise.
20362 * libio/oldiofclose.c: Likewise.
20363 * libio/oldiofdopen.c: Likewise.
20364 * libio/oldiofopen.c: Likewise.
20365 * libio/oldiopopen.c: Likewise.
20366 * libio/oldstdfiles.c: Likewise.
20367 * libio/putc.c: Likewise.
20368 * libio/setbuf.c: Likewise.
20369 * libio/setlinebuf.c: Likewise.
20370 * libio/stdfiles.c: Likewise.
20371 * libio/strops.c: Likewise.
20372 * libio/vasprintf.c: Likewise.
20373 * libio/vscanf.c: Likewise.
20374 * libio/vsnprintf.c: Likewise.
20375 * libio/vswprintf.c: Likewise.
20376 * libio/wfiledoalloc.c: Likewise.
20377 * libio/wfileops.c: Likewise.
20378 * libio/wgenops.c: Likewise.
20379 * libio/wmemstream.c: Likewise.
20380 * libio/wstrops.c: Likewise.
20381 * libio/__fpurge.c: Likewise.
20382 * libio/__fsetlocking.c: Likewise.
20383 * assert/assert.c: Likewise.
20384 * debug/fgets_chk.c: Likewise.
20385 * debug/fgets_u_chk.c: Likewise.
20386 * debug/fread_chk.c: Likewise.
20387 * debug/fread_u_chk.c: Likewise.
20388 * debug/gets_chk.c: Likewise.
20389 * debug/obprintf_chk.c: Likewise.
20390 * debug/vasprintf_chk.c: Likewise.
20391 * debug/vdprintf_chk.c: Likewise.
20392 * debug/vsnprintf_chk.c: Likewise.
20393 * debug/vsprintf_chk.c: Likewise.
20394 * malloc/mtrace.c: Likewise.
20395 * misc/error.c: Likewise.
20396 * misc/syslog.c: Likewise.
20397 * stdio-common/asprintf.c: Likewise.
20398 * stdio-common/fxprintf.c: Likewise.
20399 * stdio-common/getw.c: Likewise.
20400 * stdio-common/isoc99_fscanf.c: Likewise.
20401 * stdio-common/isoc99_scanf.c: Likewise.
20402 * stdio-common/isoc99_vfscanf.c: Likewise.
20403 * stdio-common/isoc99_vscanf.c: Likewise.
20404 * stdio-common/isoc99_vsscanf.c: Likewise.
20405 * stdio-common/printf-prs.c: Likewise.
20406 * stdio-common/printf_fp.c: Likewise.
20407 * stdio-common/printf_fphex.c: Likewise.
20408 * stdio-common/printf_size.c: Likewise.
20409 * stdio-common/putw.c: Likewise.
20410 * stdio-common/scanf.c: Likewise.
20411 * stdio-common/sprintf.c: Likewise.
20412 * stdio-common/tmpfile.c: Likewise.
20413 * stdio-common/vfprintf.c: Likewise.
20414 * stdio-common/vfscanf.c: Likewise.
20415 * stdlib/strfmon_l.c: Likewise.
20416 * sunrpc/openchild.c: Likewise.
20417 * sunrpc/xdr_stdio.c: Likewise.
20418 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20419 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20420
d6c33fda
RM
204212012-05-24 Roland McGrath <roland@hack.frob.com>
20422
c1487492
RM
20423 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20424
20425 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20426 in the third column, to generate for the shared library an IFUNC
20427 that uses _dl_vdso_vsym.
20428 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20429 * Makeconfig (object-suffixes-noshared): New variable.
20430
20431 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20432 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20433 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20434 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20435
d6c33fda
RM
20436 [BZ #14132]
20437 * include/sys/time.h (__gettimeofday): Remove macro.
20438 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20439 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20440 Remove INTDEF.
20441 (__gettimeofday): Add libc_hidden_def.
20442 (gettimeofday): Add libc_hidden_weak.
20443 * sysdeps/mach/gettimeofday.c: Likewise.
20444 * sysdeps/posix/gettimeofday.c: Likewise.
20445 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20446 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20448 (__gettimeofday_internal): Remove strong_alias.
20449 (__gettimeofday): Add libc_hidden_def.
20450 (gettimeofday): Add libc_hidden_weak.
20451 * sysdeps/unix/syscalls.list (gettimeofday):
20452 Remove __gettimeofday_internal alias.
20453
b5a2bbe6
L
204542012-05-24 Daniel Jacobowitz <drow@false.org>
20455 H.J. Lu <hongjiu.lu@intel.com>
20456
20457 [BZ #12495]
20458 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20459 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20460 (largebin_index_32_big): New.
20461 (largebin_index): Use it for 16-byte alignment.
20462 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20463 correction with front_misalign.
20464
cfba4fda
L
204652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20466
7f907421
L
20467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20469 Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20471 Likewise.
20472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20473 Likewise.
20474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20475 Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20477 Likewise.
20478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20479 Likewise.
20480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20481 Likewise.
20482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20483 Likewise.
20484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20485 Likewise.
20486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20487 Likewise.
20488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20489 Likewise.
20490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20491 Likewise.
20492
cfba4fda
L
20493 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20494 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20495
80bad0cc
JM
204962012-05-24 Joseph Myers <joseph@codesourcery.com>
20497
7a25eb06
JM
20498 [BZ #10846]
20499 [BZ #14036]
20500 * math/libm-test.inc (exp_test): Add test from bug 14036.
20501 (pow_test): Add test from bug 10846.
20502
795405f9
JM
20503 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20504 and other flags.
20505 (special_function): Do not include flags in test name.
20506 (parse_args): Likewise.
20507 * sysdeps/i386/fpu/libm-test-ulps: Update.
20508 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20509 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20510 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20512
80bad0cc
JM
20513 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20514 exceptions.
20515 * math/libm-test.inc ("Philosophy"): Update comment about
20516 exception testing.
20517 (UNDERFLOW_EXCEPTION): New macro.
20518 (UNDERFLOW_EXCEPTION_OK): Likewise.
20519 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20520 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20521 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20522 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20523 (INVALID_EXCEPTION_OK): Update value.
20524 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20525 (OVERFLOW_EXCEPTION_OK): Likewise.
20526 (IGNORE_ZERO_INF_SIGN): Likewise.
20527 (test_exceptions): Handle underflow exceptions.
20528 (acos_test): Update for underflow exception expectations.
20529 (cexp_test): Likewise.
20530 (clog_test): Likewise.
20531 (clog10_test): Likewise.
20532 (csqrt_test): Likewise.
20533 (ctan_test): Likewise.
20534 (ctanh_test): Likewise.
20535 (exp_test): Likewise.
20536 (exp10_test): Likewise.
20537 (exp2_test): Likewise.
20538 (expm1_test): Likewise.
20539 (fma_test): Likewise.
20540 (j0_test): Likewise.
20541 (jn_test): Likewise.
20542 (nexttoward_test): Likewise.
20543 (pow_test): Likewise.
20544 (scalbn_test): Likewise.
20545 (scalbln_test): Likewise.
20546 (tan_test): Likewise.
20547 (y1_test): Likewise.
20548 * sysdeps/i386/fpu/libm-test-ulps: Update.
20549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550
9e0e3d0b
DM
205512012-05-23 David S. Miller <davem@davemloft.net>
20552
20553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20554 (__libc_sigaction): Remove unused local variables.
20555
ccd0a08f
L
205562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20557
20558 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20559
62bdf9a6
PE
205602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20561
f8591f80
PE
20562 mktime: avoid signed integer overflow
20563 * time/mktime.c (__mktime_internal): Do not mishandle the case
20564 where diff == INT_MIN.
20565
94c7d826
PE
20566 mktime: simplify computation of average
20567 * time/mktime.c (ranged_convert): Use new time_t_avg function
20568 instead of rolling our own (probably-slower) code.
20569
ce73d683
PE
20570 mktime: do not assume signed right shift propagates sign bit
20571 * time/mktime.c (isdst_differ): New static function.
20572 (__mktime_internal): No need to normalize tm_isdst now.
20573 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20574 tm_isdst values.
20575
72a22e59
PE
20576 mktime: merge another wrapv change from gnulib
20577 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20578 from some compilers.
20579
68605433
PE
20580 mktime: remove incorrect attempt at unusual arithmetics
20581 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20582 The code didn't really work on such machines anyway.
20583 (TYPE_MINIMUM): Assume two's complement.
20584 (twos_complement_arithmetic): Verify that long_int and time_t
20585 are two's complement (or unsigned, in the latter case).
20586
03cf7fe3
PE
20587 mktime: check signed shifts on long_int and time_t, too
20588 * time/mktime.c (SHR): Check that shifts work as desired
20589 on the types long_int and time_t too, as SHR is used on
20590 such types.
20591
f04dfbc2
PE
20592 mktime: do not assume 'long' is wide enough
20593 * time/mktime.c (verify): Move decl up.
20594 (long_int): New type.
20595 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20596 to remove assumption in the code that 'long' is wide enough to
20597 store year values. This assumption is not true on x32 and on
20598 some non-glibc platforms.
20599
62bdf9a6
PE
20600 mktime: merge wrapv change from gnulib
20601 * time/mktime.c (WRAPV): New macro.
20602 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20603 (guess_time_tm, __mktime_internal): Do not assume that signed
20604 integer overflow wraps around; modern compilers generate code
20605 where this assumption is no longer valid.
20606
5e292e4f
L
206072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20608
20609 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20610 Replace "jmp L(pseudo_end)" with "ret".
20611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20612 Likewise.
20613
8caf8c87
AJ
206142012-05-23 Andreas Jaeger <aj@suse.de>
20615
20616 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20617 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20618
1a09dc56
AJ
206192012-05-23 Andreas Jaeger <aj@suse.de>
20620 Maximilian Attems <max@stro.at>
20621
20622 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20623 New macros.
20624
1c87aba0
L
206252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20626
20627 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20628 code so that pseudo_end is just ret and the stack pointer is
20629 correct also for static library in error case.
20630
40e45bd5
JM
206312012-05-23 Joseph Myers <joseph@codesourcery.com>
20632
c2670533
JM
20633 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20634 move to syscalls.list.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20639
40e45bd5
JM
20640 * manual/install.texi (Running make install): Do not mention Linux
20641 kernel version for which pt_chown is not needed.
20642 (Linux): Do not mention problems with nscd with 2.0 kernels.
20643 * INSTALL: Regenerated.
20644
be08eda5
AJ
206452012-05-23 Andreas Jaeger <aj@suse.de>
20646
20647 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20648 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20649 macro.
20650 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20652 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20653 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20654 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20655 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20657 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20659 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20660 * sysdeps/unix/sysv/linux/bits/in.h
20661 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20662
a6a056bb
RM
206632012-05-22 Roland McGrath <roland@hack.frob.com>
20664
20665 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20666 (PREPARE_VERSION): Just use assert instead, it will be elided
20667 under [NDEBUG] anyway.
20668
c9009328
L
206692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20670
20671 * sysdeps/unix/sysv/linux/Makefile: Include
20672 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20673 (sysdep_routines): Remove sysctl.
c9009328
L
20674 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20675 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20676 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20677 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20678 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20679
73338355
AJ
206802012-05-22 Andreas Jaeger <aj@suse.de>
20681
20682 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20683 that pseudo_end is just ret and the stack pointer is correct also
20684 for static library in error case.
20685
d44638b0
PP
206862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20687
20688 [BZ #14122]
20689 * nss/nsswitch.c (defconfig_entries): New variable.
20690 (__nss_database_lookup): Don't leak defconfig entries.
20691 (nss_parse_service_list): Don't leak on error paths.
20692 (free_database_entries): New function.
20693 (free_defconfig): New function.
20694 (free_mem): Move common code to free_database_entries.
20695
31a39bd8
L
206962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20697
da0331a8
L
20698 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20699 Add arch_prctl.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20701
31a39bd8
L
20702 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20703 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20705 New macro.
20706 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20707 (INTERNAL_SYSCALL_TYPES): Likewise.
20708 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20709 (LOAD_REGS_TYPES_[1-6]): Likewise.
20710 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20711 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20712
45470df3
AZ
207132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20714
20715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20716 copysignl for GLIBC_2_0.
20717 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20718 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20720 logbl for GLIBC_2_0.
20721 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20722 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20723
98a61bcb
L
207242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20725
a4f6e481
L
20726 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20728
f63d5db6
L
20729 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20730 Use "neg %eax".
20731
98a61bcb
L
20732 * time/mktime.c: Update copyright years.
20733
95770f14
PE
207342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20735
6226efbd
PE
20736 mktime: merge comment-quoting-style change from gnulib
20737 * time/mktime.c: Quote 'like this' in comments.
20738 The GNU coding standards suggest that we no longer quote `like this',
20739 as "`" and "'" are typically rendered asymmetrically nowadays.
20740 The typical gnulib style is to quote 'like this' when quoting
20741 code, and "like this" when quoting English.
20742
b99e4f78
PE
20743 * time/mktime.c (compile-command): Add "-I.".
20744
643e01e6
PE
20745 mktime: merge mktime-internal.h change from gnulib
20746 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20747
2554247d
PE
20748 mktime: merge time_r change from gnulib
20749 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20750
826dd0ab
PE
20751 mktime: merge DEBUG change from gnulib
20752 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20753 case system <time.h> has a #define.
20754
bd83aabe
PE
20755 mktime: merge <sys/types.h> change from gnulib
20756 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20757 since <time.t> is now guaranteed to define time_t.
20758
95770f14
PE
20759 mktime: merge HAVE_CONFIG_H change from gnulib
20760 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20761
5e1a27a9
L
207622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20763
0e44a77e
L
20764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20765 Use "neg %eax".
20766
5e1a27a9
L
20767 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20768 __rlim_t cast.
20769 (struct rusage): Use anonymous union to pad each field to
20770 __syscall_slong_t.
20771
46259bec
DM
207722012-05-21 David S. Miller <davem@davemloft.net>
20773
20774 * Makefules (o-iterator): Remove .s cases.
20775 (compile-command.s): Delete.
20776 (COMPILE.s): Delete.
20777 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20778
59f0c22e
JM
207792012-05-21 Joseph Myers <joseph@codesourcery.com>
20780
20781 * configure.in (libc_cv_predef_stack_protector): Only consider
20782 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20783 * configure: Regenerated.
20784
20c07380
L
207852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20786
bbb3154b
L
20787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20788 New macro. Use R*LP on int and pointer.
20789 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20790 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20791 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20792 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20793
20c07380
L
20794 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20795 [__WORDSIZE_TIME64_COMPAT32] instead of
20796 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20797 (struct utmp): Likewise.
20798 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20799 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20800 Renamed to ...
20801 (__WORDSIZE_TIME64_COMPAT32): This.
20802 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20803 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20804 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20805 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20806 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20807 (__WORDSIZE_TIME64_COMPAT32): New macro.
20808
d8d1017e
AJ
208092012-05-21 Andreas Jaeger <aj@suse.de>
20810
20811 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20812 only if [SHARED]. Add prototype for __wcschr_ia32.
20813
6c7fb145
RM
208142012-05-21 Roland McGrath <roland@hack.frob.com>
20815
20816 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20817 of %rbp unmolested in the jmp_buf while mangling the low bits.
20818 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20819 unmolested high bits of %rbp while demangling the low bits.
20820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20821
66274218
AJ
208222012-05-21 Andreas Jaeger <aj@suse.de>
20823
07c58f8f
AJ
20824 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20825 * sunrpc/svc_simple.c: Use it for registerrpc.
20826 * sunrpc/xcrypt.c: Use it for passwd2des.
20827
66274218
AJ
20828 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20829
61f65140
L
208302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20831
20832 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20833 Don't define if [__SYSCALL_WORDSIZE != 32].
20834 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20835 New macro.
20836
5fefb436
AJ
208372012-05-21 Bruno Haible <bruno@clisp.org>
20838 Andreas Jaeger <aj@suse.de>
20839
20840 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20841 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20842 inptr and inend for must_buffer_ch.
20843 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20844 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20845 * stdio-common/Makefile (tests): Remove bug15.
20846 (bug15-ENV): Remove macro.
20847 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20848 anymore.
20849
d8e272ab
AJ
208502012-05-19 Andreas Jaeger <aj@suse.de>
20851 Roland McGrath <roland@hack.frob.com>
20852
20853 * manual/contrib.texi: Completely rewritten. It contains now an
20854 alphabetical list of contributors and their contributions.
20855
4a56a162
RH
208562012-05-21 Richard Henderson <rth@twiddle.net>
20857
20858 * misc/getauxval.c (__getauxval): Use unsigned long int.
20859 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20860 (getauxval): Use unsigned long int.
20861
d024d23c
L
208622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20863
20864 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20865
cbc00a03
RM
208662012-05-21 Roland McGrath <roland@hack.frob.com>
20867
20868 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20869 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20870 __alignof__ (long double).
20871
478143fa
AZ
208722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20873
20874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20875
c7683a6d
RH
208762012-05-20 Richard Henderson <rth@twiddle.net>
20877
20878 * misc/getauxval.c: New file.
20879 * misc/sys/auxv.h: New file.
20880 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20881 (routines): Add getauxval.
20882 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20883 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20884 * elf/dl-sysdep.c (_dl_auxv): Remove.
20885 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20886 * elf/dl-support.c (_dl_auxv): New variable.
20887 (_dl_aux_init): Initialize it.
20888 * manual/startup.texi (Auxiliary Vector): New node.
20889 * sysdeps/generic/bits/hwcap.h: New file.
20890 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20891 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20892 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20893 * sysdeps/sparc/sysdep.h: ... here. Include it.
20894 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20897 Update.
c7683a6d
RH
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20906
a6f1845d
AZ
209072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20908
20909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20910
cbcbe830
DM
209112012-05-19 David S. Miller <davem@davemloft.net>
20912
20913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20914
e0b16cc2
JM
209152012-05-19 Joseph Myers <joseph@codesourcery.com>
20916
20917 [BZ #14123]
20918 * math/s_ccosh.c: Include <float.h>
20919 (__ccosh): Avoid internal overflow calculating sinh and cosh
20920 values before multiplying by sin and cos values.
20921 * math/s_ccoshf.c: Likewise.
20922 * math/s_ccoshl.c: Likewise.
20923 * math/s_csin.c: Likewise.
20924 * math/s_csinf.c: Likewise.
20925 * math/s_csinl.c: Likewise.
20926 * math/s_csinh.c: Likewise.
20927 * math/s_csinhf.c: Likewise.
20928 * math/s_csinhl.c: Likewise.
20929 * math/libm-test.inc (ccos_test): Add more tests.
20930 (ccosh_test): Likewise.
20931 (csin_test): Likewise.
20932 (csinh_test): Likewise.
20933 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20935
6ad13e08
L
209362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20937
f66f0ce8
L
20938 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20939 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20940
6ad13e08
L
20941 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20942
b1d072a7
JM
209432012-05-19 Joseph Myers <joseph@codesourcery.com>
20944
20945 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20946 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20947 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20948 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20949 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20950 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20951 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20952 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20953 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20954 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20955 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20956 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20957 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20958 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20959 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20960 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20961 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20962 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20963 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20964 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20965 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20966 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20967 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20968 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20969 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20970 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20971 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20972 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20973 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20974 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20975 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20976
9eae47cb
AJ
209772012-05-18 Andreas Jaeger <aj@suse.de>
20978
20979 * csu/.gitignore: Delete.
20980
bb07f69f
L
209812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20982
20983 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20984 (timex): Use __syscall_slong_t.
20985
e6bdb741
AJ
209862012-05-18 Andreas Jaeger <aj@suse.de>
20987 Carlos O'Donell <carlos_odonell@mentor.com>
20988
20989 * manual/install.texi (Configuring and compiling): Update
20990 description about files modified in the source directory.
d6c33fda 20991 * INSTALL: Regenerated.
e6bdb741 20992
1b74487e
L
209932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20994
20995 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20996 value. Use "or" to set return value to -1.
20997 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20998 negate return value.
20999
a88b64b9
TMQMF
210002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21001
21002 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21003 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21004 failure if the compiler has Graphite support disabled.
21005 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21006 Likewise.
21007 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21008 CFLAGS-memmove.c): Likewise.
21009 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21010 Likewise.
21011
3707636e
L
210122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21013
610b8622
L
21014 * sysdeps/x86_64/x32/_itoa.h: New file.
21015
7cd195df
L
21016 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21017 getdents system call only if kernel and user dirents have the
21018 same d_ino and d_off.
21019
94b07d20
L
21020 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21021 LLONG_MAX != LONG_MAX.
21022 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21023 (_fitoa_word): Likewise.
21024
18298070
L
21025 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21026 years.
21027 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21029 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21030
553c7ea4
L
21031 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21032 include <bits/wordsize.h>. Check __x86_64__ instead of
21033 __WORDSIZE.
21034 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21035 if __x86_64__ is defined. Use anonymous union on fpstate.
21036
3707636e
L
21037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21038 anonymous union.
21039
b53ef01a
AS
210402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21041
37fb1dc0
AS
21042 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21043 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21044 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21045 Refer to _rtld_local_ro instead of _rtld_global_ro.
21046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21047 Likewise.
21048 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21049 Likewise.
21050 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21051 Likewise.
21052 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21053 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21054 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21055
b53ef01a
AS
21056 * sysdeps/powerpc/powerpc32/dl-machine.c
21057 (__elf_machine_runtime_setup) [PROF]: Don't reference
21058 _dl_prof_resolve.
21059
7a185db2
AJ
210602012-05-18 Andreas Jaeger <aj@suse.de>
21061
21062 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21063 function only available for GCCs before 3.4 since GCC 3.4
21064 introduced a builtin.
21065 (lrint): Likewise.
21066 (llrintf): Likewise.
21067 (llrint): Likewise.
21068 (fmaxf): Likewise.
21069 (fmax): Likewise.
21070 (fminf): Likewise.
21071 (fmin): Likewise.
21072 (rint): Likewise.
21073 (rintf): Likewise.
21074 (nearbyint): Likewise.
21075 (nearbyintf): Likewise.
21076 (ceil): Likewise.
21077 (ceilf): Likewise.
21078 (floor): Likewise.
21079 (floorf): Likewise.
21080
3e5aef87
L
210812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21082
428bd707
L
21083 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21084 on both fields and cast pointer to __syscall_ulong_t.
21085
3e5aef87
L
21086 * bits/types.h (__fsword_t): New type.
21087 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21088 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21090 (__FSWORD_T_TYPE): Likewise.
21091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21092 (__FSWORD_T_TYPE): Likewise.
21093 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21094 (__FSWORD_T_TYPE): Likewise.
21095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21096 (__FSWORD_T_TYPE): Likewise.
21097 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21098 __SWORD_TYPE with __fsword_t.
21099 (statfs64): Likewise.
21100
1ba7c3dc
DM
211012012-05-17 David S. Miller <davem@davemloft.net>
21102
21103 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21104
59910343
AJ
211052012-05-17 Andreas Jaeger <aj@suse.de>
21106
21107 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21108 warning.
21109
2e4c1e9e
L
211102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21111
21112 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21113
de7f5ce7
AJ
211142012-05-17 Andreas Jaeger <aj@suse.de>
21115
21116 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21117 when it is used.
21118
286abc3d
CM
211192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21120
21121 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21122
477cc68e
L
211232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21124
21125 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21126 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21127
1a0994f5
CD
211282012-05-17 Andreas Jaeger <aj@suse.de>
21129 Carlos O'Donell <carlos_odonell@mentor.com>
21130
21131 [BZ #14059]
21132 * sysdeps/x86_64/multiarch/init-arch.h
21133 (bit_YMM_Usable): Rename to...
21134 (bit_AVX_Usable): ... this.
21135 (bit_FMA4_Usable): New macro.
21136 (bit_XMM_state): New macro.
21137 (bit_YMM_state): New macro.
21138 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21139 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21140 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21141 (CPUID_OSXSAVE): New macro.
21142 (CPUID_AVX): New macro.
21143 (CPUID_FMA4): New macro.
21144 (index_YMM_Usable): Rename to...
21145 (index_AVX_Usable): ... this.
21146 (HAS_AVX): Use HAS_ARCH_FEATURE.
21147 (HAS_FMA4): Likewise.
21148 (HAS_YMM_USABLE): Remove.
21149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21150 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21151 are present.
21152 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21153 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21154 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21155 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21156 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21157
0af797de
CM
211582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21159
21160 * math/libm-test.c: Support platforms without multiple rounding modes.
21161 * math/bug-nextafter.c: Support platforms without FP exceptions.
21162 * math/bug-nexttoward.c: Likewise.
21163 * math/test-fenv.c: Likewise.
21164 * math/test-misc.c: Likewise.
21165 * stdlib/bug-getcontext.c: Likewise.
21166
e39745ff
AJ
211672012-05-17 Andreas Jaeger <aj@suse.de>
21168
21169 * manual/examples/search.c (critter_cmp): Change signature to
21170 avoid warnings.
21171 * manual/string.texi (Collation Functions): Likewise.
21172
48970aba
L
211732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21174
21175 * bits/types.h: Fold copyright years.
21176 * bits/typesizes.h: Likewise.
21177 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21181 * time/time.h: Likewise.
21182
bedee953
PP
211832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21184
21185 [BZ #208]
21186 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21187 in instead of returning them. Return void.
21188 (__libc_mallinfo): Accumulate over all arenas.
21189 (__malloc_stats): Adjust for change in int_mallinfo interface.
21190
61653dfb
RM
211912012-05-16 Roland McGrath <roland@hack.frob.com>
21192
30b99d79
RM
21193 [BZ #10375]
21194 * configure.in (NM): Add AC_CHECK_TOOL for it.
21195 (libc_extra_cflags): New substituted variable.
21196 Check for -fstack-protector being used implicitly.
21197 * configure: Regenerated.
21198 * config.make.in (config-extra-cflags): New variable,
21199 gets @libc_extra_cflags@.
21200 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21201
61653dfb
RM
21202 [BZ #10375]
21203 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21204 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21205 * configure: Regenerated.
21206 * config.make.in (CPPUNDEFS): New substituted variable.
21207 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21208 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21209 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21210
661768bb
L
212112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21212
21213 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21214 (mq_attr): Use __syscall_slong_t.
21215
d4261567
L
212162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21217
21218 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21219 Check __x86_64__ instead of __WORDSIZE.
21220 (_STAT_VER_LINUX): Likewise.
21221 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21222 __syscall_ulong_t and __syscall_slong_t.
21223 (stat64): Likewise.
21224
cf3ff365
L
212252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21226
21227 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21228
76cf3e4d
L
212292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21230
21231 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21232
a637753a
L
212332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21234
21235 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21236 __syscall_ulong_t.
21237
d5e05119
L
21238 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21239 include <bits/wordsize.h>. Check __x86_64__ instead of
21240 __WORDSIZE.
21241 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21242 defined.
21243 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21244
f62ee380
L
21245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21246 include <bits/wordsize.h>. Check __x86_64__ instead of
21247 __WORDSIZE.
21248 (user_regs_struct): Use "__extension__ unsigned long long"
21249 instead of "unsigned long" if __x86_64__ is defined.
21250 (user): Likewise. Pad after pointer field if __ILP32__ is
21251 defined.
21252
4e124ced
JM
212532012-05-16 Joseph Myers <joseph@codesourcery.com>
21254
6a3951a0
JM
21255 * configure.in (makeinfo): Require version 4.5 or later. Allow
21256 versions 5 to 9.
21257 * configure: Regenerated.
21258 * manual/install.texi (texinfo): Increase version requirement to
21259 4.5 or later.
21260 * INSTALL: Regenerated.
21261
4e124ced
JM
21262 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21263
953ca31a
L
212642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21265
21266 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21267
617aca05
L
21268 * sysdeps/x86_64/x32/ffs.c: New file.
21269
5762f7ae
L
21270 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21271 __syscall_ulong_t.
21272 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21273 defined. Use __syscall_ulong_t.
21274 (shminfo): Use __syscall_ulong_t.
21275 (shm_info): Likewise.
21276
a26b6856
L
21277 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21278 __syscall_ulong_t.
21279
cb2b9ef7
L
21280 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21281 <bits/wordsize.h>.
21282 (msgqnum_t): Use __syscall_ulong_t.
21283 (msglen_t): Likewise.
21284 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21285 __syscall_ulong_t.
21286
34683bb0
L
21287 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21289
84a68786
L
21290 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21291
48baa5f1
L
21292 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21293 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21294
180be88b
L
21295 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21296 __syscall_slong_t.
21297
5e90c8ad
L
21298 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21299 include <bits/wordsize.h>. Check __x86_64__ instead of
21300 __WORDSIZE.
21301
23dfb58b
L
21302 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21303 "unsigned long long int" if __x86_64__ is defined.
21304 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21305
ce5d54b0
L
21306 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21307 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21308 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21309
13dc9eac
L
21310 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21311 <stdint.h>.
21312 (GET_PC): Cast to uintptr_t first.
21313 (GET_FRAME): Likewise.
21314 (GET_STACK): Likewise.
21315
a7895d15
L
21316 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21317 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21318 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21323 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21324 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21325 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21329 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21331 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21337 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21339 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21341 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21342 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21345
656416c9
AS
213462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21347
5bd66283
AS
21348 * Makerules (+depfiles): Also collect depfiles from .oS in
21349 $(extra-objs).
21350 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21351 .oS, $(libnldbl-routines)).
21352
656416c9
AS
21353 * Makerules (native-compile-mkdep-flags): Define.
21354 * sunrpc/Makefile (extra-objs): Add $(addprefix
21355 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21356 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21357 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21358 calling $(make-target-directory).
21359
a46f2169
L
213602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21361
21362 * bits/types.h (__snseconds_t): Removed.
21363 * time/time.h (struct timespec): Replace __snseconds_t with
21364 __syscall_slong_t.
21365 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21366 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21367 Likewise.
21368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21369 (__SNSECONDS_T_TYPE): Likewise.
21370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21371 (__SNSECONDS_T_TYPE): Likewise.
21372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21373 (__SNSECONDS_T_TYPE): Likewise.
21374
6af6528b
L
213752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21376
21377 * sysdeps/mach/hurd/bits/typesizes.h
21378 (__SYSCALL_SLONG_TYPE): New macro.
21379 (__SYSCALL_ULONG_TYPE): Likewise.
21380
de986b56
L
213812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21382
21383 * bits/types.h (__syscall_slong_t): New type.
21384 (__syscall_ulong_t): Likewise.
21385
21386 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21387 (__SYSCALL_ULONG_TYPE): Likewise.
21388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21389 (__SYSCALL_SLONG_TYPE): Likewise.
21390 (__SYSCALL_ULONG_TYPE): Likewise.
21391 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21392 (__SYSCALL_SLONG_TYPE): Likewise.
21393 (__SYSCALL_ULONG_TYPE): Likewise.
21394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21395 (__SYSCALL_SLONG_TYPE): Likewise.
21396 (__SYSCALL_ULONG_TYPE): Likewise.
21397
85736dc7
L
213982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21401 Add sigaltstack-offsets.sym.
21402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21403 <sigaltstack-offsets.h>.
21404 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21405 longjmp_msg pointer.
21406 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21407 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21408 signal stack.
21409 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21410
cc03b296
JM
214112012-05-15 Joseph Myers <joseph@codesourcery.com>
21412
a9538892
JM
21413 * elf/stackguard-macros.h: Remove file.
21414 * sysdeps/generic/stackguard-macros.h: New file.
21415 * sysdeps/i386/stackguard-macros.h: Likewise.
21416 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21417 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21418 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21419 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21420 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21421 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21422 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21423 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21424 <elf/stackguard-macros.h>.
21425
cc03b296
JM
21426 [BZ #14109]
21427 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21428 __aligned__ in attribute.
21429 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21430 (gregset_t): Likewise.
21431
93171016
L
214322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21435 * sysdeps/x86_64/64/Implies-after: Here. New file.
21436 * sysdeps/x86_64/x32/Implies-after: New file.
21437
d86813a0
L
214382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21439
21440 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21441 and access return value for _dl_profile_fixup. Use R10_LP to
21442 load frame size.
21443
2953ec75
L
214442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21445
21446 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21447
3b550e9e
L
214482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21449
21450 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21451 * sysdeps/x86_64/x32/sysdep.h: New file.
21452
eda41706
L
214532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21454
21455 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21456 * sysdeps/x86_64/setjmp.S: Likewise.
21457
9ea01d93
AZ
214582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21459
21460 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21462 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21463 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21464 remove unused global constant.
21465
02a91938
CM
214662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21467
21468 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21469 include of <not-cancel.h>.
21470
6540185f
RM
214712012-05-15 Roland McGrath <roland@hack.frob.com>
21472
21473 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21474
509072a0
AJ
214752012-05-15 Jeff Law <law@redhat.com>
21476 Andreas Jaeger <aj@suse.de>
21477
21478 [BZ #13594]
21479 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21480 out from...
21481 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21482 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21483 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21484 code changing __hst_map_handle.map.
21485
ba75122d
RM
214862012-05-15 Roland McGrath <roland@hack.frob.com>
21487
21488 * configure.in (sysnames): Look for Implies-before and Implies-after
21489 files.
21490 * configure: Regenerated.
21491
890d8bd8
L
214922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21493
21494 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21495 8-byte data alignment with LP_SIZE alignment.
21496
f6ee6623
L
214972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21498
21499 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21500 into R10_LP.
21501
ea2626f6
L
215022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21505
085f715e
L
215062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21507
21508 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21509 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21510 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21511 Likewise.
21512 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21513
be8498fc
L
215142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21515
21516 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21517 (stackinfo_sub_sp): Likewise.
21518
70bc83b9
L
215192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21520
21521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21522 RAX_LP.
21523
9bc0b730
L
215242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21527 into R*_LP.
21528
6d2850e7
L
215292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21532 sizes into R*_LP.
21533
3cb84561
L
215342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21535
21536 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21537
54e2ed81
L
215382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21541 into R11_LP and load __x86_64_shared_cache_size_half into
21542 R8_LP.
21543
8a17f349
L
215442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21545
21546 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21547 R8_LP.
21548
777b1eea
AZ
215492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21550
21551 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21552 logb for POWER7.
21553 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21554 logbf for POWER7.
21555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21556 logbl for POWER7.
21557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21558 powerpc32/power7/fpu/s_logb.c via #include.
21559 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21560 powerpc32/power7/fpu/s_logbf.c via #include.
21561 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21562 powerpc32/power7/fpu/s_logbl.c via #include.
21563
d20d4ac2
JM
215642012-05-15 Joseph Myers <joseph@codesourcery.com>
21565
21566 * README.libm: Remove file.
21567
6cdef1ab
L
215682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21569
21570 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21571 count for x32. Use R*_LP and omit operand-size suffix.
21572
0b254d8f
L
215732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21574
21575 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21576 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21577 * sysdeps/x86_64/x32/shlib-versions: New file.
21578
ceb809dc
RM
215792012-05-14 Roland McGrath <roland@hack.frob.com>
21580
21581 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21582 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21583 Use _dl_fatal_printf instead.
21584
37f1abd4
JM
215852012-05-14 Joseph Myers <joseph@codesourcery.com>
21586
21587 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21588 set if not set by the user. Do not allow for being unset.
21589 * sysdeps/unix/sysv/linux/configure: Regenerated.
21590
11de3a33
L
215912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21592
21593 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21594 the `q' suffix from lea and replace .quad with ASM_ADDR.
21595
e02f153a
L
215962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21597
21598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21599 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21600 instead of $17.
21601 (PTR_DEMANGLE): Likewise.
21602
520ae0fd
L
216032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21604
21605 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21606 (LP_OP): Likewise.
21607 (ASM_ADDR): Likewise.
21608 (RAX_LP): Likewise.
21609 (RBP_LP): Likewise.
21610 (RBX_LP): Likewise.
21611 (RCX_LP): Likewise.
21612 (RDI_LP): Likewise.
21613 (RSI_LP): Likewise.
21614 (RSP_LP): Likewise.
21615 (R8_LP): Likewise.
21616 (R9_LP): Likewise.
21617 (R10_LP): Likewise.
21618 (R10_LP): Likewise.
21619 (R11_LP): Likewise.
21620 (R12_LP): Likewise.
21621 (R13_LP): Likewise.
21622 (R14_LP): Likewise.
21623 (R15_LP): Likewise.
21624
b985be81
L
216252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21626
21627 * sysdeps/x86_64/x32/dl-machine.h: New file.
21628
6a4888ff
AJ
216292012-05-14 Andreas Jaeger <aj@suse.de>
21630
21631 * manual/Makefile (subdir): Remove export of subdir.
21632 (all): Remove target.
21633 (.PHONY): Remove all from list.
21634 (mkinstalldirs): Remove.
21635 (.PHONY): Remove installdirs from list.
21636 ($(inst_infodir)/libc.info): Use make-target-directory.
21637 (installdirs): Remove.
21638 (subdir_%): Remove.
21639 (glibc-targets): Remove.
21640 (lib): Remove.
21641 (stubs): Remove.
21642 ($(objpfx)stubs ../po/manual.pot): Remove.
21643 ($(objpfx)stamp%): Remove.
21644 (make-target-directory): Remove.
21645 (subdir_install): Remove.
21646 (routines): Remove.
21647 (aux): Remove.
21648 (sources): Remove.
21649 (objects): Remove.
21650 (headers): Remove.
21651
21652 [BZ #13750]
21653 * manual/.gitignore: Remove, it's not needed anymore.
21654 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21655 all files in it.
21656 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21657 directory.
21658 (texis): Renamed to $(objpfx)texis.
21659 (texis-path): New, contains path to generated files.
21660 (chapters.%): Use texis-path for complete path, add extra argument
21661 libc-texinfo.sh.
21662 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21663 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21664 (summary,texi, stamp-summary): Use complete path of
21665 files. Generate files in build dir.
21666 (dir-add.texi): Build in build dir.
21667 (libm-err.texi,stamp-libm-err): Likewise.
21668 (version.texi, stamp-version): Likewise.
21669 (.%c.texi): Likewise.
21670 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21671 (mostlyclean): Remove target.
21672 (realclean): Remove target.
21673 (generated): Add new variable with contents from mostlyclean and
21674 realclean, remove entries duplicated in common-mostlyclean, add
21675 stamp-libm-err and stamp-version.
21676 (generated-dirs): Add libc directory.
21677 ($(inst_infodir)/libc.info): Install files from build dir.
21678
21679 * manual/install.texi (Configuring and compiling): Adjust since
21680 the info files are not part of the tar ball anymore.
21681
7ac77294
AJ
216822012-05-14 Andreas Jaeger <aj@suse.de>
21683
21684 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21685 variable.
21686
ffb7875d
JM
216872012-05-14 Joseph Myers <joseph@codesourcery.com>
21688
21689 [BZ #13717]
21690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21691 to 2.2.0 where earlier.
21692 * sysdeps/unix/sysv/linux/configure: Regenerated.
21693 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21694 Remove conditional code.
21695 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21696 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21697 Remove conditional code.
21698 [!__NR_lchown]: Likewise.
21699 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21700 [__NR_lchown]: Likewise.
21701 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21702 comment referencing __ASSUME_LCHOWN_SYSCALL.
21703 * sysdeps/unix/sysv/linux/i386/sigaction.c
21704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21706 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21707 Remove conditional code.
21708 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21709 (__protocol_available): Remove #if 0 code.
21710 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21711 conditional code.
21712 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21713 * sysdeps/unix/sysv/linux/kernel-features.h
21714 (__ASSUME_GETCWD_SYSCALL): Don't define.
21715 (__ASSUME_REALTIME_SIGNALS): Likewise.
21716 (__ASSUME_PREAD_SYSCALL): Likewise.
21717 (__ASSUME_PWRITE_SYSCALL): Likewise.
21718 (__ASSUME_POLL_SYSCALL): Likewise.
21719 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21720 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21721 non-SPARC.
21722 (__ASSUME_SIOCGIFNAME): Don't define.
21723 (__ASSUME_MSG_NOSIGNAL): Likewise.
21724 (__ASSUME_SENDFILE): Define unconditionally.
21725 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21726 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21727 conditional code.
21728 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21729 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21730 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21731 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21732 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21733 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21734 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21739 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21745 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21751 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21752 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21757 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21759 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21760 Remove conditional code.
21761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21762 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21763 Remove conditional code.
21764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21765 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21766 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21767 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21768 Remove conditional code.
21769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21770 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21771 Remove conditional code.
21772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21773 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21774 Remove conditional code.
21775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21776 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21777 Remove conditional code.
21778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21779 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21780 Remove conditional code.
21781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21782 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21783 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21784 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21785 * sysdeps/unix/sysv/linux/sigaction.c
21786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21788 * sysdeps/unix/sysv/linux/sigpending.c
21789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21791 * sysdeps/unix/sysv/linux/sigprocmask.c
21792 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21793 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21794 * sysdeps/unix/sysv/linux/sigsuspend.c
21795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21798 (__libc_missing_rt_sigs): Remove.
21799 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21800 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21801 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21802 Remove conditional code.
21803 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21804 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21805 return 1.
21806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21807 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21808 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21809 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21810
1bfb7291
AJ
218112012-05-14 Andreas Jaeger <aj@suse.de>
21812
caae5a81
AJ
21813 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21814 it's not used in glibc.
21815 (__coshm1): Likewise.
21816 (__acosh1p): Likewise.
21817 (__sgn): Likewise.
21818
1bfb7291
AJ
21819 * manual/string.texi (Copying and Concatenation): Add missing
21820 variable in concat example.
21821 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21822
c044d724
L
218232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21824
144c5467 21825 [BZ #14103]
c044d724
L
21826 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21827 __builtin_clzl with __builtin_clzll.
21828
2523c62b
L
218292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21830
21831 [BZ #14104]
21832 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21833 libc_freeres_ptr.
21834
d7bb4c42
LD
218352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21836
21837 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21838 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21839 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21840 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21841
9dc4e1fb
MF
218422012-05-14 Mike Frysinger <vapier@gentoo.org>
21843
21844 * NEWS: Update ia64 info.
21845
c7df0112
AS
218462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21847
21848 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21849 used as bcopy.
21850
dc70356c
TS
218512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21852
21853 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21854 * sysdeps/unix/syscalls.list (dup3): Likewise.
21855 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21856 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21857
9fb1a21f
L
218582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21859
21860 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21861 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21862
4822a2a5
L
218632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21864
21865 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21866 thread pointer.
21867 (TLS_IE): Use mov/add instead of movq/addq to load thread
21868 pointer.
21869 (TLS_GD_PREFIX): New.
21870 (TLS_GD): Use it.
21871
842b81d6
DM
218722012-05-11 David S. Miller <davem@davemloft.net>
21873
21874 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21875 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21876 (_FPU_SETCW): Likewise.
21877
1cf463cd
L
218782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21879
21880 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21881 is 32-byte aligned.
21882
60cc4a18
AS
218832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21884
21885 [BZ #11837]
21886 * iconvdata/gb18030.c: Update tables.
21887 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21888 characters specially.
21889 (BODY for TO_LOOP): Add encoding of missing ranges.
21890
febb44a4
TS
218912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21892
21893 [BZ #13673]
21894 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21895 * sysdeps/mach/hurd/dup3.c: Likewise.
21896 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21897 * sysdeps/powerpc/memmove.c:: Likewise.
21898
0a10fb9e
L
218992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21900
21901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21902 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21903
df8a552f
L
219042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21905
21906 * elf/elf.h (R_X86_64_RELATIVE64): New.
21907 (R_X86_64_NUM): Updated.
21908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21909 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21910 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21911 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21912 tst-quad1pie tst-quad2pie
21913 (modules-names): Add tst-quadmod1 tst-quadmod2.
21914 ($(objpfx)tst-quad1): New dependency.
21915 ($(objpfx)tst-quad2): Likewise.
21916 ($(objpfx)tst-quad1pie): Likewise.
21917 ($(objpfx)tst-quad2pie): Likewise.
21918 * sysdeps/x86_64/tst-quad1.c: New file.
21919 * sysdeps/x86_64/tst-quad1pie.c: New file.
21920 * sysdeps/x86_64/tst-quad2.c: Likewise.
21921 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21922 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21923 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21924 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21925 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21926
f34d6f84
ST
219272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21928
f42d41d1
ST
21929 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21930 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21931 * streams/stropts.h (t_scalar_t): Define type.
21932
3c3571fc
ST
21933 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21934 (_PATH_PRESERVE): Set to "/var/lib".
21935 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21936
61f06bd3
ST
21937 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21938 instead of int.
21939
918d4d71
ST
21940 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21941 if __dir_mkfile succeeded.
21942
f34d6f84
ST
21943 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21944 checking for _hurd_dtablesize. Unlock it right after having
21945 finished _hurd_dtable allocation.
21946
10589b4a
TS
219472012-05-10 Thomas Schwinge <thomas@schwinge.name>
21948
674cdbc7
TS
21949 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21950 * sysdeps/mach/hurd/configure: Regenerated.
21951 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21952 special-casing to...
21953 * sysdeps/gnu/configure.in: ... this new file.
21954 * sysdeps/unix/sysv/linux/configure: Regenerated.
21955 * sysdeps/gnu/configure: New generated file.
21956
8e41b99f
TS
21957 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21958 for Linux: use nsec instead of usec, as well as:
21959 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21960 members of type struct timespec.
21961 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21962 New macros.
21963 (struct stat64): Likewise.
21964 (_STATBUF_ST_NSEC): New macro.
21965 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21966
10589b4a
TS
21967 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21968 __strtoul_internal rather than strtoul.
21969
63643c85
PT
219702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21971
21972 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21973 and reject them.
21974
3faebe6a
ST
219752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21976
21977 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21978 which preserves existing values.
21979 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21980
c6474b07
PT
219812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21982
21983 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21984 TIMEOUT values. Return EINVAL for NFDS values either negative or
21985 greater than FD_SETSIZE.
21986
1043890b
ST
219872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21988
21989 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21990 allocated, call __vm_protect to finish enabling the existing space, and
21991 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21992 allocate the remainder.
21993
37ed8b9b
PT
219942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21995
21996 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21997 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21998
db653660
ST
219992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22000
37ed8b9b
PT
22001 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22002 sysdeps/mach/hurd/readlink.c.
b29d4053 22003
db653660
ST
22004 * posix/tst-sysconf.c (posix_options): Only use
22005 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22006 _POSIX_SYNCHRONIZED_IO when they are defined
22007 * sysdeps/mach/hurd/bits/posix_opt.h:
22008 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22009 (_XOPEN_REALTIME): Undefine macro.
22010 (_XOPEN_REALTIME_THREADS): Undefine macro.
22011 (_XOPEN_SHM): Undefine macro.
22012 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22013 macro to -1.
22014 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22015 macro to -1.
22016 (_POSIX_ASYNC_IO): Undefine macro.
22017 (_POSIX_PRIORITIZED_IO): Undefine macro.
22018 (_POSIX_SPIN_LOCKS): Define macro to -1.
22019
ee16e894
ST
22020 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22021 SA_NODEFER, SA_RESETHAND.
22022 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22023 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22024 F_DUPFD_CLOEXEC.
22025
6103ae3b
TS
220262012-05-10 Thomas Schwinge <thomas@schwinge.name>
22027
22028 * elf/Makefile (pldd-modules): Define unconditionally.
22029
80b4e5f3
TS
220302012-05-10 Thomas Schwinge <thomas@schwinge.name>
22031
22032 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22033
edadcbd6
ST
220342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22035
22036 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22037 Return ENOENT when name is empty.
22038 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22039
80694780
TS
220402012-05-10 Thomas Schwinge <thomas@schwinge.name>
22041
1792c087
TS
22042 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22043
80694780
TS
22044 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22045
6b645f0d
ST
220462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22047
80694780
TS
22048 Fix mlock in all cases except non-readable pages.
22049 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22050 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22051
6b645f0d
ST
22052 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22053 (__mkdir): When path is `/', just fail with EEXIST.
22054 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22055
e468f8a3
TS
220562012-05-10 Thomas Schwinge <thomas@schwinge.name>
22057
22058 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22059 <sys/uio.h> (for writev).
22060 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22061 and <sys/param.h> (for MIN).
22062
a4186cff
PT
220632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22064
22065 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22066 REQUESTED_TIME. Properly set the remaining time and return EINTR
22067 if interrupted.
22068
510bbf14
TS
220692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22070
22071 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22072 Depend on against $(link-rpcuserlibs).
22073
5d5722e8
ST
220742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22075
a4186cff
PT
22076 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22077 (__libc_stack_end): Do not use attribute_relro.
22078 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22079 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22080 to libthread-provided value.
a4186cff
PT
22081 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22082 attribute_relro.
5d5722e8 22083
37233df9
TS
220842012-05-10 Thomas Schwinge <thomas@schwinge.name>
22085
be971a2b
TS
22086 [BZ #3748]
22087 * bits/libc-lock.h (__libc_once_get): New macro.
22088 * sysdeps/mach/bits/libc-lock.h: Likewise.
22089 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22090 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22091 instead of using implementation details.
22092
37233df9
TS
22093 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22094 * libio/freopen.c: Likewise.
22095 * libio/freopen64.c: Likewise.
22096 * misc/syslog.c: Likewise.
22097 * nscd/connections.c: Likewise.
22098 * nscd/netgroupcache.c: Likewise.
22099 * sysdeps/posix/getcwd.c: Likewise.
22100
38de94a5
RM
221012012-05-10 Roland McGrath <roland@hack.frob.com>
22102
22103 * math/w_ilogbf.c: Add #include <limits.h>.
22104
67530489
ST
221052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22106
a4186cff 22107 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22108 path instead of returning without unlocking.
22109
67530489
ST
22110 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22111 immediate-write ioctls.
22112 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22113
5aa3a74a
TS
221142012-05-10 Thomas Schwinge <thomas@schwinge.name>
22115
18bad2ae
TS
22116 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22117 __builtin_frame_address instead of making assumptions about the
22118 location of the return address relative to DATA. Force early load of
22119 the return address.
22120 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22121 __builtin_frame_address.
22122
5aa3a74a
TS
22123 dup3 for GNU Hurd.
22124 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22125 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22126 implement dup3 and do some further code clean-ups.
22127 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22128 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22129
ecd0de9a
ST
221302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22131
cd9fa985
ST
22132 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22133
a4186cff
PT
22134 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22135 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22136 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22137 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22138 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22139 d->port.lock.
802ca5a5 22140
a4186cff
PT
22141 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22142 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22143 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22144
bcf55240
TS
221452012-05-10 Thomas Schwinge <thomas@schwinge.name>
22146
6960eb42
TS
22147 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22148 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22149 definitions.
22150
eb43375f
TS
22151 accept4 for GNU Hurd.
22152 * include/sys/socket.h (__libc_accept4): New prototype.
22153 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22154 to implement __libc_accept4.
22155 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22156 __libc_accept4.
22157 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22158
bcf55240
TS
22159 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22160 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22161 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22162 signal-defines.sym.
22163
6178c55b
ST
221642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22165
a4186cff 22166 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22167
6f080c2f
TS
221682012-05-10 Thomas Schwinge <thomas@schwinge.name>
22169
22170 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22171 assertion on O_CLOEXEC flag.
22172 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22173 * hurd/intern-fd.c: Likewise.
22174 * hurd/port2fd.c: Likewise.
22175
bcfe3a54
ST
221762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22177
22178 [BZ #3906]
22179 * bits/in.h (IPV6_PKTINFO): Define new macro.
22180 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22181
89c9aa49
AZ
221822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22183
22184 [BZ #13954]
22185 [BZ #13955]
22186 [BZ #13956]
22187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22189 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22190 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22192 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22193 * math/libm-test.inc (logb_test) : Additional logb tests.
22194
021db4be
AJ
221952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22196 Andreas Jaeger <aj@suse.de>
22197
22198 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22199 * configure: Regenerated.
22200 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22201 * config.make.in (link-obsolete-rpc): New substituted variable.
22202 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22203 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22204 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22205 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22206 so that libc.a contains the symbols.
22207 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22208 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22209 * sunrpc/auth_none.c: Likewise.
22210 * sunrpc/auth_unix.c: Likewise.
22211 * sunrpc/authdes_prot.c: Likewise.
22212 * sunrpc/authuxprot.c: Likewise.
22213 * sunrpc/clnt_gen.c: Likewise.
22214 * sunrpc/clnt_perr.c: Likewise.
22215 * sunrpc/clnt_raw.c: Likewise.
22216 * sunrpc/clnt_simp.c: Likewise.
22217 * sunrpc/clnt_tcp.c: Likewise.
22218 * sunrpc/clnt_udp.c: Likewise.
22219 * sunrpc/clnt_unix.c: Likewise.
22220 * sunrpc/des_crypt.c: Likewise.
22221 * sunrpc/des_soft.c: Likewise.
22222 * sunrpc/get_myaddr.c: Likewise.
22223 * sunrpc/key_call.c: Likewise.
22224 * sunrpc/key_prot.c: Likewise.
22225 * sunrpc/netname.c: Likewise.
22226 * sunrpc/pm_getmaps.c: Likewise.
22227 * sunrpc/pm_getport.c: Likewise.
22228 * sunrpc/pmap_clnt.c: Likewise.
22229 * sunrpc/pmap_prot.c: Likewise.
22230 * sunrpc/pmap_prot2.c: Likewise.
22231 * sunrpc/pmap_rmt.c: Likewise.
22232 * sunrpc/publickey.c: Likewise.
22233 * sunrpc/rpc_cmsg.c: Likewise.
22234 * sunrpc/rpc_common.c: Likewise.
22235 * sunrpc/rpc_dtable.c: Likewise.
22236 * sunrpc/rpc_prot.c: Likewise.
22237 * sunrpc/rpc_thread.c: Likewise.
22238 * sunrpc/rtime.c: Likewise.
22239 * sunrpc/svc.c: Likewise.
22240 * sunrpc/svc_auth.c: Likewise.
22241 * sunrpc/svc_raw.c: Likewise.
22242 * sunrpc/svc_run.c: Likewise.
22243 * sunrpc/svc_tcp.c: Likewise.
22244 * sunrpc/svc_udp.c: Likewise.
22245 * sunrpc/svc_unix.c: Likewise.
22246 * sunrpc/svcauth_des.c: Likewise.
22247 * sunrpc/xcrypt.c: Likewise.
22248 * sunrpc/xdr.c: Likewise.
22249 * sunrpc/xdr_array.c: Likewise.
22250 * sunrpc/xdr_float.c: Likewise.
22251 * sunrpc/xdr_intXX_t.c: Likewise.
22252 * sunrpc/xdr_mem.c: Likewise.
22253 * sunrpc/xdr_rec.c: Likewise.
22254 * sunrpc/xdr_ref.c: Likewise.
22255 * sunrpc/xdr_sizeof.c: Likewise.
22256 * sunrpc/xdr_stdio.c: Likewise.
22257
b5c086a2
RM
222582012-05-10 Roland McGrath <roland@hack.frob.com>
22259
22260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22261 change. Update copyright years.
22262
6d74dd09
JM
222632012-05-10 Joseph Myers <joseph@codesourcery.com>
22264
22265 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22266
28e72501
MK
222672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22268 Joseph Myers <joseph@codesourcery.com>
22269 Paul Pluzhnikov <ppluzhnikov@google.com>
22270
22271 [BZ #14012]
22272 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22273 requiring rpcgen.
22274 [cross-compiling] (extra-libs): Likewise.
22275 [cross-compiling] (extra-libs-others): Likewise.
22276 [cross-compiling] (librpcsvc-routines): Likewise.
22277 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22278 [cross-compiling] (omit-deps): Likewise.
22279 (sunrpc-CPPFLAGS): New variable.
22280 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22281 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22282 (cross-rpcgen-objs): New variable.
22283 (extra-objs): Append $(cross-rpcgen-objs).
22284 ($(cross-rpcgen-objs)): New rule.
22285 ($(objpfx)cross-rpcgen): Likewise.
22286 (rpcgen-cmd): Define to use $(built-program-file). Expand
22287 comment.
22288 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22289 ($(objpfx)x%.stmp): Likewise.
22290 * sunrpc/proto.h [IS_IN_build] (_): Define.
22291 [IS_IN_build] (_libc_intl_domainname): Likewise.
22292
c8c59454
L
222932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22294
22295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22296 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22297 and R_X86_64_TPOFF64.
22298
6f27cd16
JM
222992012-05-10 Joseph Myers <joseph@codesourcery.com>
22300
22301 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22302 sysdeps/unix/sysv/syscalls.list.
22303 (stime): Likewise.
22304 (utime): Likewise.
22305 * sysdeps/unix/sysv/syscalls.list: Remove file.
22306
02467e1c
PE
223072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22308
22309 [BZ #3440]
22310 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22311 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22312 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22313 (__LC_IDENTIFICATION): Make these macros useful in #if
22314 expressions, as required by C99.
22315
da392631
AS
223162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22317
22318 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22319 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22320 after this.
22321
8115f29b
L
223222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22323
22324 * stdlib/longlong.h: Updated from GCC.
22325
bdd74070
AJ
223262012-05-09 Andreas Jaeger <aj@suse.de>
22327
edfe0dbe
AJ
22328 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22329 default is first entry.
22330 (run_mode): Set type.
22331 (main): Remove informal message about syslog.
22332 (options): Fix typo.
22333
bcfe3a54
ST
22334 [BZ #14053]
22335 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22336 to asm.
bcfe3a54
ST
22337 (lrint): Likewise.
22338 (llrintf): Likewise.
22339 (llrint): Likewise.
22340 (rint): Likewise.
22341 (rintf): Likewise.
22342 (nearbyint): Likewise.
22343 (nearbyintf): Likewise.
bdd74070 22344
91d8d69e
AJ
223452012-05-09 Andreas Jaeger <aj@suse.de>
22346 Pedro Alves <palves@redhat.com>
22347
22348 * nscd/nscd.c (run_mode): Use enum.
22349 (main): Cleanup coding style issue.
22350
bb90b80b
AJ
223512012-05-09 Alexandre Oliva <aoliva@redhat.com>
22352 Andreas Jaeger <aj@suse.de>
22353
bcfe3a54
ST
22354 * nscd/nscd.c (go_background): Replaced with...
22355 (run_mode): ... this.
bb90b80b 22356 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22357 (options): Add -F --foreground.
22358 (main): Implement it.
22359 (parse_opt): Parse it.
bb90b80b 22360
1a4b75a1
AJ
223612012-05-09 Andreas Jaeger <aj@suse.de>
22362
22363 [BZ #14083]
22364 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22365 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22366 -Wconversion warning.
22367 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22368 Likewise.
22369
b1cc2472
JM
223702012-05-09 Joseph Myers <joseph@codesourcery.com>
22371
22372 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22373 == 0.
22374 (LC_ALL): Use macro-int-constant.
22375 (LC_COLLATE): Likewise.
22376 (LC_CTYPE): Likewise.
22377 (LC_MESSAGES): Likewise.
22378 (LC_MONETARY): Likewise.
22379 (LC_NUMERIC): Likewise.
22380 (LC_TIME): Likewise.
22381 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22382 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22384 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22385 Specify type.
22386 [C99-based standards] (float_t): Expect type.
22387 [C99-based standards] (double_t): Expect type.
22388 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22389 type.
22390 [C99-based standards] (HUGE_VALL): Likewise.
22391 [C99-based standards] (INFINITY): Likewise.
22392 [C99-based standards] (NAN): Likewise.
22393 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22394 [C99-based standards] (FP_NAN): Likewise.
22395 [C99-based standards] (FP_NORMAL): Likewise.
22396 [C99-based standards] (FP_SUBNORMAL): Likewise.
22397 [C99-based standards] (FP_ZERO): Likewise.
22398 [C99-based standards] (FP_FAST_FMA): Use
22399 optional-macro-int-constant. Specify type. Require == 1.
22400 [C99-based standards] (FP_FAST_FMAF): Likewise.
22401 [C99-based standards] (FP_FAST_FMAL): Likewise.
22402 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22403 [C99-based standards] (FP_ILOGBNAN): Likewise.
22404 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22405 Specify type.
22406 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22407 [C99-based standards] (math_errhandling): Specify type.
22408 [ISO99 || ISO11] (signgam): Do not allow.
22409 [non-C99-based standards] (copysignf): Do not allow.
22410 [non-C99-based standards] (exp2f): Likewise.
22411 [non-C99-based standards] (log2f): Likewise.
22412 [non-C99-based standards] (modff): Allow.
22413 [non-C99-based standards] (erff): Do not allow.
22414 [non-C99-based standards] (erfcf): Likewise.
22415 [non-C99-based standards] (gammaf): Likewise.
22416 [non-C99-based standards] (hypotf): Likewise.
22417 [non-C99-based standards] (j0f): Likewise.
22418 [non-C99-based standards] (j1f): Likewise.
22419 [non-C99-based standards] (jnf): Likewise.
22420 [non-C99-based standards] (lgammaf): Likewise.
22421 [non-C99-based standards] (tgammaf): Likewise.
22422 [non-C99-based standards] (y0f): Likewise.
22423 [non-C99-based standards] (y1f): Likewise.
22424 [non-C99-based standards] (ynf): Likewise.
22425 [non-C99-based standards] (isnanf): Likewise.
22426 [non-C99-based standards] (acoshf): Likewise.
22427 [non-C99-based standards] (asinhf): Likewise.
22428 [non-C99-based standards] (atanhf): Likewise.
22429 [non-C99-based standards] (cbrtf): Likewise.
22430 [non-C99-based standards] (expm1f): Likewise.
22431 [non-C99-based standards] (ilogbf): Likewise.
22432 [non-C99-based standards] (log1pf): Likewise.
22433 [non-C99-based standards] (logbf): Likewise.
22434 [non-C99-based standards] (nextafterf): Likewise.
22435 [non-C99-based standards] (remainderf): Likewise.
22436 [non-C99-based standards] (rintf): Likewise.
22437 [non-C99-based standards] (scalbf): Likewise.
22438 [non-C99-based standards] (copysignl): Likewise.
22439 [non-C99-based standards] (exp2l): Likewise.
22440 [non-C99-based standards] (log2l): Likewise.
22441 [non-C99-based standards] (modfl): Allow.
22442 [non-C99-based standards] (erfl): Do not allow.
22443 [non-C99-based standards] (erfcl): Likewise.
22444 [non-C99-based standards] (gammal): Likewise.
22445 [non-C99-based standards] (hypotl): Likewise.
22446 [non-C99-based standards] (j0l): Likewise.
22447 [non-C99-based standards] (j1l): Likewise.
22448 [non-C99-based standards] (jnl): Likewise.
22449 [non-C99-based standards] (lgammal): Likewise.
22450 [non-C99-based standards] (tgammal): Likewise.
22451 [non-C99-based standards] (y0l): Likewise.
22452 [non-C99-based standards] (y1l): Likewise.
22453 [non-C99-based standards] (ynl): Likewise.
22454 [non-C99-based standards] (isnanl): Likewise.
22455 [non-C99-based standards] (acoshl): Likewise.
22456 [non-C99-based standards] (asinhl): Likewise.
22457 [non-C99-based standards] (atanhl): Likewise.
22458 [non-C99-based standards] (cbrtl): Likewise.
22459 [non-C99-based standards] (expm1l): Likewise.
22460 [non-C99-based standards] (ilogbl): Likewise.
22461 [non-C99-based standards] (log1pl): Likewise.
22462 [non-C99-based standards] (logbl): Likewise.
22463 [non-C99-based standards] (nextafterl): Likewise.
22464 [non-C99-based standards] (remainderl): Likewise.
22465 [non-C99-based standards] (rintl): Likewise.
22466 [non-C99-based standards] (scalbl): Likewise.
22467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22468 [non-C99-based standards] (FP_*): Do not allow.
22469 [C99-based standards] (FP_*): Change to
22470 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22471 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22472 allow.
22473 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22474 (SIG_ERR): Likewise.
22475 [X/Open-based standards] (SIG_HOLD): Likewise.
22476 (SIG_IGN): Likewise.
22477 (SIGABRT): Use macro-int-constant. Specify type. Require
22478 positive value.
22479 (SIGFPE): Likewise.
22480 (SIGILL): Likewise.
22481 (SIGINT): Likewise.
22482 (SIGSEGV): Likewise.
22483 (SIGTER): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22486 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22496 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22501 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22502 [X/Open-based standards] (SIGTRAP): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22504 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22505 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22506 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22507 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22508 allow.
22509
b9f1922d
IW
225102012-05-08 Ian Wienand <ianw@vmware.com>
22511
22512 [BZ #14080]
22513 * time/tzset.c (__tzset_parse_tz): Update default rules for
22514 daylight time changes in the Energy Policy Act of 2005.
22515
1db86e88
AJ
225162012-05-09 Andreas Jaeger <aj@suse.de>
22517
22518 [BZ #13983]
22519 * elf/ldconfig.c (parse_conf): Change string to make clear that
22520 ldconfig only issued a warning if ld.so.conf does not exist.
22521
dee4a4e3
DM
225222012-05-08 David S. Miller <davem@davemloft.net>
22523
ee0db190
DM
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22525 movxtod instead of popping the value on the stack.
22526
dee4a4e3
DM
22527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22528
6a43ec98
CD
225292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22530
22531 * config.h.in: Add HAVE_ARM_PCS_VFP.
22532
05c2c961
RMG
225332012-05-08 Roland Mc Grath <roland@hack.frob.com>
22534
bcfe3a54
ST
22535 [BZ #13979]
22536 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22537 checking but the checks are disabled for any reason.
05c2c961 22538
4b30f61a
L
225392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22540
22541 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22542 and ELF64_R_TYPE with ELFW(R_TYPE).
22543
eee2bc67
JM
225442012-05-08 Joseph Myers <joseph@codesourcery.com>
22545
7ea5391a
JM
22546 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22547 (ulimit): Likewise.
22548
eee2bc67
JM
22549 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22550 (settimeofday): Likewise.
22551
abb66a67
MF
225522012-05-08 Mike Frysinger <vapier@gentoo.org>
22553
22554 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22555 a struct th_u2 inside the union, and move tu_block/tu_code into
22556 a new th_u3 union of tu_block/tu_code inside of that. Move
22557 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22558 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22559 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22560 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22561 (th_stuff): Change to th_u1.tu_stuff.
22562 (th_data): Define.
22563 (th_msg): Change to th_u1.th_u2.tu_data.
22564
7f18b530
DM
225652012-05-07 David S. Miller <davem@davemloft.net>
22566
05760585
DM
22567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22568
7f18b530
DM
22569 [BZ #14074]
22570 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22571 (SETUP_PIC_REG): Use it.
22572 (SETUP_PIC_REG_LEAF): Use it.
22573
495fd99f
JM
225742012-05-07 Joseph Myers <joseph@codesourcery.com>
22575
22576 [BZ #13885]
22577 [BZ #13923]
22578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22579 USE_AS_EXPM1L.
22580 (EXPL_FINITE): Likewise.
22581 (FLDLOG): Likewise.
22582 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22583 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22584 e_expl.S.
22585 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22586 USE_AS_EXPM1L.
22587 (EXPL_FINITE): Likewise.
22588 (FLDLOG): Likewise.
22589 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22590 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22591 e_expl.S.
22592 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22593 test of -max_value argument for long double.
22594 * sysdeps/i386/fpu/libm-test-ulps: Update.
22595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22596
6693d694
DM
225972012-05-06 David S. Miller <davem@davemloft.net>
22598
22599 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22600 quad soft-float symbols whose references which are compiler
22601 generated.
22602 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22603
6c23e11c
JM
226042012-05-06 Joseph Myers <joseph@codesourcery.com>
22605
d8b82cad
JM
22606 [BZ #13884]
22607 [BZ #13914]
22608 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22609 USE_AS_EXP10L.
22610 (EXPL_FINITE): Likewise.
22611 (FLDLOG): Likewise.
22612 (c0): Likewise.
22613 (c1): Likewise.
22614 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22615 Adjust comments for base varying.
22616 (__expl_finite): Change alias to EXPL_FINITE.
22617 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22618 e_expl.S.
22619 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22620 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22622 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22623 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22624 USE_AS_EXP10L.
22625 (EXPL_FINITE): Likewise.
22626 (FLDLOG): Likewise.
22627 (c0): Likewise.
22628 (c1): Likewise.
22629 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22630 Adjust comments for base varying.
22631 (__expl_finite): Change alias to EXPL_FINITE.
22632 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22633 tests for bugs.
22634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22635
6c23e11c
JM
22636 [BZ #14064]
22637 * math/libm-test.inc (check_float_internal): Correct ulp
22638 calculation for subnormal expected results.
22639
29ba805c
AJ
226402012-05-06 Andreas Jaeger <aj@suse.de>
22641
22642 * Makeconfig (+math-flags): New, set to -frounding-math.
22643 (+cflags): Add +math-flags so that all of glibc gets compiled with
22644 it.
22645
22646 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22647
7b17aeda
JM
226482012-05-05 Joseph Myers <joseph@codesourcery.com>
22649
5779f134
JM
22650 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22651 Disable one test.
22652
41498f4d
JM
22653 [BZ #13787]
22654 [BZ #13922]
22655 [BZ #14036]
22656 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22657 (__ieee754_expl): Allow for and saturate large arguments.
22658 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22659 (u_threshold): Likewise.
22660 (__exp): Call __ieee754_exp before checking for overflow and
22661 underflow.
22662 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22663 (u_threshold): Likewise.
22664 (__expf): Call __ieee754_expf before checking for overflow and
22665 underflow.
22666 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22667 (u_threshold): Likewise.
22668 (__expl): Call __ieee754_expl before checking for overflow and
22669 underflow.
22670 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22671 (__ieee754_expl): Allow for and saturate large arguments.
22672 * math/libm-test.inc (exp_test): Add another test. Do not allow
22673 missing overflow exception on overflow.
22674 (expm1_test): Do not allow missing overflow exception on overflow.
22675
6698b8bf
JM
22676 * sysdeps/i386/fpu/e_expl.c: Move to ...
22677 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22678 rather than using inline asm.
22679 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22680 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22681 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22682
7b17aeda
JM
22683 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22684 (nice): Likewise.
22685 (poll): Likewise.
22686 (signal): Likewise.
22687 (time): Likewise.
22688 (times): Likewise.
22689
f7c85819
JM
226902012-05-04 Joseph Myers <joseph@codesourcery.com>
22691
22692 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22693 sysdeps/unix/common/syscalls.list.
22694 (fchmod): Likewise.
22695 (fchown): Likewise.
22696 (ftruncate): Likewise.
22697 (getrusage): Likewise.
22698 (gettimeofday): Likewise.
22699 (setpgid): Likewise.
22700 (setregid): Likewise.
22701 (setreuid): Likewise.
22702 (sigaction): Likewise.
22703 (truncate): Likewise.
22704 (vhangup): Likewise.
22705 * sysdeps/unix/common/syscalls.list: Remove file.
22706 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22707 * sysdeps/unix/sysv/linux/Implies: Likewise.
22708
336270d0
L
227092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22710
22711 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22713 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22714 Moved to ...
22715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22716 Here.
22717 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22718 to ...
22719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22720 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22721 to ...
22722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22723 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22724 to ...
22725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22726 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22727 to ...
22728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22729 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22730 to ...
22731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22732 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22733 to ...
22734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22735 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22736 to ...
22737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22738 Here.
22739 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22740 to ...
22741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22742 Here.
22743 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22744 to ...
22745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22746 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22747 Moved to ...
22748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22749 Here.
22750 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22751 to ...
22752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22753
d128e450
JM
227542012-05-04 Joseph Myers <joseph@codesourcery.com>
22755
fa8ee516
JM
22756 * sysdeps/unix/common/bits/dirent.h: Remove file.
22757 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22758
d128e450
JM
22759 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22760 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22761 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22762 * sysdeps/unix/bsd/isatty.c: Likewise.
22763 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22764 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22765 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22766
ff8faaf0 227672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22768
62881be4 22769 [BZ #13563]
31dc8730
AZ
22770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22771 long double comparison inaccuracies.
22772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22774
6fef930c
AS
227752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22776
22777 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22779
8f203e6c
JM
227802012-05-04 Joseph Myers <joseph@codesourcery.com>
22781
22782 [BZ #14049]
22783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22784 nonzero digits before rounding a hex value.
22785 * stdlib/tst-strtod.c (tests): Add another test.
22786
5197d9c2
AK
227872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22788
22789 * sysdeps/s390/fpu/libm-test-ulps: Update.
22790
f0c1dedf
AJ
227912012-05-03 Andreas Jaeger <aj@suse.de>
22792
22793 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22794 does not get optimized out.
22795 (malloc_opt_barrier): New.
22796
a65ef2ae 227972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22798 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22799
2b942cb7 22800 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22801 intermediate file deletion.
2b942cb7 22802 (generated): Add .symlist files.
a65ef2ae 22803
54b71e02
JM
228042012-05-03 Joseph Myers <joseph@codesourcery.com>
22805
22806 [BZ #13775]
22807 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22808 Redirect under this condition.
22809 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22810 [__USE_GNU] (__dprintf_chk): Not under this condition.
22811 [__USE_GNU] (__vdprintf_chk): Likewise.
22812 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22813 under this condition.
22814 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22815 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22816 [__USE_XOPEN2K8] (vdprintf): Likewise.
22817 [__USE_GNU] (__dprintf_chk): Not under this condition.
22818 [__USE_GNU] (__vdprintf_chk): Likewise.
22819 [__USE_GNU] (dprintf): Likewise.
22820 [__USE_GNU] (vdprintf): Likewise.
22821
d3dfcc41
RM
228222012-05-03 Roland McGrath <roland@hack.frob.com>
22823
22824 * elf/Makefile (common-generated): Set this instead of generated for
22825 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22826 $(all-built-dso)-derived lists.
22827
7ac30cc5
AJ
228282012-05-03 Andreas Jaeger <aj@suse.de>
22829
0c51e550
AJ
22830 * sysdeps/i386/fpu/libm-test-ulps: Update.
22831
7ac30cc5
AJ
22832 * FAQ: Removed.
22833 * FAQ.in: Likewise.
22834 * scripts/gen-FAQ.pl: Likewise.
22835 * manual/install.texi (Installation): Point to online location of
22836 FAQ.
22837 * Makefile (files-for-dist): Remove FAQ.
22838 (FAQ): Remove.
22839
d4c2917f
AM
228402012-05-02 Allan McRae <allan@archlinux.org>
22841
22842 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22843 (LDFLAGS-reldepmod5.so): Likewise.
22844 (LDFLAGS-reldep6mod1.so): Likewise.
22845 (LDFLAGS-reldep6mod4.so): Likewise.
22846 (LDFLAGS-reldep8mod3.so): Likewise.
22847 (LDFLAGS-unload4mod1.so): Likewise.
22848 (LDFLAGS-unload4mod2.so): Likewise.
22849 (LDFLAGS-tst-initorder): Likewise.
22850 (LDFLAGS-tst-initordera2.so): Likewise.
22851 (LDFLAGS-tst-initordera3.so): Likewise.
22852 (LDFLAGS-tst-initordera4.so): Likewise.
22853 (LDFLAGS-tst-initorderb2.so): Likewise.
22854 (LDFLAGS-noload): Likewise.
22855 (LDFLAGS-next): Likewise.
22856 (LDFLAGS-order2mod1.so): Likewise.
22857 (LDFLAGS-order2mod2.so): Likewise.
22858 (LDFLAGS-tst-initorder2): Likewise.
22859 (LDFLAGS-tst-initorder2a.so): Likewise.
22860 (LDFLAGS-tst-initorder2b.so): Likewise.
22861 (LDFLAGS-tst-initorder2c.so): Likewise.
22862 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22863
d77f993f
DM
228642012-05-02 David S. Miller <davem@davemloft.net>
22865
22866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22867
171a70b4
PP
228682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22869
22870 [BZ #14055]
22871 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22872
0be196ad
AJ
228732012-05-02 Andreas Jaeger <aj@suse.de>
22874
22875 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22876 since we manipulate rounding mode.
22877 (CPPFLAGS-test-idouble.c): Likewise.
22878 (CPPFLAGS-test-ifloat.c): Likewise.
22879 (CFLAGS-test-ldouble.c): Likewise.
22880 (CFLAGS-test-double.c): Likewise.
22881 (CFLAGS-test-float.c): Likewise.
22882 (CFLAGS-test-misc.c): Likewise.
22883 (CFLAGS-test-test-fenv.c): Likewise.
22884
4f9d04aa
AZ
228852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22886
2b942cb7
RM
22887 [BZ #2550]
22888 [BZ #2570]
22889 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22890 comparisons to determine direction to adjust input.
4f9d04aa 22891
82a79e7d
RM
228922012-05-01 Roland McGrath <roland@hack.frob.com>
22893
f5a01ca9
RM
22894 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22895 output to the target.
22896
90fe4186
RM
22897 * scripts/localplt.awk: New file.
22898 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22899 (check-localplt-CFLAGS): Variable removed.
22900 ($(all-built-dso:=.jmprel)): New static pattern rule.
22901 (generated): Add those targets.
22902 (localplt-built-dso): New variable.
22903 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22904
22905 * elf/check-localplt.c: File removed.
22906
82397ed6
RM
22907 * scripts/check-execstack.awk: New file.
22908 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22909 (check-execstack-CFLAGS): Variable removed.
22910 ($(objpfx)check-execstack.h): Target removed.
22911 ($(objpfx)execstack-default): New target.
22912 (generated): Add that instead of check-execstack.h.
22913 ($(all-built-dso:=.phdr)): New static pattern rule.
22914 (generated): Add those targets.
22915 * elf/check-execstack.c: File removed.
22916
82a79e7d
RM
22917 * scripts/check-textrel.awk: New file.
22918 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22919 (check-textrel-CFLAGS): Variable removed.
22920 (all-built-dso): Use := to define.o
22921 ($(all-built-dso:=.dyn)): New static pattern rule.
22922 (generated): Add those targets.
22923 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22924 * config.make.in (READELF): New substituted variable.
22925 * elf/check-textrel.c: File removed.
22926
62fde54f 229272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22928
615605c9
JM
22929 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22930 allow.
22931 * conform/data/ctype.h-data [C99-based standards] (isblank):
22932 Expect function.
22933 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22934 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22935 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22936 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22937 Specify type. Require positive value.
22938 (EILSEQ): Likewise.
22939 (ERANGE): Likewise.
22940 [ISO || POSIX] (EILSEQ): Do not expect.
22941 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22942 Specify type. Require positive value.
22943 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22975 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22976 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22977 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22978 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22979 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22980 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22982 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22983 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22984 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22985 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22986 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22992 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22999 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23000 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23001 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23002 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23005 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23011 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23012 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23013 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23014 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23015 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23016 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23017 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23018 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23019 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23020 Require >= 2.
23021 (FLT_ROUNDS): Expect as macro, not constant.
23022 (FLT_MANT_DIG): Use macro-int-constant.
23023 (DBL_MANT_DIG): Likewise.
23024 (LDBL_MANT_DIG): Likewise.
23025 (FLT_DIG): Likewise.
23026 (DBL_DIG): Likewise.
23027 (LDBL_DIG): Likewise.
23028 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23029 (DBL_MIN_EXP): Likewise.
23030 (LDBL_MIN_EXP): Likewise.
23031 (FLT_MAX_EXP): Use macro-int-constant.
23032 (DBL_MAX_EXP): Likewise.
23033 (LDBL_MAX_EXP): Likewise.
23034 (FLT_MAX_10_EXP): Likewise.
23035 (DBL_MAX_10_EXP): Likewise.
23036 (LDBL_MAX_10_EXP): Likewise.
23037 (FLT_MAX): Use macro-constant.
23038 (DBL_MAX): Likewise.
23039 (LDBL_MAX): Likewise.
23040 (FLT_EPSILON): Use macro-constant. Give upper bound.
23041 (DBL_EPSILON): Likewise.
23042 (LDBL_EPSILON): Likewise.
23043 (FLT_MIN): Likewise.
23044 (DBL_MIN): Likewise.
23045 (LDBL_MIN): Likewise.
23046 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23047 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23048 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23049 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23050 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23051 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23052 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23053 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23054 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23055 [ISO11] (FLT_TRUE_MIN): Likewise.
23056 [ISO11] (LDBL_TRUE_MIN): Likewise.
23057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23058 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23059 (SCHAR_MIN): Use macro-int-constant. Specify type.
23060 (SCHAR_MAX): Likewise.
23061 (UCHAR_MAX): Likewise.
23062 (CHAR_MIN): Likewise.
23063 (CHAR_MAX): Likewise.
23064 (MB_LEN_MAX): Use macro-int-constant.
23065 (SHRT_MIN): Use macro-int-constant. Specify type.
23066 (SHRT_MAX): Likewise.
23067 (USHRT_MAX): Likewise.
23068 (INT_MAX): Likewise.
23069 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23070 bound negative.
23071 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23072 bound with "U".
23073 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23074 bound with "L".
23075 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23076 bound negative. Suffix upper bound with "L".
23077 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23078 bound with "UL".
23079 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23080 Specify type.
23081 [C99-based standards] (LLONG_MAX): Likewise.
23082 [C99-based standards] (ULLONG_MAX): Likewise.
23083 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23084 == 0.
23085 [ISO11] (max_align_t): Require type.
23086 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23087
c9140a62
JM
23088 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23089 from $CFLAGS, without defining away __attribute__ calls.
23090 (checknamespace): Use $CFLAGS_namespace.
23091
9af0bf29
JM
23092 * conform/conformtest.pl (@keywords): Only include C99 keywords
23093 for standards based on C99 or C11.
23094
343222a2
JM
23095 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23096 Disable tests.
23097 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23098 UNIX98]: Likewise.
23099
661f8cf0
JM
23100 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23101 usability of symbols in #if.
23102
ee74b9cb
JM
23103 * conform/conformtest.pl: If macro or constant types start
23104 "promoted:", expect the symbol to be of the following type
23105 promoted by the integer promotions.
62fde54f 23106
aafc49b3
JM
23107 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23108 in one place. Also handle "macro-constant".
23109
fefdf574
JM
23110 * conform/conformtest.pl: Only accept expected macro values with
23111 "==". Parse all "macro" lines in one place.
23112 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23113
f2d922fe
JM
23114 * conform/conformtest.pl: Handle braced types on "constant" lines
23115 instead of handling "typed-constant".
23116 * conform/data/signal.h-data: Use "constant" instead of
23117 "typed-constant".
23118
d22956c9
JM
23119 * conform/conformtest.pl: Handle "optional-" at start of lines in
23120 one place rather than duplicating several cases. Handle each
23121 format of "macro" line with initial "optional-".
23122
028e2e38
JM
23123 * conform/conformtest.pl: Only accept expected constant or
23124 optional-constant values with "==". Parse all "constant" lines in
23125 one place. Parse all "optional-constant" lines in one place.
23126 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23127 * conform/data/fmtmsg.h-data: Likewise.
23128 * conform/data/netinet/in.h-data: Likewise.
23129 * conform/data/tar.h-data: Likewise.
23130 * conform/data/limits.h-data: Use "==" form on "constant" and
23131 "optional-constant" lines.
23132
1b8f2850
JM
23133 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23134 Use -std=c99 for XOPEN2K.
23135 (@knownproblems): Remove.
23136 (newtoken): Don't check %isknown.
23137
a05a144b
JM
23138 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23139 Do not expect macro.
23140 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23146 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23147 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23149 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23150 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23151 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23152 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23153 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23154 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23155 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23156 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23157 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23160 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23161 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23164 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23165 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23166 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23167 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23168 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23169 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23170 [XPG3] (acosh): Likewise.
23171 [XPG3] (asinh): Likewise.
23172 [XPG3] (atanh): Likewise.
23173 [XPG3] (cbrt): Likewise.
23174 [XPG3] (expm1): Likewise.
23175 [XPG3] (ilogb): Likewise.
23176 [XPG3] (log1p): Likewise.
23177 [XPG3] (logb): Likewise.
23178 [XPG3] (nextafter): Likewise.
23179 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23180 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23181 [XPG3] (remainder): Likewise.
23182 [XPG3] (rint): Likewise.
23183 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23184 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23185 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23186 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23189 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23190 [UNIX98 || XOPEN2K] (scalb): Expect.
23191 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23192 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23195 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23196 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23214 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23215 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23216 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23217 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23219 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23220 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23221 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23322 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23328
73c5ebe3
JM
23329 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23330 _XOPEN_SOURCE_EXTENDED for XPG4.
23331
39c33b6c
JM
23332 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23333
62fde54f
JM
23334 * Makeconfig (localtime): Remove variable.
23335 (inst_localtime-file): Likewise.
23336
0741d64c
AS
233372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23338
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23340 Update.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23342 Update.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23344 Update.
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23346 Update.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23348 Update.
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23350 Update.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23352 Update.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23354 Update.
23355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23356 Update.
23357
7cb029ee
JM
233582012-05-01 Joseph Myers <joseph@codesourcery.com>
23359
23360 [BZ #2550]
23361 [BZ #2570]
23362 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23363 comparisons to determine direction to adjust input.
23364 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23365 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23366 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23367 Likewise.
23368 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23369 Likewise.
23370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23371 Likewise.
23372 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23373 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23374 Likewise.
23375 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23376 Likewise.
23377 * math/libm-test.inc (nexttoward_test): Add more tests.
23378
412bd966
AS
233792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23380
23381 [BZ #14040]
23382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23383 in version GLIBC_2.1, not GLIBC_2.0.
23384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23385 Likewise.
23386
9568c0c2
JM
233872012-04-30 Joseph Myers <joseph@codesourcery.com>
23388
adfbc8ac
JM
23389 [BZ #13942]
23390 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23391 (1 - x) * (1 + x).
23392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23393 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23394 * math/libm-test.inc (acos_test): Add more tests.
23395 (asin_test): Likewise.
23396 * sysdeps/i386/fpu/libm-test-ulps: Update.
23397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23398
5ba3cc69
JM
23399 [BZ #14034]
23400 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23401 of square root.
23402 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23403 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23404 * math/libm-test.inc (acos_test_tonearest): New function.
23405 (acos_test_towardzero): Likewise.
23406 (acos_test_downward): Likewise.
23407 (acos_test_upward): Likewise.
23408 (asin_test_tonearest): Likewise.
23409 (asin_test_towardzero): Likewise.
23410 (asin_test_downward): Likewise.
23411 (asin_test_upward): Likewise.
23412 (main): Call the new functions.
23413 * sysdeps/i386/fpu/libm-test-ulps: Update.
23414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23415
9568c0c2
JM
23416 [BZ #13884]
23417 [BZ #13924]
23418 * math/e_exp10.c: Include <float.h>.
23419 (__ieee754_exp10): Handle underflow here rather than multiplying
23420 large negative argument by M_LN10.
23421 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23422 of __ieee754_expf.
23423 * math/e_exp10l.c: Include <float.h>.
23424 (__ieee754_exp10l): Handle underflow here rather than multiplying
23425 large negative argument by M_LN10l.
23426 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23427 spurious overflow exception on underflow.
23428
5ac3ea17
MP
234292012-04-29 Marek Polacek <polacek@redhat.com>
23430
23431 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23432 (__fortify_function): New macro.
23433 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23434 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23435 __extern_always_inline.
23436 * libio/bits/stdio2.h: Likewise.
23437 * libio/bits/stdio.h: Likewise.
23438 * string/string.h: Likewise.
23439 * string/bits/string3.h: Likewise.
23440 * include/stdio.h: Likewise.
23441 * stdlib/bits/stdlib.h: Likewise.
23442 * stdlib/stdlib.h: Likewise.
23443 * rt/bits/mqueue2.h: Likewise.
23444 * rt/mqueue.h: Likewise.
23445 * posix/bits/unistd.h: Likewise.
23446 * posix/unistd.h: Likewise.
23447 * io/bits/poll2.h: Likewise.
23448 * io/bits/fcntl2.h: Likewise.
23449 * io/fcntl.h: Likewise.
23450 * io/sys/poll.h: Likewise.
23451 * misc/bits/syslog.h: Likewise.
23452 * misc/bits/syslog-ldbl.h: Likewise.
23453 * misc/sys/syslog.h: Likewise.
23454 * socket/bits/socket2.h: Likewise.
23455 * socket/sys/socket.h: Likewise.
23456 * debug/tst-chk1.c: Likewise.
23457 * wcsmbs/bits/wchar2.h: Likewise.
23458 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23459 * wcsmbs/wchar.h: Likewise.
23460
ecf0ebfb
AJ
234612012-04-29 Andreas Jaeger <aj@suse.de>
23462
23463 * Makerules (tests): Remove enable-check-abi protection.
23464 (check-abi-warn): Remove.
23465 (check-abi-%): Remove check-abi-warn usage.
23466
23467 * configure.in: Remove check-abi configure option.
23468 * configure: Regenerated.
23469 * config.make.in (enable-check-abi): Remove.
23470
6d5c57fa
AS
234712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23472
24c5d07e 23473 [BZ #14033]
ded5180a
AS
23474 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23475 double functions to double *_finite functions.
23476
7e0d315d
AS
23477 [BZ #13941]
23478 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23479 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23480 LDBL_MIN_EXP.
23481 * stdio-common/Makefile (tests): Add tst-sprintf3.
23482 * stdio-common/tst-sprintf3.c: New file.
23483
6d5c57fa
AS
23484 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23485 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23486
0749ff8b
JM
234872012-04-28 Joseph Myers <joseph@codesourcery.com>
23488
23489 * conform/conformtest.pl: Remove duplicate typed-constant
23490 handling.
23491
8dbd5d7b
DM
234922012-04-28 David S. Miller <davem@davemloft.net>
23493
23494 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23495 (check-abi-%): Remove AWK script prerequisite and explicit
23496 abilist directory.
23497 (check-abi): Rewrite to just diff the symlist with the abilist.
23498 (config-tls, config-abi-config): Delete, no longer used.
23499 (update-abi-%): Remove AWK script and explicit abilist directory.
23500 (update-abi): Rewrite to simply compare and conditionally copy the
23501 symlist and the sysdep abilist file. Remove update-abi-config
23502 checks.
23503 * abilist/ld.abilist: Remove.
23504 * abilist/libBrokenLocale.abilist: Remove.
23505 * abilist/libanl.abilist: Remove.
23506 * abilist/libcrypt.abilist: Remove.
23507 * abilist/libdl.abilist: Remove.
23508 * abilist/librt.abilist: Remove.
23509 * abilist/libthread_db.abilist: Remove.
23510 * abilist/libutil.abilist: Remove.
23511 * scripts/extract-abilist.awk: Remove.
23512 * scripts/merge-abilist.awk: Remove.
23513 * sysdeps/generic/libcidn.abilist: New file.
23514 * sysdeps/generic/libnss_compat.abilist: New file.
23515 * sysdeps/generic/libnss_db.abilist: New file.
23516 * sysdeps/generic/libnss_dns.abilist: New file.
23517 * sysdeps/generic/libnss_files.abilist: New file.
23518 * sysdeps/generic/libnss_hesiod.abilist: New file.
23519 * sysdeps/generic/libnss_nis.abilist: New file.
23520 * sysdeps/generic/libnss_nisplus.abilist: New file.
23521 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23522 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23523 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23524 file.
23525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23526 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23527 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23528 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23529 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23530 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23531 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23532 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23533 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23534 file.
23535 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23536 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23537 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23538 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23539 file.
23540 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23541 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23542 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23543 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23544 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23545 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23546 file.
23547 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23548 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23549 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23550 file.
23551 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23553 New file.
23554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23555 New file.
23556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23557 New file.
23558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23559 New file.
23560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23561 New file.
23562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23563 New file.
23564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23565 New file.
23566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23567 New file.
23568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23569 New file.
23570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23571 New file.
23572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23573 New file.
23574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23575 New file.
23576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23577 New file.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23579 file.
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23581 New file.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23583 New file.
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23585 file.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23587 New file.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23589 New file.
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23591 file.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23593 New file.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23595 New file.
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23597 New file.
23598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23599 New file.
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23601 New file.
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23603 New file.
23604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23606 file.
23607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23608 New file.
23609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23610 file.
23611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23612 file.
23613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23614 file.
23615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23616 file.
23617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23618 file.
23619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23620 New file.
23621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23622 file.
23623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23624 file.
23625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23626 New file.
23627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23628 file.
23629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23631 file.
23632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23633 New file.
23634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23635 file.
23636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23637 file.
23638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23639 file.
23640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23641 file.
23642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23643 file.
23644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23645 New file.
23646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23647 file.
23648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23649 file.
23650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23651 New file.
23652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23653 file.
23654 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23655 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23656 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23657 file.
23658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23659 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23660 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23661 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23662 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23663 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23664 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23665 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23666 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23667 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23670 file.
23671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23672 New file.
23673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23674 file.
23675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23676 file.
23677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23678 file.
23679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23680 file.
23681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23682 file.
23683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23684 New file.
23685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23686 New file.
23687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23688 file.
23689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23690 New file.
23691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23692 file.
23693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23695 file.
23696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23697 New file.
23698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23699 file.
23700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23701 file.
23702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23703 file.
23704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23705 file.
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23707 file.
23708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23709 New file.
23710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23711 New file.
23712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23713 file.
23714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23715 New file.
23716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23717 file.
23718
41d73a1b
JM
237192012-04-28 Joseph Myers <joseph@codesourcery.com>
23720
23721 * conform/conformtest.pl: Fix typo in handling typed-constant from
23722 allow-header.
23723
28aeeda4
JM
237242012-04-27 Joseph Myers <joseph@codesourcery.com>
23725
adae8f5e
JM
23726 * README: Cut down references to pre-2.6 Linux kernels and
23727 Linuxthreads. Update lists of configurations in libc and ports
23728 and sort alphabetically. Say "or newer" with Linux kernel version
23729 requirements.
23730
28aeeda4
JM
23731 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23732
a462cb63
RA
237332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23734
23735 [BZ #887]
23736 * math/libm-test.inc (logb_test_downward): New test to expose
23737 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23738 rounding mode.
23739
6ad3493e
JM
237402012-04-27 Joseph Myers <joseph@codesourcery.com>
23741
23742 [BZ #14027]
23743 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23744 to be done.
23745 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23746 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23747
2ce4f015
JM
237482012-04-26 Joseph Myers <joseph@codesourcery.com>
23749
5aeb141a
JM
23750 * sysdeps/unix/i386/brk.S: Remove file.
23751 * sysdeps/unix/i386/dl-brk.S: Likewise.
23752 * sysdeps/unix/i386/pipe.S: Likewise.
23753 * sysdeps/unix/i386/sigreturn.S: Likewise.
23754 * sysdeps/unix/i386/syscall.S: Likewise.
23755 * sysdeps/unix/i386/vfork.S: Likewise.
23756 * sysdeps/unix/i386/wait.S: Likewise.
23757
7143acae
JM
23758 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23759 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23760
2ce4f015
JM
23761 * configure.in (arm*-none*): Do not allow without
23762 --enable-hacker-mode.
23763 (netbsd*): Remove case setting base_os.
23764 (386bsd*): Likewise.
23765 (freebsd*): Likewise.
23766 (bsdi*): Likewise.
23767 (osf*): Likewise.
23768 (sunos*): Likewise.
23769 (ultrix*): Likewise.
23770 (newsos*): Likewise.
23771 (dynix*): Likewise.
23772 (*bsd*): Likewise.
23773 (sysv*): Likewise.
23774 (isc*): Likewise.
23775 (esix*): Likewise.
23776 (sco*): Likewise.
23777 (minix*): Likewise.
23778 (irix4*): Likewise.
23779 (irix6*): Likewise.
23780 (solaris[2-9]*): Likewise.
23781 (none): Likewise.
23782 * configure: Regenerated.
23783
0ac229c8
AZ
237842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23785
23786 [BZ #11521]
23787 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23788 overflow or cancellation in calculating denominator.
23789 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23791 down expression to avoid unexpected rounding in newer GCCs.
23792 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23793
33f244f4
DM
237942012-04-26 David S. Miller <davem@davemloft.net>
23795
23796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23797 long-double compat symbols.
23798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23811
cfa1f3e8
DM
238122012-04-25 David S. Miller <davem@davemloft.net>
23813
23814 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23815 HWCAP_* values only after the memory barriers have been defined.
23816 (atomic_full_barrier): Define.
23817 (atomic_read_barrier): Define.
23818 (atomic_write_barrier): Define.
23819
6e236b92
SP
238202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23821
23822 * shlib-versions: Add libgcc_s version information.
23823 * sysdeps/generic/libgcc_s.h: Remove.
23824 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23825 libgcc_s.h.
23826 * sysdeps/gnu/unwind-resume.c: Likewise.
23827 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23828
aab39a09
DM
238292012-04-25 David S. Miller <davem@davemloft.net>
23830
23831 * sysdeps/unix/sparc/brk.S: Delete.
23832 * sysdeps/unix/sparc/dl-brk.S: Delete.
23833 * sysdeps/unix/sparc/pipe.S: Delete.
23834 * sysdeps/unix/sparc/sysdep.S: Delete.
23835 * sysdeps/unix/sparc/sysdep.h: Delete.
23836 * sysdeps/unix/sparc/vfork.S: Delete.
23837 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23838 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23839 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23840 ret_ERRVAL, r0, r1, MOVE): Define.
23841 (JUMPTARGET): Remove.
23842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23843 sysdeps/unix/sparc/sysdep.h
23844 (ENTRY, END): Remove.
23845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23846
a3cc4f48
JM
238472012-04-25 Joseph Myers <joseph@codesourcery.com>
23848
2ed8cda2
JM
23849 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23850 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23851 -DIS_IN_build.
23852
35d76d59
JM
23853 * timezone/README: Update upstream location and email address for
23854 tzcode and tzdata.
23855 * timezone/zdump.c: Update from tzcode 2012b.
23856 * timezone/zic.c: Likewise.
23857
a3cc4f48
JM
23858 * configure.in (libc_cv_as_needed): Remove test.
23859 * configure: Regenerated.
23860 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23861 conditional definition.
23862 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23863 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23864 * config.make.in (have-as-needed): Remove variable.
23865
ceab42c3
SP
238662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23867 Paul Pluzhnikov <ppluzhnikov@google.com>
23868
23869 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23870 strings correctly.
23871
3ce2865f
CLT
238722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23873
23874 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23875 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23876 * sysdeps/sh/strlen.S: Likewise.
23877
f37e0d68
JM
238782012-04-24 Joseph Myers <joseph@codesourcery.com>
23879
ae186e9a
JM
23880 * sysdeps/unix/fork.S: Remove file.
23881 * sysdeps/unix/i386/fork.S: Likewise.
23882 * sysdeps/unix/sparc/fork.S: Likewise.
23883
b96914af
JM
23884 * sysdeps/unix/system.c: Remove file.
23885 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23886
f37e0d68
JM
23887 * sysdeps/unix/getegid.S: Remove file.
23888 * sysdeps/unix/geteuid.S: Likewise.
23889
87ef29ca
RM
238902012-04-24 Roland McGrath <roland@hack.frob.com>
23891
83bcd236
RM
23892 * scripts/check-localplt.awk: New file.
23893 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23894 of diff.
23895 * scripts/data/localplt-generic.data: Add a comment.
23896
87ef29ca
RM
23897 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23898 NODE when __dir_mkfile failed.
23899 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23900 Reported by Ludovic Courtès <ludo@gnu.org>.
23901
e5a6e567
AJ
239022012-04-24 Andreas Jaeger <aj@suse.de>
23903
23904 * Makerules (common-clean): Also remove gen-as-const-headers
23905 files.
23906
c1820385
JM
239072012-04-24 Joseph Myers <joseph@codesourcery.com>
23908
23909 * Makerules (native-compile): Do not change working directory for
23910 build. Use $(OUTPUT_OPTION) in command.
23911 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23912
94e02fc4
AZ
239132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23914
23915 [BZ #13886]
23916 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23917 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23918 * math/libm-test.inc (floor_test): Add more tests.
23919 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23920
3a533ca3
JM
239212012-04-24 Joseph Myers <joseph@codesourcery.com>
23922
940ab4b3
JM
23923 * sysdeps/unix/getdents.c: Remove file.
23924 * sysdeps/unix/sysv/getdents.c: Likewise.
23925 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23926
90e037bd
JM
23927 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23928 sysdeps/unix/mman/syscalls.list.
23929 (mmap): Likewise.
23930 (mprotect): Likewise.
23931 (msync): Likewise.
23932 (munmap): Likewise.
23933 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23934 * sysdeps/unix/mman/syscalls.list: Remove.
23935 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23936
3a533ca3
JM
23937 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23938 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23939 * configure: Regenerated.
23940 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23941 $(libgcc_s_suffix).
23942 * config.make.in (libgcc_s_suffix): Remove variable.
23943
1ad743de
JM
239442012-04-23 Joseph Myers <joseph@codesourcery.com>
23945
4ad451e2
JM
23946 * sysdeps/unix/sysv/gethostname.c: Move to ...
23947 * sysdeps/posix/gethostname.c: ... here.
23948
5e37ce39
JM
23949 * sysdeps/unix/execve.S: Remove file.
23950
1ad743de
JM
23951 * sysdeps/unix/_exit.S: Remove file.
23952
4e681b5b
AJ
239532012-04-23 Andreas Jaeger <aj@suse.de>
23954
23955 [BZ #13739]
23956 * manual/Makefile: Remove make dist support, there's no
23957 need for a stand-alone documentation tar ball.
23958 (TEXI2DVI): Define always, it's not in Makeconfig.
23959 (dist): Removed.
23960 (tar-it): Removed.
23961 (edition): Removed.
23962 (glibc-doc-$(edition).tar): Removed
23963 (%.Z): Removed.
23964 (%.gz): Removed.
23965 (%.uu): Removed.
23966 (ETAGS): Remove, it's in Makeconfig.
23967 (move-if-change): Remove, it's in Makeconfig.
23968
38686a03 239692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23970
23971 [BZ #13970]
23972 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23973 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23974 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23975 (strtod_l, strtof_l, strtold_l): Remove __wur.
23976 It is not necessarily an error to ignore strtol's return value.
23977 One can reliably look at the stored endptr to decide whether
23978 the number had valid syntax.
23979
7c0616fa
AJ
239802012-04-21 Andreas Jaeger <aj@suse.de>
23981
803cb6b7 23982 [BZ #13739]
7c0616fa
AJ
23983 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23984
b0fe253f
JM
239852012-04-21 Joseph Myers <joseph@codesourcery.com>
23986
23987 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23988 * sysdeps/unix/sysv/Versions: Remove file.
23989
8280f22d
MT
239902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23991
23992 [BZ #13927]
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23994
75ce411f 239952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23996
23997 [BZ #7064]
23998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23999 version from __vm86.
24000
097d59fa
JM
240012012-04-20 Joseph Myers <joseph@codesourcery.com>
24002
a90f3bcb
JM
24003 * sysdeps/unix/common/lxstat.c: Remove file.
24004 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24005
edc7ea78
JM
24006 * sysdeps/unix/sysv/Makefile: Remove file.
24007
cb78c221
JM
24008 * sysdeps/unix/sysv/direct.h: Remove file.
24009
efa6a45f
JM
24010 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24011 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24012 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24013 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24014 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24015 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24016 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24017
9c9f2d0c
JM
24018 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24019
4541c83b
JM
24020 * sysdeps/unix/xmknod.c: Remove file.
24021 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24022
f5d153a0
JM
24023 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24024
aa746595
JM
24025 * sysdeps/unix/sysv/i386/time.S: Remove file.
24026
cce5905e
JM
24027 * sysdeps/unix/fxstat.c: Remove file.
24028 * sysdeps/unix/xstat.c: Likewise.
24029 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24030
37fa3841
JM
24031 * sysdeps/unix/sysv/sigaction.c: Remove file.
24032
ff1962a3
JM
24033 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24034 (sysdep_headers): Remove variable.
24035 [termio.h not in sysdep_headers] (generated): Likewise.
24036 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24037 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24038 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24039 * sysdeps/unix/sysv/tcflow.c: Likewise.
24040 * sysdeps/unix/sysv/tcflush.c: Likewise.
24041 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24042 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24043 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24044 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24045 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24046
e7740d31
JM
24047 * sysdeps/unix/siglist.c: Remove file.
24048
ee06f18b
JM
24049 * sysdeps/unix/getppid.S: Remove file.
24050
097d59fa
JM
24051 * sysdeps/unix/mkdir.c: Remove file.
24052 * sysdeps/unix/rmdir.c: Likewise.
24053
ff3d51ec
AS
240542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24055
24056 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24057 ERR_MAX value.
24058 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24059 errlist-compat value.
24060
50f81fd7
DM
240612012-04-18 David S. Miller <davem@davemloft.net>
24062
24063 * sysdeps/generic/memcopy.h (reg_char): Delete.
24064 * debug/strcat_chk.c: Use char, not reg_char.
24065 * debug/strcpy_chk.c: Likewise.
24066 * debug/strncat_chk.c: Likewise.
24067 * debug/strncpy_chk.c: Likewise.
24068 * string/memchr.c: Likewise.
24069 * string/memrchr.c: Likewise.
24070 * string/rawmemchr.c: Likewise.
24071 * string/strcat.c: Likewise.
24072 * string/strchr.c: Likewise.
24073 * string/strchrnul.c: Likewise.
24074 * string/strcmp.c: Likewise.
24075 * string/strcpy.c: Likewise.
24076 * string/strncat.c: Likewise.
24077 * string/strncmp.c: Likewise.
24078 * string/strncpy.c: Likewise.
24079
8ff41c46
WS
240802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24081
24082 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24083 __builtin_memcopy is called when src and dest ranges are known to not
24084 overlap.
24085
6b652f46
WS
240862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24087
24088 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24089 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24090 fwd_align_merge macro call.
24091 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24092 bwd_align_merge macro call.
24093 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24094
b282631e
WS
240952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24096
24097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24098 bwd_align_merge macros.
24099 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24100 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24101 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24102
95aa737c
DM
241032012-04-18 David S. Miller <davem@davemloft.net>
24104
24105 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24106
7a99a614
AJ
241072012-04-18 Andreas Jaeger <aj@suse.de>
24108
24109 [BZ# 6794]
24110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24112 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24113
24114 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24115 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24116 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24117
24118 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24119 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24120 Adjust for changed ldbl-128 files.
24121
24122 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24123 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24124 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24125
e5270c23
DM
241262012-04-17 David S. Miller <davem@davemloft.net>
24127
24128 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24129
fb5e92c9
AS
241302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24131
24132 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24133 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24134 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24135 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24136 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24137 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24138
76da7265
AZ
241392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24140
24141 [BZ #6794]
24142 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24143 * math/libm-test.inc: Add ilogb errno and exception tests.
24144 * math/w_ilogb.c: New file: ilogb wrapper.
24145 * math/w_ilogbf.c: New file: ilogbf wrapper.
24146 * math/w_ilogbl.c: New file: ilogbl wrapper.
24147 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24148 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24149 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24150 exception being thrown with 0.0 as argument.
24151 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24152 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24153 exception being thrown with 0.0 as argument.
24154 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24155 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24156 exception being thrown with 0.0 as argument.
24157 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24158 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24159 exception being thrown with 0.0 as argument.
24160 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24161 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24162 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24163 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24164 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24165 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24166 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24167 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24168 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24169
0396e69d
PB
241702012-04-17 Petr Baudis <pasky@ucw.cz>
24171
24172 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24173 with altivec.
24174
750b5926
MP
241752012-04-16 Marek Polacek <polacek@redhat.com>
24176
24177 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24178
751728a1
MP
241792012-04-16 Marek Polacek <polacek@redhat.com>
24180
24181 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24182 operands of fdivp instruction.
24183
34a27407
L
241842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24185
24186 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24187 * elf/tst-auditmod3b.c: Likewise.
24188 * elf/tst-auditmod4b.c: Likewise.
24189 * elf/tst-auditmod5b.c: Likewise.
24190 * elf/tst-auditmod6b.c: Likewise.
24191 * elf/tst-auditmod6c.c: Likewise.
24192 * elf/tst-auditmod7b.c: Likewise.
24193 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24194 * sysdeps/x86_64/preconfigure.in: Likewise.
24195 * sysdeps/x86_64/preconfigure: Regenerated.
24196
7e73e17d
L
241972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24200 __ILP32__.
24201
c7a6ab72
AB
242022012-04-13 Antoine Balestrat <merkil33@gmail.com>
24203
24204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24205 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24206
a9e8e0e0
CL
242072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24208
24209 [BZ #13973]
24210 * locale/iso-639.def: Fix gl language name. Spotted by
24211 Yaron Shahrabani.
24212
ec98af7d
RM
242132012-04-12 Roland McGrath <roland@hack.frob.com>
24214
24215 [BZ #2074]
24216 * libio/libio.h (__io_write_fn): Update comment.
24217
247c3ede
PB
242182012-04-12 Petr Baudis <pasky@ucw.cz>
24219
24220 [BZ #2074]
24221 * stdio.texi (Hook Functions): The user provided writer function
24222 is not allowed to return -1.
24223
55939d6d
DM
242242012-04-11 David S. Miller <davem@davemloft.net>
24225
24226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24227
90020f5a
MF
242282012-04-11 Mike Frysinger <vapier@gentoo.org>
24229
24230 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24231 Add a leading slash to rtkaio.
24232
288f9098
JM
242332012-04-11 Jim Meyering <meyering@redhat.com>
24234
90020f5a
MF
24235 [BZ #11959]
24236 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24237 It is not necessarily an error to ignore fwrite's return
24238 value. One can reliably use ferror to test for errors after
24239 the fact.
288f9098 24240
4be2b570
L
242412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 * bits/types.h (__snseconds_t): New type.
24244 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24245
24246 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24248 (__SNSECONDS_T_TYPE): Likewise.
24249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24250 (__SNSECONDS_T_TYPE): Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24252 (__SNSECONDS_T_TYPE): Likewise.
24253
288f9098 242542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24255
24256 [BZ #2636]
24257 * manual/time.texi (Processor Time): Return type of times is
24258 elapsed real time since an arbitrary point in the past.
24259 (CPU Time): Move CLK_TCK from here...
24260 (Processor Time): ...to here. Correct description.
24261 * manual/conf.texi (Constants for Sysconf): Correct description of
24262 _SC_CLK_TCK.
24263
d7dd4413
DM
242642012-04-10 David S. Miller <davem@davemloft.net>
24265
24266 [BZ #13967]
24267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24268 where the is a gap between DT_REL(A) and DT_JMPREL.
24269
b46068fc
L
242702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24271
24272 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24273 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24274 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24275
73d65cc3
SP
242762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24277
24278 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24279 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24280 (dl_main): Handle --inhibit-cache.
24281 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24282 _dl_inhibit_cache.
24283 * elf/dl-load.c (_dl_map_object): Use it.
24284 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24285
bcc8d661
JM
242862012-04-09 Joseph Myers <joseph@codesourcery.com>
24287
8f9a2fae
JM
24288 [BZ #13872]
24289 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24290 (__ieee754_powl): Saturate large exponents rather than testing for
24291 overflow of y*log2(x).
24292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24293 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24294 exceptions.
24295
bcc8d661
JM
24296 [BZ #11521]
24297 * math/s_ctan.c: Include <float.h>.
24298 (__ctan): Avoid internal overflow or cancellation in calculating
24299 denominator.
24300 * math/s_ctanf.c: Likewise.
24301 * math/s_ctanl.c: Likewise.
24302 * math/s_ctanh.c: Likewise.
24303 * math/s_ctanhf.c: Likewise.
24304 * math/s_ctanhl.c: Likewise.
24305 * math/libm-test.inc (ctan_test): Add more tests.
24306 (ctanh_test): Likewise.
24307 * sysdeps/i386/fpu/libm-test-ulps: Update.
24308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24309
823fbbb4
AJ
243102012-04-09 Andreas Jaeger <aj@suse.de>
24311
03879793
AJ
24312 [BZ #6894]
24313 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24314 is an optional BSD extension.
24315
823fbbb4
AJ
24316 [BZ #10254]
24317 * manual/stdio.texi (Opening Streams): Document additional fopen
24318 parameters.
24319
8de131cb
RM
243202012-04-09 Roland McGrath <roland@hack.frob.com>
24321
24322 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24323 %eax without telling the compiler.
24324
c0ed9d7d
CD
243252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24326
24327 [BZ # 13963]
24328 * manual/install.texi: Use sourceware.org.
24329
c483f6b4
JM
243302012-04-09 Joseph Myers <joseph@codesourcery.com>
24331
d7dd9453
JM
24332 [BZ #13873]
24333 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24334 (__ieee754_pow): Generate overflow and underflow using huge*huge
24335 and tiny*tiny rather than just returning constant infinity or zero
24336 for large exponents.
24337 * math/libm-test.inc (pow_test): Require overflow exceptions for
24338 applicable cases of large exponents.
24339
c483f6b4
JM
24340 [BZ #706]
24341 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24342 (__ieee754_pow): Use iterative multiplication algorithm only for
24343 integer exponents with absolute value below 1024. Check for odd
24344 integer exponents when using algorithm for real exponents.
24345 * math/libm-test.inc (pow_test): Add more tests.
24346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24347
d2de7579
JM
243482012-04-08 Joseph Myers <joseph@codesourcery.com>
24349
24350 [BZ #13705]
24351 * math/libm-test.inc (exp_test): Do not allow overflow exception
24352 on underflow test.
24353
f77f1232
AJ
243542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24355
24356 [BZ #13705]
24357 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24358 instead of __kernel_standard_f.
24359
3884932b
MF
243602012-04-08 Mike Frysinger <vapier@gentoo.org>
24361
24362 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24363 * sysdeps/x86_64/memset_chk.S: Likewise.
24364
54472e9c
AJ
243652012-04-08 Andreas Jaeger <aj@suse.de>
24366
6ab0fbfc
AJ
24367 [BZ #10153]
24368 * manual/startup.texi (Environment Access): Describe return value
24369 for putenv and setenv.
24370
61efba8c
AJ
24371 [BZ #6895]
24372 * manual/filesys.texi (Directory Entries): Add description for
24373 DT_LNK.
24374
95c3f29a
AJ
24375 [BZ #6890]
24376 * manual/filesys.texi (Directory Entries): Clarify that it's file
24377 system not operating system in the description of DT_UNKNOWN.
24378
54472e9c
AJ
24379 [BZ #6578]
24380 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24381
624254b1
SC
243822012-04-08 Stephen Compall <s11@member.fsf.org>
24383
24384 [BZ #6649]
24385 * manual/llio.texi (Opening and Closing Files): Add cross
24386 reference to explain mode argument.
24387
1e4920e0
MF
243882012-04-07 Mike Frysinger <vapier@gentoo.org>
24389
24390 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24391 * sysdeps/x86_64/memset_chk.S: Likewise.
24392
5ed848f3
DM
243932012-04-07 David S. Miller <davem@davemloft.net>
24394
24395 * elf/elf.h (R_SPARC_WDISP10): Define.
24396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24397 R_SPARC_SIZE32.
24398 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24399 R_SPARC_SIZE64 and R_SPARC_H34.
24400
96154cd8
CD
244012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24402
24403 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24404 conditions and remove no longer applicable assertion.
24405
9904dc47
L
244062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * bits/byteswap.h: Include <features.h>.
24409 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24410 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24411
f8887d0a
L
244122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 * bits/byteswap.h (__bswap_16): Removed.
24415 Include <bits/byteswap-16.h> to get __bswap_16.
24416 * sysdeps/i386/bits/byteswap.h: Likewise.
24417 * sysdeps/s390/bits/byteswap.h: Likewise.
24418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24419 * bits/byteswap-16.h: New file.
24420 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24421 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24422 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24423 * string/Makefile (headers): Add bits/byteswap-16.h.
24424
62470f60
PP
244252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24426
24427 [BZ #13895]
24428 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24429 extra indirection.
24430 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24431 * nss/tst-nss-static.c: New.
24432
4dad7bab
RM
244332012-04-06 Robert Millan <rmh@gnu.org>
24434
24435 [BZ #6486]
24436 * manual/llio.texi (File Position Primitive): lseek
24437 refers to WHENCE when it really means OFFSET.
24438
e9142a17
AJ
244392012-04-06 Andreas Jaeger <aj@suse.de>
24440
2c040eff
AJ
24441 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24442 strncmp declarations.
24443
e9142a17
AJ
24444 * abilist/libc.abilist: Add __poll and __ppoll.
24445
ff9f1c5f
DM
244462012-04-05 David S. Miller <davem@davemloft.net>
24447
dcd2ae90
DM
24448 * scripts/check-local-headers.sh: Accept a host triplet in the
24449 path matched by the exclude regexp.
24450
993eb054
DM
24451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24452 definition.
24453 * sysdeps/powerpc/powerpc32/dl-machine.h
24454 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24455 * sysdeps/s390/s390-32/dl-machine.h
24456 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24457 * sysdeps/sparc/sparc32/dl-machine.h
24458 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24459 * sysdeps/sparc/sparc64/dl-machine.h
24460 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24461
ff9f1c5f
DM
24462 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24463 lazy binding.
48e2e132 24464 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24465 undefined symbol errors.
24466
48e2e132 24467 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24468 DT_NEEDED entries.
24469
e80d6f94
MM
244702012-04-05 Michael Matz <matz@suse.de>
24471
24472 [BZ #13592]
24473 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24474
349fa79f
AJ
244752012-04-05 Andreas Jaeger <aj@suse.de>
24476
24477 [BZ #13908]
24478 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24479 comment.
24480
f402708f
KK
244812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24482
24483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24484 which ROUND is no valid rounding mode.
24485
2ecccfc9
KK
244862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24487
24488 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24489 read again.
24490 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24491
8a53f50f
KK
244922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24493
24494 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24495 an exception using FPU order intentionally.
24496
244972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24498
24499 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24500 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24501 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24502 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24503
d653abb7
SJ
245042012-04-05 Simon Josefsson <simon@josefsson.org>
24505
24506 [BZ #12340]
24507 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24508 EINVAL when BUFLEN is too smal.
24509
c3b1bf7d
TS
245102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24511
24512 [BZ #13553]
24513 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24514 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24515
b1aa60f3
AJ
245162012-04-03 Andreas Jaeger <aj@suse.de>
24517
c3b1bf7d 24518 [BZ #13938]
67f60a26
AJ
24519 * manual/setjmp.texi (System V contexts): Fix sentence.
24520
b1aa60f3
AJ
24521 [BZ #13926]
24522 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24523 New macro for this case.
24524 [!__GNUC__] (__bswap_64): New inline function for this case.
24525 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24526 * bits/byteswap.h: Likewise.
24527 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24528 ull, guard with __GLIBC_HAVE_LONG_LONG.
24529
24530 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24531 __GLIBC_HAVE_LONG_LONG.
24532
24533 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24534 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24535
39c59c35
TMQMF
245362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24537
24538 [BZ #13691]
24539 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24540 inptr and inend, rather than using last_ch.
24541
135ffda8
DM
245422012-04-02 David S. Miller <davem@davemloft.net>
24543
24544 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24545 * stdio-common/printf-parse.h (read_int): Change return type to
24546 'int', return -1 on INT_MAX overflow.
24547 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24548 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24549 overflows INT_MAX. Check for overflow of in-format-string precision
24550 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24551 SIZE_MAX not INT_MAX for integer overflow test.
24552 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24553 skip the construct in the format string but do not record anything.
24554 * stdio-common/bug22.c: Adjust to test both width/prevision
24555 INT_MAX overflow as well as total length INT_MAX overflow. Check
24556 explicitly for proper errno values.
24557
228c019e
TS
245582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24559
302cadd3
TS
24560 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24561 CHAR_MAX.
24562 * string/test-strcmp.c [! WIDE]: Likewise.
24563 * time/tst-mktime2.c: Likewise for INT_MAX.
24564 * string/test-string.h: #include <sys/param.h> for MIN.
24565
228c019e
TS
24566 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24567 * sysdeps/i386/init-first.c (init): Likewise.
24568 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24569 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24570 * sysdeps/sh/init-first.c (init): Likewise.
24571
cfa633f5
UD
245722012-04-01 Ulrich Drepper <drepper@gmail.com>
24573
24574 * po/ru.po: Update from translation team.
d1635ef8 24575 * po/vi.po: Likewise.
cfa633f5 24576
6cd0a5ea
SP
245772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24578
24579 * resolv/nss_dns/dns-host.c: Merge copyright years.
24580
4b43400f
LD
245812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24582
24583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24584 Optimize memcpy with prefetch if
24585 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24586 src, dst pointers have unequal 16 byte alignments.
24587
48c41d04
SP
245882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24589
24590 [BZ #13928]
24591 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24592 from a CNAME entry and return the minimum ttl for the query.
24593 (gaih_getanswer_slice): Likewise.
24594
b8dc394d
JL
245952012-03-30 Jeff Law <law@redhat.com>
24596
24597 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24598 due to long keys.
24599 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24600 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24601
2f5a5ed0
JL
24602 * resolv/nss_dns/dns-host.c: Update copyright year.
24603
1d39e359
UD
246042012-03-30 Ulrich Drepper <drepper@gmail.com>
24605
c030f70c 24606 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24607 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24608
1d39e359
UD
24609 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24610 comments for sendmmsg.
24611
246122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24613
24614 [BZ #13691]
24615 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24616 with only 1 character between 0x0041 and 0x01b0.
24617 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24618 * wcsmbs/tst-mbsnrtowcs.c: New file.
24619
20fde227
DM
246202012-03-29 David S. Miller <davem@davemloft.net>
24621
24622 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24623 small copies by hand.
24624
984a4237
JL
246252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24626
24627 [BZ #13761]
24628 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24629 _nss_compat_initgroups_dyn): Fall back to malloc/free
24630 for large group memberships.
24631
18c9d62b
DM
246322012-03-28 David S. Miller <davem@davemloft.net>
24633
88d85d4f
DM
24634 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24635 that branches into memcpy.
24636 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24639 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24641 bits.
24642 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24643 implementation too.
24644 * sysdeps/sparc/mempcpy.S: New file.
24645
e5aa83e1
DM
24646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24647 the IFUNC routine in the libc case.
24648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24649
88570753
DM
24650 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24651 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24652 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24653 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24654 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24655 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24656 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24657 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24658
249d7567
DM
24659 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24660 loop to 256 bytes instead of 64 bytes and fix test signedness.
24661
18c9d62b
DM
24662 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24663 * sysdeps/sparc/sparc32/Makefile: rather than here...
24664 * sysdeps/sparc/sparc64/Makefile: and here.
24665
05f3d1f6
UD
246662012-03-28 Ulrich Drepper <drepper@gmail.com>
24667
24668 * malloc/mallocbug.c: Avoid warnings about unused variables.
24669
86ae07a8
JL
246702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24671
24672 [BZ #13760]
24673 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24674 in the right place. Discard and retry query if response is
24675 larger than input buffer size.
24676
41bf21a1
JM
246772012-03-28 Joseph Myers <joseph@codesourcery.com>
24678
d6270972
JM
24679 [BZ #369]
24680 [BZ #2678]
24681 [BZ #3866]
24682 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24683 x for large integer exponent.
24684 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24685 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24686 sign of result as needed afterwards.
24687 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24688 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24689 result for underflowing pow the same as for overflow.
24690 (__kernel_standard_l): Handle powl overflow and underflow here
24691 rather than calling __kernel_standard.
24692 * math/libm-test.inc (pow_test): Add more tests.
24693
414fca03 24694 [BZ #3868]
41bf21a1
JM
24695 [BZ #13879]
24696 [BZ #13910]
24697 [BZ #13911]
24698 [BZ #13912]
24699 [BZ #13913]
24700 [BZ #13915]
24701 [BZ #13916]
24702 [BZ #13917]
24703 [BZ #13918]
24704 [BZ #13919]
24705 [BZ #13920]
24706 [BZ #13921]
24707 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24708 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24709 (__kernel_standard_l): New function.
24710 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24711 __kernel_standard.
24712 * math/w_acosl.c (__acosl): Likewise.
24713 * math/w_asinl.c (__asinl): Likewise.
24714 * math/w_atan2l.c (__atan2l): Likewise.
24715 * math/w_atanhl.c (__atanhl): Likewise.
24716 * math/w_coshl.c (__coshl): Likewise.
24717 * math/w_exp10l.c (__exp10l): Likewise.
24718 * math/w_exp2l.c (__exp2l): Likewise.
24719 * math/w_fmodl.c (__fmodl): Likewise.
24720 * math/w_hypotl.c (__hypotl): Likewise.
24721 * math/w_j0l.c (__j0l, __y0l): Likewise.
24722 * math/w_j1l.c (__j1l, __y1l): Likewise.
24723 * math/w_jnl.c (__jnl, __ynl): Likewise.
24724 * math/w_lgammal.c (__lgammal): Likewise.
24725 * math/w_log10l.c (__log10l): Likewise.
24726 * math/w_log2l.c (__log2l): Likewise.
24727 * math/w_logl.c (__logl): Likewise.
24728 * math/w_powl.c (__powl): Likewise.
24729 * math/w_remainderl.c (__remainderl): Likewise.
24730 * math/w_scalbl.c (sysv_scalbl): Likewise.
24731 * math/w_sinhl.c (__sinhl): Likewise.
24732 * math/w_sqrtl.c (__sqrtl): Likewise.
24733 * math/w_tgammal.c (__tgammal): Likewise.
24734 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24735 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24736 * math/libm-test.inc (acos_test): Add more tests.
24737 (acosh_test): Likewise.
24738 (asin_test): Likewise.
24739 (atanh_test): Likewise.
24740 (exp_test): Likewise.
24741 (exp10_test): Likewise.
24742 (exp2_test): Likewise.
24743 (expm1_test): Likewise.
24744 (lgamma_test): Likewise.
24745 (log_test): Likewise.
24746 (log10_test): Likewise.
24747 (log1p_test): Likewise.
24748 (log2_test): Likewise.
24749 (pow_test): Do not allow some spurious overflow exceptions.
24750 (sqrt_test): Add more tests.
24751 (tgamma_test): Likewise.
24752 (y0_test): Likewise.
24753 (y1_test): Likewise.
24754 (yn_test): Likewise.
24755
dd62fda6
AB
247562012-03-27 Anton Blanchard <anton@samba.org>
24757
24758 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24759 MAP_HUGETLB.
24760 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24761 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24763
1e3cdfda
AJ
247642012-03-27 David S. Miller <davem@davemloft.net>
24765
b855ab85
DM
24766 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24767
1e3cdfda
AJ
24768 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24769 have-as-vis3 check.
24770
247712012-03-27 Andreas Jaeger <aj@suse.de>
24772
24773 * sysdeps/x86_64/elf/configure.in: Moved to ...
24774 * sysdeps/x86_64/configure.in: ... here.
24775 * sysdeps/x86_64/elf/start.S: Moved to ...
24776 * sysdeps/x86_64/start.S: ... here.
24777 * sysdeps/x86_64/elf/configure: Delete.
24778
24779 * sysdeps/x86_64/configure.in: Merge contents from
24780 sysdeps/i386/configure.in (without i686 check).
24781
24782 * sysdeps/i386/elf/Versions: Merge into ...
24783 * sysdeps/i386/Versions: ... this.
24784 * sysdeps/i386/elf/Versions: Delete file.
24785 * sysdeps/i386/elf/start.S: Moved to ...
24786 * sysdeps/i386/start.S: ...here.
24787 * sysdeps/i386/elf/configure.in: Merge into...
24788 * sysdeps/i386/configure.in: ...here.
24789 * sysdeps/i386/elf/configure.in: Delete file.
24790 * sysdeps/i386/elf/configure: Delete file.
24791
24792 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24793 * debug/backtracesyms.c: ... here.
24794 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24795 * debug/backtracesymsfd.c: ... here.
24796 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24797 * sysdeps/generic/ifunc-sel.h: ... here.
24798
24799 * sysdeps/unix/i386/start.c: Delete file.
24800 * sysdeps/unix/sparc/start.c: Delete file.
24801 * sysdeps/unix/start.c: Delete file.
24802
24803 * sysdeps/sh/elf/configure.in: Moved to ...
24804 * sysdeps/sh/configure.in: ... here.
24805 * sysdeps/sh/elf/start.S: Moved to ...
24806 * sysdeps/sh/start.S: ... here.
24807 * sysdeps/sh/elf/configure: Delete file.
24808
24809 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24810 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24811 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24812 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24813 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24814 * sysdeps/powerpc/powerpc64/start.S: here.
24815 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24816 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24817 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24818 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24819 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24820
24821 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24822 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24823 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24824 * sysdeps/powerpc/powerpc32/start.S: ... here.
24825 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24826 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24827 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24828
24829 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24830 * sysdeps/powerpc/ifunc-sel.h: ... here.
24831 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24832 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24833
24834 * sysdeps/sparc/elf/configure.in: Moved to ...
24835 * sysdeps/sparc/configure.in: ... here.
24836 * sysdeps/sparc/elf/configure: Delete file.
24837 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24838 * sysdeps/sparc/sparc32/start.S: ... here.
24839 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24840 * sysdeps/sparc/sparc64/start.S: ... here.
24841 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24842 * sysdeps/sparc/sparc32/Makefile: ... this.
24843 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24844 * sysdeps/sparc/sparc64/Makefile: ... this.
24845
24846 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24847 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24848 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24849 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24850 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24851 * sysdeps/s390/s390-32/setjmp.S: ... here.
24852 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24853 * sysdeps/s390/s390-32/configure.in: ... here.
24854 * sysdeps/s390/s390-32/elf/configure: Delete file.
24855 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24856 * sysdeps/s390/s390-32/start.S: ... here.
24857
24858 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24859 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24860 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24861 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24862 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24863 * sysdeps/s390/s390-64/setjmp.S: ... here.
24864 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24865 * sysdeps/s390/s390-64/configure.in: ... here
24866 * sysdeps/s390/s390-64/elf/configure: Delete file.
24867 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24868 * sysdeps/s390/s390-64/start.S: ... here.
24869 * sysdeps/s390/s390-64/elf/configure: Delete.
24870
24871 * configure.in: Remove support for elf directories in sysdeps.
24872
24873 * configure: Regenerated.
24874 * sysdeps/i386/configure: Regenerated.
24875 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24876 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24877 * sysdeps/s390/s390-32/configure: Regenerated.
24878 * sysdeps/s390/s390-64/configure: Regenerated.
24879 * sysdeps/sh/configure: Regenerated.
24880 * sysdeps/sparc/configure: Regenerated.
24881 * sysdeps/x86_64/configure: Regenerated.
24882
a3f61311
AS
248832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24884
c876e002
AS
24885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24886
a3f61311
AS
24887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24888 denormal result into account.
24889
ac4c54f0
RM
248902012-03-25 Roland McGrath <roland@hack.frob.com>
24891
24892 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24893 Reported by Allan McRae <allan@archlinux.org>.
24894
6a9b9c02
JL
248952012-03-23 Jeff Law <law@redhat.com>
24896
24897 * nss/getnssent.c (__nss_getent): Fix typo.
24898
4c42a0c1
DM
248992012-03-23 David S. Miller <davem@davemloft.net>
24900
24901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24902
1532c7ac
L
249032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24904
24905 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24906 to pad to uint64_t for each field.
24907 (dl_tls_index): Replace unsigned long with uint64_t.
24908
3ff42526
PP
249092012-03-23 Daniel Jacobowitz <dmj@google.com>
24910 Paul Pluzhnikov <ppluzhnikov@google.com>
24911
24912 [BZ #6528]
24913 * grp/Makefile (otherlibs): Don't set it.
24914 * inet/Makefile (otherlibs): Likewise.
24915 * login/Makefile (otherlibs): Likewise.
24916 * nscd/Makefile (otherlibs): Likewise.
24917 * posix/Makefile (otherlibs): Likewise.
24918 * pwd/Makefile (otherlibs): Likewise.
24919 * rt/Makefile (otherlibs): Likewise.
24920 * sunrpc/Makefile (otherlibs): Likewise.
24921 * nss/Makefile (otherlibs): Likewise.
24922 Add libnss_files to routines and static-only-routines.
24923 ($(objpfx)getent): Remove rule.
24924 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24925 static-only-routines.
24926
7c69cd14
JM
249272012-03-22 Joseph Myers <joseph@codesourcery.com>
24928
24929 [BZ #13892]
24930 * math/s_cexp.c: Include <float.h>.
24931 (__cexp): Handle exp result overflowing not necessarily
24932 overflowing both real and imaginary parts of result.
24933 * math/s_cexpf.c: Likewise.
24934 * math/s_cexpl.c: Likewise.
24935 * math/libm-test.inc (cexp_test): Add more tests.
24936 * sysdeps/i386/fpu/libm-test-ulps: Update.
24937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24938
81b035fe
L
249392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24940
24941 * include/link.h (ELFW): New macro.
24942 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24943 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24944
1da7940c
L
249452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24946
24947 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24948 with uint64_t.
24949
b749dbb9
L
249502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24951
24952 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24953 declaration.
24954 (struct La_x32_retval): Likewise.
24955
2ff87f3f
L
249562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24957
24958 * sysdeps/x86_64/preconfigure.in: New file.
24959 * sysdeps/x86_64/preconfigure: New generated file.
24960
c0df8e69
JM
249612012-03-22 Joseph Myers <joseph@codesourcery.com>
24962
48e44791
JM
24963 [BZ #13824]
24964 * math/e_exp2l.c: Include <float.h>.
24965 (__ieee754_exp2l): Handle overflow and underflow cases
24966 separately. Only pass fractional part of argument to
24967 __ieee754_expl.
24968 * math/libm-test.inc (exp2_test): Add more tests.
24969
c0df8e69
JM
24970 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24971 negating x to take absolute value.
24972 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24973 Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24976 Likewise.
24977 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24978 computing low part if x was negated.
24979 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24980
c8e43ba7
L
249812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24982
24983 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24984 la_x32_gnu_pltexit.
24985 (pltexit): Cast int_retval to ptrdiff_t.
24986 * elf/tst-auditmod3b.c: Likewise.
24987 * elf/tst-auditmod4b.c: Likewise.
24988 * elf/tst-auditmod5b.c: Likewise.
24989 * elf/tst-auditmod6b.c: Likewise.
24990 * elf/tst-auditmod6c.c: Likewise.
24991 * elf/tst-auditmod7b.c: Likewise.
24992
24993 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24994 and x32_gnu_pltexit.
24995
24996 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24997 __ELF_NATIVE_CLASS.
24998 (La_x32_regs): New macro.
24999 (La_x32_retval): Likewise.
25000 (la_x32_gnu_pltenter): New function prototype.
25001 (la_x32_gnu_pltexit): Likewise.
25002
7998fa78
AS
250032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25004
dcb33988
AS
25005 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25006 exponent.
25007
233fc563
AS
25008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25009
7998fa78
AS
25010 * configure.in (libc_cv_cc_nofma): Check for option to disable
25011 generation of FMA instructions.
25012 * configure: Regenerate.
25013 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25014 * sysdeps/ieee754/dbl-64/Makefile: New file.
25015 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25016 Remove brandred-fma4.
25017 (CFLAGS-brandred-fma4.c): Remove.
25018 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25019 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25020 define.
25021 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25022 define.
25023
8e95c99a
L
250242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25025
25026 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25027 LLONG_MAX != LONG_MAX.
25028 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25029 (_fitoa_word): Likewise.
25030 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25031 LLONG_MAX != LONG_MAX.
25032 * stdio-common/_itowa.h: Include <_itoa.h>.
25033 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25034 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25035 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25036 only if not defined.
25037 (_ITOA_WORD_TYPE): Likewise.
25038 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25039 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25040
6f4db457
DM
250412012-03-21 David S. Miller <davem@davemloft.net>
25042
25043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25044
7785fe5a
L
250452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25046
25047 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25048 of x86_64 when setting libc_cv_slibdir, libdir and
25049 libc_cv_localedir.
25050 * sysdeps/unix/sysv/linux/configure: Regenerated.
25051
4535cd55
JM
250522012-03-21 Joseph Myers <joseph@codesourcery.com>
25053
25054 * manual/lang.texi (Old Varargs): Remove section.
25055 (How Variadic): Update menu.
25056 (va_start): Do not mention varargs.h.
25057
17228132
TS
250582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25059 Joseph Myers <joseph@codesourcery.com>
25060
25061 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25062 link test.
25063 * configure: Regenerated.
25064
8149f976
TS
250652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25066
05f3d1f6
UD
25067 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25068 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25069 conformtest.pl
8149f976 25070
1a4ac776
JM
250712012-03-21 Joseph Myers <joseph@codesourcery.com>
25072
be22ce65
JM
25073 * NOTES: Remove.
25074 * Makefile (files-for-dist): Remove NOTES.
25075 (NOTES): Remove rule.
25076 * README: Don't refer to NOTES.
25077 * manual/creature.texi: Don't include macros.texi.
25078 * manual/intro.texi (creature.texi): Remove comment referring to
25079 NOTES.
25080
40b601fb
JM
25081 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25082 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25083 * configure: Regenerated.
25084 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25085 LIBC_TRY_CC_OPTION.
25086 (libc_cv_as_i686): Likewise.
25087 (libc_cv_cc_avx): Likewise.
25088 (libc_cv_cc_sse2avx): Likewise.
25089 (libc_cv_cc_fma4): Likewise.
25090 (libc_cv_cc_novzeroupper): Likewise.
25091 * sysdeps/i386/configure: Regenerated.
25092
1a4ac776
JM
25093 [BZ #13883]
25094 * sysdeps/i386/fpu/s_cexp.S: Remove.
25095 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25096 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25097 * math/libm-test.inc (cexp_test): Add more tests.
25098 * sysdeps/i386/fpu/libm-test-ulps: Update.
25099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25100
a458e7fe
AM
251012012-03-21 Allan McRae <allan@archlinux.org>
25102
25103 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25104
0cb7efc5
JM
251052012-03-21 Joseph Myers <joseph@codesourcery.com>
25106
25107 [BZ #13871]
25108 * math/w_exp2.c: Do not include <float.h>.
25109 (o_threshold, u_threshold): Remove.
25110 (__exp2): Calculate result before checking finiteness and calling
25111 __kernel_standard.
25112 * math/w_exp2f.c: Likewise.
25113 * math/w_exp2l.c: Likewise.
25114 * math/libm-test.inc (exp2_test): Require overflow exception for
25115 1e6 input.
2460d3aa
JM
25116
25117 [BZ #3866]
25118 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25119 range of signed 64-bit integers before using fistpll. Remove
25120 checks for whether integers fit in mantissa bits.
25121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25122 the range of signed 32-bit integers before using fistpl. Remove
25123 checks for whether integers fit in mantissa bits.
25124 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25125 (__ieee754_powl): Test for y outside the range of signed 64-bit
25126 integers before using fistpll. Reduce 64-bit values to 63-bit
25127 ones as needed.
25128 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25129 divide-by-zero is raised for zero to large negative powers.
25130 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25131 (__ieee754_powl): Test for y outside the range of signed 64-bit
25132 integers before using fistpll. Reduce 64-bit values to 63-bit
25133 ones as needed.
25134 * math/libm-test.inc (pow_test): Add more tests.
25135
eb96ffb0
L
251362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25137
25138 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25139 <stdio-common/_itoa.h>.
25140 * debug/segfault.c: Likewise.
25141 * elf/dl-cache.c: Likewise.
25142 * elf/dl-minimal.c: Likewise.
25143 * elf/dl-misc.c: Likewise.
25144 * elf/dl-sysdep.c: Likewise.
25145 * elf/dl-version.c: Likewise.
25146 * elf/rtld.c: Likewise.
25147 * hurd/hurdsock.c: Likewise.
25148 * hurd/lookup-retry.c: Likewise.
25149 * malloc/malloc.c: Likewise.
25150 * malloc/mtrace.c: Likewise.
25151 * nscd/nscd_getgr_r.c: Likewise.
25152 * nscd/nscd_getpw_r.c: Likewise.
25153 * nscd/nscd_getserv_r.c: Likewise.
25154 * posix/getopt_init.c: Likewise.
25155 * posix/wordexp.c: Likewise.
25156 * stdio-common/_itoa.c: Likewise.
25157 * stdio-common/printf_fphex.c: Likewise.
25158 * stdio-common/vfprintf.c: Likewise.
25159 * string/_strerror.c: Likewise.
25160 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25161 * sysdeps/i386/i686/hp-timing.h: Likewise.
25162 * sysdeps/mach/_strerror.c: Likewise.
25163 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25164 * sysdeps/mach/hurd/sethostid.c: Likewise.
25165 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25166 * sysdeps/mach/xpg-strerror.c: Likewise.
25167 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25168 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25169 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25170 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25171 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25172 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25173 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25174 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25175 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25176 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25177 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25178 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25179 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25180 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25181 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25183 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25184 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25185 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25186 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25187 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25188
25189 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25190
25191 * stdio-common/_itoa.h: Moved to ...
25192 * sysdeps/generic/_itoa.h: Here.
25193
25194 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25195
25196 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25197 instead of "_itoa.h" and "_itowa.h".
25198 * stdio-common/vfprintf.: Likewise.
25199
d1af992d
L
252002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25201
25202 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25203 <bits/wordsize.h>.
25204 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25205 (__signbit): Likwise.
25206 (llrintf): Likwise.
25207 (llrint): Likwise.
25208
114883e0
L
252092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25210
25211 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25212 __WORDSIZE != 64.
25213
c135cc1b
JM
252142012-03-20 Joseph Myers <joseph@codesourcery.com>
25215
25216 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25217 OVERFLOW_EXCEPTION_OK.
25218 * math/libm-test.inc ("Philosophy"): Update comment about
25219 exception testing.
25220 (OVERFLOW_EXCEPTION): Define.
25221 (OVERFLOW_EXCEPTION_OK): Likewise.
25222 (INVALID_EXCEPTION_OK): Renumber.
25223 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25224 (IGNORE_ZERO_INF_SIGN): Likewise.
25225 (test_exceptions): Handle FE_OVERFLOW.
25226 (exp10_test): Expect overflow exceptions.
25227 (exp2_test): Likewise.
25228 (expm1_test): Likewise.
25229 (nextafter_test): Likewise.
25230 (pow_test): Likewise.
25231 (scalbn_test): Likewise.
25232 (scalbln_test): Likewise.
25233
95443d88
L
252342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25235
25236 * sysdeps/x86_64/bits/atomic.h
25237 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25238 64bit integer.
25239 (atomic_exchange_acq): Likewise.
25240 (__arch_exchange_and_add_body): Likewise.
25241 (__arch_add_body): Likewise.
25242 (atomic_add_negative): Likewise.
25243 (atomic_add_zero): Likewise.
25244
490df6c4
L
252452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25246
c2722551 25247 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25248 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25249
5e52b189
L
252502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25251
25252 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25253 Check __x86_64__ instead of __WORDSIZE.
25254
a9879d4c
L
252552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25256
25257 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25258
5df98260
DM
252592012-03-19 David S. Miller <davem@davemloft.net>
25260
e1497744
DM
25261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25262
5df98260
DM
25263 * sysdeps/sparc/fpu/fenv_private.h: New file.
25264 * sysdeps/sparc/fpu/math_private.h: Use it.
25265 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25266 Remove.
25267 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25268 (libc_feholdexcept_setroundl): Remove.
25269 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25270 Remove.
25271 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25272 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25273
b4c35121
L
252742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25275
25276 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25277 int64_t instead of long int.
25278 (INSERT_WORDS64): Likwise.
25279
56965fd7
L
252802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25281
25282 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25283 _Unwind_GetCFA return to _Unwind_Ptr first.
25284
83d1aec8
JM
252852012-03-19 Joseph Myers <joseph@codesourcery.com>
25286
1897ad44
JM
25287 [BZ #13629]
25288 * math/s_clog.c: Include <float.h>.
25289 (__clog): Scale large or subnormal inputs.
25290 * math/s_clogf.c: Likewise.
25291 * math/s_clogl.c: Likewise.
25292 * math/s_clog10.c: Include <float.h>.
25293 (M_LOG10_2): Define.
25294 (__clog10): Scale large or subnormal inputs.
25295 * math/s_clog10f.c: Likewise.
25296 * math/s_clog10l.c: Likewise.
25297 * math/libm-test.inc (clog_test): Add more tests.
25298 (clog10_test): Likewise.
25299 * sysdeps/i386/fpu/libm-test-ulps: Update.
25300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25301
7726d6a9
JM
25302 [BZ #11451]
25303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25304 x and y.
25305 * math/libm-test.inc (atan2_test): Add another test.
25306
83d1aec8
JM
25307 * Makerules (common-objdir-compile): Remove.
25308 * sysdeps/unix/Makefile (config-generated): Do not add
25309 $(unix-generated) to variable.
25310 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25311 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25312 Remove rule.
25313 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25314 Likewise.
25315 [generic bits/local_lim.h] (before-compile): Do not append to
25316 variable.
25317 [generic bits/local_lim.h] (common-generated): Likewise.
25318 [generic sys/param.h] (before-compile): Do not append to variable.
25319 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25320 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25321 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25322 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25323 include.
25324 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25325 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25326 [generic sys/param.h] ($(addprefix
25327 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25328 [generic sys/param.h] (common-generated): Do not append to
25329 variable.
25330 [generic sys/param.h] (sysdep_headers): Likewise.
25331 [generic bits/errno.h] (before-compile): Do not append to
25332 variable.
25333 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25334 rule.
25335 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25336 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25337 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25338 [generic bits/errno.h] (common-generated): Do not append to
25339 variable.
25340 [generic bits/ioctls.h] (before-compile): Do not append to
25341 variable.
25342 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25343 rule.
25344 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25345 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25346 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25347 rule.
25348 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25349 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25350 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25351 [generic bits/ioctls.h] (common-generated): Do not append to
25352 variable.
25353 [generic sys/syscall.h] (syscall.h): Remove variable.
25354 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25355 rule.
25356 [generic sys/syscall.h] (before-compile): Do not append to
25357 variable.
25358 [generic sys/syscall.h] (common-generated): Likewise.
25359 * sysdeps/unix/errnos-tmpl.c: Remove file.
25360 * sysdeps/unix/errnos.awk: Likewise.
25361 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25362 * sysdeps/unix/ioctls.awk: Likewise.
25363 * sysdeps/unix/mk-local_lim.c: Likewise.
25364 * sysdeps/unix/snarf-ioctls: Likewise.
25365
4851a949
RH
253662012-03-19 Richard Henderson <rth@twiddle.net>
25367
bd37f2ee
RH
25368 * sysdeps/i386/fpu/fenv_private.h: New file.
25369 * sysdeps/i386/fpu/math_private.h: Use it.
25370 (math_opt_barrier, math_force_eval): Remove.
25371 (libc_feholdexcept_setround_53bit): Remove.
25372 (libc_feupdateenv_53bit): Remove.
25373 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25374 (math_opt_barrier, math_force_eval): Remove.
25375 (libc_feholdexcept): Remove.
25376 (libc_feholdexcept_setround): Remove.
25377 (libc_fetestexcept, libc_fesetenv): Remove.
25378 (libc_feupdateenv_test): Remove.
25379 (libc_feupdateenv, libc_feholdsetround): Remove.
25380 (libc_feresetround): Remove.
25381
d0adc922
RH
25382 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25383 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25384
0fe0f1f8
RH
25385 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25386 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25387 (libc_feupdateenv_testl): New.
25388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25389 (libc_feupdateenv_testf): New.
25390 (libc_feupdateenv): Use libc_feupdateenv_test.
25391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25392 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25393
eb92c487
RH
25394 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25395 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25396 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25397 (libc_feresetround_noex): New.
25398 (libc_feresetround_noexf): New.
25399 (libc_feresetround_noexl): New.
25400 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25401 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25402 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25403 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25404 SET_RESTORE_ROUND.
25405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25407 (__cos): Likewise.
25408 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25409 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25410 SET_RESTORE_ROUND_NOEX.
25411 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25412 SET_RESTORE_ROUND_NOEXF.
25413 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25414 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25415 (libc_feholdsetroundf): New.
25416 (libc_feresetround, libc_feresetroundf): New.
25417
7d2e8012
RH
25418 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25419 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25420 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25421
b4dabbb4
RH
25422 * sysdeps/generic/math_private.h: Include <fenv.h>.
25423 (default_libc_feholdexcept): New.
25424 (default_libc_feholdexcept_setround): New.
25425 (default_libc_fesetenv, default_libc_feupdateenv): New.
25426 (libc_feholdexcept): Only define if undefined.
25427 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25428 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25429 (libc_feholdexcept_setroundl): Likewise.
25430 (libc_feholdexcept_setround_53bit): Likewise.
25431 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25432 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25433 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25434 (libc_feupdateenv_53bit): Likewise.
25435 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25436 (libc_feholdexcept): Convert from macro to inline function.
25437 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25438 (libc_fesetenv, libc_feupdateenv): Likewise.
25439
4851a949
RH
25440 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25441 not previously defined.
25442 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25443 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25444 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25445 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25446 * sysdeps/ieee754/flt-32/math_private.h: New file.
25447 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25448 math_private.h below SET_FLOAT_WORD.
25449 (__isnan, __isinf_ns, __finite): Remove.
25450 (__isnanf, __isinf_nsf, __finitef): Remove.
25451
e79d442e
AS
254522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25453
25454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25455
90b80344
DM
254562012-03-17 David S. Miller <davem@davemloft.net>
25457
25458 [BZ #6471]
25459 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25460 for 2.16.
25461
edc21804
DM
254622012-03-16 David S. Miller <davem@davemloft.net>
25463
77e927af
DM
25464 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25465 warnings.
25466
374976dd
DM
25467 [BZ #6471]
25468 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25469 properly.
25470 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25471 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25472 sysdep_routines when subdir is sysvipc.
25473 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25474 __getshmlba helper.
25475
edc21804
DM
25476 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25477
473c3ef3
L
254782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25479
25480 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25481 [__LP64__].
25482
eb0f39b6
L
254832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25486 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25487 (__lround): Renamed to ...
25488 (__llround): This. Replace long int with long long int.
25489 Define lround functions as aliases of llround functions.
25490 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25491
6b6cd74b
L
254922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25493
25494 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25495 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25496 adresses to uintptr_t. Replace "long int" and "unsigned long
25497 int" with "greg_t" on va_arg.
25498
f1a77b01
L
254992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25502 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25503
25504 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25505 Move e_machine check before EI_CLASS check. Handle x32
25506 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25507 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25508 SKIP_EM_IA_64 and include
25509 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25510
25511 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25512 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25513 (add_system_dir): New macro.
25514
25515 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25516 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25517
11b90b9f
JM
255182012-03-16 Joseph Myers <joseph@codesourcery.com>
25519
c36e1d23
JM
25520 [BZ #2551]
25521 [BZ #2552]
25522 [BZ #2553]
25523 [BZ #2554]
25524 [BZ #2562]
25525 [BZ #2563]
25526 [BZ #2565]
25527 [BZ #2566]
25528 [BZ #2576]
25529 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25530 (y0): Likewise.
25531 * math/w_j0f.c (j0f): Likewise.
25532 (y0f): Likewise.
25533 * math/w_j0l.c (__j0l): Likewise.
25534 (__y0l): Likewise.
25535 * math/w_j1.c (j1): Likewise.
25536 (y1): Likewise.
25537 * math/w_j1f.c (j1f): Likewise.
25538 (y1f): Likewise.
25539 * math/w_j1l.c (__j1l): Likewise.
25540 (__y1l): Likewise.
25541 * math/w_jn.c (jn): Likewise.
25542 (yn): Likewise.
25543 * math/w_jnf.c (jnf): Likewise.
25544 (ynf): Likewise.
25545 * math/w_jnl.c (__jnl): Likewise.
25546 (__ynl): Likewise.
25547 * math/libm-test.inc (j0_test): Add more tests.
25548 (j1_test): Likewise.
25549 (jn_test): Likewise. Add trailing semicolon to existing test.
25550 (y0_test): Likewise.
25551 (y1_test): Likewise.
25552 * sysdeps/i386/fpu/libm-test-ulps: Update.
25553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25554
11b90b9f
JM
25555 [BZ #13851]
25556 [BZ #13854]
25557 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25558 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25559 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25560 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25561 (__tanl): Set errno for infinite argument.
25562 * sysdeps/i386/fpu/mptan.c: Remove.
25563 * sysdeps/i386/fpu/s_tan.S: Likewise.
25564 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25565 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25566 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25567 * math/libm-test.inc (tan_test): Add more tests and enable more
25568 tests for double and long double.
25569 * sysdeps/i386/fpu/libm-test-ulps: Update.
25570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25571
6a1bd2a1
JK
255722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25573
25574 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25575 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25576
10a803e0
RM
255772012-03-16 Roland McGrath <roland@hack.frob.com>
25578
25579 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25580 * configure.in: Use it for both main tree and add-ons.
25581 * configure: Regenerated.
25582
f196c7f7
L
255832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25584
25585 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25586
8848d99d
JM
255872012-03-16 Joseph Myers <joseph@codesourcery.com>
25588
96cbe7f4
JM
25589 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25590 in comment.
25591
8848d99d
JM
25592 [BZ #13851]
25593 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25594 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25598 infinite argument.
25599 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25600 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25601 != 0 for prec == 2.
25602 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25603 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25604 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25605 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25606 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25607 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25608 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25609 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25610 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25611 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25612 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25613 * math/libm-test.inc (cos_test): Add more tests and enable more
25614 tests for long double.
25615 (sin_test): Likewise.
25616 (sincos_test): Likewise.
25617 * sysdeps/i386/fpu/libm-test-ulps: Update.
25618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25619
dd7f4703
DM
256202012-03-16 David S. Miller <davem@davemloft.net>
25621
25622 * sysdeps/sparc/fpu/math_private.h: New file.
25623
006f1daa
DM
256242012-03-15 David S. Miller <davem@davemloft.net>
25625
c0c83bc8
DM
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25627 file.
e6a62e18 25628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25630 file.
e6a62e18
DM
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25637 sysdep routines.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25639
88cb87d9
DM
25640 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25641 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25642
006f1daa 25643 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25645 sparc-ifunc.h
006f1daa 25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25648 Likewise.
25649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25650 Likewise.
006f1daa
DM
25651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25655 Likewise.
006f1daa
DM
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25661 Likewise.
25662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25663 Likewise.
006f1daa
DM
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25688
11e0098e
AS
256892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25690
25691 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25692 scaling.
25693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25694
e85b09d0
AJ
256952012-03-15 Andreas Jaeger <aj@suse.de>
25696
25697 [BZ #13852]
25698 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25699 ieee754/flt-32 implementation for sin, cos and sincos.
25700 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25701 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25702 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25703 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25704 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25705 ieee754/flt-32 implementation for tan.
25706
25707 * math/libm-test.inc (cos_test): Enable some large input tests for
25708 float as well
25709 (sin_test): Likewise.
25710 (sincos_test): Likewise.
25711 (tan_test): Add tests for large input.
25712
25713 * sysdeps/i386/fpu/libm-test-ulps: Update.
25714
81c64153
AJ
257152012-03-15 Andreas Jaeger <aj@suse.de>
25716
25717 [BZ #13658]
25718 * math/libm-test.inc (cos_test): Add more test cases.
25719 (sin_test): Likewise.
25720 (sincos_test): Likewise.
25721
7bbfa5c6
AJ
257222012-03-15 Andreas Jaeger <aj@suse.de>
25723
25724 [BZ #13837]
25725 * math/libm-test.inc (cos_test): Add a test case for large input
25726 value.
25727 (sin_test): Likewise.
25728 (sincos_test): Likewise.
25729
257302012-03-15 Andreas Jaeger <aj@suse.de>,
25731 Joseph Myers <joseph@codesourcery.com>
25732
25733 [BZ #13658]
0671f479 25734 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25735 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25736 * sysdeps/i386/fpu/branred.c: Likewise.
25737 * sysdeps/i386/fpu/dosincos.c: Likewise.
25738 * sysdeps/i386/fpu/mpa.c: Likewise.
25739 * sysdeps/i386/fpu/s_cos.S: Likewise.
25740 * sysdeps/i386/fpu/s_sin.S: Likewise.
25741 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25742 * sysdeps/i386/fpu/sincos32.c: Likewise.
25743
25744 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25745 Define.
25746 (libc_feupdateenv_53bit): Define.
25747 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25748 Define.
25749 (libc_feupdateenv_53bit): Define.
25750
25751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25752 53 bit (without extend i386 double precision).
25753
25754 * math/libm-test.inc (sincos_test): Add tests for large input.
25755 (sin): Likewise.
25756 (cos): Likewise.
25757
25758 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25759
9cad04ea
AS
257602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25761
25762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25763
f7062b9a
DM
257642012-03-15 David S. Miller <davem@davemloft.net>
25765
25766 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25767 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25768 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25769 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25782 file.
f7062b9a 25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25785 file.
f7062b9a 25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25788 file.
f7062b9a 25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25791 file.
f7062b9a
DM
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25794 fmin/fmax sysdep routines.
25795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25796
7bd951ff
DM
257972012-03-14 David S. Miller <davem@davemloft.net>
25798
559398ab
DM
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25828 routines.
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25830 file.
559398ab 25831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25833 file.
559398ab 25834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25836 file.
559398ab 25837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25839 file.
559398ab 25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25842 file.
559398ab 25843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25845 file.
25846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25847 file.
25848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25849 file.
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25851 file.
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25853 New file.
25854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25855 file.
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25857 file.
559398ab 25858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25860 file.
559398ab 25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25863 file.
559398ab 25864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25866 file.
559398ab 25867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25869 VIS3 routines.
559398ab
DM
25870
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25872 New file.
25873
5a1c1e32
DM
25874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25875
eae47a36
DM
25876 * sysdeps/sparc/configure.in: New file.
25877 * sysdeps/sparc/configure: Generate.
25878 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25879 * configure: Regenerate.
25880 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25881 * config.make.in (have-as-vis3): New.
25882 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25883 available use -Av9d instead of -Av9a.
25884 * sysdeps/sparc/sparc64/Makefile: Likewise.
25885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25887 New file.
25888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25889 file.
25890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25891 New file.
25892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25893 file.
eae47a36
DM
25894 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25899
c0c83bc8
DM
25900 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25901 fzeros/fnegs to load 0x80000000 into a float register instead of
25902 using the stack.
7bd951ff
DM
25903 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25904
bd951ccb
JM
259052012-03-14 Joseph Myers <joseph@codesourcery.com>
25906
25907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25908 bits/syscall.h.
25909 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25910 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25911 ($(inst_includedir)/bits/syscall.h): Remove rule.
25912 ($(objpfx)bits/syscall.d): Include instead of
25913 $(objpfx)syscall-list.d.
25914 (generated): Change syscall-list.h and syscall-list.d to
25915 bits/syscall.h and bits/syscall.d.
25916
bb4e6db2
RM
259172012-03-14 Roland McGrath <roland@hack.frob.com>
25918
25919 [BZ #13846]
25920 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25921
aa4a2ae1
JM
259222012-03-14 Joseph Myers <joseph@codesourcery.com>
25923
e456826d
JM
25924 [BZ #13841]
25925 * math/s_csqrt.c: Include <float.h>.
25926 (__csqrt): Scale large or subnormal inputs.
25927 * math/s_csqrtf.c: Likewise.
25928 * math/s_csqrtl.c: Likewise.
25929 * math/libm-test.inc (csqrt_test): Add more tests.
25930 * sysdeps/i386/fpu/libm-test-ulps: Update.
25931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25932
aa4a2ae1
JM
25933 [BZ #13840]
25934 * math/libm-test.inc (hypot_test): Add more tests.
25935
7c10fd35
DM
259362012-03-13 David S. Miller <davem@davemloft.net>
25937
25938 [BZ #13840]
25939 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25940 double-precision for the calculation instead of scaling.
25941
f453b98b
JM
259422012-03-13 Joseph Myers <joseph@codesourcery.com>
25943
25944 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25945 manipulate bits before adding and subtracting TWO52[sx].
25946 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25948 Likewise.
25949 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25950
09a3453f
DM
259512012-03-13 David S. Miller <davem@davemloft.net>
25952
8e59da90
DM
25953 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25954 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25956 rtld-global-offsets.h
25957 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25958
2a8ab7f2
DM
25959 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25960 large parameters.
25961
10f62770
DM
25962 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25963
5f0bdb18
DM
25964 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25965 'err' in the ifdef scope in which it is actually used.
25966
09a3453f
DM
25967 * nss/nss_db/db-init.c: Include string.h
25968
b4b2eb5e
DM
259692012-03-12 David S. Miller <davem@davemloft.net>
25970
98bb2f1c
DM
25971 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25972 masking out of the most significant byte of random value used.
25973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25974 Fix coding style in previous change.
25975
b4b2eb5e
DM
25976 * sysdeps/unix/sysv/linux/kernel-features.h
25977 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25978 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25979 expression.
25980 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25981 later.
25982
6e226b09
DM
259832012-03-11 David S. Miller <davem@davemloft.net>
25984
a1bcbd40
DM
25985 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25986 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25988 for 'resultvar' otherwise things get truncated on 64-bit.
25989
cb9d6174
DM
25990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25991 Fix masking out of the most significant byte of random value used.
25992
6e226b09
DM
25993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25994
058c132d
AS
259952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25996
25997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25998
2d2cd515
DM
259992012-03-09 David S. Miller <davem@davemloft.net>
26000
26001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26002 variables with appropriate CPP guards.
26003 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26004 frame pointer, not the stack pointer. Correct layout comments. Fix test
26005 on resulting framesize and the management of the outregs buffer for pltexit.
26006 Preserve floating point return values across _dl_call_pltexit call.
26007 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26008 framesize and the management of the outregs buffer for pltexit.
26009 Preserve floating point return values across _dl_call_pltexit
26010 call.
26011 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26012 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26013 (print_exit): Fix format string for return register value.
26014
9a07f9d0
JM
260152012-03-10 Joseph Myers <joseph@codesourcery.com>
26016
26017 * sunrpc/Makefile (others): Add rpcgen.
26018 ($(objpfx)rpcgen): Remove special build rule and dependency on
26019 libc.
26020 * sunrpc/rpcgen.c: New file.
26021
547b5e30
PE
260222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26023
c524201a
PE
26024 [BZ #13673]
26025 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26026 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26027 * sysdeps/i386/crti.S: Likewise.
26028 * sysdeps/i386/crtn.S: Likewise.
26029 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26030 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26031 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26032 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26033 * sysdeps/sh/crti.S: Likewise.
26034 * sysdeps/sh/crtn.S: Likewise.
26035 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26036
7b6235f2
PE
26037 [BZ #13673]
26038 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26039 with URL.
26040 * locale/programs/locfile-kw.gperf: Likewise.
26041 * locale/programs/charmap-kw.h: Regenerated.
26042 * locale/programs/locfile-kw.h: Likewise.
26043
547b5e30
PE
26044 [BZ #13673]
26045 * intl/plural.y: Replace FSF snail mail address with URL.
26046 * intl/plural.c: Regenerated.
26047
5f0a5dae
RH
260482012-03-09 Richard Henderson <rth@twiddle.net>
26049
26050 * include/math_private.h: Remove file.
26051 * math/math_private.h: Move file ...
26052 * sysdeps/generic/math_private.h: ... here.
26053
b8c03620
RH
26054 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26055 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26056 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26057
4e234f5d 26058 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26059 and <math_private.h>.
26060 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26061 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26062 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26063 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26064 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26148 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26149 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26150 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26151 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26154 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26155 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26162 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26164 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26165 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26170 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26173 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26179 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26181 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26182 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26183 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26184 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26185 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26187 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26188 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26189 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26190 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26191 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26192 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26193 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26194 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26195 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26196 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26197 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26198 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26199 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26200 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26201 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26202 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26203 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26204 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26205 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26206 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26207 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26208 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26209 * sysdeps/ieee754/k_standard.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26243 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26360 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26370 * sysdeps/ieee754/s_lib_version.c: Likewise.
26371 * sysdeps/ieee754/s_matherr.c: Likewise.
26372 * sysdeps/ieee754/s_signgam.c: Likewise.
26373 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26374 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26375 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26376 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26377 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26378 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26379 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26380 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26381 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26382 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26383 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26384 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26385 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26386 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26387 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26388 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26389 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26390 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26391 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26394
1991fa03
JM
263952012-03-09 Joseph Myers <joseph@codesourcery.com>
26396
26397 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26398 * sunrpc/rpc_main.c: Likewise.
26399 * sunrpc/rpc_svcout.c: Likewise.
26400
60d6f5a6
DM
264012012-03-09 David S. Miller <davem@davemloft.net>
26402
26403 * include/math_private.h: New file.
26404
4962050e
JM
264052012-03-09 Joseph Myers <joseph@codesourcery.com>
26406
02a6f887
JM
26407 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26408 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26409 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26410 from <bits/socket_type.h>.
26411 (enum __socket_type): Don't define here.
26412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26414 bits/socket_type.h.
26415
c6e013c1
JM
26416 [BZ #13566]
26417 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26418 checking __USE_GNU.
26419
4962050e
JM
26420 * Makerules ($(inst_includedir)/%.h): New rule.
26421 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26422 (install-others): Remove variable setting.
26423 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26424
38842f45
RH
264252012-03-08 Richard Henderson <rth@twiddle.net>
26426
67bb6da6
RH
26427 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26428 from macro to inline function; merge with the
26429 !__LIBC_INTERNAL_MATH_INLINES version.
26430 (__ieee754_sqrtf): Likewise.
26431
15194b4b
RH
26432 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26433 to inline function.
26434 (__rintf, __floor, __floorf): Likewise.
26435
64e21ede
RH
26436 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26437 macro to inline function.
26438 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26439
38842f45
RH
26440 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26441 not <math/math_private.h>.
26442
c64bf5fe
DM
264432012-03-08 David S. Miller <davem@davemloft.net>
26444
26445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26446 copyright year.
26447 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26448
82d86f28
TS
264492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26450
26451 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26452 normalization.
26453 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26454 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26455
aea5d727
UD
264562012-03-08 Ulrich Drepper <drepper@gmail.com>
26457
26458 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26459 be defined individually, they must be defined as a block. Define
26460 S for printing a string instead of hidint the different by using a
26461 macro for adding the 'l'.
26462 * stdio-common/tst-fphex-wide.c: Adjust.
26463
70bca0a3
MP
264642012-03-07 Marek Polacek <polacek@redhat.com>
26465
26466 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26467
65b81130
MP
264682012-03-08 Marek Polacek <polacek@redhat.com>
26469
26470 [BZ #13806]
26471 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26472 * stdio-common/tst-fphex.c: Define a few macros to make the
26473 test reusable. Use them.
26474 * stdio-common/tst-fphex-wide.c: New file.
26475
07037eeb
JM
264762012-03-08 Joseph Myers <joseph@codesourcery.com>
26477
a7a93d50
JM
26478 [BZ #6911]
26479 * manual/macros.texi (gnusystems): New macro.
26480 (nongnusystems): Likewise.
26481 (gnulinuxhurdsystems): Likewise.
26482 (gnuhurdsystems): Likewise..
26483 (gnulinuxsystems): Likewise.
26484 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26485 variants of the GNU system, not "GNU system".
26486 * manual/conf.texi: Likewise.
26487 * manual/errno.texi: Likewise. Update example of errno macro
26488 expansion.
26489 * manual/filesys.texi: Likewise.
26490 (getumask): Document as specific to GNU/Hurd.
26491 * manual/install.texi: Likewise. Reword some references to
26492 GNU/Linux.
26493 * manual/intro.texi: Likewise.
26494 * manual/io.texi: Likewise.
26495 (File Name Portability): Detail which constraints are inapplicable
26496 to all GNU systems and which are only inapplicable to GNU/Hurd.
26497 * manual/job.texi: Likewise.
26498 * manual/llio.texi: Likewise.
26499 (O_NOCTTY): Document as present on GNU/Linux.
26500 * manual/maint.texi: Likewise.
26501 * manual/memory.texi: Likewise.
26502 * manual/pattern.texi: Likewise.
26503 * manual/pipe.texi: Likewise.
26504 * manual/process.texi: Likewise.
26505 * manual/resource.texi: Likewise.
26506 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26507 child on GNU/Hurd.
26508 * manual/setjmp.texi: Likewise.
26509 * manual/signal.texi: Likewise.
26510 * manual/startup.texi: Likewise.
26511 * manual/stdio.texi: Likewise.
26512 * manual/terminal.texi: Likewise.
26513 (ONLCR): Document as POSIX.
26514 (OXTABS): Document availability on GNU/Linux as XTABS.
26515 (ONOEOT): Document availability separately from other bits.
26516 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26517 * manual/time.texi: Likewise.
26518 * manual/users.texi: Likewise.
26519 * INSTALL: Regenerated.
26520 * sysdeps/gnu/errlist.c: Regenerated.
26521
07037eeb
JM
26522 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26523 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26524 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26525 puts.
26526 * configure: Regenerated.
26527
d1d3431a
JM
265282012-03-07 Joseph Myers <joseph@codesourcery.com>
26529
af6a1e37
JM
26530 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26531 default includes instead of AC_HEADER_CHECK.
26532 * sysdeps/i386/configure: Regenerated.
26533
d1d3431a
JM
26534 [BZ #10716]
26535 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26536 * math/s_cacoshf.c (__cacoshf): Likewise.
26537 * math/s_cacoshl.c (__cacoshl): Likewise.
26538 * math/s_casinh.c (__casinh): Set signs of result from argument.
26539 * math/s_casinhf.c (__casinhf): Likewise.
26540 * math/s_casinhl.c (__casinhl): Likewise.
26541 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26542 (casinh_test): Add more tests.
26543 * sysdeps/i386/fpu/libm-test-ulps: Update.
26544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26545
482ff4da
UD
265462012-03-07 Ulrich Drepper <drepper@gmail.com>
26547
872fda05
UD
26548 * po/zh_TW.po: Update from translation team.
26549
a4300c7a
UD
26550 * login/Makefile (distribute): Remove variable.
26551 * catgets/Makefile: Likewise.
26552 * mach/Makefile: Likewise.
26553 * malloc/Makefile: Likewise.
26554 * misc/Makefile: Likewise.
26555 * iconv/Makefile: Likewise.
26556 * nscd/Makefile: Likewise.
26557 * hurd/Makefile: Likewise.
26558 * manual/Makefile: Likewise.
26559 * locale/Makefile: Likewise.
26560 * intl/Makefile: Likewise.
26561 * conform/Makefile: Likewise.
26562 * nss/Makefile: Likewise.
26563 * time/Makefile: Likewise.
26564 * soft-fp/Makefile: Likewise.
26565 * dirent/Makefile: Likewise.
26566 * gmon/Makefile: Likewise.
26567 * po/Makefile: Likewise.
26568 * rt/Makefile: Likewise.
26569 * socket/Makefile: Likewise.
26570 * math/Makefile: Likewise.
26571 * signal/Makefile: Likewise.
26572 * debug/Makefile: Likewise.
26573 * elf/Makefile: Likewise.
26574 * timezone/Makefile: Likewise.
26575 * stdlib/Makefile: Likewise.
26576 * iconvdata/Makefile: Likewise.
26577 * sunrpc/Makefile: Likewise.
26578 * io/Makefile: Likewise.
26579 * argp/Makefile: Likewise.
26580 * inet/Makefile: Likewise.
26581 * hesiod/Makefile: Likewise.
26582 * grp/Makefile: Likewise.
26583 * csu/Makefile: Likewise.
26584 * wctype/Makefile: Likewise.
26585 * crypt/Makefile: Likewise.
26586 * libio/Makefile: Likewise.
26587 * string/Makefile: Likewise.
26588 * nis/Makefile: Likewise.
26589 * resolv/Makefile: Likewise.
26590 * stdio-common/Makefile: Likewise.
26591 * wcsmbs/Makefile: Likewise.
26592 * dlfcn/Makefile: Likewise.
26593 * posix/Makefile: Likewise.
26594
3b7c4e74 26595 [BZ #6959]
482ff4da
UD
26596 * timezone/Makefile: Don't install timezone files, just the programs
26597 and scripts.
26598
f72ed77d
UD
265992012-03-06 Ulrich Drepper <drepper@gmail.com>
26600
a000466f
UD
26601 * nss/databases.def: Add missing gshadow entry.
26602
f72ed77d
UD
26603 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26604
a53b7a4e
MP
266052012-03-06 Marek Polacek <polacek@redhat.com>
26606
26607 [BZ #13726]
26608 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26609 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26610 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26611 * stdio-common/tst-long-dbl-fphex.c: New file.
26612
e9258400
DM
266132012-03-06 David S. Miller <davem@davemloft.net>
26614
26615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26616 (set_obp_int): New function.
26617 (get_obp_int): New function.
26618 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26619 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26620 Avoid unused variable warnings on 'val' and use builtin_expect.
26621 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26622 __builtin_expect.
e9258400
DM
26623 (INLINE_CLONE_SYSCALL): Likewise.
26624
3bd2c723
DM
266252012-03-05 David S. Miller <davem@davemloft.net>
26626
26627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26628
bbb78d03
AS
266292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26630
884c5db4
AS
26631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26632
bbb78d03
AS
26633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26634 only for |x| >= 40.
26635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26636
1c9f702a 266372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26638
26639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26640 Replace gettimeofday with __vdso_gettimeofday.
26641
7be16f82
RM
26642 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26643 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26644 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26645
26646 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26647 time with __vdso_time.
26648
ed58a00f
JM
266492012-03-05 Joseph Myers <joseph@codesourcery.com>
26650
26651 * manual/lang.texi (size_t): Note types to which size_t may be
26652 equivalent with the GNU C Library, but do not describe when
26653 differences between them are significant.
26654
30ee4ced
AJ
266552012-03-05 Andreas Jaeger <aj@suse.de>
26656
26657 * sysdeps/i386/fpu/libm-test-ulps: Update.
26658
b7cd39e8
JM
266592012-03-05 Joseph Myers <joseph@codesourcery.com>
26660
26661 [BZ #3976]
26662 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26663 (__ieee754_pow): Save and restore rounding mode and use
26664 round-to-nearest for main computations.
26665 * math/libm-test.inc (pow_test_tonearest): New function.
26666 (pow_test_towardzero): Likewise.
26667 (pow_test_downward): Likewise.
26668 (pow_test_upward): Likewise.
26669 (main): Call the new functions.
26670 * sysdeps/i386/fpu/libm-test-ulps: Update.
26671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26672
26673 [BZ #3976]
26674 * math/libm-test.inc (cosh_test_tonearest): New function.
26675 (cosh_test_towardzero): Likewise.
26676 (cosh_test_downward): Likewise.
26677 (cosh_test_upward): Likewise.
26678 (sinh_test_tonearest): Likewise.
26679 (sinh_test_towardzero): Likewise.
26680 (sinh_test_downward): Likewise.
26681 (sinh_test_upward): Likewise.
26682 (main): Call the new functions.
26683 * sysdeps/i386/fpu/libm-test-ulps: Update.
26684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26685
6c6a98c9
TV
266862012-03-05 Tom de Vries <tom@codesourcery.com>
26687
26688 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26689 default stack guard is set in last bytes.
26690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26691
21bb2d2e 266922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26693
21bb2d2e 26694 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26695
21bb2d2e
AJ
26696 [BZ #13656]
26697 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26698 possibly allocate from heap instead of stack.
26699 * stdio-common/bug-vfprintf-nargs.c: New file.
26700 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26701
c6922934
AS
267022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26703
26704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26705
bc957d53
MP
267062012-03-03 Marek Polacek <polacek@redhat.com>
26707
26708 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26709 * math/math_private.h: Likewise.
26710 * stdlib/tst-strtod.c: Likewise.
26711 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26712 * sysdeps/x86_64/bits/atomic.h: Likewise.
26713
6358490d
DM
267142012-03-02 David S. Miller <davem@davemloft.net>
26715
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26720 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26721 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26722 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26723 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26724
01ae168d
RM
267252012-03-02 Roland McGrath <roland@hack.frob.com>
26726
d9a17c07
RM
26727 [BZ #13792]
26728 * manual/examples/README: New file, says the example source files
26729 can be used under GPL>=2.
26730 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26731 line containing just "*/".
26732 * manual/examples/add.c: Add copyright header (GPL>=2).
26733 * manual/examples/argp-ex1.c: Likewise.
26734 * manual/examples/argp-ex2.c: Likewise.
26735 * manual/examples/argp-ex3.c: Likewise.
26736 * manual/examples/argp-ex4.c: Likewise.
26737 * manual/examples/atexit.c: Likewise.
26738 * manual/examples/db.c: Likewise.
26739 * manual/examples/dir.c: Likewise.
26740 * manual/examples/dir2.c: Likewise.
26741 * manual/examples/execinfo.c: Likewise.
26742 * manual/examples/filecli.c: Likewise.
26743 * manual/examples/filesrv.c: Likewise.
26744 * manual/examples/fmtmsgexpl.c: Likewise.
26745 * manual/examples/genpass.c: Likewise.
26746 * manual/examples/inetcli.c: Likewise.
26747 * manual/examples/inetsrv.c: Likewise.
26748 * manual/examples/isockad.c: Likewise.
26749 * manual/examples/longopt.c: Likewise.
26750 * manual/examples/memopen.c: Likewise.
26751 * manual/examples/memstrm.c: Likewise.
26752 * manual/examples/mkfsock.c: Likewise.
26753 * manual/examples/mkisock.c: Likewise.
26754 * manual/examples/mygetpass.c: Likewise.
26755 * manual/examples/pipe.c: Likewise.
26756 * manual/examples/popen.c: Likewise.
26757 * manual/examples/rprintf.c: Likewise.
26758 * manual/examples/search.c: Likewise.
26759 * manual/examples/select.c: Likewise.
26760 * manual/examples/setjmp.c: Likewise.
26761 * manual/examples/sigh1.c: Likewise.
26762 * manual/examples/sigusr.c: Likewise.
26763 * manual/examples/stpcpy.c: Likewise.
26764 * manual/examples/strdupa.c: Likewise.
26765 * manual/examples/strftim.c: Likewise.
26766 * manual/examples/strncat.c: Likewise.
26767 * manual/examples/subopt.c: Likewise.
26768 * manual/examples/swapcontext.c: Likewise.
26769 * manual/examples/termios.c: Likewise.
26770 * manual/examples/testopt.c: Likewise.
26771 * manual/examples/testpass.c: Likewise.
26772 * manual/examples/timeval_subtract.c: Likewise.
26773
01ae168d
RM
26774 [BZ #13792]
26775 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26776 function to ...
26777 * manual/timeval_subtract.c.texi: ... here, new file.
26778
49efa33d
DM
267792012-03-02 David S. Miller <davem@davemloft.net>
26780
26781 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26782
28afd92d
JM
267832012-03-02 Joseph Myers <joseph@codesourcery.com>
26784
804360ed
JM
26785 [BZ #3976]
26786 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26787 (__sin): Save and restore rounding mode and use round-to-nearest
26788 for all computations.
26789 (__cos): Save and restore rounding mode and use round-to-nearest
26790 for all computations.
26791 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26792 <fenv.h>.
26793 (tan): Save and restore rounding mode and use round-to-nearest for
26794 all computations.
26795 * math/libm-test.inc (cos_test_tonearest): New function.
26796 (cos_test_towardzero): Likewise.
26797 (cos_test_downward): Likewise.
26798 (cos_test_upward): Likewise.
26799 (sin_test_tonearest): Likewise.
26800 (sin_test_towardzero): Likewise.
26801 (sin_test_downward): Likewise.
26802 (sin_test_upward): Likewise.
26803 (tan_test_tonearest): Likewise.
26804 (tan_test_towardzero): Likewise.
26805 (tan_test_downward): Likewise.
26806 (tan_test_upward): Likewise.
26807 (main): Call the new functions.
26808 * sysdeps/i386/fpu/libm-test-ulps: Update.
26809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26810
a6d06d7b
JM
26811 [BZ #10135]
26812 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26813 small n, then large n, before computing and testing k+n.
26814 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26816 Likewise.
26817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26818 Likewise.
26819 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26820 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26825 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26826 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26827 * math/libm-test.inc (scalbn_test): Add more tests.
26828 (scalbln_test): Likewise.
26829
07e12bb3
JM
26830 * manual/filesys.texi (mode_t): Describe constraints on size and
26831 signedness, not exact equivalence to a particular type.
26832 (ino_t): Likewise.
26833 (ino64_t): Likewise.
26834 (dev_t): Likewise.
26835 (nlink_t): Likewise.
26836 (blkcnt_t): Likewise.
26837 (blkcnt64_t): Likewise.
26838 * manual/llio.texi (off_t): Likewise.
26839
28afd92d
JM
26840 [BZ #3976]
26841 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26842 (__ieee754_exp): Save and restore rounding mode and use
26843 round-to-nearest for all computations.
26844 * math/libm-test.inc (exp_test_tonearest): New function.
26845 (exp_test_towardzero): Likewise.
26846 (exp_test_downward): Likewise.
26847 (exp_test_upward): Likewise.
26848 (main): Call the new functions.
26849 * sysdeps/i386/fpu/libm-test-ulps: Update.
26850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26851
b1eeb65d
CD
268522012-03-01 Chris Demetriou <cgd@google.com>
26853
26854 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26855 have predictable order.
26856
53362a4b
DM
268572012-03-01 David S. Miller <davem@davemloft.net>
26858
3c969083
DM
26859 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26860
759707de
DM
26861 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26862 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26863 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26864 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26865
dfdb8ff2
DM
26866 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26867 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26868 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26870 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26871 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26872 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26873 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26874 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26875
ead89f96
DM
26876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26877
7f66bd07
DM
26878 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26879 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26880 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26881
53362a4b
DM
26882 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26883 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26884 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26885 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26886 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26887 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26888 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26890 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26892 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26895 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26898 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26899 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26900 * sysdeps/sparc/elf/configure: Regenerated.
26901
7b1902cb
JM
269022012-03-01 Joseph Myers <joseph@codesourcery.com>
26903
bec039bc
JM
26904 * configure.in (AS, LD): Require binutils 2.20 or later.
26905 * configure: Regenerated.
26906 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26907 as required minimum version.
26908 * INSTALL: Regenerated.
26909
7b1902cb
JM
26910 [BZ #2541]
26911 [BZ #4108]
26912 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26913 before squaring exponent.
26914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26915 bottom long double and 27 bits of top long double before squaring
26916 exponent.
26917 * math/libm-test.inc (erfc_test): Add more tests.
26918 * sysdeps/i386/fpu/libm-test-ulps: Update.
26919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26921
f775c276
KT
269222012-03-01 Kai Tietz <ktietz@redhat.com>
26923
26924 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26925 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26926 containing bit-fields.
26927 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26928 * soft-fp/single.h (_FP_UNION_S): Likewise.
26929 * soft-fp/double.h (_FP_UNION_D): Likewise.
26930
5b8a4d4a
JM
269312012-02-29 Joseph Myers <joseph@codesourcery.com>
26932
0bab47b6
JM
26933 [BZ #13786]
26934 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26935 not include ../strcmp.S.
26936 [USE_AS_STRNCASECMP_L]: Likewise.
26937 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26938 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26939 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26940 (__strncasecmp_l_ia32): Define as alias to
26941 __strncasecmp_l_nonascii.
26942
0fcad3e2
JM
26943 [BZ #5794]
26944 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26945 * sysdeps/i386/fpu/libm-test-ulps: Update.
26946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26947
5b8a4d4a
JM
26948 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26950
8fdceb2e
JL
269512012-02-29 Jeff Law <law@redhat.com>
26952
26953 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26954 out of bounds read.
26955
1f393a11
MP
269562012-02-29 Marek Polacek <polacek@redhat.com>
26957
26958 [BZ #13706]
26959 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26960 * elf/Makefile: Add rules to run tst-unused-dep.out.
26961
8847f037
DM
269622012-02-28 David S. Miller <davem@davemloft.net>
26963
26964 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26965 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26966 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26967 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26968 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26969 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26970
169d7f11
JM
269712012-02-29 Joseph Myers <joseph@codesourcery.com>
26972
26973 * math/libm-test.inc (llround_test): Move one test from
26974 lround_test. Use TEST_f_L in moved test.
26975 (lround_test): Move misplaced test to llround_test. Add testcase
26976 from bug 2561.
26977
39adf059
UD
269782012-02-28 Ulrich Drepper <drepper@gmail.com>
26979
26980 * sysdeps/x86_64/fpu/e_expf.S: New file.
26981 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26982
71b5d1c5
SB
269832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26984
26985 [BZ #13637]
26986 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26987 of remain_len that may cause incomplete multi-byte character and
26988 false match.
26989 * posix/bug-regex33.c: New file.
26990 * posix/Makefile (tests): Add bug-regex33.
26991
1f77f049
JM
269922012-02-28 Joseph Myers <joseph@codesourcery.com>
26993
26994 * manual/macros.texi: New file.
26995 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26996 * manual/libc.texinfo: Include macros.texi.
26997 * manual/creatute.texi: Likewise.
26998 * manual/install.texi: Likewise.
26999 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27000 @glibcadj{} in references to the GNU C Library.
27001 * manual/charset.texi: Likewise.
27002 * manual/conf.texi: Likewise.
27003 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27004 when not using those macros.
27005 * manual/creature.texi: Likewise.
27006 * manual/crypt.texi: Likewise.
27007 * manual/errno.texi: Likewise.
27008 * manual/filesys.texi: Likewise.
27009 * manual/header.texi: Likewise.
27010 * manual/install.texi: Likewise.
27011 * manual/intro.texi: Likewise.
27012 * manual/io.texi: Likewise.
27013 * manual/job.texi: Likewise.
27014 * manual/lang.texi: Likewise.
27015 * manual/libc.texiinfo: Likewise.
27016 * manual/llio.texi: Likewise.
27017 * manual/locale.texi: Likewise.
27018 * manual/maint.texi: Likewise.
27019 * manual/math.texi: Likewise.
27020 * manual/memory.texi: Likewise.
27021 * manual/message.texi: Likewise.
27022 * manual/nss.texi: Likewise.
27023 * manual/pattern.texi: Likewise.
27024 * manual/process.texi: Likewise.
27025 * manual/resource.texi: Likewise.
27026 * manual/search.texi: Likewise.
27027 * manual/setjmp.texi: Likewise.
27028 * manual/signal.texi: Likewise.
27029 * manual/socket.texi: Likewise.
27030 * manual/startup.texi: Likewise.
27031 * manual/stdio.texi: Likewise.
27032 * manual/string.texi: Likewise.
27033 * manual/sysinfo.texi: Likewise.
27034 * manual/syslog.texi: Likewise.
27035 * manual/terminal.texi: Likewise.
27036 * manual/time.texi: Likewise.
27037 * manual/users.texi: Likewise.
27038 * INSTALL: Regenerated.
27039 * NOTES: Regenerated.
d40c5d54 27040 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27041
450bf206
AS
270422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27043
27044 * include/dirent.h: Include <dirstream.h> before
27045 <dirent/dirent.h>.
27046
741a235b
DM
270472012-02-28 David S. Miller <davem@davemloft.net>
27048
27049 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27050 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27051 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27052 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27053
d6b5aa58
DM
270542012-02-27 David S. Miller <davem@davemloft.net>
27055
1aff59a3
DM
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27058 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27059 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27060
d6b5aa58
DM
27061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27062 frame pointer instead of stack pointer relative arg slot.
27063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27066
433f48bf
CD
270672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27068
27069 [BZ #3992]
27070 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27071
d674b76d
DM
270722012-02-27 David S. Miller <davem@davemloft.net>
27073
27074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27078 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27079 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27080 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27081 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27082
0e7727f7
JM
270832012-02-27 Joseph Myers <joseph@codesourcery.com>
27084
27085 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27086 later. Allow versions 5-9.
43be4ca2 27087 * configure: Regenerated.
0e7727f7
JM
27088 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27089 required minimum version and 4.6 as recommended version. Do not
27090 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27091 * INSTALL: Regenerated.
0e7727f7 27092
a78bc654
DM
270932012-02-27 David S. Miller <davem@davemloft.net>
27094
428d5830
DM
27095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27099 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27100 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27101 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27102 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27103
a78bc654
DM
27104 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27105 manipulate bits before adding and subtracting TWO112[sx].
27106 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27107
4579f81c
RM
271082012-02-27 Roland McGrath <roland@hack.frob.com>
27109
36c8acb4
RM
27110 [BZ #13775]
27111 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27112 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27113 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27114 being in POSIX, because they are in 1003.1-2008.
27115
84ad622b
RM
27116 * rt/tst-aio.c: Include <fcntl.h>.
27117 * rt/tst-aio7.c: Likewise.
27118 * rt/tst-aio64.c: Likewise.
27119
4579f81c
RM
27120 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27121
abd923db
JM
271222012-02-27 Joseph Myers <joseph@codesourcery.com>
27123
27124 * manual/install.texi (--with-headers): Describe headers as
27125 interface headers, not private headers.
27126 (Specific advice for GNU/Linux systems): Describe use of headers
27127 from "make headers_install", not private headers from older
27128 kernels.
43be4ca2 27129 * INSTALL: Regenerated.
abd923db
JM
27130 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27131 Change to 2.6.19.
27132 * sysdeps/unix/sysv/linux/configure: Regenerated.
27133
6664049b
JM
27134 * manual/llio.texi (fclean): Remove documentation.
27135
bb8b6697
JM
27136 * manual/Makefile (libc-texi-generated): New variable. Include
27137 version.texi.
27138 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27139 $(libc-texi-generated), not duplicated list of files.
27140 (version.texi, stamp-version): New rules.
27141 (realclean): Remove $(libc-texi-generated), not individual files
27142 from that list. Do not remove dir-add.texinfo.
27143 * manual/libc.texinfo: Comment out uses of edition numbers and
27144 references to printed manual. Remove last-updated dates.
27145 (EDITION): Comment out.
27146 (ISBN): Likewise.
27147 (VERSION, UPDATED): Remove.
27148 (version.texi): Include.
27149
12e5c3b9
AS
271502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27151
27152 * sysdeps/posix/spawni.c: Include <signal.h>.
27153 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27154 * sysdeps/pthread/aio_fsync.c: Likewise.
27155
4efeffc1 271562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27157
ba63ba08
UD
27158 * conform/Makefile (tests): Run only when not cross-compiling and
27159 when fast-check is not defined.
27160
d94a4670
UD
27161 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27162 * conform/data/limits.h-data: Fixes for POSIX2008.
27163 * conform/run-conformtest.sh: Run all tests.
27164 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27165 headers.
27166 * include/bits/dlfcn.h: Likewise.
27167 * include/langinfo.h: Likewise.
27168 * include/monetary.h: Likewise.
27169 * include/sys/poll.h: Likewise.
27170
27171 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27172 for __USE_GNU.
27173 * posix/spawn.h: Define __need_sigset_t.
27174 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27175 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27176 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27177 to get sigevent_t only.
27178 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27179 only for __USE_GNU.
27180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27181 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27182 process_vm_writev only for __USE_GNU.
27183 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27184
27185 * conform/Makefile: For now ignore errors from run-conformtest.
27186 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27187 POSIX to avoid namespace pollution. Don't prepend headers.
27188 * conform/data/aio.h-data: Fixes for POSIX testing.
27189 * conform/data/fcntl.h-data: Likewise.
27190 * conform/data/glob.h-data: Likewise.
27191 * conform/data/grp.h-data: Likewise.
27192 * conform/data/pthread.h-data: Likewise.
27193 * conform/data/pwd.h-data: Likewise.
27194 * conform/data/signal.h-data: Likewise.
27195 * conform/data/spawn.h-data: Likewise.
27196 * conform/data/stdio.h-data: Likewise.
27197 * conform/data/stdlib.h-data: Likewise.
27198 * conform/data/stropts.h-data: Likewise.
27199 * conform/data/sys/mman.h-data: Likewise.
27200 * conform/data/sys/stat.h-data: Likewise.
27201 * conform/data/sys/types.h-data: Likewise.
27202 * conform/data/sys/wait.h-data: Likewise.
27203 * conform/data/time.h-data: Likewise.
27204 * conform/data/unistd.h-data: Likewise.
27205 * conform/data/utime.h-data: Likewise.
27206
27207 * io/sys/stat.h: fchmod was always in POSIX.
27208 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27209 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27210 * rt/aio.h: Define __need_timespec before including <time.h>.
27211 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27212 struct. Add forward declaration of pthread_attr_t and use it in
27213 sigevent.
27214 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27216 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27217 always remove CLK_TCK definition.
27218
c20105c3
AS
272192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27220
27221 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27222
7a270350
UD
272232012-02-25 Ulrich Drepper <drepper@gmail.com>
27224
31341567
UD
27225 * conform/run-conformtest.sh: New file.
27226 * conform/Makefile: Run run-conformtest for tests.
27227 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27228 support.
27229
27230 * conform/data/uchar.h-data: New file.
27231 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27232 * conform/data/arpa/inet.h-data: Likewise.
27233 * conform/data/assert.h-data: Likewise.
27234 * conform/data/complex.h-data: Likewise.
27235 * conform/data/cpio.h-data: Likewise.
27236 * conform/data/ctype.h-data: Likewise.
27237 * conform/data/dirent.h-data: Likewise.
27238 * conform/data/dlfcn.h-data: Likewise.
27239 * conform/data/errno.h-data: Likewise.
27240 * conform/data/fcntl.h-data: Likewise.
27241 * conform/data/float.h-data: Likewise.
27242 * conform/data/fmtmsg.h-data: Likewise.
27243 * conform/data/fnmatch.h-data: Likewise.
27244 * conform/data/ftw.h-data: Likewise.
27245 * conform/data/glob.h-data: Likewise.
27246 * conform/data/grp.h-data: Likewise.
27247 * conform/data/iconv.h-data: Likewise.
27248 * conform/data/inttypes.h-data: Likewise.
27249 * conform/data/langinfo.h-data: Likewise.
27250 * conform/data/libgen.h-data: Likewise.
27251 * conform/data/limits.h-data: Likewise.
27252 * conform/data/locale.h-data: Likewise.
27253 * conform/data/math.h-data: Likewise.
27254 * conform/data/monetary.h-data: Likewise.
27255 * conform/data/mqueue.h-data: Likewise.
27256 * conform/data/ndbm.h-data: Likewise.
27257 * conform/data/net/if.h-data: Likewise.
27258 * conform/data/netdb.h-data: Likewise.
27259 * conform/data/netinet/in.h-data: Likewise.
27260 * conform/data/nl_types.h-data: Likewise.
27261 * conform/data/poll.h-data: Likewise.
27262 * conform/data/pthread.h-data: Likewise.
27263 * conform/data/pwd.h-data: Likewise.
27264 * conform/data/regex.h-data: Likewise.
27265 * conform/data/sched.h-data: Likewise.
27266 * conform/data/search.h-data: Likewise.
27267 * conform/data/semaphore.h-data: Likewise.
27268 * conform/data/setjmp.h-data: Likewise.
27269 * conform/data/signal.h-data: Likewise.
27270 * conform/data/spawn.h-data: Likewise.
27271 * conform/data/stdarg.h-data: Likewise.
27272 * conform/data/stdio.h-data: Likewise.
27273 * conform/data/stdlib.h-data: Likewise.
27274 * conform/data/string.h-data: Likewise.
27275 * conform/data/strings.h-data: Likewise.
27276 * conform/data/stropts.h-data: Likewise.
27277 * conform/data/sys/ipc.h-data: Likewise.
27278 * conform/data/sys/mman.h-data: Likewise.
27279 * conform/data/sys/msg.h-data: Likewise.
27280 * conform/data/sys/resource.h-data: Likewise.
27281 * conform/data/sys/select.h-data: Likewise.
27282 * conform/data/sys/sem.h-data: Likewise.
27283 * conform/data/sys/shm.h-data: Likewise.
27284 * conform/data/sys/socket.h-data: Likewise.
27285 * conform/data/sys/stat.h-data: Likewise.
27286 * conform/data/sys/statvfs.h-data: Likewise.
27287 * conform/data/sys/time.h-data: Likewise.
27288 * conform/data/sys/timeb.h-data: Likewise.
27289 * conform/data/sys/times.h-data: Likewise.
27290 * conform/data/sys/types.h-data: Likewise.
27291 * conform/data/sys/uio.h-data: Likewise.
27292 * conform/data/sys/un.h-data: Likewise.
27293 * conform/data/sys/utsname.h-data: Likewise.
27294 * conform/data/sys/wait.h-data: Likewise.
27295 * conform/data/syslog.h-data: Likewise.
27296 * conform/data/tar.h-data: Likewise.
27297 * conform/data/termios.h-data: Likewise.
27298 * conform/data/utime.h-data: Likewise.
27299 * conform/data/utmpx.h-data: Likewise.
27300 * conform/data/varargs.h-data: Likewise.
27301 * conform/data/wchar.h-data: Likewise.
27302 * conform/data/wctype.h-data: Likewise.
27303 * conform/data/wordexp.h-data: Likewise.
27304
27305 * include/stropts.h: New file.
27306 * include/uchar.h: New file.
27307 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27308 * include/assert.h: Likewise.
27309 * include/ctype.h: Likewise.
27310 * include/dirent.h: Likewise.
27311 * include/dlfcn.h: Likewise.
27312 * include/fcntl.h: Likewise.
27313 * include/fnmatch.h: Likewise.
27314 * include/glob.h: Likewise.
27315 * include/grp.h: Likewise.
27316 * include/libio.h: Likewise.
27317 * include/locale.h: Likewise.
27318 * include/math.h: Likewise.
27319 * include/net/if.h: Likewise.
27320 * include/netdb.h: Likewise.
27321 * include/netinet/in.h: Likewise.
27322 * include/pthread.h: Likewise.
27323 * include/pwd.h: Likewise.
27324 * include/regex.h: Likewise.
27325 * include/sched.h: Likewise.
27326 * include/search.h: Likewise.
27327 * include/setjmp.h: Likewise.
27328 * include/signal.h: Likewise.
27329 * include/stdio.h: Likewise.
27330 * include/stdlib.h: Likewise.
27331 * include/string.h: Likewise.
27332 * include/sys/cdefs.h: Likewise.
27333 * include/sys/mman.h: Likewise.
27334 * include/sys/msg.h: Likewise.
27335 * include/sys/resource.h: Likewise.
27336 * include/sys/select.h: Likewise.
27337 * include/sys/socket.h: Likewise.
27338 * include/sys/stat.h: Likewise.
27339 * include/sys/statvfs.h: Likewise.
27340 * include/sys/time.h: Likewise.
27341 * include/sys/times.h: Likewise.
27342 * include/sys/uio.h: Likewise.
27343 * include/sys/utsname.h: Likewise.
27344 * include/sys/wait.h: Likewise.
27345 * include/termios.h: Likewise.
27346 * include/time.h: Likewise.
27347 * include/ulimit.h: Likewise.
27348 * include/unistd.h: Likewise.
27349 * include/utime.h: Likewise.
27350 * include/wchar.h: Likewise.
27351 * include/wctype.h: Likewise.
27352 * include/wordexp.h: Likewise.
27353
27354 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27355
7a270350
UD
27356 * time/time.h: TIME_UTC must be a macro.
27357 Make timespec_get available for ISO C11 only as well.
27358
7724defc
UD
273592012-02-24 Ulrich Drepper <drepper@gmail.com>
27360
27361 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27362 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27363
6b1d1d46
JM
273642012-02-24 Joseph Myers <joseph@codesourcery.com>
27365
27366 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27367
0f8bbd69
JM
273682012-02-24 Joseph Myers <joseph@codesourcery.com>
27369
27370 * manual/texinfo.tex: Update to version 2012-01-19.16.
27371
66ab80bc
JM
273722012-02-24 Joseph Myers <joseph@codesourcery.com>
27373
27374 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27375
74981cc5
RM
273762012-02-24 Roland McGrath <roland@hack.frob.com>
27377
ee968201
RM
27378 [BZ #13738]
27379 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27380 * manual/fdl-1.3.texi: New file.
27381 * manual/fdl-1.1.texi: File removed.
27382
74981cc5
RM
27383 [BZ #13738]
27384 * manual/libc.texinfo (FDL_VERSION): New @set.
27385 Use it for mention of FDL in cover text.
27386 (Documentation License): Use it in @include file name.
27387
7bb764bc
JM
273882012-02-22 Joseph Myers <joseph@codesourcery.com>
27389 Roland McGrath <roland@hack.frob.com>
27390
27391 [BZ #5461]
27392 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27393 not LONG_LONG_MAX and LONG_LONG_MIN.
27394 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27395 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27396 name.
27397 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27398
6cbeae47
JM
273992012-02-22 Joseph Myers <joseph@codesourcery.com>
27400
27401 [BZ #2547]
27402 [BZ #11365]
27403 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27404 manipulate bits before adding and subtracting TWO23[sx].
27405 * math/libm-test.inc (nearbyint_test): Add more tests.
27406
fe45ce09
JM
274072012-02-22 Joseph Myers <joseph@codesourcery.com>
27408
27409 [BZ #2548]
27410 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27411 bits before adding and subtracting TWO23[sx].
27412 * math/libm-test.inc (rint_test): Add more tests.
27413 (rint_test_tonearest): Likewise.
27414 (rint_test_towardzero): Likewise.
27415 (rint_test_downward): Likewise.
27416 (rint_test_upward: Likewise.
27417
ff3b3d82
JM
274182012-02-22 Joseph Myers <joseph@codesourcery.com>
27419
27420 [BZ #10110]
27421 * include/stdc-predef.h: New file. Extracted from features.h.
27422 * include/features.h: Include stdc-predef.h.
27423 * Makefile (headers): Add stdc-predef.h.
27424 * CONFORMANCE (Compiler limitations): Update.
27425
ef0aab35
JM
274262012-02-22 Joseph Myers <joseph@codesourcery.com>
27427
27428 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27429
58639409
DM
274302012-02-21 David S. Miller <davem@davemloft.net>
27431
27432 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27433 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27434
c0e70b25
DM
274352012-02-20 David S. Miller <davem@davemloft.net>
27436
27437 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27438 using a normal save/restore sequence, rather than allocating a
27439 dummy stack frame just to store a frame pointer and restore.
27440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27441
fb06851d
JM
274422012-02-21 Joseph Myers <joseph@codesourcery.com>
27443
27444 * manual/install.texi: Fix stray word in line-wrapped comment.
27445
7a8b71c3
DM
274462012-02-20 David S. Miller <davem@davemloft.net>
27447
d510c123
DM
27448 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27449 both binutils and gcc support GOTDATA.
27450
0722d7c2
DM
27451 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27452 "rd %pc" in the PIC register setup sequences.
27453
3d2b3019
DM
27454 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27455 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27456 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27457 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27458 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27460 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27461 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27463 (SYSCALL_ERROR_HANDLER): Likewise.
27464 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27467 (SYSCALL_ERROR_HANDLER): Likewise.
27468
c80098a9
DM
27469 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27470 (HAVE_GCC_GOTDATA): New.
27471 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27472 relocation support in both binutils and gcc.
27473 * sysdeps/sparc/elf/configure: Regenerate.
27474
3a2545a0
DM
27475 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27476 * sysdeps/sparc/sparc32/elf/configure: Delete.
27477 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27478 * sysdeps/sparc/sparc64/elf/configure: Delete.
27479 * sysdeps/sparc/elf/configure.in: New file.
27480 * sysdeps/sparc/elf/configure: Generate.
27481
7a8b71c3
DM
27482 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27483 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27484 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27485 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27486 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27487
f1e86fca
JM
274882012-02-21 Joseph Myers <joseph@codesourcery.com>
27489
27490 * manual/install.texi: Do not mention specific glibc version
27491 numbers.
27492 * manual/libc.texinfo (VERSION, UPDATED): Update.
27493 (@copying): Use @copyright{} and range of years.
27494
0e7dfaef
JM
274952012-02-21 Joseph Myers <joseph@codesourcery.com>
27496
27497 [BZ #13695]
27498 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27499 [crti.S not in sysdirs] (generated): Do not append.
27500 [crti.S not in sysdirs] (omit-deps): Likewise.
27501 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27502 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27503 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27504 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27505 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27506 Likewise.
27507 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27508 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27509 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27510 * csu/defs.awk: Remove file.
27511 * sysdeps/generic/initfini.c: Likewise.
27512 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27513 variable.
27514 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27515 Likewise.
27516
599af3ca
JM
275172012-02-20 Joseph Myers <joseph@codesourcery.com>
27518
27519 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27520 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27521 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27522 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27523 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27524 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27525 <bits/epoll.h>.
27526 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27527 (__EPOLL_PACKED): Define to empty if not defined by
27528 <bits/epoll.h>.
27529 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27531 bits/epoll.h.
27532
0e499750
JM
275332012-02-20 Joseph Myers <joseph@codesourcery.com>
27534
27535 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27536 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27537 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27538 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27539 <bits/timerfd.h>.
27540 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27542 bits/timerfd.h.
27543
5ad91f6e
JM
275442012-02-20 Joseph Myers <joseph@codesourcery.com>
27545
27546 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27547 in C locale.
27548 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27549 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27550 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27552
06b99b02
AJ
275532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27554
27555 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27556 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27557
7638c0fd
AS
275582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27559
27560 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27561 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27562 defined.
27563 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27564 Likewise.
27565 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27566 entry for 2.16.
27567
92221550
AJ
275682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27569
27570 * math/w_acos.c: Use non-signaling floating-point comparisons.
27571 * math/w_acosf.c: Likewise.
27572 * math/w_acosh.c: Likewise.
27573 * math/w_acoshf.c: Likewise.
27574 * math/w_acoshl.c: Likewise.
27575 * math/w_acosl.c: Likewise.
27576 * math/w_asin.c: Likewise.
27577 * math/w_asinf.c: Likewise.
27578 * math/w_asinl.c: Likewise.
27579 * math/w_atanh.c: Likewise.
27580 * math/w_atanhf.c: Likewise.
27581 * math/w_atanhl.c: Likewise.
27582 * math/w_exp2.c: Likewise.
27583 * math/w_exp2f.c: Likewise.
27584 * math/w_exp2l.c: Likewise.
27585 * math/w_j0.c: Likewise.
27586 * math/w_j0f.c: Likewise.
27587 * math/w_j0l.c: Likewise.
27588 * math/w_j1.c: Likewise.
27589 * math/w_j1f.c: Likewise.
27590 * math/w_j1l.c: Likewise.
27591 * math/w_jn.c: Likewise.
27592 * math/w_jnf.c: Likewise.
27593 * math/w_log.c: Likewise.
27594 * math/w_log10.c: Likewise.
27595 * math/w_log10f.c: Likewise.
27596 * math/w_log10l.c: Likewise.
27597 * math/w_log2.c: Likewise.
27598 * math/w_log2f.c: Likewise.
27599 * math/w_log2l.c: Likewise.
27600 * math/w_logf.c: Likewise.
27601 * math/w_logl.c: Likewise.
27602 * math/w_sqrt.c: Likewise.
27603 * math/w_sqrtf.c: Likewise.
27604 * math/w_sqrtl.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27607 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27608 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27609 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27610
ebaf36eb
JM
276112012-02-19 Joseph Myers <joseph@codesourcery.com>
27612
27613 [BZ #9739]
27614 * manual/string.texi (strnlen): Use correct parameter name in
27615 equivalent expression.
27616
71c254a6
JM
276172012-02-19 Joseph Myers <joseph@codesourcery.com>
27618
27619 [BZ #11174]
27620 * manual/users.texi (seteuid): Consistently use neweuid for
27621 argument name.
27622
16d2c631
JM
276232012-02-19 Joseph Myers <joseph@codesourcery.com>
27624
27625 [BZ #13704]
27626 * manual/nss.texi (Services in the NSS configuration): Correct
27627 list of services in example configuration file.
27628
cd837b09
NB
276292012-02-19 Nick Bowler <nbowler@draconx.ca>
27630
27631 [BZ #11322]
27632 * manual/arith.texi: Remove statements about negative zero
27633 behaving identically to zero.
27634
02c4bbad
JM
276352012-02-18 Joseph Myers <joseph@codesourcery.com>
27636
27637 [BZ #5993]
27638 * manual/install.texi: Do not document upgrading from libc5.
27639
366842e7
JM
276402012-02-18 Joseph Myers <joseph@codesourcery.com>
27641
27642 [BZ #4596]
27643 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27644
dd54084d
DM
276452012-02-18 David S. Miller <davem@davemloft.net>
27646
27647 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27648 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27649 %o7 across the call.
27650 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27651 instead.
27652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27653 SETUP_PIC_REG_LEAF.
27654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27655 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27656 * sysdeps/sparc/crtn.S: Likewise.
27657
2bcc53a3
UD
276582012-02-17 Ulrich Drepper <drepper@gmail.com>
27659
27660 * aout/Makefile: Remove.
27661
09c093b5
RK
276622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27663
27664 [BZ #13058]
27665 * manual/examples/argp-ex1.c (main): Format definition in GNU
27666 style.
27667 * manual/examples/argp-ex2.c (main): Likewise.
27668 * manual/examples/argp-ex3.c (main): Likewise.
27669 * manual/examples/argp-ex4.c (main): Likewise.
27670 * manual/examples/longopt.c (main): Use new-style prototype
27671 definition.
27672 * manual/examples/strncat.c (main): Specify return type and use
27673 (void) for arguments.
27674 * manual/examples/subopt.c (main): Use char **argv argument.
27675
2ee633a2
JM
276762012-02-17 Joseph Myers <joseph@codesourcery.com>
27677
27678 [BZ #5077]
27679 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27680 rounding modes.
27681
0520adde
FB
276822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27683
27684 [BZ #6907]
27685 * manual/string.texi (strchr): Change when strchrnul is
27686 recommended.
27687
3f4081cd
DGM
276882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27689
27690 [BZ #174]
27691 * manual/locale.texi (setlocale): Document LOCPATH.
27692
d1b10e78
JM
276932012-02-17 Joseph Myers <joseph@codesourcery.com>
27694
27695 [BZ #10210]
27696 * manual/process.texi (execle): Move @dots{} before last argument.
27697
79c6869c
PB
276982012-02-17 Paul Bolle <pebolle@tiscali.nl>
27699
27700 [BZ #12047]
27701 * manual/charset.texi (Generic Charset Conversion): Fix typo
27702 (LC_TYPE -> LC_CTYPE).
27703
cc6e48bc
NB
277042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27705
27706 [BZ #5805]
27707 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27708 (scalbnf): Likewise.
27709 (scalbnl): Likewise.
27710 (scalbln): Likewise.
27711 (scalblnf): Likewise.
27712 (scalblnl): Likewise.
27713 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27714 (vwarnx): Likewise.
27715 (verr): Likewise.
27716 (verrx): Likewise.
27717 * manual/filesys.texi (telldir): Use braces around return type.
27718 * manual/llio.texi (mmap): Add space after comma.
27719 (mmap64): Likewise.
27720 * manual/math.texi (jn): Use @var{} on parameter names.
27721 (jnf): Likewise.
27722 (jnl): Likewise.
27723 (yn): Likewise.
27724 (ynf): Likewise.
27725 (ynl): Likewise.
27726 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27727 line.
27728 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27729 "...".
27730 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27731 (sched_get_priority_max): Likewise.
27732 * manual/signal.texi (sigvec): Add space after comma.
27733 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27734 names.
27735 (if_indextoname): Likewise.
27736 (if_freenameindex): Likewise.
27737 (sendto): Use ',' instead of '.' in prototype.
27738 * manual/startup.texi (syscall): Use @dots{} instead of literal
27739 "...".
27740 * manual/stdio.texi (__fpending): Separate initial words of
27741 paragraph from @deftypefun line.
27742 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27743 "...".
27744 (vsyslog): Use @var{} on parameter names.
27745 * manual/terminal.texi (stty): Use @var{} on parameter names.
27746 * manual/users.texi (getutmp): Use @var{} on parameter names.
27747 (getutmpx): Likewise.
27748
5b23062f
JM
277492012-02-17 Joseph Myers <joseph@codesourcery.com>
27750
27751 [BZ #6884]
27752 * manual/stdio.texi (fopen): Fix typos in description of
27753 ",ccs=STRING".
27754
8dee4833
AJ
277552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27756
27757 [BZ #4026]
27758 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27759 get clock_id definition.
27760
9078ce93
TS
277612012-02-17 Thomas Schwinge <thomas@schwinge.name>
27762
27763 [BZ #4822]
27764 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27765 (madvise): Cast every argument to void on its own.
27766
3835c55f
JM
277672012-02-17 Joseph Myers <joseph@codesourcery.com>
27768
27769 [BZ #9902]
27770 * manual/startup.texi (Exit Status): Fix typo.
27771
35c47e37
JM
277722012-02-17 Joseph Myers <joseph@codesourcery.com>
27773
27774 [BZ #10140]
27775 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27776 * manual/examples/argp-ex2.c: Likewise.
27777 * manual/examples/argp-ex3.c: Likewise.
27778
e3b69ca7
RH
277792012-02-16 Richard Henderson <rth@redhat.com>
27780
27781 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27782 * sysdeps/s390/s390-32/initfini.c: Remove.
27783 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27784 * sysdeps/s390/s390-64/initfini.c: Remove.
27785
df83af67
KK
277862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27787
27788 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27789 compiler output for sysdeps/generic/initfini.c.
27790 * sysdeps/sh/elf/initfini.c: Remove file.
27791
f63f3380
DM
277922012-02-16 David S. Miller <davem@davemloft.net>
27793
fb59b3a4
DM
27794 [BZ #11494]
27795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27796
f63f3380
DM
27797 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27798 * sysdeps/sparc/crti.S: New file.
27799 * sysdeps/sparc/crtn.S: New file.
27800 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27801 * sysdeps/sparc/sparc64/Makefile: Likewise.
27802
df6a4a4a
MF
278032012-02-15 Mike Frysinger <vapier@gentoo.org>
27804
6dd8f3dc 27805 [BZ #3335]
df6a4a4a
MF
27806 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27807
1cac7236
RM
278082012-02-15 Roland McGrath <roland@hack.frob.com>
27809
d2c736f8
RM
27810 [BZ #4822]
27811 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27812
1cac7236
RM
27813 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27814 (write, read, close): Likewise.
27815 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27816
8e475601
JM
278172012-02-15 Joseph Myers <joseph@codesourcery.com>
27818
27819 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27820 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27821 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27822 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27823 <bits/signalfd.h>.
27824 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27826 bits/signalfd.h.
27827
ed656b40
MP
278282012-02-14 Marek Polacek <polacek@redhat.com>
27829
27830 * sysdeps/x86_64/crti.S: New file.
27831 * sysdeps/x86_64/crtn.S: New file.
27832 * sysdeps/x86_64/elf/initfini.c: Remove file.
27833
2a979d3a
JM
278342012-02-13 Joseph Myers <joseph@codesourcery.com>
27835
27836 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27837 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27838 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27839 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27840 <bits/inotify.h>.
27841 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27843 bits/inotify.h.
27844
2a418ac3
JM
278452012-02-13 Joseph Myers <joseph@codesourcery.com>
27846
27847 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27848 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27849 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27850 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27851 <bits/eventfd.h>.
27852 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27854 bits/eventfd.h.
27855
fb779be7
TS
278562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27857
e19e83c5
RM
27858 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27859 __feraiseexcept instead of feraiseexcept.
7c35ffed 27860
fb779be7
TS
27861 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27862 nanosleep invocations.
27863 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27864 strings, and add error checking for a nanosleep invocations.
27865
59ba27a6
PE
278662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27867
27868 Replace FSF snail mail address with URLs, as per GNU coding standards.
27869 Most of the snail mail addresses were wrong anyway, and omitting
27870 them makes the source code easier to maintain. Almost all of the
27871 changes are to license notices and to locale LC_IDENTIFICATION
27872 addresses, except for this one:
27873 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27874 not its snail mail address.
27875
57b957eb
RH
278762012-02-09 Richard Henderson <rth@twiddle.net>
27877
af850b1c
RH
27878 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27879 of kernel-features.h.
27880
57b957eb
RH
27881 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27882
6b73181a
MP
278832012-02-08 Marek Polacek <polacek@redhat.com>
27884
27885 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27886 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27887 * sysdeps/gnu/_G_config.h: Likewise.
27888 * sysdeps/generic/_G_config.h: Likewise.
27889
26ecc33a
AS
278902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27891
6c6dbc63
AS
27892 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27893 tests.
27894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27895
e216c012
AS
27896 * sysdeps/powerpc/powerpc32/crti.S: New file.
27897 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27898 * sysdeps/powerpc/powerpc64/crti.S: New file.
27899 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27900
26ecc33a
AS
27901 * Makeconfig (have-initfini): Don't set.
27902 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27903 * configure.in (nopic_initfini): Don't substitute.
27904 * config.h.in (HAVE_INITFINI): Don't #undef.
27905 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27906 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27907
3add8e13
JM
279082012-02-08 Joseph Myers <joseph@codesourcery.com>
27909
27910 Support crti.S and crtn.S provided directly by architectures.
27911 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27912 [crti.S in sysdirs] (omit-deps): Likewise.
27913 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27914 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27915 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27916 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27917 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27918 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27919 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27920 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27921 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27922 compiler output for sysdeps/generic/initfini.c.
27923 * sysdeps/i386/elf/Makefile: Remove file.
27924 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27925
a22f12b4
MP
279262012-02-07 Marek Polacek <polacek@redhat.com>
27927
27928 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27929 * sysdeps/gnu/_G_config.h: Likewise.
27930 * sysdeps/mach/hurd/_G_config.h: Likewise.
27931
148cf100
MP
279322012-02-07 Marek Polacek <polacek@redhat.com>
27933
27934 * math/Makefile (tests): Add tst-CMPLX2.
27935 * math/tst-CMPLX2.c: New file.
27936
cfdc0dd7
AS
279372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27938
84ba42c4
AS
27939 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27940
cfdc0dd7
AS
27941 * math/libm-test.inc (jn_test): Add missing L suffix.
27942
622c86f4
MP
279432012-02-06 Marek Polacek <polacek@redhat.com>
27944
27945 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27946 * sysdeps/i386/fpu/e_powf.S: Likewise.
27947 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27948 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27949 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27950 * sysdeps/i386/fpu/e_pow.S: Likewise.
27951 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27952 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27953 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27954 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27955 * sysdeps/i386/fpu/e_log2.S: Likewise.
27956 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27957 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27958 * sysdeps/i386/fpu/e_powl.S: Likewise.
27959 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27960 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27961 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27962 * sysdeps/i386/fpu/e_logl.S: Likewise.
27963 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27964 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27965 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27966 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27967 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27968 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27969 * sysdeps/i386/fpu/e_log.S: Likewise.
27970 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27972 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27973 * sysdeps/i386/fpu/e_logf.S: Likewise.
27974 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27975 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27976 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27977 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27978 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27979 * sysdeps/i386/fpu/e_log10.S: Likewise.
27980 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27981 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27982 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27983 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27985 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27986 * sysdeps/i386/asm-syntax.h: Likewise.
27987 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27989 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27990 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27991 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27993 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27994 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27995 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27996 * sysdeps/powerpc/sysdep.h: Likewise.
27997 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27998 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27999
d4a54ac6
JM
280002012-02-06 Joseph Myers <joseph@codesourcery.com>
28001
28002 [BZ #411]
28003 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28004
314054ea
JM
280052012-02-06 Joseph Myers <joseph@codesourcery.com>
28006
28007 * sysdeps/i386/sysdep.h: Include <features.h>.
28008 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28009 version.
28010
d8e0ca50
JM
280112012-02-05 Joseph Myers <joseph@codesourcery.com>
28012
28013 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28014 Define.
28015 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28016 LOAD_PIC_REG_STR.
28017
b1da7dd9
JM
280182012-02-03 Joseph Myers <joseph@codesourcery.com>
28019
28020 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28021 (SETUP_PIC_REG): Use GET_PC_THUNK.
28022 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28023 macro.
28024
9a1d9254
JM
280252012-02-03 Joseph Myers <joseph@codesourcery.com>
28026
28027 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28028 for non-PIC compilation.
28029 (SETUP_PIC_REG): Add .p2align directive.
28030 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28031 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28032 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28033 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28034 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28035 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28036 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28038 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28039 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28040 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28041 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28042 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28043 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28044 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28045 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28046 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28048 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28050 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28052 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28053 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28054 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28056 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28058 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28059 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28060 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28061 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28062 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28063 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28064 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28065 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28066 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28067 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28068 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28069 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28070 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28071
65dc3b75
JM
280722012-02-03 Joseph Myers <joseph@codesourcery.com>
28073
28074 * math/tst-CMPLX.c: Include <stdio.h>.
28075
d55bf177
JM
280762012-01-31 Joseph Myers <joseph@codesourcery.com>
28077
28078 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28079 float.
28080 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28081 * sysdeps/sparc/bits/mathdef.h: Likewise.
28082
69db4f8f
MP
280832012-01-31 Marek Polacek <polacek@redhat.com>
28084
28085 * libio/libio.h: Don't define _PARAMS.
28086 * locale/programs/config.h: Don't define PARAMS.
28087 * stdlib/strtol_l.c: Likewise.
28088 (__strtol_l): Remove PARAMS from the prototype.
28089
41b81892
UD
280902012-01-31 Ulrich Drepper <drepper@gmail.com>
28091
3b49edc0
UD
28092 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28093 names. Just use the correct names. Remove unnecessary wrapper
28094 functions.
28095 * malloc/arena.c: Likewise.
28096 * malloc/hooks.c: Likewise.
28097
41b81892
UD
28098 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28099 ARENA_TEST says not to. Simplify test for creation of a new arena.
28100 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28101
27a25b6e
UD
281022012-01-30 Ulrich Drepper <drepper@gmail.com>
28103
28104 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28105 into tail calls.
28106 (update_get_addr): New function.
28107 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28108 GET_ADDR_MODULE parameter.
28109
c8a89e7d
JM
281102012-01-30 Joseph Myers <joseph@codesourcery.com>
28111
28112 * crypt/cert.c: Remove __STDC__ conditionals.
28113 * crypt/crypt-entry.c: Likewise.
28114 * crypt/crypt_util.c: Likewise.
28115 * libio/filedoalloc.c: Likewise.
28116 * libio/fileops.c: Likewise.
28117 * libio/genops.c: Likewise.
28118 * libio/iofclose.c: Likewise.
28119 * libio/iofdopen.c: Likewise.
28120 * libio/iofopen.c: Likewise.
28121 * libio/iofopen64.c: Likewise.
28122 * libio/iogetdelim.c: Likewise.
28123 * libio/iopopen.c: Likewise.
28124 * libio/obprintf.c: Likewise.
28125 * libio/oldfileops.c: Likewise.
28126 * libio/oldiofclose.c: Likewise.
28127 * libio/oldiofdopen.c: Likewise.
28128 * libio/oldiofopen.c: Likewise.
28129 * libio/oldiopopen.c: Likewise.
28130 * libio/wfiledoalloc.c: Likewise.
28131 * libio/wgenops.c: Likewise.
28132 * locale/programs/xmalloc.c: Likewise.
28133 * misc/syslog.c: Likewise.
28134 * stdio-common/xbug.c: Likewise.
28135 * string/memchr.c: Likewise.
28136 * string/memcmp.c: Likewise.
28137 * string/memrchr.c: Likewise.
28138 * string/rawmemchr.c: Likewise.
28139 * sysdeps/posix/getcwd.c: Likewise.
28140 * time/strftime_l.c: Likewise.
28141
3b100462
JM
281422012-01-30 Joseph Myers <joseph@codesourcery.com>
28143
28144 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28145 * config.make.in (config-cflags-sse2avx): Define.
28146 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28147 Fix typo.
28148
607998af
CM
281492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28150
28151 * scripts/config.guess: Update from upstream config git repository.
28152 * scripts/config.sub: Likewise.
28153
3601428f
CM
281542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28155
3ac8b282
CM
28156 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28157 (EM_NUM): Update.
28158 (R_TILEPRO_*, R_TILEGX_*): New macros.
28159
e034841e
CM
28160 * scripts/firstversions.awk: Fix bug in version range handling.
28161
540d7568
CM
28162 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28163
3601428f
CM
28164 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28165
463de862
CM
28166 * include/sys/epoll.h: New file.
28167 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28168 libc_hidden_def.
28169
73139a76
UD
281702012-01-28 Ulrich Drepper <drepper@gmail.com>
28171
96bc5b45
UD
28172 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28173 Avoid unnecessary __WORDSIZE == 64 test.
28174 (fmaxf): Use VEX format if possible.
28175 (fmax): Likewise.
28176 (fminf): Likewise.
28177 (fmin): Likewise.
28178
56f6f6a2
UD
28179 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28180 * math/math_private.h: Remove libc_fegetround* and
28181 libc_fesetround*.
28182 * sysdeps/i386/configure.in: Check for -msse2avx.
28183 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28184 also if SSE2AVX is defined.
28185 Remove libc_fegetround* and libc_fesetround*.
28186 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28187 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28189 of HAS_YMM_USABLE.
28190 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28191 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28192 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28193 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28194 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28195
73139a76
UD
28196 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28197
d73f93a4
AZ
281982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28199
28200 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28201 size is not set.
28202 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28203
6ee65ed6
UD
282042012-01-27 Ulrich Drepper <drepper@gmail.com>
28205
28206 [BZ #13618]
28207 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28208 relocation.
28209 * Makeconfig (libm): Define.
28210 * elf/Makefile: Add rules to build and run tst-relsort1.
28211 * elf/tst-relsort1.c: New file.
28212 * elf/tst-relsort1mod1.c: New file.
28213 * elf/tst-relsort1mod2.c: New file.
28214
8db21882
JM
282152012-01-27 Joseph Myers <joseph@codesourcery.com>
28216
28217 * math/s_ldexp.c: Remove __STDC__ conditionals.
28218 * math/s_ldexpf.c: Likewise.
28219 * math/s_ldexpl.c: Likewise.
28220 * math/s_nextafter.c: Likewise.
28221 * math/s_nexttowardf.c: Likewise.
28222 * math/s_significand.c: Likewise.
28223 * math/s_significandf.c: Likewise.
28224 * math/s_significandl.c: Likewise.
28225 * math/w_jnl.c: Likewise.
28226 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28227 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28228 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28229 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28230 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28239 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28247 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28248 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28249 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28250 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28252 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28253 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28254 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28255 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28256 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28257 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28258 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28260 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28261 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28262 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28263 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28264 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28265 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28266 * sysdeps/ieee754/k_standard.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28328 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28341 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28342 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28345 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28346 * sysdeps/ieee754/s_matherr.c: Likewise.
28347 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28348 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28350 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28351
965a54a4
JM
283522012-01-26 Joseph Myers <joseph@codesourcery.com>
28353
28354 * crypt/md5.h: Remove __STDC__ conditionals.
28355 * libio/libioP.h: Likewise.
28356 * locale/programs/config.h: Likewise.
28357 * sysdeps/generic/sysdep.h: Likewise.
28358 * sysdeps/i386/asm-syntax.h: Likewise.
28359 * sysdeps/s390/asm-syntax.h: Likewise.
28360 * sysdeps/unix/sysdep.h: Likewise.
28361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28363
7071ad79
JM
283642012-01-26 Joseph Myers <joseph@codesourcery.com>
28365
28366 * libio/libio.h: Remove __STDC__ conditionals.
28367 * malloc/obstack.h: Likewise.
28368 * math/complex.h: Likewise.
28369 * math/math.h: Likewise.
28370 * sysdeps/generic/_G_config.h: Likewise.
28371 * sysdeps/gnu/_G_config.h: Likewise.
28372 * sysdeps/mach/hurd/_G_config.h: Likewise.
28373 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28374 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28375 * sysdeps/sparc/bits/mathdef.h: Likewise.
28376
afc5ed09
UD
283772012-01-26 Ulrich Drepper <drepper@gmail.com>
28378
28379 [BZ #13583]
28380 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28381 Clean up HAS_* macros.
afc5ed09 28382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28383 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28384 possible.
28385 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28386 HAS_AVX.
28387 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28388 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28391 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28392
bdb6de1d
JM
283932012-01-25 Joseph Myers <joseph@codesourcery.com>
28394
28395 * elf/tst-unique3.cc (gets): Remove declaration.
28396 * elf/tst-unique3lib.cc (gets): Likewise.
28397 * elf/tst-unique3lib2.cc (gets): Likewise.
28398 * elf/tst-unique4.cc (gets): Likewise.
28399
b15549e6
UD
284002012-01-24 Ulrich Drepper <drepper@gmail.com>
28401
28402 * include/stdio.h: Add C++ protection. Add gets declarations and
28403 definitions.
28404 * debug/tst-chk1.c: Don't declare gets here.
28405 * stdio-common/tst-gets.c: Likewise.
28406
a037381f
JM
284072012-01-24 Joseph Myers <joseph@codesourcery.com>
28408
28409 * posix/glob: Remove directory.
28410
f1d4aa75
JM
284112012-01-24 Joseph Myers <joseph@codesourcery.com>
28412
28413 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28414
81c0c964
PT
284152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28416
28417 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28418 of the non-standard EPFNOSUPPORT.
28419
0ea698ae
ST
284202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28421
28422 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28423 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28424 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28425
d220b117
UD
284262012-01-21 Ulrich Drepper <drepper@gmail.com>
28427
28428 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28429
3e1aa84e
UD
284302012-01-20 Ulrich Drepper <drepper@gmail.com>
28431
28432 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28433 transient errors.
28434 * nscd/grpcache.c (cache_addgr): Likewise.
28435 * nscd/hstcache.c (cache_addhst): Likewise.
28436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28437 * nscd/pwdcache.c (cache_addpw): Likewise.
28438 * nscd/servicescache.c (cache_addserv): Likewise.
28439
400aa020
UD
284402012-01-16 Ulrich Drepper <drepper@gmail.com>
28441
d77e7869
UD
28442 * malloc/malloc.c: Various cleanups.
28443 * malloc/hooks.c: Likewise.
28444
400aa020
UD
28445 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28446 * stdlib/bug-fmtmsg1.c: New file.
28447
28448 * stdlib/fmtmsg.c (init): Add missing unlock.
28449 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28450
e0a309cf
MP
284512012-01-12 Marek Polacek <polacek@redhat.com>
28452
28453 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28454 and _GNU_SOURCE.
28455
929d11c7
WS
284562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28457
28458 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28459 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28460 macro to ensure uniqueness of label name.
28461 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28462 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28463
41d0e869
UD
284642012-01-11 Ulrich Drepper <drepper@gmail.com>
28465
0cc5ed3b
UD
28466 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28467
41d0e869
UD
28468 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28469 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28472
a47a831a
UD
284732012-01-10 Ulrich Drepper <drepper@gmail.com>
28474
daa891c0
UD
28475 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28476
28477 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28478 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28479 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28480
e58ef0f2
UD
28481 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28482
a47a831a 28483 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28484 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28485 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28487
28488 * math/bits/math-finite.h: Add ldexp support.
28489
a0bfc9c7
MP
284902012-01-10 Marek Polacek <polacek@redhat.com>
28491
28492 * locale/programs/localedef.h (show_archive_content): Add noreturn
28493 attribute.
28494
d6e97a1d
UD
284952012-01-09 Ulrich Drepper <drepper@gmail.com>
28496
28497 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28498
d5835c26
UD
284992012-01-08 Ulrich Drepper <drepper@gmail.com>
28500
e5f484c6
UD
28501 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28502
d5835c26
UD
28503 * io/Makefile (headers): Add bits/poll2.h.
28504
d1f741e9
WS
285052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28506
28507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28508 typo #include statement.
28509
ec09c1c4
UD
285102012-01-08 Ulrich Drepper <drepper@gmail.com>
28511
28512 * include/sys/cdefs.h: Define __attribute_alloc_size.
28513 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28514 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28515 * elf/pldd.c: Likewise.
28516 * iconv/iconv_charmap.c: Likewise.
28517 * iconv/iconvconfig.c: Likewise.
28518 * iconv/strtab.c: Likewise.
28519 * locale/programs/locale.c: Likewise.
28520 * locale/programs/localedef.h: Likewise.
28521 * locale/programs/simple-hash.c: Likewise.
28522 * nscd/nscd.h: Likewise.
28523 * nss/makedb.c: Likewise.
28524 * sysdeps/generic/ldconfig.h: Likewise.
28525 * locale/programs/localedef.c: Remove xmalloc prototype.
28526 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28527
20b38e03
PP
285282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28529
28530 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28531 appropriate.
28532
a0da5fe1
UD
285332012-01-08 Ulrich Drepper <drepper@gmail.com>
28534
1d5a644a 28535 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28536 * math/tst-CMPLX.c: New file.
1d5a644a 28537
8784a6db
UD
28538 * math/complex.h (CMPLXL): Fix typo.
28539
d9a216c0
UD
28540 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28541 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28542 GLIBC_2.16.
28543 * debug/tst-chk1.c: Add poll and ppoll tests.
28544 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28545 * include/sys/poll.h: Add hidden proto for ppoll.
28546 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28547 * sysdeps/mach/hurd/ppoll.c: Likewise.
28548 * io/ppoll.c: Likewise.
28549 * debug/poll_chk.c: New file.
28550 * debug/ppoll_chk.c: New file.
28551 * include/bits/poll2.h: New file.
28552 * io/bits/poll2.h: New file.
28553
ac097f5c
UD
28554 [BZ #1350]
28555 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28556
2119dcfa
UD
28557 * configure.in: static is always set to yes. Remove.
28558 * config.make.in: Don't set build-static.
28559 * Makeconfig: Remove use of build-static.
28560 * dlfcn/Makefile: Likewise.
28561 * elf/Makefile: Likewise.
28562 * math/Makefile: Likewise.
28563 * misc/Makefile: Likewise.
28564 * nptl/Makefile: Likewise.
28565 * sysdeps/mach/hurd/Makefile: Likewise.
28566
121766a9
UD
28567 * configure.in: PWD_P is not used anymore.
28568 * config.make.in: Remove PWD_P entry.
28569
51a1d39c 28570 * configure.in: Remove last remnants of RANLIB.
8720d066 28571 No need to check for signed size_t anymore.
215f4bdc
UD
28572 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28573 and IA-64.
3857022a 28574 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28575 * aclocal.m4: Likewise.
28576
d3ed7225
UD
28577 * wcsmbs/mbrtoc16.c: Implement using towc function.
28578 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28579 * wcsmbs/wcsmbsload.c: Likewise.
28580 * iconv/gconv_simple.c: Likewise.
28581 * iconv/gconv_int.h: Likewise.
28582 * iconv/gconv_builtin.h: Likewise.
28583 * iconv/iconv_prog.c: Remove CHAR16 handling.
28584
28585 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28586
28587 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28588
a0da5fe1
UD
28589 * configure.in: Remove --with-elf and --enable-bounded options.
28590 Dont set base_machine for ia64. More non-ELF conditions removed.
28591 Remove testing and setting of leading underscore information.
28592 * config.make.in (build-bounded): Set to no.
28593 * config.h.in: Remove NO_UNDERSCORES entry.
28594 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28595 them.
28596 * csu/start.c: Remove !NO_UNDERSCORE code.
28597 * locale/localeinfo.h: Likewise.
28598 * sysdeps/generic/machine-gmon.h: Likewise.
28599 * sysdeps/generic/sysdep.h: Likewise.
28600 * sysdeps/i386/sysdep.h: Likewise.
28601 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28602 * sysdeps/mach/sysdep.h: Likewise.
28603 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28604 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28605 * sysdeps/sh/sysdep.h: Likewise.
28606 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28607 * sysdeps/unix/i386/sysdep.S: Likewise.
28608 * sysdeps/unix/sparc/start.c: Likewise.
28609 * sysdeps/unix/sparc/sysdep.S: Likewise.
28610 * sysdeps/unix/sparc/sysdep.h: Likewise.
28611 * sysdeps/unix/start.c: Likewise.
28612 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28613 * sysdeps/x86_64/sysdep.h: Likewise.
28614
df78418a
UD
286152012-01-07 Ulrich Drepper <drepper@gmail.com>
28616
a784e502
UD
28617 [BZ #13553]
28618 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28619 for non-gcc.
28620 * argp/argp-fmtstream.h: Use const instead __const.
28621 * argp/argp.h: Likewise.
28622 * assert/assert.h: Likewise.
28623 * bits/fenv.h: Likewise.
28624 * bits/sched.h: Likewise.
28625 * bits/sigset.h: Likewise.
28626 * bits/sigthread.h: Likewise.
28627 * catgets/nl_types.h: Likewise.
28628 * conform/data/pthread.h-data: Likewise.
28629 * crypt/crypt-private.h: Likewise.
28630 * crypt/crypt.h: Likewise.
28631 * crypt/crypt_util.c: Likewise.
28632 * ctype/ctype.h: Likewise.
28633 * debug/execinfo.h: Likewise.
28634 * debug/mbsnrtowcs_chk.c: Likewise.
28635 * debug/mbsrtowcs_chk.c: Likewise.
28636 * debug/wcsnrtombs_chk.c: Likewise.
28637 * debug/wcsrtombs_chk.c: Likewise.
28638 * debug/wcstombs_chk.c: Likewise.
28639 * dirent/dirent.h: Likewise.
28640 * dlfcn/dlfcn.h: Likewise.
28641 * elf/neededtest4.c: Likewise.
28642 * grp/grp.h: Likewise.
28643 * gshadow/gshadow.h: Likewise.
28644 * iconv/gconv.h: Likewise.
28645 * iconv/gconv_int.h: Likewise.
28646 * iconv/gconv_simple.c: Likewise.
28647 * iconv/iconv.h: Likewise.
28648 * iconv/loop.c: Likewise.
28649 * iconv/skeleton.c: Likewise.
28650 * include/aio.h: Likewise.
28651 * include/aliases.h: Likewise.
28652 * include/argz.h: Likewise.
28653 * include/arpa/inet.h: Likewise.
28654 * include/assert.h: Likewise.
28655 * include/dirent.h: Likewise.
28656 * include/dlfcn.h: Likewise.
28657 * include/execinfo.h: Likewise.
28658 * include/fcntl.h: Likewise.
28659 * include/fenv.h: Likewise.
28660 * include/glob.h: Likewise.
28661 * include/grp.h: Likewise.
28662 * include/libintl.h: Likewise.
28663 * include/mntent.h: Likewise.
28664 * include/netdb.h: Likewise.
28665 * include/pwd.h: Likewise.
28666 * include/rpc/netdb.h: Likewise.
28667 * include/sched.h: Likewise.
28668 * include/search.h: Likewise.
28669 * include/shadow.h: Likewise.
28670 * include/signal.h: Likewise.
28671 * include/stdio.h: Likewise.
28672 * include/stdlib.h: Likewise.
28673 * include/string.h: Likewise.
28674 * include/sys/socket.h: Likewise.
28675 * include/sys/stat.h: Likewise.
28676 * include/sys/statfs.h: Likewise.
28677 * include/sys/statvfs.h: Likewise.
28678 * include/sys/syslog.h: Likewise.
28679 * include/sys/time.h: Likewise.
28680 * include/sys/uio.h: Likewise.
28681 * include/time.h: Likewise.
28682 * include/unistd.h: Likewise.
28683 * include/utmp.h: Likewise.
28684 * include/wchar.h: Likewise.
28685 * include/wctype.h: Likewise.
28686 * inet/aliases.h: Likewise.
28687 * inet/arpa/inet.h: Likewise.
28688 * inet/netinet/ether.h: Likewise.
28689 * inet/netinet/in.h: Likewise.
28690 * intl/libintl.h: Likewise.
28691 * io/bits/fcntl2.h: Likewise.
28692 * io/fcntl.h: Likewise.
28693 * io/ftw.h: Likewise.
28694 * io/sys/poll.h: Likewise.
28695 * io/sys/stat.h: Likewise.
28696 * io/sys/statfs.h: Likewise.
28697 * io/sys/statvfs.h: Likewise.
28698 * io/utime.h: Likewise.
28699 * libio/bits/stdio.h: Likewise.
28700 * libio/bits/stdio2.h: Likewise.
28701 * libio/libio.h: Likewise.
28702 * libio/libioP.h: Likewise.
28703 * libio/stdio.h: Likewise.
28704 * locale/lc-ctype.c: Likewise.
28705 * locale/locale.h: Likewise.
28706 * login/utmp.h: Likewise.
28707 * malloc/arena.c: Likewise.
28708 * malloc/malloc.c: Likewise.
28709 * malloc/malloc.h: Likewise.
28710 * malloc/mcheck.c: Likewise.
28711 * malloc/mtrace.c: Likewise.
28712 * math/bits/mathcalls.h: Likewise.
28713 * math/fenv.h: Likewise.
28714 * math/math_private.h: Likewise.
28715 * misc/bits/error.h: Likewise.
28716 * misc/bits/syslog.h: Likewise.
28717 * misc/err.h: Likewise.
28718 * misc/error.h: Likewise.
28719 * misc/fstab.h: Likewise.
28720 * misc/mntent.h: Likewise.
28721 * misc/regexp.h: Likewise.
28722 * misc/search.h: Likewise.
28723 * misc/sgtty.h: Likewise.
28724 * misc/sys/mman.h: Likewise.
28725 * misc/sys/syslog.h: Likewise.
28726 * misc/sys/uio.h: Likewise.
28727 * misc/sys/xattr.h: Likewise.
28728 * misc/ttyent.h: Likewise.
28729 * nis/rpcsvc/ypclnt.h: Likewise.
28730 * nss/nss.h: Likewise.
28731 * posix/bits/unistd.h: Likewise.
28732 * posix/fnmatch.h: Likewise.
28733 * posix/glob.h: Likewise.
28734 * posix/sched.h: Likewise.
28735 * posix/spawn.h: Likewise.
28736 * posix/sys/wait.h: Likewise.
28737 * posix/unistd.h: Likewise.
28738 * posix/wordexp.h: Likewise.
28739 * pwd/pwd.h: Likewise.
28740 * resolv/netdb.h: Likewise.
28741 * resource/sys/resource.h: Likewise.
28742 * rt/aio.h: Likewise.
28743 * rt/bits/mqueue2.h: Likewise.
28744 * rt/mqueue.h: Likewise.
28745 * shadow/shadow.h: Likewise.
28746 * signal/signal.h: Likewise.
28747 * socket/send.c: Likewise.
28748 * socket/sendto.c: Likewise.
28749 * socket/sys/socket.h: Likewise.
28750 * stdio-common/printf.h: Likewise.
28751 * stdlib/bits/stdlib.h: Likewise.
28752 * stdlib/fmtmsg.h: Likewise.
28753 * stdlib/monetary.h: Likewise.
28754 * stdlib/stdlib.h: Likewise.
28755 * stdlib/ucontext.h: Likewise.
28756 * streams/stropts.h: Likewise.
28757 * string/argz.h: Likewise.
28758 * string/bits/string2.h: Likewise.
28759 * string/string.h: Likewise.
28760 * string/strings.h: Likewise.
28761 * sunrpc/rpc/auth.h: Likewise.
28762 * sunrpc/rpc/auth_des.h: Likewise.
28763 * sunrpc/rpc/clnt.h: Likewise.
28764 * sunrpc/rpc/netdb.h: Likewise.
28765 * sunrpc/rpc/pmap_clnt.h: Likewise.
28766 * sunrpc/rpc/xdr.h: Likewise.
28767 * sysdeps/generic/inttypes.h: Likewise.
28768 * sysdeps/generic/net/if.h: Likewise.
28769 * sysdeps/generic/sys/swap.h: Likewise.
28770 * sysdeps/gnu/net/if.h: Likewise.
28771 * sysdeps/gnu/utmpx.h: Likewise.
28772 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28773 * sysdeps/i386/i486/bits/string.h: Likewise.
28774 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28775 * sysdeps/s390/bits/string.h: Likewise.
28776 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28777 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28778 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28779 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28780 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28781 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28782 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28783 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28784 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28785 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28786 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28787 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28788 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28789 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28790 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28791 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28792 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28794 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28796 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28797 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28798 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28799 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28800 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28801 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28802 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28804 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28805 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28806 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28807 * sysvipc/sys/ipc.h: Likewise.
28808 * sysvipc/sys/msg.h: Likewise.
28809 * sysvipc/sys/sem.h: Likewise.
28810 * sysvipc/sys/shm.h: Likewise.
28811 * termios/termios.h: Likewise.
28812 * time/sys/time.h: Likewise.
28813 * time/time.h: Likewise.
28814 * wcsmbs/bits/wchar2.h: Likewise.
28815 * wcsmbs/uchar.h: Likewise.
28816 * wcsmbs/wchar.h: Likewise.
28817 * wctype/wctype.h: Likewise.
28818
0269750c
UD
28819 [BZ #13551]
28820 * Makeconfig: Remove all but ELF support including AIX support.
28821 * Makerules: Likewise.
28822 * config.h.in: Likewise.
28823 * config.make.in: Likewise.
28824 * configure: Likewise.
28825 * configure.in: Likewise.
28826 * csu/Makefile: Likewise.
28827 * csu/version.c: Likewise.
28828 * debug/Makefile: Likewise.
28829 * dlfcn/Makefile: Likewise.
28830 * elf/Makefile: Likewise.
28831 * extra-lib.mk: Likewise.
28832 * iconv/Makefile: Likewise.
28833 * include/libc-symbols.h: Likewise.
28834 * include/shlib-compat.h: Likewise.
28835 * resolv/Makefile: Likewise.
28836 * resolv/res_libc.c: Likewise.
28837 * rt/Makefile: Likewise.
28838 * sysdeps/i386/asm-syntax.h: Likewise.
28839 * sysdeps/i386/sysdep.h: Likewise.
28840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28841 * sysdeps/mach/sysdep.h: Likewise.
28842 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28843 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28844 * sysdeps/s390/asm-syntax.h: Likewise.
28845 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28847 * sysdeps/sh/sysdep.h: Likewise.
28848 * sysdeps/unix/sparc/sysdep.h: Likewise.
28849 * sysdeps/wordsize-32/divdi3.c: Likewise.
28850 * sysdeps/x86_64/sysdep.h: Likewise.
28851
00bbd29b
UD
28852 * argp/Versions: Remove _argp_unlock_xxx.
28853
28854 [BZ #13559]
28855 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28856 * abilist/libBrokenLocale.abilist: Likewise.
28857 * abilist/libanl.abilist: Likewise.
28858 * abilist/libc.abilist: Likewise.
28859 * abilist/libcrypt.abilist: Likewise.
28860 * abilist/libdl.abilist: Likewise.
28861 * abilist/libm.abilist: Likewise.
28862 * abilist/libnsl.abilist: Likewise.
28863 * abilist/libpthread.abilist: Likewise.
28864 * abilist/libresolv.abilist: Likewise.
28865 * abilist/librt.abilist: Likewise.
28866 * abilist/libthread_db.abilist: Likewise.
28867 * abilist/libutil.abilist: Likewise.
28868 * abilist/libnss_db.abilist: New file.
28869
28870 * scripts/abilist.awk: Add support for indirect functions.
28871
a2693a0e
UD
28872 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28873
3f05895f
UD
28874 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28875
ecb6fb48
UD
28876 * shlib-versions: Remove entries for ports architectures.
28877
664f8cb9
UD
28878 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28879 files in ports.
28880 * elf/stackguard-macros.h: Remove support for IA-64.
28881 * elf/tst-auditmod1.c: Likewise.
28882 * sysdeps/generic/ldsodefs.h: Likewise.
28883
7ae81d88
UD
28884 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28885 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28886 configure files.
28887
bdeba135
UD
28888 [BZ #13552]
28889 * configure.in: Remove --enable-omitfp support.
28890 * FAQ.in: Adjust.
28891 * config.make.in: Likewise.
28892 * Makeconfig: Likewise.
28893 * manual/install.texi: Likewise.
28894
d75a0a62
UD
28895 In case anyone cares, the IA-64 architecture could move to ports.
28896 * sysdeps/ia64/*: Removed.
28897 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28898 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28899
dcc9756b
UD
28900 [BZ #13555]
28901 * configure.in: Remove entries for unsupported architectures.
28902
d3761ebc 28903 [BZ #13533]
9954432e
UD
28904 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28905 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28906 routines.
28907 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28908 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28909 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28910 fall back to using wcrtomb.
28911 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28912 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28913 renaming.
28914 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28915 * wcsmbs/tst-c16c32-1.c: New file.
28916
28917 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28918 local variable.
28919
c3a87236
UD
28920 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28921
28926a1b
UD
28922 * elf/tst-unique3.cc: Add explicit declaration of gets.
28923 * elf/tst-unique3lib.cc: Likewise.
28924 * elf/tst-unique3lib2.cc: Likewise.
28925 * elf/tst-unique4.cc: Likewise.
28926
df78418a
UD
28927 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28928
8ecd6b2a
JM
289292012-01-06 Joseph Myers <joseph@codesourcery.com>
28930
28931 [BZ #13566]
28932 * assert/assert.h (static_assert): Don't define for C++.
28933 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28934 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28935
9f115170
UD
289362012-01-03 Ulrich Drepper <drepper@gmail.com>
28937
5e0d0300
UD
28938 * iconv/loop.c (single loop): Fix assertion in storing of
28939 remaining bytes.
28940
9f115170
UD
28941 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28942
81fb02b0
UD
289432012-01-01 Ulrich Drepper <drepper@gmail.com>
28944
28945 * posix/getconf.c: Update copyright year.
28946 * nss/getent.c: Likewise.
a316c1f6 28947 * nss/makedb.c: Likewise.
81fb02b0
UD
28948 * iconv/iconvconfig.c: Likewise.
28949 * iconv/iconv_prog.c: Likewise.
28950 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28951 * elf/pldd.c: Likewise.
28952 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28953 * catgets/gencat.c: Likewise.
28954 * csu/version.c: Likewise.
28955 * elf/ldd.bash.in: Likewise.
28956 * elf/sprof.c (print_version): Likewise.
28957 * locale/programs/locale.c: Likewise.
28958 * locale/programs/localedef.c: Likewise.
a316c1f6 28959 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28960 * nscd/nscd.c (print_version): Likewise.
28961 * debug/xtrace.sh: Likewise.
28962 * malloc/memusage.sh: Likewise.
28963 * malloc/mtrace.pl: Likewise.
28964 * debug/catchsegv.sh: Likewise.
28965
2ba92745
JJ
289662011-12-30 Jakub Jelinek <jakub@redhat.com>
28967
28968 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28969 pure attribute.
28970
dadebdae
UD
289712011-12-24 Ulrich Drepper <drepper@gmail.com>
28972
d3761ebc 28973 [BZ #13533]
db6af3eb
UD
28974 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28975 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28976 transformations.
28977 * iconv/gconv_int.h: Likewise.
28978 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28979 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28980 from libc for GLIBC_2.16.
28981 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28982 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28983 * wcsmbs/uchar.h: Really define mbstate_t.
28984 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28985 * wcsmbs/c16rtomb.c: New file.
28986 * wcsmbs/mbrtoc16.c: New file.
28987 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28988 for C/POSIX locale.
28989 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28990 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28991
dadebdae
UD
28992 * wcsmbs/wchar.h: Add missing __restrict.
28993
67371b56
UD
289942011-12-23 Ulrich Drepper <drepper@gmail.com>
28995
74033a25
UD
28996 [BZ #13532]
28997 * time/Makefile (routines): Add timespec_get.
28998 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28999 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29000 timespec for ISO C11.
29001 * time/timespec_get.c: New file.
29002 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29003 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29004
380d7e87
UD
29005 [BZ #13531]
29006 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29007 * stdlib/stdlib.h: Declare aligned_alloc.
29008 * Versions.def: Add GLIBC_2.16 for libc.
29009 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29010
4e9e7a35
UD
29011 [BZ 13527]
29012 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29013 ISO C11.
29014
380d7e87 29015 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29016 code.
29017
03a71829
UD
29018 [BZ #13528]
29019 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29020
839e283e
UD
29021 [BZ #13529]
29022 * assert/assert.h (static_assert): Define.
29023
ce5294e2 29024 * version.h: Update for 2.16 development version.
90fa7312 29025
8d44e150 29026 [BZ #13526]
d7809905
UD
29027 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29028 _ISOC11_SOURCE.
29029
c0da14cd
UD
29030 * version.h (RELEASE): Bump for 2.15 release.
29031 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29032
530a3249
MP
29033 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29034 Patch by Marek Polacek <mpolacek@redhat.com>.
29035
67371b56
UD
29036 * bits/byteswap.h: Protect long long constants with __extension__.
29037 * sysdeps/i386/bits/byteswap.h: Likewise.
29038 * sysdeps/ia64/bits/byteswap.h: Likewise.
29039 * sysdeps/s390/bits/byteswap.h: Likewise.
29040 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29041
15db4de1
LD
290422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29043
29044 [BZ #13540]
bbe315ea
LD
29045 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29046 destination buffer.
15db4de1
LD
29047 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29048
2b2596b1
MP
290492011-12-23 Marek Polacek <polacek@redhat.com>
29050
29051 * elf/dl-addr.c (determine_info): Add inline keyword.
29052 * elf/tst-auditmod4b.c (check_avx): Likewise.
29053 * elf/tst-auditmod6b.c (check_avx): Likewise.
29054 * elf/tst-auditmod6c.c (check_avx): Likewise.
29055 * elf/tst-auditmod7b.c (check_avx): Likewise.
29056
70c6c246
UD
290572011-12-23 Ulrich Drepper <drepper@gmail.com>
29058
29059 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29060 !__SSE_MATH__.
29061
c044cf14
LD
290622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29063
15db4de1 29064 [BZ #13540]
c044cf14
LD
29065 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29066 processing for last bytes.
29067
6b13d9d9
BH
290682011-08-06 Bruno Haible <bruno@clisp.org>
29069
d455f537
BH
29070 [BZ #13061]
29071 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29072 U+0385, not to U+1FEE.
29073
6b13d9d9
BH
29074 [BZ #13062]
29075 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29076 entry for U+00A5 U+0301.
29077
db910efd
UD
290782011-12-22 Ulrich Drepper <drepper@gmail.com>
29079
27deeafc
UD
29080 [BZ #13166]
29081 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29082 buffer for the output is too small.
29083
aed9d171
UD
29084 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29085 optimization.
29086
db910efd
UD
29087 [BZ #13185]
29088 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29089 SSE flags if possible.
29090
2bd779ae
LD
290912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29092
e7f9dac3 29093 [BZ #13540]
2bd779ae
LD
29094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29095 processing for last bytes.
29096
154bfc16
JM
290972011-12-22 Joseph Myers <joseph@codesourcery.com>
29098
29099 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29100 (syscall-list-default-options, syscall-list-default-condition)
29101 (syscall-list-includes): Define.
29102 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29103 list of ABIs and options and #if conditions for each ABI. Do not
29104 handle common syscalls between ABIs specially.
29105 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29106 Remove.
29107 (syscall-list-variants, syscall-list-32bit-options)
29108 (syscall-list-32bit-condition, syscall-list-64bit-options)
29109 (syscall-list-64bit-condition): Define.
29110 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29111 (syscall-list-variants, syscall-list-32bit-options)
29112 (syscall-list-32bit-condition, syscall-list-64bit-options)
29113 (syscall-list-64bit-condition): Define.
29114 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29115 Remove.
29116 (syscall-list-variants, syscall-list-32bit-options)
29117 (syscall-list-32bit-condition, syscall-list-64bit-options)
29118 (syscall-list-64bit-condition): Define.
29119 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29120 Remove.
29121 (syscall-list-variants, syscall-list-32bit-options)
29122 (syscall-list-32bit-condition, syscall-list-64bit-options)
29123 (syscall-list-64bit-condition): Define.
29124
21eaf3a5
UD
291252011-12-22 Ulrich Drepper <drepper@gmail.com>
29126
16c6f992
UD
29127 * locale/iso-639.def: Add brx entry.
29128
41043168
UD
29129 [BZ #13328]
29130 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29131 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29132
21eaf3a5
UD
29133 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29134 __feraiseexcept_renamed.
29135
e3a851a2
UD
291362011-12-21 Ulrich Drepper <drepper@gmail.com>
29137
4920765e
UD
29138 [BZ #13538]
29139 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29140 EPOLLET with unsigned values.
29141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29142 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29143
e3a851a2
UD
29144 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29145 to large cancellation.
29146 * math/s_cacoshf.c: Likewise.
29147 * math/s_cacoshl.c: Likewise.
29148
b27e24b8
RK
291492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29150
29151 [BZ #13305]
aebefeee 29152 [BZ #12786]
b27e24b8
RK
29153 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29154 * math/s_cacoshf.c: Likewise.
29155 * math/s_cacoshl.c: Likewise.
29156
ee190f67
UD
291572011-12-21 Ulrich Drepper <drepper@gmail.com>
29158
29159 [BZ #13439]
29160 * iconv/gconv.h: Define __GCONV_SWAP.
29161 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29162 * iconvdata/utf-16.c: Likewise.
29163 * iconvdata/utf-32.c: Likewise.
29164
707f25df
AS
291652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29166
29167 [BZ #13524]
29168 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29169 numerator after shifting it by one limb.
29170
d2daaa1e
RÁE
291712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29172
29173 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29174 under [__USE_EXTERN_INLINES].
29175
a4647e72
UD
291762011-12-17 Ulrich Drepper <drepper@gmail.com>
29177
29178 [BZ #13446]
29179 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29180
f0b264f1
AZ
291812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29182
29183 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29184 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29185 optimized code.
29186 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29187 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29188 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29189 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29190 for strncasecmp/strncasecmp_l compilation.
29191 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29192 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29193
8ef4f244
MP
291942011-12-08 Marek Polacek <mpolacek@redhat.com>
29195
29196 [BZ #13484]
29197 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29198 of __asm__.
29199
97ac2654
UD
292002011-12-17 Ulrich Drepper <drepper@gmail.com>
29201
29202 [BZ #13506]
29203 * time/tzfile.c (__tzfile_read): Check values from file header.
29204
91d2a845
WS
292052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29206
29207 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29208 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29209 * powerpc/powerpc32/dl-start.S: Likewise.
29210 * powerpc/powerpc32/elf/start.S: Likewise.
29211 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29212 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29213 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29214 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29215 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29216 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29217 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29218 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29219 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29220 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29221 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29222 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29223 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29224 * powerpc/powerpc32/memset.S: Likewise.
29225 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29226 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29227 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29228 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29229 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29230 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29231 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29232 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29233 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29234 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29235 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29236 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29237 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29238
a1267ba1
AZ
292392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29240
29241 * math/libm-test.inc: Added more nearbyint tests.
29242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29246
ad8ac1bd
RL
292472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29248
29249 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29250 FD_CLOEXEC.
29251
1d3e4b61
UD
292522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29253
29254 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29255 Add wcscpy-ssse3 wcscpy-c.
29256 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29257 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29258 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29259 * sysdeps/x86_64/wcschr.S: New file.
29260 * sysdeps/x86_64/wcsrchr.S: New file.
29261 * string/test-strcmp.c: Remove checking of wcscmp function for
29262 wrong alignments.
29263 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29264 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29265 wcsrchr-sse2 wcsrchr-c.
29266 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29267 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29268 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29269 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29270 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29271 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29272 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29273 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29274 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29275 * wcsmbc/wcschr.c (WCSCHR): New macro.
29276
5b330a2d
UD
292772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29278
29279 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29280 * wcsmbs/test-wcsrchr.c: New file.
29281 * string/test-strrchr.c: Add wcsrchr support.
29282 (WIDE): New macro.
29283 * wcsmbs/test-wcscpy.c: New file.
29284 * string/test-strcpy.c: Add wcscpy support.
29285 (WIDE): New macro.
26428b7c 29286
f039c043
UD
292872011-12-10 Ulrich Drepper <drepper@gmail.com>
29288
29289 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29290 the inner loop.
29291
850fb039
AS
292922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29293
29294 [BZ #13472]
29295 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29296
4efbd5cb
UD
292972011-12-04 Ulrich Drepper <drepper@gmail.com>
29298
52ff5dd0 29299 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29300 Minor optimizations.
52ff5dd0 29301
4efbd5cb
UD
29302 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29303 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29304 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29305
8a426e12
UD
293062011-12-03 Ulrich Drepper <drepper@gmail.com>
29307
aff2453d
UD
29308 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29309 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29310 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29311 for gcc to avoid warnings.
29312 * inet/Makefile (tests): Add tst-checks.
29313 * inet/tst-checks.c: New file.
29314
29315 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29316 warning.
29317
29318 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29319 __wmemcmp_sse2.
29320
29321 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29322 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29323
8a426e12
UD
29324 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29325
9bea3473
UD
293262011-12-02 Ulrich Drepper <drepper@gmail.com>
29327
3a965496
UD
29328 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29329 problem.
29330
9bea3473
UD
29331 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29332
f101631b
UD
293332011-11-29 Joseph Myers <joseph@codesourcery.com>
29334
29335 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29336 conditional on GCC version.
29337 (__arch_compare_and_exchange_val_8_acq)
29338 (__arch_compare_and_exchange_val_16_acq)
29339 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29340 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29341 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29342
a98275aa
UD
293432011-12-02 Joseph Myers <joseph@codesourcery.com>
29344
29345 * sysdeps/sh/backtrace.c: New file.
29346
d4cc29a2
AS
293472011-12-02 Andreas Schwab <schwab@redhat.com>
29348
29349 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29350 parenthesis.
29351
6257af2d
AS
293522011-12-01 Andreas Schwab <schwab@redhat.com>
29353
29354 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29355 falling back to utime.
29356
b5f44c1a
AS
293572011-11-30 Andreas Schwab <schwab@redhat.com>
29358
29359 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29360 expectations for float.
29361
f3a6cc0a
AS
293622011-11-29 Andreas Schwab <schwab@redhat.com>
29363
29364 * locale/weight.h (findidx): Add parameter len.
29365 * locale/weightwc.h (findidx): Likewise.
29366 * posix/fnmatch_loop.c (FCT): Adjust caller.
29367 * posix/regcomp.c (build_equiv_class): Likewise.
29368 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29369 * posix/regexec.c (check_node_accept_bytes): Likewise.
29370 * string/strcoll_l.c (STRCOLL): Likewise.
29371 * string/strxfrm_l.c (STRXFRM): Likewise.
29372
9d65ea3a
UD
293732011-11-17 Ulrich Drepper <drepper@gmail.com>
29374
29375 * Makefile.in: Remove CVSOPT handling.
29376 * configure.in: Remove use of AC_REVISION.
29377 * iconvdata/Makefile (distribute): No need to filter out CVS.
29378 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29379 handling.
29380
5583a086
AS
293812011-11-16 Andreas Schwab <schwab@redhat.com>
29382
29383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29384 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29385 [USE_AS_STRNCASECMP_L]: Likewise.
29386 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29387 NO_TLS_DIRECT_SEG_REFS.
29388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29389 Fix argument offsets for non-PIC.
29390 [USE_AS_STRNCASECMP_L]: Likewise.
29391 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29392 NO_TLS_DIRECT_SEG_REFS.
29393
d62a8200
UD
293942011-11-15 Ulrich Drepper <drepper@gmail.com>
29395
9d65ea3a 29396 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29397 O_CLOEXEC.
29398 * locale/loadlocale.c (_nl_load_locale): Likewise.
29399
09f93bd3
AS
294002011-11-15 Andreas Schwab <schwab@redhat.com>
29401
446514f9
AS
29402 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29403 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29404 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29405 (SYSCALL_GETTIME): Set errno on error.
29406
09f93bd3
AS
29407 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29408 count references to noai6ai_cached.
29409
312be3f9
UD
294102011-11-15 Ulrich Drepper <drepper@gmail.com>
29411
29412 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29413
29414 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29415 FD_CLOEXEC for /proc/self/maps.
29416
29417 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29418 FD_CLOEXEC for /proc/meminfo.
29419
29420 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29421 gai.conf.
29422
29423 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29424 FD_CLOEXEC for given file.
29425
29426 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29427
29428 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29429 FD_CLOEXEC for /etc/hosts.
29430 (_gethtent): Likewise.
29431
29432 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29433
29434 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29435 cancellation and set FD_CLOEXEC for /etc/netgroup.
29436
29437 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29438 reading /etc/publickey.
29439
29440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29441 allow cancellation when reading /etc/group.
29442
29443 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29444 cancellation.
29445 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29446
29447 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29448 when using data file.
29449
29450 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29451
29452 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29453 (write_nis_obj): Use "c" and "e" in fopen.
29454
29455 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29456
29457 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29458
29459 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29460
29461 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29462
29463 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29464 locale.alias.
29465
29466 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29467
29468 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29469
29470 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29471
29472 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29473 file parsing and set FD_CLOEXEC.
29474
82af0fa8
UD
294752011-11-14 Ulrich Drepper <drepper@gmail.com>
29476
29477 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29478
a5fb313c
AS
294792011-11-14 Andreas Schwab <schwab@redhat.com>
29480
29481 * malloc/arena.c (arena_get2): Don't call reused_arena when
29482 _int_new_arena failed.
29483
6abf3465
UD
294842011-11-14 Ulrich Drepper <drepper@gmail.com>
29485
29486 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29487 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29488 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29489 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29492 to compile strcasecmp and strncasecmp.
29493 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29494 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29495
29496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29497
76e3966e
UD
294982011-11-13 Ulrich Drepper <drepper@gmail.com>
29499
29500 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29501 locale-defines.sym to gen-as-const-headers.
29502 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29503 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29505 to compile strcasecmp and strncasecmp.
29506 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29507 strcasecmp_l and strncasecmp_l.
29508 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29509 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29510 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29511 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29512 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29513 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29514 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29515 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29516 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29517 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29518 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29519
ab26144e
UD
295202011-11-12 Ulrich Drepper <drepper@gmail.com>
29521
7edb22ef
UD
29522 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29523 result of SYSDEP_GETTIME_CPU to retval.
29524 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29525 parameter list to macro. Remove trailing semicolon. Adjust users.
29526
9694fc44
UD
29527 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29528 variable.
29529
8ad89ef8
UD
29530 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29531 mantissa words.
29532 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29533
0c822ef9
UD
29534 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29535 from unused variable.
29536
874e0564
UD
29537 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29538 DWARF definitions.
29539 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29540 for assembling.
29541
3a2edc79
UD
29542 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29543 over namespaces.
29544
f3c2577f
UD
29545 * sunrpc/rpc_prot.c (rejected): Fix case value.
29546
294ce126
UD
29547 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29548 unsigned long long int to avoid warnings in shift.
29549
5e2b63c6
UD
29550 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29551 of use of trans.
29552 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29553 variable tmp.
29554
e7f4b08e
UD
29555 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29556 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29557 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29558
ab26144e
UD
29559 * nis/nis_table.c (nis_list): Use variable of correct type for
29560 result of __follow_path call.
29561
8a6d5255
AZ
295622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29563
29564 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29565 of math functions ceil, trunc, floor, round, and sqrt, when
29566 avaliable on the platform.
29567 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29568 name clash.
29569 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29570 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29571 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29572
aaddc98c
MP
295732011-10-30 Marek Polacek <mpolacek@redhat.com>
29574
29575 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29576 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29577
95b7042b
RM
295782011-11-11 Roland McGrath <roland@hack.frob.com>
29579
29580 * include/unistd.h: Fix __readlink return type.
29581 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29582
57769839
UD
295832011-11-11 Ulrich Drepper <drepper@gmail.com>
29584
29585 * stdlib/ucontext.h: Undo last change for makecontext.
29586
edc5984d
AS
295872011-11-11 Andreas Schwab <schwab@redhat.com>
29588
98591e58
AS
29589 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29590
edc5984d
AS
29591 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29592 * setjmp/setjmp.h: Mark functions as non-leaf.
29593 * setjmp/bits/setjmp2.h: Likewise.
29594 * stdlib/ucontext.h: Likewise.
29595
77cdc054
AS
295962011-11-10 Andreas Schwab <schwab@redhat.com>
29597
29598 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29599 (reused_arena): Don't check arena limit.
29600 (arena_get2): Atomically check arena limit.
29601
fe72eebd
UD
296022011-11-08 Ulrich Drepper <drepper@gmail.com>
29603
5f078c32
UD
29604 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29605 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29606
fe72eebd
UD
29607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29608 instructions.
29609
ae1bc2fa
AS
296102011-11-07 Andreas Schwab <schwab@redhat.com>
29611
7583a88d
AS
29612 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29613 handler when locking.
29614
ae1bc2fa
AS
29615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29616 Fix size of allocated buffer.
29617
10fb0bfa
AS
296182011-11-04 Andreas Schwab <schwab@redhat.com>
29619
998832a4
AS
29620 [BZ #10103]
29621 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29622 declarations for long double functions.
29623 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29624
10fb0bfa
AS
29625 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29626
3d7ba52b
AS
296272011-11-03 Andreas Schwab <schwab@redhat.com>
29628
a9ae54a1
AS
29629 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29630 installed.
29631
3d7ba52b
AS
29632 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29633 is disabled.
29634
bc8db248
ST
296352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29636
29637 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29638
45b96dd6
AS
296392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29640
647776f6
AS
29641 * include/alloca.h (stackinfo_alloca_round): Define.
29642 (extend_alloca): Use it.
29643 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29644 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29645 here.
29646
d91a8b93
AS
29647 * scripts/check-local-headers.sh: Ignore libaudit.h.
29648
45b96dd6
AS
29649 * nscd/Makefile (extra-objs): Make recursively expanded.
29650
432d41ce
UD
296512011-11-01 Ulrich Drepper <drepper@gmail.com>
29652
34372fc6
UD
29653 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29655
fadb59f8
UD
29656 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29657 * posix/tst-rfc3484-2.c: Likewise.
29658 * posix/tst-rfc3484-3.c: Likewise.
29659
78239589
UD
29660 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29661 process_vm_writev.
29662 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29663 process_vm_writev.
29664 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29665 process_vm_writev from libc using GLIBC_2.15 version.
29666
432d41ce
UD
29667 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29668
02f9c6cf
PP
296692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29670
29671 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29672 stack usage.
29673
3a2c0242
UD
296742011-10-31 Ulrich Drepper <drepper@gmail.com>
29675
f4ec4833
UD
29676 [BZ #13367]
29677 * nss/getent.c (initgroups_keys): Show error message in case no group
29678 names are given.
29679
3a2c0242
UD
29680 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29681 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29682 __bump_nl_timestamp.
29683 * nscd/connections (nscd_init): When host database is served open
29684 netlink socket and request notification about configuration changes.
29685 (main_loop_poll): Track netlink file descriptor and bump timestamp
29686 in case data becomes available.
29687 (main_loop_epoll): Likewise.
29688 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29689 (database_pers_head): Add extra_data fileds.
29690 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29691 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29692 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29693 Adjust caller.
29694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29695 in6ai data, call __free_in6ai.
29696 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29697 Add -DHAVE_NETLINK.
29698 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29699 interface information. Reuse previous data if netlink timestamp
29700 is not changed.
29701 (__bump_nl_timestamp): New function.
29702 (__free_in6ai): New function.
29703
636064eb
UD
297042011-10-30 Ulrich Drepper <drepper@gmail.com>
29705
29706 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29707 close_not_cancel_no_status here.
29708 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29709
9beb2334
UD
297102011-10-29 Ulrich Drepper <drepper@gmail.com>
29711
6ef76f3b
UD
29712 [BZ #13276]
29713 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29714 return value.
29715
0ffc4f3e 29716 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29717 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29718 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29719
cb95113e
UD
297202011-07-03 Andreas Jaeger <aj@suse.de>
29721
29722 [BZ #10709]
29723 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29724 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29725 * math/libm-test.inc (sin_test): Add test case.
29726
a1b560ff
UD
297272011-10-29 Ulrich Drepper <drepper@gmail.com>
29728
c9aaface
UD
29729 [BZ #13337]
29730 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29731 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29732
d272e7f1
UD
29733 * elf/chroot_canon.c (chroot_canon): Cleanups.
29734
1bc33071
UD
29735 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29736
1760874d
TJ
29737 [BZ #13335]
29738 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29739 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29740
51d91b18
UD
29741 * string/test-strchr.c: Make usable for strchrnul testing.
29742 * string/test-strchrnul.c: New file.
29743 * string/Makefile (strop-tests): Add strchrnul.
29744
a1b560ff 29745 * po/it.po: Update from translation team.
b611fb81 29746 * po/es.po: Likewise.
a1b560ff 29747
a5b81e1f
UD
297482011-10-28 Ulrich Drepper <drepper@gmail.com>
29749
fd52bc6d
UD
29750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29751 the three constants needed as parameters. Drop the others.
29752 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29753 __m128i_strloadu_tolower.
52e4b9eb
UD
29754 Create and initialize variable zero and use it in all the places
29755 where _mm_setzero_si128 was used.
fd52bc6d 29756
a5b81e1f
UD
29757 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29758 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29759 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29760 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29761 anymore.
29762 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29763 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29764 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29765 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29766 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29767 __mpranred, __mptan.
29768 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29769 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29770 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29771 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29774 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29775 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29776 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29777
b4343346
AS
297782011-10-28 Andreas Schwab <schwab@redhat.com>
29779
0c92d8a8
AS
29780 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29781 redefine if SHARED.
29782 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29783
b4343346
AS
29784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29785 wide char related routines to wcsmbs subdir.
29786
3871f58f
AS
297872011-10-27 Andreas Schwab <schwab@redhat.com>
29788
29789 [BZ #13344]
29790 * misc/sys/cdefs.h (__THROWNL): Define.
29791 * posix/unistd.h: Use __THREADNL instead of __THREAD
29792 for memory synchronization functions.
29793
94d44d9f
RM
297942011-10-26 Roland McGrath <roland@hack.frob.com>
29795
21b64b15 29796 [BZ #13349]
94d44d9f
RM
29797 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29798 doesn't exist.
29799 * manual/stdio.texi (Obstack Streams): Node removed.
29800
f6ce9294
AS
298012011-10-26 Andreas Schwab <schwab@redhat.com>
29802
80479147
AS
29803 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29804 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29805 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29806
f6ce9294
AS
29807 * math/math_private.h (math_force_eval): Allow non-addressable
29808 arguments.
29809 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29810
618280a1
UD
298112011-10-25 Ulrich Drepper <drepper@gmail.com>
29812
e0016b11
UD
29813 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29814 file is not needed.
29815
29816 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29817 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29818 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29819 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29821 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29823 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29824 Add AVX variants.
29825 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29826 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29827 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29828 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29829 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29830 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29831 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29832 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29833 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29834 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29835 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29836 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29838 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29839 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29840 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29841 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29842 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29843 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29844
29845 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29846 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29847
618280a1
UD
29848 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29849 place. Use VEX encoding when compiling for AVX.
29850
37822576
AS
298512011-10-25 Andreas Schwab <schwab@redhat.com>
29852
1f1e1947
AS
29853 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29854 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29855
37822576
AS
29856 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29857
31ea014d
UD
298582011-10-25 Ulrich Drepper <drepper@gmail.com>
29859
d7826aa1 29860 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29861 useless if() expression.
d7826aa1
UD
29862 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29871 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29872 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29874 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29875 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29876 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29877 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29878 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29879 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29880 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29881
31ea014d
UD
29882 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29883
16437fec
AS
298842011-10-25 Andreas Schwab <schwab@redhat.com>
29885
29886 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29887 condition.
29888 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29889
31d3cc00
UD
298902011-10-25 Ulrich Drepper <drepper@gmail.com>
29891
29892 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29893 .text section. Avoid duplicate constants.
29894 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29904 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29906 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29909 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29911 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29916 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29917 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29918 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29919 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29920 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29921 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29922 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29923 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29924 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29936 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29937 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29938 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29939
58985aa9
UD
299402011-10-24 Ulrich Drepper <drepper@gmail.com>
29941
202c9deb
UD
29942 * sysdeps/x86_64/dla.h: Move to ...
29943 * sysdeps/x86_64/fpu/dla.h: ...here.
29944 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29945 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29946
af968f62
UD
29947 * config.make.in: Add have-mfma4 entry.
29948 * configure.in: Substitute libc_cv_cc_fma4.
29949 * math/Makefile (dbl-only-routines): Add sincostab.
29950 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29951 Use __sincostab not sincos.
29952 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29953 name is a macro.
29954 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29958 using __copysign.
29959 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29960 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29961 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29962 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29963 and __inv.
29964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29965 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29966 __copysign.
29967 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29968 define aliases when function name is a macro.
29969 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29970 sysdeps/ieee754/dbl-64/sincos.tbl.
29971 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29972 fma4-enabled routines.
29973 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29974 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29975 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29976 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29977 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29978 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29979 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29980 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29981 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29982 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29983 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29984 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29985 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29986 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29987 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29988 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29989 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29990 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29991 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29993 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29994 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29995 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29996 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29998 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29999 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30000 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30001 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30002 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30003
58985aa9
UD
30004 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30005 rename.
30006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30014
a201fbcf
AS
300152011-10-24 Andreas Schwab <schwab@redhat.com>
30016
30017 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30018
fc2ee42a
LD
300192011-10-23 Ulrich Drepper <drepper@gmail.com>
30020
bb3129bd
UD
30021 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30022
0275fff8
UD
30023 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30024 prediction.
30025 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30026
2fa2ae85
UD
30027 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30028 Remove unused variable magic_bits.
30029 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30030
fc2ee42a
LD
30031 * string/strnlen.c: Define and use STRNLEN macro.
30032 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30033 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30034 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30035 * wcsmbs/wcslen.c: Define and use WCSLEN.
30036 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30037 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30038 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30039 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30040 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30041 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30042 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30043
ce7dd29f
LD
300442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30045
30046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30047 strnlen-sse2-no-bsf.
30048 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30050 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30051 Add strnlen support.
30052 (USE_AS_STRNLEN): New macro.
30053 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30054 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30055 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30056 * sysdeps/x86_64/wcslen.S: New file.
30057
979c70a3
MZ
300582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30059
30060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30061 XMM-moves are used for copying on small sizes.
30062
2d09f82f
LD
300632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30064
30065 * wcsmbs/Makefile (strop-tests): Add wcschr.
30066 * wcsmbs/test-wcschr.c: New file.
30067 * string/test-strchr.c: Update.
30068 Add wcschr support.
30069 (WIDE): New macro.
30070
619fccca
LD
300712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30072
2d09f82f 30073 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30074 * wcsmbs/test-wcslen.c: New file.
30075 * string/test-strlen.c: Update.
30076 Add wcslen support.
30077 (WIDE): New macro.
30078
09f699ea
UD
300792011-10-23 Ulrich Drepper <drepper@gmail.com>
30080
30081 * po/it.po: Update from translation team.
30082
95584d3b
LD
300832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30084
30085 * sysdeps/x86_64/wcscmp.S: Update.
30086 Fix wrong comparison semantics.
30087 wcscmp shall use signed comparison not unsigned.
30088 Don't use substraction to avoid overflow bug.
30089 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30090 * wcsmbc/wcscmp.c: Likewise.
30091 * string/test-strcmp.c: Likewise.
30092 Add new tests to check cases with negative values.
30093
c8b3296b
UD
300942011-10-23 Ulrich Drepper <drepper@gmail.com>
30095
30096 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30097 * sysdeps/x86_64/dla.h: ...here. New file.
30098 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30107
246ad57a
AS
301082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30109
30110 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30111 __ynl_finite aliases.
30112
a1a87169
UD
301132011-10-22 Ulrich Drepper <drepper@gmail.com>
30114
0d355eb7
UD
30115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30116
a1a87169
UD
30117 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30118 define DLA_FMA.
30119 [DLA_FMA] (EMULV): Use DLA_FMA.
30120 [DLA_FMA] (MUL12): Use EMULV.
30121 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30122 that are not needed.
30123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30130
ee2aafe0
AS
301312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30132
30133 * math/s_nan.c: Undef __nan.
30134 * math/s_nanf.c: Undef __nanf.
30135 * math/s_nanl.c: Undef __nanl.
30136 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30137 "math_private.h".
30138
bc62c2fb
UD
301392011-10-22 Ulrich Drepper <drepper@gmail.com>
30140
77425c63
UD
30141 * math/s_catan.c: Add branch predictions.
30142 * math/s_catanf.c: Likewise.
30143 * math/s_catanh.c: Likewise.
30144 * math/s_catanhf.c: Likewise.
30145 * math/s_catanhl.c: Likewise.
30146 * math/s_catanl.c: Likewise.
30147 * math/s_cexp.c: Likewise.
30148 * math/s_cexpf.c: Likewise.
30149 * math/s_cexpl.c: Likewise.
30150 * math/s_clog.c: Likewise.
30151 * math/s_clog10.c: Likewise.
30152 * math/s_clog10f.c: Likewise.
30153 * math/s_clog10l.c: Likewise.
30154 * math/s_clogf.c: Likewise.
30155 * math/s_clogl.c: Likewise.
30156 * math/s_csqrt.c: Likewise.
30157 * math/s_csqrtf.c: Likewise.
30158 * math/s_csqrtl.c: Likewise.
30159 * math/s_ctanf.c: Likewise.
30160 * math/s_ctanh.c: Likewise.
30161 * math/s_ctanhf.c: Likewise.
30162 * math/s_ctanhl.c: Likewise.
30163 * math/s_ctanl.c: Likewise.
30164
bc62c2fb
UD
30165 * math/math_private.h: Define __nan, __nanf, __nanl.
30166 * math/s_cacosh.c: Include <math_private.h>.
30167 * math/s_cacoshl.c: Likewise.
30168 * math/s_casinh.c: Likewise.
30169 * math/s_casinhf.c: Likewise.
30170 * math/s_casinhl.c: Likewise.
30171 * math/s_ccos.c: Rely entire on ccosh.
30172 * math/s_ccosf.c: Rely entire on ccoshf.
30173 * math/s_ccosl.c: Rely entirely on ccoshl.
30174 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30175 Remove tests for FE_INVALID.
30176 * math/s_ccoshf.c: Likewise.
30177 * math/s_ccoshl.c: Likewise.
30178 * math/s_csin.c: Likewise.
30179 * math/s_csinf.c: Likewise.
30180 * math/s_csinh.c Likewise.
30181 * math/s_csinhf.c: Likewise.
30182 * math/s_csinhl.c: Likewise.
30183 * math/s_csinl.c: Likewise.
30184 * math/s_ctan.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30186 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30187 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30188
8ec250a4
UD
301892011-10-21 Ulrich Drepper <drepper@gmail.com>
30190
c196fed8
UD
30191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30192 compilation problems.
30193
8ec250a4
UD
30194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30195 __builtin_expect.
30196
8d4f46c6
UD
301972011-10-20 Ulrich Drepper <drepper@gmail.com>
30198
ed72b654
UD
30199 * sysdeps/i386/configure.in: Test for -mfma4 option.
30200 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30201 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30202 COMMON_CPUID_INDEX_80000001.
30203 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30204 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30205 use it if FMA3 is not supported.
30206 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30207
8d4f46c6
UD
30208 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30209 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30210
d45c60c2
AS
302112011-10-20 Andreas Schwab <schwab@redhat.com>
30212
30213 [BZ #12892]
30214 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30215 it would create a cycle with a link time dependency.
30216
d9a4d2ab
UD
302172011-10-19 Ulrich Drepper <drepper@gmail.com>
30218
855d1560
UD
30219 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30220 instruction.
30221 * string/Makefile (strop-tests): Add rawmemchr.
30222 * string/test-rawmemchr.c: New file.
30223
d9a4d2ab
UD
30224 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30226 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30227 when compiling str{,n}casecmp and when AVX is available. Hook up
30228 new optimized code in initializers.
30229
8f3b1ffe
AS
302302011-10-19 Andreas Schwab <schwab@redhat.com>
30231
30232 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30233 __feraiseexcept instead of feraiseexcept.
30234
d38f1dba
UD
302352011-10-18 Ulrich Drepper <drepper@gmail.com>
30236
d9a8d0ab
UD
30237 * math/math_private.h: Define defaults for libc_fetestexcept and
30238 libc_feupdateenv.
30239 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30240 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30241 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30242 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30243 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30244 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30245 libc_fetestexcept and libc_feupdateenv.
30246
4855e3dd
UD
30247 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30248 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30249 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30250 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30251 libc_feholdexcept_setround.
30252
581d30e3
UD
30253 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30254 Add s_nearbyint-c and s_nearbyintf-c.
30255 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30256 nearbyintf inlines.
30257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30258 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30259 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30260 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30261
d38f1dba
UD
30262 * math/math_private.h: Define defaults for libc_fegetround,
30263 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30264 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30265 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30266 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30267 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30268 standard functions.
30269 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30270 Remove comments and hacks for old compiler versions.
30271 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30272 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30273 libc_feholdexceptl.
30274
caa6c9d8
AS
302752011-10-18 Andreas Schwab <schwab@redhat.com>
30276
30277 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30278 (__feraiseexcept_renamed): Add __NTH.
30279 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30280 namespace violations.
30281
97c066e6
UD
302822011-10-17 Ulrich Drepper <drepper@gmail.com>
30283
99ce7b04
UD
30284 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30285
1004d182
UD
30286 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30287
228a984d
UD
30288 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30289 recently added interfaces.
30290 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30291
c8553a6a
UD
30292 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30293 about macro parameter expansion.
30294
ed22dcf6
UD
30295 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30296 __NO_MATH_INLINES is defined. Cleanups.
30297
30298 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30299 and __floorf is target has SSE4.1.
30300 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30301 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30302 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30303 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30304
b171c137
UD
30305 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30306 name.
30307 (floorf): Likewise.
30308
97c066e6
UD
30309 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30310
629f62ef
AS
303112011-10-17 Andreas Schwab <schwab@redhat.com>
30312
49a43d80
AS
30313 * misc/sys/cdefs.h: Fix last change.
30314
629f62ef
AS
30315 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30316 database lookup.
30317
e453f6cd
UD
303182011-10-16 Ulrich Drepper <drepper@gmail.com>
30319
aa78043a
UD
30320 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30321
ad0f5cad
UD
30322 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30324 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30328 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30329 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30330 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30331 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30332 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30333 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30334 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30335 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30337 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30338 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30339 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30340 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30341 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30342 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30343 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30344
30345 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30346 ceil, ceilf, floor, floorf.
30347
30348 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30349 Perform IRELATIVE relocations last.
30350
e453f6cd
UD
30351 * elf/do-rel.h: Add another parameter nrelative, replacing the
30352 local variable with the same name. Change name of the function
30353 to end in Rel or Rela (uppercase).
30354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30355 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30356 elf_dynamic_do_##reloc function.
30357
fd5bdc09
UD
303582011-10-15 Ulrich Drepper <drepper@gmail.com>
30359
79b195b5
UD
30360 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30361 is sufficient, at least on modern CPUs.
30362
d4a28569
UD
30363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30364
b61099b5
UD
30365 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30366 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30367
bcf01e6d
UD
30368 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30369 __expl_finite.
30370 * math/bits/math-finite.h: Add entries for exp.
30371 * math/e_expl.c: Add __*_finite alias.
30372 * sysdeps/i386/fpu/e_exp.S: Likewise.
30373 * sysdeps/i386/fpu/e_expf.S: Likewise.
30374 * sysdeps/i386/fpu/e_expl.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30376 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30380 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30381 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30382
ba1a0d59
UD
30383 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30384 is sufficient, at least on modern CPUs.
30385
fd5bdc09
UD
30386 * ctype/ctype-info.c (__ctype_init): Define.
30387 * include/ctype.h (__ctype_init): Declare.
30388 (__ctype_b_loc): The variable is always initialized.
30389 (__ctype_toupper_loc): Likewise.
30390 (__ctype_tolower_loc): Likewise.
30391 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30392 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30393
7872cfb0
AS
303942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30395
b468825a
AS
30396 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30397
7872cfb0
AS
30398 * configure.in: Also look in $cxxmachine/include for C++ system
30399 headers.
30400
be13f7bf
LD
304012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30402
30403 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30404 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30405 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30406 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30407 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30408 (USE_AS_WMEMCMP): New macro.
30409 Fixing indents.
30410 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30411 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30412 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30413 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30415 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30416 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30417 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30418 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30419 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30420 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30421 (USE_AS_WMEMCMP): New macro.
30422 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30423 * sysdeps/string/test-memcmp.c: Update.
30424 Fix simple_wmemcmp.
30425 Add new tests.
30426 * wcsmbs/wmemcmp.c: Update.
30427 (WMEMCMP): New macro.
30428 Fix overflow bug.
30429
556a2007
AJ
304302011-10-12 Andreas Jaeger <aj@suse.de>
30431
30432 [BZ #13268]
30433 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30434
538faaa7
UD
304352011-10-15 Ulrich Drepper <drepper@gmail.com>
30436
ab6737ff
UD
30437 * libio/iofwide.c (do_length): Avoid warning.
30438
538faaa7
UD
30439 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30440
396a21b1
UD
304412011-10-14 Ulrich Drepper <drepper@gmail.com>
30442
cdf2901f
UD
30443 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30444
38ad40ce
UD
30445 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30446 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30447 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30448 * sysdeps/i386/i686/fpu/e_log.S: New file.
30449 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30450 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30451
396a21b1
UD
30452 * ctype/ctype.h: Add support for inlined isXXX functions when
30453 compiling C++ code.
30454
6b1f68c9
AS
304552011-10-14 Andreas Schwab <schwab@redhat.com>
30456
349290c0
AS
30457 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30458
6b1f68c9
AS
30459 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30460
f2282d42
RM
304612011-10-13 Roland McGrath <roland@hack.frob.com>
30462
30463 [BZ #13291]
30464 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30465
5298ffa8
AS
304662011-10-13 Andreas Schwab <schwab@redhat.com>
30467
714fad23
AS
30468 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30469 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30470 feraiseexcept.
30471
81dcc7fb
AS
30472 * sysdeps/x86_64/memrchr.S: Check for zero size.
30473
5298ffa8
AS
30474 * string/stratcliff.c: Add memrchr tests.
30475
951fbcec
LD
304762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30477
30478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30479 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30480 rawmemchr-sse2 rawmemchr-sse2-bsf.
30481 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30482 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30483 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30484 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30485 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30486 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30487 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30488 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30489 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30490 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30491 * string/memrchr.c (MEMRCHR): New macro.
30492
0ac5ae23
UD
304932011-10-12 Ulrich Drepper <drepper@gmail.com>
30494
30495 Add integration with gcc's -ffinite-math-only and optimize wrapper
30496 functions in libm.
30497 * Versions.def: Define GLIBC_2.15 version for libm.
30498 * math/Makefile (headers): Add bits/math-finite.h.
30499 * math/bits/math-finite.h: New file.
30500 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30501 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30502 * math/e_acoshl.c: Add __*_finite alias.
30503 * math/e_acosl.c: Likewise.
30504 * math/e_asinl.c: Likewise.
30505 * math/e_atan2l.c: Likewise.
30506 * math/e_atanhl.c: Likewise.
30507 * math/e_coshl.c: Likewise.
30508 * math/e_exp10.c: Likewise.
30509 * math/e_exp10f.c: Likewise.
30510 * math/e_exp10l.c: Likewise.
30511 * math/e_exp2l.c: Likewise.
30512 * math/e_fmodl.c: Likewise.
30513 * math/e_gammal_r.c: Likewise.
30514 * math/e_hypotl.c: Likewise.
30515 * math/e_j0l.c: Likewise.
30516 * math/e_j1l.c: Likewise.
30517 * math/e_jnl.c: Likewise.
30518 * math/e_lgammal_r.c: Likewise.
30519 * math/e_log10l.c: Likewise.
30520 * math/e_log2l.c: Likewise.
30521 * math/e_logl.c: Likewise.
30522 * math/e_powl.c: Likewise.
30523 * math/e_sinhl.c: Likewise.
30524 * math/e_sqrtl.c: Likewise.
30525 * math/e_scalb.c: Completely rewritten and optimized.
30526 * math/e_scalbf.c: Likewise.
30527 * math/e_scalbl.c: Likewise.
30528 * math/w_acos.c: Likewise.
30529 * math/w_acosf.c: Likewise.
30530 * math/w_acosl.c: Likewise.
30531 * math/w_acosh.c: Likewise.
30532 * math/w_acoshf.c: Likewise.
30533 * math/w_acoshl.c: Likewise.
30534 * math/w_asin.c: Likewise.
30535 * math/w_asinf.c: Likewise.
30536 * math/w_asinl.c: Likewise.
30537 * math/w_atan2.c: Likewise.
30538 * math/w_atan2f.c: Likewise.
30539 * math/w_atan2l.c: Likewise.
30540 * math/w_atanh.c: Likewise.
30541 * math/w_atanhf.c: Likewise.
30542 * math/w_atanhl.c: Likewise.
30543 * math/w_exp10.c: Likewise.
30544 * math/w_exp10f.c: Likewise.
30545 * math/w_exp10l.c: Likewise.
30546 * math/w_fmod.c: Likewise.
30547 * math/w_fmodf.c: Likewise.
30548 * math/w_fmodl.c: Likewise.
30549 * math/w_j0.c: Likewise.
30550 * math/w_j0f.c: Likewise.
30551 * math/w_j0l.c: Likewise.
30552 * math/w_j1.c: Likewise.
30553 * math/w_j1f.c: Likewise.
30554 * math/w_j1l.c: Likewise.
30555 * math/w_jn.c: Likewise.
30556 * math/w_jnf.c: Likewise.
30557 * math/w_log.c: Likewise.
30558 * math/w_logf.c: Likewise.
30559 * math/w_logl.c: Likewise.
30560 * math/w_log10.c: Likewise.
30561 * math/w_log10f.c: Likewise.
30562 * math/w_log10l.c: Likewise.
30563 * math/w_log2.c: Likewise.
30564 * math/w_log2f.c: Likewise.
30565 * math/w_log2l.c: Likewise.
30566 * math/w_pow.c: Likewise.
30567 * math/w_powf.c: Likewise.
30568 * math/w_powl.c: Likewise.
30569 * math/w_remainder.c: Likewise.
30570 * math/w_remainderf.c: Likewise.
30571 * math/w_remainderl.c: Likewise.
30572 * math/w_scalb.c: Likewise.
30573 * math/w_scalbf.c: Likewise.
30574 * math/w_scalbl.c: Likewise.
30575 * math/w_sqrt.c: Likewise.
30576 * math/w_sqrtf.c: Likewise.
30577 * math/w_sqrtl.c: Likewise.
30578 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30579 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30580 used.
30581 * math/math_private.h: Declare __kernel_standard_f.
30582 * math/w_cosh.c: Remove cruft and optimize a bit.
30583 * math/w_coshf.c: Likewise.
30584 * math/w_coshl.c: Likewise.
30585 * math/w_exp2.c: Likewise.
30586 * math/w_exp2f.c: Likewise.
30587 * math/w_exp2l.c: Likewise.
30588 * math/w_hypot.c: Likewise.
30589 * math/w_hypotf.c: Likewise.
30590 * math/w_hypotl.c: Likewise.
30591 * math/w_lgamma.c: Likewise.
30592 * math/w_lgamma_r.c: Likewise.
30593 * math/w_lgammaf.c: Likewise.
30594 * math/w_lgammaf_r.c: Likewise.
30595 * math/w_lgammal.c: Likewise.
30596 * math/w_lgammal_r.c: Likewise.
30597 * math/w_sinh.c: Likewise.
30598 * math/w_sinhf.c: Likewise.
30599 * math/w_sinhl.c: Likewise.
30600 * math/w_tgamma.c: Likewise.
30601 * math/w_tgammaf.c: Likewise.
30602 * math/w_tgammal.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30605 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30606 Minor optimizations. Pretty printing. Remove cruft.
30607 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30608 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30609 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30610 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30611 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30612 * sysdeps/i386/fpu/e_asin.S: Likewise.
30613 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30614 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30615 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30616 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30617 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30618 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30619 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30620 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30621 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30622 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30623 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30624 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30625 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30626 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30627 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30628 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30629 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30630 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30631 * sysdeps/i386/fpu/e_log.S: Likewise.
30632 * sysdeps/i386/fpu/e_log10.S: Likewise.
30633 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30634 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30635 * sysdeps/i386/fpu/e_log2.S: Likewise.
30636 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30637 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30638 * sysdeps/i386/fpu/e_logf.S: Likewise.
30639 * sysdeps/i386/fpu/e_logl.S: Likewise.
30640 * sysdeps/i386/fpu/e_pow.S: Likewise.
30641 * sysdeps/i386/fpu/e_powf.S: Likewise.
30642 * sysdeps/i386/fpu/e_powl.S: Likewise.
30643 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30644 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30645 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30646 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30647 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30648 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30649 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30650 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30651 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30673 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30676 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30677 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30678 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30679 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30680 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30681 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30682 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30683 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30684 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30685 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30686 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30687 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30688 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30689 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30690 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30691 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30692 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30693 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30737 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30738 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30740 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30743 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30744 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30745 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30746 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30747 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30748 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30749 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30750 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30751 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30752 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30753 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30754 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30755 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30756 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30757 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30758 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30760 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30761 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30762 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30763 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30764 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30765 (__isnanf): Likewise.
30766 (__isinf_ns): Likewise.
30767 (__isinf_nsf): Likewise.
30768 (__finite): Likewise.
30769 (__finitef): Likewise.
30770 (__ieee754_sqrt): Define as macro.
30771 (__ieee754_sqrtf): Define as macro.
30772 (__ieee754_sqrtl): Define as macro.
30773 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30774 inlined copy.
30775 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30776 __FINITE_MATH_ONLY__ consistent.
30777 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30778
12cc2fcd
AS
307792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30780
a843a204
AS
30781 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30782 of rawmemchr.
30783
12cc2fcd
AS
30784 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30785
c853acd5
UD
307862011-10-09 Ulrich Drepper <drepper@gmail.com>
30787
30788 * po/ja.po: Update from translation team.
30789
c658d255
RM
307902011-10-08 Roland McGrath <roland@hack.frob.com>
30791
110946e4
RM
30792 * locale/programs/locarchive.c (prepare_address_space): New function.
30793 (create_archive, enlarge_archive, open_archive): Use it.
30794
50604220
RM
30795 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30796 inside [SHARED], where it is used.
30797
c658d255
RM
30798 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30799
30800 * nss/getent.c (netgroup_keys): Remove unused variable.
30801 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30802
6a621eb7
UD
308032011-10-08 Ulrich Drepper <drepper@gmail.com>
30804
7edb55ce
UD
30805 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30806 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30808 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30809 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30810 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30811 * math/Makefile (libm-calls): Add s_isinf_ns.
30812 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30813 * math/multc3.c: Likewise.
30814 * math/s_casin.c: Likewise.
30815 * math/s_casinf.c: Likewise.
30816 * math/s_casinl.c: Likewise.
30817 * math/s_ccos.c: Likewise.
30818 * math/s_ccosf.c: Likewise.
30819 * math/s_ccosl.c: Likewise.
30820 * math/s_ctan.c: Likewise.
30821 * math/s_ctanf.c: Likewise.
30822 * math/s_ctanh.c: Likewise.
30823 * math/s_ctanhf.c: Likewise.
30824 * math/s_ctanhl.c: Likewise.
30825 * math/s_ctanl.c: Likewise.
30826 * math/w_fmod.c: Likewise.
30827 * math/w_fmodf.c: Likewise.
30828 * math/w_fmodl.c: Likewise.
30829 * math/w_remainder.c: Likewise.
30830 * math/w_remainderf.c: Likewise.
30831 * math/w_remainderl.c: Likewise.
30832 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30833 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30834 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30836 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30837 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30838 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30839 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30840
187da0ae
UD
30841 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30842 of the number.
30843 * stdio-common/printf_fphex.c: Likewise.
30844 * stdio-common/printf_size.c: Likewise.
30845
9277c064
UD
30846 * math/e_exp10.c: Include math_private.h using <...> not "...".
30847 * math/e_exp10f.c: Likewise.
30848 * math/e_exp10l.c: Likewise.
30849 * math/e_exp2l.c: Likewise.
30850 * math/e_j0l.c: Likewise.
30851 * math/e_j1l.c: Likewise.
30852 * math/e_jnl.c: Likewise.
30853 * math/e_lgammal_r.c: Likewise.
30854 * math/e_rem_pio2l.c: Likewise.
30855 * math/e_scalb.c: Likewise.
30856 * math/e_scalbf.c: Likewise.
30857 * math/e_scalbl.c: Likewise.
30858 * math/k_cosl.c: Likewise.
30859 * math/k_sinl.c: Likewise.
30860 * math/k_tanl.c: Likewise.
30861 * math/s_cacoshf.c: Likewise.
30862 * math/s_catan.c: Likewise.
30863 * math/s_catanf.c: Likewise.
30864 * math/s_catanh.c: Likewise.
30865 * math/s_catanhf.c: Likewise.
30866 * math/s_catanhl.c: Likewise.
30867 * math/s_catanl.c: Likewise.
30868 * math/s_ccosh.c: Likewise.
30869 * math/s_ccoshf.c: Likewise.
30870 * math/s_ccoshl.c: Likewise.
30871 * math/s_cexp.c: Likewise.
30872 * math/s_cexpf.c: Likewise.
30873 * math/s_cexpl.c: Likewise.
30874 * math/s_clog.c: Likewise.
30875 * math/s_clog10.c: Likewise.
30876 * math/s_clog10f.c: Likewise.
30877 * math/s_clog10l.c: Likewise.
30878 * math/s_clogf.c: Likewise.
30879 * math/s_clogl.c: Likewise.
30880 * math/s_csin.c: Likewise.
30881 * math/s_csinf.c: Likewise.
30882 * math/s_csinh.c: Likewise.
30883 * math/s_csinhf.c: Likewise.
30884 * math/s_csinhl.c: Likewise.
30885 * math/s_csinl.c: Likewise.
30886 * math/s_csqrt.c: Likewise.
30887 * math/s_csqrtf.c: Likewise.
30888 * math/s_csqrtl.c: Likewise.
30889 * math/s_ctan.c: Likewise.
30890 * math/s_ctanf.c: Likewise.
30891 * math/s_ctanh.c: Likewise.
30892 * math/s_ctanhf.c: Likewise.
30893 * math/s_ctanhl.c: Likewise.
30894 * math/s_ctanl.c: Likewise.
30895 * math/s_ldexp.c: Likewise.
30896 * math/s_ldexpf.c: Likewise.
30897 * math/s_ldexpl.c: Likewise.
30898 * math/s_significand.c: Likewise.
30899 * math/s_significandf.c: Likewise.
30900 * math/s_significandl.c: Likewise.
30901 * math/w_acos.c: Likewise.
30902 * math/w_acosf.c: Likewise.
30903 * math/w_acosh.c: Likewise.
30904 * math/w_acoshf.c: Likewise.
30905 * math/w_acoshl.c: Likewise.
30906 * math/w_acosl.c: Likewise.
30907 * math/w_asin.c: Likewise.
30908 * math/w_asinf.c: Likewise.
30909 * math/w_asinl.c: Likewise.
30910 * math/w_atan2.c: Likewise.
30911 * math/w_atan2f.c: Likewise.
30912 * math/w_atan2l.c: Likewise.
30913 * math/w_atanh.c: Likewise.
30914 * math/w_atanhf.c: Likewise.
30915 * math/w_atanhl.c: Likewise.
30916 * math/w_cosh.c: Likewise.
30917 * math/w_coshf.c: Likewise.
30918 * math/w_coshl.c: Likewise.
30919 * math/w_dremf.c: Likewise.
30920 * math/w_exp10.c: Likewise.
30921 * math/w_exp10f.c: Likewise.
30922 * math/w_exp10l.c: Likewise.
30923 * math/w_exp2.c: Likewise.
30924 * math/w_exp2f.c: Likewise.
30925 * math/w_fmod.c: Likewise.
30926 * math/w_fmodf.c: Likewise.
30927 * math/w_fmodl.c: Likewise.
30928 * math/w_hypot.c: Likewise.
30929 * math/w_hypotf.c: Likewise.
30930 * math/w_hypotl.c: Likewise.
30931 * math/w_j0.c: Likewise.
30932 * math/w_j0f.c: Likewise.
30933 * math/w_j0l.c: Likewise.
30934 * math/w_j1.c: Likewise.
30935 * math/w_j1f.c: Likewise.
30936 * math/w_j1l.c: Likewise.
30937 * math/w_jn.c: Likewise.
30938 * math/w_jnf.c: Likewise.
30939 * math/w_jnl.c: Likewise.
30940 * math/w_lgamma.c: Likewise.
30941 * math/w_lgamma_r.c: Likewise.
30942 * math/w_lgammaf.c: Likewise.
30943 * math/w_lgammaf_r.c: Likewise.
30944 * math/w_lgammal.c: Likewise.
30945 * math/w_lgammal_r.c: Likewise.
30946 * math/w_log.c: Likewise.
30947 * math/w_log10.c: Likewise.
30948 * math/w_log10f.c: Likewise.
30949 * math/w_log10l.c: Likewise.
30950 * math/w_log2.c: Likewise.
30951 * math/w_log2f.c: Likewise.
30952 * math/w_log2l.c: Likewise.
30953 * math/w_logf.c: Likewise.
30954 * math/w_logl.c: Likewise.
30955 * math/w_pow.c: Likewise.
30956 * math/w_powf.c: Likewise.
30957 * math/w_powl.c: Likewise.
30958 * math/w_remainder.c: Likewise.
30959 * math/w_remainderf.c: Likewise.
30960 * math/w_remainderl.c: Likewise.
30961 * math/w_scalb.c: Likewise.
30962 * math/w_scalbf.c: Likewise.
30963 * math/w_scalbl.c: Likewise.
30964 * math/w_sinh.c: Likewise.
30965 * math/w_sinhf.c: Likewise.
30966 * math/w_sinhl.c: Likewise.
30967 * math/w_sqrt.c: Likewise.
30968 * math/w_sqrtf.c: Likewise.
30969 * math/w_sqrtl.c: Likewise.
30970 * math/w_tgamma.c: Likewise.
30971 * math/w_tgammaf.c: Likewise.
30972 * math/w_tgammal.c: Likewise.
30973
6a621eb7
UD
30974 * po/ja.po: Update from translation team.
30975
bf582445
AJ
309762011-09-29 Andreas Jaeger <aj@suse.de>
30977
f9efbf3a
AJ
30978 [BZ #13179]
30979 * sunrpc/netname.c (netname2host): Fix logic.
30980
bf582445
AJ
30981 [BZ #6779]
30982 [BZ #6783]
30983 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30984 correctly.
30985 * math/w_remainder.c (__remainder): Likewise.
30986 * math/w_remainderf.c (__remainderf): Likewise.
30987 * math/libm-test.inc (remainder_test): Add test cases.
30988
48693bea
AK
309892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30990
30991 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30992 sdiv_qrnnd.
30993
42622229
LD
309942011-10-07 Ulrich Drepper <drepper@gmail.com>
30995
30996 * string/test-memcmp.c: Avoid unncessary #defines.
30997 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30998
093ecf92
LD
309992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31000
31001 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31002 Use new sse2 version for core i3 - i7 as it's faster
31003 than sse42 version.
31004 (bit_Prefer_PMINUB_for_stringop): New.
31005 * sysdeps/x86_64/rawmemchr.S: Update.
31006 Replace with faster SSE2 version.
31007 * sysdeps/x86_64/memrchr.S: New file.
31008 * sysdeps/x86_64/memchr.S: Update.
31009 Replace with faster SSE2 version.
31010
fde56e5c
MP
310112011-09-12 Marek Polacek <mpolacek@redhat.com>
31012
31013 * elf/dl-load.c (lose): Add cast to avoid warning.
31014
21fd49a9
UD
310152011-10-07 Ulrich Drepper <drepper@gmail.com>
31016
5a06e643
UD
31017 * po/ca.po: Update from translation team.
31018
684ae515
UD
31019 * inet/getnetgrent_r.c: Hook up nscd.
31020 * nscd/Makefile (routines): Add nscd_netgroup.
31021 (nscd-modules): Add netgroupcache.
31022 (CFLAGS-netgroupcache.c): Define.
31023 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31024 (cache_search): Add const to second parameter.
31025 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31026 INNETGR.
31027 (dbs): Add netgrdb entry.
31028 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31029 (verify_persistent_db): Handle netgrdb.
31030 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31031 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31032 GETFDNETGR.
31033 (netgroup_response_header): Define.
31034 (innetgroup_response_header): Define.
31035 (datahead): Add netgroup_response_header and innetgroup_response_header
31036 elements.
31037 * nscd/nscd.conf: Add entries for netgroup cache.
31038 * nscd/nscd.h (dbtype): Add netgrdb.
31039 (_PATH_NSCD_NETGROUP_DB): Define.
31040 (netgroup_iov_disabled): Declare.
31041 (xmalloc, xcalloc, xrealloc): Move declarations here.
31042 (cache_search): Adjust prototype.
31043 Add netgroup-related prototypes.
31044 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31045 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31046 (__nscd_innetgr): Declare.
31047 * nscd/selinux.c (perms): Use access_vector_t as element type and
31048 add netgroup-related initializers.
31049 * nscd/netgroupcache.c: New file.
31050 * nscd/nscd_netgroup.c: New file.
31051 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31052 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31053 For four parameters use innetgr.
31054 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31055 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31056 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31057 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31058
21fd49a9
UD
31059 * nscd/connections.c (register_traced_file): Don't register file
31060 for disabled databases.
31061
054c0457
UD
310622011-10-06 Ulrich Drepper <drepper@gmail.com>
31063
32b63198
UD
31064 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31065
054c0457
UD
31066 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31067 from tree and freeing node.
31068
64031225
JO
310692011-09-25 Jiri Olsa <jolsa@redhat.com>
31070
31071 * nss/nsswitch.c (__nss_database_lookup): Handle
31072 nss_parse_service_list out of memory case.
31073
0490345c
JO
310742011-09-15 Jiri Olsa <jolsa@redhat.com>
31075
31076 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31077 out of memory case.
31078
3a62d00d
AS
310792011-10-04 Andreas Schwab <schwab@redhat.com>
31080
31081 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31082 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31083 pass it down.
31084 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31085 elf_machine_rela, elf_machine_lazy_rel.
31086 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31087 (ELF_DYNAMIC_DO_REL): Likewise.
31088 (ELF_DYNAMIC_DO_RELA): Likewise.
31089 (ELF_DYNAMIC_RELOCATE): Likewise.
31090 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31091 to ELF_DYNAMIC_DO_REL.
31092 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31093 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31094 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31095 elf_machine_rela.
31096 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31097 skip_ifunc, don't call ifunc function if non-zero.
31098 (elf_machine_rela): Likewise.
31099 (elf_machine_lazy_rel): Likewise.
31100 (elf_machine_lazy_rela): Likewise.
31101 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31102 (elf_machine_lazy_rel): Likewise.
31103 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31104 Likewise.
31105 (elf_machine_lazy_rel): Likewise.
31106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31107 Likewise.
31108 (elf_machine_lazy_rel): Likewise.
31109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31110 (elf_machine_lazy_rel): Likewise.
31111 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31112 (elf_machine_lazy_rel): Likewise.
31113 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31114 (elf_machine_lazy_rel): Likewise.
31115 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31116 (elf_machine_lazy_rel): Likewise.
31117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31118 (elf_machine_lazy_rel): Likewise.
31119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31120 (elf_machine_lazy_rel): Likewise.
31121
68577918
UD
311222011-09-28 Ulrich Drepper <drepper@gmail.com>
31123
31124 * nss/nss_files/files-init.c (_nss_files_init): Use static
31125 initialization for all the *_traced_file variables.
31126
68822d74
AS
311272011-09-28 Andreas Schwab <schwab@redhat.com>
31128
31129 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31130
2056100b
RM
311312011-09-27 Roland McGrath <roland@hack.frob.com>
31132
31133 [BZ #13226]
31134 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31135
32c76b63
AS
311362011-09-27 Andreas Schwab <schwab@redhat.com>
31137
31138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31139 Reread the line before reparsing it.
31140
bf972c9d
AS
311412011-09-26 Andreas Schwab <schwab@redhat.com>
31142
31143 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31144
e057a1b5
JM
311452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31146 Maxim Kuvyrkov <maxim@codesourcery.com>
31147 Joseph Myers <joseph@codesourcery.com>
31148
31149 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31150 if needed for __stack_chk_guard.
31151
bc7e1c36
RM
311522011-09-19 Roland McGrath <roland@hack.frob.com>
31153
ecb1482f
RM
31154 * sysdeps/posix/spawni.c (script_execute): Always define it.
31155 It will be optimized away if unused.
31156 (maybe_script_execute): New function.
31157 (__spawni): Call it.
31158
bc7e1c36
RM
31159 * Makerules: Don't include tls.make.
31160 (config-tls): Always set to thread.
31161 * tls.make.c: File removed.
31162
1c3b002b
MF
311632011-09-19 Mike Frysinger <vapier@gentoo.org>
31164
31165 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31166 * config.make.in (CPPFLAGS-config): New substituted variable.
31167
2840865d
UD
311682011-09-15 Ulrich Drepper <drepper@gmail.com>
31169
88738eb6
UD
31170 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31171
cbf645a6 31172 [BZ #13192]
2840865d
UD
31173 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31174 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31175
b402e91a
RM
311762011-09-15 Roland McGrath <roland@hack.frob.com>
31177
31178 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31179 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31180 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31181 (CALL_FAIL): Likewise.
31182 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31183 (CALL_FAIL): Macro removed.
31184 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31185
4c1a1f71
UD
311862011-09-15 Ulrich Drepper <drepper@gmail.com>
31187
31188 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31189 for __FINITE_MATH_ONLY__ == 1.
31190
edc121be
AS
311912011-09-15 Andreas Schwab <schwab@redhat.com>
31192
31193 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31194 __ieee754_sqrt instead of sqrt.
31195 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31196 __ieee754_sqrtf instead of sqrtf.
31197 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31198 __floorf instead of floorf.
31199 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31200 __floorf, __truncf instead of floorf, truncf.
31201
cd205654
UD
312022011-09-14 Ulrich Drepper <drepper@gmail.com>
31203
ee4d0315
UD
31204 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31205
cd205654
UD
31206 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31207 __extern_always_inline.
31208 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31209 32-bit.
31210
48b67d71
AS
312112011-09-14 Andreas Schwab <schwab@redhat.com>
31212
31213 * elf/rtld.c (dl_main): Also relocate in dependency order when
31214 doing symbol dependency testing.
31215
1ae12c75
AS
312162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31217
31218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31219 Always define `refsym'.
31220
995a80df
AS
312212011-09-13 Andreas Schwab <schwab@redhat.com>
31222
e529793b
AS
31223 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31224 (__FD_ELT): Renamed from __FDELT.
31225 * misc/bits/select2.h (__FD_ELT): Likewise.
31226 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31227 __FD_MASK instead of __FDELT, __FDMASK.
31228 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31229 Likewise.
31230 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31231 Likewise.
31232
52d4fef8
AS
31233 * elf/Makefile (gen-ldd): Fix pattern.
31234
995a80df
AS
31235 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31236 (init_tls): Likewise.
31237
8682f8b0
UD
312382011-09-12 Ulrich Drepper <drepper@gmail.com>
31239
31240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31241
de82006d
AS
312422011-09-12 Andreas Schwab <schwab@redhat.com>
31243
a7c8e6a1
AS
31244 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31245 `struct cmsghdr *' instead of `void *'.
31246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31247 Likewise.
31248
0f31fe77
AS
312492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31250
31251 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31252 if non-absolute.
31253 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31254 ldd_rewrite_script.
0f31fe77 31255
32b4c839
UD
312562011-09-11 Ulrich Drepper <drepper@gmail.com>
31257
83cd1420
UD
31258 * configure.in: Remove --with-tls option.
31259 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31260 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31261 out in case it is missing.
31262 * sysdeps/ia64/elf/configure.in: Likewise.
31263 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31264 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31265 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31266 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31267 * sysdeps/sh/elf/configure.in: Likewise.
31268 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31269 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31270 * sysdeps/x86_64/elf/configure.in: Likewise.
31271 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31272 * sysdeps/mach/hurd/tls.h: Likewise.
31273
633f745d
UD
31274 [BZ #13067]
31275 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31276
f318beb8
UD
31277 [BZ #13090]
31278 * configure.in: Fix use of AC_INIT.
31279
32b4c839
UD
31280 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31281
3ce1f295
UD
312822011-09-10 Ulrich Drepper <drepper@gmail.com>
31283
bb016596
UD
31284 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31285 __set_errno.
8e58439c
UD
31286 * malloc/hooks.c: Likewise.
31287
aebae053 31288 [BZ #11929]
02d46fc4
UD
31289 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31290 variables statically.
31291 (narenas): Initialize.
31292 (list_lock): Initialize.
bb016596
UD
31293 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31294 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31295 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31296 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31297 Add initializers to main_arena and mp_.
31298 (malloc_state): Remove pagesize member. Change all users to use
31299 GLRO(dl_pagesize).
31300
31301 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31302 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31303 is always initialized.
31304
22a89187
UD
31305 * malloc/malloc.c: Removed unused configurations and dead code.
31306 * malloc/arena.c: Likewise.
31307 * malloc/hooks.c: Likewise.
02d46fc4 31308 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31309
d063d164
UD
31310 * include/tls.h: Removed. USE___THREAD must always be defined.
31311 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31312 * elf/dl-libc.c: Likewise.
31313 * elf/dl-tsd.c: Likewise.
31314 * include/errno.h: Likewise.
31315 * include/netdb.h: Likewise.
31316 * include/resolv.h: Likewise.
31317 * inet/herrno-loc.c: Likewise.
31318 * inet/herrno.c: Likewise.
31319 * malloc/arena.c: Likewise.
31320 * malloc/hooks.c: Likewise.
31321 * malloc/malloc.c: Likewise.
31322 * resolv/res-state.c: Likewise.
31323 * resolv/res_libc.c: Likewise.
31324 * sysdeps/i386/dl-machine.h: Likewise.
31325 * sysdeps/ia64/dl-machine.h: Likewise.
31326 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31327 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31328 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31329 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31330 * sysdeps/sh/dl-machine.h: Likewise.
31331 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31332 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31333 * sysdeps/unix/i386/sysdep.S: Likewise.
31334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31335 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31337 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31340 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31344 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31345 * sysdeps/x86_64/dl-machine.h: Likewise.
31346 * tls.make.c: Likewise.
31347
3ce1f295
UD
31348 * configure.in: Remove --with-__thread option. Make tests for
31349 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31350 tls_model attribute fail if no support is available. Remove
31351 USE_IN_LIBIO.
31352 * Makeconfig: Adjust for dropped configure option. All features are
31353 now mandatory.
31354 * Makerules: Likewise.
31355 * Versions.def: Likewise.
31356 * argp/argp-fmtstream.c: Likewise.
31357 * argp/argp-fmtstream.h: Likewise.
31358 * argp/argp-help.c: Likewise.
31359 * assert/assert.c: Likewise.
31360 * config.h.in: Likewise.
31361 * config.make.in: Likewise.
31362 * configure: Likewise.
31363 * configure.in: Likewise.
31364 * csu/Versions: Likewise.
31365 * csu/init.c: Likewise.
31366 * elf/tst-audit2.c: Likewise.
31367 * elf/tst-tls10.c: Likewise.
31368 * elf/tst-tls10.h: Likewise.
31369 * elf/tst-tls11.c: Likewise.
31370 * elf/tst-tls12.c: Likewise.
31371 * elf/tst-tls14.c: Likewise.
31372 * elf/tst-tlsmod11.c: Likewise.
31373 * elf/tst-tlsmod12.c: Likewise.
31374 * elf/tst-tlsmod13.c: Likewise.
31375 * elf/tst-tlsmod13a.c: Likewise.
31376 * elf/tst-tlsmod14a.c: Likewise.
31377 * elf/tst-tlsmod15b.c: Likewise.
31378 * elf/tst-tlsmod16a.c: Likewise.
31379 * elf/tst-tlsmod16b.c: Likewise.
31380 * elf/tst-tlsmod7.c: Likewise.
31381 * elf/tst-tlsmod8.c: Likewise.
31382 * elf/tst-tlsmod9.c: Likewise.
31383 * gmon/gmon.c: Likewise.
31384 * grp/fgetgrent_r.c: Likewise.
31385 * grp/putgrent.c: Likewise.
31386 * hurd/fopenport.c: Likewise.
31387 * include/libc-symbols.h: Likewise.
31388 * include/tls.h: Likewise.
31389 * intl/gettextP.h: Likewise.
31390 * intl/loadinfo.h: Likewise.
31391 * locale/global-locale.c: Likewise.
31392 * locale/localeinfo.h: Likewise.
31393 * mach/devstream.c: Likewise.
31394 * malloc/arena.c: Likewise.
31395 * malloc/set-freeres.c: Likewise.
31396 * misc/err.c: Likewise.
31397 * misc/getttyent.c: Likewise.
31398 * misc/mntent_r.c: Likewise.
31399 * posix/getopt.c: Likewise.
31400 * posix/wordexp.c: Likewise.
31401 * pwd/fgetpwent_r.c: Likewise.
31402 * resolv/Versions: Likewise.
31403 * resolv/res_hconf.c: Likewise.
31404 * shadow/fgetspent_r.c: Likewise.
31405 * shadow/putspent.c: Likewise.
31406 * stdio-common/printf_fphex.c: Likewise.
31407 * stdio-common/tmpfile.c: Likewise.
31408 * stdlib/abort.c: Likewise.
31409 * stdlib/fmtmsg.c: Likewise.
31410 * sunrpc/auth_unix.c: Likewise.
31411 * sunrpc/clnt_perr.c: Likewise.
31412 * sunrpc/clnt_tcp.c: Likewise.
31413 * sunrpc/clnt_udp.c: Likewise.
31414 * sunrpc/clnt_unix.c: Likewise.
31415 * sunrpc/openchild.c: Likewise.
31416 * sunrpc/svc_simple.c: Likewise.
31417 * sunrpc/svc_tcp.c: Likewise.
31418 * sunrpc/svc_udp.c: Likewise.
31419 * sunrpc/svc_unix.c: Likewise.
31420 * sunrpc/xdr.c: Likewise.
31421 * sunrpc/xdr_array.c: Likewise.
31422 * sunrpc/xdr_rec.c: Likewise.
31423 * sunrpc/xdr_ref.c: Likewise.
31424 * sunrpc/xdr_stdio.c: Likewise.
31425
1248c1c4
PB
314262011-09-09 Ulrich Drepper <drepper@gmail.com>
31427
31428 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31429
314302011-07-03 Andreas Jaeger <aj@suse.de>
31431
31432 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31433 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31434 regenerate with gen-libm-tests.pl.
31435
314362010-05-12 Petr Baudis <pasky@suse.cz>
31437
31438 [BZ #11589]
31439 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31440 around j0() zero points by switching to j1().
31441 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31445
f22e1074
UD
314462011-09-09 Ulrich Drepper <drepper@gmail.com>
31447
f19009c1
UD
31448 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31449 instead of 0.
31450 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31451 instead of 0.
f19009c1
UD
31452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31453 Patch in part by Pavel Roskin <proski@gnu.org>.
31454
3f8cc204
UD
31455 [BZ #13138]
31456 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31457 realloc.
31458 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31459 Free memory block if necessary.
31460
f22e1074
UD
31461 [BZ #12847]
31462 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31463 be NULL. Don't lock in this case.
31464
0a2349f9
RM
314652011-09-09 Roland McGrath <roland@hack.frob.com>
31466
31467 * elf/elf.h (ELFOSABI_GNU): New macro.
31468 (ELFOSABI_LINUX): Define to that.
31469
f3cdd467
DZ
314702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31471
31472 * string/strncat.c (strncat): Undef the symbol in case it has been
31473 defined in bits/string.h.
31474
74718d13
UD
314752011-09-09 Ulrich Drepper <drepper@gmail.com>
31476
633e9e0f
UD
31477 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31478
0a2349f9 31479 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31480 link map.
31481
f9924780
AJ
314822011-08-17 Andreas Jaeger <aj@suse.de>
31483
31484 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31485
7f5517aa
PP
314862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31487 Ian Lance Taylor <iant@google.com>
31488
31489 * math/libm-test.inc (lround_test): New testcase.
31490 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31491
762011fe
UD
314922011-09-08 Ulrich Drepper <drepper@gmail.com>
31493
92963737
UD
31494 * Makefile: Remove support for automatic cvs check-ins.
31495 * Makerules: Likewise.
31496 * config.make.in: Likewise.
31497 * configure.in: Likewise.
31498 * intl/Makefile: Likewise.
31499 * locale/Makefile: Likewise.
31500 * po/Makefile: Likewise.
31501 * posix/Makefile: Likewise.
31502 * sysdeps/gnu/Makefile: Likewise.
31503 * sysdeps/mach/hurd/Makefile: Likewise.
31504 * sysdeps/sparc/sparc32/Makefile: Likewise.
31505
b0727fd8
JS
31506 [BZ #13118]
31507 * posix/Makefile (bug-regex32-ENV): Define.
31508 Patch by John Stanley <jpsinthemix@verizon.net>.
31509
a0f33f99
UD
31510 * misc/Makefile (headers): Add bits/select2.h.
31511 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31512 * misc/bits/select2.h: New file.
31513 * include/bits/select2.h: New file.
31514 * debug/Makefile (routines): Add fdelt_chk.
31515 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31516 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31517 FD_ISSET.
31518 * debug/fdelt_chk.c: New file.
31519
762011fe
UD
31520 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31521 * wcsmbs/test-wmemcmp.c: Likewise.
31522 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31523 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31524
315252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31526
31527 * string/Makefile (strop-tests): Add memcmp.
31528 * string/test-wmemcmp.c: New file.
31529 * string/test-memcmp.c: Add wmemcmp support.
31530
7f513ec8
RM
315312011-09-08 Roland McGrath <roland@hack.frob.com>
31532
0442afb4
RM
31533 [BZ #13153]
31534 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31535 2011-07-19 change.
31536
7f513ec8
RM
31537 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31538 garbage value in a __mach_port_mod_refs call in the cases of the
31539 task-self and thread-self ports.
31540
a12b2239
ST
315412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31542
31543 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31544
610f9ab4
AS
315452011-09-08 Andreas Schwab <schwab@redhat.com>
31546
7f513ec8 31547 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31548
48882a1a
LD
315492011-09-07 Ulrich Drepper <drepper@gmail.com>
31550
b49865be
UD
31551 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31552
fdc86bc9
UD
31553 * elf/dl-libc.c (dlerror_run): Pass back error code from
31554 dl_catch_error.
31555
c966526a
UD
31556 [BZ #13123]
31557 * elf/dl-load.c (lose): Free l_origin if it is valid.
31558
48882a1a
LD
31559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31560 names.
31561 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31562 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31563 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31564 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31565 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31566 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31567
77a2a8b4
AZ
315682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31569
31570 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31571 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31572 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31573 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31574 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31575 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31576 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31577 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31578 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31579 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31580
24f579d8
AM
315812011-08-15 Alan Modra <amodra@gmail.com>
31582
31583 [BZ #13092]
31584 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31585 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31586 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31587 ppc_mcount to static-only-routines.
31588 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31589 __mcount_internal.
31590 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31591 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31592
3d4837df
UD
315932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31594
31595 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31596 for finite and infinity parameters.
31597
22700377
WS
315982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31599
31600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31601 and add nop instructions for throughput optimization.
31602 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31603
5025581e
WS
316042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31605
31606 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31607 aligned copy for power7 with vector-scalar instructions.
31608 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31609
08a300c9
L
316102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31611
31612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31613 AVX check.
31614
59178ef9
AS
316152011-09-07 Andreas Schwab <schwab@redhat.com>
31616
31617 [BZ #13144]
31618 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31619 last change.
31620
e38ba7ab
UD
316212011-09-07 Ulrich Drepper <drepper@gmail.com>
31622
31623 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31624 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31625 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31626 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31627 clock_gettime.
31628
d53a73ac
UD
316292011-09-06 Ulrich Drepper <drepper@gmail.com>
31630
fc8bffcc
UD
31631 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31632 Forgot to demangle the pointer.
31633
ceaa0c5d
UD
31634 * sysdeps/i386/sysdep.h: Define atom_text_section.
31635 * sysdeps/x86_64/sysdep.h: Likewise.
31636 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31637 section with atom_text_section.
31638 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31639 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31640 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31642 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31643
a77d3c17
UD
31644 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31645 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31646 already be defined. Change to take two parameters and don't assign
31647 result to variable. Adjust all users.
31648 Define INTERNAL_GETTIME if not already defined.
31649 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31650 call.
31651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31652 HAVE_CLOCK_GETTIME_VSYSCALL.
31653 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31654
d53a73ac
UD
31655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31656 gettimeofday vsyscall, just use time.
31657
a8f84144
AS
316582011-09-06 Andreas Schwab <schwab@redhat.com>
31659
31660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31661 <errno.h>.
31662
ef606249
UD
316632011-09-06 Ulrich Drepper <drepper@gmail.com>
31664
31665 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31666 syscall on x86-64.
31667 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31668 syscall.
31669 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31670 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31671 syscall if possible.
31672
6585cb60
UD
316732011-09-05 Ulrich Drepper <drepper@gmail.com>
31674
31675 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31676 e_ident. Don't pass to find_mapsXX.
31677 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31678
a5f524e4
LD
316792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31680
31681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31682 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31683 * sysdeps/x86_64/multiarch/strchr.S: Update.
31684 Check bit_slow_BSF bit.
31685 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31686 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31687 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31688
554881ef
UD
316892011-09-05 Ulrich Drepper <drepper@gmail.com>
31690
d96de963
UD
31691 [BZ #13134]
31692 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31693 before glibc 2.15.
31694 (tryshell): Define.
31695 (__spawni): Change last parameter to be flag. Test
31696 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31697 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31698 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31699 * posix/spawni.c: Likewise.
31700 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31701 * posix/spawnp.c: Likewise. Change normal version to use
31702 SPAWN_XFLAGS_USE_PATH.
31703 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31704 SPAWN_XFLAGS_TRY_SHELL.
31705
d48e5868
UD
31706 [BZ #13150]
31707 * posix/glob.h: Remove gcc 1.x support.
31708
554881ef
UD
31709 [BZ #13068]
31710 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31711
693fb948
LD
317122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31713
31714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31715 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31716 strrchr-sse2-bsf
31717 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31718 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31719 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31720 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31721 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31722 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31723
1b48c537
UD
317242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31725
49d42c37
UD
31726 * sysdeps/x86_64/wcscmp.S: New file.
31727
1b48c537
UD
31728 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31729 wcscmp-c wcscmp-sse2
31730 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31731 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31733 * wcsmbs/wcscmp.c: Allow renaming.
31734
15c95c5d
DM
317352011-09-05 David S. Miller <davem@davemloft.net>
31736
31737 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31738 stack slot, rather than the struct return pointer slot.
31739 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31740 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31742 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31743
2f0ad8f3
UD
317442011-09-05 Ulrich Drepper <drepper@gmail.com>
31745
d88ae418
UD
31746 * po/ja.po: Update from translation team.
31747
2f0ad8f3
UD
31748 [BZ #13144]
31749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31750 kernel in 64-bit binaries.
31751
5f4318d1
DM
317522011-09-01 David S. Miller <davem@davemloft.net>
31753
31754 * elf/elf.h (HWCAP_SPARC_*): Move to..
31755 * sysdeps/sparc/sysdep.h: this new file and add new values.
31756 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31757 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31758 _DL_HWCAP_COUNT to 24.
31759 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31760 entries.
31761 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31762 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31763 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31765 instead of magic constants.
31766 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31767
3ba57516
DM
317682011-08-31 David S. Miller <davem@davemloft.net>
31769
31770 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31772 Reimplement to do errno handling inline.
31773 (SYSCALL_ERROR_HANDLER): New macro.
31774 (__SYSCALL_STRING): Do not do errno handling in asm.
31775 (__CLONE_SYSCALL_STRING): Delete.
31776 (__INTERNAL_SYSCALL_STRING): Delete.
31777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31778 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31779 (PSEUDO): Reimplement to do errno handling inline.
31780 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31781 (SYSCALL_ERROR_HANDLER): New macro.
31782 (__SYSCALL_STRING): Do not do errno handling in asm.
31783 (__CLONE_SYSCALL_STRING): Delete.
31784 (__INTERNAL_SYSCALL_STRING): Delete.
31785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31786 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31787 i386.
31788 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31789 (inline_syscall*): Add 'err' argument.
31790 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31791 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31792 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31793 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31794
31795 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31796 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31797
2bc17433
AS
317982011-08-30 Andreas Schwab <schwab@redhat.com>
31799
31800 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31801
fbeb5f4d
JO
318022011-08-29 Jiri Olsa <jolsa@redhat.com>
31803
31804 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31805 directive.
31806
ad69cc26
DM
318072011-08-24 David S. Miller <davem@davemloft.net>
31808
31809 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31810
39dd69df
AS
318112011-08-24 Andreas Schwab <schwab@redhat.com>
31812
31813 * elf/Makefile: Add rules to build and run unload8 test.
31814 * elf/unload8.c: New file.
31815 * elf/unload8mod1.c: New file.
31816 * elf/unload8mod1x.c: New file.
31817 * elf/unload8mod2.c: New file.
31818 * elf/unload8mod3.c: New file.
31819
31820 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31821 it wasn't used.
31822
2c0b250a
DM
318232011-08-23 David S. Miller <davem@davemloft.net>
31824
31825 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31826 subtract stack bias.
31827 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31828 %sp not %fp in calculations.
31829 (_JMPBUF_UNWINDS_ADJ): Likewise.
31830
22044b48
DM
31831 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31832 (aio_suspend): Call it to force an exception region around the
31833 AIO_MISC_WAIT() invocation.
31834
2cae4995
AS
318352011-08-23 Andreas Schwab <schwab@redhat.com>
31836
31837 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31838 backslash.
31839
873a772e
AJ
318402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31841
31842 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31843 protection macro.
31844 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31845 and <dl-machine.h>.
31846 (Elf64_FuncDesc): Remove.
31847
25ad0df1
DM
318482011-08-22 David S. Miller <davem@davemloft.net>
31849
31850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31851 sigaltstack check, add missing cfi directives.
31852 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31853 missing cfi directives, and sigaltstack handling.
31854
e888bcbe
AS
318552011-08-16 Andreas Schwab <schwab@redhat.com>
31856
31857 [BZ #11724]
31858 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31859 object is seen twice.
31860 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31861
31862 * elf/Makefile (distribute): Add tst-initorder2.c.
31863 (tests): Add tst-initorder2.
31864 (modules-names): Add tst-initorder2a tst-initorder2b
31865 tst-initorder2c tst-initorder2d. Add rules to build them.
31866 ($(objpfx)tst-initorder2.out): New rule.
31867 * elf/tst-initorder2.c: New file.
31868 * elf/tst-initorder2.exp: New file.
31869
87162f46
AS
318702011-08-22 Andreas Schwab <schwab@redhat.com>
31871
70538b7f
AS
31872 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31873
f55ffe58
AS
31874 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31875 dependencies back to end of function.
31876
87162f46
AS
31877 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31878 $(elfobjdir)/ld.so.
31879
91b392a4
UD
318802011-08-21 Ulrich Drepper <drepper@gmail.com>
31881
31882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31883 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31885 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31886 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31887 of __vdso_gettimeofday.
31888 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31889 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31890 attribute_hidden.
31891 (_libc_vdso_platform_setup): Remove initialization of
31892 __vdso_gettimeofday and __vdso_time.
31893
5c43483f
UD
318942011-08-20 Ulrich Drepper <drepper@gmail.com>
31895
775a77e7
UD
31896 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31897 and fgetc_unlocked.
31898 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31899 getc_unlocked.
89f447ed 31900
49c74ba9
UD
31901 * elf/dl-open.c (add_to_global): Report additions to the global scope
31902 for LD_DEBUG=scopes.
31903 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31904 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31905
5c43483f
UD
31906 [BZ #13114]
31907 * stdio-common/Makefile (tests): Add bug24.
31908 * stdio-common/bug24.c: New file.
31909
a101b025
AJ
319102011-08-19 Andreas Jaeger <aj@suse.de>
31911
31912 [BZ #13114]
31913 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31914 non-existant file when using close-on-exec mode.
31915
c88f1766
UD
319162011-08-20 Ulrich Drepper <drepper@gmail.com>
31917
0276a718
UD
31918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31919 the very first instruction.
31920
c88f1766
UD
31921 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31922 the CFI state in the end.
31923 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31924 inclusion of dl-trampoline.h.
31925 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31926
51ccffa0
AS
319272011-08-19 Andreas Schwab <schwab@redhat.com>
31928
94d7165f
AS
31929 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31930 expectations for long double.
31931
51ccffa0
AS
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31933 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31934
fd708658 319352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31936
31937 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31938 artificual limit depends upon the system page size.
31939
44f0a71e
UD
319402011-08-17 Ulrich Drepper <drepper@gmail.com>
31941
31942 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31943 * resolv/Makefile: Define CFLAGS-libresolv.
31944
8de79a24
AS
319452011-08-17 Andreas Schwab <schwab@redhat.com>
31946
31947 * nss/makedb.c (compute_tables): Make variables used in nested
31948 function static.
31949
27724598
UD
319502011-08-17 Ulrich Drepper <drepper@gmail.com>
31951
c5305d88
UD
31952 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31953 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31954 if buffer was too small.
31955
27724598
UD
31956 * elf/pldd.c (main): Attach to all threads in the process.
31957 Rewrite /proc handling to use *at functions.
31958
076fe015
UD
319592011-08-16 Ulrich Drepper <drepper@gmail.com>
31960
174baab3
UD
31961 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31962 specifies first scope to show.
31963 (dl_open_worker): Update callers. Move printing scope of new
31964 object to before the relocation.
44f0a71e 31965 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31966 * sysdeps/generic/ldsodefs.h: Update declaration.
31967
076fe015
UD
31968 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31969 string for the scope number.
31970
a60df2c3
UD
319712011-08-14 Ulrich Drepper <drepper@gmail.com>
31972
31973 * nscd/servicescache.c (cache_addserv): Make sure written is always
31974 initialized.
31975
5e4287d1
RM
319762011-08-14 Roland McGrath <roland@hack.frob.com>
31977
85ae0589
RM
31978 * sysdeps/i386/i486/bits/atomic.h
31979 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31980 statement expression, so as to suppress "set but not used" warning.
31981 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31982
69f63097
RM
31983 * string/strncat.c (STRNCAT): Use prototype definition.
31984
675456ef
RM
31985 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31986 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31987 -Iprograms here.
31988 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31989 (localedef-modules): Add localedef.
31990 (locale-modules): Add locale.
31991
5e4287d1
RM
31992 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31993 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31994 to avoid a warning.
31995
9c96ff23
DM
319962011-08-14 David S. Miller <davem@davemloft.net>
31997
31998 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31999 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32000
f9ddf089
UD
320012011-08-13 Ulrich Drepper <drepper@gmail.com>
32002
44f0a71e 32003 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32004 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32005 * elf/rtld.c (dl_main): Set l_name of vDSO.
32006 Call _dl_show_scope when DL_DEBUG_SCOPES.
32007 (process_dl_debug): Recognize scopes flag and also set it for all.
32008 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32009 Declare _dl_show_scope.
32010
1dc27704
UD
32011 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32012 (do_dlopen): Pass caller_dlopen to dl_open.
32013 (__libc_dlopen_mode): Initialize caller_dlopen.
32014
f9ddf089
UD
32015 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32016 of libc. Make tolower call locale-independent. Optimize a bit by
32017 using isdigit instead of isalnum.
32018 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32019
9ac533d3
UD
320202011-08-12 Ulrich Drepper <drepper@gmail.com>
32021
32022 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32023 was a dependency or dynamically loaded.
32024
89edf2e9
UD
320252011-08-11 Ulrich Drepper <drepper@gmail.com>
32026
8e999d29
UD
32027 * intl/l10nflist.c: Allow architecture-specific pop function.
32028 * sysdeps/x86_64/l10nflist.c: New file.
32029
89edf2e9
UD
32030 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32031 classification.
32032
14d96785
AS
320332011-08-10 Andreas Schwab <schwab@redhat.com>
32034
32035 * include/dirent.h: Add libc_hidden_proto for scandirat and
32036 scandirat64. Don't declare __scandirat64.
32037 * dirent/scandirat.c: Add libc_hidden_def.
32038 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32039 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32040
6761ac04
DM
320412011-08-10 David S. Miller <davem@davemloft.net>
32042
32043 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32044 enum.
32045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32046 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32048
c55fbd1e
UD
320492011-08-09 Ulrich Drepper <drepper@gmail.com>
32050
32051 * Versions.def [libc]: Add GLIBC_2.15.
32052 * dirent/Makefile (routines): Add scandirat and scandirat64.
32053 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32054 GLIBC_2.15.
32055 * dirent/dirent.h: Declare scandirat and scandirat64.
32056 * dirent/scandirat.c: New file.
32057 * dirent/scandirat64.c: New file.
32058 * sysdeps/wordsize-64/scandirat.c: New file.
32059 * sysdeps/wordsize-64/scandirat64.c: New file.
32060 * dirent/opendir.c: Define opendirat.
32061 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32062 using scandirat.
32063 * dirent/scandir64.c: Adjust for scandir.c change.
32064 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32065 __scandirat64, and __scandir_cancel_handler.
32066 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32067 additional parameter and use openat instead of open (outside of ld.so).
32068 Add new __opendir as wrapper around __opendirat.
32069 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32070 here without requiring old scandirat implementation.
32071
879165f2
UD
320722011-08-08 Ulrich Drepper <drepper@gmail.com>
32073
32074 * dirent/scandir.c (cancel_handler): Renamed to
32075 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32076 defined. Adjust users.
32077 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32078 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32079
cb7e923b
UD
320802011-08-04 Ulrich Drepper <drepper@gmail.com>
32081
16292edd
UD
32082 * string/test-string.h (IMPL): Use __STRING to expand name and then
32083 stringify it.
32084
cb7e923b
UD
32085 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32086 of cleanups.
32087
cff82933
LD
320882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32089
32090 * string/Makefile: Update.
32091 (strop-tests): Append strncat.
32092 * string/test-wcscmp.c: New file.
32093 New comprehensive test for wcscmp.
32094 * string/test-strcmp.c: Update.
32095 (WIDE): New define.
32096
9be9bfcc
AS
320972011-07-22 Andreas Schwab <schwab@redhat.com>
32098
32099 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32100 line.
32101
2e96f1c7
AS
321022011-07-26 Andreas Schwab <schwab@redhat.com>
32103
32104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32105 encoding to ACE if AI_IDN.
32106
85188888
JJ
321072011-08-01 Jakub Jelinek <jakub@redhat.com>
32108
32109 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32110 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32111
5fa16e9b
LD
321122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32113
32114 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32115 Fix overflow bug in strncat.
32116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32117
32118 * string/test-strncat.c: Update.
32119 Add new tests for checking overflow bugs.
32120
321212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32122
32123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32124 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32125 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32126 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32127 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32128 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32129 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32130 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32131 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32132
32133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32134 (USE_AS_STRCAT): Define.
32135 Add strcat and strncat support.
32136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32137
8c1a459f
AS
321382011-07-25 Andreas Schwab <schwab@redhat.com>
32139
32140 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32141 __n bigger than INT_MAX+1.
32142 (__strncmp_g): Likewise.
32143
bba33c28
UD
321442011-07-23 Ulrich Drepper <drepper@gmail.com>
32145
798be72d
UD
32146 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32147 * libio/stido.h: Likewise.
32148
8accd4dc
UD
32149 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32150 (AF_NFC): Define.
32151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32152 (AF_NFC): Define.
32153
cbff0d96
UD
32154 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32155 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32157 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32159
9191c04a
UD
32160 [BZ #13021]
32161 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32162 installed.
32163
bba33c28
UD
32164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32165 typo.
32166 (_dl_x86_64_save_sse): Likewise.
32167
90f139dd
UD
321682011-07-22 Ulrich Drepper <drepper@gmail.com>
32169
1aae088a
UD
32170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32171 OSXSAVE.
32172 (_dl_x86_64_save_sse): Likewise.
32173
8e2045f5
UD
32174 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32175
90f139dd
UD
32176 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32177
1d002f25
AS
321782011-07-21 Andreas Schwab <schwab@redhat.com>
32179
32180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32181 change.
32182 (_dl_x86_64_save_sse): Use correct AVX check.
32183
21137f89
UD
321842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32185
32186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32187 bug in strncpy/strncat.
32188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32189
a65c0b7a
UD
321902011-07-21 Ulrich Drepper <drepper@gmail.com>
32191
32192 * string/tester.c (test_strcat): Add tests for different alignments
32193 of source and destination.
32194 (test_strncat): Likewise.
32195
6986b98a
UD
321962011-07-20 Ulrich Drepper <drepper@gmail.com>
32197
90bb2039
UD
32198 [BZ #12852]
32199 * posix/glob.c (glob): Check passed in values before using them in
32200 expressions to avoid some overflows.
32201 (glob_in_dir): Likewise.
32202
5644ef54
UD
32203 [BZ #13007]
32204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32205 check for AVX enablement so that we don't crash with old kernels and
32206 new hardware.
32207 * elf/tst-audit4.c: Add same checks here.
32208 * elf/tst-audit6.c: Likewise.
32209
32210 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32211
bfc9dc9b
AS
322122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32213
32214 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32215
702e64bb
UD
322162011-07-20 Ulrich Drepper <drepper@gmail.com>
32217
32218 * po/cs.po: Update from translation team.
32219 * po/bg.po: Likewise.
32220
295e904f
MP
322212011-07-12 Marek Polacek <mpolacek@redhat.com>
32222
32223 * misc/sys/cdefs.h: Add support for const attribute.
32224 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32225 to gnu_dev_{major,minor,makedev} functions.
32226
3ff94596
MP
322272011-07-20 Marek Polacek <mpolacek@redhat.com>
32228
32229 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32230
28b59fca
AS
322312011-07-20 Andreas Schwab <schwab@redhat.com>
32232
32233 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32234 strlen results.
32235
19df733e
AK
322362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32237
32238 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32239 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32240 register in order to avoid conflicts with the soft frame pointer
32241 being held in r11 when necessary.
32242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32243 (INTERNAL_VSYSCALL_NCS): Likewise.
32244
c8835729
MP
322452011-07-14 Marek Polacek <mpolacek@redhat.com>
32246
32247 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32248 * elf/dl-fini.c (_dl_fini): Adjust caller.
32249 * elf/dl-close.c (_dl_close_worker): Likewise.
32250 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32251
b902330c
MP
322522011-07-15 Marek Polacek <mpolacek@redhat.com>
32253
8991e135
MP
32254 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32255 "aux_cache->nlibs < 0".
32256
b902330c
MP
32257 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32258 in the reload-count case.
32259
99710781
LD
322602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32261
32262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32263 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32264 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32265 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32266 * sysdeps/x86_64/multiarch/strcat.S: New file.
32267 * sysdeps/x86_64/multiarch/strncat.S: New file.
32268 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32269 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32270 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32271 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32272 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32273 (USE_AS_STRCAT): Define.
32274 Add strcat and strncat support.
32275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32277 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32278 * string/strncat.c: Update.
32279 (USE_AS_STRNCAT): Define.
32280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32281 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32282 and i7.
32283 * sysdeps/x86_64/multiarch/init-arch.h
32284 (bit_Prefer_PMINUB_for_stringop): New.
32285 (index_Prefer_PMINUB_for_stringop): Likewise.
32286 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32287 bit_Prefer_PMINUB_for_stringop.
32288
7dc6bd90
UD
322892011-07-19 Ulrich Drepper <drepper@gmail.com>
32290
32291 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32292 buffer64.
32293 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32294 of casting of buffer.
32295 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32296 buffer32 and buffer64.
32297 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32298 writes instead of casting of buffer.
32299 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32300 buffer32.
32301 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32302 casting of buffer.
32303
e0e72284
AS
323042011-07-19 Andreas Schwab <schwab@redhat.com>
32305
32306 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32307
feb1eb0b
UD
323082011-07-19 Ulrich Drepper <drepper@gmail.com>
32309
32310 * nscd/nscd.c (termination_handler): Don't do anything for a database
32311 if it has not yet been initialized.
32312
298711ff
UD
323132011-07-18 Ulrich Drepper <drepper@gmail.com>
32314
32315 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32316
323172011-07-15 Marek Polacek <mpolacek@redhat.com>
32318
32319 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32320
f9d68389
UD
323212011-07-18 Ulrich Drepper <drepper@gmail.com>
32322
32323 * po/nl.po: Update from translation team.
32324 * po/sv.po: Likewise.
32325
db290cf5
RM
323262011-07-16 Roland McGrath <roland@hack.frob.com>
32327
32328 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32329 now disallowed by GCC.
5c550700 32330
fd5e21c7
RM
32331 * configure.in (use-default-link): Default to yes if a test -shared
32332 link meets our qualifications.
32333 * configure: Regenerated.
32334
5c550700
RM
32335 * config.make.in (output-format): New variable.
32336 * configure.in: Check for ld --print-output-format support.
32337 * configure: Regenerated.
32338 * Makerules ($(common-objpfx)format.lds)
32339 [$(output-format) != unknown]: Just use $(output-format),
32340 instead of the linker-script munging.
32341
9fa2c032
RM
323422011-07-14 Roland McGrath <roland@hack.frob.com>
32343
a6928d51
RM
32344 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32345 of $(common-objpfx)shlib.lds.
32346 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32347
661607b3
RM
32348 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32349 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32350
9fa2c032
RM
32351 * configure.in (-z relro check): Adjust test code to add a large
32352 writable data section after it.
32353 * configure: Regenerated.
32354
defe9061
RM
323552011-07-11 Roland McGrath <roland@hack.frob.com>
32356
32357 * configure.in (-z relro check): Fix test code to make the variable
32358 truly const.
32359 * configure: Regenerated.
32360
319b9ad4
UD
323612011-07-11 Ulrich Drepper <drepper@gmail.com>
32362
32363 * nscd/nscd.h (struct traced_file): Define.
32364 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32365 elements. Add traced_files.
32366 (inotify_fd): Declare.
32367 (register_traced_file): Declare.
32368 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32369 (inotify_fd): Export.
32370 (resolv_conf_descr): Remove.
32371 (nscd_init): Move inotify descriptor creation to main.
32372 Don't register files for notification here.
32373 (register_traced_file): New function.
32374 (invalidate_cache): Don't use reset_res to determine whether to call
32375 res_init, go through the list of registered files.
32376 (main_loop_poll): The inotify descriptors are now stored in the
32377 structures for the traced files.
32378 (main_loop_epoll): Likewise
32379 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32380 to __nss_disable_nscd.
32381 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32382 for a database anymore. Check the records for all the registered
32383 files instead.
32384 * nss/Makefile (libnss_files-routines): Add files-init.
32385 (libnss_db-routines): Add db-init.
32386 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32387 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32388 * nss/nss_db/db-init.c: New file.
32389 * nss/nss_files/files-init.c: New file.
32390 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32391 __nss_lookup_function.
32392 (__nss_lookup_function): Call nss_load_library.
32393 (nss_load_all_libraries): New function.
32394 (__nss_disable_nscd): Take parameter with callback function for files
32395 to register. Set is_nscd. Load all the DSOs for the NSS modules
32396 used for the cached services.
32397 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32398 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32399 options for features to all the files in nscd.
32400
32401 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32402
23bee3e8
RM
324032011-07-10 Roland McGrath <roland@hack.frob.com>
32404
32405 * csu/elf-init.c (__libc_csu_init): Comment typo.
32406
46a5b7f0
UD
324072011-07-09 Ulrich Drepper <drepper@gmail.com>
32408
32409 * po/pl.po: Update from translation team.
32410 * po/ja.po: Likewise.
32411 * po/ru.po: Likewise.
32412 * po/ko.po: Likewise.
32413 * po/fr.po: Likewise.
32414
d30cf5bb
RM
324152011-07-09 Roland McGrath <roland@hack.frob.com>
32416
113ddea4
RM
32417 * configure.in (.ctors/.dtors header and trailer check):
32418 Use an empirical test on a built program.
32419 * configure: Regenerated.
32420
574920b4
RM
32421 * configure.in (-z relro check): Use an empirical test on a built DSO.
32422 Detect, but do not require, on ia64.
32423 * configure: Regenerated.
32424
d30cf5bb
RM
32425 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32426 Update tests that use readelf to use $READELF instead.
32427 * configure: Regenerated.
32428
8538fdb3
UD
324292011-07-08 Ulrich Drepper <drepper@gmail.com>
32430
32431 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32432 if the result is not used.
32433
04d08991
AJ
324342011-07-05 Andreas Jaeger <aj@suse.de>
32435
32436 [BZ#9696]
32437 * stdlib/tst-strtod.c: Add testcase.
32438
de283087
AD
324392011-07-07 Ulrich Drepper <drepper@gmail.com>
32440
4e5f31c8 32441 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32442 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32443 The latter has a higher limit. Take additional parameter to pass to
32444 the new function.
32445 (__pathconf): Pass file to __statfs_link_max.
32446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32447 __statfs_link_max.
32448 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32449 __statfs_link_max.
32450
de283087
AD
32451 [BZ #12868]
32452 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32453 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32454 Handle Lustre.
32455 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32456 (__statfs_filesize_max): Likewise.
32457 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32458
c75fa153
AJ
324592011-07-05 Andreas Jaeger <aj@suse.de>
32460
32461 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32462
1a544854
UD
324632011-07-06 Marek Polacek <mpolacek@redhat.com>
32464
32465 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32466 `status' variable.
32467 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32468 Likewise.
32469
6f0eec67
UD
324702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32471
32472 * Makefile (strop-tests): Add strncat.
32473 * string/test-strncat.c: New file.
32474
aae30307
UD
324752011-06-30 Marek Polacek <mpolacek@redhat.com>
32476
32477 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32478
c0cfb5eb
UD
324792011-06-21 Andreas Jaeger <aj@suse.de>
32480
32481 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32482 Copy rule from iconvdata/Makefile.
32483
01636b21
UD
324842011-07-06 Ulrich Drepper <drepper@gmail.com>
32485
32486 [BZ #12922]
32487 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32488 but no long options are defined, just return 'W'.
32489
9895c8bc
UD
324902011-06-22 Marek Polacek <mpolacek@redhat.com>
32491
32492 [BZ #9696]
32493 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32494
5d4cf042
UD
324952011-07-06 Ulrich Drepper <drepper@gmail.com>
32496
32497 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32498 netgroups to read.
960e5535 32499 (innetgr): Likewise.
5d4cf042 32500
751eb97e
RM
325012011-07-05 Roland McGrath <roland@hack.frob.com>
32502
32503 * config.make.in (install_root): Default to $(DESTDIR).
32504
f15f1e45
UD
325052011-07-05 Ulrich Drepper <drepper@gmail.com>
32506
32507 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32508
4e34ac6a
RM
325092011-07-02 Roland McGrath <roland@hack.frob.com>
32510
5e9b6af4
RM
32511 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32512
84f9ea0f
RM
32513 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32514 containing directory rather than embedding absolute directory names.
32515
ea5ee9f7
RM
32516 * scripts/check-local-headers.sh: Rewritten using awk.
32517 Match by word, not by line. Print error messages for matches.
32518 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32519
1b74661a
RM
32520 * Makerules [shlib-lds-flags empty]:
32521 ($(common-objpfx)libc_pic.opts): New target.
32522 ($(common-objpfx)libc_pic.os.clean): New target.
32523 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32524
32525 * config.make.in (OBJCOPY): New variable.
32526 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32527 * configure: Regenerated.
32528
f781ef40
RM
32529 * config.make.in (use-default-link): New variable.
32530 * configure.in (use_default_link): Grok --with-default-link to set it.
32531 * configure: Regenerated.
32532 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32533 (shlib-lds, shlib-lds-flags): Define to empty.
32534
2d4fa81e
RM
32535 * Makerules (shlib-lds): New variable.
32536 (shlib-lds-flags): New variable.
32537 (build-shlib, build-moduile, build-module-asneeded): Use it.
32538 ($(common-objpfx)libc.so): Use $(shlib-lds).
32539 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32540 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32541
31fffa6b
RM
32542 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32543 DT_FLAGS/DT_FLAGS_1 with zero flags.
32544
4e34ac6a
RM
32545 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32546 linker script munging.
32547
fcfc776b
UD
325482011-07-02 Ulrich Drepper <drepper@gmail.com>
32549
32550 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32551 as 128-bit value.
32552 * crypt/sha512.c (sha512_process_block): Perform total addition using
32553 128-bit if possible.
32554 (__sha512_finish_ctx): Likewise.
32555 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32556 as 64-bit value.
32557 * crypt/sha256.c (SWAP64): Define.
32558 (sha256_process_block): Perform total addition using 64-bit if
32559 possible.
32560 (__sha256_finish_ctx): Likewise.
32561
99231d9a
UD
325622011-07-01 Ulrich Drepper <drepper@gmail.com>
32563
32564 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32566 * nscd/hstcache.c (cache_addhst): Likewise.
32567 * nscd/grpcache.c (cache_addgr): Likewise.
32568 * nscd/aicache.c (addhstaiX): Likewise
32569 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32570
445b4a53
TK
325712011-07-01 Thorsten Kukuk <kukuk@suse.de>
32572
32573 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32575 * nscd/hstcache.c (cache_addhst): Likewise.
32576 * nscd/grpcache.c (cache_addgr): Likewise.
32577 * nscd/aicache.c (addhstaiX): Likewise
32578
6d4d8e8e
AS
325792011-07-01 Andreas Schwab <schwab@redhat.com>
32580
32581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32582 domain only when needed.
32583
89f654c5
AS
325842011-06-30 Andreas Schwab <schwab@redhat.com>
32585
32586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32587 is always restored.
32588
cf3b23ff
UD
325892011-06-29 Ulrich Drepper <drepper@gmail.com>
32590
32591 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32592 are re-adding the entry.
32593 * nscd/servicescache.c (cache_addserv): Likewise.
32594
751626f9
AJ
325952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32596
32597 * sysdeps/generic/dl-irel.h: fix protection against multiple
32598 inclusions.
32599 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32600
9113ea1f
UD
326012011-06-28 Ulrich Drepper <drepper@gmail.com>
32602
5c0b8d90
UD
32603 [BZ #12935]
32604 * malloc/memusage.sh: Fix quoting in message.
32605 * debug/xtrace.sh: Likewise.
32606
9113ea1f
UD
32607 * configure.in: Remove support for --experimental-malloc option, make
32608 it the default.
32609 * config.make.in: Likewise.
32610 * malloc/Makefile: Likewise.
32611
a4172181
AS
326122011-06-27 Andreas Schwab <schwab@redhat.com>
32613
32614 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32615 two-byte characters.
32616
78a7eee7
RM
326172011-06-27 Roland McGrath <roland@hack.frob.com>
32618
62bede13
RM
32619 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32620 AC_CACHE_CHECK invocation.
32621 * configure: Regenerated.
32622
78a7eee7
RM
32623 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32624
5ce33a62
UD
326252011-06-27 Ulrich Drepper <drepper@gmail.com>
32626
034807a9
UD
32627 [BZ #12350]
32628 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32629 bit from old_res_options.
32630
4902da17
UD
32631 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32632
5ce33a62
UD
32633 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32634 value type for setfct.
32635
c2344f56
L
326362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32637
32638 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32639 __gettimeofday instead of gettimeofday.
32640
68468076
UD
326412011-06-26 Ulrich Drepper <drepper@gmail.com>
32642
32643 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32644
acb0d739
L
326452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32646
32647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32648
32649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32650 info.
32651
8912479f
L
326522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32653
32654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32655 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32656 strcpy-sse2-unaligned strncpy-sse2-unaligned
32657 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32658 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32659 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32660 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32661 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32664 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32665 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32666 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32667 (STRCPY): Support SSE2 and SSSE3 versions.
32668
d5495a11
UD
326692011-06-24 Ulrich Drepper <drepper@gmail.com>
32670
32671 [BZ #12874]
32672 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32673 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32674 kernels which artificially limit size of requests.
32675
0b1cbaae
L
326762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32677
32678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32679 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32680 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32681 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32682 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32683 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32684 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32685 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32687 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32688 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32689 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32690 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32691 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32692 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32694 Enable unaligned load optimization for Intel Core i3, i5 and i7
32695 processors.
32696 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32697 Define.
32698 (index_Fast_Unaligned_Load): Define.
32699 (HAS_FAST_UNALIGNED_LOAD): Define.
32700
07f494a0
MP
327012011-06-23 Marek Polacek <mpolacek@redhat.com>
32702
32703 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32704
fa3fc0fe
UD
327052011-06-22 Ulrich Drepper <drepper@gmail.com>
32706
32707 [BZ #12907]
32708 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32709 until it is clear that the information is realy needed.
32710 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32711
e12df166
AS
327122011-06-22 Andreas Schwab <schwab@redhat.com>
32713
32714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32715
852eb34d
UD
327162011-06-22 Ulrich Drepper <drepper@gmail.com>
32717
84e2a551
UD
32718 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32719 /sys/devices/system/cpu/online if it is usable.
32720
852eb34d
UD
32721 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32722 reading the information from the /proc filesystem to once a second.
32723
6e502e19
UD
327242011-06-21 Andreas Jaeger <aj@suse.de>
32725
32726 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32727 NULL after inclusion of kernel headers.
32728
75d39ff2
UD
327292011-06-21 Ulrich Drepper <drepper@gmail.com>
32730
51f9aa6a
UD
32731 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32732 calls to internal_setent.
32733
c0244a9d
UD
32734 [BZ #12885]
32735 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32736 addresses using gethostbyname4_r ignore IPv4 addresses.
32737
c5e3c2ae
UD
32738 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32739 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32740
75d39ff2
UD
32741 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32742
42675c6f
DM
327432011-06-20 David S. Miller <davem@davemloft.net>
32744
32745 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32746 inclusions.
32747 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32748
32749 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32750 (elf_irel): Use it.
32751 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32752 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32753 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32754 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32755 * sysdeps/x86_64/dl-irel.h: Likewise.
32756
32757 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32758 * elf/dl-sym.c: Likewise.
32759
57912a71
UD
327602011-06-15 Ulrich Drepper <drepper@gmail.com>
32761
32762 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32763 need to dereference resplen2.
32764
ee22793d
AS
327652011-06-14 Andreas Schwab <schwab@redhat.com>
32766
32767 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32768
a9e836b0
UD
327692011-06-15 Ulrich Drepper <drepper@gmail.com>
32770
77fb9117
UD
32771 * Makeconfig: Define vardbdir and inst_vardbdir.
32772 * nss/Makefile: Add rules to install db-Makefile.
32773
40c1b22c
UD
32774 * nss/nss_db/db-XXX.c: Cleanup.
32775
9f2da732
UD
32776 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32777 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32778 GLIBC_PRIVATE.
32779 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32780 * nss/makedb.c: Implement -g option to specify that value strings
32781 are generated and should not be added to table iterated over for
32782 get*ent calls.
32783 * nss/nss_db/db-initgroups.c: New file.
32784
82e9a1f7
UD
32785 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32786 interface.
32787
c41af17e
UD
32788 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32789 (internal_getgrouplist): Adjust to name change.
32790 Update use_initgroups_entry if this is not the first call.
32791 * nss/databases.def: Add initgroups entry.
32792
a9e836b0
UD
32793 * nss/makedb.c (compute_tables): Check result of multiple hash table
32794 sizes to minimize maximum chain length.
32795
2666d441
UD
327962011-06-14 Ulrich Drepper <drepper@gmail.com>
32797
32798 * Versions.def: Add entry for libnss_db.
32799 * shlib-versions: Likewise.
32800 * nss/Makefile: Add rules to build libnss_db.
32801 * nss/Versions: Add libnss_db information. Organize libnss_files
32802 entries better.
32803 * nss/db-Makefile: Add gshadow support. Change rules for the new
32804 makedb progra. Some minor improvements to generate smaller files.
32805 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32806 here from...
32807 * nss/makedb.c: ...here.
32808 Improve database format to be smaller and require less memory at
32809 runtime.
32810 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32811 db anymore.
32812 * nss/nss_db/db-netgrp.c: Likewise.
32813 * nss/nss_db/db-open.c: Likewise.
32814 * nss/nss_files/flies-XXX.x: Adjust comments.
32815 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32816 * nss/nss_files/files-grp.c: Likewise.
32817 * nss/nss_files/files-hosts.c: Likewise.
32818 * nss/nss_files/files-network.c: Likewise.
32819 * nss/nss_files/files-proto.c: Likewise.
32820 * nss/nss_files/files-pwd.c: Likewise.
32821 * nss/nss_files/files-rpc.c: Likewise.
32822 * nss/nss_files/files-service.c: Likewise.
32823 * nss/nss_files/files-sgrp.c: Likewise.
32824 * nss/nss_files/files-spwd.c: Likewise.
32825 * nss/nss_db/db-alias.c: Removed.
32826 * nss/nss_db/dummy-db.h: Removed.
32827
9ee76b5a
UD
328282011-06-02 Ulrich Drepper <drepper@gmail.com>
32829
32830 * nss/makedb.c: Rewritten to not use database library.
32831 * nss/Makefile: Update to build new makedb program.
32832
c71ca1f8
AJ
328332011-06-14 Andreas Jaeger <aj@suse.de>
32834
32835 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32836 memset declaration.
32837
3154bfb8
UD
328382011-06-10 Andreas Schwab <schwab@redhat.com>
32839
32840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32841 tmpbuf.
32842
b350afab
RM
328432011-06-10 Roland McGrath <roland@hack.frob.com>
32844
decd4e50
RM
32845 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32846 * elf/Makefile ($(objpfx)ld.so): Likewise.
32847
5615eaf2
RM
32848 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32849 Don't list ld.so twice in dependencies.
32850
32851 * posix/bug-regex31.c: Include <stdlib.h>.
32852
32853 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32854
32855 * nis/nss_compat/compat-spwd.c
32856 (getspent_next_nss_netgr): Remove unused variable.
32857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32858
32859 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32860 nonmembers" output to use the right array.
32861
32862 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32863
32864 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32865
32866 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32867 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32868 * catgets/gencat.c (read_input_file): Likewise.
32869 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32870
32871 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32872 variable definition inside #if's controlling its use.
32873
32874 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32875
32876 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32877
32878 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32879
32880 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32881 unreachable code.
32882
32883 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32884
b68e08db
RM
32885 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32886 * configure: Regenerated.
32887
b350afab
RM
32888 * Makerules: Revert last change.
32889 * elf/Makefile: Likewise.
32890
28368601
RM
328912011-06-09 Roland McGrath <roland@hack.frob.com>
32892
32893 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32894 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32895 (reloc-link): Likewise.
32896
11988f8f
UD
328972011-06-09 Ulrich Drepper <drepper@gmail.com>
32898
32899 * elf/Makefile: Add rules to build pldd.
32900 * elf/pldd.c: New file.
32901 * elf/pldd-xx.c: New file.
32902
e80fab37
UD
329032011-06-07 Ulrich Drepper <drepper@gmail.com>
32904
32905 * version.h: Update for 2.15 development version.
32906
9b849836
DM
329072011-06-07 David S. Miller <davem@davemloft.net>
32908
32909 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32910 ifuncs.
32911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32912 elf_machine_lazy_rel): Likewise.
32913 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32915 elf_machine_lazy_rel): Likewise.
32916 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32917 dl_hwcap via passed in argument.
32918 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32919 Likewise.
32920
5a31b283
AK
329212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32922
32923 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32924
069e52f8
RM
329252011-06-06 Roland McGrath <roland@hack.frob.com>
32926
32927 [BZ #12849]
32928 * manual/fdl-1.1.texi: New file, verbatim from:
32929 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32930 * manual/lgpl-2.1.texi: New file, verbatim from:
32931 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32932 * manual/Makefile (licenses): New variable, list those new file names.
32933 (texis): Use it.
32934 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32935
32936 * manual/fdl.texi: File removed.
32937 * manual/lesser.texi: File removed.
32938 * manual/libc.texinfo (Copying, Documentation License):
32939 Use new @include file names, put @appendix directive before @include.
32940
f16846a5
JJ
329412011-06-04 Jakub Jelinek <jakub@redhat.com>
32942
32943 [BZ #12841]
32944 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32945 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32946 (mq_open): Add __NTH.
32947
3d29045b
L
329482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32949
32950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32951 Assume Intel Core i3/i5/i7 processor if AVX is available.
32952
8c297311
UD
329532011-05-31 Ulrich Drepper <drepper@gmail.com>
32954
32955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32956 typo.
32957
c8fc0c91
UD
329582011-05-31 Andreas Schwab <schwab@redhat.com>
32959
32960 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32961 memory. Use alloca_account. Fix memory leak when retrying.
32962
5b27a807
UD
329632011-05-31 Ulrich Drepper <drepper@gmail.com>
32964
356f8bc6
UD
32965 * version.h (RELEASE): Bump for 2.14 release.
32966 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32967
5b27a807
UD
32968 * config.make.in (RANLIB): Remove entry.
32969
01f16ab0
UD
329702011-05-30 Ulrich Drepper <drepper@gmail.com>
32971
41fce8bd
UD
32972 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32973 (libc.pot): Work around missing support for .ksh extension in xgettext.
32974
4769ae77
UD
32975 [BZ #12684]
32976 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32977 if both request failed.
32978 (send_dg): In case of server errors clear resplen or *resplen2.
32979
6b1e7d19
UD
32980 [BZ #12454]
32981 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32982 when there are multiple maps.
32983 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32984 (_dl_fini): Remove test here.
32985
01f16ab0
UD
32986 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32987
b1ebd700
UD
329882011-05-29 Ulrich Drepper <drepper@gmail.com>
32989
7ae22829
UD
32990 [BZ #12350]
32991 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32992 bit from old_res_options.
32993 (gaih_inet): Likewise.
32994
553149f6 32995 [BZ #11099]
18a84741 32996 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32997 as signed.
32998
652ffab1
UD
32999 * resolv/res_init.c (res_setoptions): Make the code more compact.
33000
16985fd0
UD
33001 [BZ #11558]
33002 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33003 set RES_USEVC.
33004
0464f746
UD
33005 [BZ #11634]
33006 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33007
7d17596c
UD
33008 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33009
cf6bbbd7
UD
33010 [BZ #11781]
33011 * malloc/malloc.h: Declare malloc hook variables as volatile.
33012
13f1ab36
UD
33013 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33014 in last patch.
33015
b1ebd700
UD
33016 [BZ #11799]
33017 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33018 raise in the comment.
80e2212d
UD
33019 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33021 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33022
ce67228d
UD
330232011-05-28 Ulrich Drepper <drepper@gmail.com>
33024
8887a920
UD
33025 [BZ #12811]
33026 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33027 grow the buffers more if it already has to be sufficient.
33028 (build_wcs_upper_buffer): Likewise.
33029 * posix/regexec.c (check_matching): Likewise.
33030 (clean_state_log_if_needed): Likewise.
33031 (extend_buffers): Don't enlarge buffers beyond size of the input
33032 buffer.
33033 Patches mostly by Emil Wojak <emil@wojak.eu>.
33034 * posix/bug-regex32.c: New file.
33035 * posix/Makefile (tests): Add bug-regex32.
33036
4f031072
UD
33037 * locale/findlocale.c (_nl_find_locale): Return right away if
33038 _nl_explode_name failed.
33039 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33040
d0478f0c
UD
33041 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33042
de81b246
UD
33043 * debug/xtrace.sh: Unify messages.
33044 * malloc/memusage.sh: Likewise.
33045
c738465a
UD
33046 [BZ #12813]
33047 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33048 time symbol from vDSO. Substitute with vsyscall if not available.
33049 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33050 __vdso_time.
33051
f1f929d7
UD
33052 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33053 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33054 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33055 Add sendmmsg and internal_sendmmsg.
33056 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33057 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33058 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33059
ce67228d
UD
33060 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33061 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33062 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33063
e57420c6
UD
330642011-05-27 Ulrich Drepper <drepper@gmail.com>
33065
a8509ca5
UD
33066 [BZ #12813]
33067 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33068 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33069 available.
33070 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33071 __vdso_getcpu.
33072
e57420c6
UD
33073 [BZ #12814]
33074 * iconvdata/Makefile (tests): Add bug-iconv9.
33075 * iconvdata/bug-iconv9.c: New file.
33076
4d07db15
AS
330772011-05-27 Andreas Schwab <schwab@redhat.com>
33078
33079 [BZ #12814]
33080 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33081
ea486f69
JJ
330822011-05-25 Jakub Jelinek <jakub@redhat.com>
33083
33084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33085 (struct user_regs_struct): Change intcs field back to cs.
33086
6f038433
UD
330872011-05-25 Ulrich Drepper <drepper@gmail.com>
33088
33089 * po/ja.po: Update from translation team.
33090
67f86a25
UD
330912011-05-23 Ulrich Drepper <drepper@gmail.com>
33092
33093 [BZ #12795]
33094 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33095 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33096
def7fbd6
AS
330972011-05-20 Andreas Schwab <schwab@redhat.com>
33098
33099 * stdlib/longlong.h: Update from GCC.
33100
f50ef8f1
AS
331012011-05-23 Andreas Schwab <schwab@redhat.com>
33102
33103 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33104 parameter name.
33105 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33106 Add parameter name.
33107 (__sysconf): Pass it down.
33108
de7ce8f1
UD
331092011-05-22 Ulrich Drepper <drepper@gmail.com>
33110
f2962a71
UD
33111 [BZ #12671]
33112 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33113 some situations.
33114 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33115 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33116 add in in __libc_use_alloca calls. Adjust callers.
33117 (glob): Use malloc in some situations.
33118
de7ce8f1
UD
33119 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33120 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33121 pltexit.
33122
aec84f53
UD
331232011-05-21 Ulrich Drepper <drepper@gmail.com>
33124
05bb4a68
UD
33125 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33126 and CLOCK_BOOTTIME_ALARM.
33127
7ea72f99
UD
33128 [BZ #12782]
33129 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33130 is returned.
33131
7e4afad5
UD
33132 * string/_strerror.c (__strerror_r): Print negative errors as signed
33133 numbers.
33134
8e211fec
UD
33135 [BZ #12777]
33136 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33137 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33138 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33139
f7d82dc9
UD
33140 * configure.in: Fix typo in redirection and correct removal of test
33141 files in two cases.
33142
cc9e536d
UD
33143 [BZ #12788]
33144 * locale/setlocale.c (new_composite_name): Fix test to check for
33145 identical name of all categories.
33146
aec84f53
UD
33147 [BZ #12792]
33148 * libio/filedoalloc.c (local_isatty): New function.
33149 (_IO_file_doallocate): Use local_isatty.
33150 * stdio-common/perror.c (perror): In case a new stream is used
33151 forward the stream error.
33152 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33153 error flag.
33154
78e64fdc
RT
331552011-05-20 Ulrich Drepper <drepper@gmail.com>
33156
34a9094f
UD
33157 [BZ #11869]
33158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33159 alloca.
33160 * include/alloca.h (extend_alloca_account): Define.
33161
78e64fdc
RT
33162 [BZ #11857]
33163 * posix/regex.h: Fix comments with documentation of user-accessible
33164 fields after compilation and describe correct free'ing of pattern
33165 after re_compile_pattern.
33166 Patch by Reuben Thomas <rrt@sc3d.org>.
33167
457bddfc
RA
331682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33169
33170 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33171 and -mno-altivec to prevent the compiler from using Altivec and/or
33172 VSX instructions when the corresponding registers are not available.
33173
a4527b51
AS
331742011-05-19 Andreas Schwab <schwab@redhat.com>
33175
33176 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33177
ed690b2f
UD
331782011-05-19 Ulrich Drepper <drepper@gmail.com>
33179
33180 * libio/freopen.c (freopen): Use __dup2, not dup2.
33181 * libio/freopen64.c (freopen64): Likewise.
33182
8db73634
L
331832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33184
33185 [BZ #12775]
33186 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33187 * math/Makefile (tests): Add test-powl.
33188 (CFLAGS-test-powl.c): Define.
33189 * math/test-powl.c: New file.
33190
0a197a9d
L
331912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33192
33193 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33194
ee30c380
UD
331952011-05-17 Ulrich Drepper <drepper@gmail.com>
33196
33197 [BZ #11837]
33198 * iconvdata/gb18030.c: Update to GB18020-2005.
33199
6ce75379
UD
332002011-05-16 Ulrich Drepper <drepper@gmail.com>
33201
a4b89fd8
AR
33202 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33203 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33204 Patch by Aharon Robbins <arnold@skeeve.com>.
33205
ea389b12
UD
33206 [BZ #11892]
33207 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33208 on the stack.
33209
68a3f91f
UD
33210 [BZ #11895]
33211 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33212 through underflows.
33213
15cc7dd1
UD
33214 [BZ #12766]
33215 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33216 point to strings before performing equality test for error_one_per_line
33217 mode.
33218
f3799213
UD
33219 [BZ #11697]
33220 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33221
d79a9c94
UD
33222 [BZ #11820]
33223 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33224 (struct user_fpregs_struct): Avoid __uint*_t types.
33225
56e5eb46
UD
33226 [BZ #6420]
33227 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33228 symbol info. Use it instead of calling _dl_addr locally.
33229 (lock_and_info): New function.
33230 (tr_freehook): Call lock_and_info and pass symbol info as additional
33231 parameter to tr_where.
33232 (tr_mallochook): Likewise.
33233 (tr_reallochook): Likewise.
33234 (tr_memalignhook): Likewise.
33235
6ce75379
UD
33236 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33237 used and couldn't be at all thread-safe.
33238
f8a3b5bf
UD
332392011-05-15 Ulrich Drepper <drepper@gmail.com>
33240
94b7cc37
UD
33241 * libio/freopen.c (freopen): Don't close old file descriptor
33242 before the new one is opened. Instead dup the new file descriptor
33243 to the old one after the new stream is created.
33244 * libio/freopen64.c (freopen64): Likewise.
33245 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33246 * libio/fileops.c (_IO_new_file_close_it): Handle new
33247 _IO_FLAGS2_NOCLOSE flag.
33248 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33249 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33250 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33251 _IO_FLAGS2_NOCLOSE flag.
33252 * include/unistd.h: Add hidden_proto for dup3.
33253 Define __have_dup3.
33254 * io/dup3.c: Define hidden symbol.
33255 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33256
bd25564e
UD
33257 [BZ #7101]
33258 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33259 when an incomplete long option is used.
33260 * posix/tst-getopt_long1.c: New file.
33261 * posix/Makefile (tests): Add tst-getopt_long1.
33262
c84cfef4
UD
33263 [BZ #10138]
33264 * scripts/config.guess: Update from autoconf-2.68.
33265 * scripts/config.sub: Likewise.
33266
3b85df27
UD
33267 [BZ #10157]
33268 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33269 tests into ...
33270 (has_cpuclock): ...this. New function.
33271 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33272 macro here based on has_cpuclock code.
33273
15a856b1
UD
33274 [BZ #10149]
33275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33276 First byte (not low byte) is now always NUL.
33277 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33278
05f399e6
UD
33279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33280 Use non-cancelable interfaces.
33281
10a52685 33282 [BZ #9809]
94ecc67d
UD
33283 * locale/iso-639.def: Add entry for Sorani.
33284
f8a3b5bf
UD
33285 [BZ #11901]
33286 * include/stdlib.h: Move include protection to the right place.
33287 Define abort_msg_s. Declare __abort_msg with it.
33288 * stdlib/abort.c (__abort_msg): Adjust type.
33289 * assert/assert.c (__assert_fail_base): New function. Majority
33290 of code from __assert_fail. Allocate memory for __abort_msg with
33291 mmap.
33292 (__assert_fail): Now call __assert_fail_base.
33293 * assert/assert-perr.c: Remove bulk of implementation. Use
33294 __assert_fail_base.
33295 * include/assert.hL Declare __assert_fail_base.
33296 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33297 mmap.
33298 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33299
1af4e298
UD
333002011-05-14 Ulrich Drepper <drepper@gmail.com>
33301
f8a3b5bf 33302 [BZ #11952]
d26dfc60
MG
33303 [BZ #12453]
33304 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33305 until all modules are registered in the DTV.
33306 * elf/Makefile: Add rules to build and run tst-tls19.
33307 * elf/tst-tls19.c: New file.
33308 * elf/tst-tls19mod1.c: New file.
33309 * elf/tst-tls19mod2.c: New file.
33310 * elf/tst-tls19mod3.c: New file.
33311 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33312
2fc54d6f
UD
33313 [BZ #12083]
33314 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33315 correctly.
33316
98d76b46
UD
33317 [BZ #12601]
33318 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33319 two-byte sequence errors.
33320 * iconvdata/Makefile (tests): Add bug-iconv8.
33321 * iconvdata/bug-iconv8.c: New file.
33322
da3c19ef
UD
33323 [BZ #12626]
33324 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33325 buf2 definition.
33326
ca408c15
UD
33327 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33328
d6f67f7d
UD
33329 [BZ #12432]
33330 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33331 (dummy_getcfa): New function.
33332 (init): Get _Unwind_GetCFA address, use dummy if not found.
33333 (backtrace_helper): In recursion check, also check whether CFA changes.
33334 (__backtrace): Completely initialize arg.
33335
1af4e298 33336 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33337 storing incomplete byte sequence in state object. Avoid testing for
33338 guaranteed too small input if we know there is enough data available.
1af4e298 33339
da62f81b
AS
333402011-05-11 Andreas Schwab <schwab@redhat.com>
33341
33342 * Makeconfig (+link-pie): Indent.
33343 * Rules (binaries-pie): Define if $(have-fpie) and
33344 $(build-shared).
33345 (binaries-shared): Also filter out $(binaries-pie).
33346 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33347 * nscd/Makefile (others-pie): Add nscd.
33348 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33349 ($(objpfx)nscd): Remove command override.
33350 * login/Makefile (others-pie): Add pt_chown.
33351 ($(objpfx)pt_chown): Remove command override.
33352 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33353 remove command overrides.
33354
fcabc0f8
UD
333552011-05-13 Ulrich Drepper <drepper@gmail.com>
33356
20030ae6
UD
33357 * libio/tst_putwc.c: Fix error messages.
33358
fcabc0f8
UD
33359 [BZ #12724]
33360 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33361 currently writing and seek to current position when not.
33362 * libio/Makefile (tests): Add bug-fclose1.
33363 * libio/bug-fclose1.c: New file.
33364
320a5dc0
PB
333652011-05-12 Ulrich Drepper <drepper@gmail.com>
33366
33367 [BZ #12511]
33368 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33369 don't set DF_1_NODELETE here.
33370 (do_lookup_x): When entering new entry test for copy relocation
33371 and if necessary set DF_1_NODELETE flag.
33372 * elf/tst-unique4.cc: New file.
33373 * elf/tst-unique4.h: New file.
33374 * elf/tst-unique4lib.cc: New file.
33375 * elf/Makefile: Add rules to build and run tst-unique4.
33376 Patch by Piotr Bury <pbury@goahead.com>.
33377
22836f52
UD
333782011-05-11 Ulrich Drepper <drepper@gmail.com>
33379
f574184a
UD
33380 [BZ #12052]
33381 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33382
e1fb097f
UD
33383 [BZ #12625]
33384 * misc/mntent_r.c (addmntent): Flush the stream after the output
33385
22836f52
UD
33386 [BZ #12393]
33387 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33388 (is_trusted_path_normalize): Skip initial colon. Append slash
33389 to empty buffer. Duplicate is_trusted_path code but allow
33390 constructed patch to be prefix.
33391 (is_dst): Allow $ORIGIN followed by /.
33392 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33393 Correct testing of result of is_trusted_path_normalize
33394 (decompose_rpath): Fix warning.
33395
7b3b0b2a
UD
333962011-05-10 Ulrich Drepper <drepper@gmail.com>
33397
33398 [BZ #11257]
33399 * grp/initgroups.c (internal_getgrouplist): When we found the service
33400 list through the initgroups entry in nsswitch.conf do not always
33401 continue on a successful lookup. Don't always use the
eac80ce2 33402 __nss_group_database value if it is set.
7b3b0b2a
UD
33403 * nss/nsswitch.conf (initgroups): Change action for successful db
33404 lookup to continue for compatibility.
33405
2a81eaa5
UD
334062011-05-09 Ulrich Drepper <drepper@gmail.com>
33407
be97a69e
UD
33408 [BZ #11532]
33409 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33410 and CP774 modules.
33411 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33412 and CP774 modules.
33413 * iconvdata/tst-tables.sh: Likewise.
33414 * iconvdata/cp770.c: New file.
33415 * iconvdata/cp771.c: New file.
33416 * iconvdata/cp772.c: New file.
33417 * iconvdata/cp773.c: New file.
33418 * iconvdata/cp774.c: New file.
33419 * iconvdata/testdata/CP770: New file.
33420 * iconvdata/testdata/CP770..UTF8: New file.
33421 * iconvdata/testdata/CP771: New file.
33422 * iconvdata/testdata/CP771..UTF8: New file.
33423 * iconvdata/testdata/CP772: New file.
33424 * iconvdata/testdata/CP772..UTF8: New file.
33425 * iconvdata/testdata/CP773: New file.
33426 * iconvdata/testdata/CP773..UTF8: New file.
33427 * iconvdata/testdata/CP774: New file.
33428 * iconvdata/testdata/CP774..UTF8: New file.
33429
33430 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33431 END CHARMAP line.
33432 * iconvdata/gen-8bit-gap.sh: Likewise.
33433 * iconvdata/gen-8bit.sh: Likewise.
33434
c1e9e399
UD
33435 * locale/iso-639.def: Add ary entry.
33436
24c55fb3 33437 [BZ #11258]
96b4b1b0
UD
33438 * locale/C-translit.h.in: Add U20A1 transliteration.
33439
bdc2f971
KB
33440 [BZ #12178]
33441 * locale/iso-639.def: Add wae entry.
33442 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33443
2952b117
UD
33444 [BZ #12545]
33445 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33446 for n.
33447
2a81eaa5
UD
33448 [BZ #12711]
33449 * locale/C-translit.h.in: Add entry for U20B9.
33450 Patch by pravin.d.s@gmail.com.
33451
28377d1b
UD
334522011-05-08 Ulrich Drepper <drepper@gmail.com>
33453
7fb90fb8
UD
33454 [BZ #12713]
33455 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33456 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33457 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33458 in rtld. Use *stat64.
7fb90fb8 33459 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33460 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33461 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33462 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33463 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33464 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33465 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33466 __fstatat64 macros.
7fb90fb8
UD
33467 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33468 * dirent/rewinddir.c: Add libc_hidden_def.
33469 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33470 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33471
28377d1b
UD
33472 * include/dirent.h (__alloc_dir): Add flags parameter.
33473 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33474 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33475 __alloc_dir.
33476 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33477 from fdopendir if O_CLOEXEC is already set.
33478
66bdbaa4
AM
334792011-03-15 Alan Modra <amodra@gmail.com>
33480
33481 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33482 l_tls_firstbyte_offset non-zero. Save padding offset in
33483 l_tls_firstbyte_offset for later use.
33484 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33485 freeing static tls block.
33486
95721191
JN
334872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33488
33489 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33490 where #ifdef was intended. The intent is to prevent ARG_MAX from
33491 being defined by the kernel headers.
33492
f87dfb1f
UD
334932011-05-07 Ulrich Drepper <drepper@gmail.com>
33494
33495 [BZ #12734]
33496 * resolv/resolv.h: Define RES_NOTLDQUERY.
33497 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33498 no-tld-query and set RES_NOTLDQUERY.
33499 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33500 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33501 modern BIND to search name as TLD unless forbidden.
33502
47c3cd7a
UD
335032011-05-07 Petr Baudis <pasky@suse.cz>
33504 Ulrich Drepper <drepper@gmail.com>
33505
33506 [BZ #12393]
33507 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33508 (is_trusted_path): ...to here.
c1e9ea35 33509 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33510 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33511 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33512
8a35c912
PP
335132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33514
33515 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33516 __BEGIN/__END_DECLS.
33517
acd41f47
UD
335182011-05-06 Ulrich Drepper <drepper@gmail.com>
33519
33520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33521 NSS_STATUS_NOTFOUND if no record was found.
33522
597df647
AS
335232011-05-05 Andreas Schwab <schwab@redhat.com>
33524
33525 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33526 (headers-not-in-tirpc): Remove rpc/netdb.h
33527 * resolv/netdb.h: Revert last change.
33528
b9af1301
PP
335292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33530
33531 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33532 circular dependency between libgcc.a and libc.a.
33533
4e34d5f5
AS
335342011-05-05 Andreas Schwab <schwab@redhat.com>
33535
33536 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33537 * nis/Makefile: Don't install rpcsvc/*.
33538 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33539 instead of <rpc/types.h>.
33540 (MAXHOSTNAMELEN): Define.
33541
00ee369c
AS
335422011-05-03 Andreas Schwab <schwab@redhat.com>
33543
33544 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33545
0b592a30
MB
335462011-04-28 Maciej Babinski <mbabinski@google.com>
33547
33548 [BZ #12714]
33549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33550 gethostbyname4_r when IPv6 results are possible.
33551
6e04cbbe
UD
335522011-05-02 Ulrich Drepper <drepper@gmail.com>
33553
33554 [BZ #12723]
33555 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33556 _PC_PIPE_BUF handling.
33557
e4ecafe0
BH
335582011-04-30 Bruno Haible <bruno@clisp.org>
33559
33560 [BZ #12717]
33561 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33562 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33563 to 'int'.
33564 * inet/getnameinfo.c (getnameinfo): Likewise.
33565
125ee683
UD
335662011-04-29 Ulrich Drepper <drepper@gmail.com>
33567
33568 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33569 to groups setting in database lookup.
33570 * nss/nsswitch.conf: Add initgroups entry.
33571
b722481a
EB
335722011-04-22 Ulrich Drepper <drepper@gmail.com>
33573
33574 [BZ #12685]
33575 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33576 mode string.
33577 Patch by Eric Blake <eblake@redhat.com>.
33578
4df46dbd
L
335792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33580
33581 * sunrpc/Makefile (need-export-routines): Add svc_run.
33582 (routines): Remove svc_run.
33583 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33584 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33585 * sunrpc/svc_run.c (svc_run): Likewise.
33586 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33587
e84142d2
UD
335882011-04-21 Ulrich Drepper <drepper@gmail.com>
33589
33590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33591 problem in reallocation in last patch.
33592
877175d8
UD
335932011-04-20 Ulrich Drepper <drepper@gmail.com>
33594
33595 * sunrpc/Makefile: Move inclusion of Rules.
33596
ab8eed78
UD
335972011-04-19 Ulrich Drepper <drepper@gmail.com>
33598
33599 * nss/nss_files/files-initgroups.c: New file.
33600 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33601 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33602 _nss_files_initgroups_dyn.
33603
e3d8f584
RS
336042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33605
33606 * elf/elf.h (R_ARM_IRELATIVE): Define.
33607
af190f45
UD
336082011-04-19 Ulrich Drepper <drepper@gmail.com>
33609
33610 * po/ru.po: Update from translation team.
33611
53cf59ef
UD
336122011-04-17 Ulrich Drepper <drepper@gmail.com>
33613
33614 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33615 dependencies.
33616
4c559bcd
MF
336172011-02-06 Mike Frysinger <vapier@gentoo.org>
33618
33619 [BZ #12653]
33620 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33621 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33625
4420675c
AS
336262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33627
33628 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33629 differing bytes.
33630 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33633
75ea32ab
UD
336342011-04-17 Ulrich Drepper <drepper@gmail.com>
33635
33636 [BZ #12420]
33637 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33638 storing it.
33639 * stdlib/bug-getcontext.c: New file.
33640 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33641
27390476
AK
336422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33643
33644 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33645 instructions into .machine "z9-109".
33646 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33647 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33648
10442705
AK
336492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33650
33651 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33652 between environment variables and auxiliary vector.
33653
7b57bfe5
UD
336542011-04-16 Ulrich Drepper <drepper@gmail.com>
33655
33656 * Makefile: Add rules to build linkobj/libc.so.
33657 * include/libc-symbols.h: Define libc_hidden_nolink.
33658 * include/rpc/auth.h: Mark functions which are to be hidden.
33659 * include/rpc/auth_des.h: Likewise.
33660 * include/rpc/auth_unix.h: Likewise.
33661 * include/rpc/clnt.h: Likewise.
33662 * include/rpc/des_crypt.h: Likewise.
33663 * include/rpc/key_prot.h: Likewise.
33664 * include/rpc/pmap_clnt.h: Likewise.
33665 * include/rpc/pmap_prot.h: Likewise.
33666 * include/rpc/pmap_rmt.h: Likewise.
33667 * include/rpc/rpc_msg.h: Likewise.
33668 * include/rpc/svc.h: Likewise.
33669 * include/rpc/svc_auth.h: Likewise.
33670 * include/rpc/xdr.h: Likewise.
33671 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33672 * nss/Makefile: Likewise.
33673 * sunrpc/Makefile: Don't install headers. Build library with normal
33674 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33675 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33676 for the compat linking library. Remove use of INTDEF/INTUSE.
33677 * sunrpc/auth_none.c: Likewise.
33678 * sunrpc/auth_unix.c: Likewise.
33679 * sunrpc/authdes_prot.c: Likewise.
33680 * sunrpc/authuxprot.c: Likewise.
33681 * sunrpc/clnt_gen.c: Likewise.
33682 * sunrpc/clnt_perr.c: Likewise.
33683 * sunrpc/clnt_raw.c: Likewise.
33684 * sunrpc/clnt_simp.c: Likewise.
33685 * sunrpc/clnt_tcp.c: Likewise.
33686 * sunrpc/clnt_udp.c: Likewise.
33687 * sunrpc/clnt_unix.c: Likewise.
33688 * sunrpc/des_crypt.c: Likewise.
33689 * sunrpc/des_soft.c: Likewise.
33690 * sunrpc/get_myaddr.c: Likewise.
33691 * sunrpc/key_call.c: Likewise.
33692 * sunrpc/key_prot.c: Likewise.
33693 * sunrpc/netname.c: Likewise.
33694 * sunrpc/pm_getmaps.c: Likewise.
33695 * sunrpc/pm_getport.c: Likewise.
33696 * sunrpc/pmap_clnt.c: Likewise.
33697 * sunrpc/pmap_prot.c: Likewise.
33698 * sunrpc/pmap_prot2.c: Likewise.
33699 * sunrpc/pmap_rmt.c: Likewise.
33700 * sunrpc/publickey.c: Likewise.
33701 * sunrpc/rpc_cmsg.c: Likewise.
33702 * sunrpc/rpc_common.c: Likewise.
33703 * sunrpc/rpc_dtable.c: Likewise.
33704 * sunrpc/rpc_prot.c: Likewise.
33705 * sunrpc/rpc_thread.c: Likewise.
33706 * sunrpc/rtime.c: Likewise.
33707 * sunrpc/svc.c: Likewise.
33708 * sunrpc/svc_auth.c: Likewise.
33709 * sunrpc/svc_authux.c: Likewise.
33710 * sunrpc/svc_raw.c: Likewise.
33711 * sunrpc/svc_run.c: Likewise.
33712 * sunrpc/svc_simple.c: Likewise.
33713 * sunrpc/svc_tcp.c: Likewise.
33714 * sunrpc/svc_udp.c: Likewise.
33715 * sunrpc/svc_unix.c: Likewise.
33716 * sunrpc/svcauth_des.c: Likewise.
33717 * sunrpc/xcrypt.c: Likewise.
33718 * sunrpc/xdr.c: Likewise.
33719 * sunrpc/xdr_array.c: Likewise.
33720 * sunrpc/xdr_float.c: Likewise.
33721 * sunrpc/xdr_intXX_t.c: Likewise.
33722 * sunrpc/xdr_mem.c: Likewise.
33723 * sunrpc/xdr_rec.c: Likewise.
33724 * sunrpc/xdr_ref.c: Likewise.
33725 * sunrpc/xdr_sizeof.c: Likewise.
33726 * sunrpc/xdr_stdio.c: Likewise.
33727
e6c61494
UD
337282011-04-10 Ulrich Drepper <drepper@gmail.com>
33729
33730 [BZ #12650]
33731 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33732 * sysdeps/ia64/dl-tls.h: Likewise.
33733 * sysdeps/powerpc/dl-tls.h: Likewise.
33734 * sysdeps/s390/dl-tls.h: Likewise.
33735 * sysdeps/sh/dl-tls.h: Likewise.
33736 * sysdeps/sparc/dl-tls.h: Likewise.
33737 * sysdeps/x86_64/dl-tls.h: Likewise.
33738 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33739
34fe483e
AS
337402011-03-14 Andreas Schwab <schwab@redhat.com>
33741
33742 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33743 rpath element also skip the following colon.
33744 (expand_dynamic_string_token): Add is_path parameter and pass
33745 down to DL_DST_REQUIRED and _dl_dst_substitute.
33746 (decompose_rpath): Call expand_dynamic_string_token with
33747 non-zero is_path. Ignore empty rpaths.
33748 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33749 with zero is_path.
33750
f12a32e6
AS
337512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33752
33753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33754 Make cancelable.
33755
38a7d692
UD
337562011-04-09 Ulrich Drepper <drepper@gmail.com>
33757
33758 [BZ #12655]
33759 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33760 Patch by Filipe David Manana <fdmanana@apache.org>.
33761
e451d22b
AS
337622011-04-07 Andreas Schwab <schwab@redhat.com>
33763
33764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33765 Maintain aligned stack.
33766 (CHECK_RSP): Remove unused macro.
33767
dedc7c7b
UD
337682011-04-03 Ulrich Drepper <drepper@gmail.com>
33769
33770 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33771 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33772
94521213
UD
337732011-04-02 Ulrich Drepper <drepper@gmail.com>
33774
33775 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33776
8cb700c0 33777 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33778
0354e355
L
337792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33780
33781 [BZ #12518]
33782 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33783 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33784 * sysdeps/x86_64/memmove.c: New file.
33785 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33786 (memcpy): Renamed to ...
33787 (__new_memcpy): This.
33788 (memcpy): Provide GLIBC_2_14 memcpy.
33789 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33790 (memcpy): Provide GLIBC_2_2_5 memcpy.
33791
8593482f
UD
337922011-04-01 Ulrich Drepper <drepper@gmail.com>
33793
33794 [BZ #12631]
33795 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33796
81a5726b
AS
337972011-03-30 Andreas Schwab <schwab@redhat.com>
33798
33799 * misc/syncfs.c: New file.
33800 * misc/Makefile (routines): Add syncfs.
33801 * posix/unistd.h: Declare syncfs.
33802 * sysdeps/unix/syscalls.list: Add syncfs.
33803
00e5419f
AS
338042011-04-01 Andreas Schwab <schwab@redhat.com>
33805
33806 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33807 open_by_handle_at.
33808 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33813 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33815
748876bf
UD
338162011-04-01 Ulrich Drepper <drepper@gmail.com>
33817
658e451d
UD
33818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33819 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33825
748876bf
UD
33826 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33827 sync_file_range.c with -fexceptions.
33828 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33829 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33830 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33831 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33832 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33833 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33835 sync_file_range as cancellation point
33836 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33837 now a wrapper around __call_sync_file_range with cancellation handling.
33838 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33839 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33840 function name to __call_sync_file_range.
33841 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33842 Add call_sync_file_range.
748876bf 33843
6e63d5e1
AS
338442011-04-01 Andreas Schwab <schwab@redhat.com>
33845
33846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33847 bits/timex.h.
6e63d5e1 33848
46998f74
UD
338492011-04-01 Ulrich Drepper <drepper@gmail.com>
33850
4c1423ed
UD
33851 * iconv/iconv.h: Fix typo in comment.
33852 * io/fcntl.h: Likewise.
33853 * libio/stdio.h: Likewise.
33854 * posix/spawn.h: Likewise.
33855 * posix/unistd.h: Likewise.
33856 * stdlib/stdlib.h: Likewise.
33857 * time/time.h: Likewise.
33858 * wcsmbs/wchar.h: Likewise.
33859
158648c0
UD
33860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33861 open_by_handle): Add.
33862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33863 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33864 Augment a few comments.
33865 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33868 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33870 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33871 open_by_handle.
33872
46998f74
UD
33873 * io/fcntl.h (AT_EMPTY_PATH): Define.
33874
83fe108b
UD
338752011-03-30 Ulrich Drepper <drepper@gmail.com>
33876
33877 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33878 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33879 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33880 to...
33881 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33882 * Versions.def: Add GLIBC_2.14.
33883 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33884 Export.
83fe108b 33885
bb242059
UD
338862011-03-22 Ulrich Drepper <drepper@gmail.com>
33887
33888 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33889 round counter.
33890 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33891
c97a1282
L
338922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33893
33894 [BZ #12597]
33895 * string/test-strncmp.c (do_page_test): New function.
33896 (check2): Likewise.
33897 (test_main): Call check2.
33898 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33899
2a115601
UD
339002011-03-20 Ulrich Drepper <drepper@gmail.com>
33901
33902 [BZ #12587]
33903 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33904 Handle cache information in CPU leaf 4.
33905 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33906
8126d904
UD
339072011-03-18 Ulrich Drepper <drepper@gmail.com>
33908
042c49c6 33909 [BZ #12583]
8126d904
UD
33910 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33911 character representation.
33912 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33913
ccfe366e
RA
339142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33915
33916 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33917 END(__isnan) to END(__isnanf) to match function entry point/label
33918 EALIGN(__isnanf,...).
33919
c6e13027
JJ
339202011-03-10 Jakub Jelinek <jakub@redhat.com>
33921
33922 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33923
33f85a3f
UD
339242011-03-10 Ulrich Drepper <drepper@gmail.com>
33925
028478fa
UD
33926 [BZ #12510]
33927 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33928 copy from the symbol referenced in the relocation to initialize the
33929 used variable.
33930 Patch by Piotr Bury <pbury@goahead.com>.
33931 * elf/Makefile: Add rules to build and tst-unique3.
33932 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33933 * elf/tst-unique3.cc: New file.
33934 * elf/tst-unique3.h: New file.
33935 * elf/tst-unique3lib.cc: New file.
33936 * elf/tst-unique3lib2.cc: New file.
33937
33f85a3f
UD
33938 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33939
03592fc7
MF
339402011-03-10 Mike Frysinger <vapier@gentoo.org>
33941
33942 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33943 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33944 to _start.
03592fc7 33945
6a5ee102
UD
339462011-03-06 Ulrich Drepper <drepper@gmail.com>
33947
33948 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33949 to-be-loaded object along a path to loader is ld.so.
33950
7e4ba49c
HJ
339512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33952 Ulrich Drepper <drepper@gmail.com>
33953
33954 * sysdeps/x86_64/memset.S: After aligning destination, code
33955 branches to different locations depending on the value of
33956 misalignment, when multiarch is enabled. Fix this.
33957
339582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33959
33960 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33961 Set _x86_64_preferred_memory_instruction for AMD processsors.
33962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33963 Set bit_Prefer_SSE_for_memop for AMD processors.
33964
13a804de
UD
339652011-03-04 Ulrich Drepper <drepper@gmail.com>
33966
33967 * libio/fmemopen.c (fmemopen): Optimize a bit.
33968
9d25c392
AS
339692011-03-03 Andreas Schwab <schwab@redhat.com>
33970
33971 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33972
a5543c6a
RM
339732011-03-03 Roland McGrath <roland@redhat.com>
33974
33975 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33976
012d35f7
DM
339772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33978
7e4ba49c 33979 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33980 __bzero_ultra1 instead of __memset_ultra1.
33981
4bff6e01
AS
339822011-02-23 Andreas Schwab <schwab@redhat.com>
33983 Ulrich Drepper <drepper@gmail.com>
33984
33985 [BZ #12509]
33986 * include/link.h (struct link_map): Add l_orig_initfini.
33987 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33988 returning unsuccessfully.
33989 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33990 close of a file loaded at startup, restore the original l_initfini
33991 list.
33992 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33993 list, store the pointer.
33994 * elf/Makefile ($(objpfx)noload-mem): New rule.
33995 (noload-ENV): Define.
33996 (tests): Add $(objpfx)noload-mem.
33997 * elf/noload.c: Include <memcheck.h>.
33998 (main): Call mtrace. Close all opened handles.
33999
f2092faf
AS
340002011-02-17 Andreas Schwab <schwab@redhat.com>
34001
34002 [BZ #12454]
34003 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34004 dependencies are missing.
34005
6c8a2e88
ST
340062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34007
f2092faf 34008 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34009 Hurd needs munmap.
34010 * sysdeps/mach/hurd/ifreq.h: New file.
34011
84a42118
PB
340122011-01-27 Petr Baudis <pasky@suse.cz>
34013 Ulrich Drepper <drepper@gmail.com>
34014
071f805e 34015 [BZ 12445]#
84a42118
PB
34016 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34017 to extend_alloca().
34018 * stdio-common/bug23.c: New file.
34019 * stdio-common/Makefile (tests): Add bug23.
34020
e23fe25b
AS
340212010-09-28 Andreas Schwab <schwab@redhat.com>
34022 Ulrich Drepper <drepper@gmail.com>
34023
34024 [BZ #12489]
34025 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34026 before performing relro protection. At old place add assertion
34027 to make sure nothing changed.
34028
d3f02e10
NS
340292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34030 Glauber de Oliveira Costa <glommer@gmail.com>
34031
34032 * elf/elf.h: Add new ARM TLS relocs.
34033
d55fd7a5
RA
340342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34035
34036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34037 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34038 cast from r3.
34039 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34040 'tests' variable.
34041 * sysdeps/wordsize-64/tst-writev.c: New file.
34042
2206397e
RA
340432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34044
34045 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34046 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34047 insns in _dl_start to prevent a TOC reference before relocs are
34048 resolved.
34049
e9433893
UD
340502011-02-15 Ulrich Drepper <drepper@gmail.com>
34051
34052 [BZ #12469]
34053 * Makeconfig: Remove RANLIB definition.
34054 * Makerules: Don't use RANLIB.
34055 * aclocal.m4: Remove ranlib test.
34056 * configure.in: No need to check for ranlib.
34057 * elf/rtld-Rules: Don't use RANLIB.
34058
f75286c6
ST
340592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34060
8e31c82d
ST
34061 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34062 protection macro.
34063 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34064 inclusion protection macro.
34065
f75286c6
ST
34066 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34067 SIGRTMIN and SIGRTMAX and print information in that case only when
34068 SIGRTMIN is defined.
34069
c1d0e639
JJ
340702011-02-11 Jakub Jelinek <jakub@redhat.com>
34071
34072 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34073 arginfo fn returning -1.
34074
34075 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34076 and thousands string is zero terminated.
34077
edf9294e
AS
340782011-02-03 Andreas Schwab <schwab@redhat.com>
34079
34080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34081 sysdeps/unix/sysv/linux/bits/socket.h.
34082
2b7e92df
ST
340832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34084
edf9294e
AS
34085 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34086 (__CPU_COUNT): Remove old macros.
34087 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34088 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34089 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34090 (__sched_cpualloc, __sched_cpufree): Add declarations.
34091
a4c7ea7b
UD
340922011-02-05 Ulrich Drepper <drepper@gmail.com>
34093
34094 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34095 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34096 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34097 (readdhstai): Return value of addhstaiX call.
34098 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34099 (addgrbyX): Return value returned by cache_addgr.
34100 (readdgrbyname): Return value returned by addgrbyX.
34101 (readdgrbygid): Likewise.
34102 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34103 (addpwbyX): Return value returned by cache_addpw.
34104 (readdpwbyname): Return value returned by addhstbyX.
34105 (readdpwbyuid): Likewise.
34106 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34107 (addservbyX): Return value returned by cache_addserv.
34108 (readdservbyname): Return value returned by addservbyX:
34109 (readdservbyport): Likewise.
34110 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34111 (addhstbyX): Return value returned by cache_addhst.
34112 (readdhstbyname): Return value returned by addhstbyX.
34113 (readdhstbyaddr): Likewise.
34114 (readdhstbynamev6): Likewise.
34115 (readdhstbyaddrv6): Likewise.
34116 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34117 (readdinitgroups): Return value returned by addinitgroupsX.
34118 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34119 (prune_cache): Keep track of timeout value of re-added entries.
34120 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34121 * nscd/nscd.h: Adjust prototypes of readd* functions.
34122
a0bf67cc
RM
341232011-02-04 Roland McGrath <roland@redhat.com>
34124
34125 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34126 (nis_stats): Likewise.
34127 * nis/nis_modify.c (nis_modify): Likewise.
34128 * nis/nis_remove.c (nis_remove): Likewise.
34129 * nis/nis_add.c (nis_add): Likewise.
34130
34131 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34132
34133 * posix/fnmatch_loop.c: Add some consts.
34134
34135 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34136
435b95eb
L
341372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34138
34139 [BZ #12460]
34140 * config.make.in (config-cflags-novzeroupper): Define.
34141 * configure.in: Substitute libc_cv_cc_novzeroupper.
34142 * elf/Makefile (AVX-CFLAGS): Define.
34143 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34144 (CFLAGS-tst-auditmod4a.c): Likewise.
34145 (CFLAGS-tst-auditmod4b.c): Likewise.
34146 (CFLAGS-tst-auditmod6b.c): Likewise.
34147 (CFLAGS-tst-auditmod6c.c): Likewise.
34148 (CFLAGS-tst-auditmod7b.c): Likewise.
34149 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34150
8517b15e
UD
341512011-02-02 Ulrich Drepper <drepper@gmail.com>
34152
34153 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34154 function to the callback.
34155 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34156
10a656fe
AS
341572011-02-02 Andreas Schwab <schwab@redhat.com>
34158
34159 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34160 of errno.
34161
968dad0a
UD
341622011-01-19 Ulrich Drepper <drepper@gmail.com>
34163
9f94d2ea 34164 [BZ #11724]
968dad0a
UD
34165 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34166 of constructors.
34167 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34168 of destructors.
34169 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34170
34171 [BZ #11724]
34172 * elf/Makefile: Add rules to build and run new test.
34173 * elf/tst-initorder.c: New file.
34174 * elf/tst-initorder.exp: New file.
34175 * elf/tst-initordera1.c: New file.
34176 * elf/tst-initordera2.c: New file.
34177 * elf/tst-initordera3.c: New file.
34178 * elf/tst-initordera4.c: New file.
34179 * elf/tst-initorderb1.c: New file.
34180 * elf/tst-initorderb2.c: New file.
34181 * elf/tst-order-a1.c: New file.
34182 * elf/tst-order-a2.c: New file.
34183 * elf/tst-order-a3.c: New file.
34184 * elf/tst-order-a4.c: New file.
34185 * elf/tst-order-b1.c: New file.
34186 * elf/tst-order-b2.c: New file.
34187 * elf/tst-order-main.c: New file.
34188 New test case by George Gensure <werkt0@gmail.com>.
34189
86e92359
UD
341902010-10-01 Andreas Schwab <schwab@redhat.com>
34191
34192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34193 decoding ACE if AI_CANONIDN.
34194
5d5732b0
UD
341952011-01-18 Ulrich Drepper <drepper@gmail.com>
34196
34197 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34198
a77e8cbc
UD
341992011-01-17 Ulrich Drepper <drepper@gmail.com>
34200
6392473f
UD
34201 * version.h (RELEASE): Bump for 2.13 release.
34202 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34203
620a0529
UD
34204 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34205
18ba70a5
UD
34206 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34207 MADV_NOHUGEPAGE.
32465c3e
UD
34208 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34209 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34210 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34214
c0dafcf1
UD
34215 * posix/getconf.c: Update copyright year.
34216 * catgets/gencat.c: Likewise.
34217 * csu/version.c: Likewise.
34218 * debug/catchsegv.sh: Likewise.
34219 * debug/xtrace.sh: Likewise.
34220 * elf/ldconfig.c: Likewise.
34221 * elf/ldd.bash.in: Likewise.
34222 * elf/sprof.c (print_version): Likewise.
34223 * iconv/iconv_prog.c: Likewise.
34224 * iconv/iconvconfig.c: Likewise.
34225 * locale/programs/locale.c: Likewise.
34226 * locale/programs/localedef.c: Likewise.
34227 * malloc/memusage.sh: Likewise.
34228 * malloc/mtrace.pl: Likewise.
34229 * nscd/nscd.c (print_version): Likewise.
34230 * nss/getent.c: Likewise.
34231
a77e8cbc
UD
34232 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34233 PF_CAIF, and PF_ALG.
34234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34235
77e8bddf
AS
342362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34237
1f20b93a
AS
34238 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34239 (modules-names): Use them.
34240 (ifunc-test-modules, ifunc-pie-tests): Define.
34241 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34242 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34243 (test-extras): Likewise.
34244 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34245 $(compile-command.c).
34246 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34247 (all-built-dso): Define.
34248 (check-textrel.out, check-execstack.out): Depend on it.
34249
77e8bddf
AS
34250 * configure.in: Don't override --enable-multi-arch.
34251
bc425b33
UD
342522011-01-15 Ulrich Drepper <drepper@gmail.com>
34253
34254 [BZ #6812]
34255 * nscd/hstcache.c (tryagain): Define.
34256 (cache_addhst): Return tryagain not notfound for temporary errors.
34257 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34258 failed.
34259
794c3ad3
UD
342602011-01-14 Ulrich Drepper <drepper@gmail.com>
34261
70181fdd
UD
34262 [BZ #10563]
34263 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34264 to make the syscall.
34265 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34266
794c3ad3
UD
34267 [BZ #12378]
34268 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34269 and fall back to matching as normal character if the string ends before
34270 the matching ']' is found. This is what POSIX requires.
34271 * posix/testfnm.c: Adjust test result.
34272 * posix/globtest.sh: Adjust test result. Add new test.
34273 * posix/tst-fnmatch.input: Likewise.
34274 * posix/tst-fnmatch2.c: Add new test.
34275
68dc9497
AS
342762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34277
34278 * elf/Makefile (check-execstack): Revert last change. Depend on
34279 check-execstack.h.
34280 (check-execstack.h): New target.
34281 (generated): Add check-execstack.h.
34282 * elf/check-execstack.c: Include "check-execstack.h".
34283 (main): Revert last change.
34284 (handle_file): Return zero if GNU_STACK is absent and
34285 DEFAULT_STACK_PERMS doesn't include PF_X.
34286
451f001b
UD
342872011-01-13 Ulrich Drepper <drepper@gmail.com>
34288
cfa28e56
UD
34289 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34290 in child fails because the descriptor is already closed.
8cf8ce17
UD
34291 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34292 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34293 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34294
1086d70d
UD
34295 [BZ #12397]
34296 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34297 syscall.
34298
451f001b
UD
34299 [BZ #10484]
34300 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34301 temporary buffer used to handle multi lookups locally.
a85b5cb4 34302 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34303
08769175
UD
343042011-01-12 Ulrich Drepper <drepper@gmail.com>
34305
34306 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34307 loader is ld.so.
34308
5e49c52e
UD
343092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34310
34311 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34312 alignment for SSE2.
34313
60522a5f
UD
343142011-01-12 Ulrich Drepper <drepper@gmail.com>
34315
34316 [BZ #12394]
34317 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34318 characters. When rounding increased number of integer digits recompute
34319 number of groups.
34320 * stdio-common/tst-grouping.c: New file.
34321 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34322
f257bbd7
UD
343232011-01-09 Ulrich Drepper <drepper@gmail.com>
34324
34325 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34326 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34327
34328 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34329 void.
34330 * bits/select.h: Likewise.
34331
fa9c15cb
UD
343322011-01-08 Ulrich Drepper <drepper@gmail.com>
34333
34334 * po/ja.po: Update from translation team.
34335
16c2895f
DM
343362011-01-04 David S. Miller <davem@sunset.davemloft.net>
34337
34338 [BZ #11155]
34339 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34340 implementation just like for lxstat, fxstatat, et al.
34341
2543fef2
JM
343422010-12-27 Jim Meyering <meyering@redhat.com>
34343
34344 [BZ #12348]
34345 * posix/regexec.c (build_trtable): Return failure indication upon
34346 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34347
98727dbe
UD
343482010-12-25 Ulrich Drepper <drepper@gmail.com>
34349
5bd6dc5c
UD
34350 [BZ #12201]
34351 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34352 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34353 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34354 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34355
97983464
UD
34356 [BZ #12207]
34357 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34358
98727dbe
UD
34359 [BZ #12204]
34360 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34361 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34362
4a531bb0
L
343632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34364
34365 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34366 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34367 script has SORT_BY_INIT_PRIORITY.
34368 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34369 NO_CTORS_DTORS_SECTIONS is defined.
34370 * elf/soinit.c: Likewise.
34371 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34372 NO_CTORS_DTORS_SECTIONS is defined.
34373 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34374 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34375 * sysdeps/sh/init-first.c: Likewise.
34376 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34377
07eb4b71
UD
343782010-12-24 Ulrich Drepper <drepper@gmail.com>
34379
34380 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34381 always use the slow path.
34382
30950a5f
RA
343832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34384
34385 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34386 similar rule which adds the sysdep directories to the header search in
34387 order to pick up the correct platform stackinfo.h.
34388 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34389 perform test if it is, otherwise return successfully without testing.
34390 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34391 DEFAULT_STACK_PERMS define in stackinfo.h.
34392 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34393 defined in stackinfo.h.
34394 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34395 DEFAULT_STACK_PERMS defined in stackinfo.h.
34396 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34397 * sysdeps/ia64/stackinfo.h: Likewise.
34398 * sysdeps/s390/stackinfo.h: Likewise.
34399 * sysdeps/sh/stackinfo.h: Likewise.
34400 * sysdeps/sparc/stackinfo.h: Likewise.
34401 * sysdeps/x86_64/stackinfo.h: Likewise.
34402 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34403 PF_X for powerpc64. Retain PF_X for powerpc32.
34404
db753e2c
UD
344052010-12-19 Ulrich Drepper <drepper@gmail.com>
34406
14b697f7
UD
34407 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34408 accurately.
db753e2c
UD
34409 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34410 GETDENTS_64BIT_ALIGNED.
34411
28300719
UD
344122010-12-14 Ulrich Drepper <dreper@gmail.com>
34413
14b697f7 34414 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34415
4f197237
AS
344162010-12-10 Andreas Schwab <schwab@redhat.com>
34417
dbb0472f
AS
34418 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34419 _GNU_SOURCE.
34420
4f197237
AS
34421 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34422 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34423 Remove __restrict.
34424 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34425 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34426
fb88ac72
UD
344272010-12-09 Ulrich Drepper <drepper@gmail.com>
34428
34429 [BZ #11655]
34430 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34431 are initialized.
34432
42acbb92
JJ
344332010-12-09 Jakub Jelinek <jakub@redhat.com>
34434
34435 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34436
c038d98d
UD
344372010-12-03 Ulrich Drepper <drepper@gmail.com>
34438
34439 * po/it.po: Update from translation team.
34440
3a4a2499
L
344412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34442
34443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34444 unused codes.
34445
1e24cf6e
UD
344462010-11-30 Ulrich Drepper <drepper@gmail.com>
34447
34448 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34449
a7690819
AS
344502010-11-24 Andreas Schwab <schwab@redhat.com>
34451
34452 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34453 specially.
34454 (gaih_getanswer_slice): Likewise.
34455
3bf8d1b1
JJ
344562010-10-20 Jakub Jelinek <jakub@redhat.com>
34457
34458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34459
6db52fbb
PB
344602010-05-31 Petr Baudis <pasky@suse.cz>
34461
34462 [BZ #11149]
34463 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34464 silently even in the chroot mode.
34465
eaca7569
UD
344662010-11-22 Ulrich Drepper <drepper@gmail.com>
34467
34468 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34469 last patch a bit. Pretty printing
34470
3056dcdb
UD
344712010-05-31 Petr Baudis <pasky@suse.cz>
34472
34473 [BZ #10085]
34474 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34475 initialization of skip_initgroups_dyn.
34476
cf7c9078
UD
344772010-11-19 Ulrich Drepper <drepper@gmail.com>
34478
34479 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34480 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34481
a1fb5e3e
UD
344822010-11-16 Ulrich Drepper <drepper@gmail.com>
34483
34484 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34485
3540d66b
AS
344862010-11-11 Andreas Schwab <schwab@redhat.com>
34487
34488 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34489 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34490 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34491 ($(objpfx)tst-fnmatch-mem): New rule.
34492 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34493 * posix/tst-fnmatch.c (main): Call mtrace.
34494
13b69574
L
344952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34496
34497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34498 Support Intel processor model 6 and model 0x2c.
34499
da93d214
LM
345002010-11-10 Luis Machado <luisgpm@br.ibm.com>
34501
34502 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34503 signed comparison.
34504
8ca52c6e
L
345052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34506
34507 [BZ #12205]
34508 * string/test-strncasecmp.c (check_result): New function.
34509 (do_one_test): Use it.
34510 (check1): New function.
34511 (test_main): Use it.
34512 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34513 Support strcasecmp and strncasecmp.
34514
69da074d
UD
345152010-11-08 Ulrich Drepper <drepper@gmail.com>
34516
34517 [BZ #12194]
34518 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34520
ff02d528
L
345212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34522
34523 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34524 IFUNC support.
34525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34526 memset-x86-64.
34527 * sysdeps/x86_64/multiarch/bzero.S: New file.
34528 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34529 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34530 * sysdeps/x86_64/multiarch/memset.S: New file.
34531 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34533 Set bit_Prefer_SSE_for_memop for Intel processors.
34534 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34535 Define.
34536 (index_Prefer_SSE_for_memop): Define.
34537 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34538
344d0b54
LM
345392010-11-04 Luis Machado <luisgpm@br.ibm.com>
34540
34541 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34542 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34543
c0dde15b
UD
345442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34545
34546 [BZ #12191]
34547 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34548 (__x86_64_raw_data_cache_size_half): Likewise.
34549 (__x86_64_raw_shared_cache_size): Likewise.
34550 (__x86_64_raw_shared_cache_size_half): Likewise.
34551
34552 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34553 (__x86_64_raw_data_cache_size_half): Likewise.
34554 (__x86_64_raw_shared_cache_size): Likewise.
34555 (__x86_64_raw_shared_cache_size_half): Likewise.
34556 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34557 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34558 and __x86_64_raw_shared_cache_size_half. Round
34559 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34560 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34561 to multiple of 256 bytes.
34562
0e516e0e
MS
345632010-11-03 Ulrich Drepper <drepper@gmail.com>
34564
34565 [BZ #12167]
34566 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34567 of inacessible symlinks. Verify result of symlink before returning it.
34568 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34569 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34570
0e012e87
ER
345712010-10-28 Erich Ritz <erichritz@gmail.com>
34572
34573 * math/math.h (isinf): Fix typo in comment.
34574
de0ff7bc
UD
345752010-11-01 Ulrich Drepper <drepper@gmail.com>
34576
34577 * po/da.po: Update from translation team.
34578
fa41c84d
UD
345792010-10-26 Ulrich Drepper <drepper@gmail.com>
34580
34581 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34582 is added to the list.
34583
f0967738
AK
345842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34585 Ulrich Drepper <drepper@gmail.com>
34586
34587 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34588 the global list here. Move code to...
34589 (_dl_add_to_namespace_list): ...here. New function.
34590 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34591 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34592 * elf/dl-load.c (lose): Don't remove the element from the list.
34593 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34594 (_dl_map_object): Likewise.
34595
345962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34597
34598 [BZ #12159]
34599 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34600 into all bytes of SSE register.
34601 Patch by Richard Li <richardpku@gmail.com>.
34602
f0967738 346032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34604
34605 [BZ #12140]
34606 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34607 perturbing.
34608
d0b9e94f
MB
346092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34610
34611 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34612 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34613 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34614 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34616 submachine.
34617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34618
8e9f92e9
AS
346192010-10-22 Andreas Schwab <schwab@redhat.com>
34620
34621 * include/dlfcn.h (__RTLD_SECURE): Define.
34622 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34623 mode & __RTLD_SECURE instead.
34624 (open_path): Rename preloaded parameter to secure.
34625 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34626 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34627 * elf/dl-deps.c (openaux): Likewise.
34628 * elf/rtld.c (struct map_args): Remove is_preloaded.
34629 (map_doit): Don't use it.
34630 (dl_main): Likewise.
34631 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34632 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34633
bc96fbda
AS
346342010-09-09 Andreas Schwab <schwab@redhat.com>
34635
34636 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34637 (sysd-rules-targets): Remove duplicates.
34638 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34639 rtld-%.$o dependency.
34640
22cd1c9b
AS
346412010-10-18 Andreas Schwab <schwab@redhat.com>
34642
34643 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34644 _dl_map_object do it.
34645
18edac48
UD
346462010-10-19 Ulrich Drepper <drepper@gmail.com>
34647
34648 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34649 fast fma builtins, define the macros in the C99 standard.
34650 (FP_FAST_FMAF): Likewise.
34651 (FP_FAST_FMAL): Likewise.
34652 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34653
34654 * bits/mathdef.h: Update copyright year.
34655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34656
d2050124
MM
346572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34658
34659 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34660 builtins, define the macros in the C99 standard.
34661 (FP_FAST_FMAF): Likewise.
34662 (FP_FAST_FMAL): Likewise.
34663 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34664 multiply/add.
34665 (FP_FAST_FMAF): Likewise.
34666
475facd1
JJ
346672010-10-15 Jakub Jelinek <jakub@redhat.com>
34668
34669 [BZ #3268]
34670 * math/libm-test.inc (fma_test): Some new testcases.
34671 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34672 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34673 y and infinite z. Do multiplication by C already in long double.
34674 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34676 y and infinite z. Do bitwise or of inexact bit into u.d.
34677 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34678 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34679 * sysdeps/i386/fpu/s_fma.S: Removed.
34680 * sysdeps/i386/fpu/s_fmal.S: Removed.
34681
7c08a05c
JJ
346822010-10-16 Jakub Jelinek <jakub@redhat.com>
34683
34684 [BZ #3268]
34685 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34687 computation is not scheduled after fetestexcept. Fix value
34688 of minimum denormal long double.
34689
f3f7372d
JJ
346902010-10-14 Jakub Jelinek <jakub@redhat.com>
34691
34692 [BZ #3268]
34693 * math/libm-test.inc (fma_test): Add some more tests.
34694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34695 correctly.
34696
14d43591
AS
346972010-10-15 Andreas Schwab <schwab@redhat.com>
34698
34699 * scripts/data/localplt-s390-linux-gnu.data: New file.
34700 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34701
5e908464
JJ
347022010-10-13 Jakub Jelinek <jakub@redhat.com>
34703
34704 [BZ #3268]
34705 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34706 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34707 instead of dbl-64.
34708 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34709 inlines.
34710 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34712 if one of x and y is very large and the other is subnormal.
34713 * sysdeps/s390/fpu/s_fmaf.c: New file.
34714 * sysdeps/s390/fpu/s_fma.c: New file.
34715 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34716 * sysdeps/powerpc/fpu/s_fma.S: New file.
34717 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34718 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34719 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34720
347212010-10-12 Jakub Jelinek <jakub@redhat.com>
34722
34723 [BZ #3268]
34724 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34725 fma tests.
34726 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34727 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34728 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34729 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34730 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34731 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34732 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34733
b833d51f
UD
347342010-10-12 Ulrich Drepper <drepper@redhat.com>
34735
34736 [BZ #12078]
34737 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34738 * posix/bug-regex31.input: Add test case.
34739
1751705d
UD
347402010-10-11 Ulrich Drepper <drepper@gmail.com>
34741
e9b9cbf5
UD
34742 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34743 * posix/bug-regex31.input: New file.
34744
34745 [BZ #12078]
34746 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34747 (parse_sub_exp): Fix last change, use postorder.
34748
ef06edbe
UD
34749 * posix/bug-regex31.c: New file.
34750 * posix/Makefile: Add rules to build and run bug-regex31.
34751
a129c80d
UD
34752 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34753
34754 [BZ #12078]
34755 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34756
b76b818e
UD
34757 [BZ #12108]
34758 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34759 to have entries in sys_siglist.
34760
1751705d
UD
34761 [BZ #12093]
34762 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34763 be NULL.
34764
9ff8d36f
JJ
347652010-10-07 Jakub Jelinek <jakub@redhat.com>
34766
34767 [BZ #3268]
34768 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34769 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34770 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34771 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34772 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34773 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34774 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34775 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34776 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34777 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34778 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34779 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34780 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34781 * math/ftestexcept.c (fetestexcept): Likewise.
34782 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34783 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34784 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34785 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34786 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34787 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34788 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34789
af325969
UD
347902010-10-11 Ulrich Drepper <drepper@gmail.com>
34791
c579b202 34792 [BZ #12107]
af325969
UD
34793 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34794 newline.
34795
67a67b95
UD
347962010-10-06 Ulrich Drepper <drepper@gmail.com>
34797
34798 * string/bug-strstr1.c: New file.
34799 * string/Makefile: Add rules to build and run bug-strstr1.
34800
5fb308bc
EB
348012010-10-05 Eric Blake <eblake@redhat.com>
34802
34803 [BZ #12092]
34804 * string/str-two-way.h (two_way_long_needle): Always clear memory
34805 when skipping input due to the shift table.
34806
45db99c7
UD
348072010-10-03 Ulrich Drepper <drepper@gmail.com>
34808
3b111893
UD
34809 [BZ #12005]
34810 * malloc/mcheck.c: Handle large requests.
34811
45db99c7
UD
34812 [BZ #12077]
34813 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34814 for strncmp and strncasecmp.
34815 * string/stratcliff.c: Add tests for strcmp and strncmp.
34816 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34817
cf7a1eb8
NI
348182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34819
34820 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34821 __set_fpscr.
34822
6484ba5e
AJ
348232010-09-30 Andreas Jaeger <aj@suse.de>
34824
34825 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34826 (CGROUP_SUPER_MAGIC): Define.
34827 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34828 Handle btrfs and cgroup file systems.
34829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34830 Likewise.
34831
91c42559
LM
348322010-09-27 Luis Machado <luisgpm@br.ibm.com>
34833
34834 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34835 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34836
87a97932
AK
348372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34838
34839 [BZ #12067]
34840 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34841 trying to locate the ELF header.
34842
c21cc9bc
AS
348432010-09-27 Andreas Schwab <schwab@redhat.com>
34844
34845 [BZ #11611]
34846 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34847 Mask out sign-bit copies when constructing f_fsid.
34848
315970f6
PB
348492010-09-24 Petr Baudis <pasky@suse.cz>
34850
34851 * debug/stack_chk_fail_local.c: Add missing licence exception.
34852 * debug/warning-nop.c: Likewise.
34853
1ac7a2c7
JM
348542010-09-15 Joseph Myers <joseph@codesourcery.com>
34855
34856 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34857 implementing getdents64 using getdents syscall, set d_type if
34858 __ASSUME_GETDENTS32_D_TYPE.
34859
56801c50
AS
348602010-09-16 Andreas Schwab <schwab@redhat.com>
34861
34862 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34863 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34864
dda51327
UD
348652010-09-21 Ulrich Drepper <drepper@redhat.com>
34866
34867 [BZ #12037]
34868 * posix/unistd.h: Undo change of feature selection for ftruncate from
34869 2010-01-11.
34870
8ffcee4a
UD
348712010-09-20 Ulrich Drepper <drepper@redhat.com>
34872
a545ecd9 34873 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34874 detection.
34875
e24f0a8b
AS
348762010-09-20 Andreas Schwab <schwab@redhat.com>
34877
34878 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34879 fanotify_mark.
34880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34881
7291c56f
AS
348822010-09-14 Andreas Schwab <schwab@redhat.com>
34883
34884 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34885 variables after CHECK_SP call.
34886 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34887
bc5fb037
AS
348882010-09-13 Andreas Schwab <schwab@redhat.com>
34889 Ulrich Drepper <drepper@redhat.com>
34890
34891 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34892 re-relocationg ld.so.
34893 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34894 _dl_init_paths call.
34895 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34896 here anymore.
34897
e66e7419
UD
348982010-09-14 Ulrich Drepper <drepper@redhat.com>
34899
34900 * resolv/res_init.c (__res_vinit): Count the default server we added.
34901
c044aa75
CLT
349022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34903 Ulrich Drepper <drepper@redhat.com>
34904
34905 [BZ #11968]
34906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34907 (____longjmp_chk): Use %ebx for saving value across system call.
34908 Add unwind info.
34909
32cf4069
AS
349102010-09-06 Andreas Schwab <schwab@redhat.com>
34911
34912 * manual/Makefile: Don't mix pattern rules with normal rules.
34913
817328ee
AS
349142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34915
34916 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34917 operation.
34918 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34919 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34920 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34921 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34923 Likewise.
34924
29fddf61
UD
349252010-09-04 Ulrich Drepper <drepper@redhat.com>
34926
34927 [BZ #11979]
34928 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34929 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34930
0959ffc9
UD
349312010-09-02 Ulrich Drepper <drepper@redhat.com>
34932
34933 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34934 * sysdeps/x86_64/addmul_1.S: Likewise.
34935 * sysdeps/x86_64/lshift.S: Likewise.
34936 * sysdeps/x86_64/mul_1.S: Likewise.
34937 * sysdeps/x86_64/rshift.S: Likewise.
34938 * sysdeps/x86_64/sub_n.S: Likewise.
34939 * sysdeps/x86_64/submul_1.S: Likewise.
34940
ece29840
ST
349412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34942
0959ffc9
UD
34943 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34944 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34945 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34946 * bits/sched.h [__need_schedparam]
ece29840 34947 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34948 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34949 (__defined_schedparam): Define to 1.
ece29840
ST
34950 (__sched_param): New structure, identical to sched_param.
34951 (__need_schedparam): Undefine.
34952
e53a31fe
MF
349532010-08-31 Mike Frysinger <vapier@gentoo.org>
34954
fdc0c10d
MF
34955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34956 (epoll_create1): Declare.
34957
e53a31fe
MF
34958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34959
a726d796
AS
349602010-08-31 Andreas Schwab <schwab@redhat.com>
34961
34962 [BZ #7066]
34963 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34964 shifting retval into place.
34965
2f3e3dc7
UD
349662010-09-01 Ulrich Drepper <drepper@redhat.com>
34967
f2933da9
UD
34968 * nis/rpcsvc/nis.h: Update copyright notice.
34969 * nis/rpcsvc/nis.x: Likewise.
34970 * nis/rpcsvc/nis_callback.h: Likewise.
34971 * nis/rpcsvc/nis_callback.x: Likewise.
34972 * nis/rpcsvc/nis_object.x: Likewise.
34973 * nis/rpcsvc/nis_tags.h: Likewise.
34974 * nis/rpcsvc/yp.h: Likewise.
34975 * nis/rpcsvc/yp.x: Likewise.
34976 * nis/rpcsvc/ypupd.h: Likewise.
34977 * nis/yp_xdr.c: Likewise.
34978 * nis/ypupdate_xdr.c: Likewise.
34979
2f3e3dc7
UD
34980 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34981 mainly the body of pmap_getport. Add parameters to specify timeouts.
34982 (pmap_getport): Use __libc_rpc_getport.
34983 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34984 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34985 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34986
f3dcc2f9
AS
349872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34988
34989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34990 fanotify_mark.
34991
6d34eb5b
RM
349922010-08-27 Roland McGrath <roland@redhat.com>
34993
34994 * sysdeps/i386/i686/multiarch/Makefile
34995 (CFLAGS-varshift.c): New variable.
34996
9ea3de11
UD
349972010-08-27 Ulrich Drepper <drepper@redhat.com>
34998
c96d23fc
UD
34999 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35000 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35001
9ea3de11
UD
35002 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35003
35004 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35005
623aac7f
L
350062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35007
35008 * sysdeps/x86_64/strlen.S: Unroll the loop.
35009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35010 strlen-sse2 strlen-sse2-bsf.
35011 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35012 __strlen_no_bsf if bit_Slow_BSF is set.
35013 (__strlen_sse42): Removed.
35014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35015 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35016
8b2b7715
RM
350172010-08-25 Roland McGrath <roland@redhat.com>
35018
35019 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35020 * sysdeps/x86_64/multiarch/varshift.c: New file.
35021 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35022 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35023 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35024 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35025
e73015f2
L
350262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35027
35028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35029 strlen-sse2 strlen-sse2-bsf.
35030 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35031 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35032 (__strlen_sse2): Removed.
35033 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35034 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35036 bit_Slow_BSF for Atom.
35037 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35038 (index_Slow_BSF): Define.
35039 (HAS_SLOW_BSF): Define.
35040
df24a73e
UD
350412010-08-25 Ulrich Drepper <drepper@redhat.com>
35042
35043 [BZ #10851]
35044 * resolv/res_init.c (__res_vinit): When no server address at all
35045 is given default to loopback.
35046
f2ac4868
RM
350472010-08-24 Roland McGrath <roland@redhat.com>
35048
09055553
RM
35049 * configure.in: Remove config-name.h generation.
35050 * configure: Regenerated.
35051 * config-name.in: File removed.
35052 * scripts/config-uname.sh: New file.
35053 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35054 ($(objdir)config-name.h): New target.
35055
f2ac4868
RM
35056 * sunrpc/rpc_parse.h: Avoid nested comment.
35057
73f27d5e
RH
350582010-08-24 Richard Henderson <rth@redhat.com>
35059 Ulrich Drepper <drepper@redhat.com>
35060 H.J. Lu <hongjiu.lu@intel.com>
35061
35062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35064 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35065 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35066 _mm_alignr_epi8 with _mm_loadu_si128.
35067 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35068 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35069 (__m128i_shift_right): Removed.
35070 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35071 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35072 * sysdeps/x86_64/multiarch/varshift.h: New file.
35073 * sysdeps/x86_64/multiarch/varshift.S: New file.
35074
84b9230c
MF
350752010-08-21 Mike Frysinger <vapier@gentoo.org>
35076
35077 * configure.in: Move assembler checks to before sysdep dir checking.
35078
9bbd0ddc
PB
350792010-08-20 Petr Baudis <pasky@suse.cz>
35080
35081 * LICENSES: Sync the sunrpc license.
35082
9da4bb31
UD
350832010-08-19 Ulrich Drepper <drepper@redhat.com>
35084
a7ab6ec8
UD
35085 * sunrpc/auth_des.c: Update copyright notice once again.
35086 * sunrpc/auth_none.c: Likewise.
35087 * sunrpc/auth_unix.c: Likewise.
35088 * sunrpc/authdes_prot.c: Likewise.
35089 * sunrpc/authuxprot.c: Likewise.
35090 * sunrpc/bindrsvprt.c: Likewise.
35091 * sunrpc/clnt_gen.c: Likewise.
35092 * sunrpc/clnt_perr.c: Likewise.
35093 * sunrpc/clnt_raw.c: Likewise.
35094 * sunrpc/clnt_simp.c: Likewise.
35095 * sunrpc/clnt_tcp.c: Likewise.
35096 * sunrpc/clnt_udp.c: Likewise.
35097 * sunrpc/clnt_unix.c: Likewise.
35098 * sunrpc/des_crypt.c: Likewise.
35099 * sunrpc/des_soft.c: Likewise.
35100 * sunrpc/get_myaddr.c: Likewise.
35101 * sunrpc/getrpcport.c: Likewise.
35102 * sunrpc/key_call.c: Likewise.
35103 * sunrpc/key_prot.c: Likewise.
35104 * sunrpc/openchild.c: Likewise.
35105 * sunrpc/pm_getmaps.c: Likewise.
35106 * sunrpc/pm_getport.c: Likewise.
35107 * sunrpc/pmap_clnt.c: Likewise.
35108 * sunrpc/pmap_prot.c: Likewise.
35109 * sunrpc/pmap_prot2.c: Likewise.
35110 * sunrpc/pmap_rmt.c: Likewise.
35111 * sunrpc/rpc/auth.h: Likewise.
35112 * sunrpc/rpc/auth_unix.h: Likewise.
35113 * sunrpc/rpc/clnt.h: Likewise.
35114 * sunrpc/rpc/des_crypt.h: Likewise.
35115 * sunrpc/rpc/key_prot.h: Likewise.
35116 * sunrpc/rpc/netdb.h: Likewise.
35117 * sunrpc/rpc/pmap_clnt.h: Likewise.
35118 * sunrpc/rpc/pmap_prot.h: Likewise.
35119 * sunrpc/rpc/pmap_rmt.h: Likewise.
35120 * sunrpc/rpc/rpc.h: Likewise.
35121 * sunrpc/rpc/rpc_des.h: Likewise.
35122 * sunrpc/rpc/rpc_msg.h: Likewise.
35123 * sunrpc/rpc/svc.h: Likewise.
35124 * sunrpc/rpc/svc_auth.h: Likewise.
35125 * sunrpc/rpc/types.h: Likewise.
35126 * sunrpc/rpc/xdr.h: Likewise.
35127 * sunrpc/rpc_clntout.c: Likewise.
35128 * sunrpc/rpc_cmsg.c: Likewise.
35129 * sunrpc/rpc_common.c: Likewise.
35130 * sunrpc/rpc_cout.c: Likewise.
35131 * sunrpc/rpc_dtable.c: Likewise.
35132 * sunrpc/rpc_hout.c: Likewise.
35133 * sunrpc/rpc_main.c: Likewise.
35134 * sunrpc/rpc_parse.c: Likewise.
35135 * sunrpc/rpc_parse.h: Likewise.
35136 * sunrpc/rpc_prot.c: Likewise.
35137 * sunrpc/rpc_sample.c: Likewise.
35138 * sunrpc/rpc_scan.c: Likewise.
35139 * sunrpc/rpc_scan.h: Likewise.
35140 * sunrpc/rpc_svcout.c: Likewise.
35141 * sunrpc/rpc_tblout.c: Likewise.
35142 * sunrpc/rpc_util.c: Likewise.
35143 * sunrpc/rpc_util.h: Likewise.
35144 * sunrpc/rpcinfo.c: Likewise.
35145 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35146 * sunrpc/rpcsvc/key_prot.x: Likewise.
35147 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35148 * sunrpc/rpcsvc/mount.x: Likewise.
35149 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35150 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35151 * sunrpc/rpcsvc/rex.x: Likewise.
35152 * sunrpc/rpcsvc/rstat.x: Likewise.
35153 * sunrpc/rpcsvc/rusers.x: Likewise.
35154 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35155 * sunrpc/rpcsvc/spray.x: Likewise.
35156 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35157 * sunrpc/rtime.c: Likewise.
35158 * sunrpc/svc.c: Likewise.
35159 * sunrpc/svc_auth.c: Likewise.
35160 * sunrpc/svc_authux.c: Likewise.
35161 * sunrpc/svc_raw.c: Likewise.
35162 * sunrpc/svc_run.c: Likewise.
35163 * sunrpc/svc_simple.c: Likewise.
35164 * sunrpc/svc_tcp.c: Likewise.
35165 * sunrpc/svc_udp.c: Likewise.
35166 * sunrpc/svc_unix.c: Likewise.
35167 * sunrpc/svcauth_des.c: Likewise.
35168 * sunrpc/xcrypt.c: Likewise.
35169 * sunrpc/xdr.c: Likewise.
35170 * sunrpc/xdr_array.c: Likewise.
35171 * sunrpc/xdr_float.c: Likewise.
35172 * sunrpc/xdr_mem.c: Likewise.
35173 * sunrpc/xdr_rec.c: Likewise.
35174 * sunrpc/xdr_ref.c: Likewise.
35175 * sunrpc/xdr_sizeof.c: Likewise.
35176 * sunrpc/xdr_stdio.c: Likewise.
35177
9da4bb31
UD
35178 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35179 handling.
35180
bdaa77bc
AS
351812010-08-19 Andreas Schwab <schwab@redhat.com>
35182
35183 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35184
fe2f79db
LM
351852010-08-19 Luis Machado <luisgpm@br.ibm.com>
35186
35187 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35188 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35189 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35190 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35191 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35192 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35193 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35194 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35195 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35196 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35197 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35198 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35199 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35200 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35201
b9b42ee0
AB
352022010-07-26 Anton Blanchard <anton@samba.org>
35203
35204 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35205 * malloc/arena.c (heap_trim): Likewise.
35206
1c06ba31
UD
352072010-08-16 Ulrich Drepper <drepper@redhat.com>
35208
35209 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35210 here. Not...
35211 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35212 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35213
f8392f40
L
352142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35215
35216 * sysdeps/i386/elf/Makefile: New file.
35217
3162f12e
AS
352182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35219
35220 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35221 from fanotify_init.
35222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35223 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35224
28c90b2c
UD
352252010-08-15 Ulrich Drepper <drepper@redhat.com>
35226
35227 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35228 of strncasecmp_l.
1feccb6c 35229 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35230
ca6bb004
UD
352312010-08-14 Ulrich Drepper <drepper@redhat.com>
35232
e9f82e0d
UD
35233 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35234 strncase_l-nonascii.
35235 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35236 Add strncase_l-ssse3.
35237 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35238 * sysdeps/x86_64/strcmp.S: Likewise.
35239 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35240 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35241 * sysdeps/x86_64/strncase.S: New file.
35242 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35243 * sysdeps/x86_64/strncase_l.S: New file.
35244 * string/Makefile (strop-tests): Add strncasecmp.
35245 * string/test-strncasecmp.c: New file.
35246
35247 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35248 warning.
35249
ca6bb004
UD
35250 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35251 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35252
052fa7b3
AS
352532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35254
35255 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35256
962dba78
UD
352572010-08-12 Ulrich Drepper <drepper@redhat.com>
35258
35259 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35260 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35261 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35262
bebff237
AM
352632010-05-01 Alan Modra <amodra@gmail.com>
35264
35265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35266 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35267 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35268 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35269 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35270 tidying. Don't tail-call __sigjmp_save for static lib.
35271 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35272 save location.
35273 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35274 (CALL_MCOUNT): Add eh info, and nop after bl.
35275 (TAIL_CALL_SYSCALL_ERROR): New macro.
35276 (PSEUDO_RET): Use it.
35277 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35278 Correct save location of integer regs and cr.
35279 (_dl_profile_resolve): Correct cr save location. Delete nops
35280 after bl when SHARED. Reduce cfi size a little by better
35281 placement of cfi directives.
35282 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35283 make a stack frame. Instead use parm save area as a temp.
35284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35285 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35287 Don't make a stack frame for parent, use parm save area.
35288 Increase child stack frame to 112 bytes. Don't save unused reg,
35289 and adjust reg usage. Set up cfi on error recovery and
35290 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35292 (__makecontext): Add dummy nop after jump to exit.
35293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35294 Use correct parm save area and cr save, reduce stack frame.
35295 Correct cfi for possible PSEUDO_RET frame setup.
35296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35297 Branch to local label emitted by PSEUDO_RET rather than
35298 __syscall_error.
35299
02637374
AS
353002010-08-12 Andreas Schwab <schwab@redhat.com>
35301
35302 [BZ #11904]
35303 * locale/programs/locale.c (print_assignment): New function.
35304 (show_locale_vars): Use it.
35305
c3e2f19b
UD
353062010-08-11 Ulrich Drepper <drepper@redhat.com>
35307
3cdaa6ad
UD
35308 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35309 field.
35310 (struct statfs64): Likewise.
35311 (_STATFS_F_FLAGS): Define.
35312 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35313 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35314 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35315 (ST_VALID): Define locally.
35316 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35317 __statvfs_getflags, use the provided value.
35318 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35319 __ASSUME_STATFS_F_FLAGS.
35320
754f7da3
UD
35321 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35322
10b3bedc
UD
35323 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35324 Add sys/fanotify.h.
35325 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35326 fanotify_mask for GLIBC_2.13.
35327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35328 fanotify_init and fanotify_mark.
35329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35330 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35331
c08fb0d7
UD
35332 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35333 Add prlimit.
35334 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35335 prlimit64 for GLIBC_2.13.
35336 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35337 prlimit64.
35338 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35339 syscall.
35340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35341 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35342 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35343 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35345 add prlimit alias.
35346 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35347
15bac72b
UD
35348 [BZ #11903]
35349 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35350 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35351
c3e2f19b
UD
35352 * nss/Makefile: Add rules to build and run tst-nss-test1.
35353 * shlib-versions: Add entry for libnss_test1.
35354 * nss/nss_test1.c: New file.
35355 * nss/tst-nss-test1.c: New file.
35356
35357 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35358 (__nss_configure_lookup): Set appropriate entry in
35359 __nss_configure_lookup to true.
35360 * nss/nsswitch.h: Define enum with indeces of databases in
35361 databases and __nss_database_custom arrays. Declare
35362 __nss_database_custom.
35363 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35364 to avoid using nscd when custom rules are installed.
35365 * nss/getXXbyYY_r.c: Likewise.
35366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35367
35368 * nss/nss_files/files-parse.c: Whitespace fixes.
35369
f15ce4d8
UD
353702010-08-09 Ulrich Drepper <drepper@redhat.com>
35371
35372 [BZ #11883]
35373 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35374 * posix/fnmatch_loop.c: Likewise.
35375
d22e4cc9
AK
353762010-07-17 Andi Kleen <ak@linux.intel.com>
35377
35378 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35379 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35380 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35381 * Versions.def [GLIBC_2.13]: Add.
35382
805bc17d
UD
353832010-08-06 Ulrich Drepper <drepper@redhat.com>
35384
35385 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35386 Also fail if tpwd after pwuid call is NULL.
35387
5a42321d
ST
353882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35389
35390 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35391 when converting to ms.
35392
fd3ebeda
ST
353932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35394
35395 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35396 EOPNOTSUPP errors with ENOTTY.
35397 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35398 EOPNOTSUPP errors with ENOTTY.
35399
73507d3a
UD
354002010-07-31 Ulrich Drepper <drepper@redhat.com>
35401
35402 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35403 Add strcasecmp_l-ssse3.
35404 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35405 strcasecmp.
35406 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35407 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35408 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35409
fe36dd02
UD
354102010-07-30 Ulrich Drepper <drepper@redhat.com>
35411
66f6765a
UD
35412 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35413
42e08a54
UD
35414 * string/Makefile (strop-tests): Add strcasecmp.
35415 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35416 strcasecmp_l-nonascii.
35417 (gen-as-const-headers): Add locale-defines.sym.
35418 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35419 * sysdeps/x86_64/strcasecmp.S: New file.
35420 * sysdeps/x86_64/strcasecmp_l.S: New file.
35421 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35422 * sysdeps/x86_64/locale-defines.sym: New file.
35423 * string/test-strcasecmp.c: New file.
35424
fe36dd02
UD
35425 * string/test-strcasestr.c: Test both ends of the range of characters.
35426 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35427
48cbc0d6
RM
354282010-07-29 Roland McGrath <roland@redhat.com>
35429
76e6d6bc 35430 [BZ #11856]
48cbc0d6
RM
35431 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35432
880113d9
UD
354332010-07-27 Ulrich Drepper <drepper@redhat.com>
35434
35435 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35436 for ld.so.
35437
deb9cabb
AS
354382010-07-27 Andreas Schwab <schwab@redhat.com>
35439
35440 * manual/memory.texi (Malloc Tunable Parameters): Document
35441 M_PERTURB.
35442
1c7570ff
RM
354432010-07-26 Roland McGrath <roland@redhat.com>
35444
35445 [BZ #11840]
35446 * configure.in (-fgnu89-inline check): Set and substitute
35447 gnu89_inline, not libc_cv_gnu89_inline.
35448 * configure: Regenerated.
35449 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35450
24fb0f88
UD
354512010-07-26 Ulrich Drepper <drepper@redhat.com>
35452
35453 * string/test-strnlen.c: New file.
35454 * string/Makefile (strop-tests): Add strnlen.
35455 * string/tester.c (test_strnlen): Add a few more test cases.
35456 * string/tst-strlen.c: Better error reporting.
35457
35458 * sysdeps/x86_64/strnlen.S: New file.
35459
8e96b93a
UD
354602010-07-24 Ulrich Drepper <drepper@redhat.com>
35461
35462 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35463 lower-latency instructions.
35464
dbc676d4
UD
354652010-07-23 Ulrich Drepper <drepper@redhat.com>
35466
35467 * string/test-strcasestr.c: New file.
35468 * string/test-strstr.c: New file.
35469 * string/Makefile (strop-tests): Add strstr and strcasestr.
35470 * string/str-two-way.h: Don't undefine MAX.
35471 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35472
f6a31e0e
AS
354732010-07-21 Andreas Schwab <schwab@redhat.com>
35474
35475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35476 strcasestr-nonascii.
35477 (CFLAGS-strcasestr-nonascii.c): Define.
35478 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35480 Remove unused attribute.
35481
5dbc3b6c
RM
354822010-07-20 Roland McGrath <roland@redhat.com>
35483
35484 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35485 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35486 ld.so.cache was broken. With it, there is no way to disable dsocaps
35487 like LD_HWCAP_MASK can disable hwcaps.
35488
23d101d8
EPM
354892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35490
35491 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35492
cc9f2e47
UD
354932010-07-16 Ulrich Drepper <drepper@redhat.com>
35494
35495 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35496 call in strcasestr.
35497 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35498 __strcasestr_sse42_nonascii.
35499 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35500 strcasestr-nonascii.c.
35501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35502
77c1b069
LM
355032010-06-15 Luis Machado <luisgpm@br.ibm.com>
35504
35505 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35507 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35508 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35509
440566c3
UD
355102010-07-09 Ulrich Drepper <drepper@redhat.com>
35511
35512 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35513 fcntl.
35514
5be9d05d
AS
355152010-07-06 Andreas Schwab <schwab@redhat.com>
35516
c30b7ee2 35517 [BZ #11577]
5be9d05d
AS
35518 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35519 dl_signal_cerror.
35520
8a492a67
UD
355212010-07-06 Ulrich Drepper <drepper@redhat.com>
35522
35523 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35524 _PC_PIPE_BUF using F_GETPIPE_SZ.
35525
713df3d5
RM
355262010-07-05 Roland McGrath <roland@redhat.com>
35527
35528 * manual/arith.texi (Rounding Functions): Fix rint description
35529 implicit in round description.
35530
702e8f14
UD
355312010-07-02 Ulrich Drepper <drepper@redhat.com>
35532
35533 * elf/Makefile: Fix linking for a few tests to make recent linker
35534 happy.
35535
52ed8be9
AS
355362010-06-30 Andreas Schwab <schwab@redhat.com>
35537
35538 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35539 $(common-objpfx)libc_nonshared.a.
35540
f47c9a11
LM
355412010-06-21 Luis Machado <luisgpm@br.ibm.com>
35542
35543 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35544 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35545 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35546 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35547 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35548 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35549 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35550 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35565 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35566 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35567 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35568 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35569 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35570 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35571 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35572 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35573 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35574 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35575 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35576 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35591
6fb8cbcb
L
355922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35593
35594 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35595 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35596 * string/memmove.c (memmove): Renamed to ...
35597 (MEMMOVE): ...this. Default to memmove.
35598 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35599 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35600 (END_CHK): Define.
35601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35602 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35603 mempcpy-ssse3-back memmove-ssse3-back.
35604 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35605 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35606 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35607 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35608 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35609 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35610 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35611 * sysdeps/x86_64/multiarch/memmove.c: New file.
35612 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35613 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35614 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35615 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35616 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35617 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35618 Define.
35619 (index_Fast_Copy_Backward): Define.
35620 (HAS_ARCH_FEATURE): Define.
35621 (HAS_FAST_REP_STRING): Define.
35622 (HAS_FAST_COPY_BACKWARD): Define.
35623
4e733bac 356242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35625
35626 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35627 Restore proper fallback handling.
35628
63c4ed22
UD
356292010-06-19 Ulrich Drepper <drepper@redhat.com>
35630
ac2b484c
UD
35631 [BZ #11701]
35632 * posix/group_member.c (__group_member): Correct checking loop.
35633
63c4ed22
UD
35634 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35635 OOM in getpwuid_r correctly. Return error number when the caller
35636 should return, otherwise -1.
35637 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35638 call returning > 0 value.
35639 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35640
765ade4b
AS
356412010-06-07 Andreas Schwab <schwab@redhat.com>
35642
35643 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35644 libc_nonshared.a from targets in modules-names.
35645
80da2e09
KS
356462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35647
35648 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35649 requires it.
35650
158db122
LM
356512010-06-10 Luis Machado <luisgpm@br.ibm.com>
35652
35653 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35657
caa78cf8
AS
356582010-06-02 Andreas Schwab <schwab@redhat.com>
35659
35660 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35661
b2ef2c01
UD
356622010-06-14 Ulrich Drepper <drepper@redhat.com>
35663
35664 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35665 and F_GETPIPE_SZ.
35666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35670 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35672
fbd643b6
RM
356732010-06-14 Roland McGrath <roland@redhat.com>
35674
35675 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35676
f32f2869
JJ
356772010-06-07 Jakub Jelinek <jakub@redhat.com>
35678
35679 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35680 __REDIRECT followed by __THROW.
35681 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35682 * posix/getopt.h (getopt): Likewise.
35683
2a50c078
EPM
356842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35685
35686 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35687 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35688 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35689 in AT_FLAGS.
35690 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35691 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35692
eb5ad2eb
LM
356932010-05-28 Luis Machado <luisgpm@br.ibm.com>
35694
35695 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35696
3c88fe1e
L
356972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35698
35699 [BZ #11640]
35700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35701 Properly check family and model.
35702
d2f73151
TY
357032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35704
35705 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35706
ebd2e13d
LM
357072010-05-24 Luis Machado <luisgpm@br.ibm.com>
35708
35709 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35710
b32b8b45
UD
357112010-05-21 Ulrich Drepper <drepper@redhat.com>
35712
35713 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35714 symbol reference.
35715
9acbe24d
AS
357162010-05-19 Andreas Schwab <schwab@redhat.com>
35717
35718 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35719 symbol reference.
35720
f0ccf6ea
AS
357212010-05-21 Andreas Schwab <schwab@redhat.com>
35722
3d04ff3a
AS
35723 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35724 and internal_recvmmsg.
35725 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35726 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35727 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35728 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35729
f0ccf6ea
AS
35730 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35731 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35732 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35733
5b08ac57
AS
357342010-05-20 Andreas Schwab <schwab@redhat.com>
35735
35736 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35737
4828935d
LM
357382010-05-17 Luis Machado <luisgpm@br.ibm.com>
35739
35740 POWER7 optimizations.
35741 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35742 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35743
373d545e
UD
357442010-05-19 Ulrich Drepper <drepper@redhat.com>
35745
35746 * version.h: Update for 2.13 development version.
35747
21a2b1ae
AS
357482010-05-12 Andrew Stubbs <ams@codesourcery.com>
35749
35750 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35751 exceptions. Return 0.
35752
3f7dcb2b
RM
357532010-05-07 Roland McGrath <roland@redhat.com>
35754
35755 * elf/ldconfig.c (main): Add a const.
35756
5f24d53a 357572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35758
a160f8d8
UD
35759 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35760 (args_options): Add no-idn option.
35761 (ahosts_keys_int): Add idn_flags to ai_flags.
35762 (parse_option): Handle 'i' option to clear idn_flags.
35763
5f24d53a
UD
35764 * malloc/malloc.c (_int_free): Possible race in the most recently
35765 added check. Only act on the data if no current modification
35766 happened.
265bb1ce
UD
35767
35768See ChangeLog.17 for earlier changes.