]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC64: Add __private_ss field to TCB header
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b525166b
UW
12013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2
3 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4
7ec07d9a
AM
52013-12-04 Alan Modra <amodra@gmail.com>
6
7 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11
12 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18
5162e7dd
UW
192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20
21 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22 (__makecontext): Fix incorrect CFI when backtracing out of
23 context created via makecontext.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25 (__setcontext): Fix incorrect CFI during switch to new context.
26 (__novec_setcontext): Likewise.
27
19e3372b
OB
282013-12-04 Ondřej Bílka <neleai@seznam.cz>
29
30 [BZ #4772]
31 * time/strptime_l.c (__strptime_internal): Allow modifiers
32 in strptime.
33 * time/tst-strptime.c (day_tests): Add testcase.
34
35
ecaf142d
SP
362013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37
38 * scripts/bench.pl: Skip over blank lines.
39
fbf964ae
PE
402013-12-04 Paul Eggert <eggert@cs.ucla.edu>
41
42 [BZ #926]
43 * manual/time.texi (Calendar Time): Clarify what timezone functions
44 use.
45
fa60a674
AZ
462013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47
48 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49
d674f0ef
OB
502013-12-04 Ondřej Bílka <neleai@seznam.cz>
51
52 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53 implementation.
54 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56 * debug/memset_chk.c (__memset_chk): Likewise.
57 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58 * debug/strncpy_chk.c: Likewise.
59
17dea188
JM
602013-12-03 Joseph Myers <joseph@codesourcery.com>
61
749008ff
JM
62 [BZ #15268]
63 [BZ #15425]
64 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
65 (__ieee754_exp): For possibly underflowing results, check size of
66 result and force underflow exception if required.
67 * math/auto-libm-test-in: Add more tests of exp.
68 * math/auto-libm-test-out: Regenerated.
69 * sysdeps/i386/fpu/libm-test-ulps: Update.
70 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71
17dea188
JM
72 [BZ #16283]
73 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
74 * math/w_exp2f.c (__exp2f): Likewise.
75 * math/w_exp2l.c (__exp2l): Likewise.
76 * math/auto-libm-test-in: Do not allow missing errno on exp2
77 underflow.
78 * math/auto-libm-test-out: Regenerated.
79
b20de2c3
OB
802013-12-03 Ondřej Bílka <neleai@seznam.cz>
81
82 [BZ #16274]
83 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
84 handle filename validation.
85 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
86 (do_open): Delete.
87
d8e2dbe3
JM
882013-12-03 Joseph Myers <joseph@codesourcery.com>
89
34e16df5
JM
90 [BZ #6786]
91 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
92 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
93 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
94 <float.h>.
95 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
96 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
97 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
98 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
99 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
100 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
101 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
102 * math/auto-libm-test-in: Don't allow missing errno from erfc.
103 Add more erfc tests.
104 * math/auto-libm-test-out: Regenerated.
105 * sysdeps/i386/fpu/libm-test-ulps: Update.
106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
107
d8e2dbe3
JM
108 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
109 exp2, expm1, j0 and j1.
110 * math/auto-libm-test-out: Regenerated.
111 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
112 (erfc_test_data): Likewise.
113 (exp_test_data): Likewise.
114 (exp_tonearest_test_data): Likewise.
115 (exp_towardzero_test_data): Likewise.
116 (exp_downward_test_data): Likewise.
117 (exp_upward_test_data): Likewise.
118 (exp10_test_data): Likewise.
119 (exp2_test_data): Likewise.
120 (expm1_test_data): Likewise.
121 (j0_test_data): Likewise.
122 (j1_test_data): Likewise.
123 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
124 (input_flag_type): Add flag_xfail_rounding.
125 (input_flags): Add xfail-rounding.
126 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
127 (output_for_one_input_case): Handle flag_xfail_rounding.
128 * sysdeps/i386/fpu/libm-test-ulps: Update.
129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130
18d14251
AJ
1312013-12-03 Aurelien Jarno <aurelien@aurel32.net>
132
3d2e6075 133 [BZ #16289]
18d14251
AJ
134 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
135 division by 0.
136
520d437b
SP
1372013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
138
139 [BZ #16195]
140 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
141 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
142 (STAP_PROBE0): New macro.
143 (STAP_PROBE1): Likewise.
144 (STAP_PROBE2): Likewise.
145 (STAP_PROBE3): Likewise.
146 (STAP_PROBE4): Likewise.
147
416e0145
OB
1482013-12-02 Ondřej Bílka <neleai@seznam.cz>
149
150 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
151
9d17796a
SE
1522013-12-02 Steve Ellcey <sellcey@mips.com>
153
154 * benchtests/Makefile (bench): Add sqrt.
155 (LDLIBS-bench-sqrt): New.
156 * benchtests/sqrt-input: New.
157
f524d6a8
PS
1582013-12-02 Pavel Simerda <psimerda@redhat.com>
159
639a0ef8
PS
160 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
161 (GAIH_EAI): Likewise.
162 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
163 (gaih_inet): Likewise.
164 (getaddrinfo): Don't use GAIH_EAI.
165
f524d6a8
PS
166 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
167 (struct gaih): Remove definition.
168
df3aedaf
SP
1692013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
170
171 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
172 Use HERRNOP directly.
173
1ab19dec
AZ
1742013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
b42ad38d 176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 177
176b0c79
JM
1782013-11-30 Joseph Myers <joseph@codesourcery.com>
179
180 * math/gen-auto-libm-tests.c (test_functions): Add more
181 single-argument functions.
182 (special_fill_pi_2): New function.
183 (special_fill_minus_pi_2): Likewise.
184 (special_fill_pi_6): Likewise.
185 (special_fill_minus_pi_6): Likewise.
186 (special_fill_pi_3): Likewise.
187 (special_fill_2pi_3): Likewise.
188 (special_fill_e): Likewise.
189 (special_fill_1_e): Likewise.
190 (special_fill_e_minus_1): Likewise.
191 (special_real_inputs): Add more special inputs.
192 (output_for_one_input_case): Do not require ERANGE on underflow to
193 zero if round-to-nearest result does not underflow to zero, unless
194 exact results required.
195 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
196 atan, atanh, cbrt, cos and cosh.
197 * math/auto-libm-test-out: Regenerated.
198 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
199 (acos_tonearest_test_data): Likewise.
200 (acos_towardzero_test_data): Likewise.
201 (acos_downward_test_data): Likewise.
202 (acos_upward_test_data): Likewise.
203 (acosh_test_data): Likewise.
204 (asin_test_data): Likewise.
205 (asin_tonearest_test_data): Likewise.
206 (asin_towardzero_test_data): Likewise.
207 (asin_upward_test_data): Likewise.
208 (asinh_test_data): Likewise.
209 (atan_test_data): Likewise.
210 (atanh_test_data): Likewise.
211 (cbrt_test_data): Likewise.
212 (cos_test_data): Likewise.
213 (cos_tonearest_test_data): Likewise.
214 (cos_towardzero_test_data): Likewise.
215 (cos_downward_test_data): Likewise.
216 (cos_upward_test_data): Likewise.
217 (cosh_test_data): Likewise.
218 (cosh_tonearest_test_data): Likewise.
219 (cosh_towardzero_test_data): Likewise.
220 (cosh_downward_test_data): Likewise.
221 (cosh_upward_test_data): Likewise.
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
224
ffb536d0
JM
2252013-11-29 Joseph Myers <joseph@codesourcery.com>
226
2a77a467
JM
227 [BZ #6787]
228 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
229 * math/w_exp10f.c (__exp10f): Likewise.
230 * math/w_exp10l.c (__exp10l): Likewise.
231 * math/libm-test.inc (exp10_test_data): Add more tests and expect
232 errno settings in existing tests.
233
ea3bc4e8
JM
234 [BZ #14032]
235 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
236 precision control set to double precision.
237 * sysdeps/i386/fpu/w_sqrt.c: New file.
238 * math/auto-libm-test-in: Add more tests.
239 * math/auto-libm-test-out: Update.
240
0712c9d8
JM
241 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
242 (sqrt_test_tonearest): New function.
243 (sqrt_towardzero_test_data): New variable.
244 (sqrt_test_towardzero): New function.
245 (sqrt_downward_test_data): New variable.
246 (sqrt_test_downward): New function.
247 (sqrt_upward_test_data): New variable.
248 (sqrt_test_upward): New function.
249 (main): Call the new functions.
250
ffb536d0
JM
251 * math/gen-auto-libm-tests.c: New file.
252 * math/auto-libm-test-in: Likewise.
253 * math/auto-libm-test-out: New generated file.
254 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
255 variables.
256 (%beautify): Add generated representations of zero.
257 (top level): Set $auto_input and call parse_auto_input.
258 (beautify): Remove trailing "f" from hex float constants.
259 (parse_args): Handle XFAIL_TEST.
260 (convert_condition): New function.
261 (or_value): Likewise.
262 (or_cond_value): Likewise.
263 (generate_testfile): Handle AUTO_TESTS_* lines.
264 (parse_auto_input): New function.
265 * math/libm-test.inc (XFAIL_TEST): New macro.
266 (ERRNO_UNCHANGED): Update value.
267 (ERRNO_EDOM): Likewise.
268 (ERRNO_ERANGE): Likewise.
269 (IGNORE_RESULT): Likewise.
270 (TEST_COND_flt_32): New macro.
271 (TEST_COND_dbl_64): Likewise.
272 (TEST_COND_ldbl_96_intel): Likewise.
273 (TEST_COND_ldbl_96_m68k): Likewise.
274 (TEST_COND_ldbl_128): Likewise.
275 (TEST_COND_ldbl_128ibm): Likewise.
276 (TEST_COND_long32): Likewise.
277 (TEST_COND_long64): Likewise.
278 (TEST_COND_before_rounding): Likewise.
279 (TEST_COND_after_rounding): Likewise.
280 (enable_test): Handle XFAIL_TEST flag.
281 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
282 with finite results.
283 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
284 auto-libm-test-out.
285
acd98a8e
AK
2862013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
287 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
288
289 [BZ #16214]
290 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
291 __tls_get_addr_internal instead of __tls_get_offset in order to
292 avoid GOT pointer dependency. Make rtld export
293 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
294 __tls_get_addr since we are a __tls_get_offset platform.
295 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
296 GOT pointer being set up before.
297 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
298
3c1c46a6
JM
2992013-11-28 Joseph Myers <joseph@codesourcery.com>
300
7475aef5
JM
301 * manual/math.texi (Errors in Math Functions): Document accuracy
302 goals.
303
8bca7cd8
JM
304 [BZ #15004]
305 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
306 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
307 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
310 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
311 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
318 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
320 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
321
91a1f3fe
JM
322 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
323 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
324 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
325 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
326 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
327 Likewise.
328 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
329 Likewise.
330 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
331 Likewise.
332 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
333 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
334 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
335 atomic-feupdateenv and flt-rounds.
336 * sysdeps/powerpc/nofpu/Versions (libc): Add
337 __atomic_feholdexcept, __atomic_feclearexcept,
338 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
339 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
340 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
341 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
342 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
343 here.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
345 Update.
346
c5df7609
JM
347 * manual/arith.texi (FP Exceptions): Document that exceptions may
348 not be raised when matherr is used.
349 (Math Error Reporting): Document overflow in directed rounding
350 modes. Document that errno may not be set when finite values are
351 returned on overflow. Document intent to set errno on underflow
352 only for underflow to zero.
353
3c1c46a6
JM
354 [BZ #16271]
355 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
356 round-to-nearest then adjust result for other rounding modes.
357 * include/fenv.h (fegetround): Use libm_hidden_proto.
358 * math/fegetround.c (fegetround): Use libm_hidden_def.
359 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
360 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
361 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
362 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
363 Likewise.
364 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
365 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
366 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
367 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
368
5a4c6d53
SP
3692013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
370
371 [BZ #16077]
372 * nss/Versions (libnss_files): Add
373 _nss_files_gethostbyname3_r.
374 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
375 New function.
376 (HOST_DB_LOOKUP): Remove macro.
377 (_nss_files_gethostbyname_r): Implement function without the
378 HOST_DB_LOOKUP macro.
379 (_nss_files_gethostbyname2_r): Likewise.
380
897b98ba
OB
3812013-11-28 Ondřej Bílka <neleai@seznam.cz>
382
383 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
384
6f476861
UB
3852013-11-26 Uros Bizjak <ubizjak@gmail.com>
386
387 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
388 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
389 warning.
390
bd12ab55
AZ
3912013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
392
393 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
394 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
395 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
396 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
397 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
398 __fe_nomask_env_priv and attribute_hidden.
399 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
400 (libc_feupdateenv_test_ppc): Likewise.
401 (libc_feresetround_ppc): Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
403 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
404 compat_symbol macro.
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
406 (__fe_nomask_env): Likewise.
407 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
408
52bb6543
OB
4092013-11-26 Ondřej Bílka <neleai@seznam.cz>
410
411 * string/Makefile: Remove ifunc tests.
412 * string/test-string.h: Define TEST_IFUNC.
413 * string/test-bcopy-ifunc.c: Remove.
414 * string/test-bzero-ifunc.c: Likewise.
415 * string/test-memccpy-ifunc.c: Likewise.
416 * string/test-memchr-ifunc.c: Likewise.
417 * string/test-memcmp-ifunc.c: Likewise.
418 * string/test-memcpy-ifunc.c: Likewise.
419 * string/test-memmem-ifunc.c: Likewise.
420 * string/test-memmove-ifunc.c: Likewise.
421 * string/test-mempcpy-ifunc.c: Likewise.
422 * string/test-memrchr-ifunc.c: Likewise.
423 * string/test-memset-ifunc.c: Likewise.
424 * string/test-rawmemchr-ifunc.c: Likewise.
425 * string/test-stpcpy-ifunc.c: Likewise.
426 * string/test-stpncpy-ifunc.c: Likewise.
427 * string/test-strcasecmp-ifunc.c: Likewise.
428 * string/test-strcasestr-ifunc.c: Likewise.
429 * string/test-strcat-ifunc.c: Likewise.
430 * string/test-strchr-ifunc.c: Likewise.
431 * string/test-strchrnul-ifunc.c: Likewise.
432 * string/test-strcmp-ifunc.c: Likewise.
433 * string/test-strcpy-ifunc.c: Likewise.
434 * string/test-strcspn-ifunc.c: Likewise.
435 * string/test-strlen-ifunc.c: Likewise.
436 * string/test-strncasecmp-ifunc.c: Likewise.
437 * string/test-strncat-ifunc.c: Likewise.
438 * string/test-strncmp-ifunc.c: Likewise.
439 * string/test-strncpy-ifunc.c: Likewise.
440 * string/test-strnlen-ifunc.c: Likewise.
441 * string/test-strpbrk-ifunc.c: Likewise.
442 * string/test-strrchr-ifunc.c: Likewise.
443 * string/test-strspn-ifunc.c: Likewise.
444 * string/test-strstr-ifunc.c: Likewise.
445
ab260039 4462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
447
448 * benchtests/Makefile: Remove ifunc tests.
449 * benchtests/bench-string.h: Define TEST_IFUNC.
450 * benchtests/bench-bcopy-ifunc.c: Remove.
451 * benchtests/bench-bzero-ifunc.c: Likewise.
452 * benchtests/bench-memccpy-ifunc.c: Likewise.
453 * benchtests/bench-memchr-ifunc.c: Likewise.
454 * benchtests/bench-memcmp-ifunc.c: Likewise.
455 * benchtests/bench-memcpy-ifunc.c: Likewise.
456 * benchtests/bench-memmem-ifunc.c: Likewise.
457 * benchtests/bench-memmove-ifunc.c: Likewise.
458 * benchtests/bench-mempcpy-ifunc.c: Likewise.
459 * benchtests/bench-memrchr-ifunc.c: Likewise.
460 * benchtests/bench-memset-ifunc.c: Likewise.
461 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
462 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
463 * benchtests/bench-stpcpy-ifunc.c: Likewise.
464 * benchtests/bench-stpncpy-ifunc.c: Likewise.
465 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
466 * benchtests/bench-strcasestr-ifunc.c: Likewise.
467 * benchtests/bench-strcat-ifunc.c: Likewise.
468 * benchtests/bench-strchr-ifunc.c: Likewise.
469 * benchtests/bench-strchrnul-ifunc.c: Likewise.
470 * benchtests/bench-strcmp-ifunc.c: Likewise.
471 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
472 * benchtests/bench-strcpy-ifunc.c: Likewise.
473 * benchtests/bench-strcspn-ifunc.c: Likewise.
474 * benchtests/bench-strlen-ifunc.c: Likewise.
475 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
476 * benchtests/bench-strncat-ifunc.c: Likewise.
477 * benchtests/bench-strncmp-ifunc.c: Likewise.
478 * benchtests/bench-strncpy-ifunc.c: Likewise.
479 * benchtests/bench-strnlen-ifunc.c: Likewise.
480 * benchtests/bench-strpbrk-ifunc.c: Likewise.
481 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 482 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
483 * benchtests/bench-strspn-ifunc.c: Likewise.
484 * benchtests/bench-strstr-ifunc.c: Likewise.
485
4862013-11-26 Ondřej Bílka <neleai@seznam.cz>
487
ab260039
OB
488 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
489
d1d9eaf4 4902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 491
d1d9eaf4
OB
492 * resolv/netdb.h: Use __glibc_reserved instead __unused.
493 * rt/aio.h: Likewise.
494 * sysdeps/gnu/bits/utmp.h: Likewise.
495 * sysdeps/gnu/bits/utmpx.h: Likewise.
496 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
497 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
498 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
499 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
500 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
501 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
502 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
503 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
510 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
511 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
512 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
513 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
514 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
515 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
516 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
517 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
518 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
519 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
520 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
523 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
524 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
525 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
528 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
529 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
530 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
531 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
532 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
533 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
534 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
535 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
536 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
537 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
538
a7624ed9
CD
5392013-11-25 Carlos O'Donell <carlos@redhat.com>
540
541 [BZ #16245]
542 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
543 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
544
63cfe52b
JM
5452013-11-25 Joseph Myers <joseph@codesourcery.com>
546
547 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
548 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
549 Likewise.
550
41e8926a
AZ
5512013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
552
553 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
554 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
555 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
556 (__fesetround): Remove define.
557 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
558 rounding and exceptions handling.
559 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
560 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
561 (__fe_nomask_env): Likewise.
562 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
563 __fegetround instead of fegetround.
564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
566
6851bd4d
RM
5672013-11-21 Roland McGrath <roland@hack.frob.com>
568
070906ff
RM
569 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
570 it's there.
571
6851bd4d
RM
572 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
573
84ae135d
MI
5742013-11-21 Meador Inge <meadori@codesourcery.com>
575
576 [BZ #11157]
577 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
578 (encrypt_r): Likewise.
579 * malloc/obstack.h (obstack_free): Likewise.
580 * posix/unistd.h (encrypt): Likewise.
581
daf75146
GM
5822013-11-21 Guy Martin <gmsoft@tuxicoman.be>
583
584 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
585 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
586 DL_CALL_DT_FINI() that call the functions directly.
587 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
588 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
589 * elf/dl-fini.c: Likewise.
590
10ad46bc
OB
5912013-11-20 Ondřej Bílka <neleai@seznam.cz>
592
593 * malloc/hooks.c (memalign_check): Add alignment rounding.
594 * malloc/malloc.c (_mid_memalign): New function.
595 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
596 Implement by calling _mid_memalign.
597 * manual/probes.texi (Memory Allocation Probes): Remove
598 memory_valloc_retry and memory_pvalloc_retry.
599
f3fd2628
SP
6002013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
601
4712799f
SP
602 * locale/programs/locarchive.c (open_archive): Add const
603 qualifier to ARCHIVEFNAME and copy default fname to
604 DEFAULT_FNAME.
605
0417b20f
SP
606 [BZ #15601]
607 * libio/tst-widetext.input: Rename Oriya to Odia.
608 * locale/iso-639.def: Likewise.
609
f3fd2628
SP
610 * manual/probes.texi (Mathematical Function Probes): Add
611 documentation for sin, cos, asin and acos probes.
612 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
613 (__sin32): Add slowasin probe.
614 (__cos32): Add slowacos probe.
615 (__mpsin): Add slowsin probe.
616 (__mpcos): Add slowcos probe.
617
73c1ce4f
JM
6182013-11-19 Joseph Myers <joseph@codesourcery.com>
619
620 [BZ #15483]
621 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
622 thread-local __sim_exceptions_thread and global
623 __sim_exceptions_global.
624 (__sim_disabled_exceptions): Change to thread-local
625 __sim_disabled_exceptions_thread and global
626 __sim_disabled_exceptions_global.
627 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
628 and global __sim_round_mode_global.
629 (__simulate_exceptions): Use thread-local floating-point state and
630 set global state from it as needed.
631 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
632 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
633 __sim_round_mode_thread.
634 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
635 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
636 and global __sim_exceptions_global.
637 (__sim_disabled_exceptions): Change to thread-local
638 __sim_disabled_exceptions_thread and global
639 __sim_disabled_exceptions_global.
640 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
641 and global __sim_round_mode_global.
642 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
643 (SIM_SET_GLOBAL): Likewise.
644 * sysdeps/powerpc/soft-fp/sfp-machine.h
645 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
646 __sim_round_mode_thread.
647 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
648 __sim_disabled_exceptions_thread.
649 (__sim_exceptions): Change to __sim_exceptions_thread.
650 (__sim_disabled_exceptions): Change to
651 __sim_disabled_exceptions_thread.
652 (__sim_round_mode): Change to __sim_round_mode_thread.
653 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
654 thread-local floating-point state and set global state from it as
655 needed.
656 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
657 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
658 (__sim_disabled_exceptions): Remove extern declaration.
659 (feenableexcept): Use thread-local floating-point state and set
660 global state from it as needed.
661 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
662 extern declaration.
663 (__sim_disabled_exceptions): Likewise.
664 (__sim_round_mode): Likewise.
665 (__fegetenv): Use thread-local floating-point state.
666 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
667 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
668 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
669 floating-point state and set global state from it as needed.
670 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
671 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
672 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
673 Likewise.
674 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
675 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
676 Likewise.
677 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
678 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
679 Use __sim_round_mode_thread.
680 * math/test-fenv-tls.c: New file.
681 * math/Makefile (tests): Add test-fenv-tls.
682 ($(objpfx)test-fenv-tls): Depend on
683 $(common-objpfx)nptl/libpthread.so.
684
b5449b12
AS
6852013-11-19 Andreas Schwab <schwab@suse.de>
686
687 * locale/programs/locale.c (show_info): Decode wordarray elements.
688 * locale/categories.def (LC_MONETARY): Add element for
689 _NL_MONETARY_CRNCYSTR.
690 * locale/C-monetary.c (conversion_rate): New variable.
691 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
692 element.
693
e186536b
CM
6942013-11-18 Chris Metcalf <cmetcalf@tilera.com>
695
696 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
697 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
698
5c349950
PP
6992013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
700
701 * elf/Makefile (tst-auxv): New test.
702 * elf/tst-auxv.c: New
703 * elf/rtld.c (dl_main): Adjust AT_EXECFN
704
699df45b
JM
7052013-11-18 Joseph Myers <joseph@codesourcery.com>
706
707 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
708 (hidden_proto): Caller changed.
709 (hidden_tls_proto): New macro.
710 (libc_hidden_tls_proto): Likewise.
711 (rtld_hidden_tls_proto): Likewise.
712 (libm_hidden_tls_proto): Likewise.
713 (libresolv_hidden_tls_proto): Likewise.
714 (librt_hidden_tls_proto): Likewise.
715 (libdl_hidden_tls_proto): Likewise.
716 (libnss_files_hidden_tls_proto): Likewise.
717 (libnsl_hidden_tls_proto): Likewise.
718 (libnss_nisplus_hidden_tls_proto): Likewise.
719 (libutil_hidden_tls_proto): Likewise.
720
b7589107
OB
7212013-11-18 Ondřej Bílka <neleai@seznam.cz>
722
723 [BZ #10253]
724 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
725 (decompose_rpath): Defer expansion to fillin_rpath.
726 (_dl_init_paths): Pass linkmap to fillin_rpath.
727
250c23bd
RS
7282013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
729
730 * benchtests/Makefile: Add strsep.
731 * benchtests/bench-strsep.c: New file: strsep benchtest.
732 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
733
a7931fcf
AS
7342013-11-18 Andreas Schwab <schwab@suse.de>
735
736 * locale/programs/locale.c (show_info) [case byte]: Check for
737 '\377' instead of '\177'.
738 * locale/C-monetary.c (not_available): Always use "\377".
739 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
740 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
741 detect unavailable sign_posn locale elements.
742 * locale/localeconv.c (__localeconv): For grouping and
743 mon_grouping handle "\177" and "\377" like no grouping.
744 (INT_ELEM): New macro. Use it to set all numeric members.
745 * locale/programs/ld-monetary.c (monetary_read)
746 <tok_mon_grouping>: Normalize single -1 to the empty string.
747 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
748 Likewise.
749
728dab0e
OB
7502013-11-07 Ondřej Bílka <neleai@seznam.cz>
751
752 [BZ #16055]
753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
754 when we match (nil).
755 * stdio-common/tst-sscanf.c (struct test): Add testcase.
756
66294491
JM
7572013-11-16 Joseph Myers <joseph@codesourcery.com>
758
ce665817
JM
759 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
760 (NO_TEST_INLINE): Update value.
761 (ERRNO_UNCHANGED): Likewise.
762 (ERRNO_EDOM): Likewise.
763 (ERRNO_ERANGE): Likewise.
764 (IGNORE_RESULT): Likewise.
765 (check_float_internal): Check signs of NaN results if
766 TEST_NAN_SIGN used.
767 (check_complex): Pass TEST_NAN_SIGN flag through to second
768 check_float_internal call.
769 (copysign_test_data): Add tests with quiet NaNs as second
770 argument. Use TEST_NAN_SIGN.
771 (fabs_test_data): Add test of negative quiet NaN argument. Use
772 TEST_NAN_SIGN.
773 (signbit_test_data): Add tests of quiet NaN argument.
774 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
775
ee1466a9
JM
776 * math/gen-libm-test.pl (show_exceptions): Take extra argument
777 $ignore_result.
778 (parse_args): Handle function results specified as IGNORE.
779 * math/libm-test.inc (IGNORE_RESULT): New macro.
780 (check_float_internal): Do not check numerical result if flag
781 IGNORE_RESULT set.
782 (check_complex): Pass through IGNORE_RESULT to second
783 check_float_internal call.
784 (check_int): Do not check numerical result if flag IGNORE_RESULT
785 set.
786 (check_long): Likewise.
787 (check_bool): Likewise.
788 (check_longlong): Likewise.
789 (lrint_test_data): Add tests of infinite and NaN arguments.
790 (lrint_tonearest_test_data): Likewise.
791 (lrint_towardzero_test_data): Likewise.
792 (lrint_downward_test_data): Likewise.
793 (lrint_upward_test_data): Likewise.
794 (llrint_test_data): Likewise.
795 (llrint_tonearest_test_data): Likewise.
796 (llrint_towardzero_test_data): Likewise.
797 (llrint_downward_test_data): Likewise.
798 (llrint_upward_test_data): Likewise.
799 (lround_test_data): Likewise.
800 (llround_test_data): Likewise.
801
14407b7e
JM
802 * math/libm-test.inc (NO_TEST_INLINE): New macro.
803 (ERRNO_UNCHANGED): Update value.
804 (ERRNO_EDOM): Likewise.
805 (ERRNO_ERANGE): Likewise.
806 (NO_TEST_INLINE_FLOAT): New macro.
807 (NO_TEST_INLINE_DOUBLE): Likewise.
808 (enable_test): New function.
809 (RUN_TEST_f_f): Check enable_test before running test.
810 (RUN_TEST_2_f): Likewise.
811 (RUN_TEST_fff_f): Likewise.
812 (RUN_TEST_c_f): Likewise.
813 (RUN_TEST_f_f1): Likewise.
814 (RUN_TEST_fF_f1): Likewise.
815 (RUN_TEST_fI_f1): Likewise.
816 (RUN_TEST_ffI_f1): Likewise.
817 (RUN_TEST_c_c): Likewise.
818 (RUN_TEST_cc_c): Likewise.
819 (RUN_TEST_f_i): Likewise.
820 (RUN_TEST_f_i_tg): Likewise.
821 (RUN_TEST_ff_i_tg): Likewise.
822 (RUN_TEST_f_b): Likewise.
823 (RUN_TEST_f_b_tg): Likewise.
824 (RUN_TEST_f_l): Likewise.
825 (RUN_TEST_f_L): Likewise.
826 (RUN_TEST_fFF_11): Likewise.
827 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
828 conditionals.
829 (cosh_test_data): Likewise.
830 (exp_test_data): Likewise.
831 (expm1_test_data): Likewise.
832 (hypot_test_data): Likewise.
833 (pow_test_data): Likewise.
834 (sinh_test_data): Likewise.
835 (tanh_test_data): Likewise.
836 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
837 flags argument.
838
ca07f197
JM
839 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
840 tests with quiet NaN input and output.
841 (acosh_test_data): Likewise.
842 (asin_test_data): Likewise.
843 (asinh_test_data): Likewise.
844 (atan_test_data): Likewise.
845 (atanh_test_data): Likewise.
846 (atan2_test_data): Likewise.
847 (cbrt_test_data): Likewise.
848 (cos_test_data): Likewise.
849 (cosh_test_data): Likewise.
850 (erf_test_data): Likewise.
851 (erfc_test_data): Likewise.
852 (exp_test_data): Likewise.
853 (exp10_test_data): Likewise.
854 (exp2_test_data): Likewise.
855 (expm1_test_data): Likewise.
856 (hypot_test_data): Likewise.
857 (j0_test_data): Likewise.
858 (j1_test_data): Likewise.
859 (jn_test_data): Likewise.
860 (lgamma_test_data): Likewise.
861 (log_test_data): Likewise.
862 (log10_test_data): Likewise.
863 (log1p_test_data): Likewise.
864 (log2_test_data): Likewise.
865 (pow_test_data): Likewise.
866 (scalb_test_data): Likewise.
867 (sin_test_data): Likewise.
868 (sincos_test_data): Likewise.
869 (sinh_test_data): Likewise.
870 (tan_test_data): Likewise.
871 (tanh_test_data): Likewise.
872 (tgamma_test_data): Likewise.
873 (y0_test_data): Likewise.
874 (y1_test_data): Likewise.
875 (yn_test_data): Likewise.
876
66294491
JM
877 [BZ #16167]
878 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
879 argument being NaN and avoid computations with second argument in
880 that case.
881 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
882 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
883 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
884
1820b143
CL
8852013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
886
887 * locale/iso-639.def: Add Chitwani Tharu (the).
888
714bd261
AS
8892013-11-14 Andreas Schwab <schwab@suse.de>
890
891 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
892 word instead of empty string.
893
7ab44563
AZ
8942013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
895
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
897 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
899 (__fe_nomask_env): Likewise.
900
e8470ea2
SE
9012013-11-13 Steve Ellcey <sellcey@mips.com>
902
903 * benchtests/bench-timing.h: Include time.h.
904
17c1d9f0
L
9052013-11-13 H.J. Lu <hongjiu.lu@intel.com>
906
907 [BZ #15997]
908 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
909 to 3.4.0 for x32.
910 * sysdeps/unix/sysv/linux/configure: Regenerated.
911
9310c284
JM
9122013-11-13 Joseph Myers <joseph@codesourcery.com>
913
914 [BZ #16151]
915 * stdlib/strtod_l.c (round_and_return): Do not consider
916 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
917 exponent one less than half the least subnormal exponent.
918 * stdlib/test-strtod-round-data: Add more tests.
919 * stdlib/tst-strtod-round.c (tests): Regenerated.
920
7a2ad8cf
AZ
9212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
923 [BZ #14143]
924 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
925 (__fe_mask_env): Likewise.
926 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
927 libm_hidden_proto and add function prototype.
928 (__fe_mask_env): Add function prototype.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
930 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
932 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
934 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
935
50727aa7
MS
9362013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
937
b2f386c1 938 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
939 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
940
a615be46
MS
9412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
942
943 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
944 of htab_find_slot().
945
7ddace62
DM
9462013-11-11 David S. Miller <davem@davemloft.net>
947
948 [BZ #16150]
949 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
950 symbol in the non-vis3 case in static builds.
951 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
952 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
953 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
954 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
955
9182aa67
JK
9562013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 [BZ #387]
959 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
960 it is empty.
961
450a2e2d
AZ
9622013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963
b2f386c1
SP
964 * benchtests/Makefile: Add bench-strtod.
965 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 966
8ec3f656
AS
9672013-11-11 Andreas Schwab <schwab@suse.de>
968
969 [BZ #16153]
970 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
971 terminating NUL in key length.
972
76a9b998
AZ
9732013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974
975 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
976 Add artificial ODP entry for vDSO symbol for PPC64.
977 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
978 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
979
e4368156
OB
9802013-11-07 Ondřej Bílka <neleai@seznam.cz>
981
982 [BZ #15374]
983 * nss/getent.c (services_keys): Recognize services starting with digit.
984
8d6bb57c
DM
9852013-11-06 David S. Miller <davem@davemloft.net>
986
987 [BZ #15985]
988 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
989 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
990
e256c421
WN
9912013-11-06 Will Newton <will.newton@linaro.org>
992
993 * manual/memory.texi (Malloc Examples): Remove register
994 keyword from examples.
995
f6e12daa 9962013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 997
f6e12daa 998 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 999
9d880655
AS
10002013-11-04 Joseph Myers <joseph@codesourcery.com>
1001
1002 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1003 depending on [__GCC_IEC_559 > 0].
1004 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1005 depending on [__GCC_IEC_559_COMPLEX > 0].
1006
ae129d3c
CL
10072013-11-03 Chris Leonard <cjl@sugarlabs.org>
1008
1009 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1010 to iso-639.def.
1011
4a15c2a4 10122013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1013
1014 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1015
8b35e35d
OB
10162013-11-01 Ondřej Bílka <neleai@seznam.cz>
1017
1018 [BZ #16112]
1019 * malloc/malloc (malloc_info): Do not handle first bin as
1020 special case.
1021
1d70fd6c
CL
10222013-11-01 Chris Leonard <cjl@sugarlabs.org>
1023
1024 * locale/iso-639.def: Add Central Nahuatl (nhn).
1025
8c5c2600
BH
10262013-11-01 Bruno Haible <bruno@clisp.org>
1027
1028 [BZ #7003]
1029 * manual/math.texi (BSD Random): Specify range upper bound as
1030 in POSIX.
1031
da5579c2
CL
10322013-10-31 Chris Leonard <cjl@sugarlabs.org>
1033
1034 * locale/iso-639.def: Add Meadow Mari (mhr).
1035
5d30d853
OB
10362013-10-31 Ondřej Bílka <neleai@seznam.cz>
1037
1038 [BZ #14752], [BZ #15763]
1039 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1040 Validate name.
1041 * rt/tst_shm.c: Add test for escaping directory.
1042
a4966c61
AS
10432013-10-31 Andreas Schwab <schwab@suse.de>
1044
8a43e768 1045 [BZ #15917]
a4966c61
AS
1046 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1047 followed by 'x' as part of digit sequence.
1048 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1049
28d708c4
MAP
10502013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1051
1052 [BZ #16037]
1053 * configure.ac: allow GNU Make 4.0 and greater.
1054 * configure: Regenerated.
1055
a56ee40b
WN
10562013-10-30 Will Newton <will.newton@linaro.org>
1057
1058 [BZ #16038]
1059 * malloc/hooks.c (memalign_check): Limit alignment to the
1060 maximum representable power of two.
1061 * malloc/malloc.c (__libc_memalign): Likewise.
1062 * malloc/tst-memalign.c (do_test): Add test for very
1063 large alignment values.
1064 * malloc/tst-posix_memalign.c (do_test): Likewise.
1065
c6e4925d
OB
10662013-10-30 Ondřej Bílka <neleai@seznam.cz>
1067
1068 [BZ #11087]
1069 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1070 (munmap_chunk): Likewise.
1071 (mremap_chunk): Likewise.
1072
10732013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1074
8a43e768 1075 [BZ #15799]
bbea82f7
OB
1076 * stdlib/div.c (div): Remove obsolete code.
1077 * stdlib/ldiv.c (ldiv): Likewise.
1078 * stdlib/lldiv.c (lldiv): Likewise.
1079
977f4b31
SP
10802013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1081
1082 [BZ #16071]
1083 * nss/nss_files/files-XXX.c (get_contents_ret): New
1084 enumerator.
1085 (get_contents): New function.
1086 (internal_getent): Use it. Expand size of LINEBUFLEN.
1087
cb8a6dbd
MF
10882013-10-30 Mike Frysinger <vapier@gentoo.org>
1089
1090 * configure.in: Moved to ...
1091 * configure.ac: ... here. Change reference to configure.in
1092 to configure.ac.
1093 * sysdeps/arm/preconfigure.ac: ... here.
1094 configure.in to configure.ac.
1095 * sysdeps/gnu/configure.in: Moved to ...
1096 * sysdeps/gnu/configure.ac: ... here.
1097 * sysdeps/i386/configure.in: Moved to ...
1098 * sysdeps/i386/configure.ac: ... here.
1099 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1100 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1101 * sysdeps/mach/configure.in: Moved to ...
1102 * sysdeps/mach/configure.ac: ... here.
1103 * sysdeps/mach/hurd/configure.in: Moved to ...
1104 * sysdeps/mach/hurd/configure.ac: ... here.
1105 * sysdeps/powerpc/configure.in: Moved to ...
1106 * sysdeps/powerpc/configure.ac: ... here.
1107 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1108 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1109 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1110 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1111 * sysdeps/s390/s390-32/configure.in: Moved to ...
1112 * sysdeps/s390/s390-32/configure.ac: ... here.
1113 * sysdeps/s390/s390-64/configure.in: Moved to ...
1114 * sysdeps/s390/s390-64/configure.ac: ... here.
1115 * sysdeps/sh/configure.in: Moved to ...
1116 * sysdeps/sh/configure.ac: ... here.
1117 * sysdeps/sparc/configure.in: Moved to ...
1118 * sysdeps/sparc/configure.ac: ... here.
1119 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1120 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1121 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1122 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1123 * sysdeps/x86_64/configure.in: Moved to ...
1124 * sysdeps/x86_64/configure.ac: ... here.
1125 * sysdeps/x86_64/preconfigure.in: Moved to ...
1126 * sysdeps/x86_64/preconfigure.ac: ... here.
1127 * aclocal.m4: Change reference to configure.in to configure.ac.
1128 * config.h.in: Likewise.
1129 * manual/install.texi: Likewise.
1130 * manual/maint.texi: Likewise.
1131 * Makefile: Likewise.
1132 * malloc/Makefile: Likewise.
1133 * nscd/Makefile: Likewise.
1134 * Makeconfig: Change reference to configure.in and
1135 preconfigure.in to configure.ac and preconfigure.ac
1136 respectively.
1137 * INSTALL: Regenerated.
1138 * configure: Likewise.
1139 * sysdeps/gnu/configure: Likewise.
1140 * sysdeps/i386/configure: Likewise.
1141 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1142 * sysdeps/mach/configure: Likewise.
1143 * sysdeps/mach/hurd/configure: Likewise.
1144 * sysdeps/powerpc/configure: Likewise.
1145 * sysdeps/powerpc/powerpc32/configure: Likewise.
1146 * sysdeps/powerpc/powerpc64/configure: Likewise.
1147 * sysdeps/s390/s390-32/configure: Likewise.
1148 * sysdeps/s390/s390-64/configure: Likewise.
1149 * sysdeps/sh/configure: Likewise.
1150 * sysdeps/sparc/configure: Likewise.
1151 * sysdeps/unix/sysv/linux/configure: Likewise.
1152 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1153 * sysdeps/x86_64/configure: Likewise.
1154 * sysdeps/x86_64/preconfigure: Likewise.
1155
36a4953a
AS
11562013-10-29 Andreas Schwab <schwab@suse.de>
1157
1158 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1159
c79a1204
SP
11602013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
dfa1b402
SP
1162 * benchtests/pow-inputs: Add new inputs.
1163
54f73d9c
SP
1164 * benchtests/exp-inputs: Add new inputs.
1165
c79a1204
SP
1166 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1167 conditional check for return value.
1168 (__cos32): Likewise.
1169
67beb545 11702013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1171
1172 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1173 to provide a boost for large inputs with word alignment.
1174 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1175 implementation based on optimized PPC64 strcpy.
1176 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1177 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1178 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1179 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1180
151659f6
OB
11812013-10-25 Ondřej Bílka <neleai@seznam.cz>
1182
482a077e 1183 [BZ #2801]
151659f6
OB
1184 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1185
10b0f26b
OB
11862013-10-25 Ondřej Bílka <neleai@seznam.cz>
1187
1188 [BZ #14876]
1189 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1190 * time/tst-strptime.c (day_tests): Add testcase.
1191
ca42d35e
OB
11922013-10-25 Ondřej Bílka <neleai@seznam.cz>
1193
482a077e 1194 [BZ #14029]
ca42d35e
OB
1195 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1196
52e6d801
FB
11972013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1198
1199 [BZ #16074]
1200 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1201 MAP_FAILED on error.
1202
7cbcdb36
SP
12032013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 [BZ #16072]
1206 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1207 heap for large requests.
1208
894f3f10
AM
12092013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1210
1211 [BZ #9954]
1212 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1213 result if the result has no associated interface.
1214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1215 interface for all 127.X.Y.Z addresses.
1216
b85545a6
CL
12172013-10-24 Chris Leonard <cjl@sugarlabs.org>
1218
1219 * locale/iso-639.def: Add Ligurian (lij)
1220
d1f23d46
OB
12212013-10-21 Ondřej Bílka <neleai@seznam.cz>
1222
1223 [BZ #15825]
1224 * sunrpc/rpc_main.c: Document rpcgen -5.
1225
4db5b08f
MS
12262013-10-19 Michael Stahl <mstahl@redhat.com>
1227
1228 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1229
a471e96a
OB
12302013-10-19 Ondřej Bílka <neleai@seznam.cz>
1231
d1f23d46 1232 [BZ #10278]
a471e96a
OB
1233 * posix/glob.c: Match only directories when trailing slash is present.
1234 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1235 (main): Add testcase.
1236
45c30c61
OB
12372013-10-19 Ondřej Bílka <neleai@seznam.cz>
1238
1239 [BZ #15670]
1240 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1241
484c12fb
CD
12422013-10-18 Carlos O'Donell <carlos@redhat.com>
1243
3d7dc513
CD
1244 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1245 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1246 AUTH_DES and cindex for FIPS 140-2.
1247 (DES Encryption): Add cindex FIPS 46-3.
1248
484c12fb
CD
1249 * locale/locarchive.h (struct locarhandle): Add fname.
1250 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1251 if an optional argument was specified to --list-archive,
1252 otherwise NULL.
1253 * locale/programs/locarchive.c (show_archive_content): Take new
1254 argument fname and pass it via ah.fname to open_archive.
1255 * locale/programs/localedef.h: Update decl.
1256 (open_archive): If AH->fname is non-null, open that file
1257 rather than the default file name, and don't ignore ENOENT.
1258 (create_archive): Set AH.fname to NULL.
1259 (delete_locales_from_archive): Likewise.
1260 (add_locales_to_archive): Likewise.
1261 * locale/programs/locfile.c (write_all_categories): Likewise.
1262
3c8325fb
JM
12632013-10-18 Joseph Myers <joseph@codesourcery.com>
1264 Aldy Hernandez <aldyh@redhat.com>
1265
1266 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1267 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1268 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1269 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1270 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1271 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1272 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1273 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1274 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1275 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1276 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1277 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1278 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1279 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1280 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1281 Likewise.
1282 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1283 Likewise.
1284 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1285 Likewise.
1286 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1287 Likewise.
1288 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1289 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1290 Likewise.
1291 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1292 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1293 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1294 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1295 Likewise.
1296 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1298 * sysdeps/powerpc/preconfigure: Likewise.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1300 Likewise.
1301 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1302 Replace contents of file by #include of <fenv_libc.h>.
1303 * sysdeps/powerpc/soft-fp/sfp-machine.h
1304 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1305 and <sys/prctl.h>.
1306 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1307 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1308 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1309 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1310 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1319 Allow copysignl PLT reference to be missing.
1320
5abe0682
RS
13212013-10-18 Richard Sandiford <richard@codesourcery.com>
1322 Joseph Myers <joseph@codesourcery.com
1323
1324 [BZ #15948]
1325 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1326 single character.
1327 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1328
c7738d08
SP
13292013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
1331 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1332 * elf/tst-tls1.c: Likewise.
1333 * elf/tst-tls10.h: Likewise.
1334 * elf/tst-tls14.c: Likewise.
1335 * elf/tst-tls2.c: Likewise.
1336 * elf/tst-tls3.c: Likewise.
1337 * elf/tst-tls4.c: Likewise.
1338 * elf/tst-tls5.c: Likewise.
1339 * elf/tst-tls6.c: Likewise.
1340 * elf/tst-tls7.c: Likewise.
1341 * elf/tst-tls8.c: Likewise.
1342 * elf/tst-tls9.c: Likewise.
1343 * elf/tst-tlsmod1.c: Likewise.
1344 * elf/tst-tlsmod13.c: Likewise.
1345 * elf/tst-tlsmod13a.c: Likewise.
1346 * elf/tst-tlsmod14a.c: Likewise.
1347 * elf/tst-tlsmod16a.c: Likewise.
1348 * elf/tst-tlsmod16b.c: Likewise.
1349 * elf/tst-tlsmod2.c: Likewise.
1350 * elf/tst-tlsmod3.c: Likewise.
1351 * elf/tst-tlsmod4.c: Likewise.
1352 * elf/tst-tlsmod5.c: Likewise.
1353 * elf/tst-tlsmod6.c: Likewise.
1354
0bfcf2c7
OB
13552013-10-18 Ondřej Bílka <neleai@seznam.cz>
1356
1357 [BZ #12486]
1358 * malloc/malloc.c: remove checks for statistics.
1359
264aad1e
OB
13602013-10-17 Ondřej Bílka <neleai@seznam.cz>
1361
1362 [BZ #15277]
1363 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1364 * inet/tst-network.c: Add testcase.
1365
b957ced8
AS
13662013-10-17 Andreas Schwab <schwab@suse.de>
1367
1368 [BZ #15218]
1369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1370 to determine canonical name.
1371
c5d5d574
OB
13722013-10-17 Ondřej Bílka <neleai@seznam.cz>
1373
1374 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1375 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1397 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1398 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1399 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1401 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1402 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1403 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1404 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1406 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1407 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1408 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1409 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1411 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1412 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1414 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1415 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1416 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1417 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1418 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1432
e5c2c2d0
JM
14332013-10-17 Joseph Myers <joseph@codesourcery.com>
1434
1435 [BZ #16041]
1436 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1437 make result into a quiet NaN.
1438
51ca9e29
JM
14392013-10-16 Joseph Myers <joseph@codesourcery.com>
1440
1441 * soft-fp/adddf3.c: Fix horizontal whitespace.
1442 * soft-fp/addsf3.c: Likewise.
1443 * soft-fp/addtf3.c: Likewise.
1444 * soft-fp/divdf3.c: Likewise.
1445 * soft-fp/divsf3.c: Likewise.
1446 * soft-fp/divtf3.c: Likewise.
1447 * soft-fp/double.h: Likewise.
1448 * soft-fp/eqdf2.c: Likewise.
1449 * soft-fp/eqsf2.c: Likewise.
1450 * soft-fp/eqtf2.c: Likewise.
1451 * soft-fp/extenddftf2.c: Likewise.
1452 * soft-fp/extended.h: Likewise.
1453 * soft-fp/extendsfdf2.c: Likewise.
1454 * soft-fp/extendsftf2.c: Likewise.
1455 * soft-fp/extendxftf2.c: Likewise.
1456 * soft-fp/fixdfdi.c: Likewise.
1457 * soft-fp/fixdfsi.c: Likewise.
1458 * soft-fp/fixdfti.c: Likewise.
1459 * soft-fp/fixsfdi.c: Likewise.
1460 * soft-fp/fixsfsi.c: Likewise.
1461 * soft-fp/fixsfti.c: Likewise.
1462 * soft-fp/fixtfdi.c: Likewise.
1463 * soft-fp/fixtfsi.c: Likewise.
1464 * soft-fp/fixtfti.c: Likewise.
1465 * soft-fp/fixunsdfdi.c: Likewise.
1466 * soft-fp/fixunsdfsi.c: Likewise.
1467 * soft-fp/fixunsdfti.c: Likewise.
1468 * soft-fp/fixunssfdi.c: Likewise.
1469 * soft-fp/fixunssfsi.c: Likewise.
1470 * soft-fp/fixunssfti.c: Likewise.
1471 * soft-fp/fixunstfdi.c: Likewise.
1472 * soft-fp/fixunstfsi.c: Likewise.
1473 * soft-fp/fixunstfti.c: Likewise.
1474 * soft-fp/floatdidf.c: Likewise.
1475 * soft-fp/floatdisf.c: Likewise.
1476 * soft-fp/floatditf.c: Likewise.
1477 * soft-fp/floatsidf.c: Likewise.
1478 * soft-fp/floatsisf.c: Likewise.
1479 * soft-fp/floatsitf.c: Likewise.
1480 * soft-fp/floattidf.c: Likewise.
1481 * soft-fp/floattisf.c: Likewise.
1482 * soft-fp/floattitf.c: Likewise.
1483 * soft-fp/floatundidf.c: Likewise.
1484 * soft-fp/floatundisf.c: Likewise.
1485 * soft-fp/floatunditf.c: Likewise.
1486 * soft-fp/floatunsidf.c: Likewise.
1487 * soft-fp/floatunsisf.c: Likewise.
1488 * soft-fp/floatunsitf.c: Likewise.
1489 * soft-fp/floatuntidf.c: Likewise.
1490 * soft-fp/floatuntisf.c: Likewise.
1491 * soft-fp/floatuntitf.c: Likewise.
1492 * soft-fp/fmadf4.c: Likewise.
1493 * soft-fp/fmasf4.c: Likewise.
1494 * soft-fp/fmatf4.c: Likewise.
1495 * soft-fp/gedf2.c: Likewise.
1496 * soft-fp/gesf2.c: Likewise.
1497 * soft-fp/getf2.c: Likewise.
1498 * soft-fp/ledf2.c: Likewise.
1499 * soft-fp/lesf2.c: Likewise.
1500 * soft-fp/letf2.c: Likewise.
1501 * soft-fp/muldf3.c: Likewise.
1502 * soft-fp/mulsf3.c: Likewise.
1503 * soft-fp/multf3.c: Likewise.
1504 * soft-fp/negdf2.c: Likewise.
1505 * soft-fp/negsf2.c: Likewise.
1506 * soft-fp/negtf2.c: Likewise.
1507 * soft-fp/op-1.h: Likewise.
1508 * soft-fp/op-2.h: Likewise.
1509 * soft-fp/op-4.h: Likewise.
1510 * soft-fp/op-8.h: Likewise.
1511 * soft-fp/op-common.h: Likewise.
1512 * soft-fp/quad.h: Likewise.
1513 * soft-fp/single.h: Likewise.
1514 * soft-fp/soft-fp.h: Likewise.
1515 * soft-fp/sqrtdf2.c: Likewise.
1516 * soft-fp/sqrtsf2.c: Likewise.
1517 * soft-fp/sqrttf2.c: Likewise.
1518 * soft-fp/subdf3.c: Likewise.
1519 * soft-fp/subsf3.c: Likewise.
1520 * soft-fp/subtf3.c: Likewise.
1521 * soft-fp/truncdfsf2.c: Likewise.
1522 * soft-fp/trunctfdf2.c: Likewise.
1523 * soft-fp/trunctfsf2.c: Likewise.
1524 * soft-fp/trunctfxf2.c: Likewise.
1525 * soft-fp/unorddf2.c: Likewise.
1526 * soft-fp/unordsf2.c: Likewise.
1527 * soft-fp/unordtf2.c: Likewise.
1528
9ebb0332
JM
15292013-10-15 Joseph Myers <joseph@codesourcery.com>
1530
1531 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1532 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1533
4b1a6d8b
OB
15342013-10-15 Ondřej Bílka <neleai@seznam.cz>
1535
1536 * elf/dl-libc.c: Clear initfini list after freeing.
1537
1e145589
JM
15382013-10-14 Joseph Myers <joseph@codesourcery.com>
1539
1540 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1541 * soft-fp/addsf3.c: Likewise.
1542 * soft-fp/addtf3.c: Likewise.
1543 * soft-fp/divdf3.c: Likewise.
1544 * soft-fp/divsf3.c: Likewise.
1545 * soft-fp/divtf3.c: Likewise.
1546 * soft-fp/double.h: Likewise.
1547 * soft-fp/eqdf2.c: Likewise.
1548 * soft-fp/eqsf2.c: Likewise.
1549 * soft-fp/eqtf2.c: Likewise.
1550 * soft-fp/extenddftf2.c: Likewise.
1551 * soft-fp/extended.h: Likewise.
1552 * soft-fp/extendsfdf2.c: Likewise.
1553 * soft-fp/extendsftf2.c: Likewise.
1554 * soft-fp/extendxftf2.c: Likewise.
1555 * soft-fp/fixdfdi.c: Likewise.
1556 * soft-fp/fixdfsi.c: Likewise.
1557 * soft-fp/fixdfti.c: Likewise.
1558 * soft-fp/fixsfdi.c: Likewise.
1559 * soft-fp/fixsfsi.c: Likewise.
1560 * soft-fp/fixsfti.c: Likewise.
1561 * soft-fp/fixtfdi.c: Likewise.
1562 * soft-fp/fixtfsi.c: Likewise.
1563 * soft-fp/fixtfti.c: Likewise.
1564 * soft-fp/fixunsdfdi.c: Likewise.
1565 * soft-fp/fixunsdfsi.c: Likewise.
1566 * soft-fp/fixunsdfti.c: Likewise.
1567 * soft-fp/fixunssfdi.c: Likewise.
1568 * soft-fp/fixunssfsi.c: Likewise.
1569 * soft-fp/fixunssfti.c: Likewise.
1570 * soft-fp/fixunstfdi.c: Likewise.
1571 * soft-fp/fixunstfsi.c: Likewise.
1572 * soft-fp/fixunstfti.c: Likewise.
1573 * soft-fp/floatdidf.c: Likewise.
1574 * soft-fp/floatdisf.c: Likewise.
1575 * soft-fp/floatditf.c: Likewise.
1576 * soft-fp/floatsidf.c: Likewise.
1577 * soft-fp/floatsisf.c: Likewise.
1578 * soft-fp/floatsitf.c: Likewise.
1579 * soft-fp/floattidf.c: Likewise.
1580 * soft-fp/floattisf.c: Likewise.
1581 * soft-fp/floattitf.c: Likewise.
1582 * soft-fp/floatundidf.c: Likewise.
1583 * soft-fp/floatundisf.c: Likewise.
1584 * soft-fp/floatunsidf.c: Likewise.
1585 * soft-fp/floatunsisf.c: Likewise.
1586 * soft-fp/floatuntidf.c: Likewise.
1587 * soft-fp/floatuntisf.c: Likewise.
1588 * soft-fp/floatuntitf.c: Likewise.
1589 * soft-fp/fmadf4.c: Likewise.
1590 * soft-fp/fmasf4.c: Likewise.
1591 * soft-fp/fmatf4.c: Likewise.
1592 * soft-fp/gedf2.c: Likewise.
1593 * soft-fp/gesf2.c: Likewise.
1594 * soft-fp/getf2.c: Likewise.
1595 * soft-fp/ledf2.c: Likewise.
1596 * soft-fp/lesf2.c: Likewise.
1597 * soft-fp/letf2.c: Likewise.
1598 * soft-fp/muldf3.c: Likewise.
1599 * soft-fp/mulsf3.c: Likewise.
1600 * soft-fp/multf3.c: Likewise.
1601 * soft-fp/negdf2.c: Likewise.
1602 * soft-fp/negsf2.c: Likewise.
1603 * soft-fp/negtf2.c: Likewise.
1604 * soft-fp/op-1.h: Likewise.
1605 * soft-fp/op-2.h: Likewise.
1606 * soft-fp/op-4.h: Likewise.
1607 * soft-fp/op-8.h: Likewise.
1608 * soft-fp/op-common.h: Likewise.
1609 * soft-fp/quad.h: Likewise.
1610 * soft-fp/single.h: Likewise.
1611 * soft-fp/soft-fp.h: Likewise.
1612 * soft-fp/sqrtdf2.c: Likewise.
1613 * soft-fp/sqrtsf2.c: Likewise.
1614 * soft-fp/sqrttf2.c: Likewise.
1615 * soft-fp/subdf3.c: Likewise.
1616 * soft-fp/subsf3.c: Likewise.
1617 * soft-fp/subtf3.c: Likewise.
1618 * soft-fp/truncdfsf2.c: Likewise.
1619 * soft-fp/trunctfdf2.c: Likewise.
1620 * soft-fp/trunctfsf2.c: Likewise.
1621 * soft-fp/trunctfxf2.c: Likewise.
1622 * soft-fp/unorddf2.c: Likewise.
1623 * soft-fp/unordsf2.c: Likewise.
1624 * soft-fp/unordtf2.c: Likewise.
1625
17c48a60
OB
16262013-10-14 Ondřej Bílka <neleai@seznam.cz>
1627
1628 [BZ #15672]
1629 * misc/error.c (error_tail): Fix possible buffer overflow.
1630
cabba934
OB
16312013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1632
1633 [BZ #13028]
1634 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1635 address.
1636
94bf958a
PM
16372013-10-14 P. J. McDermott <pj@pehjota.net>
1638
1639 [BZ #832]
1640 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1641 testing pipefail option.
1642
71b4dea7
JM
16432013-10-12 Joseph Myers <joseph@codesourcery.com>
1644
1645 * soft-fp/double.h: Indent preprocessor directives inside #if.
1646 * soft-fp/extended.h: Likewise.
1647 * soft-fp/op-2.h: Likewise.
1648 * soft-fp/op-4.h: Likewise.
1649 * soft-fp/op-common.h: Likewise.
1650 * soft-fp/quad.h: Likewise.
1651 * soft-fp/single.h: Likewise.
1652 * soft-fp/soft-fp.h: Likewise.
1653
55602758
YC
16542013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1655
1656 * iconv/iconv_prog.c: Fix typos.
1657 * stdio-common/psiginfo-data.h: Likewise.
1658
9cd83302
RT
16592013-10-12 Reuben Thomas <rrt@sc3d.org>
1660
1661 [BZ #15764]
1662 * locale/setlocale.c: Fix typo.
1663
99fd9f47
JM
16642013-10-12 Joseph Myers <joseph@codesourcery.com>
1665
b7ea74f0
JM
1666 [BZ #16036]
1667 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1668 signaling NaN arguments.
1669 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1670 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1671
8a509447
JM
1672 [BZ #14910]
1673 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1674 unordered operands.
1675 * soft-fp/gesf2.c (__gesf2): Likewise.
1676 * soft-fp/getf2.c (__getf2): Likewise.
1677 * soft-fp/ledf2.c (__ledf2): Likewise.
1678 * soft-fp/lesf2.c (__lesf2): Likewise.
1679 * soft-fp/letf2.c (__letf2): Likewise.
1680
98998e9f
JM
1681 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1682 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1683 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1684 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1685 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1686 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1687 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1688 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1689 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1690 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1691 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1692 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1693 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1694 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1695 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1696 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1697 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1698 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1699 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1700 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1701 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1702 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1703 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1704 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1705 * soft-fp/floattidf.c (__floattidf): Likewise.
1706 * soft-fp/floattisf.c (__floattisf): Likewise.
1707 * soft-fp/floattitf.c (__floattitf): Likewise.
1708 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1709 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1710 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1711 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1712 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1713 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1714 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1715 * soft-fp/gesf2.c (__gesf2): Likewise.
1716 * soft-fp/getf2.c (__getf2): Likewise.
1717 * soft-fp/ledf2.c (__ledf2): Likewise.
1718 * soft-fp/lesf2.c (__lesf2): Likewise.
1719 * soft-fp/letf2.c (__letf2): Likewise.
1720
8edc4a11
JM
1721 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1722 Undefine and redefine.
1723 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1724 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1725 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1726 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1727 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1728 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1729 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1730 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1731 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1732 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1733 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1734 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1735 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1736 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1737 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1738
8399acaf
JM
1739 [BZ #16032]
1740 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1741 without decrementing exponent if mantissa >= that for the
1742 denominator, not >.
1743 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1744 denominator, not >. Decrement exponent in < case instead of
1745 incrementing in >= case.
1746 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1747 without decrementing exponent if mantissa >= that for the
1748 denominator, not >.
1749
99fd9f47
JM
1750 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1751 computing saturated result for unsigned overflow.
1752
10e1cf6b
SP
17532013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1754 Jeff Law <law@redhat.com>
1755
1756 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1757 (atan2Mp): Add systemtap probe marker.
1758 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1759 (__ieee754_log): Add systemtap probe marker.
1760 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1761 (atanMp): Add systemtap probe marker.
1762 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1763 (tanMp): Add systemtap probe marker.
1764 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1765 (__slowexp): Add systemtap probe marker.
1766 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1767 (__slowpow): Add systemtap probe marker.
1768 * manual/probes.texi: Document probes.
1769
3d110c7c
EB
17702013-10-11 Eric Biggers <ebiggers3@gmail.com>
1771
1772 [BZ #15362]
1773 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1774 written.
1775 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1776 written.
1777 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1778 written to buffer but not flushed.
1779 * libio/iofwrite_u.c: Likewise.
1780 * libio/iopadn.c: Return bytes returned even if EOF was
1781 encountered.
1782 * libio/iowpadn.c: Likewise.
1783 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1784 if _IO_padn does not write the whole buffer.
1785 [!COMPILE_WPRINTF] (PAD): Likewise.
1786
75b4202a
DM
17872013-10-10 David S. Miller <davem@davemloft.net>
1788
1789 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1790 directory block.
1791
6c6352e6
JM
17922013-10-10 Joseph Myers <joseph@codesourcery.com>
1793
33b853c3
JM
1794 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1795 instead of FSF address.
1796 * soft-fp/fixdfti.c: Likewise.
1797 * soft-fp/fixsfti.c: Likewise.
1798 * soft-fp/fixtfti.c: Likewise.
1799 * soft-fp/fixunsdfti.c: Likewise.
1800 * soft-fp/fixunssfti.c: Likewise.
1801 * soft-fp/fixunstfti.c: Likewise.
1802 * soft-fp/floattidf.c: Likewise.
1803 * soft-fp/floattisf.c: Likewise.
1804 * soft-fp/floattitf.c: Likewise.
1805 * soft-fp/floatuntidf.c: Likewise.
1806 * soft-fp/floatuntisf.c: Likewise.
1807 * soft-fp/floatuntitf.c: Likewise.
1808 * soft-fp/trunctfxf2.c: Likewise.
1809
6c6352e6
JM
1810 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1811 * soft-fp/fixdfti.c: Likewise.
1812 * soft-fp/fixsfti.c: Likewise.
1813 * soft-fp/fixtfti.c: Likewise.
1814 * soft-fp/fixunsdfti.c: Likewise.
1815 * soft-fp/fixunssfti.c: Likewise.
1816 * soft-fp/fixunstfti.c: Likewise.
1817 * soft-fp/floattidf.c: Likewise.
1818 * soft-fp/floattisf.c: Likewise.
1819 * soft-fp/floattitf.c: Likewise.
1820 * soft-fp/floatuntidf.c: Likewise.
1821 * soft-fp/floatuntisf.c: Likewise.
1822 * soft-fp/floatuntitf.c: Likewise.
1823 * soft-fp/trunctfxf2.c: Likewise.
1824
3bf78b71
DM
18252013-10-10 David S. Miller <davem@davemloft.net>
1826
1827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1828
6f10289e
JM
18292013-10-10 Joseph Myers <joseph@codsourcery.com>
1830
bd878fc0
JM
1831 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1832 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1833 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1834 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1835 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1836 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1837 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1838
6f10289e
JM
1839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1840 for NaNs before doing comparisons on argument.
1841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1842 Likewise.
1843
321e2684
WN
18442013-10-10 Will Newton <will.newton@linaro.org>
1845
1846 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1847 passed to _int_memalign does not overflow.
1848
40fefba1
TR
18492013-10-10 Torvald Riegel <triegel@redhat.com>
1850
1851 * scripts/bench.pl: Add include-sources directive.
1852 * benchtests/README: Update documentation.
1853
2ae21ed2
JM
18542013-10-10 Joseph Myers <joseph@codesourcery.com>
1855
dcc2dd3f
JM
1856 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1857 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1858 instead of FP_INIT_ROUNDMODE.
1859 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1860 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1861
2ae21ed2
JM
1862 [BZ #16034]
1863 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1864 copy class of input value.
1865 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1866 not handle exceptions.
1867 * soft-fp/negsf2.c (__negsf2): Likewise.
1868 * soft-fp/negtf2.c (__negtf2): Likewise.
1869 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1870
cb8f9562
JM
18712013-10-09 Joseph Myers <joseph@codesourcery.com>
1872
1873 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1874 semicolon. From Linux kernel.
1875
5b60c59d
AB
18762013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1877
1878 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1879
b86835ca
YC
18802013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1881
1882 [BZ #156]
1883 * manual/socket.texi: Added statement about buffer
1884 for gethostbyname2_r.
1885
e7044ea7
OB
18862013-10-08 Ondřej Bílka <neleai@seznam.cz>
1887
1888 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1889 Use .p2align directive instead, throughout.
1890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1891 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1892 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1893 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1895 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1896 * sysdeps/x86_64/strchr.S: Likewise.
1897 * sysdeps/x86_64/strrchr.S: Likewise.
1898
09544cbc
SP
18992013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1900
88576635
SP
1901 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1902
e7b2d1dd
SP
1903 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1904
09544cbc
SP
1905 * sysdeps/generic/math_private.h (__mpsin1): Remove
1906 declaration.
1907 (__mpcos1): Likewise.
1908 (__mpsin): New argument __range_reduce.
1909 (__mpcos): Likewise.
1910 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1911 (slow): Use __mpsin and __mpcos.
1912 (slow1): Likewise.
1913 (slow2): Likewise.
1914 (sloww): Likewise.
1915 (sloww1): Likewise.
1916 (sloww2): Likewise.
1917 (bsloww): Likewise.
1918 (bsloww1): Likewise.
1919 (bsloww2): Likewise.
1920 (cslow2): Likewise.
1921 (csloww): Likewise.
1922 (csloww1): Likewise.
1923 (csloww2): Likewise.
1924 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1925 range_reduce. Merge in __mpsin1.
1926 (__mpcos): Likewise.
1927 (__mpsin1): Remove.
1928 (__mpcos1): Likewise.
1929
7602d070
JM
19302013-10-07 Joseph Myers <joseph@codesourcery.com>
1931
1932 * locale/loadlocale.c (_nl_intern_locale_data): Use
1933 LOCFILE_ALIGNED_P.
1934 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1935 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1936 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1937 obstack data is appropriately aligned.
1938 (obstack_int32_grow_fast): Likewise.
1939 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1940 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1941 (add_locale_uint32_array): Likewise.
1942
a357259b
SP
19432013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1944
1945 * benchtests/Makefile: Remove ARGLIST and RET variables.
1946 ($(objpfx)bench-%.c): Pass only function name to the script.
1947 * benchtests/README: Update documentation.
1948 * benchtests/acos-inputs: Add new directives.
1949 * benchtests/acosh-inputs: Likewise.
1950 * benchtests/asin-inputs: Likewise.
1951 * benchtests/asinh-inputs: Likewise.
1952 * benchtests/atan-inputs: Likewise.
1953 * benchtests/atanh-inputs: Likewise.
1954 * benchtests/cos-inputs: Likewise.
1955 * benchtests/cosh-inputs: Likewise.
1956 * benchtests/exp-inputs: Likewise.
1957 * benchtests/log-inputs: Likewise.
1958 * benchtests/pow-inputs: Likewise.
1959 * benchtests/rint-inputs: Likewise.
1960 * benchtests/sin-inputs: Likewise.
1961 * benchtests/sinh-inputs: Likewise.
1962 * benchtests/tan-inputs: Likewise.
1963 * benchtests/tanh-inputs: Likewise.
1964 * scripts/bench.pl: Add support for new directives.
1965
9ec1b13d
AM
19662013-10-07 Alan Modra <amodra@gmail.com>
1967
1968 * README: Fix careless merge.
1969
8b7d57cd
AM
19702013-10-05 Alan Modra <amodra@gmail.com>
1971
1972 * NEWS: Mention powerpc64le support and bugs fixed.
1973 * README: Both big-endian and little-endian powerpc64 supported.
1974
7b7bab13
ST
19752013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1976
1977 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1978 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1979 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1980 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1981
d39baad1
RA
19822013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1983
1984 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1985 match prototype.
1986
cd78f7e7
JM
19872013-10-04 Joseph Myers <joseph@codesourcery.com>
1988
29d73d86
JM
1989 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1990 Move -mhard-float appending from
1991 ports/sysdeps/powerpc/powerpc32/Makefile.
1992 [$(with-fp) = yes] (ASFLAGS): Likewise.
1993 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1994 * sysdeps/powerpc/nofpu: Move directory from
1995 ports/sysdeps/powerpc/nofpu.
1996 * sysdeps/powerpc/soft-fp: Move directory from
1997 ports/sysdeps/powerpc/soft-fp.
1998 * sysdeps/powerpc/powerpc32/405: Move directory from
1999 ports/sysdeps/powerpc/powerpc32/405.
2000 * sysdeps/powerpc/powerpc32/440: Move directory from
2001 ports/sysdeps/powerpc/powerpc32/440.
2002 * sysdeps/powerpc/powerpc32/464: Move directory from
2003 ports/sysdeps/powerpc/powerpc32/464.
2004 * sysdeps/powerpc/powerpc32/476: Move directory from
2005 ports/sysdeps/powerpc/powerpc32/476.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2007 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2009 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2011 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2013 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2015 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2016 * README: Update for powerpc-*-linux-gnu software floating point
2017 support in libc.
2018
e246b347
JM
2019 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2020 case to powerpc/powerpc32*.
2021 * sysdeps/unix/sysv/linux/configure: Regenerated.
2022
89c2003e
JM
2023 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2024 (_FPU_MASK_OM): Define as 0x04.
2025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2027 0x00c10080.
2028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2029 0x0000003c.
2030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2031
cd78f7e7
JM
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2033 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2034 getcontext_e500.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2036 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2037 setcontext_e500.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2039 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2040 and setcontext_e500.
2041
c755294d
CL
20422013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2043
2044 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2045
e16d221c
SP
20462013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2047
2048 * manual/threads.texi (Default Thread Attributes): Fix typo.
2049
215c7d43
WN
20502013-10-04 Will Newton <will.newton@linaro.org>
2051
2052 * malloc/Makefile: Add tst-memalign.
2053 * malloc/tst-memalign.c: New file.
2054
27d0461b
WN
2055 * malloc/tst-posix_memalign.c: Add comments.
2056 (do_test): Add comments and call free on all potentially
2057 allocated pointers. Add space after cast.
2058
1bc92709
WN
2059 * malloc/tst-pvalloc.c: Add comments.
2060 (do_test): Add comments and call free on all potentially
2061 allocated pointers. Remove duplicate check for NULL pointer.
2062 Add space after cast.
2063
66a9be9d
WN
2064 * malloc/tst-valloc.c: Add comments.
2065 (do_test): Add comments and call free on all potentially
2066 allocated pointers. Remove duplicate check for NULL pointer.
2067 Add space after cast.
2068
4cb81307
AM
20692013-10-04 Alan Modra <amodra@gmail.com>
2070
2071 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2072 Use stdint types in rather than __attribute__((mode())).
2073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2074
f8e3e9f3
AM
20752013-10-04 Alan Modra <amodra@gmail.com>
2076
2077 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2078 Correct handling of unaligned relocs for little-endian.
2079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2080
8f9ebb08
AM
20812013-10-04 Alan Modra <amodra@gmail.com>
2082
2083 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2084 * configure: Regenerate.
2085 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2086 * shlib-versions: Likewise.
2087
0edf96c2
AM
20882013-10-04 Alan Modra <amodra@gmail.com>
2089
2090 * string/tester.c (test_memrchr): Increment reported test cycle.
2091
e0f7a380
AM
20922013-10-04 Alan Modra <amodra@gmail.com>
2093
2094 * string/test-memcpy.c (do_one_test): When reporting errors, print
2095 string address and don't overrun end of string.
2096
466b0393
AM
20972013-10-04 Alan Modra <amodra@gmail.com>
2098
2099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2100 insrdi. Make better use of reg selection to speed exit slightly.
2101 Schedule entry path a little better. Remove useless "are we done"
2102 checks on entry to main loop. Handle wrapping around zero address.
2103 Correct main loop count. Handle single left-over word from main
2104 loop inline rather than by using loop_small. Remove extra word
2105 case in loop_small caused by wrong loop count. Add little-endian
2106 support.
2107 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2108 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2109 cache hint.
2110 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2112 support. Avoid rlwimi.
2113 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2114
3be87c77
AM
21152013-10-04 Alan Modra <amodra@gmail.com>
2116
2117 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2118 insrdi. Formatting.
3be87c77
AM
2119 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2120 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2121 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2122 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2123 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2124 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2125
759cfef3
AM
21262013-10-04 Alan Modra <amodra@gmail.com>
2127
2128 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2129 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2130 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2131 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2135 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2136 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2137 use of regs. Use power7 mtocrf. Tidy function tails.
2138
fe6e95d7
AM
21392013-10-04 Alan Modra <amodra@gmail.com>
2140
2141 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2142 Formatting. Consistently use rXXX register defines or rN defines.
2143 Use early exit labels that avoid restoring unused non-volatile regs.
2144 Make cr field use more consistent with rWORDn compares. Rename
2145 regs used as shift registers for unaligned loop, using rN defines
2146 for short lifetime/multiple use regs.
2147 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2149 addi 1,1,64 to pop stack frame. Simplify return value code.
2150 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2151
664318c3
AM
21522013-10-04 Alan Modra <amodra@gmail.com>
2153
2154 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2155 support. Correct typos, formatting. Optimize tail. Use insrdi
2156 rather than rlwimi.
2157 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2158 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2159 little-endian support. Correct typos.
2160 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2161 rather than rlwimi.
2162 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2163 in loop and entry code to keep "and." results.
2164 (strchr): Add little-endian support. Comment. Move cntlzd
2165 earlier in tail.
2166 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2167
43b84013
AM
21682013-10-04 Alan Modra <amodra@gmail.com>
2169
2170 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2171 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2172 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2173 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2174
8a7413f9
AM
21752013-10-04 Alan Modra <amodra@gmail.com>
2176
2177 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2178 (rTMP): Define as r11.
2179 (strcmp): Add little-endian support. Optimise tail.
2180 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2181 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2182 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2183 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2184 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2187
33ee81de
AM
21882013-10-04 Alan Modra <amodra@gmail.com>
2189
2190 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2191 little-endian support. Remove unnecessary "are we done" tests.
2192 Handle "s" wrapping around zero and extremely large "size".
2193 Correct main loop count. Handle single left-over word from main
2194 loop inline rather than by using small_loop. Correct comments.
2195 Delete "zero" tail, use "end_max" instead.
2196 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2197
db9b4570
AM
21982013-10-04 Alan Modra <amodra@gmail.com>
2199
2200 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2201 support. Don't branch over align.
2202 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2203 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2204 support. Rearrange tmp reg use to suit. Comment.
2205 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2206
f7c399cf
AM
22072013-10-04 Alan Modra <amodra@gmail.com>
2208
2209 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2210
0b2c2ace
AM
22112013-10-04 Alan Modra <amodra@gmail.com>
2212
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2214 conditional form of branch and link when obtaining pc.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2216
02f04a6c
AM
22172013-10-04 Alan Modra <amodra@gmail.com>
2218
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2220 HIWORD/LOWORD.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2223
9b874b2f
AM
22242013-10-04 Alan Modra <amodra@gmail.com>
2225
2226 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2227 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2228 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2229 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2230 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2231 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2232 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2233 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2234 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2235 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2236
be1e5d31
AB
22372013-10-04 Anton Blanchard <anton@au1.ibm.com>
2238 Alistair Popple <alistair@ozlabs.au.ibm.com>
2239 Alan Modra <amodra@gmail.com>
2240
2241 [BZ #15723]
2242 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2243 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2244 _dl_hwcap access for little-endian.
2245 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2246 destroy vmx regs when saving unaligned.
2247 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2248 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2249 destroy vmx regs when saving unaligned.
2250
fef13a78
AM
22512013-10-04 Alan Modra <amodra@gmail.com>
2252
2253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2254 Don't use a union to pack hi/low value.
2255
76a66d51
AB
22562013-10-04 Anton Blanchard <anton@au1.ibm.com>
2257
2258 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2259 for little-endian.
2260 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2262 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2263 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2264 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2265
6a31fe7f
AM
22662013-10-04 Alan Modra <amodra@gmail.com>
2267
2268 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2269 constants to usual value for .cst8 section, and remove redundant
2270 high address load.
2271 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2272 constant for 0x1p52. Load little-endian words of double from
2273 correct stack offsets.
2274
7b88401f
AM
22752013-10-04 Alan Modra <amodra@gmail.com>
2276
2277 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2278 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2279 words of double from correct stack offsets.
2280 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2281 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2282 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2285 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2287 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2288 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2289 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2290 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2291 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2293 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2294 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2295 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2296 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2297
9c008155
AM
22982013-10-04 Alan Modra <amodra@gmail.com>
2299
2300 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2301 64-bit int/double union.
2302 (_FPU_SETCW): Likewise.
2303 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2304 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2305
da13146d
AM
23062013-10-04 Alan Modra <amodra@gmail.com>
2307
2308 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2309 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2310
603e8410
AM
23112013-10-04 Alan Modra <amodra@gmail.com>
2312
2313 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2314 use vector int constants.
2315 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2316
4a28b3ca
AB
23172013-10-04 Anton Blanchard <anton@au1.ibm.com>
2318
2319 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2320 array with long long.
2321 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2322 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2323 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2324 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2325 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2326 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2327 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2328 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2329 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2330 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2331 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2332 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2333 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2334
2ca85d2b
AB
23352013-10-04 Anton Blanchard <anton@au1.ibm.com>
2336
2337 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2338 (__signbit): Likewise. Correct for little-endian.
2339 (__signbitl): Call __signbit.
2340 (lrint): Correct for little-endian.
2341 (lrintf): Call lrint.
2342
62a728ae
AM
23432013-10-04 Alan Modra <amodra@gmail.com>
2344
2345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2346 union 32-bit int array member with 64-bit int array.
2347 (t515, tm256): Double rather than long double.
2348 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2349
32c301df
AM
23502013-10-04 Alan Modra <amodra@gmail.com>
2351
2352 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2353 Delete.
2354 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2356 version of math_ldbl.h.
2357
650ef4bd
AM
23582013-10-04 Alan Modra <amodra@gmail.com>
2359
2360 [BZ #15734], [BZ #15735]
2361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2362 all uses of ieee875 long double macros and unions. Simplify test
2363 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2364 ldbl_extract_mantissa value for ix,iy exponents. Properly
2365 normalize after ldbl_extract_mantissa, and don't add hidden bit
2366 already handled. Don't treat low word of ieee854 mantissa like
2367 low word of IBM long double and mask off bit when testing for
2368 zero.
2369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2370 all uses of ieee875 long double macros and unions. Simplify tests
2371 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2372 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2373 two1022, instead use their values. Recognise that tests for large
2374 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2375 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2376 Rewrite all uses of ieee875 long double macros and unions. Simplify
2377 test for 0.0L and nan. Correct negation.
2378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2379 ieee875 long double macros and unions. Correct output for large
2380 magnitude x. Correct absolute value calculation.
2381 (__erfcl): Likewise.
2382 * math/libm-test.inc: Add tests for errors discovered in IBM long
2383 double versions of fmodl, remainderl, erfl and erfcl.
2384
765714ca
AM
23852013-10-04 Alan Modra <amodra@gmail.com>
2386
2387 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2388 all uses of ieee854 long double macros and unions. Simplify tests
2389 for long doubles that are fully specified by the high double.
2390 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2391 Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2393 Remove dead code too.
2394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2395 (__ieee754_ynl): Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2397 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2399 Remove dead code too.
2400 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2404 Simplify.
2405 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2406 Simplify.
2407 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2410 Comment on variable precision.
2411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2413 Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2418 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2419
4ebd120c
AM
24202013-10-04 Alan Modra <amodra@gmail.com>
2421
2422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2424 all uses of ieee854 long double macros and unions.
2425 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2431 Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2434 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2435 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2438 Simplify sign and nan test too.
2439 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2442 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2443 Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2445 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2446 Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2448 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2450 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2451 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2453
1b6adf88
AM
24542013-10-04 Alan Modra <amodra@gmail.com>
2455
2456 * stdio-common/printf_size.c (__printf_size): Don't use
2457 union ieee854_long_double in fpnum union.
2458 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2459 signbit macro to retrieve sign from long double.
2460 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2461 retrieve sign from long double.
2462 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2463 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2464 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2465 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2466 * math/test-misc.c (main): Don't use union ieee854_long_double.
2467
4cf69995
AM
24682013-10-04 Alan Modra <amodra@gmail.com>
2469
2470 [BZ #15680]
2471 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2472 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2473 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2474 calculation. Remove unnecessary test for denormal exponent.
2475 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2476 Correct handling of denormals. Avoid undefined shift behaviour.
2477 Correct normalisation of low mantissa when low double is denormal.
2478 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2479 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2480 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2481 Correct normalisation of low mantissa. Test for overflow of high
2482 mantissa and normalise.
2483 (ldbl_nearbyint): Use more readable constant for two52.
2484 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2485 (__mpn_construct_long_double): Fix test for overflow of high
2486 mantissa and correct normalisation. Avoid undefined shift.
2487
9605ca6c
AM
24882013-10-04 Alan Modra <amodra@gmail.com>
2489
2490 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2491 (union ibm_extended_long_double): Define as an array of ieee754_double.
2492 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2494 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2495 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2499 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2503
975569d0
JM
25042013-10-03 Joseph Myers <joseph@codesourcery.com>
2505
d3d23756
JM
2506 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2507 page size instead of calling getpagesize.
2508
975569d0
JM
2509 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2510 (LOCFILE_ALIGN_MASK): Likewise.
2511 (LOCFILE_ALIGN_UP): Likewise.
2512 (LOCFILE_ALIGNED_P): Likewise.
2513 * locale/programs/ld-collate.c (collate_output): Use the new
2514 macros instead of __alignof__ (int32_t).
2515 * locale/weight.h (findidx): Likewise.
2516
b1fe1f2b
OB
25172013-10-03 Ondřej Bílka <neleai@seznam.cz>
2518
2519 [BZ #431]
2520 * manual/string.texi: Fix strncat and wcsncat.
2521
5f855e35
BM
25222013-10-03 Brooks Moses <bmoses@google.com>
2523
2524 [BZ #15915]
2525 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2526 * Makerules: ...here, and adjust associated comments.
2527
3cef6009
WN
25282013-10-02 Will Newton <will.newton@linaro.org>
2529
2530 * malloc/Makefile: Add tst-pvalloc.
2531 * malloc/tst-pvalloc.c: New file.
2532
7815420b
WN
25332013-10-02 Will Newton <will.newton@linaro.org>
2534
2535 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2536 improve test coverage.
2537
4868b204
WN
25382013-10-02 Will Newton <will.newton@linaro.org>
2539
2540 * malloc/Makefile: Add tst-posix_memalign.
2541 * malloc/tst-posix_memalign.c: New file.
2542
29c793b3
EB
25432013-10-01 Eric Blake <eblake@redhat.com>
2544
2545 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2546 Use __THROWNL rather than __THROW on static functions.
2547
fd967522
PM
25482013-09-30 Petr Machata <pmachata@redhat.com>
2549
2550 * elf/elf.h (R_AARCH64_ABS16): New macro.
2551 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2552 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2553 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2554 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2555 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2556 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2557 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2558 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2559 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2560 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2561 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2562 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2563 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2564 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2565 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2566 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2567 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2568 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2569 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2570 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2571 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2572 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2573 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2574 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2575 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2576 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2577 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2578 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2579 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2580 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2581 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2582 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2583 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2584 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2585 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2586 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2587 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2588 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2589 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2590 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2591 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2592 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2593 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2594 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2595 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2596 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2597 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2598 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2599 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2600 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2601 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2602 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2603 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2604 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2605 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2606 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2607 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2608 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2609 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2610 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2611 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2612 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2613 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2614 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2615 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2616 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2617 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2618 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2619 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2620 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2621 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2622 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2623 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2624 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2625 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2626 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2627 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2628 (R_AARCH64_TLSDESC_LDR): Likewise.
2629 (R_AARCH64_TLSDESC_ADD): Likewise.
2630 (R_AARCH64_TLSDESC_CALL): Likewise.
2631
b2179107
AS
26322013-09-30 Andreas Schwab <schwab@suse.de>
2633
2634 [BZ #15048]
2635 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2636 the nss database lookup.
2637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2639
47f28d0a
MF
26402013-09-28 Mike Frysinger <vapier@gentoo.org>
2641
2642 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2643
26442013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2645
2646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2647 ${Bash-specific parameter/pattern/string} parameter expansion.
2648 * sysdeps/unix/make-syscalls.sh: Likewise.
2649
f4518a17
KK
26502013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2651
2652 * sysdeps/sh/stackguard-macros.h: New file.
2653
dc1a95c7
OB
26542013-09-26 Ondřej Bílka <neleai@seznam.cz>
2655
2656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2658 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2659 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2661 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2662
5ebbff8f
AZ
26632013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664
2665 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2666 Fix thread ID register.
2667
4fd2cf9f
JM
26682013-09-25 Joseph Myers <joseph@codesourcery.com>
2669
2670 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2671 [POSIX || UNIX98]: Require rather than permitting all symbols from
2672 <time.h>.
2673 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2674 element of struct sched_param.
2675 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2676 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2677 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2678 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2679 constant.
2680
12c22bc4
OL
26812013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2682
2683 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2684 argument calculation.
2685
a03d8ea7
JM
26862013-09-24 Joseph Myers <joseph@codesourcery.com>
2687
2688 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2689 Expect macro.
2690 [POSIX] (pthread_attr_t): Do not require type.
2691 [POSIX] (pthread_cond_t): Likewise.
2692 [POSIX] (pthread_condattr_t): Likewise.
2693 [POSIX] (pthread_key_t): Likewise.
2694 [POSIX] (pthread_mutex_t): Likewise.
2695 [POSIX] (pthread_mutexattr_t): Likewise.
2696 [POSIX] (pthread_once_t): Likewise.
2697 [POSIX] (pthread_t): Likewise.
2698 [POSIX-based standards] (pthread_atfork): Expect function.
2699
6055173a
JM
27002013-09-24 Joseph Myers <joseph@codesourcery.com>
2701 Richard Sandiford <richard@codesourcery.com>
2702
2703 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2704 (swap_endianness_p): New extern variable.
2705 (set_big_endian): New inline function.
2706 (maybe_swap_uint32): Likewise.
2707 (maybe_swap_uint32_array): Likewise.
2708 (maybe_swap_uint32_obstack): Likewise.
2709 * locale/programs/locfile.c: Include <stdbool.h>.
2710 (swap_endianness_p): New variable.
2711 (add_locale_uint32): Call maybe_swap_uint32.
2712 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2713 (write_locale_data): Call maybe_swap_uint32_array.
2714 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2715 maybe_swap_uint32.
2716 (obstack_int32_grow_fast): Likewise.
2717 (output_weightwc): Call maybe_swap_uint32_obstack.
2718 (collate_output): Likewise.
2719 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2720 (OPT_LITTLE_ENDIAN): Likewise.
2721 (options): Add --little-endian and --big-endian options.
2722 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2723 * locale/programs/locarchive.c: Include "locfile.h".
2724 (GET): New macro.
2725 (SET): Likewise.
2726 (INC): Likewise.
2727 (create_archive): Use the new macros to access fields of
2728 structures directly mapped from or written to locale archives.
2729 (oldlocrecentcmp): Likewise.
2730 (enlarge_archive): Likewise.
2731 (insert_name): Likewise.
2732 (add_alias): Likewise.
2733 (add_locale): Likewise.
2734 (delete_locales_from_archive): Likewise.
2735 (show_archive_content): Likewise.
2736 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2737 locale data.
2738
39bf0bb4
RM
27392013-09-24 Roland McGrath <roland@hack.frob.com>
2740
2741 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2742 http://www.gnu.org/doc/freemanuals.texi.
2743 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2744
f02eed10
WN
27452013-09-24 Will Newton <will.newton@linaro.org>
2746
2747 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2748 macro.
2749
a3a6c312
JM
27502013-09-23 Joseph Myers <joseph@codesourcery.com>
2751
2752 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2753 unsigned char.
2754
107375ac
MR
27552013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2756
2757 * manual/threads.texi (POSIX Threads): Fix a typo.
2758
141f3a77
SP
27592013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2760
303e567a
SP
2761 [BZ #14547]
2762 * string/tst-strcoll-overflow.c: New test case.
2763 * string/Makefile (xtests): Add tst-strcoll-overflow.
2764 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2765 cache if string sizes may cause integer overflow.
2766
141f3a77
SP
2767 [BZ #14547]
2768 * string/strcoll_l.c (coll_seq): New members rule, idx,
2769 save_idx and back_us.
2770 (get_next_seq_nocache): New function.
2771 (do_compare_nocache): New function.
2772 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2773 when malloc fails.
2774
c61b4d41
CD
27752013-09-23 Carlos O'Donell <carlos@redhat.com>
2776
0b1f8e35
CD
2777 [BZ #15754]
2778 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2779 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2780 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2781
c61b4d41
CD
2782 [BZ #15754]
2783 * elf/Makefile (tests): Add tst-ptrguard1.
2784 (tests-static): Add tst-ptrguard1-static.
2785 (tst-ptrguard1-ARGS): Define.
2786 (tst-ptrguard1-static-ARGS): Define.
2787 * elf/tst-ptrguard1.c: New file.
2788 * elf/tst-ptrguard1-static.c: New file.
2789 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2790 * sysdeps/i386/stackguard-macros.h: Likewise.
2791 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2792 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2793 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2794 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2795 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2796 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2797
27982013-09-23 Hector Marco <hecmargi@upv.es>
2799 Ismael Ripoll <iripoll@disca.upv.es>
2800 Carlos O'Donell <carlos@redhat.com>
2801
2802 [BZ #15754]
2803 * sysdeps/generic/stackguard-macros.h: Define
2804 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2805 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2806 Define __pointer_chk_guard_local.
2807 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2808 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2809
f5f4e7b4
VV
28102013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2811
2812 [BZ #15859]
2813 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2814
5bb43a43
AS
28152013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2816
2817 * include/string.h (__ffs): Declare as hidden.
2818 * string/ffs.c (__ffs): Define as hidden.
2819 * sysdeps/i386/ffs.c (__ffs): Likewise.
2820 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2821 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2822 * sysdeps/s390/ffs.c (__ffs): Likewise.
2823 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2824
3ea5be54
AO
28252013-09-20 Alexandre Oliva <aoliva@redhat.com>
2826
ffb89e53
AO
2827 * NEWS: Mention malloc probes.
2828
322dea08
AO
2829 * malloc/arena.c (new_heap): New memory_heap_new probe.
2830 (grow_heap): New memory_heap_more probe.
2831 (shrink_heap): New memory_heap_less probe.
2832 (heap_trim): New memory_heap_free probe.
2833 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2834 (systrim): New memory_sbrk_less probe.
2835 * manual/probes.texi: Document them.
2836
655673f3
AO
2837 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2838 * manual/probes.texi: Document it.
2839
35fed6f1
AO
2840 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2841 (__libc_realloc): Add memory_realloc_retry probe.
2842 (__libc_memalign): Add memory_memalign_retry probe.
2843 (__libc_valloc): Add memory_valloc_retry probe.
2844 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2845 (__libc_calloc): Add memory_calloc_retry probe.
2846 * manual/probes.texi: Document them.
2847
6999d38c
AO
2848 * malloc/arena.c (get_free_list): Add probe
2849 memory_arena_reuse_free_list.
2850 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2851 and memory_arena_reuse.
2852 (arena_get2) [!PER_THREAD]: Likewise.
2853 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2854 memory_arena_reuse_realloc.
2855 * manual/probes.texi: Document them.
2856
0653427f
AO
2857 * malloc/malloc.c (__libc_free): Add
2858 memory_mallopt_free_dyn_thresholds probe.
2859 (__libc_mallopt): Add multiple memory_mallopt probes.
2860 * manual/probes.texi: Document them.
2861
3ea5be54
AO
2862 * malloc/malloc.c: Include stap-probe.h.
2863 (__libc_mallopt): Add memory_mallopt probe.
2864 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2865 * manual/probes.texi: New.
2866 * manual/Makefile (chapters): Add probes.
2867 * manual/threads.texi: Set next node.
2868
e35696c3 28692013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2870
e35696c3
CL
2871 [BZ #15963, #13985]
2872 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2873 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2874 Add `Chinese' to `nan' entry name.
2875
4aafb73c
SP
28762013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2877
2878 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2879 (POLYNOMIAL): Likewise.
2880 (TAYLOR_SINCOS): Likewise.
2881 (TAYLOR_SLOW): Likewise.
2882 (__sin): Use TAYLOR_SINCOS.
2883 (__cos): Likewise.
2884 (slow): Use TAYLOR_SLOW.
2885 (sloww): Likewise.
2886 (bsloww): Likewise.
2887 (csloww): Likewise.
2888
d84f25c7
LD
28892013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2890
2891 * stdlib/strtod_l.c: Fix buffer overrun.
2892
5eea0404
SP
28932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2894
7849ff93
SP
2895 * benchtests/Makefile (bench): Add sincos.
2896 * benchtests/bench-sincos.c: New file.
2897
cfa3c886
SP
2898 * math/libm-test.inc (cos_test_data): New test inputs.
2899 (sin_test_data): Likewise.
2900
b348e1e3
SP
2901 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2902 macro.
2903 (__sin): Use it.
2904 (__cos): Likewise.
2905 (slow1): Likewise.
2906 (slow2): Likewise.
2907 (sloww1): Likewise.
2908 (sloww2): Likewise.
2909 (bsloww1): Likewise.
2910 (bsloww2): Likewise.
2911 (cslow2): Likewise.
2912 (csloww1): Likewise.
2913 (csloww2): Likewise.
2914
6cce25f8
SP
2915 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2916 function.
2917 (__sin): Use it.
2918 (__cos): Likewise.
2919
5eea0404
SP
2920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2921 gotos.
2922 (__cos): Likewise.
2923
9c21573c
MR
29242013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2925
2926 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2927 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2928 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2929 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2930 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2931 * elf/cache.c (print_entry): Handle the new cache flags.
2932
24d22e65
JM
29332013-09-18 Joseph Myers <joseph@codesourcery.com>
2934 Aldy Hernandez <aldyh@redhat.com>
2935
2936 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2937 Change condition to [_SOFT_FLOAT].
2938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2950 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2953 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2954 declaration.
2955
d13ef066
JM
29562013-09-18 Joseph Myers <joseph@codesourcery.com>
2957
2e071de0
JM
2958 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2959 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2960 (__longjmp): Use LOAD_GP to load saved GPRs.
2961 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2962 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2963 (__sigsetjmp): Use SAVE_GP to save GPRs.
2964
d13ef066
JM
2965 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2966 Do not append -msoft-float.
2967 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2968
97a0650b
SP
29692013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2970
2971 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2972
11ca09e9
JM
29732013-09-17 Joseph Myers <joseph@codesourcery.com>
2974
2975 [BZ #15966]
2976 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2977 (_FPU_GETCW): Use initial "__" on variable and field names but not
2978 on macro parameter name.
2979 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2980 parentheses around reference to macro parameter.
2981
08ffcf34
RS
29822013-09-13 Richard Sandiford <richard@codesourcery.com>
2983
2984 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2985 prototype.
2986 (ctype_startup): Use uint32_t in cast and sizeof for
2987 ctype->charnames.
2988
ae7080d3
JL
29892013-09-11 Jia Liu <proljc@gmail.com>
2990
2991 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2992 __daddr_t_defined.
2993 [__FreeBSD__]: Likewise.
2994
5905e7b3
OB
29952013-09-11 Ondřej Bílka <neleai@seznam.cz>
2996
2997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2998 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2999 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3000 (strchr): Remove __strchr_sse42 ifunc selection.
3001 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3002 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3003
b987c776
WN
30042013-09-11 Will Newton <will.newton@linaro.org>
3005
3006 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3007 parameter to RES. Remove hardcoded 1000 value.
3008 * benchtests/bench-skeleton.c (main): Pass RES parameter
3009 to TIMING_INIT and multiply result by 1000.
3010
ddf985af
AZ
30112013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012
3013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3014
ffdd3181
AS
30152013-09-11 Andreas Schwab <schwab@suse.de>
3016
3017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3018 if not defined.
3019 (O_TMPFILE) [__USE_GNU]: Define.
3020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3021 Define.
3022
b73ed247
WN
30232013-09-11 Will Newton <will.newton@linaro.org>
3024
3025 [BZ #15857]
3026 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3027 does not overflow.
3028
55e17aad
WN
30292013-09-11 Will Newton <will.newton@linaro.org>
3030
3031 [BZ #15856]
3032 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3033 does not overflow.
3034
1159a193
WN
30352013-09-11 Will Newton <will.newton@linaro.org>
3036
3037 [BZ #15855]
3038 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3039 does not overflow.
3040
5905e7b3 30412013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3042
3043 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3044 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3048
cdfc721b
AM
30492013-09-10 Allan McRae <allan@archlinux.org>
3050
aa04af00
AM
3051 [BZ #15748]
3052 * manual/arith.texi (Parsing of Floats): Clarify
3053 cross-reference.
3054
cdfc721b
AM
3055 [BZ #15849]
3056 * manual/install.texi (Running make install): Mention
3057 --enable-pt-chown.
3058 * INSTALL: Regenerated.
3059
95e7cf29
MR
30602013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3061
3062 * csu/init-first.c (_init): Remove the !SHARED condition around
3063 FPU control word initialization.
3064 * elf/dl-support.c (_dl_fpu_control): New variable.
3065 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3066 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3067 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3068 * math/test-fpucw-static.c: New file.
3069 * math/test-fpucw-ieee.c: New file.
3070 * math/test-fpucw-ieee-static.c: New file.
3071 * math/Makefile (tests): Add `test-fpucw-ieee' and
3072 `$(tests-static)'.
3073 (tests-static): New variable.
3074 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3075 dependency to...
3076 [($(build-shared),yes)]
3077 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3078 ... this.
3079 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3080 New dependency.
3081
83e43bf0
AM
30822013-09-09 Allan McRae <allan@archlinux.org>
3083
a9f5ce09
AM
3084 [BZ #15939]
3085 * manual/string.texi (Collation Functions): Fix typo in
3086 strcoll example.
3087 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3088
34829bc2
AM
3089 [BZ #15893]
3090 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3091
3932737d
AM
3092 [BZ #15892]
3093 * libio/memstream.c (open_memstream): Fix memory leak.
3094 * libio/wmemstream.c (open_wmemstream): Likewise.
3095
83e43bf0
AM
3096 [BZ #15895]
3097 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3098
0c66b8e9
WN
30992013-09-09 Will Newton <will.newton@linaro.org>
3100
3101 * malloc/Makefile: Add tst-realloc to tests.
3102 * malloc/tst-realloc.c: New file.
3103
f6b00fd1
AM
31042013-09-09 Allan McRae <allan@archlinux.org>
3105
3106 [BZ #15844]
3107 * COPYING: Update from GNU website to fix FSF address.
3108 * COPYING.LIB: Likewise.
3109
eec55e16
DM
31102013-09-06 David S. Miller <davem@davemloft.net>
3111
3112 * po/zh_TW.po: Update Chinese (traditional) translation from
3113 translation project.
3114
1ecbb381
RS
31152013-09-06 Richard Sandiford <richard@codesourcery.com>
3116 Joseph Myers <joseph@codesourcery.com>
3117
3118 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3119 "localeinfo.h".
3120 (obstack_chunk_alloc): New macro.
3121 (obstack_chunk_free): Likewise.
3122 (record_offset): New function.
3123 (init_locale_data): Likewise.
3124 (align_locale_data): Likewise.
3125 (add_locale_empty): Likewise.
3126 (add_locale_raw_data): Likewise.
3127 (add_locale_raw_obstack): Likewise.
3128 (add_locale_string): Likewise.
3129 (add_locale_wstring): Likewise.
3130 (add_locale_uint32): Likewise.
3131 (add_locale_uint32_array): Likewise.
3132 (add_locale_char): Likewise.
3133 (start_locale_structure): Likewise.
3134 (end_locale_structure): Likewise.
3135 (start_locale_prelude): Likewise.
3136 (end_locale_prelude): Likewise.
3137 (write_locale_data): Take locale_file structure rather than an
3138 iovec.
3139 * locale/programs/locfile.h: Include "obstack.h".
3140 (struct locale_file): Change to store locale file contents instead
3141 of header.
3142 (init_locale_data): New prototype.
3143 (align_locale_data): Likewise.
3144 (add_locale_empty): Likewise.
3145 (add_locale_raw_data): Likewise.
3146 (add_locale_raw_obstack): Likewise.
3147 (add_locale_string): Likewise.
3148 (add_locale_wstring): Likewise.
3149 (add_locale_uint32): Likewise.
3150 (add_locale_uint32_array): Likewise.
3151 (add_locale_char): Likewise.
3152 (start_locale_structure): Likewise.
3153 (end_locale_structure): Likewise.
3154 (start_locale_prelude): Likewise.
3155 (end_locale_prelude): Likewise.
3156 (write_locale_data): Update prototype.
3157 * locale/programs/3level.h (struct TABLE): Remove result field.
3158 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3159 Use new locale_file interface.
3160 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3161 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3162 * locale/programs/ld-address.c (address_output): Use new
3163 locale_file interface.
3164 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3165 NO_ADD_LOCALE.
3166 (collate_finish): Don't call collseq_table_finalize.
3167 (collate_output): Use new locale_file interface.
3168 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3169 in file.
3170 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3171 (TABLE): Move defines earlier in file.
3172 (ELEMENT): Likewise.
3173 (DEFAULT): Likewise.
3174 (wctrans_table_add): Move macro and inline function earlier in
3175 file.
3176 (struct wctype_table): Move type earlier in file.
3177 (add_locale_wctype_table): New static prototype.
3178 (struct locale_ctype_t): Use logical types instead of struct iovec
3179 pointers for members.
3180 (ctype_output): Use new locale_file interface.
3181 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3182 new locale_file interface.
3183 (allocate_arrays): Update for use of new locale_file interface.
3184 * locale/programs/ld-identification.c (identification_output): Use
3185 new locale_file interface.
3186 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3187 * locale/programs/ld-messages.c (messages_output): Likewise.
3188 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3189 * locale/programs/ld-name.c (name_output): Likewise.
3190 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3191 * locale/programs/ld-paper.c (paper_output): Likewise.
3192 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3193 * locale/programs/ld-time.c (time_output): Likewise.
3194
e029e2e5
AZ
31952013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3196
3197 * benchtests/Makefile: Add memrchr benchmark.
3198 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3199 benchmark as memrchr.
3200 * benchtests/bench-memrchr-ifunc.c: New file.
3201 * benchtests/bench-memrchr.c: New file.
3202
bbf6e8e4
WN
32032013-09-06 Will Newton <will.newton@linaro.org>
3204
3205 * benchtests/Makefile (string-bench): Add memcpy.
3206
6c82a2f8
CD
32072013-09-05 Carlos O'Donell <carlos@redhat.com>
3208 Cong Wang <amwang@redhat.com>
3209
3210 * sysdeps/unix/sysv/linux/bits/in.h
3211 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3212 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3213 before __USE_KERNEL_IPV6_DEFS uses.
3214 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3215 IPPROTO_BEETPH.
3216 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3217 sockaddr_in6, or ipv6_mreq.
3218
5430fc65
AZ
32192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3220
3221 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3222 memory access for final bytes in some large inputs.
3223 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3224
4660856c
AZ
32252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3226
3227 * string/test-memrchr.c: New file.
3228 * string/test-memrchr-ifunc.c: New file.
3229 * string/Makefile: Add new memrchr testcase.
3230
bb8ea713
MF
32312013-09-05 Mike Frysinger <vapier@gentoo.org>
3232
3233 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3234 fanotify_init returns EPERM.
3235
b92a20b5
JM
32362013-09-04 Joseph Myers <joseph@codesourcery.com>
3237
3238 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3239 errors.
3240 (top level): Treat second token from macro or constant entries for
3241 allowed headers as allowed.
3242 * include/complex.h: Condition internal declarations on
3243 [!_ISOMAC].
3244 * include/fenv.h: Condition include of <stdbool.h> and internal
3245 declarations on [!_ISOMAC].
7447ccd9
CL
3246
32472013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3248
3e181dda 3249 [BZ #15923]
7447ccd9
CL
3250 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3251
3f2e46a4
JM
32522013-09-04 Joseph Myers <joseph@codesourcery.com>
3253
3254 * configure.in (--enable-versioning): Remove configure option.
3255 (libc_cv_asm_symver_directive): Remove configure test.
3256 (libc_cv_ld_version_script_option): Likewise.
3257 (VERSIONING): Remove variable and AC_SUBST.
3258 (DO_VERSIONING): Remove AC_DEFINE.
3259 * configure: Regenerated.
3260 * config.h.in (DO_VERSIONING): Remove macro.
3261 * Makerules [$(versioning) = yes]: Change conditionals to
3262 [$(build-shared) = yes].
3263 * config.make.in (versioning): Remove variable.
3264 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3265 [$(build-shared) = yes].
3266 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3267 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3268 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3269 [$(build-shared) = yes].
3270 * extra-lib.mk [$(versioning) = yes]: Likewise.
3271 * hurd/Makefile [$(versioning) = yes]: Likewise.
3272 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3273 [SHARED].
3274 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3275 [SHARED].
3276 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3277 [SHARED && !NO_HIDDEN].
3278 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3279 [SHARED].
3280 [SHARED && DO_VERSIONING]: Likewise..
3281 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3282 [$(build-shared) = yes].
3283 * manual/install.texi (--disable-versioning): Remove
3284 documentation.
3285 * INSTALL: Regenerated.
3286 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3287 to [SHARED].
3288 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3289 [$(build-shared) = yes].
3290 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3291 * sysdeps/i386/i686/multiarch/strstr-c.c
3292 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3293 [SHARED && !NO_HIDDEN].
3294 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3295 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3296 * sysdeps/powerpc/powerpc32/dl-machine.c
3297 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3298 * sysdeps/powerpc/powerpc32/sysdep.h
3299 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3300 to [SHARED && PIC && !NO_HIDDEN].
3301 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3302 conditional to [SHARED].
3303
44558701
WN
33042013-09-04 Will Newton <will.newton@linaro.org>
3305
3306 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3307 * benchtests/bench-string.h: Include bench-timing.h instead
3308 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3309 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3310 call to HP_TIMING_DIFF_INIT.
3311 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3312 instead of hp-timing.h macros.
3313 * benchtests/bench-memchr.c: Likewise.
3314 * benchtests/bench-memcmp.c: Likewise.
3315 * benchtests/bench-memcpy.c: Likewise.
3316 * benchtests/bench-memmem.c: Likewise.
3317 * benchtests/bench-memmove.c: Likewise.
3318 * benchtests/bench-memset.c: Likewise.
3319 * benchtests/bench-rawmemchr.c: Likewise.
3320 * benchtests/bench-strcasecmp.c: Likewise.
3321 * benchtests/bench-strcasestr.c: Likewise.
3322 * benchtests/bench-strcat.c: Likewise.
3323 * benchtests/bench-strchr.c: Likewise.
3324 * benchtests/bench-strcmp.c: Likewise.
3325 * benchtests/bench-strcpy.c: Likewise.
3326 * benchtests/bench-strcpy_chk.c: Likewise.
3327 * benchtests/bench-strlen.c: Likewise.
3328 * benchtests/bench-strncasecmp.c: Likewise.
3329 * benchtests/bench-strncat.c: Likewise.
3330 * benchtests/bench-strncmp.c: Likewise.
3331 * benchtests/bench-strncpy.c: Likewise.
3332 * benchtests/bench-strnlen.c: Likewise.
3333 * benchtests/bench-strpbrk.c: Likewise.
3334 * benchtests/bench-strrchr.c: Likewise.
3335 * benchtests/bench-strspn.c: Likewise.
3336 * benchtests/bench-strstr.c: Likewise.
3337
cae16d66
WN
33382013-09-04 Will Newton <will.newton@linaro.org>
3339
3340 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3341
ffa3cd7f
JM
33422013-09-03 Joseph Myers <joseph@codesourcery.com>
3343
3344 [BZ #15427]
3345 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3346 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3347 * math/libm-test.inc (lgamma_test_data): Add more tests.
3348 * sysdeps/i386/fpu/libm-test-ulps: Update.
3349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3350
8f02859f
OB
33512013-09-03 Ondřej Bílka <neleai@seznam.cz>
3352
3353 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3355 Add ifunc.
3356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3357 Add strcmp-sse2-unaligned
3358 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3359
18d43716
MF
33602013-09-02 Mike Frysinger <vapier@gentoo.org>
3361
3362 * Versions.def (libc): Add GLIBC_2.19.
3363
ac444012
MF
33642013-09-02 Mike Frysinger <vapier@gentoo.org>
3365
3366 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3367 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3368
b7835e32
JM
33692013-09-02 Joseph Myers <joseph@codesourcery.com>
3370
3371 [BZ #14155]
3372 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3373 intermediate calculations in recurrence.
3374 (__ieee754_ynf): Likewise.
3375 * math/libm-test.inc (jn_test_data): Do not allow spurious
3376 underflow exception. Add more tests.
3377 (yn_test_data): Add more tests.
3378 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3380
8220f4f0
OB
33812013-09-02 Ondřej Bílka <neleai@seznam.cz>
3382
3383 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3384
f24a6d08
OB
33852013-08-30 Ondřej Bílka <neleai@seznam.cz>
3386
3387 * csu/init-first.c: Fix then/than typos.
3388 * locale/programs/ld-collate.c: Likewise.
3389 * locale/programs/linereader.h: Likewise.
3390 * manual/charset.texi: Likewise.
3391 * manual/filesys.texi: Likewise.
3392 * manual/stdio.texi: Likewise.
3393 * manual/string.texi: Likewise.
3394 * stdlib/fmtmsg.c: Likewise.
3395 * sysdeps/i386/stpncpy.S: Likewise.
3396 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3397 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3398 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3399 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3400
382466e0
OB
34012013-08-30 Ondřej Bílka <neleai@seznam.cz>
3402
3403 * elf/dl-open.c: Fix typos.
3404 * iconvdata/gbbig5.c: Likewise.
3405 * iconvdata/iso-2022-jp.c: Likewise.
3406 * iconv/gconv_int.h: Likewise.
3407 * iconv/loop.c: Likewise.
3408 * nis/rpcsvc/nis.h: Likewise.
3409 * resolv/ns_name.c: Likewise.
3410 * stdio-common/vfscanf.c: Likewise.
3411 * streams/stropts.h: Likewise.
3412 * sunrpc/rpc_thread.c: Likewise.
3413 * sysdeps/i386/strpbrk.S: Likewise.
3414 * sysdeps/ieee754/k_standard.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3417 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3418 * sysdeps/mach/hurd/profil.c: Likewise.
3419 * sysdeps/s390/dl-procinfo.h: Likewise.
3420 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3421 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3422 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3423 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3424 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3425
0186c6e9
OB
34262013-08-30 Ondřej Bílka <neleai@seznam.cz>
3427
3428 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3430
d4e16af1
OB
34312013-08-29 Ondřej Bílka <neleai@seznam.cz>
3432
3433 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3434 aix specific files.
3435 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3437 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3438 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3441 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3442 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3443
88335980
TS
34442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3445 Roland McGrath <roland@hack.frob.com>
3446
3447 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3448 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3449
ed479b02
ST
34502013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3451
3452 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3453 __executable_start symbol instead of _start.
3454
f1cc4c86
TS
34552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3456
d821f07c
TS
3457 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3458 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3459 Move macros to...
3460 * sysdeps/gnu/ldsodefs.h: ... this new file.
3461
c54290cf
TS
3462 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3463 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3464 instead of ELFOSABI_LINUX.
3465
0007fc9b 3466 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3467 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3468 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3469 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3470 Likewise.
3471 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3472 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3473 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3474 Likewise.
3475 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3476 (ibm_extended_long_double): Add ieee_nan member.
3477 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3478 (do_test): New function.
3479
f1cc4c86
TS
3480 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3481 TEST_TRUNC.
3482 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3483 functions, renamed from truncdfsf_test, trunctfsf_test,
3484 trunctfdf_test.
3485 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3486 functions.
3487 (do_test): Run all these.
3488
6f65e668
OB
34892013-08-29 Ondřej Bílka <neleai@seznam.cz>
3490
3491 * argp/argp-help.c: Fix typos.
3492 * argp/argp-parse.c: Likewise.
3493 * debug/backtracesyms.c: Likewise.
3494 * elf/elf.h: Likewise.
3495 * malloc/malloc.c: Likewise.
3496 * nis/nis_print.c: Likewise.
3497 * resolv/res_comp.c: Likewise.
3498 * stdlib/stdlib.h: Likewise.
3499 * sunrpc/clnt_tcp.c: Likewise.
3500 * sunrpc/clnt_udp.c: Likewise.
3501 * sunrpc/clnt_unix.c: Likewise.
3502 * sysdeps/unix/bsd/ptsname.c: Likewise.
3503 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3504 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3506 Likewise.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3508 Likewise.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3510 Likewise.
6f65e668
OB
3511 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3512
3a309239
SP
35132013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3514
3515 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3517
3b813b29
MF
35182013-08-27 Mike Frysinger <vapier@gentoo.org>
3519
3520 [BZ #15897]
3521 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3522 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3523 ($(objpfx)bug-dl-leaf): New rule.
3524 ($(objpfx)bug-dl-leaf.so): Likewise.
3525 ($(objpfx)bug-dl-leaf.out): Likewise.
3526 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3527 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3528 * dlfcn/bug-dl-leaf.c: New test.
3529 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3530 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3531 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3532 (dlclose): Likewise.
3533 (dlmopen): Likewise.
3534
8cc3269f
RM
35352013-08-27 Roland McGrath <roland@hack.frob.com>
3536
7f9d0034
RM
3537 * include/netdb.h [!_ISOMAC]:
3538 Don't include <tls.h>.
3539 (h_errno, __libc_h_errno): Move declaration and macros out of
3540 [_LIBC_REENTRANT].
3541
fb431262
RM
3542 * include/resolv.h [_RESOLV_H_]:
3543 Don't include <tls.h>.
3544 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3545 * resolv/res_libc.c: Don't include <tls.h>.
3546 (_res): Use __attribute__ ((nocommon)) in place of
3547 __attribute__ ((section (".bss"))).
3548
bd81123a
RM
3549 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3550 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3551
c4e42566
RM
3552 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3553
f890a59b
RM
3554 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3555 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3556
3557 * resolv/res_mkquery.c: Include <sys/time.h>.
3558
5d1f0a09
RM
3559 * inet/ifreq.c: Moved to ...
3560 * sysdeps/unix/ifreq.c: ... here.
3561 * inet/ifreq.c: New file, true stub version.
3562
6fcf28b3
RM
3563 * socket/sa_len.c: New file.
3564 * socket/Makefile (aux): Add it.
3565 * sysdeps/unix/sysv/linux/Makefile
3566 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3567 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3568 and #include <socket/sa_len.c>.
3569 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3570 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3571
e041fb8b
RM
3572 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3573 * bits/socket.h: ... here.
3574
8cc3269f
RM
3575 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3576 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3577 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3578
5d228a43
AS
35792013-08-27 Andreas Schwab <schwab@suse.de>
3580
45b8accc
AS
3581 [BZ #15736]
3582 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3583 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3584 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3585 * string/test-strcasecmp.c (test_main): Run tests in several
3586 locales.
3587 * string/test-strncasecmp.c (test_main): Likewise.
3588
5d228a43
AS
3589 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3590 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3591 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3593 (__strncasecmp_ssse3) [PIC]: Likewise.
3594
59d112a4
RM
35952013-08-26 Roland McGrath <roland@hack.frob.com>
3596
53234cc3
RM
3597 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3598
59d112a4
RM
3599 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3600 instead of explicitly declaring xdecrypt.
3601 * nis/nss_nis/nis-publickey.c: Likewise.
3602
595aba70
SP
36032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3604
3605 [BZ #15890]
3606 * nscd/aicache.c: Include res_hconf.h.
3607 (addhstaiX): Initialize res_hconf.
3608
ffabd393
AS
36092013-08-26 Andreas Schwab <schwab@suse.de>
3610
3611 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3612 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3613
e0a69f5c
SP
36142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 * nscd/aicache.c (addhstaiX): Fix indentation.
3617
8c12f01d
MF
36182013-08-25 Mike Frysinger <vapier@gentoo.org>
3619
3620 * configure.ac: Quote $build_pt_chown test.
3621 * configure: Regenerated.
3622
8fe89494
JM
36232013-08-23 Joseph Myers <joseph@codesourcery.com>
3624
3625 [BZ #15532]
3626 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3627 * math/s_cexpf.c (__cexpf): Likewise.
3628 * math/s_cexpl.c (__cexpl): Likewise.
3629 * math/libm-test.inc (cexp_test_data): Correct expected return
3630 value for NaN + i0. Add another test.
3631
75b181d6
DM
36322013-08-22 David S. Miller <davem@davemloft.net>
3633
3634 * po/ca.po: Update Catalan translation from translation project.
936241e4 3635 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3636
acd06bb1
JM
36372013-08-21 Joseph Myers <joseph@codesourcery.com>
3638
3639 [BZ #15797]
3640 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3641 is infinite, not alongside NaN test.
3642 * math/s_fdimf.c (__fdimf): Likewise.
3643 * math/s_fdiml.c (__fdiml): Likewise.
3644 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3645 errno is unchanged.
3646
c0c3f78a
OB
36472013-08-21 Ondřej Bílka <neleai@seznam.cz>
3648
3649 * argp/argp-help.c: Fix typos.
3650 * crypt/speeds.c: Likewise.
3651 * csu/check_fds.c: Likewise.
3652 * elf/dl-load.c: Likewise.
3653 * elf/dl-open.c: Likewise.
3654 * elf/reldep3.c: Likewise.
3655 * elf/reldep.c: Likewise.
3656 * elf/sprof.c: Likewise.
3657 * iconv/iconv_charmap.c: Likewise.
3658 * iconv/skeleton.c: Likewise.
3659 * iconv/strtab.c: Likewise.
3660 * io/lockf64.c: Likewise.
3661 * libio/libioP.h: Likewise.
3662 * resolv/gai_notify.c: Likewise.
3663 * resolv/ns_name.c: Likewise.
3664 * resolv/ns_samedomain.c: Likewise.
3665 * resolv/res_send.c: Likewise.
3666 * stdlib/random.c: Likewise.
3667 * sunrpc/rpc/xdr.h: Likewise.
3668 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3669 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3676 * sysdeps/mach/hurd/check_fds.c: Likewise.
3677 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3678 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3679 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3680 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3681 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3682 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3683 * sysdeps/pthread/aio_notify.c: Likewise.
3684 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3685 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3686 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3687 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3688 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3689
46ed1038
LD
36902013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3691
3692 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3693 version if bit_Slow_SSE4_2 is set.
3694 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3696
d400dcac
AZ
36972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3698
3699 [BZ #15867]
3700 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3701 trampoline stack frame information.
3702 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3704 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3705 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3706 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3707 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3708 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3709 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3710 sa_flags value.
3711 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3712 interrupting a syscall and set with option SA_SIGINFO.
3713
42c8fdd8
JM
37142013-08-20 Joseph Myers <joseph@codesourcery.com>
3715
c980f2f4
JM
3716 [BZ #15531]
3717 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3718 argument is infinite.
3719 * math/s_cprojf.c (__cprojf): Likewise.
3720 * math/s_cprojl.c (__cprojl): Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3722 * math/libm-test.inc (cproj_test_data): Add more tests.
3723
0716c4fc
JM
3724 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3725
42c8fdd8
JM
3726 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3727 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3728 size. Use __ffs to determine corresponding shift.
3729
b31469d0
JM
37302013-08-20 Joseph Myers <joseph@codesourcery.com>
3731 Roland McGrath <roland@hack.frob.com>
3732
3733 * Makefile (INSTALL): Remove trailing blank lines from output of
3734 makeinfo.
3735
4e39af6e
AK
37362013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3737
3738 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3739 Align 32 bit compat elf_greg to 8 bytes.
3740
f315524e
AA
37412013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3742
3743 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3744
1326ba1a
SP
37452013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3746
3747 * string/strcoll_l.c (coll_seq): New structure.
3748 (get_next_seq_cached): New function.
3749 (get_next_seq): New function.
3750 (do_compare): New function.
3751 (STRCOLL): Use GNU style definition. Simplify implementation
3752 by using get_next_seq, get_next_seq_cached and do_compare.
3753
91ce4085
FW
37542013-08-16 Florian Weimer <fweimer@redhat.com>
3755
3756 [BZ #14699]
3757 CVE-2013-4237
3758 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3759 member.
3760 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3761 member.
3762 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3763 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3764 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3765 conditional.
3766 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3767 GETDENTS_64BIT_ALIGNED.
3768 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3769 * manual/filesys.texi (Reading/Closing Directory): Document
3770 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3771 strongly.
3772 * manual/conf.texi (Limits for Files): Add portability note to
3773 NAME_MAX, PATH_MAX.
3774 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3775
ca0a6bc4
AS
37762013-08-13 Andreas Schwab <schwab@suse.de>
3777
3778 [BZ #15749]
3779 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3780 of fabs.
3781 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3782 LDBL_MAX_EXP >= 16384]: Add tests for it.
3783
6c1fd795
DM
37842013-08-12 David S. Miller <davem@davemloft.net>
3785
3786 * version.h (RELEASE): Set to "development".
3787 (VERSION): Set to "2.18.90".
3788 * NEWS: Add 2.19 section.
3789
31ad488d
DM
37902013-08-03 David S. Miller <davem@davemloft.net>
3791
3792 * po/ko.po: Update Korean translation from translation project.
3793
db24e684
DM
37942013-08-01 David S. Miller <davem@davemloft.net>
3795
3796 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3797 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3798 Bilka.
3799
f723285b
DM
38002013-07-30 David S. Miller <davem@davemloft.net>
3801
3802 * po/fr.po: Update French translation from translation project.
3803
3cbc52db
DM
38042013-07-28 David S. Miller <davem@davemloft.net>
3805
30bbc0cc
DM
3806 * po/cs.po: Update Czech translation from translation project.
3807
3cbc52db
DM
3808 * po/sv.po: Update Swedish translation from translation project.
3809
d492e6d0
DM
38102013-07-27 David S. Miller <davem@davemloft.net>
3811
f1a7f492
DM
3812 * po/eo.po: Update Esperanto translation from translation project.
3813
90e62a4a
DM
3814 * po/vi.po: Update Vietnamese translation from translation project.
3815
d492e6d0
DM
3816 * po/de.po: Update German translation from translation project.
3817
d4baa62d
DM
38182013-07-26 David S. Miller <davem@davemloft.net>
3819
641aa7b4
DM
3820 * po/bg.po: Update Bulgarian translation from translation project.
3821
d4baa62d
DM
3822 * po/nl.po: Update Dutch translation from translation project.
3823 * po/pl.po: Update Polish translation from translation project.
3824 * po/ru.po: Update Russian translation from translation project.
3825
61a9dcb9
DM
38262013-07-24 David S. Miller <davem@davemloft.net>
3827
3828 * po/libc.pot: Update.
3829
7b1f8b58
AZ
38302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3831
3832 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3833 variable page size.
3834 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3835 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3836 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3837
a8fc7a03
AK
38382013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3839
3840 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3841
e4608715
CD
38422013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3843 Andreas Schwab <schwab@suse.de>
3844 Roland McGrath <roland@hack.frob.com>
3845 Joseph Myers <joseph@codesourcery.com>
3846 Carlos O'Donell <carlos@redhat.com>
3847
3848 [BZ #15755]
3849 * config.h.in: Define HAVE_PT_CHOWN.
3850 * config.make.in (build-pt-chown): New variable.
3851 * configure.in (--enable-pt_chown): New configure option.
3852 * configure: Regenerate.
3853 * login/Makefile: Include Makeconfig. Build pt_chown only if
3854 build-pt-chown is enabled.
3855 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3856 pt_chown to fix pty ownership.
3857 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3858 CLOSE_ALL_FDS.
3859 * manual/install.texi (Configuring and compiling): Mention
3860 --enable-pt_chown. Add @findex for grantpt.
3861 * INSTALL: Regenerate.
3862
da2d62df
DM
38632013-07-20 David S. Miller <davem@davemloft.net>
3864
3865 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3866 difference between 32-bit and 64-bit.
3867
d7e06450
CD
38682013-07-15 Carlos O'Donell <carlos@redhat.com>
3869
3870 [BZ #15711]
3871 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3872 Avoid system header dependency with -ffreestanding.
3873 ($(objpfx)bits/syscall%d): Likewise.
3874
f959cfd7
DM
38752013-07-13 David S. Miller <davem@davemloft.net>
3876
3877 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3878 underflows from atanl/atan2l due to bug 15319.
3879 (casinh_test_data): Likewise.
3880
c61f8513
DM
38812013-07-07 David S. Miller <davem@davemloft.net>
3882
3883 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3884
72c90ed0
JA
38852013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3886
3887 * sysdeps/i386/fpu/libm-test-ulps: Update.
3888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3889
52dfbe13
SP
38902013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3891
3892 * configure.in (--enable-lock-elision): Fix message text.
3893 * INSTALL: Regenerate.
3894 * configure: Regenerate.
3895
3f169543
AZ
38962013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3897
3898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3899
521c6785
AJ
39002013-07-03 Andreas Jaeger <aj@suse.de>
3901
3902 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3903 define.
3904 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3905 (ptrace_peeksiginfo_args): Add.
3906 (__ptrace_peeksiginfo_flags): Add.
3907 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3909 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3910
d2cc15cb
AM
39112013-07-03 Allan McRae <allan@archlinux.org>
3912
3913 * sysdeps/i386/fpu/libm-test-ulps: Update.
3914
3aaeeca7
DM
39152013-07-02 David S. Miller <davem@davemloft.net>
3916
3917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3918
5314ed1a
MT
39192013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3920
3921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3922
67338156
JM
39232013-07-02 Joseph Myers <joseph@codesourcery.com>
3924
3925 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927
1717da59
AK
39282013-07-02 Andi Kleen <ak@linux.intel.com>
3929
3930 * config.h.in (ENABLE_LOCK_ELISION): Add.
3931 * configure.in (--enable-lock-elision): Add option.
3932 * manual/install.texi: Document --enable lock elision.
3933 * configure: Regenerate
3934 * INSTALL: Regenerate.
3935
1c81621c
L
39362013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3939 SSE4.2 strcasecmp for libc.a.
3940 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3941
77f01ab5
JM
39422013-07-02 Joseph Myers <joseph@codesourcery.com>
3943
3944 [BZ #13304]
3945 * soft-fp/op-common.h (_FP_FMA): New macro.
3946 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3947 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3948 (_FP_MUL_MEAT_1_imm): ... here.
3949 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3950 (_FP_MUL_MEAT_1_wide): ... here.
3951 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3952 (_FP_MUL_MEAT_1_hard): ... here.
3953 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3954 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3955 (_FP_MUL_MEAT_2_wide): ... here.
3956 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3957 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3958 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3959 (_FP_MUL_MEAT_2_gmp): ... here.
3960 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3961 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3962 (_FP_MUL_MEAT_4_wide): ... here.
3963 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3964 (_FP_MUL_MEAT_4_gmp): ... here.
3965 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3966 (_FP_WFRACBITS_DW_S): Likewise.
3967 (_FP_WFRACXBITS_DW_S): Likewise.
3968 (_FP_HIGHBIT_DW_S): Likewise.
3969 (FP_FMA_S): Likewise.
3970 (_FP_FRAC_HIGH_DW_S): Likewise.
3971 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3972 (_FP_WFRACBITS_DW_D): Likewise.
3973 (_FP_WFRACXBITS_DW_D): Likewise.
3974 (_FP_HIGHBIT_DW_D): Likewise.
3975 (FP_FMA_D): Likewise.
3976 (_FP_FRAC_HIGH_DW_D): Likewise.
3977 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3978 (_FP_WFRACBITS_DW_E): Likewise.
3979 (_FP_WFRACXBITS_DW_E): Likewise.
3980 (_FP_HIGHBIT_DW_E): Likewise.
3981 (FP_FMA_E): Likewise.
3982 (_FP_FRAC_HIGH_DW_E): Likewise.
3983 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3984 (_FP_WFRACBITS_DW_Q): Likewise.
3985 (_FP_WFRACXBITS_DW_Q): Likewise.
3986 (_FP_HIGHBIT_DW_Q): Likewise.
3987 (FP_FMA_Q): Likewise.
3988 (_FP_FRAC_HIGH_DW_Q): Likewise.
3989 * soft-fp/fmasf4.c: New file.
3990 * soft-fp/fmadf4.c: Likewise.
3991 * soft-fp/fmatf4.c: Likewise.
3992
6308fd9a
LD
39932013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3994
3995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3996 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3997 Silvermont.
3998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3999 macro.
4000 (index_Slow_SSE4_2): Likewise.
4001 (index_Prefer_PMINUB_for_stringop): Likewise.
4002 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4003 bit_Slow_SSE4_2 is set.
4004 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4005 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4006
89cd9569
RA
40072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4008
4009 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4010 rtld_global._dl_hwcap2.
4011 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4012 POWER8.
4013 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4014 POWER8 feature descriptions defined in _dl_hwcap2.
4015 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4016 string handling for POWER8 feature bits.
4017 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4018 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4019 _dl_powerpc_cap_flags.
4020 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4021 * sysdeps/powerpc/rtld-global-offsets.sym
4022 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4023 _dl_hwcap2 in the rtld_global_ro structure.
4024
1ae8bfe0
RA
40252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4026
4027 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4028 hardware capabilities in support of AT_HWCAP2.
4029 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4030 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4031 GLRO(dl_hwcap2).
4032 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4033 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4034 explicitly the unknown a_type display mechanism is used.
4035 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4036 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4037 struct member.
4038 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4039 to macro prototype for AT_HWCAP2 support.
4040 * sysdeps/i386/dl-procinfo.h: Likewise.
4041 * sysdeps/s390/dl-procinfo.h: Likewise.
4042 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4043 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4044 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4045 return -1 for unknown a_type display fallback.
4046 * sysdeps/sparc/dl-procinfo.h: Likewise.
4047 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4048 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4049
8fbec010
JM
40502013-06-28 Joseph Myers <joseph@codesourcery.com>
4051
4052 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4053 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4054
0432680e
PY
40552013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4056
4057 [BZ #12492]
4058 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4059 mprotect making __stack_prot writable.
4060
ce61a2ad
NF
40612013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4062 Joseph Myers <joseph@codesourcery.com>
4063
4064 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4065 as being properly aligned.
4066
f91f1c0f
MR
40672013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4068
3d0f5d0c
MR
4069 * dlfcn/modstatic5.c: New file.
4070 * dlfcn/tststatic5.c: New file.
4071 * dlfcn/Makefile (tests): Add tststatic5.
4072 (tests-static): Likewise.
4073 (modules-names): Add modstatic5.
4074 (tststatic5-ENV): New variable.
4075 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4076
f91f1c0f
MR
4077 [BZ #15022]
4078 * elf/dl-support.c (_dl_main_map): New variable.
4079 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4080 (_dl_nns, _dl_load_adds): Set to 1.
4081 (_dl_initial_searchlist): Refer to _dl_main_map.
4082 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4083 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4084 call to _dl_get_origin.
4085 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4086 around call_map.
4087 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4088 * dlfcn/modstatic3.c: New file.
4089 * dlfcn/tststatic3.c: New file.
4090 * dlfcn/tststatic4.c: New file.
4091 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4092 (tests-static): Likewise.
4093 (modules-names): Add modstatic3.
4094 (tststatic3-ENV, tststatic4-ENV): New variables.
4095 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4096 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4097
cbe7d24b
JM
40982013-06-26 Joseph Myers <joseph@codesourcery.com>
4099
4100 * configure.in (CC): Require GCC version 4.4 or later.
4101 * configure: Regenerated.
4102 * manual/install.texi (Tools for Compilation): Update GCC version
4103 requirement.
4104 * INSTALL: Regenerated.
4105
11b8a0e1
LD
41062013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4107
4108 [BZ #15674]
bb5bb87c
L
4109 * string/test-memcmp.c (check2): New.
4110 (main): Call check2.
4111
11b8a0e1
LD
4112 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4113
b0037103
MR
41142013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4115
4116 [BZ #15022]
4117 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4118 over to...
4119 (dl_open_worker) [!SHARED]: ... here.
4120
c18c701d
RA
41212013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4122
4123 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4124
1d17fa5f
RH
41252013-06-25 Richard Henderson <rth@redhat.com>
4126
4127 * locale/programs/locarchive.c: Include <libc-internal.h>
4128
8fcb833a
JM
41292013-06-25 Joseph Myers <joseph@codesourcery.com>
4130
4131 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4132 trailing whitespace removed.
4133
17db6e8d
MF
41342013-06-24 Mike Frysinger <vapier@gentoo.org>
4135
4136 [BZ #10283]
17db6e8d
MF
4137 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4138 * locale/programs/locarchive.c: Include libc-mmap.h.
4139 (prepare_address_space): Take two new outputs (the mmap base and len).
4140 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4141 values.
4142 (create_archive): Declare new mmap base and len values for
4143 prepare_address_space, and store the result in ah.
4144 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4145 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4146 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4147 Declare new mmap base and len values for
4148 prepare_address_space, and store the result in new_ah.
4149 (open_archive): Declare new mmap base and len values for
4150 prepare_address_space, and store the result in ah.
4151 (close_archive): If ah->mmap_base is not NULL, use that and
4152 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4153 * sysdeps/generic/libc-mmap.h: New file.
4154
d605071e
MF
41552013-06-24 Mike Frysinger <vapier@gentoo.org>
4156
4157 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4158 (ALIGN_UP): Likewise.
4159 (PTR_ALIGN_DOWN): Likewise.
4160 (PTR_ALIGN_UP): Likewise.
4161
2f063a6e
RA
41622013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4163
4164 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4165 entry mapped to PPC_PLATFORM_POWER8.
4166 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4167 POWER8.
4168 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4169 (_dl_string_platform): Add case for exporting platform position for
4170 POWER8.
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4172 search path to sysdeps/powerpc/powerpc32/power8 directory.
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4174 search path to sysdeps/powerpc/powerpc64/power8 directory.
4175 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4176 power7 directories.
4177 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4178 power7 directories.
4179
a31ee4b3
SP
41802013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4181
a74ca98f
SP
4182 * INSTALL: Regenerate.
4183
a31ee4b3
SP
4184 * nscd/connections.c (nscd_init): Fix comment.
4185
695c378f
JM
41862013-06-22 Joseph Myers <joseph@codesourcery.com>
4187
d8412221
JM
4188 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4189
695c378f
JM
4190 [BZ #15667]
4191 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4192 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4193
d1d54715
MR
41942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4195
4196 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4197 DL_DST_REQ_STATIC.
4198 (DL_DST_REQ_STATIC): Remove macro.
4199
8fdda7af
JM
42002013-06-21 Joseph Myers <joseph@codesourcery.com>
4201
4202 [BZ #7006]
4203 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4204 with a shift of 0 bits.
4205
f3bc5e5a
MR
42062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4207
4208 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4209 $(tststatic-ENV).
4210
be09e8c9
KK
42112013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4212
4213 [BZ #15655]
4214 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4215
85c2e611
AZ
42162013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4217
4218 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4219 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4220 accepts -fno-tree-loop-distribute-patterns.
4221 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4222 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4223 recursive call.
4224 * string/memset.c (memset): Likewise.
4225 * string/test-memmove.c (simple_memmove): Disable loop transformation
4226 to library calls.
4227 * string/test-memset.c (simple_memset): Likewise.
4228 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4229 * benchtests/bench-memset.c (simple_memset): Likewise.
4230 * configure: Regenerated.
4231
c91e0825
JM
42322013-06-20 Joseph Myers <joseph@codesourcery.com>
4233
b8c792af
JM
4234 * math/test-misc.c (main): Ignore fesetround failure when failures
4235 of subsequent rounding tests would be ignored.
4236
c91e0825
JM
4237 [BZ #15654]
4238 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4239 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4240 * math/fegetenv.c (__fegetenv): Return 0.
4241 * math/fegetexcept.c (fegetexcept): Return 0.
4242 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4243 FE_TONEAREST.
4244 * math/feholdexcpt.c (feholdexcept): Return 0.
4245 * math/fesetenv.c (__fesetenv): Return 0.
4246 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4247 argument FE_TONEAREST.
4248 * math/feupdateenv.c (__feupdateenv): Return 0.
4249 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4250
bfcacbde
RM
42512013-06-18 Roland McGrath <roland@hack.frob.com>
4252
4253 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4254 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4255 ($(objpfx)rtld-%.os rules): Use them.
4256
e55a9b25
AZ
42572013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4258
4259 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4260 fields.
4261
346d65b3
RM
42622013-06-17 Roland McGrath <roland@hack.frob.com>
4263
12086fb4
RM
4264 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4265 length of target pattern, then descending length of dependency pattern.
4266 * configure.in (AWK): Require gawk 3.1.2 or newer.
4267 * manual/install.texi (Tools for Compilation): Say that we do.
4268 * configure: Regenerated.
4269
346d65b3
RM
4270 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4271 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4272 * scripts/sysd-rules.awk: ... this new script.
4273 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4274 than a glob-style pattern.
4275
1a846317
JM
42762013-06-17 Joseph Myers <joseph@codesourcery.com>
4277
4278 * math/test-misc.c (main): Do not treat incorrectly rounded
4279 conversions as failure unless ROUNDING_TESTS passes.
4280
8fc75e6f
JM
42812013-06-15 Joseph Myers <joseph@codesourcery.com>
4282
3711a167
JM
4283 [BZ #15631]
4284 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4285 restore exception state around main square root computation, then
4286 check for inexactness explicitly.
4287
8fc75e6f
JM
4288 * math/libm-test.inc (fma_test_data): Add another test.
4289
61dd6208
SP
42902013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4291
adf23d2c
SP
4292 * manual/threads.texi (Non-POSIX Extensions): New document
4293 node. Document pthread_getattr_default_np and
4294 pthread_setattr_default_np.
4295
61dd6208
SP
4296 * Versions.def (libpthread): Add GLIBC_2.18.
4297 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4299 Likewise.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4301 Likewise.
4302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4303 Likewise.
4304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4305 Likewise.
4306 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4307 Likewise.
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4309 Likewise.
4310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4311 Likewise.
4312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4313 Likewise.
4314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4315 Likewise.
4316
d086fc7b
LD
43172013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4318
4319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4320 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4321
747ef469
SP
43222013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4323 H.J. Lu <hjl.tools@gmail.com>
4324
4325 [BZ #15627]
4326 * sysdeps/x86_64/rtld-memset.c: Remove file.
4327 * sysdeps/x86_64/rtld-memset.S: New file.
4328
1b2feed2
JM
43292013-06-14 Joseph Myers <joseph@codesourcery.com>
4330
4331 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4332 (test_in_one_mode): Take arguments for whether the rounding mode
4333 is supported for each floating-point type.
4334 (do_test): Pass new arguments to test_in_one_mode using
4335 ROUNDING_TESTS.
4336
a58ad3f8
RM
43372013-06-13 Roland McGrath <roland@hack.frob.com>
4338
4339 * posix/tst-waitid.c (do_test): Distinguish different instances of
4340 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4341 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4342 before entering the kernel for waitpid.
4343
c204ab28
SP
43442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4345
4346 * NEWS: Fix note on clock function precision. Text by Roland
4347 McGrath.
4348
f4a29fba
RM
43492013-06-13 Roland McGrath <roland@hack.frob.com>
4350
4351 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4352 it into place only when and if the sanity check passes.
4353
1f24b9ad
JM
43542013-06-13 Joseph Myers <joseph@codesourcery.com>
4355
4356 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4357 output for whether conversion result is exact. Take argument
4358 indicating whether type is IBM long double.
4359 (round_for_all): Change need_exact field to ibm_ld.
4360 * stdlib/tst-strtod-round.c (struct exactness): New type.
4361 (struct test): Change bool ld_ok field to struct exactness exact.
4362 (TEST): Update all definitions for change to field.
4363 (tests): Regenerate array contents.
4364 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4365 field value. Check for IBM long double here.
4366 (do_test): Update calls to test_in_one_mode.
4367
58206c68
SP
43682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4369
4370 [BZ #12515]
4371 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4372 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4373
2d6f4c5b 43742013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4375
4376 [BZ #15605]
4377 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4378 generated by the compiler on loop optimizations.
4379 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4380 general definitions.
4381
94f2c076
JM
43822013-06-12 Joseph Myers <joseph@codesourcery.com>
4383
4384 * math/bug-nextafter.c: Include <math-tests.h>.
4385 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4386 the relevant type.
4387 * math/bug-nexttoward.c: Include <math-tests.h>.
4388 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4389 the relevant type.
4390 * math/test-misc.c: Include <math-tests.h>.
4391 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4392 the relevant type.
4393
e0e50a0a
AJ
43942013-06-12 Andreas Jaeger <aj@suse.de>
4395
4396 * po/ia.po: Update Interlingua translation from translation
4397 project.
4398
25061094
SP
43992013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4400
4401 * include/fenv.h: Include stdbool.h.
4402 (struct rm_ctx): New structure.
4403 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4404 Define macro.
4405 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4406 (SET_RESTORE_ROUNDF): Likewise.
4407 (SET_RESTORE_ROUNDL): Likewise.
4408 (SET_RESTORE_ROUND_NOEX): Likewise.
4409 (SET_RESTORE_ROUND_NOEXF): Likewise.
4410 (SET_RESTORE_ROUND_NOEXL): Likewise.
4411 (SET_RESTORE_ROUND_53BIT): Likewise.
4412 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4413 (libc_feresetround_noexf_ctx): Likewise.
4414 (libc_feresetround_noexl_ctx): Likewise.
4415 (libc_feholdsetround_53bit_ctx): Likewise.
4416 (libc_feresetround_53bit_ctx): Likewise.
4417 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4418 (libc_feholdexcept_setround_sse_ctx): New function.
4419 (libc_fesetenv_sse_ctx): Likewise.
4420 (libc_feupdateenv_sse_ctx): Likewise.
4421 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4422 (libc_feholdexcept_setround_387_ctx): Likewise.
4423 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4424 (libc_feholdsetround_387_prec_ctx): Likewise.
4425 (libc_feholdsetround_387_ctx): Likewise.
4426 (libc_feholdsetround_387_53bit_ctx): Likewise.
4427 (libc_feholdsetround_sse_ctx): Likewise.
4428 (libc_feresetround_sse_ctx): Likewise.
4429 (libc_feresetround_387_ctx): Likewise.
4430 (libc_feupdateenv_387_ctx): Likewise.
4431 (libc_feholdexcept_setroundf_ctx): Define macro.
4432 (libc_fesetenvf_ctx): Likewise.
4433 (libc_feupdateenvf_ctx): Likewise.
4434 (libc_feholdsetroundf_ctx): Likewise.
4435 (libc_feresetroundf_ctx): Likewise.
4436 (libc_feholdexcept_setround_ctx): Likewise.
4437 (libc_fesetenv_ctx): Likewise.
4438 (libc_feupdateenv_ctx): Likewise.
4439 (libc_feholdsetround_ctx): Likewise.
4440 (libc_feresetround_ctx): Likewise.
4441 (libc_feholdexcept_setroundl_ctx): Likewise.
4442 (libc_feupdateenvl_ctx): Likewise.
4443 (libc_feholdsetroundl_ctx): Likewise.
4444 (libc_feresetroundl_ctx): Likewise.
4445 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4446 (libc_feresetround_53bit_ctx): Likewise.
4447
59b30555
SP
44482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4449
4450 * locale/iso-639.def: Convert to UTF-8.
4451
f1d73d30
JM
44522013-06-11 Joseph Myers <joseph@codesourcery.com>
4453
4454 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4455 (EXCEPTION_TESTS_double): Likewise.
4456 (EXCEPTION_TESTS_long_double): Likewise.
4457 (EXCEPTION_TESTS): Likewise.
4458 * math/libm-test.inc (test_exceptions): Only test exceptions if
4459 EXCEPTION_TESTS (FLOAT).
4460
94aca5e7
SP
44612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4462
4463 * benchtests/Makefile (string-bench): Add strcpy_chk and
4464 stpcpy_chk.
4465 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4466 * benchtests/bench-stpcpy_chk.c: New file.
4467 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4468 * benchtests/bench-strcpy_chk.c: New file.
4469 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4470 code.
4471 (do_test): Likewise.
4472
fac0c5f2
RA
44732013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4474
4475 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4476 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4477 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4478 with tabs where appropriate.
4479 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4480 dl-procinfo.h.
4481 [PPC_PLATFORM_PPC440]: Likewise.
4482 [PPC_PLATFORM_PPC464]: Likewise.
4483 [PPC_PLATFORM_PPC476]: Likewise.
4484 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4485 ppc464, and ppc476 platform strings merging from ports/
4486 dl-procinfo.h.
4487
f22bc486
AS
44882013-06-11 Andreas Schwab <schwab@suse.de>
4489
4490 [BZ #14991]
4491 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4492 (from_ucs4_idx): Regenerate.
4493 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4494 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4495 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4496 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4497 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4498 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4499 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4500 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4501 from FROM_LOOP and TO_LOOP specific macros.
4502 (BODY): Handle combining characters.
4503 * iconvdata/BIG5HKSCS.irreversible: Update.
4504 * iconvdata/BIG5HKSCS.precomposed: New file.
4505 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4506 characters.
4507 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4508
c1f75dc3
SP
45092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4510
4eacded2
SP
4511 * include/sys/time.h: Fix indentation and add copyright header.
4512
fec799f8
SP
4513 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4514 (do_test): Likewise.
4515 * string/test-memchr.c (do_one_test): Likewise.
4516 (do_test): Likewise.
4517 * string/test-memcmp.c (do_one_test): Likewise.
4518 (do_test): Likewise.
4519 * string/test-memcpy.c (do_one_test): Likewise.
4520 (do_test): Likewise.
4521 * string/test-memmem.c (do_one_test): Likewise.
4522 (do_test): Likewise.
4523 (do_random_tests): Likewise.
4524 * string/test-memmove.c (do_one_test): Likewise.
4525 (do_test): Likewise.
4526 * string/test-memset.c (do_one_test): Likewise.
4527 (do_test): Likewise.
4528 * string/test-rawmemchr.c (do_one_test): Likewise.
4529 (do_test): Likewise.
4530 * string/test-strcasecmp.c (do_one_test): Likewise.
4531 (do_test): Likewise.
4532 * string/test-strcasestr.c (do_one_test): Likewise.
4533 (do_test): Likewise.
4534 * string/test-strcat.c (do_one_test): Likewise.
4535 (do_test): Likewise.
4536 * string/test-strchr.c (do_one_test): Likewise.
4537 (do_test): Likewise.
4538 * string/test-strcmp.c (do_one_test): Likewise.
4539 (do_test): Likewise.
4540 * string/test-strcpy.c (do_one_test): Likewise.
4541 (do_test): Likewise.
4542 * string/test-string.h: Likewise.
4543 (test_init): Likewise.
4544 * string/test-strlen.c (do_one_test): Likewise.
4545 (do_test): Likewise.
4546 * string/test-strncasecmp.c (do_one_test): Likewise.
4547 (do_test): Likewise.
4548 * string/test-strncat.c (do_one_test): Likewise.
4549 (do_test): Likewise.
4550 * string/test-strncmp.c (do_one_test): Likewise.
4551 (do_test_limit): Likewise.
4552 (do_test): Likewise.
4553 * string/test-strncpy.c (do_one_test): Likewise.
4554 (do_test): Likewise.
4555 * string/test-strnlen.c (do_one_test): Likewise.
4556 (do_test): Likewise.
4557 * string/test-strpbrk.c (do_one_test): Likewise.
4558 (do_test): Likewise.
4559 * string/test-strrchr.c (do_one_test): Likewise.
4560 (do_test): Likewise.
4561 * string/test-strspn.c (do_one_test): Likewise.
4562 (do_test): Likewise.
4563 * string/test-strstr.c (do_one_test): Likewise.
4564 (do_test): Likewise.
4565
97020474
SP
4566 * benchtests/Makefile (string-bench): Add string benchmarks.
4567 * benchtests/bench-bcopy-ifunc.c: New file.
4568 * benchtests/bench-bcopy.c: New file.
4569 * benchtests/bench-bzero-ifunc.c: New file.
4570 * benchtests/bench-bzero.c: New file.
4571 * benchtests/bench-memccpy-ifunc.c: New file.
4572 * benchtests/bench-memccpy.c: New file.
4573 * benchtests/bench-memchr-ifunc.c: New file.
4574 * benchtests/bench-memchr.c: New file.
4575 * benchtests/bench-memcmp-ifunc.c: New file.
4576 * benchtests/bench-memcmp.c: New file.
4577 * benchtests/bench-memmem-ifunc.c: New file.
4578 * benchtests/bench-memmem.c: New file.
4579 * benchtests/bench-memmove-ifunc.c: New file.
4580 * benchtests/bench-memmove.c: New file.
4581 * benchtests/bench-mempcpy-ifunc.c: New file.
4582 * benchtests/bench-mempcpy.c: New file.
4583 * benchtests/bench-memset-ifunc.c: New file.
4584 * benchtests/bench-memset.c: New file.
4585 * benchtests/bench-rawmemchr-ifunc.c: New file.
4586 * benchtests/bench-rawmemchr.c: New file.
4587 * benchtests/bench-stpcpy-ifunc.c: New file.
4588 * benchtests/bench-stpcpy.c: New file.
4589 * benchtests/bench-stpncpy-ifunc.c: New file.
4590 * benchtests/bench-stpncpy.c: New file.
4591 * benchtests/bench-strcasecmp-ifunc.c: New file.
4592 * benchtests/bench-strcasecmp.c: New file.
4593 * benchtests/bench-strcasestr-ifunc.c: New file.
4594 * benchtests/bench-strcasestr.c: New file.
4595 * benchtests/bench-strcat-ifunc.c: New file.
4596 * benchtests/bench-strcat.c: New file.
4597 * benchtests/bench-strchr-ifunc.c: New file.
4598 * benchtests/bench-strchr.c: New file.
4599 * benchtests/bench-strchrnul-ifunc.c: New file.
4600 * benchtests/bench-strchrnul.c: New file.
4601 * benchtests/bench-strcmp-ifunc.c: New file.
4602 * benchtests/bench-strcmp.c: New file.
4603 * benchtests/bench-strcpy-ifunc.c: New file.
4604 * benchtests/bench-strcpy.c: New file.
4605 * benchtests/bench-strcspn-ifunc.c: New file.
4606 * benchtests/bench-strcspn.c: New file.
4607 * benchtests/bench-strlen-ifunc.c: New file.
4608 * benchtests/bench-strlen.c: New file.
4609 * benchtests/bench-strncasecmp-ifunc.c: New file.
4610 * benchtests/bench-strncasecmp.c: New file.
4611 * benchtests/bench-strncat-ifunc.c: New file.
4612 * benchtests/bench-strncat.c: New file.
4613 * benchtests/bench-strncmp-ifunc.c: New file.
4614 * benchtests/bench-strncmp.c: New file.
4615 * benchtests/bench-strncpy-ifunc.c: New file.
4616 * benchtests/bench-strncpy.c: New file.
4617 * benchtests/bench-strnlen-ifunc.c: New file.
4618 * benchtests/bench-strnlen.c: New file.
4619 * benchtests/bench-strpbrk-ifunc.c: New file.
4620 * benchtests/bench-strpbrk.c: New file.
4621 * benchtests/bench-strrchr-ifunc.c: New file.
4622 * benchtests/bench-strrchr.c: New file.
4623 * benchtests/bench-strspn-ifunc.c: New file.
4624 * benchtests/bench-strspn.c: New file.
4625 * benchtests/bench-strstr-ifunc.c: New file.
4626 * benchtests/bench-strstr.c: New file.
4627
c1f75dc3
SP
4628 * benchtests/Makefile: Disable parallel execution of targets.
4629 (string-bench): Add memcpy.
4630 (benchset): New variable to store a list of benchmark sets.
4631 (bench-func): Renamed from bench.
4632 (bench-set): New target.
4633 (bench): Depend on bench-func and bench-set.
4634 * benchtests/README: Add section on benchmark sets.
4635 * benchtests/bench-memcpy-ifunc.c: New file.
4636 * benchtests/bench-memcpy.c: New file.
4637 * benchtests/bench-string.h: New file.
4638
50fd745b
AS
46392013-06-11 Andreas Schwab <schwab@suse.de>
4640
4641 [BZ #15577]
4642 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4643 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4644 values in the triple.
4645 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4646 terminator in the group key.
4647
3ee7e9fe
AJ
46482013-06-11 Andreas Jaeger <aj@suse.de>
4649
4650 * po/zh_TW.po: Update Chinese (traditional) translation from
4651 translation project.
4652
89fb6835
SP
46532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4654
4655 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4656 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4657 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4658 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4659 (clock_getcpuclockid): Likewise.
4660 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4661 Add weak_alias and libc_hidden_def.
4662 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4663 * rt/clock_gettime.c (clock_gettime): Rename to
4664 __clock_gettime. Add weak_alias and libc_hidden_def.
4665 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4666 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4667 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4668 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4669 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4670 Likewise.
4671 * rt/clock_settime.c (clock_settime): Rename to
4672 __clock_settime. Add weak_alias and libc_hidden_def.
4673 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4674
0efa6f8b
JM
46752013-06-10 Joseph Myers <joseph@codesourcery.com>
4676
b8c61b4b
JM
4677 * mach/err_boot.sub: Remove trailing whitespace.
4678 * mach/err_ipc.sub: Likewise.
4679 * mach/err_mach.sub: Likewise.
4680
0efa6f8b
JM
4681 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4682 (ROUNDING_TESTS_double): Likewise.
4683 (ROUNDING_TESTS_long_double): Likewise.
4684 (ROUNDING_TESTS): Likewise.
4685 * math/libm-test.inc: Include <math-tests.h>.
4686 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4687 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4688 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4689 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4690
50b818bf
SP
46912013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4692
4693 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4694 of assigning.
4695
60d2f8f3
JM
46962013-06-08 Joseph Myers <joseph@codesourcery.com>
4697
4902d2c3
JM
4698 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4699 otherwise empty TRANS lines.
4700 * sysdeps/gnu/errlist.c: Regenerated.
4701
60d2f8f3
JM
4702 * catgets/gencat.c (error_print): Use (void) in function
4703 definition.
4704 * crypt/crypt_util.c (__init_des): Likewise.
4705 * crypt/speeds.c (Stop): Likewise.
4706 (main): Likewise.
4707 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4708 * inet/ruserpass.c (token): Likewise.
4709 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4710 * intl/localealias.c (extend_alias_table): Likewise.
4711 * intl/plural-exp.c (init_germanic_plural): Likewise.
4712 * libio/fcloseall.c (__fcloseall): Likewise.
4713 * libio/genops.c (_IO_flush_all): Likewise.
4714 (_IO_flush_all_linebuffered): Likewise.
4715 (_IO_cleanup): Likewise.
4716 (_IO_iter_begin): Likewise.
4717 (_IO_iter_end): Likewise.
4718 (_IO_list_lock): Likewise.
4719 (_IO_list_unlock): Likewise.
4720 (_IO_list_resetlock): Likewise.
4721 * libio/getchar.c (getchar): Likewise.
4722 * libio/getchar_u.c (getchar_unlocked): Likewise.
4723 * libio/getwchar.c (getwchar): Likewise.
4724 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4725 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4726 * login/getpt.c (__getpt): Likewise.
4727 * login/tst-utmp.c (main): Likewise.
4728 * malloc/hooks.c (__malloc_check_init): Likewise.
4729 * malloc/malloc.c (__malloc_stats): Likewise.
4730 * malloc/mtrace.c (tr_break): Likewise.
4731 (mtrace): Likewise.
4732 (muntrace): Likewise.
4733 * misc/fstab.c (endfsent): Likewise.
4734 * misc/getclktck.c (__getclktck): Likewise.
4735 * misc/getdtsz.c (__getdtablesize): Likewise.
4736 * misc/gethostid.c (gethostid): Likewise.
4737 * misc/getpagesize.c (__getpagesize): Likewise.
4738 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4739 (__get_nprocs): Likewise.
4740 (__get_phys_pages): Likewise.
4741 (__get_avphys_pages): Likewise.
4742 * misc/getttyent.c (getttyent): Likewise.
4743 (setttyent): Likewise.
4744 (endttyent): Likewise.
4745 * misc/getusershell.c (getusershell): Likewise.
4746 (endusershell): Likewise.
4747 (setusershell): Likewise.
4748 (initshells): Likewise.
4749 * misc/hsearch.c (__hdestroy): Likewise.
4750 * misc/sync.c (sync): Likewise.
4751 * misc/syslog.c (closelog_internal): Likewise.
4752 (closelog): Likewise.
4753 * misc/ttyslot.c (ttyslot): Likewise.
4754 * misc/vhangup.c (vhangup): Likewise.
4755 * posix/fork.c (__fork): Likewise.
4756 * posix/getegid.c (__getegid): Likewise.
4757 * posix/geteuid.c (__geteuid): Likewise.
4758 * posix/getgid.c (__getgid): Likewise.
4759 * posix/getpid.c (__getpid): Likewise.
4760 * posix/getppid.c (__getppid): Likewise.
4761 * posix/getuid.c (__getuid): Likewise.
4762 * posix/pause.c (pause): Likewise.
4763 * posix/setpgrp.c (setpgrp): Likewise.
4764 * posix/setsid.c (__setsid): Likewise.
4765 * posix/test-vfork.c (noop): Likewise.
4766 * resolv/gethnamaddr.c (_endhtent): Likewise.
4767 (_gethtent): Likewise.
4768 (ht_endhostent): Likewise.
4769 (gethostent): Likewise.
4770 (dns_service): Likewise.
4771 * stdlib/drand48.c (drand48): Likewise.
4772 * stdlib/lrand48.c (lrand48): Likewise.
4773 * stdlib/mrand48.c (mrand48): Likewise.
4774 * stdlib/rand.c (rand): Likewise.
4775 * stdlib/random.c (__random): Likewise.
4776 * stdlib/setenv.c (clearenv): Likewise.
4777 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4778 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4779 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4780 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4781 (__get_nprocs): Likewise.
4782 (__get_phys_pages): Likewise.
4783 (__get_avphys_pages): Likewise.
4784 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4785 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4786 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4787 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4788 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4789 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4790 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4791 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4792 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4793 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4794 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4795 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4796 * sysdeps/posix/clock.c (clock): Likewise.
4797 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4798 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4799 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4800 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4801 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4802 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4803 (__get_nprocs_conf): Likewise.
4804 (__get_phys_pages): Likewise.
4805 (__get_avphys_pages): Likewise.
4806 * time/clock.c (clock): Likewise.
4807 * time/tzset.c (__tzname_max): Likewise.
4808
2e09a79a
JM
48092013-06-07 Joseph Myers <joseph@codesourcery.com>
4810
4811 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4812 (__bswap_32): Do not use "register".
4813 * crypt/crypt.c (_ufc_doit_r): Likewise.
4814 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4815 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4816 * gmon/gmon.c (__monstartup): Likewise.
4817 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4818 * hurd/hurdmalloc.c (more_memory): Likewise.
4819 (malloc): Likewise.
4820 (free): Likewise.
4821 (realloc): Likewise.
4822 (malloc_fork_prepare): Likewise.
4823 (malloc_fork_parent): Likewise.
4824 (malloc_fork_child): Likewise.
4825 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4826 (_svcauth_des): Likewise.
4827 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4828 * inet/inet_net.c (inet_network): Likewise.
4829 * inet/inet_netof.c (inet_netof): Likewise.
4830 * inet/rcmd.c (__validuser2_sa): Likewise.
4831 * io/fts.c (fts_open): Likewise.
4832 (fts_load): Likewise.
4833 (fts_close): Likewise.
4834 (fts_read): Likewise.
4835 (fts_children): Likewise.
4836 (fts_build): Likewise.
4837 (fts_stat): Likewise.
4838 (fts_sort): Likewise.
4839 (fts_alloc): Likewise.
4840 (fts_lfree): Likewise.
4841 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4842 (_IO_file_xsgetn): Likewise.
4843 (_IO_file_xsgetn_mmap): Likewise.
4844 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4845 (_IO_cookie_write): Likewise.
4846 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4847 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4848 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4849 * malloc/obstack.c (_obstack_begin): Likewise.
4850 (_obstack_begin_1): Likewise.
4851 (_obstack_newchunk): Likewise.
4852 (_obstack_allocated_p): Likewise.
4853 (obstack_free): Likewise.
4854 (_obstack_memory_used): Likewise.
4855 * misc/getttyent.c (getttynam): Likewise.
4856 (getttyent): Likewise.
4857 (skip): Likewise.
4858 (value): Likewise.
4859 * misc/getusershell.c (initshells): Likewise.
4860 * misc/syslog.c (__vsyslog_chk): Likewise.
4861 * misc/ttyslot.c (ttyslot): Likewise.
4862 * nis/nis_hash.c (__nis_hash): Likewise.
4863 * posix/fnmatch_loop.c (FCT): Likewise.
4864 * posix/getconf.c (print_all): Likewise.
4865 (main): Likewise.
4866 * posix/getopt.c (exchange): Likewise.
4867 * posix/glob.c (globfree): Likewise.
4868 (prefix_array): Likewise.
4869 (__glob_pattern_type): Likewise.
4870 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4871 (NS_GET32): Likewise.
4872 (NS_PUT16): Likewise.
4873 (NS_PUT32): Likewise.
4874 * resolv/gethnamaddr.c (getanswer): Likewise.
4875 (gethostbyname2): Likewise.
4876 (gethostbyaddr): Likewise.
4877 (_gethtent): Likewise.
4878 (_gethtbyname2): Likewise.
4879 (_gethtbyaddr): Likewise.
4880 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4881 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4882 * resolv/res_init.c (__res_vinit): Likewise.
4883 (net_mask): Likewise.
4884 * resolv/res_mkquery.c (outchar): Likewise.
4885 (PRINT): Likewise.
4886 * stdio-common/printf_fp.c (outchar): Likewise.
4887 (PRINT): Likewise.
4888 * stdio-common/printf_fphex.c (outchar): Likewise.
4889 (PRINT): Likewise.
4890 * stdio-common/printf_size.c (outchar): Likewise.
4891 (PRINT): Likewise.
4892 * stdio-common/test_rdwr.c (main): Likewise.
4893 * stdio-common/tfformat.c (matches): Likewise.
4894 * stdio-common/vfprintf.c (outchar): Likewise.
4895 (printf_unknown): Likewise.
4896 (buffered_vfprintf): Likewise.
4897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4898 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4899 (ReadFile): Likewise.
4900 * stdlib/qsort.c (SWAP): Likewise.
4901 (_quicksort): Likewise.
4902 * stdlib/setenv.c (__add_to_environ): Likewise.
4903 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4904 * stdlib/strtol_l.c (__strtol_l): Likewise.
4905 * stdlib/tst-strtod.c (main): Likewise.
4906 * stdlib/tst-strtol.c (main): Likewise.
4907 * stdlib/tst-strtoll.c (main): Likewise.
4908 * string/bits/string2.h (__strcmp_cc): Likewise.
4909 (__strcmp_cg): Likewise.
4910 (__strcspn_c1): Likewise.
4911 (__strcspn_c2): Likewise.
4912 (__strcspn_c3): Likewise.
4913 (__strspn_c1): Likewise.
4914 (__strspn_c2): Likewise.
4915 (__strspn_c3): Likewise.
4916 (__strsep_1c): Likewise.
4917 (__strsep_2c): Likewise.
4918 (__strsep_3c): Likewise.
4919 * string/memccpy.c (__memccpy): Likewise.
4920 * string/stpcpy.c (__stpcpy): Likewise.
4921 * string/strcmp.c (strcmp): Likewise.
4922 * string/strrchr.c (strrchr): Likewise.
4923 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4924 Likewise.
4925 * sysdeps/mach/hurd/getcwd.c
4926 (_hurd_canonicalize_directory_name_internal): Likewise.
4927 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4928 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4929 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4930 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4931 Likewise, in both definitions.
4932 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4933 definitions.
4934 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4935 64] (__bswap_64): Likewise.
4936 * time/test_time.c (main): Likewise.
4937 * time/tzfile.c (__tzfile_read): Likewise.
4938 (__tzfile_compute): Likewise.
4939 * time/tzset.c (__tzset_parse_tz): Likewise.
4940 (tzset_internal): Likewise.
4941 (compute_change): Likewise.
4942 * wcsmbs/wcscat.c (__wcscat): Likewise.
4943 * wcsmbs/wcschr.c (wcschr): Likewise.
4944 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4945 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4946 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4947 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4948 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4949 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4950 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4951 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4952 * wcsmbs/wmemset.c (wmemset): Likewise.
4953
9e54314b
JM
49542013-06-06 Joseph Myers <joseph@codesourcery.com>
4955
4956 * scripts/config.guess: Update to version 2013-05-16.
4957 * scripts/config.sub: Update to version 2013-04-24.
4958 * scripts/install-sh: Update to version 2011-11-20.07.
4959 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4960 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4961
350635a5
OB
49622013-06-06 Ondřej Bílka <neleai@seznam.cz>
4963
4964 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4965 * elf/sln.c: Likewise.
4966 * hurd/hurd/ioctl.h: Likewise.
4967 * hurd/hurdmalloc.c: Likewise.
4968 * hurd/xattr.c: Likewise.
4969 * include/shlib-compat.h: Likewise.
4970 * inet/ruserpass.c: Likewise.
4971 * libio/iofgets_u.c: Likewise.
4972 * libio/iofgetws_u.c: Likewise.
4973 * locale/programs/ld-identification.c: Likewise.
4974 * locale/programs/ld-time.c: Likewise.
4975 * mach/msg-destroy.c: Likewise.
4976 * nss/nss_files/files-netgrp.c: Likewise.
4977 * resolv/res_data.c: Likewise.
4978 * soft-fp/op-1.h: Likewise.
4979 * soft-fp/op-2.h: Likewise.
4980 * soft-fp/op-4.h: Likewise.
4981 * soft-fp/op-common.h: Likewise.
4982 * stdio-common/printf_fphex.c: Likewise.
4983 * stdlib/strtod_l.c: Likewise.
4984 * sunrpc/rpc/clnt.h: Likewise.
4985 * sysdeps/generic/framestate.c: Likewise.
4986 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4987 * sysdeps/i386/bsd-setjmp.S: Likewise.
4988 * sysdeps/i386/__longjmp.S: Likewise.
4989 * sysdeps/i386/setjmp.S: Likewise.
4990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4991 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4997 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5000 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5008 * sysdeps/ieee754/support.c: Likewise.
5009 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5010 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5011 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5012 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5013 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5014 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5015 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5016 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5017 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5018 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5019 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5020 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5021 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5022 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5023 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5024 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5025 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5027
44a988af
OB
50282013-06-05 Ondřej Bílka <neleai@seznam.cz>
5029
25506f09 5030 * posix/transbug.c: Remove executable mode.
44a988af 5031
9c84384c
JM
50322013-06-05 Joseph Myers <joseph@codesourcery.com>
5033
5034 * crypt/speeds.c: Remove trailing whitespace.
5035 * dlfcn/default.c: Likewise.
5036 * elf/ifuncdep2.c: Likewise.
5037 * elf/ifuncmain1.c: Likewise.
5038 * elf/ifuncmain1vis.c: Likewise.
5039 * elf/testobj.h: Likewise.
5040 * elf/tst-stackguard1.c: Likewise.
5041 * gmon/sys/gmon.h: Likewise.
5042 * hurd/hurdmsg.c: Likewise.
5043 * hurd/new-fd.c: Likewise.
5044 * hurd/ports-get.c: Likewise.
5045 * iconvdata/ibm1008_420.c: Likewise.
5046 * inet/tst-getni1.c: Likewise.
5047 * inet/tst-getni2.c: Likewise.
5048 * libio/ioungetc.c: Likewise.
5049 * libio/wfiledoalloc.c: Likewise.
5050 * manual/libm-err-tab.pl: Likewise.
5051 * math/w_dremf.c: Likewise.
5052 * misc/ftruncate.c: Likewise.
5053 * posix/bug-glob2.c: Likewise.
5054 * posix/tst-pcre.c: Likewise.
5055 * posix/wait4.c: Likewise.
5056 * resolv/README: Likewise.
5057 * resolv/res_debug.h: Likewise.
5058 * resolv/tst-inet_ntop.c: Likewise.
5059 * setjmp/bug269-setjmp.c: Likewise.
5060 * soft-fp/extended.h: Likewise.
5061 * soft-fp/op-1.h: Likewise.
5062 * soft-fp/op-2.h: Likewise.
5063 * soft-fp/op-4.h: Likewise.
5064 * soft-fp/op-8.h: Likewise.
5065 * soft-fp/testit.c: Likewise.
5066 * stdio-common/bug16.c: Likewise.
5067 * stdlib/random.c: Likewise.
5068 * sunrpc/rpcsvc/rquota.x: Likewise.
5069 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5070 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5071 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5072 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5073 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5074 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5075 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5076 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5078 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5098 * sysdeps/ieee754/s_lib_version.c: Likewise.
5099 * sysdeps/mach/hurd/check_fds.c: Likewise.
5100 * sysdeps/mach/hurd/getsockname.c: Likewise.
5101 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5102 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5103 * sysdeps/powerpc/bits/link.h: Likewise.
5104 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5105 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5106 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5107 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5108 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5109 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5110 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5111 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5112 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5113 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5114 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5115 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5117 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5118 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5119 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5120 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5121 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5122 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5123 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5124 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5125 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5127 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5128 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5132 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5135 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5140 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5143 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5144 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5145 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5146 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5147 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5148 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5149 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5151 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5152 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5153 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5156 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5157 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5158 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5159 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5160 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5161 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5162 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5163 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5164 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5165 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5166 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5167 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5168 * sysdeps/powerpc/sysdep.h: Likewise.
5169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5170 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5171 * sysdeps/sh/dl-trampoline.S: Likewise.
5172 * sysdeps/sh/memset.S: Likewise.
5173 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5174 * sysdeps/sh/strlen.S: Likewise.
5175 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5176 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5177 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5178 * sysdeps/sparc/sparc32/rem.S: Likewise.
5179 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5180 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5181 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5182 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5183 * sysdeps/sparc/sparc32/urem.S: Likewise.
5184 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5185 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5186 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5187 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5188 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5189 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5190 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5191 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5192 * sysdeps/unix/bsd/times.c: Likewise.
5193 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5194 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5198 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5199 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5200 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5201 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5202 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5203 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5204 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5205 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5206 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5207 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5208 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5209 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5210 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5211 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5213 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5214 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5215 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5217 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5218 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5221 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5222 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5223 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5224 * sysdeps/x86_64/strcspn.S: Likewise.
5225
869378a5
RA
52262013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5227
5228 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5229 generated file. Regenerate properly from gen-translit.pl.
5230 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5231 locale/C-translit.h.
5232
840e2943
AS
52332013-06-05 Andreas Schwab <schwab@suse.de>
5234
5235 [BZ #15100]
5236 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5237 week as 6 instead of -1.
5238 * time/tst-strptime.c (day_tests): Add test case.
5239
4c60cb0c
SP
52402013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5241
5242 * sysdeps/generic/math_private.h
5243 (libc_feholdexcept_setround_53bit): Replace with
5244 libc_feholdsetround_53bit.
5245 (libc_feupdateenv_53bit): Replace with
5246 libc_feresetround_53bit.
5247 (SET_RESTORE_ROUND_53BIT): Adjust.
5248
d180203e
SP
52492013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5250
96df079a
SP
5251 * string/test-strchrnul.c: Add copyright header.
5252
d180203e
SP
5253 * posix/tst-getaddrinfo4.c: Increase test timeout.
5254
8b0ccb2d
CD
52552013-06-03 Carlos O'Donell <carlos@redhat.com>
5256
5257 [BZ #15536]
5258 * math/libm-test.inc (MAX_EXP): Remove
5259 (MIN_EXP): Define.
5260 (ulp): Use MIN_EXP - MANT_DIG.
5261 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5262
3b3c4d40
CD
52632013-05-31 Carlos O'Donell <carlos@redhat.com>
5264
5265 * po/be.po: Revert last change.
5266 * po/zh_CN.po: Likewise.
5267 * po/header.pot: Likewise.
5268
fab7ce3f
JM
52692013-05-31 Joseph Myers <joseph@codesourcery.com>
5270
5271 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5272 link-libc-deps to empty as target-specific variable.
5273 * Makerules (link-libc-args): New variable.
5274 (libc-for-link): Likewise.
5275 (link-libc-deps): Likewise.
5276 (lib%.so): Depend on $(link-libc-deps). Link with
5277 $(link-libc-args).
5278 (build-module): Link with $(link-libc-args).
5279 (build-module-asneeded): Likewise.
5280 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5281 list of objects.
5282 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5283 target-specific variable.
5284 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5285 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5286 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5287 libc.
5288 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5289 libc and ld.so.
5290 ($(objpfx)libpcprofile.so): Likewise.
5291 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5292 libc_nonshared.a.
5293 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5294 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5295 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5296 $(link-libc-deps).
5297 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5298 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5299 * login/Makefile ($(objpfx)libutil.so): Likewise.
5300 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5301 * math/Makefile ($(objpfx)libm.so): Likewise.
5302 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5303 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5304 variable instead of depending directly on libc.
5305 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5306 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5307 $(link-libc-deps).
5308 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5309 libc.
5310 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5311 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5312 ($(objpfx)libanl.so): Likewise.
5313 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5314 ld.so.
5315 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5316 $(link-libc-deps).
5317 * sysdeps/i386/fpu/Makefile: Remove file.
5318 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5319 ($(objpfx)libm.so): Remove dependency on ld.so.
5320
eca5920c
PF
53212013-05-30 Patsy Franklin <pfrankli@redhat.com>
5322
5323 [BZ # 15553]
5324 * nis/yp_xdr.c (XDRMAXNAME): Define.
5325 (XDRMAXRECORD): Define.
5326 (xdr_domainname): Use XDRMAXNAME.
5327 (xdr_mapname): Likewise.
5328 (xdr_peername): Likewise.
5329 (xdr_keydat): Use XDRMAXRECORD.
5330 (xdr_valdat): Likewise.
5331
53322013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5333
5334 [BZ #14256]
5335 * manual/errno.texi (ESTALE): Update to account for more than
5336 just NFS file systems.
5337 * sysdeps/gnu/errlist.c: Regenerated.
5338
b9375348
SP
53392013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5340
5341 [BZ #15465]
5342 * elf/Makefile (tests): Add tst-null-argv.
5343 (modules-names): Add tst-null-argv-lib.
5344 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5345 (tst-null-argv-ENV): Set environment for tst-null-argv.
5346 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5347 (RTLD_PROGNAME): New macro.
5348 * elf/tst-null-argv.c: New test case.
5349 * elf/tst-null-argv-lib.c: Library for test case.
5350 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5351 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5352 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5353 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5354 * elf/dl-init.c (call_init): Likewise.
5355 (_dl_init): Likewise.
5356 * elf/dl-load.c (print_search_path): Likewise.
5357 (_dl_map_object): Likewise.
5358 * elf/dl-lookup.c (do_lookup_x): Likewise.
5359 (add_dependency): Likewise.
5360 (_dl_lookup_symbol_x): Likewise.
5361 (_dl_debug_bindings): Likewise.
5362 * elf/dl-open.c (_dl_show_scope): Likewise.
5363 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5364 * elf/dl-version.c (match_symbol): Likewise.
5365 (_dl_check_map_versions): Likewise.
5366 * elf/rtld.c (dl_main): Likewise.
5367 (print_unresolved): Use RTLD_PROGNAME.
5368 (print_missing_version): Likewise.
5369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5370 (elf_machine_rela): Likewise.
5371 * sysdeps/powerpc/powerpc32/dl-machine.c
5372 (__process_machine_rela): Likewise.
5373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5374 Likewise.
5375 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5376 Likewise.
5377 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5378 Likewise.
5379 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5380 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5381 Likewise.
5382 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5383 Likewise.
5384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5385
8a9f20c8
CD
53862013-05-28 Carlos O'Donell <carlos@redhat.com>
5387
5388 * po/be.po: Add descriptive title.
5389 * po/zh_CN.po: Likewise.
5390 * po/header.pot: Likewise.
5391
0e60d68e
MF
53922013-05-28 Mike Frysinger <vapier@gentoo.org>
5393
5394 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5395 error message.
5396 (enlarge_archive): Likewise.
5397
56b672e9
BN
53982013-05-28 Ben North <ben@redfrontdoor.org>
5399
5400 * manual/arith.texi (frexp): It is the magnitude of the return
5401 value which lies in [0.5, 1), not the return value itself.
5402
5e056687
AZ
54032013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5404
5405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5406
2b66ef5d
TS
54072013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5408
528c2405
TS
5409 * stdio-common/bug26.c (main): Correct fscanf template.
5410
07b4c13d
TS
5411 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5412 declare _dl_skip_args.
5413
ec9dd97c
TS
5414 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5415 Don't declare.
5416
2b66ef5d
TS
5417 * manual/platform.texi: Add missing @end deftypefun.
5418
4f8dfe27
JM
54192013-05-24 Joseph Myers <joseph@codesourcery.com>
5420
0323d086
JM
5421 [BZ #15529]
5422 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5423 bit of mantissa of 2^16382.
5424 * math/libm-test.inc (hypot_test_data): Add more tests.
5425
dd4259b9
JM
5426 * math/libm-test.inc: Add drem and pow10 to list of tested
5427 functions.
5428 (pow10_test): New function.
5429 (drem_test): Likewise.
5430 (drem_test_tonearest): Likewise.
5431 (drem_test_towardzero): Likewise.
5432 (drem_test_downward): Likewise.
5433 (drem_test_upward): Likewise.
5434 (main): Call the new functions.
5435
4f8dfe27
JM
5436 * math/libm-test.inc (finite_test_data): Remove.
5437 (finite_test): Run tests from isfinite_test_data.
5438 (gamma_test_data): Remove.
5439 (gamma_test): Run tests from lgamma_test_data.
5440 * sysdeps/i386/fpu/libm-test-ulps: Update.
5441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5442
d116b7c4
AZ
54432013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444
5445 * manual/platform.texi: Add PowerPC PPR function set documentation.
5446 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5447 implementation.
5448
e96e3767
CD
54492013-05-24 Carlos O'Donell <carlos@redhat.com>
5450
5451 * math/libm-test.inc (MAX_EXP): Define.
5452 (ULPDIFF): Define.
5453 (ulp): New function.
5454 (check_float_internal): Use ULPDIFF.
5455 (cpow_test): Disable failing test.
5456 (check_ulp): Test ulp() implemetnation.
5457 (main): Call check_ulp before starting tests.
5458
b679a606
JM
54592013-05-24 Joseph Myers <joseph@codesourcery.com>
5460
e8bdba36
JM
5461 * math/gen-libm-test.pl (generate_testfile): Do not handle
5462 START_DATA and END_DATA.
5463 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5464 END_DATA.
5465 (acos_tonearest_test_data): Likewise.
5466 (acos_towardzero_test_data): Likewise.
5467 (acos_downward_test_data): Likewise.
5468 (acos_upward_test_data): Likewise.
5469 (acosh_test_data): Likewise.
5470 (asin_test_data): Likewise.
5471 (asin_tonearest_test_data): Likewise.
5472 (asin_towardzero_test_data): Likewise.
5473 (asin_downward_test_data): Likewise.
5474 (asin_upward_test_data): Likewise.
5475 (asinh_test_data): Likewise.
5476 (atan_test_data): Likewise.
5477 (atanh_test_data): Likewise.
5478 (atan2_test_data): Likewise.
5479 (cabs_test_data): Likewise.
5480 (cacos_test_data): Likewise.
5481 (cacosh_test_data): Likewise.
5482 (carg_test_data): Likewise.
5483 (casin_test_data): Likewise.
5484 (casinh_test_data): Likewise.
5485 (catan_test_data): Likewise.
5486 (catanh_test_data): Likewise.
5487 (cbrt_test_data): Likewise.
5488 (ccos_test_data): Likewise.
5489 (ccosh_test_data): Likewise.
5490 (ceil_test_data): Likewise.
5491 (cexp_test_data): Likewise.
5492 (cimag_test_data): Likewise.
5493 (clog_test_data): Likewise.
5494 (clog10_test_data): Likewise.
5495 (conj_test_data): Likewise.
5496 (copysign_test_data): Likewise.
5497 (cos_test_data): Likewise.
5498 (cos_tonearest_test_data): Likewise.
5499 (cos_towardzero_test_data): Likewise.
5500 (cos_downward_test_data): Likewise.
5501 (cos_upward_test_data): Likewise.
5502 (cosh_test_data): Likewise.
5503 (cosh_tonearest_test_data): Likewise.
5504 (cosh_towardzero_test_data): Likewise.
5505 (cosh_downward_test_data): Likewise.
5506 (cosh_upward_test_data): Likewise.
5507 (cpow_test_data): Likewise.
5508 (cproj_test_data): Likewise.
5509 (creal_test_data): Likewise.
5510 (csin_test_data): Likewise.
5511 (csinh_test_data): Likewise.
5512 (csqrt_test_data): Likewise.
5513 (ctan_test_data): Likewise.
5514 (ctan_tonearest_test_data): Likewise.
5515 (ctan_towardzero_test_data): Likewise.
5516 (ctan_downward_test_data): Likewise.
5517 (ctan_upward_test_data): Likewise.
5518 (ctanh_test_data): Likewise.
5519 (ctanh_tonearest_test_data): Likewise.
5520 (ctanh_towardzero_test_data): Likewise.
5521 (ctanh_downward_test_data): Likewise.
5522 (ctanh_upward_test_data): Likewise.
5523 (erf_test_data): Likewise.
5524 (erfc_test_data): Likewise.
5525 (exp_test_data): Likewise.
5526 (exp_tonearest_test_data): Likewise.
5527 (exp_towardzero_test_data): Likewise.
5528 (exp_downward_test_data): Likewise.
5529 (exp_upward_test_data): Likewise.
5530 (exp10_test_data): Likewise.
5531 (exp2_test_data): Likewise.
5532 (expm1_test_data): Likewise.
5533 (fabs_test_data): Likewise.
5534 (fdim_test_data): Likewise.
5535 (finite_test_data): Likewise.
5536 (floor_test_data): Likewise.
5537 (fma_test_data): Likewise.
5538 (fma_towardzero_test_data): Likewise.
5539 (fma_downward_test_data): Likewise.
5540 (fma_upward_test_data): Likewise.
5541 (fmax_test_data): Likewise.
5542 (fmin_test_data): Likewise.
5543 (fmod_test_data): Likewise.
5544 (fpclassify_test_data): Likewise.
5545 (frexp_test_data): Likewise.
5546 (gamma_test_data): Likewise.
5547 (hypot_test_data): Likewise.
5548 (ilogb_test_data): Likewise.
5549 (isfinite_test_data): Likewise.
5550 (isgreater_test_data): Likewise.
5551 (isgreaterequal_test_data): Likewise.
5552 (isinf_test_data): Likewise.
5553 (isless_test_data): Likewise.
5554 (islessequal_test_data): Likewise.
5555 (islessgreater_test_data): Likewise.
5556 (isnan_test_data): Likewise.
5557 (isnormal_test_data): Likewise.
5558 (issignaling_test_data): Likewise.
5559 (isunordered_test_data): Likewise.
5560 (j0_test_data): Likewise.
5561 (j1_test_data): Likewise.
5562 (jn_test_data): Likewise.
5563 (ldexp_test_data): Likewise.
5564 (lgamma_test_data): Likewise.
5565 (lrint_test_data): Likewise.
5566 (lrint_tonearest_test_data): Likewise.
5567 (lrint_towardzero_test_data): Likewise.
5568 (lrint_downward_test_data): Likewise.
5569 (lrint_upward_test_data): Likewise.
5570 (llrint_test_data): Likewise.
5571 (llrint_tonearest_test_data): Likewise.
5572 (llrint_towardzero_test_data): Likewise.
5573 (llrint_downward_test_data): Likewise.
5574 (llrint_upward_test_data): Likewise.
5575 (log_test_data): Likewise.
5576 (log10_test_data): Likewise.
5577 (log1p_test_data): Likewise.
5578 (log2_test_data): Likewise.
5579 (logb_test_data): Likewise.
5580 (logb_downward_test_data): Likewise.
5581 (lround_test_data): Likewise.
5582 (llround_test_data): Likewise.
5583 (modf_test_data): Likewise.
5584 (nearbyint_test_data): Likewise.
5585 (nextafter_test_data): Likewise.
5586 (nexttoward_test_data): Likewise.
5587 (pow_test_data): Likewise.
5588 (pow_tonearest_test_data): Likewise.
5589 (pow_towardzero_test_data): Likewise.
5590 (pow_downward_test_data): Likewise.
5591 (pow_upward_test_data): Likewise.
5592 (remainder_test_data): Likewise.
5593 (remainder_tonearest_test_data): Likewise.
5594 (remainder_towardzero_test_data): Likewise.
5595 (remainder_downward_test_data): Likewise.
5596 (remainder_upward_test_data): Likewise.
5597 (remquo_test_data): Likewise.
5598 (rint_test_data): Likewise.
5599 (rint_tonearest_test_data): Likewise.
5600 (rint_towardzero_test_data): Likewise.
5601 (rint_downward_test_data): Likewise.
5602 (rint_upward_test_data): Likewise.
5603 (round_test_data): Likewise.
5604 (scalb_test_data): Likewise.
5605 (scalbn_test_data): Likewise.
5606 (scalbln_test_data): Likewise.
5607 (signbit_test_data): Likewise.
5608 (sin_test_data): Likewise.
5609 (sin_tonearest_test_data): Likewise.
5610 (sin_towardzero_test_data): Likewise.
5611 (sin_downward_test_data): Likewise.
5612 (sin_upward_test_data): Likewise.
5613 (sincos_test_data): Likewise.
5614 (sinh_test_data): Likewise.
5615 (sinh_tonearest_test_data): Likewise.
5616 (sinh_towardzero_test_data): Likewise.
5617 (sinh_downward_test_data): Likewise.
5618 (sinh_upward_test_data): Likewise.
5619 (sqrt_test_data): Likewise.
5620 (tan_test_data): Likewise.
5621 (tan_tonearest_test_data): Likewise.
5622 (tan_towardzero_test_data): Likewise.
5623 (tan_downward_test_data): Likewise.
5624 (tan_upward_test_data): Likewise.
5625 (tanh_test_data): Likewise.
5626 (tgamma_test_data): Likewise.
5627 (trunc_test_data): Likewise.
5628 (y0_test_data): Likewise.
5629 (y1_test_data): Likewise.
5630 (yn_test_data): Likewise.
5631 (significand_test_data): Likewise.
5632
b679a606
JM
5633 * math/gen-libm-test.pl (@functions): Remove variable.
5634 (generate_testfile): Don't handle START and END lines.
5635 * math/libm-test.inc (START): New macro.
5636 (END): Likewise.
5637 (END_COMPLEX): Likewise.
5638 (acos_test): Use END macro without arguments.
5639 (acos_test_tonearest): Likewise.
5640 (acos_test_towardzero): Likewise.
5641 (acos_test_downward): Likewise.
5642 (acos_test_upward): Likewise.
5643 (acosh_test): Likewise.
5644 (asin_test): Likewise.
5645 (asin_test_tonearest): Likewise.
5646 (asin_test_towardzero): Likewise.
5647 (asin_test_downward): Likewise.
5648 (asin_test_upward): Likewise.
5649 (asinh_test): Likewise.
5650 (atan_test): Likewise.
5651 (atanh_test): Likewise.
5652 (atan2_test): Likewise.
5653 (cabs_test): Likewise.
5654 (cacos_test): Use END_COMPLEX macro without arguments.
5655 (cacosh_test): Likewise.
5656 (carg_test): Use END macro without arguments.
5657 (casin_test): Use END_COMPLEX macro without arguments.
5658 (casinh_test): Likewise.
5659 (catan_test): Likewise.
5660 (catanh_test): Likewise.
5661 (cbrt_test): Use END macro without arguments.
5662 (ccos_test): Use END_COMPLEX macro without arguments.
5663 (ccosh_test): Likewise.
5664 (ceil_test): Use END macro without arguments.
5665 (cexp_test): Use END_COMPLEX macro without arguments.
5666 (cimag_test): Use END macro without arguments.
5667 (clog_test): Use END_COMPLEX macro without arguments.
5668 (clog10_test): Likewise.
5669 (conj_test): Likewise.
5670 (copysign_test): Use END macro without arguments.
5671 (cos_test): Likewise.
5672 (cos_test_tonearest): Likewise.
5673 (cos_test_towardzero): Likewise.
5674 (cos_test_downward): Likewise.
5675 (cos_test_upward): Likewise.
5676 (cosh_test): Likewise.
5677 (cosh_test_tonearest): Likewise.
5678 (cosh_test_towardzero): Likewise.
5679 (cosh_test_downward): Likewise.
5680 (cosh_test_upward): Likewise.
5681 (cpow_test): Use END_COMPLEX macro without arguments.
5682 (cproj_test): Likewise.
5683 (creal_test): Use END macro without arguments.
5684 (csin_test): Use END_COMPLEX macro without arguments.
5685 (csinh_test): Likewise.
5686 (csqrt_test): Likewise.
5687 (ctan_test): Likewise.
5688 (ctan_test_tonearest): Likewise.
5689 (ctan_test_towardzero): Likewise.
5690 (ctan_test_downward): Likewise.
5691 (ctan_test_upward): Likewise.
5692 (ctanh_test): Likewise.
5693 (ctanh_test_tonearest): Likewise.
5694 (ctanh_test_towardzero): Likewise.
5695 (ctanh_test_downward): Likewise.
5696 (ctanh_test_upward): Likewise.
5697 (erf_test): Use END macro without arguments.
5698 (erfc_test): Likewise.
5699 (exp_test): Likewise.
5700 (exp_test_tonearest): Likewise.
5701 (exp_test_towardzero): Likewise.
5702 (exp_test_downward): Likewise.
5703 (exp_test_upward): Likewise.
5704 (exp10_test): Likewise.
5705 (exp2_test): Likewise.
5706 (expm1_test): Likewise.
5707 (fabs_test): Likewise.
5708 (fdim_test): Likewise.
5709 (finite_test): Likewise.
5710 (floor_test): Likewise.
5711 (fma_test): Likewise.
5712 (fma_test_towardzero): Likewise.
5713 (fma_test_downward): Likewise.
5714 (fma_test_upward): Likewise.
5715 (fmax_test): Likewise.
5716 (fmin_test): Likewise.
5717 (fmod_test): Likewise.
5718 (fpclassify_test): Likewise.
5719 (frexp_test): Likewise.
5720 (gamma_test): Likewise.
5721 (hypot_test): Likewise.
5722 (ilogb_test): Likewise.
5723 (isfinite_test): Likewise.
5724 (isgreater_test): Likewise.
5725 (isgreaterequal_test): Likewise.
5726 (isinf_test): Likewise.
5727 (isless_test): Likewise.
5728 (islessequal_test): Likewise.
5729 (islessgreater_test): Likewise.
5730 (isnan_test): Likewise.
5731 (isnormal_test): Likewise.
5732 (issignaling_test): Likewise.
5733 (isunordered_test): Likewise.
5734 (j0_test): Likewise.
5735 (j1_test): Likewise.
5736 (jn_test): Likewise.
5737 (ldexp_test): Likewise.
5738 (lgamma_test): Likewise.
5739 (lrint_test): Likewise.
5740 (lrint_test_tonearest): Likewise.
5741 (lrint_test_towardzero): Likewise.
5742 (lrint_test_downward): Likewise.
5743 (lrint_test_upward): Likewise.
5744 (llrint_test): Likewise.
5745 (llrint_test_tonearest): Likewise.
5746 (llrint_test_towardzero): Likewise.
5747 (llrint_test_downward): Likewise.
5748 (llrint_test_upward): Likewise.
5749 (log_test): Likewise.
5750 (log10_test): Likewise.
5751 (log1p_test): Likewise.
5752 (log2_test): Likewise.
5753 (logb_test): Likewise.
5754 (logb_test_downward): Likewise.
5755 (lround_test): Likewise.
5756 (llround_test): Likewise.
5757 (modf_test): Likewise.
5758 (nearbyint_test): Likewise.
5759 (nextafter_test): Likewise.
5760 (nexttoward_test): Likewise.
5761 (pow_test): Likewise.
5762 (pow_test_tonearest): Likewise.
5763 (pow_test_towardzero): Likewise.
5764 (pow_test_downward): Likewise.
5765 (pow_test_upward): Likewise.
5766 (remainder_test): Likewise.
5767 (remainder_test_tonearest): Likewise.
5768 (remainder_test_towardzero): Likewise.
5769 (remainder_test_downward): Likewise.
5770 (remainder_test_upward): Likewise.
5771 (remquo_test): Likewise.
5772 (rint_test): Likewise.
5773 (rint_test_tonearest): Likewise.
5774 (rint_test_towardzero): Likewise.
5775 (rint_test_downward): Likewise.
5776 (rint_test_upward): Likewise.
5777 (round_test): Likewise.
5778 (scalb_test): Likewise.
5779 (scalbn_test): Likewise.
5780 (scalbln_test): Likewise.
5781 (signbit_test): Likewise.
5782 (sin_test): Likewise.
5783 (sin_test_tonearest): Likewise.
5784 (sin_test_towardzero): Likewise.
5785 (sin_test_downward): Likewise.
5786 (sin_test_upward): Likewise.
5787 (sincos_test): Likewise.
5788 (sinh_test): Likewise.
5789 (sinh_test_tonearest): Likewise.
5790 (sinh_test_towardzero): Likewise.
5791 (sinh_test_downward): Likewise.
5792 (sinh_test_upward): Likewise.
5793 (sqrt_test): Likewise.
5794 (tan_test): Likewise.
5795 (tan_test_tonearest): Likewise.
5796 (tan_test_towardzero): Likewise.
5797 (tan_test_downward): Likewise.
5798 (tan_test_upward): Likewise.
5799 (tanh_test): Likewise.
5800 (tgamma_test): Likewise.
5801 (trunc_test): Likewise.
5802 (y0_test): Likewise.
5803 (y1_test): Likewise.
5804 (yn_test): Likewise.
5805 (significand_test): Likewise.
5806
bae143d2
OB
58072013-05-24 Ondřej Bílka <neleai@seznam.cz>
5808
5809 [BZ #15381]
5810 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5811
9323d39b
EM
58122013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5813
d4ea44a0 5814 [BZ #14894]
9323d39b
EM
5815 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5816 __ppc_mdoio and __ppc_mdoom.
5817 * manual/platform.texi: Document new functions __ppc_yield,
5818 __ppc_mdoio and __ppc_mdoom.
5819
13e23af7
CD
58202013-05-22 Carlos O'Donell <carlos@redhat.com>
5821
5822 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5823 (main): Mention "tls" pseudo-hwcap is legacy.
5824 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5825
351fe550
JM
58262013-05-22 Joseph Myers <joseph@codesourcery.com>
5827
5828 * math/gen-libm-test.pl (parse_args): Output only string of
5829 arguments as text for test name, not full call or descriptions of
5830 tests for extra outputs.
5831 (generate_testfile): Do not pass function name to parse_args.
5832 Generate this_func variable from START.
5833 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5834 field to arg_str.
5835 (struct test_ff_f_data): Likewise.
5836 (test_ff_f_data_nexttoward): Likewise.
5837 (struct test_fi_f_data): Likewise.
5838 (struct test_fl_f_data): Likewise.
5839 (struct test_if_f_data): Likewise.
5840 (struct test_fff_f_data): Likewise.
5841 (struct test_c_f_data): Likewise.
5842 (struct test_f_f1_data): Likewise. Remove field extra_name.
5843 (struct test_fF_f1_data): Likewise.
5844 (struct test_ffI_f1_data): Likewise.
5845 (struct test_c_c_data): Rename test_name field to arg_str.
5846 (struct test_cc_c_data): Likewise.
5847 (struct test_f_i_data): Likewise.
5848 (struct test_ff_i_data): Likewise.
5849 (struct test_f_l_data): Likewise.
5850 (struct test_f_L_data): Likewise.
5851 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5852 and extra2_name.
5853 (COMMON_TEST_SETUP): New macro.
5854 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5855 (COMMON_TEST_CLEANUP): Likewise.
5856 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5857 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5858 macros.
5859 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5860 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5861 macros.
5862 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5863 (RUN_TEST_fff_f): Take argument string. Call new setup and
5864 cleanup macros.
5865 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5866 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5867 macros.
5868 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5869 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5870 macros.
5871 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5872 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5873 cleanup macros.
5874 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5875 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5876 cleanup macros.
5877 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5878 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5879 cleanup macros.
5880 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5881 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5882 macros.
5883 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5884 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5885 macros.
5886 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5887 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5888 macros.
5889 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5890 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5891 cleanup macros.
5892 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5893 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5894 cleanup macros.
5895 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5896 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5897 macros.
5898 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5899 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5900 cleanup macros.
5901 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5902 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5903 macros.
5904 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5905 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5906 macros.
5907 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5908 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5909 cleanup macros.
5910 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5911
85118d4d
EBM
59122013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5913
5914 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5915 to _sifields.sigfault.
5916 (si_addr_lsb): Define new macro.
5917 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5919 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5920
7a44c18f
CD
59212013-05-03 Carlos O'Donell <carlos at redhat.com>
5922
5923 [BZ #15441]
5924 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5925 returns -1.
5926 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5927 null return -1.
5928 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5929 loading the domain.
5930
b50a7181
JM
59312013-05-22 Joseph Myers <joseph@codesourcery.com>
5932
5933 * math/gen-libm-test.pl (parse_args): Do not include expected
5934 result in test name.
5935 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5936 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5937 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5938 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5939 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941
051063c8
SP
59422013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
3ce9e010
SP
5944 * benchtests/Makefile: Sort function entries.
5945
051063c8
SP
5946 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5947 tanh, asinh, acosh, atanh.
5948 * benchtests/acos-inputs: New file.
5949 * benchtests/acosh-inputs: New file.
5950 * benchtests/asin-inputs: New file.
5951 * benchtests/asinh-inputs: New file.
5952 * benchtests/atanh-inputs: New file.
5953 * benchtests/cosh-inputs: New file.
5954 * benchtests/log-inputs: New file.
5955 * benchtests/sinh-inputs: New file.
5956 * benchtests/tanh-inputs: New file.
5957
47c22455
DL
59582013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5959
5960 [BZ #15339]
5961 * posix/tst-getaddrinfo4.c: New test.
5962 * posix/Makefile (tests): Add it.
5963
3d04f5db
SP
59642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5965
5966 [BZ #15339]
5967 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5968 when no services were used.
5969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5970 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5971
d5dd6189
AS
59722013-05-21 Andreas Schwab <schwab@suse.de>
5973
5974 [BZ #15014]
5975 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5976 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5977 successful.
5978 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5979 redundant variable declarations and reallocation of buffer when
5980 parsing as IPv6 address. Always set NSS status when called from
5981 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5982 buffer too small. Correct computation of needed size.
5983 * nss/Makefile (tests): Add test-digits-dots.
5984 * nss/test-digits-dots.c: New test.
5985
fef94eab
SP
59862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5987
5988 * benchtests/Makefile: Remove instructions for adding
5989 benchmark tests.
5990 * benchtests/README: New file to explain how to execute and
5991 enhance the benchmark tests.
5992
e39adf43
AS
59932013-05-21 Andreas Schwab <schwab@suse.de>
5994
5995 [BZ #15493]
5996 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5997 * setjmp/tst-sigsetjmp.c: New test.
5998
b2b671b6
OB
59992013-05-20 Ondřej Bílka <neleai@seznam.cz>
6000
6001 * sysdeps/x86_64/memset.S (memset): New implementation.
6002 (__bzero): Likewise.
6003 (__memset_tail): New function.
6004
2d48b41c
OB
60052013-05-20 Ondřej Bílka <neleai@seznam.cz>
6006
6007 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6008 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6009 __memcpy_sse2_unaligned ifunc selection.
6010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6011 Add memcpy-sse2-unaligned.S.
6012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6013 Add: __memcpy_sse2_unaligned.
6014
f16cc3eb
JM
60152013-05-19 Joseph Myers <joseph@codesourcery.com>
6016
3e694268
JM
6017 [BZ #15490]
6018 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6019 math_force_eval before restoring floating-point envrionment.
6020 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6022 Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6024 <math_private.h>.
6025 (__nearbyintl): Use math_force_eval before restoring
6026 floating-point environment.
6027 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6028
db62a907
JM
6029 * math/gen-libm-test.pl (special_functions): Remove.
6030 (parse_args): Don't handle TEST_extra. Handle functions with no
6031 return value.
6032 * math/libm-test.inc (struct test_sincos_data): Replace with
6033 struct test_fFF_11_data.
6034 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6035 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6036 (sincos_test_data): Change element type to struct
6037 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6038 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6039 RUN_TEST_LOOP_sincos.
6040 * math/README.libm-test: Don't mention special handling of
6041 individual functions.
6042 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6044 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6045 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6046 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6048
f16cc3eb
JM
6049 * math/gen-libm-test.pl (get_variable): Remove function.
6050 (parse_args): Don't show pointer parameters to call in test
6051 names. Use "extra output N" in test names for extra outputs
6052 rather than naming variables.
6053
3779b5b6
JM
60542013-05-18 Joseph Myers <joseph@codesourcery.com>
6055
2ee094ff
JM
6056 [BZ #15488]
6057 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6058 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6059 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6060 double tests.
6061 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6062 disable.
6063 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6064 check_long_double.
6065
3779b5b6
JM
6066 * math/gen-libm-test.pl (@tests): Remove variable.
6067 ($count): Likewise.
6068 (new_test): Remove function.
6069 (show_exceptions): New function.
6070 (special_functions): Use show_exceptions instead of new_test.
6071 (parse_args): Likewise.
6072 (generate_testfile): Pass only function name in generated call to
6073 print_max_error or print_complex_max_error.
6074 (get_ulps): Do not handle complex tests specially.
6075 (output_test): Rename to ...
6076 (get_all_ulps_for_test): ... this. Return a string rather than
6077 printing to a file. Require ulps to be present.
6078 (output_ulps): Generate arrays rather than #defines.
6079 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6080 (struct ulp_data): New type.
6081 (BUILD_COMPLEX_ULP): Remove macro.
6082 (compare_ulp_data): New function.
6083 (find_ulps): Likewise.
6084 (find_test_ulps): Likewise.
6085 (find_function_ulps): Likewise.
6086 (find_complex_function_ulps): Likewise.
6087 (print_max_error): Determine allowed ulps using
6088 find_function_ulps.
6089 (print_complex_max_error): Determine allowed ulps using
6090 find_complex_function_ulps.
6091 (check_float_internal): Determine max ulps using find_test_ulps.
6092 (check_float): Do not take max_ulp parameter. Update call to
6093 check_float_internal.
6094 (check_complex): Likewise.
6095 (check_int): Do not take max_ulp parameter.
6096 (check_long): Likewise.
6097 (check_bool): Likewise.
6098 (check_longlong): Likewise.
6099 (struct test_f_f_data): Remove max_ulp field.
6100 (struct test_ff_f_data): Likewise.
6101 (struct test_ff_f_data_nexttoward): Likewise.
6102 (struct test_fi_f_data): Likewise.
6103 (struct test_fl_f_data): Likewise.
6104 (struct test_if_f_data): Likewise.
6105 (struct test_fff_f_data): Likewise.
6106 (struct test_c_f_data): Likewise.
6107 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6108 (struct test_fF_f1_data): Likewise.
6109 (struct test_ffI_f1_data): Likewise.
6110 (struct test_c_c_data): Remove max_ulp field.
6111 (struct test_cc_c_data): Likewise.
6112 (struct test_f_i_data): Likewise.
6113 (struct test_ff_i_data): Likewise.
6114 (struct test_f_l_data): Likewise.
6115 (struct test_f_L_data): Likewise.
6116 (struct test_sincos_data): Likewise.
6117 (RUN_TEST_f_f): Do not handle ulps.
6118 (RUN_TEST_LOOP_f_f): Likewise.
6119 (RUN_TEST_2_f): Likewise.
6120 (RUN_TEST_LOOP_2_f): Likewise.
6121 (RUN_TEST_fff_f): Likewise.
6122 (RUN_TEST_LOOP_fff_f): Likewise.
6123 (RUN_TEST_c_f): Likewise.
6124 (RUN_TEST_LOOP_c_f): Likewise.
6125 (RUN_TEST_f_f1): Likewise.
6126 (RUN_TEST_LOOP_f_f1): Likewise.
6127 (RUN_TEST_fF_f1): Likewise.
6128 (RUN_TEST_LOOP_fF_f1): Likewise.
6129 (RUN_TEST_fI_f1): Likewise.
6130 (RUN_TEST_LOOP_fI_f1): Likewise.
6131 (RUN_TEST_ffI_f1): Likewise.
6132 (RUN_TEST_LOOP_ffI_f1): Likewise.
6133 (RUN_TEST_c_c): Likewise.
6134 (RUN_TEST_LOOP_c_c): Likewise.
6135 (RUN_TEST_cc_c): Likewise.
6136 (RUN_TEST_LOOP_cc_c): Likewise.
6137 (RUN_TEST_f_i): Likewise.
6138 (RUN_TEST_LOOP_f_i): Likewise.
6139 (RUN_TEST_f_i_tg): Likewise.
6140 (RUN_TEST_LOOP_f_i_tg): Likewise.
6141 (RUN_TEST_ff_i_tg): Likewise.
6142 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6143 (RUN_TEST_f_b): Likewise.
6144 (RUN_TEST_LOOP_f_b): Likewise.
6145 (RUN_TEST_f_b_tg): Likewise.
6146 (RUN_TEST_LOOP_f_b_tg): Likewise.
6147 (RUN_TEST_f_l): Likewise.
6148 (RUN_TEST_LOOP_f_l): Likewise.
6149 (RUN_TEST_f_L): Likewise.
6150 (RUN_TEST_LOOP_f_L): Likewise.
6151 (RUN_TEST_sincos): Likewise.
6152 (RUN_TEST_LOOP_sincos): Likewise.
6153
8269107f
JM
61542013-05-17 Joseph Myers <joseph@codesourcery.com>
6155
bb38759d
JM
6156 [BZ #15480]
6157 [BZ #15485]
6158 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6159 main case of finite arguments, set rounding mode to FE_TONEAREST
6160 and discard exceptions.
6161 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6162 exceptions.
6163 (remainder_tonearest_test_data): New variable.
6164 (remainder_test_tonearest): New function.
6165 (remainder_towardzero_test_data): New variable.
6166 (remainder_test_towardzero): New function.
6167 (remainder_downward_test_data): New variable.
6168 (remainder_test_downward): New function.
6169 (remainder_upward_test_data): New variable.
6170 (remainder_test_upward): New function.
6171 (main): Call the new test functions.
6172
a00bdcf0
JM
6173 * math/libm-test.inc (struct test_f_f1_data): Remove field
6174 extra_init.
6175 (struct test_fF_f1_data): Likewise.
6176 (struct test_ffI_f1_data): Likewise.
6177 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6178 based on value of EXTRA_EXPECTED.
6179 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6180 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6181 EXTRA_VAR based on value of EXTRA_EXPECTED.
6182 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6183 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6184 EXTRA_VAR based on value of EXTRA_EXPECTED.
6185 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6186 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6187 EXTRA_VAR based on value of EXTRA_EXPECTED.
6188 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6189 * math/gen-libm-test.pl (parse_args): Don't output initializers
6190 for extra output values.
6191
de407f79
JM
6192 * math/libm-test.inc (check_int): Expect result to be exactly
6193 equal to expected value and do not handle ulps.
6194 (check_long): Likewise.
6195 (check_longlong): Likewise.
6196
8269107f
JM
6197 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6198 exceptions.
6199 (cimag_test_data): Likewise.
6200 (conj_test_data): Likewise.
6201 (copysign_test_data): Likewise.
6202 (cproj_test_data): Likewise.
6203 (creal_test_data): Likewise.
6204 (fabs_test_data): Likewise.
6205 (fdim_test_data): Likewise.
6206 (finite_test_data): Likewise.
6207 (floor_test_data): Likewise.
6208 (fmax_test_data): Likewise.
6209 (fmin_test_data): Likewise.
6210 (fmod_test_data): Likewise.
6211 (fpclassify_test_data): Likewise.
6212 (frexp_test_data): Likewise.
6213 (ilogb_test_data): Likewise.
6214 (isfinite_test_data): Likewise.
6215 (isgreater_test_data): Likewise.
6216 (isgreaterequal_test_data): Likewise.
6217 (isinf_test_data): Likewise.
6218 (isless_test_data): Likewise.
6219 (islessequal_test_data): Likewise.
6220 (islessgreater_test_data): Likewise.
6221 (isnan_test_data): Likewise.
6222 (isnormal_test_data): Likewise.
6223 (issignaling_test_data): Likewise.
6224 (isunordered_test_data): Likewise.
6225 (ldexp_test_data): Likewise.
6226 (lrint_test_data): Likewise.
6227 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6228 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6229 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6230 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6231 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6232 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6233 test input.
6234 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6235 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6236 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6237 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6238 that test input.
6239 (lrint_downward_test_data): Test for "inexact" exceptions.
6240 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6241 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6242 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6243 test input.
6244 (lrint_upward_test_data): Test for "inexact" exceptions.
6245 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6246 test input.
6247 (llrint_test_data): Test for "inexact" exceptions.
6248 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6249 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6250 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6251 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6252 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6253 (llrint_downward_test_data): Test for "inexact" exceptions.
6254 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6255 (llrint_upward_test_data): Test for "inexact" exceptions.
6256 (logb_test_data): Likewise.
6257 (logb_downward_test_data): Likewise.
6258 (nextafter_test_data): Likewise.
6259 (nexttoward_test_data): Likewise.
6260 (remainder_test_data): Likewise.
6261 (remquo_test_data): Likewise.
6262 (scalbn_test_data): Likewise.
6263 (scalbln_test_data): Likewise.
6264 (signbit_test_data): Likewise.
6265 (sqrt_test_data): Likewise.
6266 (significand_test_data): Likewise.
6267
48a18de1
SP
62682013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6269
6270 [BZ #15424]
6271 * benchtests/bench-modf.c (struct args): Mark arg0 as
6272 volatile.
6273 * scripts/bench.pl: Mark members of struct args as volatile.
6274
13d3b41a
AZ
62752013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6276
68191c1d 6277 [BZ # 15497]
13d3b41a
AZ
6278 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6279 negative infinity on POWER6 or lower.
6280 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6281
2848b105
MR
62822013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6283
6284 [BZ #15442]
6285 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6286 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6287 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6288 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6289 (_FP_SETQNAN): New macro.
6290 (_FP_SETQNAN_SEMIRAW): Likewise.
6291 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6292 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6293 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6294 (FP_EXTEND): Use _FP_FRAC_SNANP.
6295 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6296 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6297 into account.
6298 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6299 New macro.
6300 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6301 Likewise.
6302
323e5cb7
JM
63032013-05-16 Joseph Myers <joseph@codesourcery.com>
6304
c58b274f
JM
6305 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6306 with DIVIDE_BY_ZERO_EXCEPTION.
6307 (gamma_test_data): Likewise.
6308 (lgamma_test_data): Likewise.
6309 (log_test_data): Likewise.
6310 (log10_test_data): Likewise.
6311 (log2_test_data): Likewise.
6312 (tgamma_test_data): Likewise.
6313
0ab34904
JM
6314 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6315 (acos_test_tonearest): Likewise.
6316 (acos_test_towardzero): Likewise.
6317 (acos_test_downward): Likewise.
6318 (acos_test_upward): Likewise.
6319 (acosh_test): Likewise.
6320 (asin_test): Likewise.
6321 (asin_test_tonearest): Likewise.
6322 (asin_test_towardzero): Likewise.
6323 (asin_test_downward): Likewise.
6324 (asin_test_upward): Likewise.
6325 (asinh_test): Likewise.
6326 (atan_test): Likewise.
6327 (atanh_test): Likewise.
6328 (atan2_test): Likewise.
6329 (cabs_test): Likewise.
6330 (cacos_test): Likewise.
6331 (cacosh_test): Likewise.
6332 (casin_test): Likewise.
6333 (casinh_test): Likewise.
6334 (catan_test): Likewise.
6335 (catanh_test): Likewise.
6336 (cbrt_test): Likewise.
6337 (ccos_test): Likewise.
6338 (ccosh_test): Likewise.
6339 (cexp_test): Likewise.
6340 (clog_test): Likewise.
6341 (clog10_test): Likewise.
6342 (cos_test): Likewise.
6343 (cos_test_tonearest): Likewise.
6344 (cos_test_towardzero): Likewise.
6345 (cos_test_downward): Likewise.
6346 (cos_test_upward): Likewise.
6347 (cosh_test): Likewise.
6348 (cosh_test_tonearest): Likewise.
6349 (cosh_test_towardzero): Likewise.
6350 (cosh_test_downward): Likewise.
6351 (cosh_test_upward): Likewise.
6352 (cpow_test): Likewise.
6353 (csin_test): Likewise.
6354 (csinh_test): Likewise.
6355 (csqrt_test): Likewise.
6356 (ctan_test): Likewise.
6357 (ctan_test_tonearest): Likewise.
6358 (ctan_test_towardzero): Likewise.
6359 (ctan_test_downward): Likewise.
6360 (ctan_test_upward): Likewise.
6361 (ctanh_test): Likewise.
6362 (ctanh_test_tonearest): Likewise.
6363 (ctanh_test_towardzero): Likewise.
6364 (ctanh_test_downward): Likewise.
6365 (ctanh_test_upward): Likewise.
6366 (erf_test): Likewise.
6367 (erfc_test): Likewise.
6368 (exp_test): Likewise.
6369 (exp_test_tonearest): Likewise.
6370 (exp_test_towardzero): Likewise.
6371 (exp_test_downward): Likewise.
6372 (exp_test_upward): Likewise.
6373 (exp10_test): Likewise.
6374 (exp2_test): Likewise.
6375 (expm1_test): Likewise.
6376 (fmod_test): Likewise.
6377 (gamma_test): Likewise.
6378 (hypot_test): Likewise.
6379 (j0_test): Likewise.
6380 (j1_test): Likewise.
6381 (jn_test): Likewise.
6382 (lgamma_test): Likewise.
6383 (log_test): Likewise.
6384 (log10_test): Likewise.
6385 (log1p_test): Likewise.
6386 (log2_test): Likewise.
6387 (logb_test_downward): Likewise.
6388 (pow_test): Likewise.
6389 (pow_test_tonearest): Likewise.
6390 (pow_test_towardzero): Likewise.
6391 (pow_test_downward): Likewise.
6392 (pow_test_upward): Likewise.
6393 (remainder_test): Likewise.
6394 (remquo_test): Likewise.
6395 (sin_test): Likewise.
6396 (sin_test_tonearest): Likewise.
6397 (sin_test_towardzero): Likewise.
6398 (sin_test_downward): Likewise.
6399 (sin_test_upward): Likewise.
6400 (sincos_test): Likewise.
6401 (sinh_test): Likewise.
6402 (sinh_test_tonearest): Likewise.
6403 (sinh_test_towardzero): Likewise.
6404 (sinh_test_downward): Likewise.
6405 (sinh_test_upward): Likewise.
6406 (sqrt_test): Likewise.
6407 (tan_test): Likewise.
6408 (tan_test_tonearest): Likewise.
6409 (tan_test_towardzero): Likewise.
6410 (tan_test_downward): Likewise.
6411 (tan_test_upward): Likewise.
6412 (tanh_test): Likewise.
6413 (tgamma_test): Likewise.
6414 (y0_test): Likewise.
6415 (y1_test): Likewise.
6416 (yn_test): Likewise.
6417
323e5cb7
JM
6418 * math/gen-libm-test.pl (adjust_arg): Remove function.
6419 (special_function): Remove argument $in_func. Only handle
6420 generating output for tables of tests, not inside functions.
6421 (parse_args): Likewise.
6422 (generate_testfile): Remove variable $in_func. Update call to
6423 parse_args.
6424 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6425 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6426 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6427 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6428 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6429 (MAX_VALUE_INIT): Rename macro to max_value.
6430 (MIN_VALUE_INIT): Rename macro to min_value.
6431 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6432 (plus_zero): Remove variable.
6433 (minus_zero): Likewise.
6434 (plus_infty): Likewise.
6435 (minus_infty): Likewise.
6436 (qnan_value): Likewise.
6437 (max_value): Likewise.
6438 (min_value): Likewise.
6439 (min_subnorm_value): Likewise.
6440
e054f494
RA
64412013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6442
6443 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6444 uint64_t or uint32_t usage.
6445 * crypt/sha256-block.c: Likewise.
6446 * crypt/sha256-crypt.c: Likewise.
6447 * crypt/sha256.c: Likewise.
6448 * crypt/sha512-block.c: Likewise.
6449 * crypt/sha512-crypt.c: Likewise.
6450 * crypt/sha512.c: Likewise.
6451 * debug/backtrace-tst.c: Likewise.
6452 * debug/pcprofiledump.c: Likewise.
6453 * elf/cache.c: Likewise.
6454 * elf/dl-cache.c: Likewise.
6455 * elf/dl-misc.c: Likewise.
6456 * elf/dl-profile.c: Likewise.
6457 * elf/dl-support.c: Likewise.
6458 * elf/ldconfig.c: Likewise.
6459 * elf/sprof.c: Likewise.
6460 * iconv/dummy-repertoire.c: Likewise.
6461 * iconv/iconv_charmap.c: Likewise.
6462 * iconv/skeleton.c: Likewise.
6463 * iconvdata/8bit-generic.c: Likewise.
6464 * iconvdata/cp737.h: Likewise.
6465 * iconvdata/cp775.h: Likewise.
6466 * iconvdata/ibm1008.h: Likewise.
6467 * iconvdata/ibm1025.h: Likewise.
6468 * iconvdata/ibm1046.h: Likewise.
6469 * iconvdata/ibm1097.h: Likewise.
6470 * iconvdata/ibm1112.h: Likewise.
6471 * iconvdata/ibm1122.h: Likewise.
6472 * iconvdata/ibm1123.h: Likewise.
6473 * iconvdata/ibm1124.h: Likewise.
6474 * iconvdata/ibm1129.h: Likewise.
6475 * iconvdata/ibm1130.h: Likewise.
6476 * iconvdata/ibm1132.h: Likewise.
6477 * iconvdata/ibm1133.h: Likewise.
6478 * iconvdata/ibm1137.h: Likewise.
6479 * iconvdata/ibm1140.h: Likewise.
6480 * iconvdata/ibm1141.h: Likewise.
6481 * iconvdata/ibm1142.h: Likewise.
6482 * iconvdata/ibm1143.h: Likewise.
6483 * iconvdata/ibm1144.h: Likewise.
6484 * iconvdata/ibm1145.h: Likewise.
6485 * iconvdata/ibm1146.h: Likewise.
6486 * iconvdata/ibm1147.h: Likewise.
6487 * iconvdata/ibm1148.h: Likewise.
6488 * iconvdata/ibm1149.h: Likewise.
6489 * iconvdata/ibm1153.h: Likewise.
6490 * iconvdata/ibm1154.h: Likewise.
6491 * iconvdata/ibm1155.h: Likewise.
6492 * iconvdata/ibm1156.h: Likewise.
6493 * iconvdata/ibm1157.h: Likewise.
6494 * iconvdata/ibm1158.h: Likewise.
6495 * iconvdata/ibm1160.h: Likewise.
6496 * iconvdata/ibm1161.h: Likewise.
6497 * iconvdata/ibm1162.h: Likewise.
6498 * iconvdata/ibm1163.h: Likewise.
6499 * iconvdata/ibm1164.h: Likewise.
6500 * iconvdata/ibm1166.h: Likewise.
6501 * iconvdata/ibm1167.h: Likewise.
6502 * iconvdata/ibm12712.h: Likewise.
6503 * iconvdata/ibm1390.h: Likewise.
6504 * iconvdata/ibm1399.h: Likewise.
6505 * iconvdata/ibm16804.h: Likewise.
6506 * iconvdata/ibm4517.h: Likewise.
6507 * iconvdata/ibm4899.h: Likewise.
6508 * iconvdata/ibm4909.h: Likewise.
6509 * iconvdata/ibm4971.h: Likewise.
6510 * iconvdata/ibm5347.h: Likewise.
6511 * iconvdata/ibm803.h: Likewise.
6512 * iconvdata/ibm856.h: Likewise.
6513 * iconvdata/ibm901.h: Likewise.
6514 * iconvdata/ibm902.h: Likewise.
6515 * iconvdata/ibm9030.h: Likewise.
6516 * iconvdata/ibm9066.h: Likewise.
6517 * iconvdata/ibm921.h: Likewise.
6518 * iconvdata/ibm922.h: Likewise.
6519 * iconvdata/ibm9448.h: Likewise.
6520 * iconvdata/isiri-3342.h: Likewise.
6521 * iconvdata/jis0201.h: Likewise.
6522 * include/link.h: Likewise.
6523 * include/netdb.h: Likewise.
6524 * inet/check_native.c: Likewise.
6525 * inet/check_pf.c: Likewise.
6526 * inet/getipv4sourcefilter.c: Likewise.
6527 * inet/getnameinfo.c: Likewise.
6528 * inet/getsourcefilter.c: Likewise.
6529 * inet/htonl.c: Likewise.
6530 * inet/setipv4sourcefilter.c: Likewise.
6531 * inet/setsourcefilter.c: Likewise.
6532 * inet/test-inet6_opt.c: Likewise.
6533 * inet/tst-network.c: Likewise.
6534 * locale/C-collate.c: Likewise.
6535 * locale/C-ctype.c: Likewise.
6536 * locale/C-time.c: Likewise.
6537 * locale/C-translit.h: Likewise.
6538 * locale/loadarchive.c: Likewise.
6539 * locale/programs/3level.h: Likewise.
6540 * locale/programs/charmap.c: Likewise.
6541 * locale/programs/charmap.h: Likewise.
6542 * locale/programs/ld-address.c: Likewise.
6543 * locale/programs/ld-collate.c: Likewise.
6544 * locale/programs/ld-ctype.c: Likewise.
6545 * locale/programs/ld-identification.c: Likewise.
6546 * locale/programs/ld-measurement.c: Likewise.
6547 * locale/programs/ld-messages.c: Likewise.
6548 * locale/programs/ld-monetary.c: Likewise.
6549 * locale/programs/ld-name.c: Likewise.
6550 * locale/programs/ld-numeric.c: Likewise.
6551 * locale/programs/ld-paper.c: Likewise.
6552 * locale/programs/ld-telephone.c: Likewise.
6553 * locale/programs/ld-time.c: Likewise.
6554 * locale/programs/linereader.c: Likewise.
6555 * locale/programs/locale.c: Likewise.
6556 * locale/programs/locarchive.c: Likewise.
6557 * locale/programs/locfile.h: Likewise.
6558 * locale/programs/repertoire.c: Likewise.
6559 * locale/programs/simple-hash.c: Likewise.
6560 * locale/programs/simple-hash.h: Likewise.
6561 * malloc/memusage.c: Likewise.
6562 * malloc/memusagestat.c: Likewise.
6563 * nis/nis_defaults.c: Likewise.
6564 * nis/nis_hash.c: Likewise.
6565 * nis/nis_print.c: Likewise.
6566 * nis/nis_xdr.c: Likewise.
6567 * nscd/connections.c: Likewise.
6568 * nscd/hstcache.c: Likewise.
6569 * nscd/nscd_gethst_r.c: Likewise.
6570 * nscd/nscd_getserv_r.c: Likewise.
6571 * nscd/nscd_helper.c: Likewise.
6572 * nscd/servicescache.c: Likewise.
6573 * nss/makedb.c: Likewise.
6574 * nss/nss_db/db-XXX.c: Likewise.
6575 * nss/nss_db/db-initgroups.c: Likewise.
6576 * nss/nss_db/db-netgrp.c: Likewise.
6577 * nss/nss_files/files-network.c: Likewise.
6578 * nss/nss_files/files-parse.c: Likewise.
6579 * posix/bug-regex5.c: Likewise.
6580 * posix/fnmatch_loop.c: Likewise.
6581 * posix/regcomp.c: Likewise.
6582 * posix/regexec.c: Likewise.
6583 * posix/tst-rfc3484-2.c: Likewise.
6584 * posix/tst-rfc3484-3.c: Likewise.
6585 * posix/tst-rfc3484.c: Likewise.
6586 * resolv/nss_dns/dns-canon.c: Likewise.
6587 * resolv/nss_dns/dns-network.c: Likewise.
6588 * resolv/res_init.c: Likewise.
6589 * resolv/res_mkquery.c: Likewise.
6590 * resolv/tst-aton.c: Likewise.
6591 * stdlib/cxa_atexit.c: Likewise.
6592 * stdlib/cxa_finalize.c: Likewise.
6593 * stdlib/gen-fpioconst.c: Likewise.
6594 * stdlib/strtol_l.c: Likewise.
6595 * string/tst-endian.c: Likewise.
6596 * sunrpc/auth_des.c: Likewise.
6597 * sunrpc/clnt_udp.c: Likewise.
6598 * sunrpc/rtime.c: Likewise.
6599 * sunrpc/svcauth_des.c: Likewise.
6600 * sunrpc/xdr.c: Likewise.
6601 * sunrpc/xdr_intXX_t.c: Likewise.
6602 * sunrpc/xdr_rec.c: Likewise.
6603 * sysdeps/generic/ldconfig.h: Likewise.
6604 * sysdeps/generic/ldsodefs.h: Likewise.
6605 * sysdeps/generic/memusage.h: Likewise.
6606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6616 * sysdeps/posix/getaddrinfo.c: Likewise.
6617 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6618 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6619 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6621 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6622 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6623 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6624 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6625 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6627 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6628 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6629 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6630 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6631 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6632 * sysdeps/x86_64/dl-tls.h: Likewise.
6633 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6634 * time/alt_digit.c: Likewise.
6635 * time/era.c: Likewise.
6636 * wcsmbs/tst-c16c32-1.c: Likewise.
6637
8c75f674
JM
66382013-05-16 Joseph Myers <joseph@codesourcery.com>
6639
6640 * math/libm-test.inc (struct test_sincos_data): New type.
6641 (RUN_TEST_LOOP_sincos): New macro.
6642 (sincos_test_data): New variable.
6643 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6644
e6e49e59
RH
66452013-05-16 Richard Henderson <rth@redhat.com>
6646
6647 * math/atest-exp2.c (LIMB64): New macro.
6648 (CONSTSZ): New macro.
6649 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6650 (hexdig): Move ...
6651 (print_mpn_fp): ... to function scope.
6652 (read_mpn_hex): Remove.
6653 (get_log2): Remove.
6654 (exp2_mpn): Use mp_log2.
6655 (main): Use mp_exp1.
6656
15c7c18d
JM
66572013-05-16 Joseph Myers <joseph@codesourcery.com>
6658
105a07df
JM
6659 * math/libm-test.inc: Remove comment about not testing "inexact"
6660 exceptions.
6661 (INEXACT_EXCEPTION): New macro.
6662 (NO_INEXACT_EXCEPTION): Likewise.
6663 (INVALID_EXCEPTION_OK): Update value.
6664 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6665 (OVERFLOW_EXCEPTION_OK): Likewise.
6666 (UNDERFLOW_EXCEPTION_OK): Likewise.
6667 (IGNORE_ZERO_INF_SIGN): Likewise.
6668 (ERRNO_UNCHANGED): Likewise.
6669 (ERRNO_EDOM): Likewise.
6670 (ERRNO_ERANGE): Likewise.
6671 (test_exceptions): Handle testing "inexact" exceptions.
6672 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6673 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6674 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6675 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6676 INEXACT_EXCEPTION.
6677 (rint_towardzero_test_data): Likewise.
6678 (rint_downward_test_data): Likewise.
6679 (rint_upward_test_data): Likewise.
6680
e9eee333
JM
6681 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6682 with OVERFLOW_EXCEPTION.
6683 (exp10_test_data): Likewise.
6684 (exp2_test_data): Likewise.
6685 (expm1_test_data): Likewise.
6686 (lgamma_test_data): Likewise.
6687 (pow_test_data): Likewise.
6688 (tgamma_test_data): Likewise.
6689 (yn_test_data): Remove duplicate test of overflow.
6690
1c38ff73
JM
6691 * math/libm-test.inc (struct test_cc_c_data): New type.
6692 (RUN_TEST_LOOP_cc_c): New macro.
6693 (cpow_test_data): New variable.
6694 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6695
15c7c18d
JM
6696 * math/libm-test.inc (struct test_f_L_data): New type.
6697 (RUN_TEST_LOOP_f_L): New macro.
6698 (llrint_test_data): New variable.
6699 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6700 (llrint_tonearest_test_data): New variable.
6701 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6702 (llrint_towardzero_test_data): New variable.
6703 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6704 (llrint_downward_test_data): New variable.
6705 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6706 (llrint_upward_test_data): New variable.
6707 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6708 (llround_test_data): New variable.
6709 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6710
f137ff13
PC
67112013-05-13 Peter Collingbourne <pcc@google.com>
6712
6713 * math/atest-exp2.c (get_log2): Remove const attribute.
6714
3608cb24
JM
67152013-05-15 Joseph Myers <joseph@codesourcery.com>
6716
6717 * math/libm-test.inc (struct test_f_l_data): New type.
6718 (RUN_TEST_LOOP_f_l): New macro.
6719 (lrint_test_data): New variable.
6720 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6721 (lrint_tonearest_test_data): New variable.
6722 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6723 (lrint_towardzero_test_data): New variable.
6724 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6725 (lrint_downward_test_data): New variable.
6726 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6727 (lrint_upward_test_data): New variable.
6728 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6729 (lround_test_data): New variable.
6730 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6731
39b1f617
PC
67322013-05-15 Peter Collingbourne <pcc@google.com>
6733
1deff3dc
PC
6734 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6735 (EXTRACT_WORDS64) Use where appropriate.
6736 (INSERT_WORDS64) Likewise.
6737
791f3ba0
PC
6738 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6739 constraints with x constraints.
6740 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6741
39b1f617
PC
6742 * malloc/obstack.c (_obstack_compat): Add initializer.
6743
12fba011
EM
67442013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6745
6746 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6747 si_trapno and add si_addr_lsb to _sifields.sigfault.
6748 (si_trapno): Remove macro.
6749 (si_addr_lsb): Define new macro.
6750 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6751
d369f531
JM
67522013-05-15 Joseph Myers <joseph@codesourcery.com>
6753
b861c6c4
JM
6754 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6755 instead of TEST_f_l.
6756 (llrint_test_tonearest): Likewise.
6757 (llrint_test_towardzero): Likewise.
6758 (llrint_test_downward): Likewise.
6759 (llrint_test_upward): Likewise.
6760 (llround_test): Likewise.
6761
7abeee12
JM
6762 * math/libm-test.inc (struct test_f_i_data): Add comment.
6763 (RUN_TEST_LOOP_f_b): New macro.
6764 (RUN_TEST_LOOP_f_b_tg): Likewise.
6765 (finite_test_data): New variable.
6766 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6767 (isfinite_test_data): New variable.
6768 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6769 (isinf_test_data): New variable.
6770 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6771 (isnan_test_data): New variable.
6772 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6773 (isnormal_test_data): New variable.
6774 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6775 (issignaling_test_data): New variable.
6776 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6777 (signbit_test_data): New variable.
6778 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6779
cbe8c4d3
JM
6780 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6781 with INVALID_EXCEPTION.
6782 (acosh_test_data): Likewise.
6783 (asin_test_data): Likewise.
6784 (atanh_test_data): Likewise.
6785 (fmod_test_data): Likewise.
6786 (log_test_data): Likewise.
6787 (log10_test_data): Likewise.
6788 (log2_test_data): Likewise.
6789 (pow_test_data): Likewise.
6790 (sqrt_test_data): Likewise.
6791 (y0_test_data): Likewise.
6792 (y1_test_data): Likewise.
6793 (yn_test_data): Likewise.
6794
5575c0e5
JM
6795 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6796 function contents.
6797
d369f531
JM
6798 * math/libm-test.inc (struct test_ff_i_data): New type.
6799 (RUN_TEST_LOOP_ff_i_tg): New macro.
6800 (isgreater_test_data): New variable.
6801 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6802 (isgreaterequal_test_data): New variable.
6803 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6804 (isless_test_data): New variable.
6805 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6806 (islessequal_test_data): New variable.
6807 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6808 (islessgreater_test_data): New variable.
6809 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6810 (isunordered_test_data): New variable.
6811 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6812
781fd748
DM
68132013-05-14 David S. Miller <davem@davemloft.net>
6814
6815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6816
87aa21df
JM
68172013-05-14 Joseph Myers <joseph@codesourcery.com>
6818
5e908270
JM
6819 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6820
f71172e5
JM
6821 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6822 extra_test to int.
6823 (struct test_f_i_data): Change type of max_ulp to int.
6824
8cfa635a
JM
6825 * math/libm-test.inc (test_ffI_f1_data): New type.
6826 (RUN_TEST_LOOP_ffI_f1): New macro.
6827 (remquo_test_data): New variable.
6828 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6829
2bcb36b2
JM
6830 * setjmp/tst-setjmp-fp.c: New file.
6831 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6832 (link-libm): New variable.
6833 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6834
acbd839a
JM
6835 * math/libm-test.inc (struct test_f_i_data): New type.
6836 (RUN_TEST_LOOP_f_i): New macro.
6837 (RUN_TEST_LOOP_f_i_tg): Likewise.
6838 (fpclassify_test_data): New variable.
6839 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6840 (ilogb_test_data): New variable.
6841 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6842
e414d745
JM
6843 * math/libm-test.inc (scalbln_test): Correct function name in END
6844 call.
6845
d9c2a0fd
JM
6846 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6847 (RUN_TEST_LOOP_fI_f1): New macro.
6848 (frexp_test_data): New variable.
6849 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6850
9dc9095d
JM
6851 * math/libm-test.inc (struct test_fF_f1_data): New type.
6852 (RUN_TEST_LOOP_fF_f1): New macro.
6853 (modf_test_data): New variable.
6854 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6855
87aa21df
JM
6856 * math/libm-test.inc (struct test_f_f1_data): New type.
6857 (RUN_TEST_LOOP_f_f1): New macro.
6858 (gamma_test_data): New variable.
6859 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6860 (lgamma_test_data): New variable.
6861 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6862
141af660
CD
68632013-05-13 Carlos O'Donell <carlos@redhat.com>
6864
6865 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6866 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6867 (main): Comment "tls" pseudo-hwcap.
6868
6d33265c
JM
68692013-05-13 Joseph Myers <joseph@codesourcery.com>
6870
68fc074c
JM
6871 * math/libm-test.inc (struct test_fl_f_data): New type.
6872 (RUN_TEST_LOOP_fl_f): New variable.
6873 (scalbln_test_data): New variable.
6874 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6875
243216e1
JM
6876 * math/libm-test.inc (struct test_fi_f_data): New type.
6877 (RUN_TEST_LOOP_fi_f): New macro.
6878 (ldexp_test_data): New variable.
6879 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6880 (scalbn_test_data): New variable.
6881 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6882
6a1992e2
JM
6883 * math/libm-test.inc (struct test_c_f_data): New type.
6884 (RUN_TEST_LOOP_c_f): New macro.
6885 (cabs_test_data): New variable.
6886 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6887 (carg_test_data): New variable.
6888 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6889 (cimag_test_data): New variable.
6890 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6891 (creal_test_data): New variable.
6892 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6893
0e400df5
JM
6894 * math/libm-test.inc (struct test_if_f_data): New type.
6895 (RUN_TEST_LOOP_if_f): New macro.
6896 (jn_test_data): New variable.
6897 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6898 (yn_test_data): New variable.
6899 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6900
6d33265c
JM
6901 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6902
f98ece5f
AZ
69032013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6904
6905 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6906 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6907
0f7d347b
SP
69082013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
43fe811b
SP
6910 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6911 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6912 (bench-deps): Add bench-timing.h.
6913 * benchtests-bench-skeleton.c: Include bench-timing.h.
6914 (main): Use TIMING_* macros instead of clock_gettime.
6915 * benchtests/bench-timing.h: New file.
6916
0f7d347b
SP
6917 [BZ #14582]
6918 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6919 Renamed from _LIB_VERSION.
6920 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6921
601a3a5f
JM
69222013-05-12 Joseph Myers <joseph@codesourcery.com>
6923
4f184d30
JM
6924 * math/libm-test.inc (struct test_fff_f_data): New type.
6925 (RUN_TEST_LOOP_fff_f): New macro.
6926 (fma_test_data): New variable.
6927 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6928 (fma_towardzero_test_data): New variable.
6929 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6930 (fma_downward_test_data): New variable.
6931 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6932 (fma_upward_test_data): New variable.
6933 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6934
08198877
JM
6935 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6936 (struct test_c_c_data): New type.
6937 (RUN_TEST_LOOP_c_c): New macro.
6938 (cacos_test_data): New variable.
6939 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6940 (cacosh_test_data): New variable.
6941 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6942 (casin_test_data): New variable.
6943 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6944 (casinh_test_data): New variable.
6945 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6946 (catan_test_data): New variable.
6947 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6948 (catanh_test_data): New variable.
6949 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6950 (ccos_test_data): New variable.
6951 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6952 (ccosh_test_data): New variable.
6953 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6954 (cexp_test_data): New variable.
6955 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6956 (clog_test_data): New variable.
6957 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6958 (clog10_test_data): New variable.
6959 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6960 (conj_test_data): New variable.
6961 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6962 (cproj_test_data): New variable.
6963 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6964 (csin_test_data): New variable.
6965 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6966 (csinh_test_data): New variable.
6967 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6968 (csqrt_test_data): New variable.
6969 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6970 (ctan_test_data): New variable.
6971 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6972 (ctan_tonearest_test_data): New variable.
6973 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6974 (ctan_towardzero_test_data): New variable.
6975 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6976 (ctan_downward_test_data): New variable.
6977 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6978 (ctan_upward_test_data): New variable.
6979 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6980 (ctanh_test_data): New variable.
6981 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6982 (ctanh_tonearest_test_data): New variable.
6983 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6984 (ctanh_towardzero_test_data): New variable.
6985 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6986 (ctanh_downward_test_data): New variable.
6987 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6988 (ctanh_upward_test_data): New variable.
6989 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6990 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6991 of BUILD_COMPLEX.
6992
601a3a5f
JM
6993 * math/libm-test.inc (struct test_ff_f_data): New type.
6994 (struct test_ff_f_data_nexttoward): Likewise.
6995 (RUN_TEST_LOOP_2_f): New macro.
6996 (RUN_TEST_LOOP_ff_f): Likewise.
6997 (atan2_test_data): New variable.
6998 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6999 (copysign_test_data): New variable.
7000 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7001 (fdim_test_data): New variable.
7002 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7003 (fmax_test_data): New variable.
7004 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7005 (fmin_test_data): New variable.
7006 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7007 (fmod_test_data): New variable.
7008 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7009 (hypot_test_data): New variable.
7010 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7011 (nextafter_test_data): New variable.
7012 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7013 (nexttoward_test_data): New variable.
7014 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7015 (pow_test_data): New variable.
7016 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7017 (pow_tonearest_test_data): New variable.
7018 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7019 (pow_towardzero_test_data): New variable.
7020 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7021 (pow_downward_test_data): New variable.
7022 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7023 (pow_upward_test_data): New variable.
7024 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7025 (remainder_test_data): New variable.
7026 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7027 (scalb_test_data): New variable.
7028 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7029 * sysdeps/i386/fpu/libm-test-ulps: Update.
7030
74c57478
JM
70312013-05-11 Joseph Myers <joseph@codesourcery.com>
7032
8329e4da
JM
7033 * math/libm-test.inc (fma_test): Use max_value instead of local
7034 variable fltmax.
7035 (nextafter_test): Likewise.
7036
74c57478
JM
7037 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7038 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7039 (acos_downward_test_data): New variable.
7040 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7041 (acos_upward_test_data): New variable.
7042 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7043 (acosh_test_data): New variable.
7044 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7045 (asin_test_data): New variable.
7046 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7047 (asin_tonearest_test_data): New variable.
7048 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7049 (asin_towardzero_test_data): New variable.
7050 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7051 (asin_downward_test_data): New variable.
7052 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7053 (asin_upward_test_data): New variable.
7054 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7055 (asinh_test_data): New variable.
7056 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7057 (atan_test_data): New variable.
7058 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7059 (atanh_test_data): New variable.
7060 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7061 (cbrt_test_data): New variable.
7062 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7063 (ceil_test_data): New variable.
7064 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7065 (cos_test_data): New variable.
7066 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7067 (cos_tonearest_test_data): New variable.
7068 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7069 (cos_towardzero_test_data): New variable.
7070 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7071 (cos_downward_test_data): New variable.
7072 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7073 (cos_upward_test_data): New variable.
7074 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7075 (cosh_test_data): New variable.
7076 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7077 (cosh_tonearest_test_data): New variable.
7078 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7079 (cosh_towardzero_test_data): New variable.
7080 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7081 (cosh_downward_test_data): New variable.
7082 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7083 (cosh_upward_test_data): New variable.
7084 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7085 (erf_test_data): New variable.
7086 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7087 (erfc_test_data): New variable.
7088 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7089 (exp_test_data): New variable.
7090 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7091 (exp_tonearest_test_data): New variable.
7092 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7093 (exp_towardzero_test_data): New variable.
7094 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7095 (exp_downward_test_data): New variable.
7096 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7097 (exp_upward_test_data): New variable.
7098 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7099 (exp10_test_data): New variable.
7100 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7101 (exp2_test_data): New variable.
7102 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7103 (expm1_test_data): New variable.
7104 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7105 (fabs_test_data): New variable.
7106 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7107 (floor_test_data): New variable.
7108 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7109 (j0_test_data): New variable.
7110 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7111 (j1_test_data): New variable.
7112 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7113 (log_test_data): New variable.
7114 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7115 (log10_test_data): New variable.
7116 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7117 (log1p_test_data): New variable.
7118 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7119 (log2_test_data): New variable.
7120 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7121 (logb_test_data): New variable.
7122 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7123 (logb_downward_test_data): New variable.
7124 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7125 (nearbyint_test_data): New variable.
7126 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7127 (rint_test_data): New variable.
7128 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7129 (rint_tonearest_test_data): New variable.
7130 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7131 (rint_towardzero_test_data): New variable.
7132 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7133 (rint_downward_test_data): New variable.
7134 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7135 (rint_upward_test_data): New variable.
7136 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7137 (round_test_data): New variable.
7138 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7139 (sin_test_data): New variable.
7140 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7141 (sin_tonearest_test_data): New variable.
7142 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7143 (sin_towardzero_test_data): New variable.
7144 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7145 (sin_downward_test_data): New variable.
7146 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7147 (sin_upward_test_data): New variable.
7148 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7149 (sinh_test_data): New variable.
7150 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7151 (sinh_tonearest_test_data): New variable.
7152 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7153 (sinh_towardzero_test_data): New variable.
7154 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7155 (sinh_downward_test_data): New variable.
7156 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7157 (sinh_upward_test_data): New variable.
7158 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7159 (sqrt_test_data): New variable.
7160 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7161 (tan_test_data): New variable.
7162 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7163 (tan_tonearest_test_data): New variable.
7164 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7165 (tan_towardzero_test_data): New variable.
7166 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7167 (tan_downward_test_data): New variable.
7168 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7169 (tan_upward_test_data): New variable.
7170 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7171 (tanh_test_data): New variable.
7172 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7173 (tgamma_test_data): New variable.
7174 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7175 (trunc_test_data): New variable.
7176 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7177 (y0_test_data): New variable.
7178 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7179 (y1_test_data): New variable.
7180 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7181 (significand_test_data): New variable.
7182 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7183
7187d844
CG
71842013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7185
7186 [BZ #12387]
7187 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7188
f63fae73
PT
71892013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7190
7191 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7192
8a67a4b3
AJ
71932013-05-10 Andreas Jaeger <aj@suse.de>
7194
7195 [BZ #15448]
7196 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7197 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7198
51df539d
JM
71992013-05-10 Joseph Myers <joseph@codesourcery.com>
7200
7201 * math/gen-libm-test.pl (adjust_arg): New function.
7202 (special_functions): Handle generating output in both functions
7203 and arrays.
7204 (parse_args): Likewise.
7205 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7206 $in_func argument to parse_args.
7207 * math/libm-test.inc (struct test_f_f_data): New type.
7208 (IF_ROUND_INIT_): New macro.
7209 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7210 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7211 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7212 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7213 (ROUND_RESTORE_): Likewise.
7214 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7215 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7216 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7217 (ROUND_RESTORE_FE_UPWARD): Likewise.
7218 (RUN_TEST_LOOP_f_f): New macro.
7219 (acos_test_data): New variable.
7220 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7221 (acos_tonearest_test_data): New variable.
7222 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7223
5c637fe5
SP
72242013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
7226 * benchtests/bench-skeleton.c (startup): Fix coding style.
7227
ab2b9461
JM
72282013-05-10 Joseph Myers <joseph@codesourcery.com>
7229
7230 [BZ #6809]
7231 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7232 negative infinity argument.
7233 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7234 negative infinity argument.
7235 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7236 negative infinity argument.
7237 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7238 domain errors.
7239
4c0fe6fe
FW
72402013-05-10 Florian Weimer <fweimer@redhat.com>
7241
7242 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7243 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7244 * iconv/iconv_prog.c (main): Likewise.
7245 * locale/programs/charmap-dir.c (charmap_readdir)
7246 (fopen_uncompressed): Likewise.
7247 * locale/programs/locfile.c (siblings_uncached)
7248 (write_locale_data): Use lstat64 instead of lstat.
7249 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7250 stat.
7251
a3375d29
AJ
72522013-05-10 Andreas Jaeger <aj@suse.de>
7253
7254 [BZ #15395]
7255 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7256 localization.
7257 Include <locale.h>.
7258
36129722
CD
72592013-05-09 Carlos O'Donell <carlos@redhat.com>
7260
7261 * elf/dl-close.c (_dl_close_worker): Add comments.
7262
faa7f811
JM
72632013-05-09 Joseph Myers <joseph@codesourcery.com>
7264
ed41ffef
JM
7265 [BZ #15359]
7266 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7267 high part of pi/2.
7268 (__ieee754_rem_pio2l): Update comments.
7269
d0213cd0
JM
7270 [BZ #15429]
7271 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7272 high part of pi/2.
7273 (__ieee754_rem_pio2l): Update comments.
7274
0d3e777a
JM
7275 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7276 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7277
24f56066
JM
7278 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7279 M_PI_4l.
7280
faa7f811
JM
7281 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7282 (M_PI_34_LOG10El): Likewise.
7283 (M_PI2_LOG10El): Likewise.
7284 (M_PI4_LOG10El): Likewise.
7285 (M_PI_LOG10El): Likewise.
7286
e9a5e0fd
AZ
72872013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7288
7289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7290
d8cd06db
JM
72912013-05-08 Joseph Myers <joseph@codesourcery.com>
7292
a0d9f9d7
JM
7293 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7294 (MINUS_ZERO_INIT): Likewise.
7295 (PLUS_INFTY_INIT): Likewise.
7296 (MINUS_INFTY_INIT): Likewise.
7297 (QNAN_VALUE_INIT): Likewise.
7298 (MAX_VALUE_INIT): Likewise.
7299 (MIN_VALUE_INIT): Likewise.
7300 (MIN_SUBNORM_VALUE_INIT): Likewise.
7301 (plus_zero): Initialize with PLUS_ZERO_INIT.
7302 (minus_zero): Initialize with MINUS_ZERO_INIT.
7303 (plus_infty): Initialize with PLUS_INFTY_INIT.
7304 (minus_infty): Initialize with MINUS_INFTY_INIT.
7305 (qnan_value): Initialize with QNAN_VALUE_INIT.
7306 (max_value): Initialize with MAX_VALUE_INIT.
7307 (min_value): Initialize with MIN_VALUE_INIT.
7308 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7309
ae08db3b
JM
7310 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7311 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7312 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7313 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7314
f44bf14a
JM
7315 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7316 (RUN_TEST_2_f): Likewise.
7317 (RUN_TEST_ff_f): Likewise.
7318 (RUN_TEST_fi_f): Likewise.
7319 (RUN_TEST_fl_f): Likewise.
7320 (RUN_TEST_fff_f): Likewise.
7321 (RUN_TEST_c_f): Likewise.
7322 (RUN_TEST_f_f1): Likewise.
7323 (RUN_TEST_fF_f1): Likewise.
7324 (RUN_TEST_fI_f1): Likewise.
7325 (RUN_TEST_ffI_f1): Likewise.
7326 (RUN_TEST_c_c): Likewise.
7327 (RUN_TEST_cc_c): Likewise.
7328 (RUN_TEST_f_i): Likewise.
7329 (RUN_TEST_f_i_tg): Likewise.
7330 (RUN_TEST_ff_i_tg): Likewise.
7331 (RUN_TEST_f_b): Likewise.
7332 (RUN_TEST_f_b_tg): Likewise.
7333 (RUN_TEST_f_l): Likewise.
7334 (RUN_TEST_f_L): Likewise.
7335 (RUN_TEST_sincos): Likewise.
7336 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7337 whether to show exceptions. Do not include ");\n" in return
7338 value.
7339 (special_functions): Output call to RUN_TEST_sincos instead of
7340 check_float calls. Update calls to new_test.
7341 (parse_args): Output call to single RUN_TEST_* macro instead of
7342 check_* calls and other assignments. Update calls to new_test.
7343
d8cd06db
JM
7344 [BZ #2546]
7345 [BZ #2560]
7346 [BZ #5159]
7347 [BZ #15426]
7348 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7349 input to result for tgamma overflow.
7350 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7351 (gamma_coeff): New variable.
7352 (NCOEFF): New macro.
7353 (gamma_positive): New function.
7354 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7355 underflow here. Use gamma_positive instead of exp (lgamma) for
7356 other arguments.
7357 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7358 (gamma_coeff): New variable.
7359 (NCOEFF): New macro.
7360 (gammaf_positive): New function.
7361 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7362 underflow here. Use gamma_positive instead of exp (lgamma) for
7363 other arguments.
7364 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7365 (gamma_coeff): New variable.
7366 (NCOEFF): New macro.
7367 (gammal_positive): New function.
7368 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7369 underflow here. Use gamma_positive instead of exp (lgamma) for
7370 other arguments.
7371 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7372 (gamma_coeff): New variable.
7373 (NCOEFF): New macro.
7374 (gammal_positive): New function.
7375 (__ieee754_gammal_r): Handle positive infinity, overflow and
7376 underflow here. Handle NaN the same as positive infinity. Remove
7377 check x < 0xffffffff for negative integers. Use gamma_positive
7378 instead of exp (lgamma) for other arguments.
7379 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7380 (gamma_coeff): New variable.
7381 (NCOEFF): New macro.
7382 (gammal_positive): New function.
7383 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7384 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7388 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7389 * sysdeps/generic/math_private.h (__gamma_productf): New
7390 prototype.
7391 (__gamma_product): Likewise.
7392 (__gamma_productl): Likewise.
7393 * math/Makefile (libm-calls): Add gamma_product.
7394 * math/libm-test.inc (tgamma_test): Add more tests.
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397
bb7cf681
OB
73982013-05-08 Ondřej Bílka <neleai@seznam.cz>
7399
7400 * benchtests/bench-skeleton.c (main): Preheat CPU.
7401
ba853947
AJ
74022013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7403
7404 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7405
8347c74c
RM
74062013-05-07 Roland McGrath <roland@hack.frob.com>
7407
7408 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7409 and _dl_skip_args_internal.
7410
e8dd4791
CD
74112013-05-07 Carlos O'Donell <carlos@redhat.com>
7412
7413 * manual/message.texi (Message Translation): Talk about users.
7414 Message to key mapping impacts design.
7415
c7405830
RM
74162013-05-06 Roland McGrath <roland@hack.frob.com>
7417
a9173057
RM
7418 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7419
976e2f03
RM
7420 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7421
9723ffc5
RM
7422 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7423 * sysdeps/wordsize-64/glob64.c: ... here.
7424
962e6658
RM
7425 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7426 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7427 New macros.
7428
ee586a6d
RM
7429 * debug/getlogin_r_chk.c: Moved to ...
7430 * login/getlogin_r_chk.c: ... here.
7431 * debug/Makefile (routines): Move getlogin_r_chk to ...
7432 * login/Makefile (routines): ... here.
7433 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7434 * login/Versions (libc: GLIBC_2.4): ... here.
7435
355f9165
RM
7436 * io/poll.c (__poll): Renamed from poll.
7437 Add libc_hidden_def.
7438 (poll): Define as weak alias.
7439
bd9ffde6
RM
7440 * debug/ptsname_r_chk.c: Moved to ...
7441 * login/ptsname_r_chk.c: ... here.
7442 * debug/Makefile (routines): Move ptsname_r_chk to ...
7443 * login/Makefile (routines): ... here.
7444 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7445 * login/Versions (libc: GLIBC_2.4): ... here.
7446
8fb16a04
RM
7447 * posix/getlogin.c: Moved to ...
7448 * login/getlogin.c: ... here.
7449 * posix/getlogin_r.c: Moved to ...
7450 * login/getlogin_r.c: ... here.
7451 * posix/getlogin_r.c: Moved to ...
7452 * login/getlogin_r.c: ... here.
7453 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7454 * login/Makefile (routines): ... here.
7455 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7456 * login/Versions (libc: GLIBC_2.0): ... here.
7457
b99b892f
RM
7458 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7459 (setrlimit): Define as weak alias.
7460
c7405830
RM
7461 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7462 Call __ names for open, ftruncate, and close.
7463 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7464 (truncate): Define as weak alias.
7465
5bf96de5
JM
74662013-05-06 Joseph Myers <joseph@codesourcery.com>
7467
9ea3513c
JM
7468 * math/gen-libm-test.pl (parse_args): Initialize x before each
7469 test of frexp, modf and remquo.
7470
5bf96de5
JM
7471 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7472 test signgam value.
7473
16e616a7
AZ
74742013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7475
7476 [BZ #15418]
7477 [BZ #15419]
7478 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7479 internal tests.
7480 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7481
d5e82754
RM
74822013-05-06 Roland McGrath <roland@hack.frob.com>
7483
7484 * elf/dl-writev.h: New file.
7485 * elf/dl-misc.c: Include it.
7486 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7487 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7488
a7548d41
JM
74892013-05-04 Joseph Myers <joseph@codesourcery.com>
7490
b7dab1e4
JM
7491 * math/libm-test.inc (noXFails): Remove variable.
7492 (noXPasses): Likewise.
7493 (BUILD_COMPLEX_INT): Remove macro.
7494 (print_screen): Remove xfail argument.
7495 (print_screen_max_error): Likewise.
7496 (update_stats): Likewise.
7497 (print_max_error): Likewise. Update calls to other affected
7498 functions.
7499 (print_complex_max_error): Likewise.
7500 (test_single_exception): Update calls to print_screen.
7501 (test_single_errno): Likewise.
7502 (check_float_internal): Remove xfail argument. Update calls to
7503 other affected functions.
7504 (check_float): Likewise.
7505 (check_complex): Likewise.
7506 (check_int): Likewise.
7507 (check_long): Likewise.
7508 (check_bool): Likewise.
7509 (check_longlong): Likewise.
7510 (main): Don't print noXFails and noXPasses.
7511 * math/gen-libm-test.pl (top level): Don't mention expected
7512 failure handling in comment.
7513 (new_test): Don't handle expected failures.
7514 (parse_args): Don't mention expected failure handling in comment.
7515 (generate_testfile): Don't handle expected failures.
7516 (parse_ulps): Likewise.
7517 (print_ulps_file): Likewise.
7518 (get_failure): Remove function.
7519 (output_test): Don't handle expected failures.
7520 * make/README.libm-test: Don't mention expected failure handling.
7521
a7548d41
JM
7522 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7523 (minus_zero): Likewise.
7524 (plus_infty): Likewise.
7525 (minus_infty): Likewise.
7526 (qnan_value): Likewise.
7527 (max_value): Likewise.
7528 (min_value): Likewise.
7529 (min_subnorm_value): Likewise.
7530 (initialize): Do not initialize those variables dynamically.
7531
60bfd54c
RM
75322013-05-03 Roland McGrath <roland@hack.frob.com>
7533
cc0e6ed8
RM
7534 * io/open.c (__open_2): Moved to ...
7535 * io/open_2.c: ... this new file.
7536 * io/open64.c (__open64_2): Moved to ...
7537 * io/open64_2.c: ... this new file.
7538 * io/openat.c (__openat_2): Moved to ...
7539 * io/openat_2.c: ... this new file.
7540 * io/openat64.c (__openat64_2): Moved to ...
7541 * io/openat64_2.c: ... this new file.
7542 * io/Makefile (routines): Add them.
7543 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7544 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7545 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7546 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7547 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7548 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7549 (__openat64): Add hidden_ver.
7550 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7551 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7552
60bfd54c
RM
7553 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7554 Separately conditionalize setting of GLRO(dl_sysinfo) so
7555 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7556 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7557
83e7640f
AZ
75582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7559
7560 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7561 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7562 definition.
7563 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7564 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7565 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7566 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7567 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7568
d5dc2af3
JM
75692013-05-03 Joseph Myers <joseph@codesourcery.com>
7570
c31a5b1e
JM
7571 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7572 test signgam value.
7573
d5dc2af3
JM
7574 * math/libm-test.inc (hypot_test): Do not use
7575 IGNORE_ZERO_INF_SIGN.
7576
164fd39d
AJ
75772013-05-03 Andreas Jaeger <aj@suse.de>
7578
7579 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7580 Linux 3.9.
7581 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7582 (PF_MAX): Adjust for VSOCK change.
7583
8237f48c
AZ
75842013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7585
7586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7587
9df02941
CD
75882013-05-02 Carlos O'Donell <carlos@redhat.com>
7589
7590 [BZ #15264]
7591 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7592 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7593 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7594
d422395e
DM
75952013-05-02 David S. Miller <davem@davemloft.net>
7596
7597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7598
a07c5731
OB
75992013-05-01 Ondřej Bílka <neleai@seznam.cz>
7600
7601 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7602
1324e37f
RM
76032013-05-01 Roland McGrath <roland@hack.frob.com>
7604
7605 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7606
0695940b
RS
76072013-05-01 Richard Smith <richard@metafoo.co.uk>
7608
bb5f27ad 7609 [BZ #14952]
0695940b
RS
7610 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7611 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7612 Use __attribute__ ((__gnu_inline__)).
7613 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7614 Don't use __attribute__ ((__gnu_inline__)).
7615
10de07f5
JM
76162013-05-01 Joseph Myers <joseph@codesourcery.com>
7617
7618 [BZ #15423]
7619 * math/s_catan.c (__catan): Handle small real or imaginary part of
7620 input specially to avoid spurious underflow.
7621 * math/s_catanf.c (__catanf): Likewise.
7622 * math/s_catanh.c (__catanh): Likewise.
7623 * math/s_catanhf.c (__catanhf): Likewise.
7624 * math/s_catanhl.c (__catanhl): Likewise.
7625 * math/s_catanl.c (__catanl): Likewise.
7626 * math/libm-test.inc (catan_test): Add more tests.
7627 (catanh_test): Likewise.
7628 * sysdeps/i386/fpu/libm-test-ulps: Update.
7629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7630
cb4d5414
AZ
76312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7632
7633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7634
caf84319
JM
76352013-04-30 Joseph Myers <joseph@codesourcery.com>
7636
7637 [BZ #15416]
7638 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7639 accurately for denominator in atan2.
7640 * math/s_catanf.c (__catanf): Likewise.
7641 * math/s_catanh.c (__catanh): Likewise.
7642 * math/s_catanhf.c (__catanhf): Likewise.
7643 * math/s_catanhl.c (__catanhl): Likewise.
7644 * math/s_catanl.c (__catanl): Likewise.
7645 * math/libm-test.inc (catan_test): Add more tests.
7646 (catanh_test): Likewise.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7649
d569c6ee
SP
76502013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7651
6dbe713d
SP
7652 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7653
f0ee064b
SP
7654 * benchtests/Makefile (bench): Remove slow benchmarks.
7655 * benchtests/atan-inputs: Add slow benchmark inputs.
7656 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7657 (BENCH_FUNC): Accept variant offset.
7658 (VARIANT): Define.
7659 * benchtests/bench-skeleton.c (main): Run benchmark for each
7660 variant.
7661 * benchtests/cos-inputs: Add slow benchmark inputs.
7662 * benchtests/exp-inputs: Likewise.
7663 * benchtests/pow-inputs: Likewise.
7664 * benchtests/sin-inputs: Likewise.
7665 * benchtests/slowatan-inputs: Remove.
7666 * benchtests/slowatan.c: Remove.
7667 * benchtests/slowcos-inputs: Remove.
7668 * benchtests/slowcos.c: Remove.
7669 * benchtests/slowexp-inputs: Remove.
7670 * benchtests/slowexp.c: Remove.
7671 * benchtests/slowpow-inputs: Remove.
7672 * benchtests/slowpow.c: Remove.
7673 * benchtests/slowsin-inputs: Remove.
7674 * benchtests/slowsin.c: Remove.
7675 * benchtests/slowtan-inputs: Remove.
7676 * benchtests/slowtan.c: Remove.
7677 * benchtests/tan-inputs: Add slow benchmark inputs.
7678 * scripts/bench.pl: Parse comments and directives.
7679
d569c6ee
SP
7680 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7681 in CPPFLAGS.
7682 ($(objpfx)bench-%.c): Remove *-ITER.
7683 * benchtests/bench-modf.c: Remove definition of ITER.
7684 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7685 (main): Loop for DURATION seconds instead of fixed number of
7686 iterations.
7687 * scripts/bench.pl: Don't expect iterations in parameters.
7688
a6a242fe
RM
76892013-04-29 Roland McGrath <roland@hack.frob.com>
7690
7691 * io/fchdir.c (__fchdir): Renamed from fchdir.
7692 (fchdir): Define as weak alias.
7693
f2da7793
JM
76942013-04-29 Joseph Myers <joseph@codesourcery.com>
7695
7696 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7697 (ERRNO_EDOM): Likewise.
7698 (ERRNO_ERANGE): Likewise.
7699 (noErrnoTests): New variable.
7700 (init_max_error): Set errno to 0.
7701 (test_single_errno): New function.
7702 (test_errno): Likewise.
7703 (check_float_internal): Call test_errno. Set errno to 0.
7704 (check_complex): Refer to errno tests in comment.
7705 (check_int): Call test_errno. Set errno to 0.
7706 (check_long): Likewise.
7707 (check_bool): Likewise.
7708 (check_longlong): Likewise.
7709 (cos_test): Use ERRNO_* flags for errno tests instead of
7710 check_int.
7711 (expm1_test): Likewise.
7712 (fmod_test): Likewise.
7713 (ilogb_test): Likewise.
7714 (lgamma_test): Likewise.
7715 (pow_test): Likewise.
7716 (remainder_test): Likewise.
7717 (sin_test): Likewise.
7718 (tan_test): Likewise.
7719 (yn_test): Likewise.
7720 (initialize): Set errno to 0.
7721 (main): Print number of errno tests.
7722 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7723
b1a36ceb
AJ
77242013-04-29 Andreas Jaeger <aj@suse.de>
7725
c3ed8088
AJ
7726 [BZ #15084]
7727 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7728 and RES_USEVC.
7729
f1a24198
AJ
7730 [BZ #15085]
7731 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7732 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7733 unimplemented.
7734
9ce3b2cb
AJ
7735 [BZ #15380]
7736 * stdlib/random.c (__initstate): Return NULL if
7737 __initstate fails.
7738
f1a24198 7739 [BZ #15086]
b1a36ceb
AJ
7740 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7741 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7742 RES_SNGLKUPREOP.
7743
7e7b6f36
AZ
77442013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7745
7746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7747
4d14f449
JM
77482013-04-29 Joseph Myers <joseph@codesourcery.com>
7749
7750 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7751 of individual tests.
7752 (casin_test): Likewise.
7753 (casinh_test): Likewise.
7754
5b4217d7
JM
77552013-04-27 Joseph Myers <joseph@codesourcery.com>
7756
7757 [BZ #15409]
7758 * math/s_catan.c (__catan): Handle arguments with large real or
7759 imaginary part separately without squaring.
7760 * math/s_catanf.c (__catanf): Likewise.
7761 * math/s_catanh.c (__catanh): Likewise.
7762 * math/s_catanhf.c (__catanhf): Likewise.
7763 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7764 and redefine.
7765 (__catanhl): Handle arguments with large real or imaginary part
7766 separately without squaring.
7767 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7768 and redefine.
7769 (__catanl): Handle arguments with large real or imaginary part
7770 separately without squaring.
7771 * math/libm-test.inc (catan_test): Add more tests.
7772 (catanh_test): Likewise.
7773 * sysdeps/i386/fpu/libm-test-ulps: Update.
7774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7775
4220c3ef
AJ
77762013-04-27 Andreas Jaeger <aj@suse.de>
7777
7778 [BZ #15007]
7779 * stdlib/stdlib.h: Update guards for qecvt.
7780 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7781 <stdlib.h>.
7782
4721b2d1
AM
77832013-04-27 Allan McRae <allan@archlinux.org>
7784
7785 * sysdeps/i386/fpu/libm-test-ulps: Update.
7786
f0302940
JM
77872013-04-26 Joseph Myers <joseph@codesourcery.com>
7788
9457fd95
JM
7789 [BZ #15406]
7790 * math/s_catan.c: Include <float.h>.
7791 (__catan): Ensure underflow exception occurs for underflowed
7792 result.
7793 * math/s_catanf.c: Include <float.h>.
7794 (__catanf): Ensure underflow exception occurs for underflowed
7795 result.
7796 * math/s_catanh.c: Include <float.h>.
7797 (__catanh): Ensure underflow exception occurs for underflowed
7798 result.
7799 * math/s_catanhf.c: Include <float.h>.
7800 (__catanhf): Ensure underflow exception occurs for underflowed
7801 result.
7802 * math/s_catanhl.c: Include <float.h>.
7803 (__catanhl): Ensure underflow exception occurs for underflowed
7804 result.
7805 * math/s_catanl.c: Include <float.h>.
7806 (__catanl): Ensure underflow exception occurs for underflowed
7807 result.
7808 * math/libm-test.inc (catan_test): Add more tests.
7809 (catanh_test): Likewise.
7810
f0302940
JM
7811 [BZ #15405]
7812 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7813 underflowed result.
7814 * math/s_ccoshf.c (__ccoshf): Likewise.
7815 * math/s_ccoshl.c (__ccoshl): Likewise.
7816 * math/s_csin.c (__csin): Likewise.
7817 * math/s_csinf.c (__csinf): Likewise.
7818 * math/s_csinh.c (__csinh): Likewise.
7819 * math/s_csinhf.c (__csinhf): Likewise.
7820 * math/s_csinhl.c (__csinhl): Likewise.
7821 * math/s_csinl.c (__csinl): Likewise.
7822 * math/libm-test.inc (ccos_test): Add more tests.
7823 (ccosh_test): Likewise.
7824 (csin_test): Likewise.
7825 (csinh_test): Likewise.
7826
aa630f59
AZ
78272013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7828
7829 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7830 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7831 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7832 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7833 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7834 powerpc/power5+/fpu folders.
7835 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7836
7837
1b835983
MT
78382013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7839
7840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7841
73709b26
JM
78422013-04-25 Joseph Myers <joseph@codesourcery.com>
7843
7844 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7845 additions to variable.
7846 [$(config-machine) = x86_64] (modules-names): Likewise.
7847 ($(objpfx)tst-audit3): Remove dependency.
7848 ($(objpfx)tst-audit3.out): Likewise.
7849 ($(objpfx)tst-audit4): Likewise.
7850 ($(objpfx)tst-audit4.out): Likewise.
7851 ($(objpfx)tst-audit5): Likewise.
7852 ($(objpfx)tst-audit5.out): Likewise.
7853 ($(objpfx)tst-audit6): Likewise.
7854 ($(objpfx)tst-audit6.out): Likewise.
7855 ($(objpfx)tst-audit7): Likewise.
7856 ($(objpfx)tst-audit7.out): Likewise.
7857 (tst-audit3-ENV): Remove variable.
7858 (tst-audit4-ENV): Likewise.
7859 (tst-audit5-ENV): Likewise.
7860 (tst-audit6-ENV): Likewise.
7861 (tst-audit7-ENV): Likewise.
7862 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7863 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7864 addition to variable.
7865 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7866 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7867 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7868 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7869 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7870 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7871 tst-audit3, tst-audit4 and tst-audit5.
7872 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7873 tst-audit6 and tst-audit7.
7874 [$(subdir) = elf] (modules-names): Add audit modules for those
7875 tests.
7876 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7877 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7878 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7879 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7880 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7881 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7882 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7883 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7884 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7885 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7886 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7887 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7888 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7889 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7890 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7891 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7892 Likewise.
7893 [$(subdir) = elf && $(config-cflags-avx) = yes]
7894 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7895 [$(subdir) = elf && $(config-cflags-avx) = yes]
7896 (CFLAGS-tst-auditmod4a.c): Likewise.
7897 [$(subdir) = elf && $(config-cflags-avx) = yes]
7898 (CFLAGS-tst-auditmod4b.c): Likewise.
7899 [$(subdir) = elf && $(config-cflags-avx) = yes]
7900 (CFLAGS-tst-auditmod6b.c): Likewise.
7901 [$(subdir) = elf && $(config-cflags-avx) = yes]
7902 (CFLAGS-tst-auditmod6c.c): Likewise.
7903 [$(subdir) = elf && $(config-cflags-avx) = yes]
7904 (CFLAGS-tst-auditmod7b.c): Likewise.
7905 * elf/tst-audit3.c: Move to ...
7906 * sysdeps/x86_64/tst-audit3.c: ... here.
7907 * elf/tst-audit4.c: Move to ...
7908 * sysdeps/x86_64/tst-audit4.c: ... here.
7909 * elf/tst-audit5.c: Move to ...
7910 * sysdeps/x86_64/tst-audit5.c: ... here.
7911 * elf/tst-audit6.c: Move to ...
7912 * sysdeps/x86_64/tst-audit6.c: ... here.
7913 * elf/tst-audit7.c: Move to ...
7914 * sysdeps/x86_64/tst-audit7.c: ... here.
7915 * elf/tst-auditmod3a.c: Move to ...
7916 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7917 * elf/tst-auditmod3b.c: Move to ...
7918 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7919 * elf/tst-auditmod4a.c: Move to ...
7920 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7921 * elf/tst-auditmod4b.c: Move to ...
7922 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7923 * elf/tst-auditmod5a.c: Move to ...
7924 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7925 * elf/tst-auditmod5b.c: Move to ...
7926 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7927 * elf/tst-auditmod6a.c: Move to ...
7928 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7929 * elf/tst-auditmod6b.c: Move to ...
7930 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7931 * elf/tst-auditmod6c.c: Move to ...
7932 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7933 * elf/tst-auditmod7a.c: Move to ...
7934 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7935 * elf/tst-auditmod7b.c: Move to ...
7936 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7937
1ef74943
PP
79382013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7939
7940 [BZ #15366]
7941 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7942 define unconditionally.
7943 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7944 define unconditionally.
7945 (INT8_C, INT16_C, etc.): Likewise.
7946
93fd48c5
MR
79472013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7948
ae9552cf
MR
7949 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7950 __ehdr_start with hidden visibility.
7951
93fd48c5
MR
7952 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7953
418601aa
CD
79542013-04-24 Carlos O'Donell <carlos@redhat.com>
7955
7956 * math/libm-test.inc (cos_test): Use accurate hex constants.
7957 (sincost_test): Likewise.
7958
2f38fbfe
JM
79592013-04-24 Joseph Myers <joseph@codesourcery.com>
7960
5e221800
JM
7961 * math/libm-test.inc (catan_test): Add more tests.
7962 (catanh_test): Likewise.
7963
77f143fd
JM
7964 * math/s_catanf.c (__catanf): Use suffixed floating-point
7965 constants.
7966 * math/s_catanhf.c (__catanhf): Likewise.
7967 * math/s_catanhl.c (__catanhl): Likewise.
7968 * math/s_catanl.c (__catanl): Likewise.
7969
2f38fbfe
JM
7970 [BZ #15394]
7971 * math/s_catan.c (__catan): Calculate imaginary part of result
7972 with log1p not log unless computing log of number close to 0.
7973 * math/s_catanf.c (__catanf): Likewise.
7974 * math/s_catanl.c (__catanl): Likewise.
7975 * math/s_catanh.c (__catanh): Calculate real part of result with
7976 log1p not log unless computing log of number close to 0.
7977 * math/s_catanhf.c (__catanhf): Likewise.
7978 * math/s_catanhl.c (__catanhl): Likewise.
7979 * math/libm-test.inc (catan_test): Add more tests.
7980 (catanh_test): Likewise.
7981 * sysdeps/i386/fpu/libm-test-ulps: Update.
7982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7983
45d69176
SP
79842013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7985
7986 * benchtests/Makefile: Mention files in which fast and slow
7987 paths of math functions are implemented.
7988
87f51853
RM
79892013-04-23 Roland McGrath <roland@hack.frob.com>
7990
7991 * sysdeps/posix/timespec_get.c: New file.
7992
3c026539
AZ
79932013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7994
7995 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7996 POWER.
7997 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7998 for POWER.
7999 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8000 powerpc/power5/fpu folders.
8001 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8002 * benchtests/Makefile: Add modf testcase.
8003 * benchtests/bench-modf.c: New file: Benchmark test for mo
8004
ff491d14
SP
80052013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8006
8007 [BZ #14888]
8008 * time/Makefile (tests): Add tst-strptime-whitespace.
8009 * time/strptime_l.c (get_number): Use ISSPACE.
8010 (__strptime_internal): Likewise.
8011 * time/tst-strptime-whitespace.c: New test case.
8012
7ed3f4e8
AS
80132013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8014
8015 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8016 member.
8017 (_nss_files_init): Set it here.
8018
5c95f7b6
HC
80192013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8020
8021 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8022 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8023 unsigned.
8024
d34c9158
JBG
80252013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8026
8027 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8028
2169712d
SP
80292013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8030
8031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8032 size just once.
8033
29c5de99
DM
80342013-04-21 David S. Miller <davem@davemloft.net>
8035
8036 * po/ru.po: Update Russion translation from translation project.
8037
ccdad15d
AC
80382013-04-17 Adam Conrad <adconrad@0c3.net>
8039
8040 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8041 and setfsgid.
8042
0f122b8d
CD
80432013-04-17 Carlos O'Donell <carlos@redhat.com>
8044
5c5b07da 8045 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8046 * configure: Regenerate.
5c5b07da 8047 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8048 Add example to error message.
8049 * sysdeps/i386/configure: Regenerate.
8050
037714dd
SP
80512013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8052
8053 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8054 slowtan.
8055 * benchtests/cos-inputs: New file.
8056 * benchtests/slowcos-inputs: New file.
8057 * benchtests/slowcos.c: New file.
8058 * benchtests/slowtan-inputs: New file.
8059 * benchtests/slowtan.c: New file.
8060 * benchtests/tan-inputs: New file.
8061
e913141d
RM
80622013-04-16 Roland McGrath <roland@hack.frob.com>
8063
8064 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8065 considered kosher.
8066
a2964074
SP
80672013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8068
4856bcd2
SP
8069 * benchtests/Makefile: Include cppflags-iterator.mk to add
8070 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8071
a2964074
SP
8072 * Makefile.in (bench-clean): New target.
8073 * benchtests/Makefile (bench-clean): Likewise.
8074
9fbf9aca
DH
80752013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8076
8077 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8078
207d1e2a
TS
80792013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8080
8081 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8082
306dfba9
AS
80832013-04-15 Andreas Schwab <schwab@suse.de>
8084
8085 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8087 * nscd/pwdcache.c (cache_addpw): Likewise.
8088 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8089 more than recsize.
8090
206a6699
SP
80912013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8092
8093 * benchtests/Makefile (bench): Write all output to
8094 bench-out.tmp together.
8095
0582f6b3
AS
80962013-04-15 Andreas Schwab <schwab@suse.de>
8097
8098 * nscd/nscd.c (main): Don't fork again after closing files.
8099
acb4325f
SP
81002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8101
5cb26d0a
SP
8102 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8103
acb4325f
SP
8104 * benchtests/Rules (bench-deps): Collect dependencies into a
8105 single variable. Add Makefile to dependencies.
8106 ($(objpfx)bench-%.c): Depend on bench-deps.
8107
47792506
RM
81082013-04-12 Roland McGrath <roland@hack.frob.com>
8109 Xavier Roche <roche+kml2@exalead.com>
8110
8111 [BZ #15361]
8112 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8113 just that it's a file descriptor.
8114 * manual/llio.texi (Synchronizing AIO Operations): Update description
8115 for EBADF error from aio_fsync.
8116
8fc1bee5
SP
81172013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8118
8119 * Rules (bench): Move target definition...
8120 * benchtests/Makefile: ... here.
8121
aba5e333
CD
81222013-04-11 Carlos O'Donell <carlos@redhat.com>
8123
8124 * math/libm-test.inc (cos_test): Fix PI/2 test.
8125 (sincos_test): Likewise.
8126 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8127 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8128
273cdee8
AS
81292013-04-11 Andreas Schwab <schwab@suse.de>
8130
6ecec3b6
AS
8131 [BZ #13988]
8132 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8133 accept exponent character only when digits were seen.
8134 * stdio-common/Makefile (tests): Add bug26.
8135 * stdio-common/bug26.c: New file.
8136
273cdee8
AS
8137 [BZ #14293]
8138 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8139 non-freeable.
8140
8da491f5
SP
81412013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8142
01dc6df9
SP
8143 * Makeconfig (rtld-prefix): Define built linker prefix.
8144 * Rules (run-bench): Use it.
8145 * math/Makefile (run-regen-ulps): Likewise.
8146
8da491f5
SP
8147 * Rules (bench): Remove eval.
8148
abe7f530
SP
81492013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8150 Roland McGrath <roland@hack.frob.com>
8151 Ondrej Bilka <neleai@seznam.cz>
8152
8153 [BZ #15346]
8154 * time/getdate.c: Include ctype.h and alloca.h.
8155 (__getdate_r): Trim leading and trailing spaces of input.
8156 * time/tst-getdate.c (tests): Add tests with leading and
8157 trailing spaces.
8158
61c23e62
RM
81592013-04-08 Roland McGrath <roland@hack.frob.com>
8160
8161 [BZ #14280]
8162 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8163 when computing value.
8164
7208a313
CD
81652013-04-06 Carlos O'Donell <carlos@redhat.com>
8166
085b2d41
CD
8167 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8168 Use testrun.sh to run libm tests.
8169
7208a313
CD
8170 [BZ #15309]
8171 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8172
872c0acd
MM
81732013-04-06 Marko Myllynen <myllynen@redhat.com>
8174
8175 [BZ #15264]
8176 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8177
26510bdd
CD
81782013-04-06 Carlos O'Donell <carlos@redhat.com>
8179
8180 * Makefile.in (regen-ulps): New target.
8181 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8182 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8183 [ifneq (no,$(PERL)] (regen-ulps): New target.
8184 [ifeq (no,$(PERL)] (regen-ulps): New target.
8185 * math/libm-test.inc (ulps_file_name): Define.
8186 (output_dir): New variable.
8187 (options): Add "output-dir" option.
8188 (parse_opt): Handle 'o' case.
8189 (main): If output_dir is non-NULL use it as a prefix
8190 otherwise use "".
8191 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8192
a01f19c8
CD
81932013-04-06 Carlos O'Donell <carlos@redhat.com>
8194
8195 [BZ #10060, #10062]
8196 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8197 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8198 fail configure if __sync_val_compare_and_swap is not inlined.
8199 * sysdeps/i386/configure: Regenerate.
8200 * configure.in: Build for i686 when configured for i386.
8201 * configure: Regenerate.
8202 * README: Remove i386 reference.
8203
b7a329a5
CD
82042013-04-06 Carlos O'Donell <carlos@redhat.com>
8205
8206 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8208
bf0f50df
TS
82092013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8210
ee091edf
TS
8211 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8212 (lmsnanval): New variables.
8213 (F): Add conversion tests.
8214 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8215 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8216
a8b792d6
TS
8217 * stdio-common/tstdiomisc.c (F): Properly collect individual
8218 tests' results.
8219
a1cbf437
TS
8220 [BZ #14686, #15336]
8221 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8222 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8223 Instead, use input NaN values or generate a qNaN by arithmetic
8224 operation. Also fix bugs to comply with the standard.
8225 * math/libm-test.inc (remainder_test): Add more tests.
8226
8b43a0c9
TS
8227 [BZ #15335, #15342]
8228 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8230 input NaN values or generate a qNaN by arithmetic operation.
8231
d91da4ce
TS
8232 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8233 unreachable code.
8234
bf0f50df
TS
8235 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8236 definitions.
8237
05e166c8
JM
82382013-04-03 Joseph Myers <joseph@codesourcery.com>
8239
8240 [BZ #14478]
8241 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8242 underflowed result.
8243 * math/s_cexpf.c (__cexpf): Likewise.
8244 * math/s_cexpl.c (__cexpl): Likewise.
8245 * math/libm-test.inc (cexp_test): Add more tests.
8246
1cef1b19
AS
82472013-04-03 Andreas Schwab <schwab@suse.de>
8248
8249 [BZ #15330]
8250 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8251 order arrays from heap if bigger than alloca cutoff.
8252
74d87055
TS
82532013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8254
8255 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8256 (SNAN_TESTS_double): Refer to GCC PR56831.
8257 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8258 GCC PR56828.
8259
d755bba4
SP
82602013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8261
90d5d5bb
SP
8262 * Rules (bench): Move bench.out after the run is complete.
8263
73e0cd5d
SP
8264 * Rules (bench): Echo currently running benchmark.
8265
64aabd4b
SP
8266 * benchtests/Makefile (bench): Add atan and slowatan.
8267 * benchtests/atan-inputs: New file.
8268 * benchtests/slowatan-inputs: New file.
8269 * benchtests/slowatan.c: New file.
8270
c871eccd
SP
8271 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8272 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8273 its value.
8274
d755bba4
SP
8275 [BZ #15305]
8276 * sysdeps/unix/sysv/linux/kernel-features.h
8277 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8278 __ASSUME_XFS_RESTRICTED_CHOWN.
8279 * sysdeps/unix/sysv/linux/pathconf.c
8280 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8281 Save and restore errno.
8282
52ce4860
JM
82832013-04-02 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #15327]
8286 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8287 arguments using __kernel_casinh.
8288 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8289 arguments using __kernel_casinhf.
8290 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8291 arguments using __kernel_casinhl.
8292 * math/libm-test.inc (cacosh_test): Add more tests.
8293 * sysdeps/i386/fpu/libm-test-ulps: Update.
8294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8295
81f311c2
SP
82962013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8297
e7906a47
SP
8298 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8300
92e3664b
SP
8301 * bench/Makefile (bench): Add sin and slowsin.
8302 * benchtests/sin-inputs: New file.
8303 * benchtests/slowsin-inputs: New file.
8304 * benchtests/slowsin.c: New file.
8305
81f311c2
SP
8306 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8307 (bench): Add slowexp and slowpow.
8308 (exp-ITER): Increase iterations.
8309 (pow-ITER): Likewise.
8310 * benchtests/exp-inputs: Change input.
8311 * benchtests/pow-inputs: Likewise.
8312 * benchtests/slowexp-inputs: New file.
8313 * benchtests/slowexp.c: New file.
8314 * benchtests/slowpow-inputs: New file.
8315 * benchtests/slowpow.c: New file.
8316
ab0f1aa9
AZ
83172013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8318
8319 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8320 instructions.
8321 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8322 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8323 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8324 * benchtests/Makefile: Add rint benchtest.
8325 * benchtests/rint-inputs: Input for rint benchtest.
8326
57267616
TS
83272013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8328
8329 * Versions.def (libm): Add GLIBC_2.18.
8330 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8331 hidden libm prototypes.
8332 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8333 * math/Makefile (libm-calls): Add s_issignaling.
8334 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8335 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8336 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8337 declaration.
8338 * math/math.h [__USE_GNU] (issignaling): New macro.
8339 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8340 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8341 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8345 * manual/arith.texi (issignaling): New section.
8346 * manual/libm-err-tab.pl (@all_functions): Update comment.
8347 * math/gen-libm-test.pl (parse_args): Apply special handling for
8348 issignaling.
8349 * math/libm-test.inc (print_float, issignaling_test): New
8350 functions.
8351 (check_float_internal): Add issignaling checks.
8352 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8353 default definition.
8354 * sysdeps/powerpc/math-tests.h: New file.
8355 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8356 tests.
8357 * math/test-snan.c (TEST_FUNC): Likewise.
8358
6142896d
DM
83592013-03-30 David S. Miller <davem@davemloft.net>
8360
8361 * po/de.po: Update from translation team.
8362
ccc8cadf
JM
83632013-03-30 Joseph Myers <joseph@codesourcery.com>
8364
8365 [BZ #10357]
8366 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8367 imaginary part less than 1.0 and real part less than 0.5
8368 specially.
8369 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8370 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8371 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8372 (cacos_test): Add more tests.
8373 (casin_test): Likewise.
8374 (casinh_test): Likewise.
8375 * sysdeps/i386/fpu/libm-test-ulps: Update.
8376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8377
0f6a8d4b
SP
83782013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8379
0d1029de
SP
8380 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8381 ONE with its value.
8382
c2d94018
SP
8383 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8384 (__pow_mp): Replace ONE and MONE with their values.
8385 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8387 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8388 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8389 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8390 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8391
27ec37f1
SP
8392 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8393
a64d7e0e
SP
8394 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8395 (__pow_mp): Replace ZERO and MZERO with their values.
8396 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8397 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8398 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8400 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8401 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8402 (__sqr): Likewise.
8403
d26dd3eb
SP
8404 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8405
0f6a8d4b
SP
8406 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8407
e57b0c61
RM
84082013-03-28 Roland McGrath <roland@hack.frob.com>
8409
8410 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8411 Declare with __attribute__ ((weak)).
8412 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8413 Call __call_tls_dtors only if it's not NULL.
8414
356b3480
RM
84152013-03-28 Roland McGrath <roland@hack.frob.com>
8416
288f7d79
RM
8417 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8418 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8419 magic __ehdr_start linker symbol if it's defined.
8420 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8421 them up here if it was already done.
8422
dc0a0263
RM
8423 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8424 (_dl_aux_init): Use const in cast when setting it.
8425 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8426 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8427 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8428
3d3436ae
RM
8429 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8430 Declare them here.
8431 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8432 * csu/libc-tls.c: Nor here.
8433 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8434
356b3480
RM
8435 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8436 (__libc_message): Never call vsyslog.
8437
b0f1246a
AM
84382013-03-28 Alan Modra <amodra@gmail.com>
8439
8440 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8441 Define as empty.
8442 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8443 Likewise.
8444
fbbe2b9a
AZ
84452013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8446
8447 [BZ #15214]
8448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8449 underflow.
8450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8451
1728ab37
SP
84522013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8453
7a86be6e
SP
8454 [BZ #15304]
8455 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8456 Don't add gid passed as argument.
8457
1728ab37
SP
8458 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8459
3a7182a1
JM
84602013-03-27 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #15307]
8463 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8464 imaginary part between 1.0 and 1.5 and real part less than 0.5
8465 specially.
8466 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8467 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8468 * math/libm-test.inc (cacos_test): Add more tests.
8469 (casin_test): Likewise.
8470 (casinh_test): Likewise.
8471 * sysdeps/i386/fpu/libm-test-ulps: Update.
8472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8473
6f2e90e7
SP
84742013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8475
5739f705
SP
8476 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8477 constants.
8478 (norm): Likewise.
8479 (denorm): Likewise.
8480 (__dbl_mp): Likewise.
8481 (add_magnitudes): Likewise.
8482 (sub_magnitudes): Likewise.
8483 (__add): Likewise.
8484 (__sub): Likewise.
8485 (__mul): Likewise.
8486 (__sqr): Likewise.
8487 (__inv): Likewise.
8488 (__dvd): Likewise.
8489
e375e83d
SP
8490 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8491 commented code.
8492 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8493 (__dubcos): Likewise.
8494 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8495 (__ieee754_acos): Likewise.
8496 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8497 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8498 (__exp1): Likewise.
8499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8501 (log1): Likewise.
8502 (my_log2): Likewise.
8503 (checkint): Likewise.
8504 * sysdeps/ieee754/dbl-64/e_remainder.c
8505 (__ieee754_remainder): Likewise.
8506 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8508 (bsloww): Likewise.
8509 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8510
6f2e90e7
SP
8511 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8512 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8513 MANTISSA_STORE_T to store computations on mantissa. Use
8514 macros for rounding and division.
8515 (denorm): Likewise.
8516 (__dbl_mp): Likewise.
8517 (add_magnitudes): Likewise.
8518 (sub_magnitudes): Likewise.
8519 (__mul): Likewise.
8520 (__sqr): Likewise.
8521 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8522 powers of two in terms of TWOPOW macro.
8523 (mp_no): Make type of mantissa as MANTISSA_T.
8524 [!RADIXI]: Define RADIXI.
8525 [!TWO52]: Define TWO52.
8526 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8527
fce14d4e
AZ
85282013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8529
8530 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8531 llroundl symbol when building for PPC32.
8532
9ad027fb
MW
85332013-03-24 Mark H Weaver <mhw@netris.org>
8534
8535 * manual/arith.texi (Normalization Functions): Fix prototypes for
8536 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8537
e42a38dd
AZ
85382013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8539
8540 [BZ #13889]
8541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8542 high value to check if expl overflow.
8543 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8544 to check for underflow and overflow.
8545 * math/libm-test.inc: Add exp test.
8546
2e0fb521
DL
85472013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8548
8549 [BZ #11120]
8550 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8551 with NOT_IN_libc.
8552
b5784d95
AZ
85532013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8554
8555 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8556 symbol.
8557
5aa4a1a1
TS
85582013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8559
bdef0be7
TS
8560 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8561 wrap blocks consisting of several statements.
8562
5aa4a1a1
TS
8563 * sysdeps/generic/math-tests.h: New file.
8564 * sysdeps/i386/fpu/math-tests.h: Likewise.
8565 * math/test-snan.c: Include it.
8566 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8567
98c48fe5
JM
85682013-03-21 Joseph Myers <joseph@codesourcery.com>
8569
8570 [BZ #15285]
8571 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8572 (__ieee754_j0l): Do not improve calculations using cos of twice
8573 input for inputs above LDBL_MAX / 2.0L.
8574 (__ieee754_y0l): Likewise.
8575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8576 (__ieee754_j1l): Do not improve calculations using cos of twice
8577 input for inputs above LDBL_MAX / 2.0L.
8578 (__ieee754_y1l): Likewise.
8579 * math/libm-test.inc (j0_test): Add another test.
8580 (j1_test): Likewise.
8581 (y0_test): Likewise.
8582 (y1_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584
3775a8bc
SP
85852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8586
8587 * Rules ($(objpfx)bench-%.c): Include code from a C source
8588 file.
8589
0a1b2ae6
JM
85902013-03-21 Joseph Myers <joseph@codesourcery.com>
8591
8592 [BZ #15287]
8593 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8594 imaginary part 1.0 and real part less than 0.5 specially.
8595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8597 * math/libm-test.inc (cacos_test): Add more tests.
8598 (casin_test): Likewise.
8599 (casinh_test): Likewise.
8600 * sysdeps/i386/fpu/libm-test-ulps: Update.
8601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8602
b33d4ce4
SP
86032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8604
8605 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8606 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8607
bef0b507
JM
86082013-03-20 Joseph Myers <joseph@codesourcery.com>
8609
8610 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8611 * config.make.in (config-cflags-sse4): Remove variable.
8612 (config-cflags-avx): Likewise.
8613 (config-cflags-sse2avx): Likewise.
8614 (config-cflags-novzeroupper): Likewise.
8615 (config-asflags-i686): Likewise.
8616 (have-mfma4): Likewise.
8617 (have-as-vis3): Likewise.
8618 (MIG): Likewise.
8619 * configure.in (MIG): Do not AC_SUBST.
8620 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8621 (libc_cv_cc_sse4): Do not AC_SUBST.
8622 (libc_cv_cc_avx): Likewise.
8623 (libc_cv_cc_sse2avx): Likewise.
8624 (libc_cv_cc_novzeroupper): Likewise.
8625 (libc_cv_cc_fma4): Likewise.
8626 (libc_cv_as_i686): Likewise.
8627 (libc_cv_sparc_as_vis3): Likewise.
8628 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8629 LIBC_CONFIG_VAR.
8630 (config-asflags-i686): Likewise.
8631 (config-cflags-avx): Likewise.
8632 (config-cflags-sse2avx): Likewise.
8633 (have-mfma4): Likewise.
8634 (config-cflags-novzeroupper): Likewise.
8635 * sysdeps/mach/configure.in (MIG): Likewise.
8636 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8637 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8638 LIBC_CONFIG_VAR.
8639 (config-cflags-avx): Likewise.
8640 (config-cflags-sse2avx): Likewise.
8641 (have-mfma4): Likewise.
8642 (config-cflags-novzeroupper): Likewise.
8643 * configure: Regenerated.
8644 * sysdeps/i386/configure: Likewise.
8645 * sysdeps/mach/configure: Likewise.
8646 * sysdeps/sparc/configure: Likewise.
8647 * sysdeps/x86_64/configure: Likewise.
8648
912cc4b3
RM
86492013-03-20 Roland McGrath <roland@hack.frob.com>
8650
8651 [BZ #14812]
8652 * locale/programs/localedef.c (options): Put N_ translation marker
8653 on argument names, not just descriptions.
8654
04eed2b0
MS
86552013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8656
8657 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8658
a065ceff
OB
86592013-03-20 Ondřej Bílka <neleai@seznam.cz>
8660
9bb2a810 8661 [BZ #14176]
a065ceff
OB
8662 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8663
a600e5ce
RM
86642013-03-19 Roland McGrath <roland@hack.frob.com>
8665
8666 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8667 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8668 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8669 [!BEFORE_ABORT] (before_abort): New function.
8670 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8671 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8672 (writev_for_fatal): New function.
8673 (WRITEV_FOR_FATAL): New macro; call that.
8674 (backtrace_and_maps): New function.
8675 (BEFORE_ABORT): New macro; call that.
8676 (struct str_list): Type removed.
8677 (__libc_message, __libc_fatal): Functions removed.
8678 Include <sysdeps/posix/libc_fatal.c> instead.
8679
6b18bea6
JM
86802013-03-19 Joseph Myers <joseph@codesourcery.com>
8681
8682 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8683 constants.
8684 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8685 double constants.
8686
aaa8cb4b
AS
86872013-03-19 Andreas Schwab <schwab@suse.de>
8688
44673770
AS
8689 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8690 * sysdeps/gnu/configure: Regenerate.
8691
aaa8cb4b
AS
8692 * configure.in: Substitute libc_cv_rtlddir.
8693 * configure: Regenerate.
8694 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8695 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8696 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8697 * elf/Makefile (install-others, CFLAGS-interp.c)
8698 (ldso_install, common-ldd-rewrite): Likewise.
8699 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8700 $(inst_slibdir)/$(rtld-installed-name).
8701 * scripts/rellns-sh: Add -p option.
8702 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8703 for source.
8704
d3cfc668
SP
87052013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8706
8707 * manual/nptl.texi: Renamed to ...
8708 * manual/threads.texi: ... this.
8709 * manual/Makefile (chapters): Update.
8710
0e2b9cdd
RM
87112013-03-18 Roland McGrath <roland@hack.frob.com>
8712
8713 [BZ #14812]
8714 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8715 on argument names, not just descriptions.
0e2b9cdd
RM
8716 * malloc/memusagestat.c (options): Likewise.
8717 * nss/getent.c (options): Likewise.
63270c24
RM
8718
87192013-03-18 Benno Schulenberg <bensberg@justemail.net>
8720
8721 [BZ #14812]
8722 * iconv/iconv_prog.c (options): Put N_ translation marker
8723 on argument names, not just descriptions.
8724 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8725
b2e1393c
OB
87262013-03-18 Ondrej Bilka <neleai@seznam.cz>
8727
8728 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8729 implementation which is faster on all x86_64 architectures.
8730 Tested on AMD, Intel Nehalem, SNB, IVB.
8731 * sysdeps/x86_64/strnlen.S: Likewise.
8732
8733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8734 Remove all multiarch strlen and strnlen versions.
8735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8736 Remove strlen and strnlen related parts.
8737
8738 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8739 Inline strlen part.
8740 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8741
8742 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8743 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8744 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8745 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8746 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8747 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8748
ec4ff04d
CD
87492013-03-17 Carlos O'Donell <carlos@redhat.com>
8750
8751 * manual/memory.texi (Malloc Tunable Parameters):
8752 Sort parameters alphabetically. Add comments for missing entries.
8753
cd18e90a
DM
87542013-03-17 David S. Miller <davem@davemloft.net>
8755
8756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8757
2a185d32
JM
87582013-03-16 Joseph Myers <joseph@codesourcery.com>
8759
d2f9799e
JM
8760 [BZ #15283]
8761 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8762 for arguments at most half maximum finite value.
8763 * math/libm-test.inc (j0_test): Add more tests.
8764 (j1_test): Likewise.
8765 (y0_test): Likewise.
8766 (y1_test): Likewise.
8767 * sysdeps/i386/fpu/libm-test-ulps: Update.
8768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8769
2a185d32
JM
8770 [BZ #14155]
8771 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8772 1 / x and functions P and Q for arguments above 0x1p256L.
8773 (__ieee754_y0l): Likewise.
8774 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8775 (__ieee754_y1l): Likewise.
8776 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8777 (j1_test): Likewise.
8778 (y0_test): Likewise.
8779 (y1_test): Likewise.
8780
6cbec759
TS
87812013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8782
8783 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8784 variable.
8785
bc16e260
RM
87862013-03-15 Roland McGrath <roland@hack.frob.com>
8787
aefc9b8c
RM
8788 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8789 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8790 zero since it's initialized to EXEC_PAGESIZE.
8791
bc16e260
RM
8792 * sysdeps/unix/sysv/linux/ldsodefs.h
8793 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8794 * sysdeps/generic/ldsodefs.h: ... here.
8795
a57da955
TS
87962013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8797
af00a34d
TS
8798 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8799
495ded2c
TS
8800 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8801 math/test-snan.c.
8802 * math/test-snan.c: Renamed from
8803 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8804 * math/Makefile (tests): Add test-snan.
8805 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8806 test-powerpc-snan.
8807
777b0332
TS
8808 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8809 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8810 functions.
8811 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8812 __builtin_nan family of functions.
8813 * math/libm-test.inc (initialize): Initialize qnan_value with
8814 __builtin_nan family of functions.
8815 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8816 Remove variables.
8817 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8818 Remove functions.
8819 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8820 storage class. Initialize qNaN_var and sNaN_var with
8821 __builtin_nan and __builtin_nans families of functions,
8822 respectively.
8823
64d063b8
TS
8824 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8825 (sqrt_test): Remove duplicate test with qNaN input.
8826 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8827 (round_test, signbit_test, significand_test): Note missing +/-Inf
8828 as well as qNaN tests.
8829
67e971f1
TS
8830 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8831 qNaN_var. Fix a few strings, too.
8832 * math/libm-test.inc (nan_value): Rename to qnan_value.
8833 * math/gen-libm-test.pl (%beautify): Adjust to that.
8834 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8835 * math/test-misc.c (main): Likewise.
8836 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8837 to __qnan_bytes, and __qnan_union, respectively.
8838 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8839 Likewise.
8840 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8841 and lqnanval, respectively.
8842 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8843 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8844 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8845 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8846
64487e12
TS
8847 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8848 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8849 doubles.
8850
e015e27b
TS
8851 * math/test-misc.c (main): Fix copy'n'pastos.
8852 * misc/tst-efgcvt.c (special): Likewise.
8853
a57da955
TS
8854 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8855 Remove declarations.
8856
1e380345
SP
88572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8858
8859 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8860 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8861 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8862 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8863
ef26eece
AZ
88642013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8865
8866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8867 macro to return vdso values correctly in IFUNC implementations.
8868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8869 Optimization by using IFUNC.
8870
8cfdb7e0
SP
88712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8872 Richard Henderson <rth@redhat.com>
8873 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8874
8875 * Makefile.in (bench): New target.
8876 * NEWS: Mention the benchmark framework.
8877 * Rules (bench): Likewise.
8878 (binaries-bench): Generate binaries for functions to
8879 benchmark.
8880 * benchtests/Makefile: New makefile for benchmark tests.
8881 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8882 programs.
8883 * benchtests/exp-inputs: New input file for EXP function.
8884 * benchtests/pow-inputs: New input file for POW function.
8885 * scripts/bench.pl: New script to generate source files for
8886 benchmark programs.
8887
bcda9880
SP
88882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8889
d22ca8cd
SP
8890 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8891 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8892 computations on mantissa. Use macros for rounding and
8893 division.
8894 (denorm): Likewise.
8895 (__dbl_mp): Likewise.
8896 (add_magnitudes): Likewise.
8897 (sub_magnitudes): Likewise.
8898 (__mul): Likewise.
8899 (__sqr): Likewise.
8900 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8901 powers of two in terms of TWOPOW macro.
8902 (mp_no): Make type of mantissa as MANTISSA_T.
8903 [!RADIXI]: Define RADIXI.
8904 [!TWO52]: Define TWO52.
8905 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8906
bcda9880
SP
8907 * manual/nptl.texi (cindex): Modify threads to pthreads.
8908
06d5adfb
JM
89092013-03-15 Joseph Myers <joseph@codesourcery.com>
8910
8911 * sysdeps/x86_64/preconfigure: Regenerated.
8912
41c7328e
JM
89132013-03-14 Joseph Myers <joseph@codesourcery.com>
8914
8915 [BZ #14155]
8916 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8917 0x1p28 and above.
8918 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8919 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8920 0x1p28 and above.
8921 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8922 * math/libm-test.inc (j0_test): Do not allow one spurious
8923 underflow exception.
8924 (y1_test): Likewise.
8925
e25cfa60
SP
89262013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8927
0409959c
SP
8928 * manual/Makefile (chapters): Add nptl.
8929 * manual/debug.texi (Debugging Support): Add link to Threads
8930 chapter.
8931 * manual/nptl.texi: New file.
8932
e25cfa60
SP
8933 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8934
58a1335e
PB
89352013-03-14 Petr Baudis <pasky@ucw.cz>
8936
8937 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8938 for non-NULL pointer before the memory validity test. Pointed
8939 out by Holger Brunck <holger.brunck@keymile.com>.
8940
9dc7c64f
AS
89412013-03-13 Andreas Schwab <schwab@suse.de>
8942
8943 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8944 instead of .os.
8945
54206aa6
JM
89462013-03-13 Joseph Myers <joseph@codesourcery.com>
8947
8948 * timezone/zic.c: Update from tzcode 2013b.
8949
e98cdb38
CD
89502013-03-12 Carlos O'Donell <carlos@redhat.com>
8951
8952 * manual/install.texi (Configuring and compiling):
8953 Mention i686 and i586.
8954 * INSTALL: Regenerate.
8955
9967e003
RM
89562013-03-12 Roland McGrath <roland@hack.frob.com>
8957
8958 * sysdeps/init_array/elf-init.c: New file.
8959 * csu/elf-init.c
8960 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8961 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8962
8963 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8964 __gmon_start__ as global, but as static with a .preinit_array pointer.
8965 * sysdeps/init_array/gmon-start.c: New file. Use that.
8966 * sysdeps/init_array/crti.S: New file, empty except for comments.
8967 * sysdeps/init_array/crtn.S: Likewise.
8968
e6b5a293 89692013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8970
8971 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8972 definining bcopy.
80f844c9
OB
8973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8974 Remove Prefer_SSE_for_memop.
8975 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8976 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8977 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8979 memset-x86-64.
80f844c9 8980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8981 Remove bzero, memset ifunc support.
80f844c9
OB
8982 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8983 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8984 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8985 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8986
fb6b0fcb
AS
89872013-03-11 Andreas Schwab <schwab@suse.de>
8988
8989 [BZ #15234]
8990 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8991 by SHLIB_COMPAT.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8993 (GLIBC_2.16): Remove pthread_atfork.
8994
3e6bd4b1
PP
89952013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8996
8997 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8998 (ptestcases.h): Likewise.
8999
222d7f00
RM
90002013-03-08 Roland McGrath <roland@hack.frob.com>
9001
9002 * Makeconfig ($(common-objpfx)config.status): Depend on
9003 sysdeps/*/preconfigure{,.in} too.
9004
1ba4f030
JM
90052013-03-08 Joseph Myers <joseph@codesourcery.com>
9006
a222d91a
JM
9007 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9008 (__free_hook): Use void * instead of __malloc_ptr_t.
9009 (__malloc_hook): Likewise.
9010 (__realloc_hook): Likewise.
9011 (__memalign_hook): Likewise.
9012 (__after_morecore_hook): Likewise.
9013 * malloc/arena.c (save_malloc_hook): Likewise.
9014 (save_free_hook): Likewise.
9015 * malloc/hooks.c (malloc_hook_ini): Likewise.
9016 (realloc_hook_ini): Likewise.
9017 (memalign_hook_ini): Likewise.
9018 * malloc/malloc.c (malloc_hook_ini): Likewise.
9019 (realloc_hook_ini): Likewise.
9020 (memalign_hook_ini): Likewise.
9021 (__free_hook): Likewise.
9022 (__malloc_hook): Likewise.
9023 (__realloc_hook): Likewise.
9024 (__memalign_hook): Likewise.
9025 (__libc_malloc): Likewise.
9026 (__libc_free): Likewise.
9027 (__libc_realloc): Likewise.
9028 (__libc_memalign): Likewise.
9029 (__libc_valloc): Likewise.
9030 (__libc_pvalloc): Likewise.
9031 (__libc_calloc): Likewise.
9032 (__posix_memalign): Likewise.
9033 * malloc/morecore.c (__sbrk): Likewise.
9034 (__default_morecore): Likewise.
9035
5cc45e10
JM
9036 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9037
dd54b864
JM
9038 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9039 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9040 __malloc_ptrdiff_t.
9041
1ba4f030
JM
9042 * malloc/malloc.h (__malloc_size_t): Remove macro.
9043 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9044 __malloc_size_t.
9045 (old_memalign_hook): Likewise.
9046 (old_realloc_hook): Likewise.
9047 (struct hdr): Likewise.
9048 (flood): Likewise.
9049 (mallochook): Likewise.
9050 (memalignhook): Likewise.
9051 (reallochook): Likewise.
9052 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9053 (tr_old_realloc_hook): Likewise.
9054 (tr_old_memalign_hook): Likewise.
9055 (tr_mallochook): Likewise.
9056 (tr_reallochook): Likewise.
9057 (tr_memalignhook): Likewise.
9058
edf66e57
AZ
90592013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9060
9061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9062 default_ldbl_pack and using as default implementation.
9063 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9064 implementation.
9065 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9066 redundant definition.
9067 (ldbl_insert_mantissa): Likewise.
9068 (ldbl_canonicalize): Likewise.
9069 (ldbl_nearbyint): Likewise.
9070 (ldbl_pack): Rename to ldbl_pack_ppc.
9071 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9072 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9073 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9074
6d9145d8
SP
90752013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9076
9077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9078 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9079 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9080 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9082 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9083 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9084 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9085
4dd4e157
AJ
90862013-03-07 Andreas Jaeger <aj@suse.de>
9087
9088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9089 bits/mman-linux.h.
9090
adbb8027
SP
90912013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9092
ce544b5b
SP
9093 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9094 Include mpa.h and declare __MPEXP.
9095 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9096 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9097 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9098 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9099 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9100 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9101 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9102
4cc149fd
SP
9103 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9104 (__slowpow): Use long double EXPL and LOGL functions to
9105 compute POW.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9107 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9108 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9109 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9110 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9111 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9112
e6ebd4a7
SP
9113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9114 intermediate variable to calculate exponent.
9115 (__sqr): Likewise.
9116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9117 Likewise.
9118 (__sqr): Likewise.
9119
82a9811d
SP
9120 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9121 [!NO__SQR]: Define __sqr.
9122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9123 and NO__SQR. Remove all code except __mul and __sqr. Include
9124 sysdeps/ieee754/dbl-64/mpa.c.
9125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9126
adbb8027
SP
9127 [BZ #12723]
9128 * posix/Makefile (tests): Add tst-pathconf.
9129 * posix/tst-pathconf.c: New test case.
9130 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9131 _PC_PIPE_BUF.
9132 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9133
39120df9
PF
91342013-03-06 Patsy Franklin <pfrankli@redhat.com>
9135
9136 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9137
67525cb8
AJ
91382013-03-06 Andreas Jaeger <aj@suse.de>
9139
664a9ce4
AJ
9140 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9141 definition via __MAP_ANONYMOUS.
9142
8e39047d
AJ
9143 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9144 it's not part of Linux headers.
9145
67525cb8
AJ
9146 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9147 (MAP_HUGE_MASK): Define.
9148
9149 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9150 Define.
9151 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9153 Define.
9154 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9155 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9156 Define.
9157 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9158 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9159 Define.
9160 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9161
9162 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9163 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9164 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9165 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9166 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9167 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9168
9169 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9170 Handle f2fs.
9171
9172 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9173 Handle f2fs and efivarfs.
9174
9175 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9176 f2fs.
9177
9178 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9179 (EFIVARFS_MAGIC): Add.
9180 (F2FS_LINK_MAX): Add.
9181
e1b42695
PP
91822013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9183
9184 * stdio-common/vfprintf.c: Replace __builtin_expect with
9185 __glibc_unlikely.
9186
2d67d91a
JM
91872013-03-06 Joseph Myers <joseph@codesourcery.com>
9188
9189 [BZ #13550]
9190 * sysdeps/generic/bp-sym.h: Remove file.
9191 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9192 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9193 <bp-sym.h> and <bp-asm.h>.
9194 (__longjmp): Don't use BP_SYM.
9195 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9196 and <bp-asm.h>.
9197 (memcpy): Don't use BP_SYM.
9198 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9199 <bp-sym.h> and <bp-asm.h>.
9200 (memcpy): Don't use BP_SYM.
9201 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9202 <bp-asm.h>.
9203 (memcpy): Don't use BP_SYM.
9204 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9205 <bp-asm.h>.
9206 (memset): Don't use BP_SYM.
9207 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9208 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9209 (__bzero): Don't use BP_SYM.
9210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9212 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9213 <bp-sym.h> and <bp-asm.h>.
9214 (memcmp): Don't use BP_SYM. Remove comment about bounded
9215 pointers.
9216 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9217 <bp-sym.h> and <bp-asm.h>.
9218 (memcpy): Don't use BP_SYM.
9219 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9220 <bp-sym.h> and <bp-asm.h>.
9221 (memset): Don't use BP_SYM.
9222 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9223 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9224 (__bzero): Don't use BP_SYM.
9225 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9226 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9227 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9228 <bp-sym.h> and <bp-asm.h>.
9229 (strncmp): Don't use BP_SYM. Remove comment about bounded
9230 pointers.
9231 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9232 <bp-sym.h> and <bp-asm.h>.
9233 (memcpy): Don't use BP_SYM.
9234 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9235 <bp-sym.h> and <bp-asm.h>.
9236 (memset): Don't use BP_SYM.
9237 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9238 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9239 (__bzero): Don't use BP_SYM.
9240 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9241 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9243 <bp-sym.h> and <bp-asm.h>.
9244 (__memchr): Don't use BP_SYM.
9245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9246 <bp-sym.h> and <bp-asm.h>.
9247 (memcmp): Don't use BP_SYM. Remove comment about bounded
9248 pointers.
9249 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9250 <bp-sym.h> and <bp-asm.h>.
9251 (memcpy): Don't use BP_SYM.
9252 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9253 <bp-sym.h> and <bp-asm.h>.
9254 (__mempcpy): Don't use BP_SYM.
9255 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9256 <bp-sym.h> and <bp-asm.h>.
9257 (__memrchr): Don't use BP_SYM.
9258 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9259 <bp-sym.h> and <bp-asm.h>.
9260 (memset): Don't use BP_SYM.
9261 (__bzero): Likewise.
9262 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9263 <bp-sym.h> and <bp-asm.h>.
9264 (__rawmemchr): Don't use BP_SYM.
9265 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9266 <bp-sym.h> and <bp-asm.h>.
9267 (__STRCMP): Don't use BP_SYM.
9268 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9269 <bp-sym.h> and <bp-asm.h>.
9270 (strchr): Don't use BP_SYM.
9271 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9272 <bp-sym.h> and <bp-asm.h>.
9273 (__strchrnul): Don't use BP_SYM.
9274 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9275 <bp-sym.h> and <bp-asm.h>.
9276 (strlen): Don't use BP_SYM.
9277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9278 <bp-sym.h> and <bp-asm.h>.
9279 (strncmp): Don't use BP_SYM. Remove comment about bounded
9280 pointers.
9281 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9282 <bp-sym.h> and <bp-asm.h>.
9283 (__strnlen): Don't use BP_SYM.
9284 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9285 <bp-sym.h> and <bp-asm.h>.
9286 (__GI__setjmp): Don't use BP_SYM.
9287 (_setjmp): Likewise.
9288 (__sigsetjmp): Likewise.
9289 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9290 (L(start_addresses)): Don't use BP_SYM.
9291 (_start): Likewise.
9292 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9293 <bp-asm.h>.
9294 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9295 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9296 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9297 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9298 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9299 <bp-asm.h>.
9300 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9301 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9302 about bounded pointers.
9303 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9304 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9305 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9306 <bp-asm.h>.
9307 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9308 about bounded pointers. Remove GKM FIXME comments.
9309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9310 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9311 <bp-asm.h>.
9312 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9313 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9314 Remove GKM FIXME comments.
9315 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9316 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9317 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9318 <bp-asm.h>.
9319 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9320 about bounded pointers. Remove GKM FIXME comment.
9321 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9322 and <bp-asm.h>.
9323 (strncmp): Don't use BP_SYM. Remove comment about bounded
9324 pointers.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9326 <bp-sym.h> and <bp-asm.h>.
9327 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9329 <bp-sym.h> and <bp-asm.h>.
9330 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9331 comment.
9332
cdcf361f
PP
93332013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9334
9335 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9336 call free(NULL).
9337
3c4a2b15
DM
93382013-03-05 David S. Miller <davem@davemloft.net>
9339
9340 * po/es.po: Update from translation team.
9341
cdcf361f 93422013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9343
9344 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9345 <bits/mman-linux.h>.
9346 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9347 is fine.
9348 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9349 <bits/mman-linux.h> to end of file.
9350 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9351 is fine.
9352 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9353 <bits/mman-linux.h> to end of file.
9354 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9355 is fine.
9356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9357 <bits/mman-linux.h> to end of file.
9358
9359 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9360 (MCL_CURRENT, MCL_FUTURE): Define here.
9361
5f67c04f
AK
93622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9363
8a4473cc 9364 [BZ #15232]
5f67c04f
AK
9365 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9366 attribute_hidden.
9367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9368
c3e94a95
AK
93692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9370
9371 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9372 fourth parameter needed for rt_sigprocmask syscall.
9373 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9374 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9375 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9376 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9377 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9378 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9379
cfb6382a
JM
93802013-03-04 Joseph Myers <joseph@codesourcery.com>
9381
9382 [BZ #13550]
9383 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9384 comment about bounded pointers.
9385 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9386 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9387
539d8e01
AJ
93882013-03-04 Andreas Jaeger <aj@suse.de>
9389
9390 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9391 common definitions.
9392
9393 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9394 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9395 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9396 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9397 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9398 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9399
2e167a70 94002013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9401
9402 [BZ #15055]
9403 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9404 __ieee754_sqrl instead of __sqrl.
9405
68508633
JM
94062013-03-01 Joseph Myers <joseph@codesourcery.com>
9407
9408 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9409 * sysdeps/powerpc/fpu_control.h: ... here.
9410 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9411 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9412 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9413 * sysdeps/powerpc/bits/mathinline.h: ... here.
9414
7775448e
RM
94152013-03-01 Roland McGrath <roland@hack.frob.com>
9416
9417 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9418 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9419 to just [NEED_DL_SYSINFO_DSO].
9420 * elf/dl-support.c: Likewise.
9421 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9422 * elf/rtld.c (dl_main): Likewise.
9423 * elf/setup-vdso.h (setup_vdso): Likewise.
9424 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9425 * sysdeps/unix/sysv/linux/dl-sysdep.c
9426 (_dl_discover_osversion): Likewise.
9427
4e9b5995
CD
94282013-03-01 Carlos O'Donell <carlos@redhat.com>
9429
9430 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9431 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9432
e23872c8
SP
94332013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9434
e5c74c63
SP
9435 * NEWS: Mention libm performance improvements and non-x86 PI
9436 futex support.
9437
e23872c8
SP
9438 * csu/libc-start.c (__pthread_initialize_minimal): Change
9439 function arguments.
9440 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9441
b5510883
JM
94422013-02-28 Joseph Myers <joseph@codesourcery.com>
9443
9444 [BZ #13550]
9445 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9446 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9447 <bp-sym.h> and <bp-asm.h>.
9448 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9449 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9450 and <bp-asm.h>.
9451 (memcpy): Don't use BP_SYM.
9452 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9453 <bp-asm.h>.
9454 (__mpn_add_n): Don't use BP_SYM.
9455 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9456 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9457 and <bp-asm.h>.
9458 (__mpn_addmul_1): Don't use BP_SYM.
9459 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9460 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9461 <bp-sym.h>.
9462 (_setjmp): Don't use BP_SYM.
9463 (__novmx_setjmp): Likewise.
9464 (__GI__setjmp): Likewise.
9465 (__vmx_setjmp): Likewise.
9466 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9467 <bp-sym.h>.
9468 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9469 (__bzero): Don't use BP_SYM.
9470 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9471 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9472 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9473 <bp-sym.h> and <bp-asm.h>.
9474 (memcpy): Don't use BP_SYM.
9475 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9476 <bp-sym.h> and <bp-asm.h>.
9477 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9478 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9479 <bp-sym.h> and <bp-asm.h>.
9480 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9481 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9482 <bp-asm.h>.
9483 (__mpn_lshift): Don't use BP_SYM.
9484 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9486 <bp-asm.h>.
9487 (memset): Don't use BP_SYM.
9488 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9489 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9490 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9491 <bp-asm.h>.
9492 (__mpn_mul_1): Don't use BP_SYM.
9493 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9494 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9495 <bp-sym.h> and <bp-asm.h>.
9496 (memcmp): Don't use BP_SYM.
9497 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9498 <bp-sym.h> and <bp-asm.h>.
9499 (memcpy): Don't use BP_SYM.
9500 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9501 <bp-sym.h> and <bp-asm.h>.
9502 (memset): Don't use BP_SYM.
9503 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9504 <bp-sym.h> and <bp-asm.h>.
9505 (strncmp): Don't use BP_SYM.
9506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9507 <bp-sym.h> and <bp-asm.h>.
9508 (memcpy): Don't use BP_SYM.
9509 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9510 <bp-sym.h> and <bp-asm.h>.
9511 (memset): Don't use BP_SYM.
9512 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9513 <bp-sym.h> and <bp-asm.h>.
9514 (__memchr): Don't use BP_SYM.
9515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9516 <bp-sym.h> and <bp-asm.h>.
9517 (memcmp): Don't use BP_SYM.
9518 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9519 <bp-sym.h> and <bp-asm.h>.
9520 (memcpy): Don't use BP_SYM.
9521 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9522 <bp-sym.h> and <bp-asm.h>.
9523 (__mempcpy): Don't use BP_SYM.
9524 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9525 <bp-sym.h> and <bp-asm.h>.
9526 (__memrchr): Don't use BP_SYM.
9527 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9528 <bp-sym.h> and <bp-asm.h>.
9529 (memset): Don't use BP_SYM.
9530 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9531 <bp-sym.h> and <bp-asm.h>.
9532 (__rawmemchr): Don't use BP_SYM.
9533 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9534 <bp-sym.h> and <bp-asm.h>.
9535 (__STRCMP): Don't use BP_SYM.
9536 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9537 <bp-sym.h> and <bp-asm.h>.
9538 (strchr): Don't use BP_SYM.
9539 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9540 <bp-sym.h> and <bp-asm.h>.
9541 (__strchrnul): Don't use BP_SYM.
9542 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9543 <bp-sym.h> and <bp-asm.h>.
9544 (strlen): Don't use BP_SYM.
9545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9546 <bp-sym.h> and <bp-asm.h>.
9547 (strncmp): Don't use BP_SYM.
9548 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9549 <bp-sym.h> and <bp-asm.h>.
9550 (__strnlen): Don't use BP_SYM.
9551 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9552 <bp-asm.h>.
9553 (__mpn_rshift): Don't use BP_SYM.
9554 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9556 <bp-sym.h> and <bp-asm.h>.
9557 (__sigsetjmp): Don't use BP_SYM.
9558 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9559 (L(start_addresses)): Don't use BP_SYM.
9560 (_start): Likewise.
9561 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9562 <bp-asm.h>.
9563 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9564 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9565 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9566 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9567 <bp-asm.h>.
9568 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9569 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9570 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9571 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9572 <bp-asm.h>.
9573 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9574 comments.
9575 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9576 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9577 <bp-asm.h>.
9578 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9579 FIXME comments.
9580 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9581 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9582 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9583 <bp-asm.h>.
9584 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9585 comment.
9586 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9587 and <bp-asm.h>.
9588 (strncmp): Don't use BP_SYM,
9589 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9590 <bp-asm.h>.
9591 (__mpn_sub_n): Don't use BP_SYM.
9592 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9593 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9594 and <bp-asm.h>.
9595 (__mpn_submul_1): Don't use BP_SYM.
9596 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9598 <bp-sym.h> and <bp-asm.h>.
9599 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9601 <bp-sym.h> and <bp-asm.h>.
9602 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9603 comment.
9604
8d19fe64
SP
96052013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9606
9607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9608 Use ZK to minimize writes to Z.
9609 (sub_magnitudes): Simplify code a bit.
9610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9611 Use ZK to minimize writes to Z.
9612 (sub_magnitudes): Simplify code a bit.
9613
85bd816a
RM
96142013-02-27 Roland McGrath <roland@hack.frob.com>
9615
9616 * csu/gmon-start.c: Add special exception to license text.
9617
b5977bf2
RH
96182013-02-27 Richard Henderson <rth@redhat.com>
9619
9620 * scripts/config.guess: Update from config.git.
9621 * scripts/config.sub: Likewise.
9622
11d6e2f2
SP
96232013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9624
09c14ed2
SP
9625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9626
a688864e
SP
9627 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9628
6295157a
SP
9629 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9630
b8de2202
SP
9631 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9632
11d6e2f2
SP
9633 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9634
7e80ddb8
RM
96352013-02-26 Roland McGrath <roland@hack.frob.com>
9636
9637 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9638 [$(build-shared = yes].
7e80ddb8 9639
7da6d9ed
SP
96402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9641
45f05884
SP
9642 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9643 (__mul): Reduce iterations for calculating mantissa.
9644
2236d359
SP
9645 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9646 MPTWO.
9647 (__mpranred): Likewise.
9648
7da6d9ed
SP
9649 [BZ #15160]
9650 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9651 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9652
b7688c42
PE
96532013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9654
9655 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9656 Define __attribute__.
9657
53a5c423
SP
96582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9659
9660 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9661 unused.
9662 * posix/regex_internal.h (__attribute): Remove.
9663 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9664 (re_string_context_at): Likewise.
9665 (bitset_not): Use __attribute__ and mark function as possibly
9666 unused.
9667 (bitset_merge): Likewise.
9668 (bitset_mask): Likewise.
9669 (re_string_char_size_at): Likewise.
9670 (re_string_wchar_at): Likewise.
9671 (re_string_elem_size_at): Likewise.
9672
60f5a8b5
SP
96732013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9674
2a983a2e
SP
9675 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9676 code.
9677 (cc32): Likewise.
9678
e69804d1
SP
9679 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9680 (__acr): Likewise.
9681 (__cpy): Likewise.
9682 (norm): Likewise.
9683 (denorm): Likewise.
9684 (__dbl_mp): Likewise.
9685 (add_magnitudes): Likewise.
9686 (sub_magnitudes): Likewise.
9687 (__mul): Likewise.
9688 (__inv): Likewise.
9689
2f22a1e8
SP
9690 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9691 style.
9692
8930ddc7
SP
9693 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9694 style.
9695
dc60cb11
SP
9696 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9697 code.
9698
60f5a8b5
SP
9699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9700 up changes with default code.
9701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9702 Likewise.
9703
b4d1fd33
AM
97042013-02-24 Allan McRae <allan@archlinux.org>
9705
faf6f8bc
AM
9706 * manual/socket.texi (The Internet Namespace): Order menu items
9707 to match that in the file.
9708
b4d1fd33
AM
9709 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9710 node listing of the info page menu.
9711
2366713d
JM
97122013-02-21 Joseph Myers <joseph@codesourcery.com>
9713
9714 [BZ #13550]
9715 * sysdeps/i386/bp-asm.h: Remove file.
9716 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9717 (PARMS): Do not use macros from bp-asm.h.
9718 (S1): Likewise.
9719 (S2): Likewise.
9720 (SIZE): Likewise.
9721 (__mpn_add_n): Do not use BP_SYM
9722 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9723 "bp-asm.h".
9724 (PARMS): Do not use macros from bp-asm.h.
9725 (S1): Likewise.
9726 (SIZE): Likewise.
9727 (__mpn_addmul_1): Do not use BP_SYM
9728 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9729 "bp-asm.h".
9730 (PARMS): Do not use macros from bp-asm.h.
9731 (SIGMSK): Likewise.
9732 (_setjmp): Likewise. Do not use BP_SYM.
9733 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9734 "bp-asm.h".
9735 (PARMS): Do not use macros from bp-asm.h.
9736 (SIGMSK): Likewise.
9737 (setjmp): Likewise. Do not use BP_SYM.
9738 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9739 "bp-asm.h".
9740 (PARMS): Do not use macros from bp-asm.h.
9741 (__frexp): Do not use BP_SYM.
9742 (frexp): Likewise.
9743 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9744 "bp-asm.h".
9745 (PARMS): Do not use macros from bp-asm.h.
9746 (__frexpf): Do not use BP_SYM.
9747 (frexpf): Likewise.
9748 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9749 "bp-asm.h".
9750 (PARMS): Do not use macros from bp-asm.h.
9751 (__frexpl): Do not use BP_SYM.
9752 (frexpl): Likewise.
9753 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9754 "bp-asm.h".
9755 (PARMS): Do not use macros from bp-asm.h.
9756 (__remquo): Do not use BP_SYM.
9757 (remquo): Likewise.
9758 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9759 "bp-asm.h".
9760 (PARMS): Do not use macros from bp-asm.h.
9761 (__remquof): Do not use BP_SYM.
9762 (remquof): Likewise.
9763 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9764 "bp-asm.h".
9765 (PARMS): Do not use macros from bp-asm.h.
9766 (__remquol): Do not use BP_SYM.
9767 (remquol): Likewise.
9768 * sysdeps/i386/i486/strcat.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 (SRC): Likewise.
9773 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9774 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9775 "bp-asm.h".
9776 (PARMS): Do not use macros from bp-asm.h.
9777 (strlen): Do not use BP_SYM.
9778 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9779 "bp-asm.h".
9780 (PARMS): Do not use macros from bp-asm.h.
9781 (S1): Likewise.
9782 (S2): Likewise.
9783 (SIZE): Likewise.
9784 (__mpn_add_n): Do not use BP_SYM.
9785 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9786 "bp-asm.h".
9787 (PARMS): Do not use macros from bp-asm.h.
9788 (S1): Likewise.
9789 (SIZE): Likewise.
9790 (__mpn_addmul_1): Do not use BP_SYM.
9791 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9792 weak_alias.
9793 (bzero): Likewise.
9794 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9795 "bp-asm.h".
9796 (PARMS): Do not use macros from bp-asm.h.
9797 (S): Likewise.
9798 (SIZE): Likewise.
9799 (__mpn_lshift): Do not use BP_SYM.
9800 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9801 "bp-asm.h".
9802 (PARMS): Do not use macros from bp-asm.h.
9803 (DEST): Likewise.
9804 (SRC): Likewise.
9805 (LEN): Likewise.
9806 (memcpy): Likewise. Do not use BP_SYM.
9807 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9808 libc_hidden_def and weak_alias.
9809 (mempcpy): Do not use BP_SYM in weak_alias.
9810 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9811 "bp-asm.h".
9812 (PARMS): Do not use macros from bp-asm.h.
9813 (DEST): Likewise.
9814 (LEN): Likewise.
9815 [!BZERO_P] (CHR): Likewise.
9816 (memset): Likewise. Do not use BP_SYM.
9817 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9818 "bp-asm.h".
9819 (PARMS): Do not use macros from bp-asm.h.
9820 (S1): Likewise.
9821 (SIZE): Likewise.
9822 (__mpn_mul_1): Do not use BP_SYM.
9823 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9824 "bp-asm.h".
9825 (PARMS): Do not use macros from bp-asm.h.
9826 (S): Likewise.
9827 (SIZE): Likewise.
9828 (__mpn_rshift): Do not use BP_SYM.
9829 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9830 "bp-asm.h".
9831 (PARMS): Do not use macros from bp-asm.h.
9832 (STR): Likewise.
9833 (CHR): Likewise.
9834 (strchr): Likewise. Do not use BP_SYM.
9835 (index): Do not use BP_SYM in weak_alias.
9836 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9837 "bp-asm.h".
9838 (PARMS): Do not use macros from bp-asm.h.
9839 (DEST): Likewise.
9840 (SRC): Likewise.
9841 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9842 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9843 "bp-asm.h".
9844 (PARMS): Do not use macros from bp-asm.h.
9845 (strlen): Do not use BP_SYM.
9846 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9847 "bp-asm.h".
9848 (PARMS): Do not use macros from bp-asm.h.
9849 (S1): Likewise.
9850 (S2): Likewise.
9851 (SIZE): Likewise.
9852 (__mpn_sub_n): Do not use BP_SYM.
9853 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9854 "bp-asm.h".
9855 (PARMS): Do not use macros from bp-asm.h.
9856 (S1): Likewise.
9857 (SIZE): Likewise.
9858 (__mpn_submul_1): Do not use BP_SYM.
9859 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9860 "bp-asm.h".
9861 (PARMS): Do not use macros from bp-asm.h.
9862 (S1): Likewise.
9863 (S2): Likewise.
9864 (SIZE): Likewise.
9865 (__mpn_add_n): Do not use BP_SYM.
9866 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9867 weak_alias.
9868 (bzero): Likewise.
9869 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9870 "bp-asm.h".
9871 (PARMS): Do not use macros from bp-asm.h.
9872 (BLK2): Likewise.
9873 (LEN): Likewise.
9874 (memcmp): Do not use BP_SYM.
9875 (bcmp): Do not use BP_SYM in weak_alias.
9876 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9877 "bp-asm.h".
9878 (PARMS): Do not use macros from bp-asm.h.
9879 (DEST): Likewise.
9880 (SRC): Likewise.
9881 (LEN): Likewise.
9882 (memcpy): Likewise. Do not use BP_SYM.
9883 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9884 "bp-asm.h".
9885 (PARMS): Do not use macros from bp-asm.h.
9886 (DEST): Likewise.
9887 (SRC): Likewise.
9888 (LEN): Likewise.
9889 (memmove): Likewise. Do not use BP_SYM.
9890 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9891 "bp-asm.h".
9892 (PARMS): Do not use macros from bp-asm.h.
9893 (DEST): Likewise.
9894 (SRC): Likewise.
9895 (LEN): Likewise.
9896 (__mempcpy): Likewise. Do not use BP_SYM.
9897 (mempcpy): Do not use BP_SYM in weak_alias.
9898 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9899 "bp-asm.h".
9900 (PARMS): Do not use macros from bp-asm.h.
9901 (DEST): Likewise.
9902 (LEN): Likewise.
9903 [!BZERO_P] (CHR): Likewise.
9904 (memset): Likewise. Do not use BP_SYM.
9905 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9906 "bp-asm.h".
9907 (PARMS): Do not use macros from bp-asm.h.
9908 (STR2): Likewise.
9909 (strcmp): Do not use BP_SYM.
9910 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9911 "bp-asm.h".
9912 (PARMS): Do not use macros from bp-asm.h.
9913 (STR): Likewise.
9914 (DELIM): Likewise.
9915 [USE_AS_STRTOK_R] (SAVE): Likewise.
9916 (FUNCTION): Likewise. Do not use BP_SYM.
9917 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9918 aliases.
9919 (strtok_r): Likewise.
9920 (__GI___strtok_r): Likewise.
9921 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9922 (PARMS): Do not use macros from bp-asm.h.
9923 (S): Likewise.
9924 (SIZE): Likewise.
9925 (__mpn_lshift): Do not use BP_SYM.
9926 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9927 (PARMS): Do not use macros from bp-asm.h.
9928 (STR): Likewise.
9929 (CHR): Likewise.
9930 (__memchr): Do not use BP_SYM.
9931 (memchr): Do not use BP_SYM in weak_alias.
9932 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9933 (PARMS): Do not use macros from bp-asm.h.
9934 (BLK2): Likewise.
9935 (LEN): Likewise.
9936 (memcmp): Do not use BP_SYM.
9937 (bcmp): Do not use BP_SYM in weak_alias.
9938 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9939 (PARMS): Do not use macros from bp-asm.h.
9940 (S1): Likewise.
9941 (SIZE): Likewise.
9942 (__mpn_mul_1): Do not use BP_SYM.
9943 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9944 "bp-asm.h".
9945 (PARMS): Do not use macros from bp-asm.h.
9946 (STR): Likewise.
9947 (CHR): Likewise.
9948 (__rawmemchr): Do not use BP_SYM.
9949 (rawmemchr): Do not use BP_SYM in weak_alias.
9950 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9951 (PARMS): Do not use macros from bp-asm.h.
9952 (S): Likewise.
9953 (SIZE): Likewise.
9954 (__mpn_rshift): Do not use BP_SYM.
9955 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9956 (PARMS): Do not use macros from bp-asm.h.
9957 (SIGMSK): Likewise.
9958 (__sigsetjmp): Likewise. Do not use BP_SYM.
9959 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9960 (_start): Do not use BP_SYM.
9961 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9962 (PARMS): Do not use macros from bp-asm.h.
9963 (DEST): Likewise.
9964 (SRC): Likewise.
9965 (__stpcpy): Likewise. Do not use BP_SYM.
9966 (stpcpy): Do not use BP_SYM in weak_alias.
9967 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9968 "bp-asm.h".
9969 (PARMS): Do not use macros from bp-asm.h.
9970 (DEST): Likewise.
9971 (SRC): Likewise.
9972 (LEN): Likewise.
9973 (__stpncpy): Likewise. Do not use BP_SYM.
9974 (stpncpy): Do not use BP_SYM in weak_alias.
9975 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9976 (PARMS): Do not use macros from bp-asm.h.
9977 (STR): Likewise.
9978 (CHR): Likewise.
9979 (strchr): Likewise. Do not use BP_SYM.
9980 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9981 "bp-asm.h".
9982 (PARMS): Do not use macros from bp-asm.h.
9983 (STR): Likewise.
9984 (CHR): Likewise.
9985 (__strchrnul): Likewise. Do not use BP_SYM.
9986 (strchrnul): Do not use BP_SYM in weak_alias.
9987 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9988 "bp-asm.h".
9989 (PARMS): Do not use macros from bp-asm.h.
9990 (STOP): Likewise.
9991 (strcspn): Do not use BP_SYM.
9992 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9993 "bp-asm.h".
9994 (PARMS): Do not use macros from bp-asm.h.
9995 (STR): Likewise.
9996 (STOP): Likewise.
9997 (strpbrk): Likewise. Do not use BP_SYM.
9998 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9999 "bp-asm.h".
10000 (PARMS): Do not use macros from bp-asm.h.
10001 (STR): Likewise.
10002 (CHR): Likewise.
10003 (strrchr): Likewise. Do not use BP_SYM.
10004 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10005 (PARMS): Do not use macros from bp-asm.h.
10006 (SKIP): Likewise.
10007 (strspn): Do not use BP_SYM.
10008 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10009 (PARMS): Do not use macros from bp-asm.h.
10010 (STR): Likewise.
10011 (DELIM): Likewise.
10012 (SAVE): Likewise.
10013 (FUNCTION): Likewise. Do not use BP_SYM.
10014 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10015 aliases.
10016 (strtok_r): Likewise.
10017 (__GI___strtok_r): Likewise.
10018 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10019 (PARMS): Do not use macros from bp-asm.h.
10020 (S1): Likewise.
10021 (S2): Likewise.
10022 (SIZE): Likewise.
10023 (__mpn_sub_n): Do not use BP_SYM.
10024 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10025 "bp-asm.h".
10026 (PARMS): Do not use macros from bp-asm.h.
10027 (S1): Likewise.
10028 (SIZE): Likewise.
10029 (__mpn_submul_1): Do not use BP_SYM.
10030 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10031 <bp-sym.h>.
10032 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10033 and <bp-asm.h>.
10034 (PARMS): Do not use macros from bp-asm.h.
10035 (FLAGS): Likewise.
10036 (PTID): Likewise.
10037 (TLS): Likewise.
10038 (CTID): Likewise.
10039 (__clone): Do not use BP_SYM.
10040 (clone): Do not use BP_SYM in weak_alias.
10041 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10042 and <bp-asm.h>.
10043 (PARMS): Do not use macros from bp-asm.h.
10044 (LEN): Likewise.
10045 (__mmap64): Do not use BP_SYM.
10046 (mmap64): Do not use BP_SYM in weak_alias.
10047 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10048 <bp-sym.h> and <bp-asm.h>.
10049 (PARMS): Do not use macros from bp-asm.h.
10050 (__posix_fadvise64_l64): Do not use BP_SYM.
10051 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10052 (PARMS): Do not use macros from bp-asm.h.
10053 (NSOPS): Likewise.
10054 (semtimedop): Do not use BP_SYM.
10055 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10056 and <bp-asm.h>.
10057
582a3cff
AM
100582013-02-21 Allan McRae <allan@archlinux.org>
10059
10060 * manual/message.texi (Charset conversion in gettext):
10061 Move @end statement to beginning of line.
10062
bab8a695
SP
100632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10064
80945231
SP
10065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10066 static.
10067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10068 Likewise.
10069
bab8a695
SP
10070 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10071 (denorm): Likewise.
10072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10074
e21d7aa7
AK
100752013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10076
10077 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10078 tail-call to the resolved function if pltexit isn't needed.
10079
4c7a4263
SP
100802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10081
10082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10083 or Y being zero as being unlikely.
10084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10085 Likewise.
10086
41f49342
CD
100872013-02-20 Carlos O'Donell <carlos@redhat.com>
10088
10089 * manual/nss.texi (System Databases and Name Service Switch):
10090 Remove frobnicate @pxref.
10091
50022a93
TS
100922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10093
10094 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10095 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10096
08cbd996
PM
100972013-02-20 Petr Machata <pmachata@redhat.com>
10098
10099 * elf/elf.h (R_ARM_TARGET1): New macro.
10100 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10101 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10102 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10103 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10104 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10105 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10106 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10107 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10108 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10109 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10110 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10111 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10112 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10113 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10114 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10115 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10116 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10117 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10118 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10119 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10120 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10121 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10122 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10123 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10124 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10125 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10126 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10127 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10128 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10129 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10130 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10131 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10132 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10133 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10134 (R_ARM_THM_GOT_BREL12): Likewise.
10135 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10136 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10137 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10138 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10139 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10140 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10141 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10142 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10143 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10144
c7b275d6
TS
101452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10146
10147 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10148 __attribute_used__ to __attribute__ ((unused)).
10149
20cd7fb3
SP
101502013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10151
10152 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10153 powerpc mpa.c.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10155 comment formatting.
10156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10157
92945b52
JM
101582013-02-19 Joseph Myers <joseph@codesourcery.com>
10159
10160 [BZ #13550]
10161 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10162 Remove macro.
10163 (ENTER): Remove both macro definitions.
10164 (LEAVE): Likewise.
10165 (CHECK_BOUNDS_LOW): Likewise.
10166 (CHECK_BOUNDS_HIGH): Likewise.
10167 (CHECK_BOUNDS_BOTH): Likewise.
10168 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10169 (RETURN_BOUNDED_POINTER): Likewise.
10170 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10171 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10172 (POP_ERRNO_LOCATION_RETURN): Likewise.
10173 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10174 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10175 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10176 macros.
10177 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10178 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10179 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10180 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10181 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10182 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10183 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10184 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10185 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10186 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10187 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10188 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10189 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10190 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10191 removed macros.
10192 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10193 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10194 macros.
10195 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10196 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10197 * sysdeps/i386/i586/memset.S (memset): Likewise.
10198 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10199 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10200 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10201 macros.
10202 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10203 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10204 Change uses of L(2) to L(out).
10205 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10206 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10207 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10208 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10209 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10210 removed macros.
10211 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10212 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10213 macros.
10214 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10215 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10216 (RETURN): Do not use macro LEAVE.
10217 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10218 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10219 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10220 * sysdeps/i386/i686/memset.S (memset): Likewise.
10221 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10222 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10223 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10224 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10225 Likewise.
10226 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10227 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10228 L(1_2) and L(1_3) into L(1).
10229 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10230 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10231 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10232 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10233 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10234 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10235 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10236 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10237 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10238 macros.
10239 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10240 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10241 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10242 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10243 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10244 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10245 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10246 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10247 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10248 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10249 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10250 * sysdeps/i386/strspn.S (strspn): Likewise.
10251 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10252 conditional code.
10253 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10254 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10255 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10256 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10257 L(1_3) into L(1_1).
10258 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10259 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10260 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10261 macros.
10262 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10263
2389741a
JJ
102642013-02-19 Jakub Jelinek <jakub@redhat.com>
10265
10266 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10267 macro.
10268
2016b3cd
SP
102692013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10270
e4f22324
SP
10271 * math/atest-exp.c (exp_mpn): Remove ROUND.
10272 * math/atest-exp2.c (exp_mpn): Likewise.
10273 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10274
2016b3cd
SP
10275 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10276 * stdlib/tst-tls-atexit-lib.c: Likewise.
10277 * stdlib/tst-tls-atexit.c: Likewise.
10278
4be9b544
MF
102792013-02-18 Mike Frysinger <vapier@gentoo.org>
10280
10281 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10282 and __attribute_alloc_size__.
10283
2f62b9ee
MF
102842013-02-18 Mike Frysinger <vapier@gentoo.org>
10285
10286 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10287 __attribute_alloc_size__.
10288 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10289 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10290
6ff444c4
MF
102912013-02-18 Mike Frysinger <vapier@gentoo.org>
10292
10293 * include/programs/xmalloc.h: New file.
10294 * catgets/gencat.c: Include it.
10295 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10296 * elf/pldd.c: Likewise.
10297 * iconv/iconv_charmap.c: Likewise.
10298 * iconv/iconvconfig.c: Likewise.
10299 * iconv/strtab.c: Likewise.
10300 * locale/programs/locale.c: Likewise.
10301 * locale/programs/localedef.h: Likewise.
10302 * locale/programs/simple-hash.c: Likewise.
10303 * nscd/nscd.h: Likewise.
10304 * nss/makedb.c: Likewise.
10305 * sysdeps/generic/ldconfig.h: Likewise.
10306
be179c8a
SP
103072013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10308
ba384f6e
SP
10309 * Versions.def: Add GLIBC_2.18.
10310 * include/link.h (struct link_map): New member l_tls_dtor_count.
10311 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10312 (__call_tls_dtors): Likewise.
10313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10314 __cxa_thread_atexit_impl.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10316 Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10318 Likewise.
10319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10320 Likewise.
10321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10322 Likewise.
10323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10325 Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10327 Likewise.
10328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10330 Likewise.
10331 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10332 (tests): Add test case tst-tls-atexit.
10333 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10334 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10335 (GLIBC_PRIVATE): Add __call_tls_dtors.
10336 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10337 for libstdc++.
10338 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10339 * stdlib/tst-tls-atexit.c: New test case.
10340 * stdlib/tst-tls-atexit-lib.c: New test case.
10341
ffaa74cf 10342 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10343
be179c8a
SP
10344 * elf/Versions (ld): Add _dl_find_dso_for_object.
10345 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10346 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10347 (dl_open_worker): Use _dl_find_dso_for_object.
10348 * elf/dl-sym.c (do_sym): Likewise.
10349 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10350
f78b5caa
AK
103512013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10352
10353 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10354 Syntactic changes only.
10355 (_dl_runtime_profile): Do a tail-call to the resolved function.
10356
29691210
JM
103572013-02-17 Joseph Myers <joseph@codesourcery.com>
10358
10359 [BZ #13550]
10360 * sysdeps/x86_64/bp-asm.h: Remove file.
10361 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10362 <bp-sym.h> and <bp-asm.h>.
10363 (__clone): Do not use BP_SYM.
10364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10365 <bp-sym.h> and <bp-asm.h>.
10366 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10367 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10368 "bp-asm.h".
10369 (_setjmp): Do not use BP_SYM.
10370 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10371 "bp-asm.h".
10372 (setjmp): Do not use BP_SYM.
10373 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10374 libc_hidden_def.
10375 (mempcpy): Do not use BP_SYM in weak_alias.
10376 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10377 "bp-asm.h".
10378 (strchr): Do not use BP_SYM.
10379 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10380 "bp-asm.h".
10381 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10382 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10383 (_start): Do not use BP_SYM.
10384 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10385 "bp-asm.h".
10386 (strcat): Do not use BP_SYM.
10387 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10388 "bp-asm.h".
10389 (STRCMP): Do not use BP_SYM.
10390 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10391 "bp-asm.h".
10392 (STRCPY): Do not use BP_SYM.
10393 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10394 "bp-asm.h".
10395 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10396 "bp-asm.h".
10397 (FUNCTION): Do not use BP_SYM.
10398 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10399 weak_alias.
10400 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10401
f238fd19
AJ
104022013-02-17 Andreas Jaeger <aj@suse.de>
10403
10404 * time/Versions: Sort entries.
10405 * string/Versions: Likewise.
10406 * resolv/Versions: Likewise.
10407 * posix/Versions: Likewise.
10408 * iconv/Versions: Likewise.
10409 * elf/Versions: Likewise.
10410 * wcsmbs/Versions: Likewise.
10411
bd07f23c 104122013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10413
22af19f9
SP
10414 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10415 loop termination condition.
10416
4709fe76
SP
10417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10418 variable to calculate EZ.
10419 (__sqr): Likewise.
2d0e0f29
SP
10420
10421 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10422 the lower precision input.
10423
daaa7713
JM
104242013-02-15 Joseph Myers <joseph@codesourcery.com>
10425
10426 [BZ #13550]
10427 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10428 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10429 (run-via-rtld-prefix): Do not handle %-bp tests.
10430 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10431 (all-object-suffixes): Remove .ob.
10432 (bppfx): Remove variable.
10433 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10434 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10435 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10436 [$(build-bounded) = yes] (libtype.ob): Likewise.
10437 * Makerules (elide-routines.ob): Remove variable.
10438 (do-tests-clean): Do not handle *-bp.out.
10439 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10440 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10441 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10442 (tests): Do not include $(tests-bp.out).
10443 (xtests): Do not include $(xtests-bp.out).
10444 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10445 [$(build-bounded) = yes] ($(addprefix
10446 $(objpfx),$(binaries-bounded))): Remove rule.
10447 ($(objpfx)%-bp.out): Remove rule.
10448 * config.make.in (build-bounded): Remove variable.
10449 * crypt/Makefile [$(build-bounded) = yes]
10450 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10451 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10452 append to variable.
10453 [$(build-bounded) = yes] (install-lib): Likewise.
10454 [$(build-bounded) = yes] (generated): Likewise.
10455 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10456 Remove rule.
10457 * intl/Makefile [$(build-bounded) = yes]
10458 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10459 * math/Makefile [$(build-bounded) = yes]
10460 ($(tests:%=$(objpfx)%-bp): Likewise.
10461 * misc/Makefile [$(build-bounded) = yes]
10462 ($(objpfx)tst-tsearch-bp): Likewise.
10463 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10464 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10465 Remove dependency.
10466 * string/Makefile (o-objects.ob): Remove variable.
10467 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10468 (CFLAGS-.ob): Remove variable.
10469 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10470 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10471 both definitions of variable.
10472 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10473 (ASFLAGS-.ob): Remove variable.
10474
e97ed6dd
JM
104752013-02-14 Joseph Myers <joseph@codesourcery.com>
10476
2bdd4ca6
JM
10477 [BZ #13550]
10478 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10479 Remove __BOUNDED_POINTERS__ from condition.
10480 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10481 * string/bits/string2.h [!__NO_STRING_INLINES &&
10482 !__BOUNDED_POINTERS__]: Likewise.
10483 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10484 Likewise.
10485 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10486 Remove conditional code.
10487 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10488 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10489 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10490 condition.
10491
e97ed6dd
JM
10492 [BZ #13550]
10493 * csu/libc-start.c: Do not include <bp-sym.h>.
10494 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10495 * elf/dl-open.c: Do not include <bp-sym.h>.
10496 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10497 * math/fegetenv.c: Do not include <bp-sym.h>.
10498 (fegetenv): Do not use BP_SYM in versioned symbols.
10499 * nptl/sysdeps/pthread/bits/libc-lockP.h
10500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10501 <bp-sym.h>.
10502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10503 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10505 (__pthread_mutex_destroy): Likewise.
10506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10507 (__pthread_mutex_lock): Likewise.
10508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10509 (__pthread_mutex_trylock): Likewise.
10510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10511 (__pthread_mutex_unlock): Likewise.
10512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10513 (__pthread_mutexattr_init): Likewise.
10514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10515 (__pthread_mutexattr_destroy): Likewise.
10516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10517 (__pthread_mutexattr_settype): Likewise.
10518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10519 (__pthread_rwlock_init): Likewise.
10520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10521 (__pthread_rwlock_destroy): Likewise.
10522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10523 (__pthread_rwlock_rdlock): Likewise.
10524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10525 (__pthread_rwlock_tryrdlock): Likewise.
10526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10527 (__pthread_rwlock_wrlock): Likewise.
10528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10529 (__pthread_rwlock_trywrlock): Likewise.
10530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10531 (__pthread_rwlock_unlock): Likewise.
10532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10533 (__pthread_key_create): Likewise.
10534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10535 (__pthread_setspecific): Likewise.
10536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10537 (__pthread_getspecific): Likewise.
10538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10539 Likewise.
10540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10541 (_pthread_cleanup_push_defer): Likewise.
10542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10543 (_pthread_cleanup_pop_restore): Likewise.
10544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10545 (pthread_setcancelstate): Likewise.
10546 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10547 <bp-sym.h>.
10548 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10549 (memchr): Do not use BP_SYM in weak_alias.
10550 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10551 (fegetenv): Do not use BP_SYM in versioned symbols.
10552 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10553 (fesetenv): Do not use BP_SYM in versioned symbols.
10554 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10555 (feupdateenv): Do not use BP_SYM in versioned symbols.
10556 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10557 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10558 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10559 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10560 (open64): Do not use BP_SYM in weak_alias.
10561 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10562 (fegetenv): Do not use BP_SYM in versioned symbols.
10563 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10564 (fesetenv): Do not use BP_SYM in versioned symbols.
10565 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10566 (feupdateenv): Do not use BP_SYM in versioned symbols.
10567 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10568 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10569 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10570 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10571 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10572 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10573 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10574 <bp-sym.h>.
10575 (__libc_start_main): Do not use BP_SYM.
10576
d6752ccd
SP
105772013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10578
cb57ce60
SP
10579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10580 redundant return line.
10581 (norm): Likewise.
10582 (denorm): Likewise.
10583 (dbl_mp): Likewise.
10584 (sub_magnitudes): Likewise.
10585 (__add): Likewise.
10586 (__sub): Likewise.
10587 (__mul): Likewise.
10588 (__inv): Likewise.
10589 (__dvd): Likewise.
10590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10591 (norm): Likewise.
10592 (denorm): Likewise.
10593 (dbl_mp): Likewise.
10594 (sub_magnitudes): Likewise.
10595 (__add): Likewise.
10596 (__sub): Likewise.
10597 (__mul): Likewise.
10598 (__inv): Likewise.
10599 (__dvd): Likewise.
10600
f414520d
SP
10601 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10602 instead of __mul.
10603 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10604 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10605 (cc32): Likewise.
10606
d6752ccd
SP
10607 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10608 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10610 of __mul for squares.
10611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10612 function
10613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10614 Likewise.
10615 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10616 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10617
70d9946a
JM
106182013-02-13 Joseph Myers <joseph@codesourcery.com>
10619
10620 [BZ #13550]
10621 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10622 code.
10623 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10624 prototype or function definition. Rename ubp_* variables and
10625 parameters. Remove argv definitions conditional on
10626 [__BOUNDED_POINTERS__].
10627 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10628 * elf/dl-runtime.c (_dl_fixup): Likewise.
10629 * include/set-hooks.h (RUN_HOOK): Likewise.
10630 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10631 definition.
10632 * string/strcpy.c (strcpy): Do not use __unbounded.
10633 * sysdeps/generic/frame.h (struct layout): Likewise.
10634 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10635 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10636 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10637 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10638 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10639 (__backtrace): Likewise.
10640 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10641 use __ptrvalue.
10642 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10643 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10644 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10645 Likewise.
10646 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10647 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10648 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10649 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10650 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10651 Do not use __unbounded.
10652 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10653 Rename __unboundedrlimits parameter to rlimits in prototype.
10654 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10655 Do not use __unbounded.
10656 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10657 not use __ptrvalue.
10658 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10659 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10660 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10661 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10662 __ptrvalue or __unbounded.
10663 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10664 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10665 use __unbounded.
10666 (__new_msgctl): Do not use __ptrvalue.
10667 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10668 __unbounded.
10669 (__libc_msgrcv): Do not use __ptrvalue.
10670 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10671 startup_info): Do not use __unbounded.
10672 (__libc_start_main): Likewise. Rename ubp_* variables and
10673 parameters. Remove argv definitions conditional on
10674 [__BOUNDED_POINTERS__].
10675 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10676 __ptrvalue.
10677 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10678 use __unbounded.
10679 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10680 or __ptrvalue.
10681 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10682 use __unbounded.
10683 (__new_shmctl): Do not use __ptrvalue.
10684 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10685 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10686 Likewise.
10687 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10689 (__libc_sigaction): Likewise.
10690 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10691 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10692 Likewise.
10693 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10694
cc7834d6
OB
106952013-02-13 Ondřej Bílka <neleai@seznam.cz>
10696
ffb1ec7b 10697 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10698
10699 * string/mempcpy.c: Implement by calling memcpy.
10700
bdf02814
SP
107012013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10702
c2af38aa
SP
10703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10704
4e92d59e
SP
10705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10706 evaluation.
10707
909279a5
SP
10708 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10709 values in the mantissa.
10710
bdf02814
SP
10711 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10712 minimize writes to Z.
10713 (sub_magnitudes): Simplify code a bit.
10714
cd525923
RM
107152013-02-12 Roland McGrath <roland@hack.frob.com>
10716
10717 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10718 from the message. The linker prefixes all warnings with that already.
10719
7e2f0d2d
AS
107202013-02-12 Andreas Schwab <schwab@suse.de>
10721
a445af0b
AS
10722 [BZ #15078]
10723 * posix/regexec.c (extend_buffers): Add parameter min_len.
10724 (check_matching): Pass minimum needed length.
10725 (clean_state_log_if_needed): Likewise.
10726 (get_subexp): Likewise.
10727 * posix/Makefile (tests): Add bug-regex34.
10728 (bug-regex34-ENV): Define.
10729 * posix/bug-regex34.c: New file.
10730
7e2f0d2d
AS
10731 [BZ #11561]
10732 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10733 elements compare against the byte sequence of it, not its name.
10734 * posix/Makefile (tests): Add bug-regex35.
10735 (bug-regex35-ENV): Define.
10736 * posix/bug-regex35.c: New file.
10737
a175b684
TV
107382013-02-11 Tom de Vries <tom@codesourcery.com>
10739
10740 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10741 comment.
10742 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10743 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10744 (CHECK_EOL): Add undef.
10745
310998fe 107462013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10747
10748 * bits/stdlib-bsearch.h: New file.
10749 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10750 * stdlib/stdlib.h: Likewise.
41eda41d 10751
8ded91fb
RM
107522013-02-11 Roland McGrath <roland@hack.frob.com>
10753
10754 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10755 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10756 declaration.
10757 * manual/search.texi (Array Search Function): Add missing const in
10758 lfind prototype.
10759 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10760 declaration to use rlim_t.
10761 (Basic Scheduling Functions): Remove erroneous const from
10762 sched_getparam prototype. Remove erroneous * from
10763 sched_get_priority_max and sched_get_priority_min prototypes.
10764 (Resource Usage): Fix summary @comment on vtimes to refer to
10765 sys/vtimes.h rather than vtimes.h.
10766 Add missing *s in vtimes prototype.
10767 (Limits on Resources): Fix ulimit prototype to return long int.
10768 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10769 prototypes to use long int rather than double.
10770 (BSD Random): Fix initstate and setstate to use char *, not void *.
10771 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10772 prototype to make second argument 'struct aiocb64 *const[]'.
10773 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10774 (Status of AIO Operations): Remove erroneous const in aio_return and
10775 aio_return64 prototypes.
10776 (Synchronizing I/O): Fix sync prototype to return void.
10777 * manual/startup.texi (Suboptions): Remove an erroneous const in
10778 getsubopt prototype.
10779 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10780 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10781 use size_t rather than int.
10782 (Scanning All Users): Likewise for getpwent_r.
10783 (Setting Groups): Add missing const to setgroups prototype.
10784 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10785 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10786 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10787 'const void *' rather than 'const char *'.
10788 (Host Address Functions): Likewise for inet_ntop.
10789 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10790 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10791 ssize_t for return value.
10792 (Sending Data): Likewise for send, sendto, sendmsg.
10793 (Socket Option Functions): Add a missing const in setsockopt prototype.
10794 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10795 use wchar_t for the argument.
10796 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10797 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10798 take no arguments.
10799 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10800 double/float/long double for second argument.
10801 Fix return types of significand, significandf, significandl.
10802 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10803 argument in fchmod prototype.
10804 (File Owner): Use uid_t and gid_t in fchown prototype.
10805 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10806 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10807 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10808 use 'const struct dirent **' as argument types to CMP function pointer
10809 argument.
10810 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10811 (File Times): Fix summary magic @comment for struct utimbuf and utime
10812 to refer to utime.h, not time.h.
10813 * manual/string.texi (Argz Functions): Add missing const in
10814 argz_extract and argz_next prototypes.
10815 (Finding Tokens in a String): Likewise for basename.
10816 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10817 (Copying and Concatenation): Fix typo in wmemmove prototype.
10818 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10819 (Signal Stack): Remove erroneous const in sigstack prototype.
10820 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10821 prototype.
10822 (Simple Calendar Time): Likewise for stime.
10823 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10824 prototype.
10825 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10826 say sys/sysctl.h instead.
10827 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10828 and vsyslog prototypes.
10829
fe77fe6d
TV
108302013-02-11 Tom de Vries <tom@codesourcery.com>
10831
10832 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10833 Remove.
10834
3a09b620
RM
108352013-02-11 Roland McGrath <roland@hack.frob.com>
10836
10837 * misc/sys/mman.h: Fix typo in mremap comment.
10838
550a0b89
RM
108392013-02-08 Roland McGrath <roland@hack.frob.com>
10840
10841 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10842 the '\0' terminator.
10843
a2da1673
JM
108442013-02-08 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #13550]
10847 * debug/segfault.c: Don't include <bp-checks.h>.
10848 * sysdeps/generic/bp-checks.h: Remove file.
10849 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10850 (__GETDENTS): Don't use CHECK_N.
10851 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10852 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10853 (__getgroups): Don't use CHECK_N.
10854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10855 (setgroups): Don't use CHECK_N.
10856 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10857 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10858 (__libc_msgrcv): Don't use CHECK_N.
10859 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10860 (__libc_msgsnd): Don't use CHECK_N.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10862 <bp-checks.h>.
10863 (__libc_pread): Don't use CHECK_N.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10865 include <bp-checks.h>.
10866 (__libc_pread64): Don't use CHECK_N.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10868 include <bp-checks.h>.
10869 (__libc_pwrite): Don't use CHECK_N.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10871 include <bp-checks.h>.
10872 (__libc_pwrite64): Don't use CHECK_N.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10874 <bp-checks.h>.
10875 (__libc_pread): Don't use CHECK_N.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10877 include <bp-checks.h>.
10878 (__libc_pread64): Don't use CHECK_N.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10880 include <bp-checks.h>.
10881 (__libc_pwrite): Don't use CHECK_N.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10883 include <bp-checks.h>.
10884 (__libc_pwrite64): Don't use CHECK_N.
10885 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10886 (do_pread): Don't use CHECK_N.
10887 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10888 (do_pread64): Don't use CHECK_N.
10889 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10890 (do_pwrite): Don't use CHECK_N.
10891 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10892 (do_pwrite64): Don't use CHECK_N.
10893 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10894 (__libc_readv): Don't use CHECK_N.
10895 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10896 (semop): Don't use CHECK_N.
10897 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10898 <bp-checks.h>.
10899 (semtimedop): Don't use CHECK_N.
10900 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10901 (__libc_pread): Don't use CHECK_N.
10902 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10903 <bp-checks.h>.
10904 (__libc_pread64): Don't use CHECK_N.
10905 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10906 <bp-checks.h>.
10907 (__libc_pwrite): Don't use CHECK_N.
10908 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10909 <bp-checks.h>.
10910 (__libc_pwrite64): Don't use CHECK_N.
10911 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10912 <bp-checks.h>.
10913 (__libc_msgrcv): Don't use CHECK_N.
10914 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10915 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10916 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10917 (__libc_writev): Don't use CHECK_N.
10918
b84660a8
RM
109192013-02-08 Roland McGrath <roland@hack.frob.com>
10920
7f3e75f8
RM
10921 * string/strcpy.c: Removed unused variable.
10922
b84660a8
RM
10923 * Makeconfig (+sysdep-includes): Define with := rather than =.
10924 Use an existing include/ subdir of each sysdeps dir before it.
10925
471514d3
CD
109262013-02-08 Carlos O'Donell <carlos@redhat.com>
10927
10928 * nscd/connection.c (register_traced_file): Comment function.
10929 [HAVE_INOTIFY] (union __inev): Define.
10930 [HAVE_INOTIFY] (inotify_check_files): New function.
10931 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10932 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10933 clear_db_cache.
10934 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10935
b2d3c3be
CD
109362013-02-08 Carlos O'Donell <carlos@redhat.com>
10937
10938 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10939 loaded if not already and that a failure is permanent.
10940
b39949d2
CD
109412013-02-08 Carlos O'Donell <carlos@redhat.com>
10942
ddacd1db 10943 [BZ #15006]
b39949d2
CD
10944 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10945 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10946
b2c9eff4
JM
109472013-02-08 Joseph Myers <joseph@codesourcery.com>
10948
f3aae3f3
JM
10949 [BZ #13550]
10950 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10951 (CHECK_1_NULL_OK): Likewise.
10952 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10953 (__fxstat): Do not use CHECK_1.
10954 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10955 <bp-checks.h>.
10956 (___fxstat64): Do not use CHECK_1.
10957 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10958 <bp-checks.h>.
10959 (__fxstatat): Do not use CHECK_1.
10960 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10961 <bp-checks.h>.
10962 (__fxstatat64): Do not use CHECK_1.
10963 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10964 <bp-checks.h>.
10965 (__fxstat): Do not use CHECK_1.
10966 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10967 <bp-checks.h>.
10968 (__fxstatat): Do not use CHECK_1.
10969 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10970 <bp-checks.h>.
10971 (__getresgid): Do not use CHECK_1.
10972 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10973 <bp-checks.h>.
10974 (__getresuid): Do not use CHECK_1.
10975 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10976 <bp-checks.h>.
10977 (__lxstat): Do not use CHECK_1.
10978 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10979 <bp-checks.h>.
10980 (__old_msgctl): Do not use CHECK_1.
10981 (__new_msgctl): Likewise.
10982 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10983 <bp-checks.h>.
10984 (__new_setrlimit): Do not use CHECK_1.
10985 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10986 <bp-checks.h>.
10987 (__old_shmctl): Do not use CHECK_1.
10988 (__new_shmctl): Likewise.
10989 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10990 <bp-checks.h>.
10991 (__xstat): Do not use CHECK_1.
10992 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10993 (__lxstat): Do not use CHECK_1.
10994 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10995 <bp-checks.h>.
10996 (___lxstat64): Do not use CHECK_1.
10997 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10998 (__old_msgctl): Do not use CHECK_1.
10999 (__new_msgctl): Likewise.
11000 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11001 <bp-checks.h>.
11002 (__gettimeofday): Do not use CHECK_1.
11003 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11004 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11005 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11006 <bp-checks.h>.
11007 (__gettimeofday): Do not use CHECK_1.
11008 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11009 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11010 (__new_shmctl): Do not use CHECK_1.
11011 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11012 <bp-checks.h>.
11013 (do_sigtimedwait): Do not use CHECK_1.
11014 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11015 <bp-checks.h>.
11016 (do_sigwaitinfo): Do not use CHECK_1.
11017 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11018 <bp-checks.h>.
11019 (msgctl): Do not use CHECK_1.
11020 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11021 <bp-checks.h>.
11022 (shmctl): Do not use CHECK_1.
11023 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11024 (ustat): Do not use CHECK_1.
11025 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11026 <bp-checks.h>.
11027 (__fxstat): Do not use CHECK_1.
11028 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11029 <bp-checks.h>.
11030 (__fxstatat): Do not use CHECK_1.
11031 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11032 <bp-checks.h>.
11033 (__lxstat): Do not use CHECK_1.
11034 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11035 <bp-checks.h>.
11036 (__xstat): Do not use CHECK_1.
11037 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11038 (__xstat): Do not use CHECK_1.
11039 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11040 (___xstat64): Do not use CHECK_1.
11041
b2c9eff4
JM
11042 [BZ #13550]
11043 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11044 definitions.
11045 (CHECK_BOUNDS_HIGH): Likewise.
11046 * string/strcpy.c: Do not include <bp-checks.h>.
11047 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11048
f1d70dad
RM
110492013-02-07 Roland McGrath <roland@hack.frob.com>
11050
11051 * nscd/nscd-client.h (__nscd_drop_map_ref):
11052 Add __attribute__ ((unused)).
11053 * nis/nss-nisplus.h (niserr2nss): Likewise.
11054
11055 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11056 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11057
11058 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11059 Remove inline keyword.
11060 * include/rounding-mode.h (round_away): Likewise.
11061 * libio/wfileops.c (adjust_wide_data): Likewise.
11062 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11063 (__m128i_strloadu_tolower): Likewise.
11064 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11065 (__m128i_strloadu_tolower): Likewise.
11066 * time/mktime.c (ydhms_diff): Likewise.
11067 * locale/elem-hash.h (elem_hash): Likewise.
11068 * locale/setlocale.c (setdata): Likewise.
11069 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11070 (re_string_wchar_at): Likewise.
11071 (bitset_not, bitset_merge, bitset_mask): Likewise.
11072 [!(__GNUC__ > 3)] (inline): Remove macro.
11073 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11074 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11075 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11076 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11077 * string/memcmp.c (memcmp_bytes): Likewise.
11078 * locale/programs/locarchive.c (compute_hashval): Likewise.
11079 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11080 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11081 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11082 * nss/getent.c (print_rpc, print_protocols): Likewise.
11083 (print_passwd, print_group, print_aliases): Likewise.
11084 * nis/nss-nisplus.h (niserr2nss): Likewise.
11085 * nscd/connections.c (restart_p): Likewise.
11086 Change return type to bool.
11087
eab55bfb
RM
110882013-02-05 Roland McGrath <roland@hack.frob.com>
11089
7bd642f5
RM
11090 * Makeconfig (all-Depend-files): Add existing
11091 $(sorted-subdirs:=/Depend) files.
11092 (all-subdirs): Remove nss.
11093 * sysdeps/unix/inet/Subdirs: Add it here instead.
11094 * hesiod/Depend: New file.
11095
573c29b2
RM
11096 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11097 instead of calling alloca.
11098
b2e25af0
RM
11099 * io/lseek.c (__lseek): Rename to __libc_lseek.
11100 Define __lseek as an alias.
11101
eab55bfb
RM
11102 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11103
9a0d1941
CD
111042013-02-04 Carlos O'Donell <carlos@redhat.com>
11105
11106 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11107 else clause and remove check for non-standard endianness.
11108
b83bbec4
DM
111092013-02-04 David S. Miller <davem@davemloft.net>
11110
11111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11112
6277fdab
JM
111132013-02-04 Joseph Myers <joseph@codesourcery.com>
11114
11115 [BZ #13550]
11116 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11117 (__ubp_memchr): Remove prototype.
11118 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11119 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11120 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11121 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11122 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11123 Remove alias.
11124 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11125 (__ubp_memchr): Likewise.
11126 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11127 (__ubp_memchr): Likewise.
11128 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11129 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11130 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11131 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11132 CHECK_STRING.
11133 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11134 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11135 (__getcwd): Do not use CHECK_STRING.
11136 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11137 <bp-checks.h>.
11138 (__real_chown): Do not use CHECK_STRING.
11139 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11140 <bp-checks.h>.
11141 (fchownat): Do not use CHECK_STRING.
11142 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11143 CHECK_STRING.
11144 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11145 <bp-checks.h>.
11146 (__lchown): Do not use CHECK_STRING.
11147 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11148 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11149 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11150 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11152 include <bp-checks.h>.
11153 (truncate64): Do not use CHECK_STRING.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11155 <bp-checks.h>.
11156 (__real_chown): Do not use CHECK_STRING.
11157 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11158 <bp-checks.h>.
11159 (__lchown): Do not use CHECK_STRING.
11160 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11161 <bp-checks.h>.
11162 (__chown): Do not use CHECK_STRING.
11163 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11164 <bp-checks.h>.
11165 (truncate64): Do not use CHECK_STRING.
11166 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11167 Likewise.
11168 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11169 (__xmknod): Do not use CHECK_STRING.
11170 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11171 <bp-checks.h>.
11172 (__xmknodat): Do not use CHECK_STRING.
11173 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11174 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11175
903ae060
AS
111762013-02-04 Andreas Schwab <schwab@suse.de>
11177
11178 [BZ #14142]
11179 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11180 * include/netdb.h: Likewise for h_errno.
11181 * elf/tst-stackguard1.c: Include <tls.h>.
11182
542f9466
JK
111832013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11184
11185 * elf/link.h (struct link_map): Extend the l_addr comment.
11186 * include/link.h (struct link_map): Likewise.
11187
e782a927
JM
111882013-02-01 Joseph Myers <joseph@codesourcery.com>
11189
11190 [BZ #13550]
11191 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11192 (BOUNDED_1): Remove macro.
11193 * debug/backtrace.c: Don't include <bp-checks.h>.
11194 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11195 (__backtrace): Likewise.
11196 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11197 <bp-checks.h>.
11198 (__backtrace): Don't use BOUNDED_1.
11199 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11200 <bp-checks.h>.
11201 (__backtrace): Don't use BOUNDED_1.
11202 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11203 (__backtrace): Don't use BOUNDED_1.
11204 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11205 (shmat): Don't use BOUNDED_N.
11206
8cf28c5e
JM
112072013-01-31 Joseph Myers <joseph@codesourcery.com>
11208
3a7ac8a0
JM
11209 [BZ #13550]
11210 * sysdeps/generic/bp-start.h: Remove file.
11211 * csu/libc-start.c: Don't include <bp-start.h>.
11212 (LIBC_START_MAIN): Set up __environ directly instead of using
11213 INIT_ARGV_and_ENVIRON.
11214 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11215 <bp-start.h>.
11216
f3499f95
JM
11217 [BZ #13550]
11218 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11219 definitions.
11220 (CHECK_FCNTL): Likewise.
11221 (CHECK_N_PAGES): Likewise.
11222
32a45bea
JM
11223 [BZ #13550]
11224 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11225 definitions.
11226 (CHECK_SIGSET_NULL_OK): Likewise.
11227 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11228 <bp-checks.h>.
11229 (sigpending): Don't use CHECK_SIGSET.
11230 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11231 <bp-checks.h>.
11232 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11233 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11234 <bp-checks.h>.
11235 (do_sigsuspend): Don't use CHECK_SIGSET.
11236 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11237 use CHECK_SIGSET.
11238 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11239 (do_sigwait): Don't use CHECK_SIGSET.
11240 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11241 use CHECK_SIGSET.
11242 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11243 include <bp-checks.h>.
11244 (sigpending): Don't use CHECK_SIGSET.
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11246 include <bp-checks.h>.
11247 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11248 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11249 <bp-checks.h>.
11250 (sigpending): Don't use CHECK_SIGSET.
11251 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11252 <bp-checks.h>.
11253 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11254
2e8a5c8c
JM
11255 [BZ #13550]
11256 * sysdeps/generic/bp-semctl.h: Remove file.
11257 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11258 <bp-checks.h> and <bp-semctl.h>.
11259 (__old_semctl): Don't use CHECK_SEMCTL.
11260 (__new_semctl): Likewise.
11261 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11262 and <bp-semctl.h>.
11263 (__old_semctl): Don't use CHECK_SEMCTL.
11264 (__new_semctl): Likewise.
11265 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11266 <bp-checks.h> and <bp-semctl.h>.
11267 (__old_semctl): Don't use CHECK_SEMCTL.
11268 (__new_semctl): Likewise.
11269 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11270 <bp-checks.h> and <bp-semctl.h>.
11271 (semctl): Don't use CHECK_SEMCTL.
11272
c2d54929
JM
11273 [BZ #13550]
11274 * Makerules (elide-bp-thunks): Remove variable.
11275 (elide-routines.oS): Don't use $(elide-bp-thunks).
11276 (elide-routines.os): Likewise.
11277 (elide-routines.o): Likewise.
11278 (elide-routines.op): Likewise.
11279 (elide-routines.og): Likewise.
11280 (objects): Don't use $(bp-thunks).
11281 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11282 include.
11283 (common-generated): Do not add s-proto-bp.d.
11284 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11285 (int): Likewise.
11286 (typ): Likewise.
11287 Do not generate makefile rules for bounded-pointer thunks.
11288 * sysdeps/generic/bp-thunks.h: Remove file.
11289 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11290 * sysdeps/unix/s-proto-bp.S: Likewise.
11291
8cf28c5e
JM
11292 [BZ #15062]
11293 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11294 parts of result separately when argument is not close to line from
11295 -i to i and one part of argument is small.
11296 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11297 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11298 * math/libm-test.inc (cacos_test): Add more tests.
11299 (casin_test): Likewise.
11300 (casinh_test): Likewise.
11301 * sysdeps/i386/fpu/libm-test-ulps: Update.
11302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11303
c4e33b8d
DM
113042013-01-31 David S. Miller <davem@davemloft.net>
11305
11306 * po/de.po: Update from translation team.
11307
3b60b421
MK
113082013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11309
11310 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11311
bb931195
TS
113122013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11313
b5a5da23
TS
11314 * configure.in (_AC_PROG_CC_C89): New definition.
11315 * configure: Regenerate.
11316
bb931195
TS
11317 * configure.in (AC_PROG_CPP): New definition.
11318 * configure: Regenerate.
11319
8c53a12c
JM
113202013-01-23 Joseph Myers <joseph@codesourcery.com>
11321
11322 * debug/tst-backtrace.h: New file.
11323 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11324 (ret): Remove variable.
11325 (x): Likewise.
11326 (FAIL): Remove macro.
11327 (NO_INLINE): Likewise.
11328 (fn1): Use match function instead of strstr.
11329 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11330 (ret): Remove variable.
11331 (x): Likewise.
11332 (FAIL): Remove macro.
11333 (NO_INLINE): Likewise.
11334 (fn): Use match function instead of strstr.
11335 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11336 (ret): Remove variable.
11337 (x): Likewise.
11338 (FAIL): Remove macro.
11339 (NO_INLINE): Likewise.
11340 (handle_signal): Use match function instead of strstr.
11341 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11342 (ret): Remove variable.
11343 (x): Likewise.
11344 (FAIL): Remove macro.
11345 (NO_INLINE): Likewise.
11346 (handle_signal): Use match function instead of strstr.
11347
4858fa2a
RM
113482013-01-23 Roland McGrath <roland@hack.frob.com>
11349
11350 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11351
bae8e7f5
DM
113522013-01-23 David S. Miller <davem@davemloft.net>
11353
11354 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11355 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11356 argument of CAS if possible.
11357 * sysdeps/sparc/sparc64/bits/atomic.h
11358 (__arch_compare_and_exchange_val_32_acq): Likewise.
11359 (__arch_compare_and_exchange_val_64_acq): Likewise.
11360
9cbbc4ae
PT
113612013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11362
11363 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11364 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11365 Include <limits.h>.
67b3f58c 11366 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11367
5655a0b5
AC
113682013-01-23 Adam Conrad <adconrad@0c3.net>
11369
11370 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11371 (LDFLAGS-tst-array5): Likewise.
11372
052aff95
JM
113732013-01-23 Joseph Myers <joseph@codesourcery.com>
11374
11375 [BZ #15036]
11376 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11377 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11378 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11379 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11380
7c1e01aa
DM
113812013-01-21 David S. Miller <davem@davemloft.net>
11382
11383 * sysdeps/sparc/backtrace.c: New file.
11384 * sysdeps/sparc/sparc32/backtrace.h: New file.
11385 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11386 * sysdeps/sparc/sparc64/backtrace.h: New file.
11387 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11388 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11389 -funwind-tables.
11390
ab087e0a
AS
113912013-01-21 Andreas Schwab <schwab@suse.de>
11392
11393 [BZ #15020]
11394 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11395 closed its stdout.
11396
ed689c2f
AS
113972013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11398
11399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11400 "mpa2.h".
11401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11402
31d470ac
JM
114032013-01-18 Joseph Myers <joseph@codesourcery.com>
11404 Mark Mitchell <mark@codesourcery.com>
11405 Tom de Vries <tom@codesourcery.com>
11406 Paul Pluzhnikov <ppluzhnikov@google.com>
11407
11408 * debug/tst-backtrace2.c: New file.
11409 * debug/tst-backtrace3.c: Likewise.
11410 * debug/tst-backtrace4.c: Likewise.
11411 * debug/tst-backtrace5.c: Likewise.
11412 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11413 (CFLAGS-tst-backtrace3.c): Likewise.
11414 (CFLAGS-tst-backtrace4.c): Likewise.
11415 (CFLAGS-tst-backtrace5.c): Likewise.
11416 (LDFLAGS-tst-backtrace2): Likewise.
11417 (LDFLAGS-tst-backtrace3): Likewise.
11418 (LDFLAGS-tst-backtrace4): Likewise.
11419 (LDFLAGS-tst-backtrace5): Likewise.
11420 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11421 tst-backtrace4 and tst-backtrace5.
11422
90567f30 114232013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11424 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11425
11426 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11427 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11428 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11429 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11431 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11432 "+r" and remove output regs list as redundant. Add explicit inline
11433 asm to specify register of return val to work around compiler codegen
11434 bug. Remove (int) cast on return value. Add return type parameter to
11435 use in macro so that this macro does not truncate return value for
11436 64-bit values.
11437 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11438 pass to INTERNAL_VSYSCALL_NCS.
11439 (INLINE_VSYSCALL): Add 'long int' as return type to
11440 INTERNAL_VSYSCALL_NCS macro invocation.
11441 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11442 INTERNAL_VSYSCALL_NCS macro invocation.
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11444
d3b9ea61
SP
114452013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11446
0b57daeb
SP
11447 [BZ #14496]
11448 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11449 Fix application of SIMD FP exception mask.
11450
caa99d06
SP
11451 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11452 mp_no from a power of two.
11453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11454 __mpexp_twomm1. Use __pow_mp.
11455
d3b9ea61
SP
11456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11457 multiplication.
11458
1dbaee3c
DM
114592013-01-17 David S. Miller <davem@davemloft.net>
11460
11461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11462
728d7b43
JM
114632013-01-17 Joseph Myers <joseph@codesourcery.com>
11464
11465 [BZ #15023]
11466 * include/complex.h: Condition contents on [!_COMPLEX_H].
11467 (__kernel_casinhf): New prototype.
11468 (__kernel_casinh): Likewise.
11469 (__kernel_casinhl): Likewise.
11470 * math/Makefile (libm_calls): Add k_casinh.
11471 * math/k_casinh.c: New file.
11472 * math/k_casinhf.c: Likewise.
11473 * math/k_casinhl.c: Likewise.
11474 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11475 finite nonzero arguments.
11476 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11477 finite nonzero arguments.
11478 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11479 finite nonzero arguments.
11480 * math/s_casinh.c: Do not include <float.h>.
11481 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11482 * math/s_casinhf.c: Do not include <float.h>.
11483 (__casinhf): Move code for finite nonzero arguments to
11484 k_casinhf.c.
11485 * math/s_casinhl.c: Do not include <float.h>.
11486 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11487 redefine.
11488 (__casinhl): Move code for finite nonzero arguments to
11489 k_casinhl.c.
11490 * math/libm-test.inc (cacos_test): Add more tests.
11491 * sysdeps/i386/fpu/libm-test-ulps: Update.
11492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11493
2a26ef3a
PT
114942013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11495
11496 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11497 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11498 [!HAVE_MREMAP]: Remove [defined linux] case.
11499 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11500
a897655d
SP
115012013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11502
11503 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11504
881ebe89 115052013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11506
11507 * elf/elf.h (R_386_SIZE32): New relocation.
11508 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11509 R_386_SIZE32.
11510 (elf_machine_rela): Likewise.
11511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11512 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11513
59981e9b
JM
115142013-01-17 Joseph Myers <joseph@codesourcery.com>
11515
11516 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11517 (FP_FAST_FMA): Do not define.
11518 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11519 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11520 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11521 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11522 !_SOFT_FLOAT]: Likewise.
11523 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11524 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11525 value.
11526 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11527 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11528 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11529 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11530 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11531 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11532 file.
11533
cfa8054f
AS
115342013-01-16 Andreas Schwab <schwab@suse.de>
11535
11536 [BZ #14327]
11537 * include/stdlib.h (__mktemp): Add declaration.
11538 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11539 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11540
dd930cc5
SP
115412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11542
881ebe89
SP
11543 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11544 definitions.
11545 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11546 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11547 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11548 definitions here.
11549 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11550 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11551 definitions.
11552 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11553 and ONE.
11554 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11555 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11556 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11557 definitions.
11558 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11559 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11560 definitions.
11561 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11562
dd930cc5
SP
11563 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11564
c19a9f89
DM
115652013-01-15 David S. Miller <davem@davemloft.net>
11566
1aa61767
DM
11567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11568 trunc{,f} to libm-sysdep_routes.
11569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11571 file.
11572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11574 file.
11575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11576 file.
11577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11579 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11580 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11581 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11582 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11583 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11584 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11585
c42d5e98
DM
11586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11587 nearbyint{,f} to libm-sysdep_routes.
11588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11590 New file.
11591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11592 file.
11593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11594 New file.
11595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11596 file.
11597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11599 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11600 file.
11601 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11603 file.
11604 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11605 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11606 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11607
c19a9f89
DM
11608 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11609 libc_feholdexcept and libc_fesetenv.
11610
357679d2
MF
116112013-01-15 Mike Frysinger <vapier@gentoo.org>
11612
11613 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11614
65a82e3d
DM
116152013-01-14 David S. Miller <davem@davemloft.net>
11616
8b954ab9
DM
11617 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11618 (SPARC_ASM_VIS2_IFUNC): Likewise.
11619 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11621 use of 'siam' instruction.
11622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11623 Likewise.
11624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11625 Likewise.
11626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11627 Likewise.
11628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11633 file.
11634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11635 file.
11636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11637 file.
11638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11639 file.
11640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11645 new VIS2 routines.
11646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11649 Likewise.
11650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11655 routines to libm-sysdep_routines.
11656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11657
65a82e3d
DM
11658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11659 fdim/fdimf to libm-sysdep_routines.
11660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11661 file.
11662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11664 file.
11665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11668 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11669 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11670 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11671 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11672
e34ab705
SP
116732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11674
2a91b573
SP
11675 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11676 to optimize copies.
11677
1066a534
SP
11678 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11681
e34ab705
SP
11682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11683 local variable MPTWO.
11684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11685 Likewise.
11686
aba5e596
MF
116872013-01-13 Mike Frysinger <vapier@gentoo.org>
11688
11689 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11690 GLOB_NOESCAPE.
11691
e557e9e5
MF
116922013-01-13 Mike Frysinger <vapier@gentoo.org>
11693
11694 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11695
0428cec9
MF
116962013-01-13 Mike Frysinger <vapier@gentoo.org>
11697
11698 * manual/pattern.texi (glob_t): Document gl_flags.
11699 (glob64_t): Likewise.
11700
8794a964
DM
117012013-01-11 David S. Miller <davem@davemloft.net>
11702
66438c3f
RM
11703 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11704 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11705 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11706 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11707 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11708 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11709 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11710 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11711 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11712 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11713 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11714 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11715 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11716
4ae4244d
DM
11717 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11718 sparc V9 rather than using V8 code.
11719 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11720 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11721
8794a964
DM
11722 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11723 Move to...
11724 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11725 Here.
11726
6270516e
RM
117272013-01-11 Roland McGrath <roland@hack.frob.com>
11728
11729 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11730 not in the main loop.
11731 * configure: Regenerated.
11732
6a57d931
JM
117332013-01-11 Joseph Myers <joseph@codesourcery.com>
11734
11735 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11736 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11737 to just #else.
11738 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11739 [!__GLIBC_HAVE_LONG_LONG] case.
11740 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11741 condition to just #else.
11742 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11743 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11744 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11745 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11746 unconditional.
11747 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11748 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11749 #elif condition to just #else.
11750 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11751 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11752 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11753 #elif condition to just #else.
11754
0e8529e9
SE
117552013-01-11 Steve Ellcey <sellcey@mips.com>
11756
11757 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11758 (EF_MIPS_ARCH_64): Fix value.
11759 (EF_MIPS_ARCH_32R2): New.
11760 (EF_MIPS_ARCH_64R2): New.
11761
740b3dbe
L
117622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 * Makeconfig (+link-pie-before-libc): New.
11765 (+link-pie-after-libc): Likewise.
11766 (+link-pie-tests): Likewise.
11767 (+link-pie): Rewritten.
11768 (link-before-libc): Remove $(config-LDFLAGS).
11769 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11770 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11771 (config-LDFLAGS): Renamed to ...
11772 (rtld-LDFLAGS): This.
11773 (rtld-tests-LDFLAGS): New macro.
11774 (link-libc-rpath-link): Likewise.
11775 (link-libc-tests-rpath-link): Likewise.
11776 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11777 (link-libc): Prepand $(link-libc-rpath-link).
11778 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11779 (test-program-prefix): New macro.
11780 (test-via-rtld-prefix): Likewise.
11781 (test-program-cmd): Likewise.
11782 (host-test-program-cmd): Likewise.
11783 * Makefile ($(common-objpfx)testrun.sh): Replace
11784 $(run-program-prefix) with $(test-program-prefix).
11785 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11786 $(rtld-LDFLAGS).
11787 ($(common-objpfx)shlib.lds): Likewise.
11788 (build-module-helper): Likewise.
11789 ($(common-objpfx)format.lds): Likewise.
11790 * Rules (binaries-pie-tests): New.
11791 (binaries-pie-notests): Likewise.
11792 (binaries-pie): Rewritten.
11793 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11794 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11795 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11796 (make-test-out): Replace $(host-built-program-cmd) with
11797 $(host-test-program-cmd).
11798 * config.make.in (build-hardcoded-path-in-tests): New variable.
11799 * configure.in (--enable-hardcoded-path-in-tests): New configure
11800 option.
11801 (hardcoded_path_in_tests): New AC_SUBST.
11802 * configure: Regenerated.
11803 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11804 $(built-program-cmd) with $(test-program-cmd).
11805 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11806 (test_program_cmd): This.
11807 * elf/Makefile ($(objpfx)order.out): Run test with
11808 $(test-program-prefix).
11809 ($(objpfx)order2.out): Likewise.
11810 ($(objpfx)tst-initorder.out): Likewise.
11811 ($(objpfx)tst-initorder2.out): Likewise.
11812 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11813 $(test-program-cmd).
11814 ($(objpfx)tst-array1-static.out): Likewise.
11815 ($(objpfx)tst-array2.out): Likewise.
11816 ($(objpfx)tst-array3.out): Likewise.
11817 ($(objpfx)tst-array4.out): Likewise.
11818 ($(objpfx)tst-array5.out): Likewise.
11819 ($(objpfx)tst-array5-static.out): Likewise.
11820 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11821 $(test-program-cmd).
11822 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11823 $(run-program-prefix) with $(test-program-prefix).
11824 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11825 (test_program_prefix): This.
11826 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11827 $(run-program-prefix) with $(test-program-prefix).
11828 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11829 (test_program_prefix): This.
11830 * iconvdata/tst-tables.sh: Likewise.
11831 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11832 $(run-program-prefix) with $(test-program-prefix).
11833 ($(objpfx)tst-translit.out): Likewise.
11834 ($(objpfx)tst-gettext2.out): Likewise.
11835 ($(objpfx)tst-gettext4.out): Likewise.
11836 ($(objpfx)tst-gettext6.out): Likewise.
11837 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11838 (test_program_prefix): This.
11839 * intl/tst-gettext2.sh: Likewise.
11840 * intl/tst-gettext4.sh Likewise.
11841 * intl/tst-gettext6.sh: Likewise.
11842 * intl/tst-translit.sh: Likewise.
11843 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11844 with $(test-program-cmd).
11845 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11846 $(run-program-prefix) with $(test-program-prefix).
11847 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11848 (test_program_prefix): This.
11849 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11850 $(run-program-prefix) with $(test-program-prefix).
11851 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11852 (test_program_prefix): This.
11853 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11854 * posix/Makefile ($(objpfx)globtest.out): Replace
11855 $(run-via-rtld-prefix) and $(test-wrapper) with
11856 $(test-program-prefix) and $(test-via-rtld-prefix).
11857 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11858 $(test-program-prefix).
11859 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11860 $(host-test-program-cmd).
11861 (tst-spawn-ARGS): Likewise.
11862 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11863 $(test-program-prefix).
11864 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11865 (test_via_rtld_prefix): This.
11866 (test_wrapper): Renamed to ...
11867 (test_program_prefix): This.
11868 (run_program_prefix): Replaced by test_program_prefix.
11869 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11870 (test_program_prefix): This.
11871 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11872 with $(host-test-program-cmd).
11873 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11874 $(run-program-prefix) with $(test-program-prefix).
11875 ($(objpfx)tst-printf.out): Likewise.
11876 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11877 $(test-program-cmd).
11878 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11879 (test_program_prefix): This.
11880 * stdio-common/tst-unbputc.sh: Likewise.
11881 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11882 $(run-program-prefix) with $(test-program-prefix).
11883 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11884 (test_program_prefix): This.
11885 * string/Makefile ($(objpfx)tst-svc.out): Replace
11886 $(built-program-cmd) with $(test-program-cmd).
11887
c6fe55cf
AJ
118882013-01-11 Andreas Jaeger <aj@suse.de>
11889
11890 [BZ #15003]
11891 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11892 value. Sync with Linux 3.7.
11893
9e6919c8
DM
118942013-01-10 David S. Miller <davem@davemloft.net>
11895
11896 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11897 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11898 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11899
1c9f1a02
RM
119002013-01-10 Roland McGrath <roland@hack.frob.com>
11901
11902 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11903 never set.
11904 * configure: Regenerated.
11905
b9de2dde
DM
119062013-01-10 David S. Miller <davem@davemloft.net>
11907
11908 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11909 sparc V9 rather than using V8 code.
11910 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11911 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11912
e7f68ef4
RM
119132013-01-10 Roland McGrath <roland@hack.frob.com>
11914
11915 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11916 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11917 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11918 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11919 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11920 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11921 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11922 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11923 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11924 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11925 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11926 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11927 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11928 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11929 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11930 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11931 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11932 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11933 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11934 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11935 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11936 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11937 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11938 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11939 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11940 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11941 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11942
5a47cc9c
DM
119432013-01-10 David S. Miller <davem@davemloft.net>
11944
11945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11946
4cf8f209
L
119472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * posix/Makefile (tests-static): New variable.
11950 (tests): Add $(tests-static).
11951 (tst-exec-static-ARGS): New variable.
11952 (tst-spawn-static-ARGS): Likewise.
11953 * posix/tst-exec-static.c: New file.
11954 * posix/tst-spawn-static.c: Likewise.
11955 * posix/tst-exec.c: Support run directly.
11956 * posix/tst-spawn.c: Likewise.
11957
fed0faa1
JM
119582013-01-10 Joseph Myers <joseph@codesourcery.com>
11959
828beb13
JM
11960 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11961 long.
11962 * math/bits/mathcalls.h (llrint): Likewise.
11963 (llround): Likewise.
11964 * stdlib/stdlib.h (struct drand48_data): Likewise.
11965 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11966 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11968 Likewise.
11969 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11970 Likewise.
11971 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11972 (elf_greg_t): Likewise.
11973 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11974 (__jmp_buf): Likewise.
11975 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11976 definitions.
11977 (llrint): Likewise, for all definitions.
11978 (llrintl): Likewise.
11979
fed0faa1
JM
11980 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11981 Remove [__GNUC__] condition.
11982 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11983 condition to just [__USE_ISOC99].
11984 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11985
1a20cb20
L
119862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11987
11988 [BZ #14200]
11989 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11990 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11991 defined.
11992 (_POSIX_V6_ILP32_OFF32): Likewise.
11993 (_XBS5_ILP32_OFF32): Likewise.
11994 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11995 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11996
751b85f7
SP
119972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11998
7490eb81
SP
11999 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12000
751b85f7
SP
12001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12002 doubles __mpexp_twomm1. Adjust usage.
12003 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12004 Remove.
12005
988197f0
AS
120062013-01-10 Andreas Schwab <schwab@suse.de>
12007
12008 [BZ #14964]
12009 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12010 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12011
e83d7298
DM
120122013-01-09 David S. Miller <davem@davemloft.net>
12013
034ed64b 12014 [BZ #15003]
e83d7298
DM
12015 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12016 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12017 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12018 TCP_FASTOPEN): Define.
12019 (tcp_repair_opt): New structure.
12020 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12021 enum values.
12022 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12023 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12024 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12025 (tcp_cookie_transactions): New structure.
12026
d5e0b9bd
AB
120272013-01-09 Anton Blanchard <anton@samba.org>
12028
12029 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12030 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12031 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12032 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12033
0c07e3ea
JM
120342013-01-09 Joseph Myers <joseph@codesourcery.com>
12035
12036 * include/features.h (__USE_ANSI): Remove.
12037
232f7002
RM
120382013-01-09 Roland McGrath <roland@hack.frob.com>
12039
ad98e30c
RM
12040 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12041
232f7002
RM
12042 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12043
950c99ca
SP
120442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12045
b5792741
SP
12046 * sysdeps/s390/fpu/libm-test-ulps: Update.
12047
47cf2278
SP
12048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12049
950c99ca
SP
12050 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12051 (__acr): Likewise.
12052 (__cpy): Likewise.
12053 (norm): Likewise.
12054 (denorm): Likewise.
12055 (__mp_dbl): Likewise.
12056 (__dbl_mp): Likewise.
12057 (add_magnitudes): Likewise.
12058 (sub_magnitudes): Likewise.
12059 (__add): Likewise.
12060 (__sub): Likewise.
12061 (__mul): Likewise.
12062 (__inv): Likewise.
12063 (__dvd): Likewise.
12064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12065 (__acr): Likewise.
12066 (__cpy): Likewise.
12067 (norm): Likewise.
12068 (denorm): Likewise.
12069 (__mp_dbl): Likewise.
12070 (__dbl_mp): Likewise.
12071 (add_magnitudes): Likewise.
12072 (sub_magnitudes): Likewise.
12073 (__add): Likewise.
12074 (__sub): Likewise.
12075 (__mul): Likewise.
12076 (__inv): Likewise.
12077 (__dvd): Likewise.
12078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12079 (__acr): Likewise.
12080 (__cpy): Likewise.
12081 (norm): Likewise.
12082 (denorm): Likewise.
12083 (__mp_dbl): Likewise.
12084 (__dbl_mp): Likewise.
12085 (add_magnitudes): Likewise.
12086 (sub_magnitudes): Likewise.
12087 (__add): Likewise.
12088 (__sub): Likewise.
12089 (__mul): Likewise.
12090 (__inv): Likewise.
12091 (__dvd): Likewise.
12092
eede9df9
JM
120932013-01-08 Joseph Myers <joseph@codesourcery.com>
12094
12095 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12096 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12097 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12098 2 && __USE_EXTERN_INLINES]: Likewise.
12099
c40ea3d9
AJ
121002013-01-08 Andreas Jaeger <aj@suse.de>
12101
12102 [BZ# 14985]
12103 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12104 Remove.
12105 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12106 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12107
2ccdea26
AB
121082013-01-07 Anton Blanchard <anton@samba.org>
12109
12110 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12111 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12112 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12113 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12114 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12115 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12116 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12117 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12120 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12121 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12122 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12123 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12124 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12125 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12126 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12127 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12128 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12130 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12131 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12133 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12134 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12135 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12136 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12137 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12138 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12139 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12140 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12142 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12143 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12144 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12145 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12146 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12147 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12148 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12149 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12150 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12152 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12153
a9708fed
JM
121542013-01-07 Joseph Myers <joseph@codesourcery.com>
12155
375607b9
JM
12156 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12157 (__MALLOC_PMT): Likewise.
12158 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12159 [__GNUC__], only on [_LIBC].
12160 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12161 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12162 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12163 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12164 forward declaration.
12165 (realloc_hook_ini): Likewise.
12166 (memalign_hook_ini): Likewise.
12167 (__libc_memalign): Do not use __MALLOC_PMT in variable
12168 declaration.
12169 (__libc_valloc): Likewise.
12170 (__libc_pvalloc): Likewise.
12171 (__libc_calloc): Likewise.
12172 (__posix_memalign): Likewise.
12173
a9708fed
JM
12174 [BZ #14996]
12175 * math/s_casinh.c: Include <float.h>.
12176 (__casinh): Do not do computation with squaring and square root
12177 for large arguments.
12178 * math/s_casinhf.c: Include <float.h>.
12179 (__casinhf): Do not do computation with squaring and square root
12180 for large arguments.
12181 * math/s_casinhl.c: Include <float.h>.
12182 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12183 (__casinhl): Do not do computation with squaring and square root
12184 for large arguments.
12185 * math/libm-test.inc (casin_test): Add more tests.
12186 (casinh_test): Likewise.
12187 * sysdeps/i386/fpu/libm-test-ulps: Update.
12188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12189
afec409a
L
121902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12191
12192 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12193 (__x86_64_raw_data_cache_size): Likewise.
12194 (__x86_64_data_cache_size_half): Likewise.
12195 (__x86_64_raw_data_cache_size_half): Likewise.
12196 (__x86_64_shared_cache_size): Likewise.
12197 (__x86_64_raw_shared_cache_size): Likewise.
12198 (__x86_64_shared_cache_size_half): Likewise.
12199 (__x86_64_raw_shared_cache_size_half): Likewise.
12200 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12201 to ...
12202 (__x86_data_cache_size): This.
12203 (__x86_64_raw_data_cache_size): Renamed to ...
12204 (__x86_raw_data_cache_size): This.
12205 (__x86_64_data_cache_size_half): Renamed to ...
12206 (__x86_data_cache_size_half): This.
12207 (__x86_64_raw_data_cache_size_half): Renamed to ...
12208 (__x86_raw_data_cache_size_half): This.
12209 (__x86_64_shared_cache_size): Renamed to ...
12210 (__x86_shared_cache_size): This.
12211 (__x86_64_raw_shared_cache_size): Renamed to ...
12212 (__x86_raw_shared_cache_size): This.
12213 (__x86_64_shared_cache_size_half): Renamed to ...
12214 (__x86_shared_cache_size_half): This.
12215 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12216 (__x86_raw_shared_cache_size_half): This.
12217 * sysdeps/x86_64/memcpy.S: Updated.
12218 * sysdeps/x86_64/memset.S: Likewise.
12219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12220 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12221 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12222
0b3986d0
DM
122232013-01-04 David S. Miller <davem@davemloft.net>
12224
12225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12226
e47686e9
AS
122272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12228
d643bac1
AS
12229 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12230 1 to avoid redefinition warning.
12231 (__USE_GNU): Don't define.
12232 (init_signaling_nan): Protoize.
12233
e47686e9
AS
12234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12235
b18decba
SP
122362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
fffb407f
SP
12238 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12240 (__cpymn): Likewise.
12241 (norm): Remove commented code.
12242 (denorm): Likewise.
12243 (__mp_dbl): Likewise.
12244 (__inv): Likewise.
12245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12246 (__cpymn): Likewise.
12247 (norm): Remove commented code.
12248 (denorm): Likewise.
12249 (__mp_dbl): Likewise.
12250 (__inv): Likewise.
12251
b18decba
SP
12252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12253 mp_no value for 1.0 and 2.0.
12254 (norm): Use RADIXI instead of radixi.d.
12255 (denorm): Likewise.
12256 (__mul): Use 0.0 instead of zero.d.
12257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12258 mp_no value for 1.0 and 2.0.
12259 (norm): Use RADIXI instead of radixi.d.
12260 (denorm): Likewise.
12261 (__mul): Use 0.0 instead of zero.d.
12262
cdc1c96f
JM
122632013-01-04 Joseph Myers <joseph@codesourcery.com>
12264
12265 [BZ #14994]
12266 * math/s_casinh.c (__casinh): Reduce finite argument to first
12267 quadrant then set signs of results at the end.
12268 * math/s_casinhf.c (__casinhf): Likewise.
12269 * math/s_casinhl.c (__casinhl): Likewise.
12270 * math/libm-test.inc (casin_test): Add more tests.
12271 (casinh_test): Likewise.
12272 * sysdeps/i386/fpu/libm-test-ulps: Update.
12273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12274
302913e1
SP
122752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12276
6420d207
SP
12277 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12278
a9e48ab4
SP
12279 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12280
b7837264
SP
12281 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12282 declarations.
12283 (denorm): Likewise.
12284 (__mp_dbl): Likewise.
12285 (__inv): Likewise.
12286
f8af25d2
SP
12287 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12288 and adjust the header comment.
12289
302913e1
SP
12290 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12291 variable name from declaration.
12292
5d7dd1ca
L
122932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12294
12295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12296 Initialize COMMON_CPUID_INDEX_7 element.
12297 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12298 (CPUID_RTM): Likewise.
12299 (HAS_RTM): Likewise.
12300 (COMMON_CPUID_INDEX_7): New enum.
12301
2f5f40f4
AS
123022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12303
12304 [BZ #14981]
12305 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12306 size is zero, record memory as freed.
12307
4056f4a0
AJ
123082013-01-03 Andreas Jaeger <aj@suse.de>
12309
12310 * po/ia.po: Add new Interlingua translation.
12311
ab15736f 123122012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12313
12314 * locale/programs/localedef.c: Fix description of '--posix' flag.
12315
568035b7
JM
123162013-01-02 Joseph Myers <joseph@codesourcery.com>
12317
e6898b8d
JM
12318 * NEWS: Update dates in second copyright notice.
12319 * README: Update copyright dates in example.
12320 * manual/libc.texinfo: Update copyright dates.
12321 * scripts/test-installation.pl: Update copyright date in --version
12322 output.
12323
0e2f9562
JM
12324 * hurd/ctty-input.c: Fix copyright notice formatting.
12325 * hurd/ctty-output.c: Likewise.
12326 * hurd/dtable.c: Likewise.
12327 * hurd/hurd-raise.c: Likewise.
12328 * hurd/hurdprio.c: Likewise.
12329 * hurd/msgportdemux.c: Likewise.
12330 * misc/sys/file.h: Likewise.
12331 * misc/sys/ioctl.h: Likewise.
12332 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12333 * sysdeps/mach/hurd/chdir.c: Likewise.
12334 * sysdeps/mach/hurd/fchdir.c: Likewise.
12335 * sysdeps/mach/hurd/rename.c: Likewise.
12336 * sysdeps/mach/hurd/rmdir.c: Likewise.
12337 * sysdeps/mach/hurd/seekdir.c: Likewise.
12338 * sysdeps/mach/hurd/setsid.c: Likewise.
12339 * sysdeps/posix/wait3.c: Likewise.
12340
568035b7
JM
12341 * All files with FSF copyright notices: Update copyright dates
12342 using scripts/update-copyrights.
12343 * intl/plural.c: Regenerated.
12344 * locale/programs/charmap-kw.h: Likewise.
12345 * locale/programs/locfile-kw.h: Likewise.
12346
da08f647
SP
123472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12348
0f5477af
SP
12349 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12350 four values.
12351
44e0d4c2
SP
12352 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12353 calculation loop and add branch prediction.
12354
4d55b4e5
SP
12355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12356 check access beyond bounds of m1np.
12357
da08f647
SP
12358 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12359 MPTWO.
12360 (__inv): Remove local variable MPTWO to use the global
12361 constant.
12362 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12363 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12364 variable MPTWO.
12365 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12366 MP3HALFS static const.
12367
8e051029
DM
123682013-01-01 David S. Miller <davem@davemloft.net>
12369
12370 * po/ca.po: Update from translation team.
12371
f4cf5f2d
JM
123722013-01-01 Joseph Myers <joseph@codesourcery.com>
12373
12374 * scripts/update-copyrights: New file.
12375 * Makeconfig: Reformat copyright notice.
12376 * ctype/ctype.h: Likewise.
12377 * debug/swprintf_chk.c: Likewise.
12378 * elf/dl-cache.c: Likewise.
12379 * elf/dl-debug.c: Likewise.
12380 * elf/dl-object.c: Likewise.
12381 * grp/initgroups.c: Likewise.
12382 * hurd/Makefile: Likewise.
12383 * hurd/hurd/signal.h: Likewise.
12384 * hurd/hurdfault.c: Likewise.
12385 * hurd/hurdioctl.c: Likewise.
12386 * hurd/hurdlookup.c: Likewise.
12387 * hurd/intr-msg.c: Likewise.
12388 * iconv/gconv_open.c: Likewise.
12389 * libio/swprintf.c: Likewise.
12390 * locale/lc-ctype.c: Likewise.
12391 * locale/nl_langinfo.c: Likewise.
12392 * mach/Machrules: Likewise.
12393 * mach/Makefile: Likewise.
12394 * malloc/obstack.h: Likewise.
12395 * manual/Makefile: Likewise.
12396 * manual/tsort.awk: Likewise.
12397 * misc/bits/stab.def: Likewise.
12398 * nis/nis_print_group_entry.c: Likewise.
12399 * nis/nis_table.c: Likewise.
12400 * nis/nss_compat/compat-pwd.c: Likewise.
12401 * nis/nss_compat/compat-spwd.c: Likewise.
12402 * po/Makefile: Likewise.
12403 * posix/fnmatch.c: Likewise.
12404 * posix/regex.h: Likewise.
12405 * resolv/Makefile: Likewise.
12406 * resolv/nss_dns/dns-network.c: Likewise.
12407 * resolv/res_hconf.c: Likewise.
12408 * scripts/gen-sorted.awk: Likewise.
12409 * soft-fp/soft-fp.h: Likewise.
12410 * stdio-common/printf.h: Likewise.
12411 * stdlib/monetary.h: Likewise.
12412 * stdlib/random.c: Likewise.
12413 * stdlib/random_r.c: Likewise.
12414 * sysdeps/generic/Makefile: Likewise.
12415 * sysdeps/gnu/Makefile: Likewise.
12416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12442 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12443 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12444 * sysdeps/mach/hurd/errnos.awk: Likewise.
12445 * sysdeps/mach/hurd/fork.c: Likewise.
12446 * sysdeps/mach/hurd/getcwd.c: Likewise.
12447 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12448 * sysdeps/mach/hurd/mmap.c: Likewise.
12449 * sysdeps/mach/hurd/utimes.c: Likewise.
12450 * sysdeps/mach/hurd/xmknod.c: Likewise.
12451 * sysdeps/posix/profil.c: Likewise.
12452 * sysdeps/posix/readdir_r.c: Likewise.
12453 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12454 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12455 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12456 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12462 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12464 * sysdeps/pthread/lio_listio.c: Likewise.
12465 * sysdeps/sparc/dl-procinfo.h: Likewise.
12466 * sysdeps/unix/i386/sysdep.S: Likewise.
12467 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12468 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12469 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12470 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12472 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12473 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12474 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12475 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12476 * sysdeps/wordsize-32/divdi3.c: Likewise.
12477 * time/sys/time.h: Likewise.
12478 * wcsmbs/Makefile: Likewise.
12479
0549fbba
DM
124802013-01-01 David S. Miller <davem@davemloft.net>
12481
a141f1a7
DM
12482 * po/fr.po: Update from translation team.
12483
0549fbba
DM
12484 * catgets/gencat.c: Update copyright year.
12485 * csu/version.c: Likewise.
12486 * debug/catchsegv.sh: Likewise.
12487 * debug/pcprofiledump.c: Likewise.
12488 * debug/xtrace.sh: Likewise.
12489 * elf/ldconfig.c: Likewise.
12490 * elf/ldd.bash.in: Likewise.
12491 * elf/pldd.c: Likewise.
12492 * elf/sotruss.ksh: Likewise.
12493 * elf/sprof.c: Likewise.
12494 * iconv/iconv_prog.c: Likewise.
12495 * iconv/iconvconfig.c: Likewise.
12496 * locale/programs/locale.c: Likewise.
12497 * locale/programs/localedef.c: Likewise.
12498 * login/programs/pt_chown.c: Likewise.
12499 * malloc/memusage.sh: Likewise.
12500 * malloc/memusagestat.c: Likewise.
12501 * malloc/mtrace.pl: Likewise.
12502 * nscd/nscd.c: Likewise.
12503 * nss/getent.c: Likewise.
12504 * nss/makedb.c: Likewise.
12505 * posix/getconf.c: Likewise.
12506
18ea052c
SP
125072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12508
12509 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12510 numbers.
12511
9c89fca6
MF
125122012-12-30 Mike Frysinger <vapier@gentoo.org>
12513
12514 * math/bits/mathcalls.h (modf): Use __nonnull.
12515
085ec079
SP
125162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12517
12518 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12519 (split): Use macro CN instead of the bare value.
12520 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12521 could be used.
12522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12523 instead of the bare value.
12524 (power1): Likewise.
12525
6d9f97e1
SP
125262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12527
d63f73be
SP
12528 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12529 __ATAN_TWOM.
12530 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12531
6d9f97e1
SP
12532 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12533 their values.
12534 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12536 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12537 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12538
4c4febf5
AJ
125392012-12-28 Andreas Jaeger <aj@suse.de>
12540
af5843ef
AJ
12541 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12542 values are from Linux 3.7.
12543
4c4febf5
AJ
12544 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12545 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12546
99136f82
SP
125472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12548
2f216c3c 12549 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12550 TRUE case.
12551
99136f82
SP
12552 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12553 (norm): Likewise.
12554 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12555 variables with preprocessor constants.
12556 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12557 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12558 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12559
7fffbdff
BH
125602012-12-27 Bruno Haible <bruno@clisp.org>
12561
12562 [BZ #14317]
12563 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12564 only if needed.
12565
b76eb5f0
SP
125662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12567
31a7fe5c
SP
12568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12569 and use variable directly.
12570 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12571
b76eb5f0
SP
12572 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12573 MPONE.
12574 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12575 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12576 variable MPONE.
12577 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12579 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12580 include directive. Remove local variable MPONE.
12581 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12582 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12583 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12584
2c8bfe7d
DM
125852012-12-25 David S. Miller <davem@davemloft.net>
12586
12587 * version.h (RELEASE): Set to "development".
12588 (VERSION): Set to "2.17.90".
12589 * NEWS: Add 2.18 section.
12590
147d03b0
DM
125912012-12-21 David S. Miller <davem@davemloft.net>
12592
12593 * po/hr.po: Update from translation team.
12594
a8ebb2b9
AK
125952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12596
12597 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12598
95b4f1b6
SE
125992012-12-19 Steve Ellcey <sellcey@mips.com>
12600
b2d94007 12601 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12602
cedb2a90
MS
126032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12604
12605 * manual/contrib.texi (Contributors): Spelling correction.
12606
bbf527d6
DM
126072012-12-15 David S. Miller <davem@davemloft.net>
12608
12609 * po/ru.po: Update from translation team.
12610
bc38c906
DM
126112012-12-13 David S. Miller <davem@davemloft.net>
12612
85429b1a
DM
12613 * NEWS: Mention IFUNC testsuite enhancements.
12614
d283e353
DM
12615 * po/pl.po: Update from translation team.
12616 * po/bg.po: Likewise.
12617
bc38c906
DM
12618 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12619 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12620
a181b0d7
DM
126212012-12-11 David S. Miller <davem@davemloft.net>
12622
4641d57e
DM
12623 * po/sv.po: Update from translation team.
12624
f7bc6495
DM
12625 * po/vi.po: Update from translation team.
12626
6fc9048f
DM
12627 * po/cs.po: Update from translation team.
12628
a181b0d7
DM
12629 * po/de.po: Update from translation team.
12630 * po/eo.po: Likewise.
12631 * po/nl.po: Likewise.
12632
f70bfe80
SP
126332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12634
3c8b4190
SP
12635 [BZ #14246]
12636 * manual/argp.texi (Argp Helper Functions): Move node to follow
12637 Argp Parsing State.
12638
f70bfe80
SP
12639 [BZ #14872]
12640 * manual/conf.texi (Limits on File System Capacity): Mention if
12641 terminating null is included in the max size.
12642
188f0adf
AJ
126432012-12-10 Andreas Jaeger <aj@suse.de>
12644
12645 * po/cs.po: Update from translation team.
12646
56e7d3ad
SP
126472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12648
12649 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12650 void pointer and cast to uintptr_t.
12651 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12652 path.
12653 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12654 * sysdeps/s390/s390-64/memset.S: Likewise.
12655
76f2d2ea 126562012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12657
12658 [BZ #14833]
12659 * menual/message.texi (Message Translation): Fix typos.
12660 (Helper programs for gettext): Likewise.
12661
67cbf9a2
AS
126622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12663
12664 [BZ #14898]
12665 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12666 Change to -1.
12667
682d0e9a
DM
126682012-12-07 David S. Miller <davem@davemloft.net>
12669
12670 * po/libc.pot: Update.
12671
573cd484
RH
126722012-12-07 Richard Henderson <rth@redhat.com>
12673
7e9da188 12674 [BZ #10114]
573cd484
RH
12675 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12676 normal/normal case to before the switch.
12677 (_FP_DIV): Likewise.
12678
e933a943
MF
126792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12680 Mike Frysinger <vapier@gentoo.org>
12681
12682 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12683 check for __NR_fadvise64_64.
12684
82123268
CM
126852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12686
12687 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12688 0, not just to plain "0" as a statement.
12689 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12690 with cw.
12691
d9814526
JM
126922012-12-06 Joseph Myers <joseph@codesourcery.com>
12693
12694 * NEWS: Use sourceware.org in Bugzilla URL.
12695
7728c574
SP
126962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12697
f16946dd
SP
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12699 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12700
5704bbcb
SP
12701 * stdio-common/tst-put-error.c (do_test): Add newline to the
12702 padded test to ensure flush.
12703
17aa0516
JL
127042012-12-05 Jeff Law <law@redhat.com>
12705
12706 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12707
363313b5
JM
127082012-12-05 Joseph Myers <joseph@codesourcery.com>
12709
effbd42a
JM
12710 * README: Don't refer to ports add-on as distributed separately.
12711 Mention AArch64 in list of systems supported in the ports add-on.
12712
87600365
JM
12713 * LICENSES: Add more non-FSF copyright and license notices.
12714
a0d7066a
JM
12715 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12716 ((unused)).
12717
66ca5a5b
JM
12718 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12719
363313b5
JM
12720 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12721 10000 as width of padded output.
12722
b37984ad
JM
127232012-12-04 Joseph Myers <joseph@codesourcery.com>
12724
9003570a
JM
12725 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12726
b37984ad
JM
12727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12728 variable LX with __attribute__ ((unused)).
12729 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12730 Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12734 with __attribute__ ((unused)).
12735
c8df52ec
DM
127362012-12-04 David S. Miller <davem@abraco.davemloft.net>
12737
12738 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12739
b3b099af
JM
127402012-12-04 Joseph Myers <joseph@codesourcery.com>
12741
c33aa6e3
JM
12742 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12743 (CFLAGS-nldbl-acos.c): New variable.
12744 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12745 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12746 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12747 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12748 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12749 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12750 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12751 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12752 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12753 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12754 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12755 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12756 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12757 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12758 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12759 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12760 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12761 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12762 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12763 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12764 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12765 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12766 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12767 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12768 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12769 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12770 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12771 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12772 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12773 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12774 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12775 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12776 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12777 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12778 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12779 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12780 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12781 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12782 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12783 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12784 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12785 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12786 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12787 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12788 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12789 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12790 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12791 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12792 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12793 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12794 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12795 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12796 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12797 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12798 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12799 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12800 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12801 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12802 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12803 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12804 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12805 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12806 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12807 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12808 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12809 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12810 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12811 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12812 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12813 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12814 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12815 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12816 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12817 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12818 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12819 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12820 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12821 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12822 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12823 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12824 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12825 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12826 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12827 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12828 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12829 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12830 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12831 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12832 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12833 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12834 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12835 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12836 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12837 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12838 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12839 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12840 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12841
20f0018d
JM
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12843 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12844
b3b099af
JM
12845 [BZ #14914]
12846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12847 whole low double instead of just low 47 bits when splitting values
12848 into two parts.
12849
029264d1
AM
128502012-12-03 Allan McRae <allan@archlinux.org>
12851
12852 * manual/stdio.texi (Predefined Printf Handlers): Remove
12853 @hsep and @vsep usage.
12854
c9d6789e
MF
128552012-12-03 Mike Frysinger <vapier@gentoo.org>
12856
12857 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12858 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12859
4b7634a5
JL
128602012-12-03 Jeff Law <law@redhat.com>
12861
12862 * time/sys/time.h (settimeofday): Do not mark TV argument
12863 as __nonnull.
12864
eb6cbd24
MF
128652012-12-01 Mike Frysinger <vapier@gentoo.org>
12866
12867 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12868 when currently writing and seek to current position when not.
12869 * libio/Makefile (tests): Remove bug-fclose1.
12870 * libio/bug-fclose1.c: Delete.
12871
f638872a
JM
128722012-12-01 Joseph Myers <joseph@codesourcery.com>
12873
12874 * manual/arith.texi (feenableexcept): Fix typo.
12875 (fedisableexcept): Likewise.
12876
48085d14
RM
128772012-11-30 Roland McGrath <roland@hack.frob.com>
12878
12879 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12880 second, differently-typed declaration, rather than a cast.
12881
1a538b9f
SP
128822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12883
12884 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12885 * include/rpc/svc.h: ... here.
12886
d07f2ff1 128872012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12888
12889 [BZ #13013]
12890 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12891 depending n and resplen2 to catch cases where answer
12892 equals answerp2.
12893
c93ec1f0
CD
128942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12895
12896 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12897 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12898
37db69de
MF
128992012-11-29 Mike Frysinger <vapier@gentoo.org>
12900
12901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12902
e10c4e4f
RM
129032012-11-29 Roland McGrath <roland@hack.frob.com>
12904
12905 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12906
2af1b328
JL
129072012-11-28 Jeff Law <law@redhat.com>
12908
12909 [BZ #13761]
12910 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12911 dataset_temporary. Track alloca usage into alloca_used.
12912 If dataset is large allocate and release it via malloc/free.
12913
111db5b1
FW
129142012-06-04 Florian Weimer <fweimer@redhat.com>
12915
f06cc227 12916 [BZ #14197]
111db5b1
FW
12917 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12918
dd694abd
DM
129192012-11-28 David S. Miller <davem@davemloft.net>
12920
12921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12922
9984dd01
JM
129232012-11-28 Joseph Myers <joseph@codesourcery.com>
12924
12925 [BZ #14803]
12926 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12927 of pi/2 rounded to nearest to 64 bits.
12928 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12929 nearest to 64 bits.
12930 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12931 bits.
12932
14bc93a9
JL
129332012-11-28 Jeff Law <law@redhat.com>
12934 Martin Osvald <mosvald@redhat.com>
12935
12936 [BZ #14889]
12937 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12938 * sunrpc/svc.c: Include time.h.
12939 (__svc_accept_failed): New function.
12940 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12941 any reason other than EINTR, call __svc_accept_failed.
12942 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12943 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12944
e3c6aa3a
AS
129452012-11-28 Andreas Schwab <schwab@suse.de>
12946
12947 * scripts/abilist.awk: Also handle indirect functions in .opd
12948 section.
12949
1bead169
JM
129502012-11-28 Joseph Myers <joseph@codesourcery.com>
12951
12952 [BZ #13881]
12953 * sysdeps/x86/fpu/powl_helper.c: New file.
12954 * sysdeps/x86/fpu/Makefile: Likewise.
12955 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12956 (p3): New object.
12957 (__ieee754_powl): Use __powl_helper for finite arguments except
12958 integer exponents below 8.
12959 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12960 (p3): New object.
12961 (__ieee754_powl): Use __powl_helper for finite arguments except
12962 integer exponents below 8.
12963 * math/libm-test.inc (pow_test): Add more tests and enable some
12964 previously disabled tests.
12965 * sysdeps/i386/fpu/libm-test-ulps: Update.
12966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12967
0817d63d
SP
129682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12969 Carlos O'Donell <carlos_odonell@mentor.com>
12970
12971 * nss/makedb.c (is_prime): Assert that input is odd and greater
12972 than 4. Note that fact in a comment too.
12973 (next_prime): Add 4 to input.
12974
de2fd463
SP
129752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12976
12977 [BZ #11741]
12978 * libio/Makefile (tests): Add test case tst-fwrite-error.
12979 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12980 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12981 * libio/tst-fwrite-error.c: New test case.
12982
c515fb51
L
129832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12984
12985 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12986 before casting to void *.
12987 * include/libc-internal.h (__pointer_type): New macro.
12988 (__integer_if_pointer_type_sub): Likewise.
12989 (__integer_if_pointer_type): Likewise.
12990 (cast_to_integer): Likewise.
12991 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12992 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12993 before casting to atomic64_t.
12994 (atomic_exchange_acq): Likewise.
12995 (__arch_exchange_and_add_body): Likewise.
12996 (__arch_add_body): Likewise.
12997 (atomic_add_negative): Likewise.
12998 (atomic_add_zero): Likewise.
12999
4cf77aa9
JM
130002012-11-26 Joseph Myers <joseph@codesourcery.com>
13001
13002 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13003 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13004 (add_fdes): Likewise.
13005 (linear_search_fdes): Likewise.
13006 (binary_search_unencoded_fdes): Likewise.
13007
d260b3b4
AS
130082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13009
13010 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13011
67060746
AC
130122012-11-24 Adam Conrad <adconrad@0c3.net>
13013
13014 * configure.in: Autodetect C++ header directories.
13015 * configure: Regenerated.
13016
800938a1
MF
130172012-11-23 Mike Frysinger <vapier@gentoo.org>
13018
13019 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13020
4e6e34e6
AS
130212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13022
13023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13024
7c7feb47
JM
130252012-11-22 Joseph Myers <joseph@codesourcery.com>
13026
7184dcdf
JM
13027 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13028 LDBL_MANT_DIG == 106]: Disable some tests.
13029 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13030 Likewise.
13031 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13032 Likewise.
13033
0a42601f
JM
13034 [BZ #14871]
13035 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13036 input for small inputs. Return +/- pi/2 for large inputs.
13037 * math/libm-test.inc (atan_test): Add more tests.
13038
79c9b9fe
JM
13039 * sysdeps/generic/unwind-dw2-fde-glibc.c
13040 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13041 __attribute__ ((unused)).
13042
c60d3bf2
JM
13043 [BZ #14645]
13044 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13045 x * y if x and y are nonzero and z is zero.
13046
ef1e0867
JM
13047 [BZ #14811]
13048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13049 nonzero exponents with absolute value below 0x1p-117 to +/-
13050 0x1p-117.
13051
1468ded3
JM
13052 [BZ #14869]
13053 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13054 up arguments below 2**-450, not just those below 2**-500.
13055 * math/libm-test.inc (hypot_test): Add another test.
13056
8e27e3cc
JM
13057 [BZ #14868]
13058 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13059 Return a+b for ratio over 2**120, not 2**60.
13060 * math/libm-test.inc (hypot_test): Add another test.
13061
c9c0279b
JM
13062 * math/libm-test.inc (clog_test): Use
13063 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13064 (clog10_test): Likewise.
13065
7c7feb47
JM
13066 [BZ #6778]
13067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13068
fff1530e
AS
130692012-11-22 Andreas Schwab <schwab@suse.de>
13070
13071 * sysdeps/i386/fpu/libm-test-ulps: Update.
13072
94558d30
PT
130732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13074
13075 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13076 printf output with newline.
13077
7e1be741
L
130782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13079
6bfea974
L
13080 [BZ #14865]
13081 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13082 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13083 -z nodlopen, -z initfirst and -z execstack support.
13084 * configure: Regenerated.
13085
7e1be741
L
13086 * elf/elf.h (DF_1_NODIRECT): New macro.
13087 (DF_1_IGNMULDEF): Likewise.
13088 (DF_1_NOKSYMS): Likewise.
13089 (DF_1_NOHDR): Likewise.
13090 (DF_1_EDITED): Likewise.
13091 (DF_1_NORELOC): Likewise.
13092 (DF_1_SYMINTPOSE): Likewise.
13093 (DF_1_GLOBAUDIT): Likewise.
13094 (DF_1_SINGLETON): Likewise.
13095 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13096 DT_1_SUPPORTED_MASK bits.
13097 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13098
105ce2ce
CD
130992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13100
13101 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13102
123be9de
TS
131032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13104
d072f3f7
TS
13105 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13106 macro.
13107
123be9de
TS
13108 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13109 (sendmmsg): Move declarations...
13110 * socket/sys/socket.h: ... here.
13111 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13112 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13113 include it from...
13114 * socket/recvmmsg.c: ... this new file.
13115 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13116 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13117 definition of __sendmmsg hidden.
13118 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13119 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13120 Move ENOSYS stub into and include it from...
13121 * socket/sendmmsg.c: ... this new file.
13122 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13123 (sysdep_routines): Move recvmmsg and sendmmsg...
13124 * socket/Makefile (routines): ... here.
13125 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13126 (GLIBC_PRIVATE): Add __sendmmsg.
13127 * include/sys/socket.h (__sendmmsg): Add declarations.
13128 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13129 sendmmsg.
13130
cf9a5d18
JM
131312012-11-20 Joseph Myers <joseph@codesourcery.com>
13132
13133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13134 variable I1 with __attribute__ ((unused)).
13135 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13136
ecd4caf9
JM
131372012-11-19 Joseph Myers <joseph@codesourcery.com>
13138
be14d48f
JM
13139 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13140 DUMMY variables with __attribute__ ((unused)).
13141
ecd4caf9
JM
13142 * bits/byteswap.h: Include <bits/types.h>.
13143 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13144
986cab95
PT
131452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13146
13147 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13148 string_t. Do not manually set errno.
13149 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13150 length with __strnlen. Make sure to both set errno and return it on
13151 failure.
13152
6d33cc9d
DM
131532012-11-19 David S. Miller <davem@davemloft.net>
13154
13155 With help from Joseph Myers.
13156 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13157 very large arguments properly.
13158 * math/libm-test.inc (atan_test): New tests.
13159 (atan2_test): New tests.
13160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13162
ee663277
JM
131632012-11-19 Joseph Myers <joseph@codesourcery.com>
13164
877f2d8e
JM
13165 [BZ #14856]
13166 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13167 Define to 3.
13168
116fc08a
JM
13169 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13170 [POSIX] (EADDRNOTAVAIL): Likewise.
13171 [POSIX] (EAFNOSUPPORT): Likewise.
13172 [POSIX] (EALREADY): Likewise.
13173 [POSIX] (ECONNABORTED): Likewise.
13174 [POSIX] (ECONNREFUSED): Likewise.
13175 [POSIX] (ECONNRESET): Likewise.
13176 [POSIX] (EDESTADDRREQ): Likewise.
13177 [POSIX] (EDQUOT): Likewise.
13178 [POSIX] (EHOSTUNREACH): Likewise.
13179 [POSIX] (EIDRM): Likewise.
13180 [POSIX] (EISCONN): Likewise.
13181 [POSIX] (ELOOP): Likewise.
13182 [POSIX] (EMULTIHOP): Likewise.
13183 [POSIX] (ENETDOWN): Likewise.
13184 [POSIX] (ENETUNREACH): Likewise.
13185 [POSIX] (ENOBUFS): Likewise.
13186 [POSIX] (ENODATA): Likewise.
13187 [POSIX] (ENOLINK): Likewise.
13188 [POSIX] (ENOMSG): Likewise.
13189 [POSIX] (ENOPROTOOPT): Likewise.
13190 [POSIX] (ENOSR): Likewise.
13191 [POSIX] (ENOSTR): Likewise.
13192 [POSIX] (ENOTCONN): Likewise.
13193 [POSIX] (ENOTSOCK): Likewise.
13194 [POSIX] (EOPNOTSUPP): Likewise.
13195 [POSIX] (EOVERFLOW): Likewise.
13196 [POSIX] (EPROTO): Likewise.
13197 [POSIX] (EPROTONOSUPPORT): Likewise.
13198 [POSIX] (EPROTOTYPE): Likewise.
13199 [POSIX] (ESTALE): Likewise.
13200 [POSIX] (ETIME): Likewise.
13201 [POSIX] (ETXTBSY): Likewise.
13202 [POSIX] (EWOULDBLOCK): Likewise.
13203 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13204 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13205 [POSIX] (SEEK_CUR): Likewise.
13206 [POSIX] (SEEK_END): Likewise.
13207 [POSIX || UNIX98] (mode_t): Do not require.
13208 [POSIX] (off_t): Likewise.
13209 [POSIX] (pid_t): Likewise.
13210 [POSIX] (sys/stat.h): Do not allow header.
13211 [POSIX] (unistd.h): Likewise.
13212 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13213 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13214 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13215 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13216 require.
13217 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13218 sigevent): Specify elements.
13219 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13220 entry.
13221 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13222 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13223
a483863f
JM
13224 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13225 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13226 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13227 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13228 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13229 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13230 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13231 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13232 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13233 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13234 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13235 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13236 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13237 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13238 Likewise.
13239 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13240 Likewise.
13241 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13242 Likewise.
13243 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13244 Likewise.
13245 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13246 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13247 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13248 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13249 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13250 Specify lower bound on value.
13251 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13252 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13253 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13254 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13255 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13256 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13257 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13258 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13259 value.
13260 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13261 as optional.
13262 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13263 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13264 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13265 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13266 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13267 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13268 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13269 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13270 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13271 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13272 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13273 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13274 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13275 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13276 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13277 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13278 entry.
13279 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13280 optional.
13281 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13282 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13283 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13284 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13285 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13286 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13287 Likewise.
13288 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13289 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13290 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13291 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13292 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13293 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13294 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13295 as optional.
13296 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13297 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13298 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13299 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13300 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13301 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13302 specify as optional.
13303 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13304 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13305 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13306 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13307 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13308 [XPG3] (NL_LANGMAX): Likewise.
13309 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13310 [POSIX || XPG3] (NL_NMAX): Likewise.
13311 [POSIX || XPG3] (NL_SETMAX): Likewise.
13312 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13313 [XPG3] (NZERO): Likewise.
13314 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13315 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13316 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13317 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13318 (REG_ERANGE): Expect.
13319 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13320 optional-constant.
13321 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13322 Use (void) in prototype.
13323 [POSIX] (*_t): Allow.
13324 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13325 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13326 (WRDE_BADVAL): Expect.
13327
5ba924e3
JM
13328 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13329 expect.
13330 [XPG3 || XPG4] (O_RSYNC): Likewise.
13331 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13332 Likewise.
13333 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13334 [XPG3 || XPG4] (sigqueue): Likewise.
13335 [XPG3 || XPG4] (sigtimedwait): Likewise.
13336 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13337 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13338 [XPG3 || XPG4] (vsnprintf): Likewise.
13339 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13340 Likewise.
13341 [XPG3 || XPG4] (blksize_t): Likewise.
13342 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13343 Likewise.
13344 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13345 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13346 [XPG3 || XPG4] (struct itimerspec): Likewise.
13347 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13348 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13349 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13350 [XPG3 || XPG4] (clockid_t): Likewise.
13351 [XPG3 || XPG4] (timer_t): Likewise.
13352 [XPG3 || XPG4] (clock_getres): Likewise.
13353 [XPG3 || XPG4] (clock_gettime): Likewise.
13354 [XPG3 || XPG4] (clock_settime): Likewise.
13355 [XPG3 || XPG4] (nanosleep): Likewise.
13356 [XPG3 || XPG4] (timer_create): Likewise.
13357 [XPG3 || XPG4] (timer_delete): Likewise.
13358 [XPG3 || XPG4] (timer_gettime): Likewise.
13359 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13360 [XPG3 || XPG4] (timer_settime): Likewise.
13361 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13362 [XPG3 || XPG4] (getlogin_r): Likewise.
13363 [XPG3 || XPG4] (pread): Likewise.
13364 [XPG3 || XPG4] (pthread_atfork): Likewise.
13365 [XPG3 || XPG4] (pwrite): Likewise.
13366
ee663277
JM
13367 [BZ #14835]
13368 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13369 <bits/siginfo.h>.
13370
942caa16
PT
133712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13372
e19af380
PT
13373 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13374 finalizing MALLSTREAM.
13375
942caa16
PT
13376 * sysdeps/mach/hurd/syncfs.c: New file.
13377
cfde9b46
SP
133782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13379
13380 [BZ #14719]
13381 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13382 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13383 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13384 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13385 (_nss_dns_gethostbyname4_r): Likewise.
13386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13387 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13388
f6da27e5
PH
133892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13390
13391 [BZ #13763]
13392 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13393
6665d4a2
SM
133942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13395
1f51ee92
SM
13396 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13397 * elf/cache.c (print_entry): Print ",AArch64" for
13398 FLAG_AARCH64_LIB64
13399
6665d4a2
SM
13400 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13401 * elf/cache.c (print_entry): Print ",hard-float" for
13402 FLAG_ARM_LIBHF.
13403
05b227bd
DM
134042012-11-18 David S. Miller <davem@davemloft.net>
13405
13406 With help from Joseph Myers.
13407 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13408 cutoff to 2**-13.
13409 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13410 cutoff to 2**-25.
13411 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13412 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13413 small.
13414 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13415 * math/libm-test.inc (y0_test): New tests.
13416 (y1_test): New tests.
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13420
786b0b67
AS
134212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13422
13423 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13424 64-bit targets.
13425 * configure: Regenerated.
13426
8e18b86d
DM
134272012-11-17 David S. Miller <davem@davemloft.net>
13428
13429 [BZ #14811]
13430 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13431 nonzero exponents with absolute value below 0x1p-128 to +/-
13432 0x1p-128.
13433
531f1ae0
JM
134342012-11-17 Joseph Myers <joseph@codesourcery.com>
13435
12df29e2
JM
13436 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13437
150dc1a0
JM
13438 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13439
531f1ae0
JM
13440 * posix/getconf-speclist.c: New file.
13441 * posix/posix-envs.def: Likewise.
13442 * posix/confstr.c (START_ENV_GROUP): New macro.
13443 (END_ENV_GROUP): Likewise.
13444 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13445 (KNOWN_PRESENT_ENV_STRING): Likewise.
13446 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13447 (UNKNOWN_ENVIRONMENT): Likewise.
13448 (confstr): Include posix-envs.def instead of handling
13449 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13450 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13451 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13452 (END_ENV_GROUP): Likewise.
13453 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13454 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13455 (UNKNOWN_ENVIRONMENT): Likewise.
13456 (__sysconf): Include posix-envs.def instead of handling associated
13457 cases directly here.
13458 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13459 preprocessing getconf-speclist.c rather than running getconf or
13460 generating empty file.
13461
a93f9cbc
PT
134622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13463
13464 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13465
d64d9f87
AL
134662012-11-16 Andrej Lajovic <natrij@gmail.com>
13467
13468 [BZ #14672]
13469 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13470
447885eb
DM
134712012-11-16 David S. Miller <davem@davemloft.net>
13472
13473 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13474 smaller than LDBL_EPSILON/2.0L, just return xm1.
13475
bcbf9830
L
134762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13477
13478 * elf/tst-array1.c (init): Set constructor priority to 1000.
13479 (fini): Set destructor priority to 1000.
13480 * elf/tst-array2dep.c: Likewise.
13481
2b766585
SP
134822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13483
13484 [BZ #11741]
13485 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13486 (_IO_new_file_xsputn): Also return EOF if none of the input
13487 data was written when overflow failed.
13488 * libio/iopadn.c (_IO_padn): Likewise.
13489 * libio/iowpadn.c (_IO_wpadn): Likewise.
13490 * stdio-common/tst-put-error.c: Add copyright notice.
13491 (do_test): Add case for printing padded string.
13492 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13493 _IO_padn returned error.
13494 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13495 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13496 return EOF.
13497
b1848fde
SP
134982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13499
13500 * libio/libioP.h: Add comment note that the references to C++
13501 bits are now obsolete.
13502
2fd89785
MS
135032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13504
13505 * math/libm-test.inc (check_complex): Use asprintf.
13506
e3ea5409
JM
135072012-11-14 Joseph Myers <joseph@codesourcery.com>
13508
13509 * debug/pcprofiledump.c (print_version): Update copyright year.
13510 * malloc/memusagestat.c (print_version): Likewise.
13511
2e64d265
L
135122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 [BZ #14831]
13515 * elf/Makefile (tests): Add tst-audit8.
13516 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13517 ($(objpfx)tst-audit8.out): New target.
13518 (tst-audit8-ENV): New variable.
13519 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13520 audit if l_reloc_result is NULL.
13521 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13522 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13523 * elf/tst-audit8.c: New file.
13524
c485e4d2
MS
135252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13526
13527 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13528 * misc/Makefile (CFLAGS-select.c): Define.
13529 * posix/Makefile (CFLAGS-pause.c): Define.
13530
3a0d900a
DM
135312012-11-13 David S. Miller <davem@davemloft.net>
13532
13533 * crypt/Makefile: Move test targets after toplevel Rules
13534 inclusion. Grab any necessary sysdep routines when linking.
13535 * crypt/md5.c (md5_process_block): Remove define, we will always
13536 name it __md5_process_block.
13537 (md5_finish_ctx): Update md5_process_block call.
13538 (md5_stream): Likewise.
13539 (md5_process_bytes): Likewise.
13540 (md5_process_block): Rename to __md5_process_block and move to ...
13541 * crypt/md5-block.c: ... here.
13542 * crypt/sha256.c (sha256_process_block): Move to ...
13543 * crypt/sha256-block.c: ... here.
13544 * crypt/sha512.c (sha512_process_block): Move to ...
13545 * crypt/sha512-block.c: ... here.
13546 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13547 path.
13548 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13549 * sysdeps/sparc/sparc64/multiarch/Makefile
13550 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13551 crypt subdir.
13552 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13553 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13554 multiarch changes.
13555 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13556 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13557 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13558 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13559 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13560 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13561 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13562 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13563 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13564 file.
13565 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13566 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13567 file.
13568 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13569
8ca89318
JM
135702012-11-13 Joseph Myers <joseph@codesourcery.com>
13571
e27d476a
JM
13572 * timezone/tzselect.ksh: Update from tzcode git revision
13573 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13574 * timezone/zdump.c: Likewise.
13575 * timezone/zic.c: Likewise.
13576 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13577 in TZVERSION setting, not $(PKGVERSION).
13578 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13579 REPORT_BUGS_TO settings.
13580
8ca89318
JM
13581 [BZ #14838]
13582 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13583 macro.
13584
47594329
MS
135852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13586
13587 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13588 detection to immediately after _FP_ROUND().
13589 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13590 bits are 0.
13591
640ac3f1
DM
135922012-11-11 David S. Miller <davem@davemloft.net>
13593
13594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13595 inttypes.h
13596 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13597 __close rather than their public counterparts.
13598
3d2577bb
JM
135992012-11-10 Joseph Myers <joseph@codesourcery.com>
13600
13601 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13602 file.
13603 [UNIX98] (sem_timedwait): Do not expect.
13604 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13605 [XPG4 || UNIX98] (sockatmark): Do not expect.
13606 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13607 (clock_getcpuclockid): Do not expect.
13608 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13609 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13610 Do not expect.
13611 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13612 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13613 [UNIX98] (vwscanf): Likewise.
13614 [UNIX98] (vswscanf): Likewise.
13615
fb1ae1ee
JM
136162012-11-09 Joseph Myers <joseph@codesourcery.com>
13617
9ec6f8bd
JM
13618 * timezone/version.h: Remove file.
13619 * timezone/README: Do not refer to version.h.
13620 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13621 $(objpfx)version.h.
13622 ($(objpfx)zdump.o): Likewise.
c3f81911 13623 ($(objpfx)version.h): New target.
9ec6f8bd 13624
0aa8f8a1
JM
13625 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13626 2012i.
13627 * timezone/README: Don't mention modification to tzselect.ksh.
13628 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13629 work on unmodified tzselect.ksh. Substitute version numbers in
13630 tzselect.ksh.
13631
4e87147f
JM
13632 * Makefile (format-me): Remove.
13633 (INSTALL): Adjust indentation. Use commands directly instead of
13634 using $(format-me).
13635
8b748aed
JM
13636 * aclocal.m4 (ACX_PKGVERSION): New macro.
13637 (ACX_BUGURL): Likewise.
13638 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13639 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13640 (REPORT_BUGS_TO): Likewise.
13641 * configure: Regenerated.
13642 * config.h.in (PKGVERSION): New macro.
13643 (REPORT_BUGS_TO): Likewise.
13644 * config.make.in (PKGVERSION): New variable.
13645 (PKGVERSION_TEXI): Likewise.
13646 (REPORT_BUGS_TO): Likewise.
13647 (REPORT_BUGS_TEXI): Likewise.
13648 * Makefile (format-me): Use -I$(common-objpfx)manual.
13649 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13650 ($(common-objpfx)manual/%): New target.
13651 (manual/%): Remove target.
13652 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13653 (print_version): Use PKGVERSION.
13654 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13655 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13656 and REPORT_BUGS_TO.
13657 ($(objpfx)xtrace): Likewise.
13658 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13659 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13660 (print_version): Use PKGVERSION.
13661 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13662 (do_version): Use PKGVERSION.
13663 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13664 REPORT_BUGS_TO.
13665 (common-ldd-rewrite): Likewise.
13666 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13667 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13668 (print_version): Use PKGVERSION.
13669 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13670 * elf/pldd.c (argp_program_bug_address): Remove variable.
13671 (more_help): New function.
13672 (argp): Use more_help.
13673 (print_version): Use PKGVERSION.
13674 * elf/sln.c (main): Use PKGVERSION.
13675 (usage): Use REPORT_BUGS_TO.
13676 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13677 (top level): Use PKGVERSION.
13678 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13679 (print_version): Use PKGVERSION.
13680 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13681 (print_version): Use PKGVERSION.
13682 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13683 (print_version): Use PKGVERSION.
13684 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13685 (print_version): Use PKGVERSION.
13686 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13687 (print_version): Use PKGVERSION.
13688 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13689 (print_version): Use PKGVERSION.
13690 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13691 and BUGURL.
13692 ($(objpfx)memusage): Likewise.
13693 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13694 (do_version): Use PKGVERSION.
13695 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13696 (print_version): Use PKGVERSION.
13697 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13698 ($PKGVERSION): New variable.
13699 ($REPORT_BUGS_TO): Likewise.
13700 (usage): Use $REPORT_BUGS_TO.
13701 (top level): Use $PKGVERSION.
13702 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13703 ($(objpfx)pkgvers.texi): New rule.
13704 ($(objpfx)stamp-pkgvers): Likewise.
13705 * manual/install.texi: Include pkgvers.texi.
13706 (--with-pkgversion): Document new configure option.
13707 (--with-bugurl): Likewise.
13708 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13709 than necessarily for this particular distribution. Use
13710 REPORT_BUGS_TO for where to report bugs.
13711 * INSTALL: Regenerated.
13712 * manual/libc.texinfo: Include pkgvers.texi.
13713 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13714 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13715 (print_version): Use PKGVERSION.
13716 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13717 (print_version): Use PKGVERSION.
13718 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13719 (print_version): Use PKGVERSION.
13720 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13721 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13722 macro.
13723 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13724 (print_version): Use PKGVERSION.
13725 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13726 (print_version): Use PKGVERSION.
13727 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13728 and PKGVERSION.
13729
92e4b6a9
JM
13730 * timezone/checktab.awk: Update from tzcode 2012i.
13731 * timezone/ialloc.c: Likewise.
13732 * timezone/private.h: Likewise.
13733 * timezone/scheck.c: Likewise.
13734 * timezone/tzfile.h: Likewise.
13735 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13736 (TZVERSION): Hardcode tzcode version number.
13737 * timezone/zdump.c: Update from tzcode 2012i.
13738 * timezone/zic.c: Likewise.
13739 * timezone/version.h: New file.
13740 * timezone/README: Describe version.h. Update upstream location.
13741
9bde902c
JM
13742 [BZ #14824]
13743 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13744 (mktemp): Enable declaration.
13745 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13749 Likewise.
13750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13751 Likewise.
13752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13753 Likewise.
13754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13755 Likewise.
13756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13757 Likewise.
13758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13759 Likewise.
13760
fb1ae1ee
JM
13761 [BZ #14821]
13762 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13763 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13764 for copies of such integer values.
13765 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13766 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13767
2c1adbcb
AJ
137682012-11-09 Andreas Jaeger <aj@suse.de>
13769
13770 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13771 definitions and declarations that are provided by
13772 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13773
d0f8457e
AK
137742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13775
3a235abb 13776 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13777 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13778 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13779 definition.
13780
57241e26
MS
137812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13782
13783 * elf/elf.h: Update comment before AArch64 relocations.
13784
60e8270d
DM
137852012-11-07 David S. Miller <davem@davemloft.net>
13786
13787 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13788 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13789 (__start_context): Declare.
13790 (__makecontext_ret): Delete.
13791 (__makecontext): Hook up __start_context instead of
13792 __makecontext_ret.
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13794 (sysdep_routines): Add __start_context when in stdlib.
13795
0fbb0fbc
JM
137962012-11-07 Joseph Myers <joseph@codesourcery.com>
13797
13798 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13799 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13800 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13801 hardcoded "nm".
13802 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13803 (READELF): New variable. Use it instead of hardcoded "readelf".
13804
eb48db7e
L
138052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13806
13807 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13808 * sysdeps/x86/Makefile: Here.
13809 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13810 * sysdeps/x86/tst-xmmymm.sh: This.
13811
05bcf62a
JM
138122012-11-07 Joseph Myers <joseph@codesourcery.com>
13813
c4b6cf53
JM
13814 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13815 expectations.
13816 [UNIX98] (pthread_barrier_t): Do not expect.
13817 [UNIX98] (pthread_barrierattr_t): Likewise.
13818 [UNIX98] (pthread_spinlock_t): Likewise.
13819 [UNIX98] (pthread_barrier_destroy): Likewise.
13820 [UNIX98] (pthread_barrier_init): Likewise.
13821 [UNIX98] (pthread_barrier_wait): Likewise.
13822 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13823 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13824 [UNIX98] (pthread_barrierattr_init): Likewise.
13825 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13826 [UNIX98] (pthread_getcpuclockid): Likewise.
13827 [UNIX98] (pthread_mutex_timedlock): Likewise.
13828 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13829 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13830 [UNIX98] (pthread_sigmask): Likewise.
13831 [UNIX98] (pthread_spin_destroy): Likewise.
13832 [UNIX98] (pthread_spin_init): Likewise.
13833 [UNIX98] (pthread_spin_lock): Likewise.
13834 [UNIX98] (pthread_spin_trylock): Likewise.
13835 [UNIX98] (pthread_spin_unlock): Likewise.
13836 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13837 Do not expect.
13838 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13839 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13840 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13841 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13842 [XPG3 || XPG4] (pthread_key_t): Likewise.
13843 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13844 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13845 [XPG3 || XPG4] (pthread_once_t): Likewise.
13846 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13847 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13848 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13849 [XPG3 || XPG4] (pthread_t): Likewise.
13850
cbe6e120
JM
13851 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13852 not expect.
13853 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13854
1b126443
JM
13855 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13856 Change function return type to int.
13857
b961a573
JM
13858 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13859 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13860 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13861 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13862 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13863 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13864 [!POSIX] (posix_madvise): Likewise.
13865 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13866 && !UNIX98].
13867 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13868 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13869 (mode_t): Likewise.
13870 (posix_mem_offset): Likewise.
13871 (posix_typed_mem_get_info): Likewise.
13872 (posix_typed_mem_open): Likewise.
13873
9e188909
JM
13874 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13875 Change condition to [XOPEN2K8].
13876
05bcf62a
JM
13877 * conform/conformtest.pl: Preprocess allow-header data with -x c
13878 instead of from stdin.
13879 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13880 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13881 [C99-based standards] (cerfc): Likewise.
13882 [C99-based standards] (cexp2): Likewise.
13883 [C99-based standards] (cexpm1): Likewise.
13884 [C99-based standards] (clog10): Likewise.
13885 [C99-based standards] (clog1p): Likewise.
13886 [C99-based standards] (clog2): Likewise.
13887 [C99-based standards] (clgamma): Likewise.
13888 [C99-based standards] (ctgamma): Likewise.
13889 [C99-based standards] (cerff): Likewise.
13890 [C99-based standards] (cerfcf): Likewise.
13891 [C99-based standards] (cexp2f): Likewise.
13892 [C99-based standards] (cexpm1f): Likewise.
13893 [C99-based standards] (clog10f): Likewise.
13894 [C99-based standards] (clog1pf): Likewise.
13895 [C99-based standards] (clog2f): Likewise.
13896 [C99-based standards] (clgammaf): Likewise.
13897 [C99-based standards] (ctgammaf): Likewise.
13898 [C99-based standards] (cerfl): Likewise.
13899 [C99-based standards] (cerfcl): Likewise.
13900 [C99-based standards] (cexp2l): Likewise.
13901 [C99-based standards] (cexpm1l): Likewise.
13902 [C99-based standards] (clog10l): Likewise.
13903 [C99-based standards] (clog1pl): Likewise.
13904 [C99-based standards] (clog2l): Likewise.
13905 [C99-based standards] (clgammal): Likewise.
13906 [C99-based standards] (ctgammal): Likewise.
13907 * conform/data/inttypes.h-data [C99-based standards]: Include
13908 stdint.h-data. Remove all expectations for stdint.h contents.
13909 [C99-based standards] (PRI*): Do not allow.
13910 [C99-based standards] (SCN*): Likewise.
13911 [C99-based standards] (*_t): Likewise.
13912 [C99-based-standards] (PRId8): Expect macro.
13913 [C99-based-standards] (PRIi8): Likewise.
13914 [C99-based-standards] (PRIo8): Likewise.
13915 [C99-based-standards] (PRIu8): Likewise.
13916 [C99-based-standards] (PRIx8): Likewise.
13917 [C99-based-standards] (PRIX8): Likewise.
13918 [C99-based-standards] (SCNd8): Likewise.
13919 [C99-based-standards] (SCNi8): Likewise.
13920 [C99-based-standards] (SCNo8): Likewise.
13921 [C99-based-standards] (SCNu8): Likewise.
13922 [C99-based-standards] (SCNx8): Likewise.
13923 [C99-based-standards] (PRIdLEAST8): Likewise.
13924 [C99-based-standards] (PRIiLEAST8): Likewise.
13925 [C99-based-standards] (PRIoLEAST8): Likewise.
13926 [C99-based-standards] (PRIuLEAST8): Likewise.
13927 [C99-based-standards] (PRIxLEAST8): Likewise.
13928 [C99-based-standards] (PRIXLEAST8): Likewise.
13929 [C99-based-standards] (SCNdLEAST8): Likewise.
13930 [C99-based-standards] (SCNiLEAST8): Likewise.
13931 [C99-based-standards] (SCNoLEAST8): Likewise.
13932 [C99-based-standards] (SCNuLEAST8): Likewise.
13933 [C99-based-standards] (SCNxLEAST8): Likewise.
13934 [C99-based-standards] (PRIdFAST8): Likewise.
13935 [C99-based-standards] (PRIiFAST8): Likewise.
13936 [C99-based-standards] (PRIoFAST8): Likewise.
13937 [C99-based-standards] (PRIuFAST8): Likewise.
13938 [C99-based-standards] (PRIxFAST8): Likewise.
13939 [C99-based-standards] (PRIXFAST8): Likewise.
13940 [C99-based-standards] (SCNdFAST8): Likewise.
13941 [C99-based-standards] (SCNiFAST8): Likewise.
13942 [C99-based-standards] (SCNoFAST8): Likewise.
13943 [C99-based-standards] (SCNuFAST8): Likewise.
13944 [C99-based-standards] (SCNxFAST8): Likewise.
13945 [C99-based-standards] (PRId16): Likewise.
13946 [C99-based-standards] (PRIi16): Likewise.
13947 [C99-based-standards] (PRIo16): Likewise.
13948 [C99-based-standards] (PRIu16): Likewise.
13949 [C99-based-standards] (PRIx16): Likewise.
13950 [C99-based-standards] (PRIX16): Likewise.
13951 [C99-based-standards] (SCNd16): Likewise.
13952 [C99-based-standards] (SCNi16): Likewise.
13953 [C99-based-standards] (SCNo16): Likewise.
13954 [C99-based-standards] (SCNu16): Likewise.
13955 [C99-based-standards] (SCNx16): Likewise.
13956 [C99-based-standards] (PRIdLEAST16): Likewise.
13957 [C99-based-standards] (PRIiLEAST16): Likewise.
13958 [C99-based-standards] (PRIoLEAST16): Likewise.
13959 [C99-based-standards] (PRIuLEAST16): Likewise.
13960 [C99-based-standards] (PRIxLEAST16): Likewise.
13961 [C99-based-standards] (PRIXLEAST16): Likewise.
13962 [C99-based-standards] (SCNdLEAST16): Likewise.
13963 [C99-based-standards] (SCNiLEAST16): Likewise.
13964 [C99-based-standards] (SCNoLEAST16): Likewise.
13965 [C99-based-standards] (SCNuLEAST16): Likewise.
13966 [C99-based-standards] (SCNxLEAST16): Likewise.
13967 [C99-based-standards] (PRIdFAST16): Likewise.
13968 [C99-based-standards] (PRIiFAST16): Likewise.
13969 [C99-based-standards] (PRIoFAST16): Likewise.
13970 [C99-based-standards] (PRIuFAST16): Likewise.
13971 [C99-based-standards] (PRIxFAST16): Likewise.
13972 [C99-based-standards] (PRIXFAST16): Likewise.
13973 [C99-based-standards] (SCNdFAST16): Likewise.
13974 [C99-based-standards] (SCNiFAST16): Likewise.
13975 [C99-based-standards] (SCNoFAST16): Likewise.
13976 [C99-based-standards] (SCNuFAST16): Likewise.
13977 [C99-based-standards] (SCNxFAST16): Likewise.
13978 [C99-based-standards] (PRId32): Likewise.
13979 [C99-based-standards] (PRIi32): Likewise.
13980 [C99-based-standards] (PRIo32): Likewise.
13981 [C99-based-standards] (PRIu32): Likewise.
13982 [C99-based-standards] (PRIx32): Likewise.
13983 [C99-based-standards] (PRIX32): Likewise.
13984 [C99-based-standards] (SCNd32): Likewise.
13985 [C99-based-standards] (SCNi32): Likewise.
13986 [C99-based-standards] (SCNo32): Likewise.
13987 [C99-based-standards] (SCNu32): Likewise.
13988 [C99-based-standards] (SCNx32): Likewise.
13989 [C99-based-standards] (PRIdLEAST32): Likewise.
13990 [C99-based-standards] (PRIiLEAST32): Likewise.
13991 [C99-based-standards] (PRIoLEAST32): Likewise.
13992 [C99-based-standards] (PRIuLEAST32): Likewise.
13993 [C99-based-standards] (PRIxLEAST32): Likewise.
13994 [C99-based-standards] (PRIXLEAST32): Likewise.
13995 [C99-based-standards] (SCNdLEAST32): Likewise.
13996 [C99-based-standards] (SCNiLEAST32): Likewise.
13997 [C99-based-standards] (SCNoLEAST32): Likewise.
13998 [C99-based-standards] (SCNuLEAST32): Likewise.
13999 [C99-based-standards] (SCNxLEAST32): Likewise.
14000 [C99-based-standards] (PRIdFAST32): Likewise.
14001 [C99-based-standards] (PRIiFAST32): Likewise.
14002 [C99-based-standards] (PRIoFAST32): Likewise.
14003 [C99-based-standards] (PRIuFAST32): Likewise.
14004 [C99-based-standards] (PRIxFAST32): Likewise.
14005 [C99-based-standards] (PRIXFAST32): Likewise.
14006 [C99-based-standards] (SCNdFAST32): Likewise.
14007 [C99-based-standards] (SCNiFAST32): Likewise.
14008 [C99-based-standards] (SCNoFAST32): Likewise.
14009 [C99-based-standards] (SCNuFAST32): Likewise.
14010 [C99-based-standards] (SCNxFAST32): Likewise.
14011 [C99-based-standards] (PRId64): Likewise.
14012 [C99-based-standards] (PRIi64): Likewise.
14013 [C99-based-standards] (PRIo64): Likewise.
14014 [C99-based-standards] (PRIu64): Likewise.
14015 [C99-based-standards] (PRIx64): Likewise.
14016 [C99-based-standards] (PRIX64): Likewise.
14017 [C99-based-standards] (SCNd64): Likewise.
14018 [C99-based-standards] (SCNi64): Likewise.
14019 [C99-based-standards] (SCNo64): Likewise.
14020 [C99-based-standards] (SCNu64): Likewise.
14021 [C99-based-standards] (SCNx64): Likewise.
14022 [C99-based-standards] (PRIdLEAST64): Likewise.
14023 [C99-based-standards] (PRIiLEAST64): Likewise.
14024 [C99-based-standards] (PRIoLEAST64): Likewise.
14025 [C99-based-standards] (PRIuLEAST64): Likewise.
14026 [C99-based-standards] (PRIxLEAST64): Likewise.
14027 [C99-based-standards] (PRIXLEAST64): Likewise.
14028 [C99-based-standards] (SCNdLEAST64): Likewise.
14029 [C99-based-standards] (SCNiLEAST64): Likewise.
14030 [C99-based-standards] (SCNoLEAST64): Likewise.
14031 [C99-based-standards] (SCNuLEAST64): Likewise.
14032 [C99-based-standards] (SCNxLEAST64): Likewise.
14033 [C99-based-standards] (PRIdFAST64): Likewise.
14034 [C99-based-standards] (PRIiFAST64): Likewise.
14035 [C99-based-standards] (PRIoFAST64): Likewise.
14036 [C99-based-standards] (PRIuFAST64): Likewise.
14037 [C99-based-standards] (PRIxFAST64): Likewise.
14038 [C99-based-standards] (PRIXFAST64): Likewise.
14039 [C99-based-standards] (SCNdFAST64): Likewise.
14040 [C99-based-standards] (SCNiFAST64): Likewise.
14041 [C99-based-standards] (SCNoFAST64): Likewise.
14042 [C99-based-standards] (SCNuFAST64): Likewise.
14043 [C99-based-standards] (SCNxFAST64): Likewise.
14044 [C99-based-standards] (PRIdMAX): Likewise.
14045 [C99-based-standards] (PRIiMAX): Likewise.
14046 [C99-based-standards] (PRIoMAX): Likewise.
14047 [C99-based-standards] (PRIuMAX): Likewise.
14048 [C99-based-standards] (PRIxMAX): Likewise.
14049 [C99-based-standards] (PRIXMAX): Likewise.
14050 [C99-based-standards] (SCNdMAX): Likewise.
14051 [C99-based-standards] (SCNiMAX): Likewise.
14052 [C99-based-standards] (SCNoMAX): Likewise.
14053 [C99-based-standards] (SCNuMAX): Likewise.
14054 [C99-based-standards] (SCNxMAX): Likewise.
14055 [C99-based-standards] (PRIdPTR): Likewise.
14056 [C99-based-standards] (PRIiPTR): Likewise.
14057 [C99-based-standards] (PRIoPTR): Likewise.
14058 [C99-based-standards] (PRIuPTR): Likewise.
14059 [C99-based-standards] (PRIxPTR): Likewise.
14060 [C99-based-standards] (PRIXPTR): Likewise.
14061 [C99-based-standards] (SCNdPTR): Likewise.
14062 [C99-based-standards] (SCNiPTR): Likewise.
14063 [C99-based-standards] (SCNoPTR): Likewise.
14064 [C99-based-standards] (SCNuPTR): Likewise.
14065 [C99-based-standards] (SCNxPTR): Likewise.
14066 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14067 allow.
14068 * conform/data/stdint.h-data: Update comments to clarify
14069 requirements.
14070 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14071 type.
14072 [C99-based standards] (INT8_MAX): Likewise.
14073 [C99-based standards] (INT16_MIN): Likewise.
14074 [C99-based standards] (INT16_MAX): Likewise.
14075 [C99-based standards] (INT32_MIN): Likewise.
14076 [C99-based standards] (INT32_MAX): Likewise.
14077 [C99-based standards] (INT64_MIN): Likewise.
14078 [C99-based standards] (INT64_MAX): Likewise.
14079 [C99-based standards] (UINT8_MAX): Likewise.
14080 [C99-based standards] (UINT16_MAX): Likewise.
14081 [C99-based standards] (UINT32_MAX): Likewise.
14082 [C99-based standards] (UINT64_MAX): Likewise.
14083 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14084 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14085 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14086 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14087 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14088 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14089 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14090 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14091 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14092 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14093 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14094 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14095 [C99-based standards] (INT_FAST8_MIN): Likewise.
14096 [C99-based standards] (INT_FAST8_MAX): Likewise.
14097 [C99-based standards] (INT_FAST16_MIN): Likewise.
14098 [C99-based standards] (INT_FAST16_MAX): Likewise.
14099 [C99-based standards] (INT_FAST32_MIN): Likewise.
14100 [C99-based standards] (INT_FAST32_MAX): Likewise.
14101 [C99-based standards] (INT_FAST64_MIN): Likewise.
14102 [C99-based standards] (INT_FAST64_MAX): Likewise.
14103 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14104 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14105 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14106 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14107 [C99-based standards] (INTPTR_MIN): Likewise.
14108 [C99-based standards] (INTPTR_MAX): Likewise.
14109 [C99-based standards] (UINTPTR_MAX): Likewise.
14110 [C99-based standards] (INTMAX_MIN): Likewise.
14111 [C99-based standards] (INTMAX_MAX): Likewise.
14112 [C99-based standards] (UINTMAX_MAX): Likewise.
14113 [C99-based standards] (PTRDIFF_MIN): Likewise.
14114 [C99-based standards] (PTRDIFF_MAX): Likewise.
14115 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14116 [C99-based standards] (SIZE_MAX): Likewise.
14117 [C99-based standards] (WCHAR_MAX): Likewise.
14118 [C99-based standards] (WINT_MAX): Likewise.
14119 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14120 constraint on value.
14121 [C99-based standards] (WCHAR_MIN): Likewise.
14122 [C99-based standards] (WINT_MIN): Likewise.
14123 [C99-based standards] (*_t): Allow.
14124 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14125 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14126 Include math.h-data and complex.h-data. Remove all expectations
14127 of math.h and complex.h contents.
14128 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14129 at end of line.
14130 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14131 (struct tm): Expect tag.
14132 [C99-based-standards] (wcstof): Expect function.
14133 [C99-based-standards] (wcstold): Likewise.
14134 [C99-based-standards] (wcstoll): Likewise.
14135 [C99-based-standards] (wcstoull): Likewise.
14136 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14137 macro-int-constant. Specify type.
14138 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14139 constraint on value.
14140 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14141 Specify type.
14142 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14143 Specify value.
14144 [ISO C standards]: Do not allow headers.
14145 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14146 wcs[abcdefghijklmnopqrstuvwxyz]*.
14147 [ISO C standards] (*_t): Do not allow.
14148 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14149 Expect function.
14150 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14151 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14152 Specify type.
14153 [ISO C standards]: Do not allow headers.
14154 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14155 is[abcdefghijklmnopqrstuvwxyz]*.
14156 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14157 to[abcdefghijklmnopqrstuvwxyz]*.
14158 [ISO C standards] (*_t): Do not allow.
14159 * conform/data/stdalign.h-data: New file.
14160 * conform/data/stdbool.h-data: Likewise.
14161 * conform/data/stdnoreturn.h-data: Likewise.
14162
7514feb8
RM
141632012-11-07 Roland McGrath <roland@hack.frob.com>
14164
14165 [BZ #14815]
14166 * manual/filesys.texi (Directory Entries): Typo fix.
14167 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14168
19b2ecfc
MS
141692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14170
14171 * elf/elf.h (EM_AARCH64): New macro.
14172 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14173 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14174 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14175 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14176 (R_AARCH64_TLSDESC): Likewise.
14177 (NT_ARM_TLS): Likewise.
14178 (NT_ARM_HW_BREAK): Likewise.
14179 (NT_ARM_HW_WATCH): Likewise.
14180
60e235ee
JM
141812012-11-07 Joseph Myers <joseph@codesourcery.com>
14182
14183 [BZ #14811]
14184 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14185 (__ieee754_powl): Saturate nonzero exponents with absolute value
14186 below 0x1p-79 to +/- 0x1p-79.
14187 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14188 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14189 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14190 nonzero exponents with absolute value below 0x1p-32 to +/-
14191 0x1p-32.
14192 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14193 (__ieee754_powl): Saturate nonzero exponents with absolute value
14194 below 0x1p-79 to +/- 0x1p-79.
14195 * math/libm-test.inc (pow_test): Add more tests.
14196
0ab234b7
AK
141972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14198
14199 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14200 _dl_s390_cap_flags with kernel. Increase string length.
14201 (_dl_s390_platforms): Add z196 and zEC12.
14202
45832f74
JM
142032012-11-07 Joseph Myers <joseph@codesourcery.com>
14204
14205 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14206 Change XOPEN21K to XOPEN2K.
14207
19218757
MK
142082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14209
14210 * string/memmove.c: Use memcpy when possible.
14211
c5f45721
AJ
142122012-11-06 Andreas Jaeger <aj@suse.de>
14213
14214 * po/eo.po: Update from translation team.
14215
82477c28
JM
142162012-11-06 Joseph Myers <joseph@codesourcery.com>
14217
14218 [BZ #14793]
14219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14220 exponent and small x and y exponents, scale x or y up. Increase
14221 by 2 the exponent used in scaling up.
14222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14224 * math/libm-test.inc (fma_test): Add more tests.
14225 (fma_test_towardzero): Likewise.
14226 (fma_test_downward): Likewise.
14227 (fma_test_upward): Likewise.
14228
99252c8c
JM
142292012-11-05 Joseph Myers <joseph@codesourcery.com>
14230
acfa885f
JM
14231 [BZ #14805]
14232 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14233 fenv_t *.
14234
99252c8c
JM
14235 [BZ #14801]
14236 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14237 namespace for names of struct fields.
14238 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14239 fenv_t fields.
14240 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14241 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14242
d6d98dea
ST
142432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14244
14245 [BZ #3665]
14246 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14247
e10bb107
TS
142482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14249
14250 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14251 PTR_DEMANGLE.
14252
14253 [BZ #5246]
14254 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14255 PTR_DEMANGLE.
14256
a0c2940d
JM
142572012-11-04 Joseph Myers <joseph@codesourcery.com>
14258
14259 [BZ #14797]
14260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14261 definitely overflow as x * y not x * y + z.
14262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14264 * math/libm-test.inc (fma_test): Add more tests.
14265 (fma_test_towardzero): Likewise.
14266 (fma_test_downward): Likewise.
14267 (fma_test_upward): Likewise.
14268
b830319d
TS
142692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14270
14271 [BZ #157]
14272
14273 * include/stub-tag.h: Remove file.
14274 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14275 '#include' of it.
14276 * manual/maint.texi (Porting): Don't reference it.
14277 * Makerules ($(objpfx)stubs): Likewise.
14278 * dirent/closedir.c: Don't include <stub-tag.h>.
14279 * dirent/dirfd.c: Likewise.
14280 * dirent/fdopendir.c: Likewise.
14281 * dirent/getdents.c: Likewise.
14282 * dirent/getdents64.c: Likewise.
14283 * dirent/opendir.c: Likewise.
14284 * dirent/readdir.c: Likewise.
14285 * dirent/readdir64.c: Likewise.
14286 * dirent/readdir64_r.c: Likewise.
14287 * dirent/readdir_r.c: Likewise.
14288 * dirent/rewinddir.c: Likewise.
14289 * dirent/seekdir.c: Likewise.
14290 * dirent/telldir.c: Likewise.
14291 * gmon/profil.c: Likewise.
14292 * grp/setgroups.c: Likewise.
14293 * inet/if_index.c: Likewise.
14294 * io/access.c: Likewise.
14295 * io/chdir.c: Likewise.
14296 * io/chmod.c: Likewise.
14297 * io/chown.c: Likewise.
14298 * io/close.c: Likewise.
14299 * io/dup.c: Likewise.
14300 * io/dup2.c: Likewise.
14301 * io/dup3.c: Likewise.
14302 * io/euidaccess.c: Likewise.
14303 * io/faccessat.c: Likewise.
14304 * io/fchdir.c: Likewise.
14305 * io/fchmod.c: Likewise.
14306 * io/fchmodat.c: Likewise.
14307 * io/fchown.c: Likewise.
14308 * io/fchownat.c: Likewise.
14309 * io/fcntl.c: Likewise.
14310 * io/flock.c: Likewise.
14311 * io/fstatfs.c: Likewise.
14312 * io/fstatfs64.c: Likewise.
14313 * io/fstatvfs.c: Likewise.
14314 * io/fstatvfs64.c: Likewise.
14315 * io/futimens.c: Likewise.
14316 * io/fxstat.c: Likewise.
14317 * io/fxstat64.c: Likewise.
14318 * io/fxstatat.c: Likewise.
14319 * io/fxstatat64.c: Likewise.
14320 * io/getcwd.c: Likewise.
14321 * io/isatty.c: Likewise.
14322 * io/lchmod.c: Likewise.
14323 * io/lchown.c: Likewise.
14324 * io/link.c: Likewise.
14325 * io/linkat.c: Likewise.
14326 * io/lseek.c: Likewise.
14327 * io/lseek64.c: Likewise.
14328 * io/lxstat64.c: Likewise.
14329 * io/mkdir.c: Likewise.
14330 * io/mkdirat.c: Likewise.
14331 * io/mkfifo.c: Likewise.
14332 * io/mkfifoat.c: Likewise.
14333 * io/open.c: Likewise.
14334 * io/open64.c: Likewise.
14335 * io/openat.c: Likewise.
14336 * io/openat64.c: Likewise.
14337 * io/pipe.c: Likewise.
14338 * io/pipe2.c: Likewise.
14339 * io/poll.c: Likewise.
14340 * io/posix_fadvise.c: Likewise.
14341 * io/posix_fadvise64.c: Likewise.
14342 * io/posix_fallocate.c: Likewise.
14343 * io/posix_fallocate64.c: Likewise.
14344 * io/read.c: Likewise.
14345 * io/readlink.c: Likewise.
14346 * io/readlinkat.c: Likewise.
14347 * io/rmdir.c: Likewise.
14348 * io/sendfile.c: Likewise.
14349 * io/sendfile64.c: Likewise.
14350 * io/statfs.c: Likewise.
14351 * io/statfs64.c: Likewise.
14352 * io/statvfs.c: Likewise.
14353 * io/statvfs64.c: Likewise.
14354 * io/symlink.c: Likewise.
14355 * io/symlinkat.c: Likewise.
14356 * io/ttyname.c: Likewise.
14357 * io/ttyname_r.c: Likewise.
14358 * io/umask.c: Likewise.
14359 * io/unlink.c: Likewise.
14360 * io/unlinkat.c: Likewise.
14361 * io/utime.c: Likewise.
14362 * io/utimensat.c: Likewise.
14363 * io/write.c: Likewise.
14364 * io/xmknod.c: Likewise.
14365 * io/xmknodat.c: Likewise.
14366 * io/xstat.c: Likewise.
14367 * io/xstat64.c: Likewise.
14368 * login/getpt.c: Likewise.
14369 * login/grantpt.c: Likewise.
14370 * login/unlockpt.c: Likewise.
14371 * math/e_acoshl.c: Likewise.
14372 * math/e_acosl.c: Likewise.
14373 * math/e_asinl.c: Likewise.
14374 * math/e_atan2l.c: Likewise.
14375 * math/e_atanhl.c: Likewise.
14376 * math/e_coshl.c: Likewise.
14377 * math/e_expl.c: Likewise.
14378 * math/e_fmodl.c: Likewise.
14379 * math/e_gammal_r.c: Likewise.
14380 * math/e_hypotl.c: Likewise.
14381 * math/e_j0l.c: Likewise.
14382 * math/e_j1l.c: Likewise.
14383 * math/e_jnl.c: Likewise.
14384 * math/e_lgammal_r.c: Likewise.
14385 * math/e_log10l.c: Likewise.
14386 * math/e_log2l.c: Likewise.
14387 * math/e_logl.c: Likewise.
14388 * math/e_powl.c: Likewise.
14389 * math/e_rem_pio2l.c: Likewise.
14390 * math/e_sinhl.c: Likewise.
14391 * math/e_sqrtl.c: Likewise.
14392 * math/fclrexcpt.c: Likewise.
14393 * math/fedisblxcpt.c: Likewise.
14394 * math/feenablxcpt.c: Likewise.
14395 * math/fegetenv.c: Likewise.
14396 * math/fegetexcept.c: Likewise.
14397 * math/fegetround.c: Likewise.
14398 * math/feholdexcpt.c: Likewise.
14399 * math/fesetenv.c: Likewise.
14400 * math/fesetround.c: Likewise.
14401 * math/feupdateenv.c: Likewise.
14402 * math/fgetexcptflg.c: Likewise.
14403 * math/fraiseexcpt.c: Likewise.
14404 * math/fsetexcptflg.c: Likewise.
14405 * math/ftestexcept.c: Likewise.
14406 * math/k_cosl.c: Likewise.
14407 * math/k_rem_pio2l.c: Likewise.
14408 * math/k_sinl.c: Likewise.
14409 * math/k_tanl.c: Likewise.
14410 * math/s_asinhl.c: Likewise.
14411 * math/s_atanl.c: Likewise.
14412 * math/s_cbrtl.c: Likewise.
14413 * math/s_erfl.c: Likewise.
14414 * math/s_expm1l.c: Likewise.
14415 * math/s_log1pl.c: Likewise.
14416 * math/s_tanhl.c: Likewise.
14417 * misc/acct.c: Likewise.
14418 * misc/brk.c: Likewise.
14419 * misc/chflags.c: Likewise.
14420 * misc/chroot.c: Likewise.
14421 * misc/fchflags.c: Likewise.
14422 * misc/fgetxattr.c: Likewise.
14423 * misc/flistxattr.c: Likewise.
14424 * misc/fremovexattr.c: Likewise.
14425 * misc/fsetxattr.c: Likewise.
14426 * misc/fsync.c: Likewise.
14427 * misc/ftruncate.c: Likewise.
14428 * misc/futimes.c: Likewise.
14429 * misc/futimesat.c: Likewise.
14430 * misc/getdomain.c: Likewise.
14431 * misc/getdtsz.c: Likewise.
14432 * misc/gethostid.c: Likewise.
14433 * misc/gethostname.c: Likewise.
14434 * misc/getloadavg.c: Likewise.
14435 * misc/getpagesize.c: Likewise.
14436 * misc/getsysstats.c: Likewise.
14437 * misc/getxattr.c: Likewise.
14438 * misc/gtty.c: Likewise.
14439 * misc/ioctl.c: Likewise.
14440 * misc/lgetxattr.c: Likewise.
14441 * misc/listxattr.c: Likewise.
14442 * misc/llistxattr.c: Likewise.
14443 * misc/lremovexattr.c: Likewise.
14444 * misc/lsetxattr.c: Likewise.
14445 * misc/lutimes.c: Likewise.
14446 * misc/madvise.c: Likewise.
14447 * misc/mincore.c: Likewise.
14448 * misc/mlock.c: Likewise.
14449 * misc/mlockall.c: Likewise.
14450 * misc/mmap.c: Likewise.
14451 * misc/mprotect.c: Likewise.
14452 * misc/msync.c: Likewise.
14453 * misc/munlock.c: Likewise.
14454 * misc/munlockall.c: Likewise.
14455 * misc/munmap.c: Likewise.
14456 * misc/preadv.c: Likewise.
14457 * misc/preadv64.c: Likewise.
14458 * misc/ptrace.c: Likewise.
14459 * misc/pwritev.c: Likewise.
14460 * misc/pwritev64.c: Likewise.
14461 * misc/readv.c: Likewise.
14462 * misc/reboot.c: Likewise.
14463 * misc/remap_file_pages.c: Likewise.
14464 * misc/removexattr.c: Likewise.
14465 * misc/revoke.c: Likewise.
14466 * misc/select.c: Likewise.
14467 * misc/setdomain.c: Likewise.
14468 * misc/setegid.c: Likewise.
14469 * misc/seteuid.c: Likewise.
14470 * misc/sethostid.c: Likewise.
14471 * misc/sethostname.c: Likewise.
14472 * misc/setregid.c: Likewise.
14473 * misc/setreuid.c: Likewise.
14474 * misc/setxattr.c: Likewise.
14475 * misc/sstk.c: Likewise.
14476 * misc/stty.c: Likewise.
14477 * misc/swapoff.c: Likewise.
14478 * misc/swapon.c: Likewise.
14479 * misc/sync.c: Likewise.
14480 * misc/syncfs.c: Likewise.
14481 * misc/syscall.c: Likewise.
14482 * misc/truncate.c: Likewise.
14483 * misc/ualarm.c: Likewise.
14484 * misc/usleep.c: Likewise.
14485 * misc/ustat.c: Likewise.
14486 * misc/utimes.c: Likewise.
14487 * misc/vhangup.c: Likewise.
14488 * misc/writev.c: Likewise.
14489 * posix/_exit.c: Likewise.
14490 * posix/alarm.c: Likewise.
14491 * posix/execve.c: Likewise.
14492 * posix/fexecve.c: Likewise.
14493 * posix/fork.c: Likewise.
14494 * posix/fpathconf.c: Likewise.
14495 * posix/getaddrinfo.c: Likewise.
14496 * posix/getegid.c: Likewise.
14497 * posix/geteuid.c: Likewise.
14498 * posix/getgid.c: Likewise.
14499 * posix/getgroups.c: Likewise.
14500 * posix/getlogin.c: Likewise.
14501 * posix/getlogin_r.c: Likewise.
14502 * posix/getpgid.c: Likewise.
14503 * posix/getpid.c: Likewise.
14504 * posix/getppid.c: Likewise.
14505 * posix/getresgid.c: Likewise.
14506 * posix/getresuid.c: Likewise.
14507 * posix/getsid.c: Likewise.
14508 * posix/getuid.c: Likewise.
14509 * posix/glob64.c: Likewise.
14510 * posix/nanosleep.c: Likewise.
14511 * posix/pathconf.c: Likewise.
14512 * posix/pause.c: Likewise.
14513 * posix/posix_madvise.c: Likewise.
14514 * posix/pread.c: Likewise.
14515 * posix/pread64.c: Likewise.
14516 * posix/pwrite.c: Likewise.
14517 * posix/pwrite64.c: Likewise.
14518 * posix/sched_getaffinity.c: Likewise.
14519 * posix/sched_getp.c: Likewise.
14520 * posix/sched_gets.c: Likewise.
14521 * posix/sched_primax.c: Likewise.
14522 * posix/sched_primin.c: Likewise.
14523 * posix/sched_rr_gi.c: Likewise.
14524 * posix/sched_setaffinity.c: Likewise.
14525 * posix/sched_setp.c: Likewise.
14526 * posix/sched_sets.c: Likewise.
14527 * posix/sched_yield.c: Likewise.
14528 * posix/setgid.c: Likewise.
14529 * posix/setlogin.c: Likewise.
14530 * posix/setpgid.c: Likewise.
14531 * posix/setresgid.c: Likewise.
14532 * posix/setresuid.c: Likewise.
14533 * posix/setsid.c: Likewise.
14534 * posix/setuid.c: Likewise.
14535 * posix/sleep.c: Likewise.
14536 * posix/spawni.c: Likewise.
14537 * posix/sysconf.c: Likewise.
14538 * posix/times.c: Likewise.
14539 * posix/wait.c: Likewise.
14540 * posix/wait3.c: Likewise.
14541 * posix/wait4.c: Likewise.
14542 * posix/waitpid.c: Likewise.
14543 * resolv/gai_sigqueue.c: Likewise.
14544 * resource/getpriority.c: Likewise.
14545 * resource/getrlimit.c: Likewise.
14546 * resource/getrusage.c: Likewise.
14547 * resource/nice.c: Likewise.
14548 * resource/setpriority.c: Likewise.
14549 * resource/setrlimit.c: Likewise.
14550 * resource/ulimit.c: Likewise.
14551 * rt/aio_cancel.c: Likewise.
14552 * rt/aio_fsync.c: Likewise.
14553 * rt/aio_read.c: Likewise.
14554 * rt/aio_sigqueue.c: Likewise.
14555 * rt/aio_suspend.c: Likewise.
14556 * rt/aio_write.c: Likewise.
14557 * rt/clock_getres.c: Likewise.
14558 * rt/clock_gettime.c: Likewise.
14559 * rt/clock_nanosleep.c: Likewise.
14560 * rt/clock_settime.c: Likewise.
14561 * rt/lio_listio.c: Likewise.
14562 * rt/mq_close.c: Likewise.
14563 * rt/mq_getattr.c: Likewise.
14564 * rt/mq_notify.c: Likewise.
14565 * rt/mq_open.c: Likewise.
14566 * rt/mq_receive.c: Likewise.
14567 * rt/mq_send.c: Likewise.
14568 * rt/mq_setattr.c: Likewise.
14569 * rt/mq_timedreceive.c: Likewise.
14570 * rt/mq_timedsend.c: Likewise.
14571 * rt/mq_unlink.c: Likewise.
14572 * rt/shm_open.c: Likewise.
14573 * rt/shm_unlink.c: Likewise.
14574 * rt/timer_create.c: Likewise.
14575 * rt/timer_delete.c: Likewise.
14576 * rt/timer_getoverr.c: Likewise.
14577 * rt/timer_gettime.c: Likewise.
14578 * rt/timer_settime.c: Likewise.
14579 * setjmp/__longjmp.c: Likewise.
14580 * setjmp/setjmp.c: Likewise.
14581 * signal/kill.c: Likewise.
14582 * signal/killpg.c: Likewise.
14583 * signal/raise.c: Likewise.
14584 * signal/sigaction.c: Likewise.
14585 * signal/sigaltstack.c: Likewise.
14586 * signal/sigblock.c: Likewise.
14587 * signal/sigignore.c: Likewise.
14588 * signal/sigintr.c: Likewise.
14589 * signal/signal.c: Likewise.
14590 * signal/sigpause.c: Likewise.
14591 * signal/sigpending.c: Likewise.
14592 * signal/sigqueue.c: Likewise.
14593 * signal/sigreturn.c: Likewise.
14594 * signal/sigset.c: Likewise.
14595 * signal/sigsetmask.c: Likewise.
14596 * signal/sigstack.c: Likewise.
14597 * signal/sigsuspend.c: Likewise.
14598 * signal/sigtimedwait.c: Likewise.
14599 * signal/sigvec.c: Likewise.
14600 * signal/sigwait.c: Likewise.
14601 * signal/sigwaitinfo.c: Likewise.
14602 * signal/sysv_signal.c: Likewise.
14603 * socket/accept.c: Likewise.
14604 * socket/accept4.c: Likewise.
14605 * socket/bind.c: Likewise.
14606 * socket/connect.c: Likewise.
14607 * socket/getpeername.c: Likewise.
14608 * socket/getsockname.c: Likewise.
14609 * socket/getsockopt.c: Likewise.
14610 * socket/isfdtype.c: Likewise.
14611 * socket/listen.c: Likewise.
14612 * socket/recv.c: Likewise.
14613 * socket/recvfrom.c: Likewise.
14614 * socket/recvmsg.c: Likewise.
14615 * socket/send.c: Likewise.
14616 * socket/sendmsg.c: Likewise.
14617 * socket/sendto.c: Likewise.
14618 * socket/setsockopt.c: Likewise.
14619 * socket/shutdown.c: Likewise.
14620 * socket/sockatmark.c: Likewise.
14621 * socket/socket.c: Likewise.
14622 * socket/socketpair.c: Likewise.
14623 * stdio-common/ctermid.c: Likewise.
14624 * stdio-common/cuserid.c: Likewise.
14625 * stdio-common/remove.c: Likewise.
14626 * stdio-common/rename.c: Likewise.
14627 * stdio-common/renameat.c: Likewise.
14628 * stdio-common/tempname.c: Likewise.
14629 * stdlib/getcontext.c: Likewise.
14630 * stdlib/makecontext.c: Likewise.
14631 * stdlib/setcontext.c: Likewise.
14632 * stdlib/swapcontext.c: Likewise.
14633 * stdlib/system.c: Likewise.
14634 * streams/fattach.c: Likewise.
14635 * streams/fdetach.c: Likewise.
14636 * streams/getmsg.c: Likewise.
14637 * streams/getpmsg.c: Likewise.
14638 * streams/putmsg.c: Likewise.
14639 * streams/putpmsg.c: Likewise.
14640 * sysdeps/unix/bsd/getpt.c: Likewise.
14641 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14642 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14643 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14645 Likewise.
14646 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14647 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14648 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14649 * sysvipc/msgctl.c: Likewise.
14650 * sysvipc/msgget.c: Likewise.
14651 * sysvipc/msgrcv.c: Likewise.
14652 * sysvipc/msgsnd.c: Likewise.
14653 * sysvipc/semctl.c: Likewise.
14654 * sysvipc/semget.c: Likewise.
14655 * sysvipc/semop.c: Likewise.
14656 * sysvipc/semtimedop.c: Likewise.
14657 * sysvipc/shmat.c: Likewise.
14658 * sysvipc/shmctl.c: Likewise.
14659 * sysvipc/shmdt.c: Likewise.
14660 * sysvipc/shmget.c: Likewise.
14661 * termios/tcdrain.c: Likewise.
14662 * termios/tcflow.c: Likewise.
14663 * termios/tcflush.c: Likewise.
14664 * termios/tcgetattr.c: Likewise.
14665 * termios/tcgetpgrp.c: Likewise.
14666 * termios/tcsendbrk.c: Likewise.
14667 * termios/tcsetattr.c: Likewise.
14668 * termios/tcsetpgrp.c: Likewise.
14669 * time/adjtime.c: Likewise.
14670 * time/clock.c: Likewise.
14671 * time/getitimer.c: Likewise.
14672 * time/gettimeofday.c: Likewise.
14673 * time/setitimer.c: Likewise.
14674 * time/settimeofday.c: Likewise.
14675 * time/stime.c: Likewise.
14676 * time/time.c: Likewise.
14677
146782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14679
a20492cf
PT
14680 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14681 /usr/old/bin.
14682
72e182e3
PT
14683 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14684 instead of spaces.
14685 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14686
fbeafede
JM
146872012-11-03 Joseph Myers <joseph@codesourcery.com>
14688
5b5b04d6
JM
14689 [BZ #14796]
14690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14691 FE_TONEAREST before applying Dekker multiplication and Knuth
14692 addition. Clear inexact exceptions and check for exact zero
14693 results afterwards.
14694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14695 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14697 * math/libm-test.inc (fma_test): Add more tests.
14698 (fma_test_towardzero): Likewise.
14699 (fma_test_downward): Likewise.
14700 (fma_test_upward): Likewise.
14701 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14702 function.
14703 (libc_fesetround): New macro.
14704 (libc_fesetroundf): Likewise.
14705 (libc_fesetroundl): Likewise.
14706 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14707 function.
14708 (libc_fesetround_387): Likewise.
14709 (libc_fesetroundf): New macro.
14710 (libc_fesetround): Likewise.
14711 (libc_fesetroundl): Likewise.
14712 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14713 function.
14714 (libc_fesetroundf): New macro.
14715 (libc_fesetround): Likewise.
14716 (libc_fesetroundl): Likewise.
14717 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14718 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14719 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14720 libm_hidden_ver.
14721 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14722 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14723 libm_hidden_def.
14724 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14725 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14726 libm_hidden_ver.
14727 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14728 libm_hidden_def.
14729
fbeafede
JM
14730 [BZ #3439]
14731 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14732 integer constant usable in #if and use that to give value to enum
14733 constant.
14734 (FE_DIVBYZERO): Likewise.
14735 (FE_UNDERFLOW): Likewise.
14736 (FE_OVERFLOW): Likewise.
14737 (FE_INVALID): Likewise.
14738 (FE_INVALID_SNAN): Likewise.
14739 (FE_INVALID_ISI): Likewise.
14740 (FE_INVALID_IDI): Likewise.
14741 (FE_INVALID_ZDZ): Likewise.
14742 (FE_INVALID_IMZ): Likewise.
14743 (FE_INVALID_COMPARE): Likewise.
14744 (FE_INVALID_SOFTWARE): Likewise.
14745 (FE_INVALID_SQRT): Likewise.
14746 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14747 (FE_TONEAREST): Likewise.
14748 (FE_TOWARDZERO): Likewise.
14749 (FE_UPWARD): Likewise.
14750 (FE_DOWNWARD): Likewise.
14751 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14752 (FE_DIVBYZERO): Likewise.
14753 (FE_OVERFLOW): Likewise.
14754 (FE_UNDERFLOW): Likewise.
14755 (FE_INEXACT): Likewise.
14756 (FE_TONEAREST): Likewise.
14757 (FE_DOWNWARD): Likewise.
14758 (FE_UPWARD): Likewise.
14759 (FE_TOWARDZERO): Likewise.
14760 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14761 (FE_UNDERFLOW): Likewise.
14762 (FE_OVERFLOW): Likewise.
14763 (FE_DIVBYZERO): Likewise.
14764 (FE_INVALID): Likewise.
14765 (FE_TONEAREST): Likewise.
14766 (FE_TOWARDZERO): Likewise.
14767 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14768 (FE_OVERFLOW): Likewise.
14769 (FE_UNDERFLOW): Likewise.
14770 (FE_DIVBYZERO): Likewise.
14771 (FE_INEXACT): Likewise.
14772 (FE_TONEAREST): Likewise.
14773 (FE_TOWARDZERO): Likewise.
14774 (FE_UPWARD): Likewise.
14775 (FE_DOWNWARD): Likewise.
14776 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14777 (FE_DIVBYZERO): Likewise.
14778 (FE_OVERFLOW): Likewise.
14779 (FE_UNDERFLOW): Likewise.
14780 (FE_INEXACT): Likewise.
14781 (FE_TONEAREST): Likewise.
14782 (FE_DOWNWARD): Likewise.
14783 (FE_UPWARD): Likewise.
14784 (FE_TOWARDZERO): Likewise.
14785
105ca950
CM
147862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14787
14788 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14789
a542b389
AS
147902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14791
14792 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14793 commands. Quote $PWD.
14794 (blacklist_exports): Don't use remove_newlines. Replace "declare
14795 -x" by "export".
14796 (remove_newlines): Remove.
14797
f62c8abc
L
147982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14799
14800 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14801 * stdlib/stdlib.h (atof): Moved to ...
14802 * include/bits/stdlib-float.h: Here. New file.
14803 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14804 * stdlib/bits/stdlib-float.h: New file.
14805 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14806 -mno-sse -mno-mmx.
14807 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14808 <xmmintrin.h>.
14809
0155d5b2
JM
148102012-11-02 Joseph Myers <joseph@codesourcery.com>
14811
a68d0680
JM
14812 * conform/conformtest.pl (@headers): Add fenv.h.
14813 * conform/data/fenv.h-data: New file.
14814 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14815 include of <math/fenv.h>.
14816
caf7f573
JM
14817 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14818 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14819 && !UNIX98]. Enables tests for XOPEN2K8.
14820 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14821 POSIX2008]: Likewise.
14822
6c073ad6
JM
14823 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14824 (struct rusage): Do not expect type or its members.
14825
0155d5b2
JM
14826 [BZ #3439]
14827 * math/math.h (FP_NAN): Define macro to integer constant usable in
14828 #if and use that to give value to enum constant.
14829 (FP_INFINITE): Likewise.
14830 (FP_ZERO): Likewise.
14831 (FP_SUBNORMAL): Likewise.
14832 (FP_NORMAL): Likewise.
14833
b5dcacb4
AS
148342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14835
14836 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14837 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14838 arguments.
14839
f7934be8
RM
148402012-11-02 Roland McGrath <roland@hack.frob.com>
14841
14842 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14843 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14844 autoconf-time if not.
14845 * configure.in: Remove AC_PREREQ.
14846
d7d08bde
TMQMF
148472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14848
14849 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14850 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14851 of the internal implementation.
14852
dcdae19a
JM
148532012-11-02 Joseph Myers <joseph@codesourcery.com>
14854
14855 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14856 except include of <misc/sys/syslog.h>.
14857
d6cffd3e
AS
148582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14859
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14861 function returns with a NULL context exit with zero.
14862
b3563932
TMQMF
148632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14864
14865 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14866
b288a93d
L
148672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14868
14869 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14870 (run_program_cmd): This.
14871 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14872 (tst_langinfo): New variable. Use it.
14873
a2421a68
SAS
148742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14875
14876 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14877 floating point opcodes.
14878
6f796e1b
TS
148792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14880
7402596b
TS
14881 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14882 variable.
14883
d0d4f868
TS
14884 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14885
6f796e1b
TS
14886 * sysdeps/mach/hurd/powerpc: Remove directory.
14887 * sysdeps/mach/powerpc: Likewise.
14888
4da224a2
AS
148892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14890
14891 * scripts/check-local-headers.sh: Ignore c++ headers.
14892
341dd673
TS
148932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14894
14895 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14896 __libc_cleanup_region_start argument.
14897
473611b2
JM
148982012-11-01 Joseph Myers <joseph@codesourcery.com>
14899
14900 [BZ #14784]
14901 [BZ #14785]
14902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14903 x * y using scaling, not as x * y + z.
14904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14906 * math/libm-test.inc (fma_test): Add more tests.
14907 (fma_test_towardzero): Likewise.
14908 (fma_test_downward): Likewise.
14909 (fma_test_upward): Likewise.
14910
4078da3d
TS
149112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14912
14913 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14914
903252aa
JM
149152012-10-31 Joseph Myers <joseph@codesourcery.com>
14916
14917 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14918 New variable.
14919
cbc818d0
TS
149202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14921
14922 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14923
5a03cb1e
AS
149242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14925
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14927 Fix sort order.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14929 Likewise.
14930
90aff2ff
TMQMF
149312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14932
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14934 Fix the order of the list for glibc 2.17.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14936 Likewise.
14937
1818fcb7
AS
149382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14939
14940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14941
ef82f4da
JM
149422012-10-31 Joseph Myers <joseph@codesourcery.com>
14943
16a0e2ec
JM
14944 [BZ #14610]
14945 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14946 for low part of x being zero before using __atanl (y).
14947 * math/libm-test.inc (atan2_test): Add another test.
14948
0eb69512
JM
14949 * manual/install.texi (Configuring and compiling): Document
14950 general use of test-wrapper and test-wrapper-env.
14951 * INSTALL: Regenerated.
14952
ef82f4da
JM
14953 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14954 (__fma): Do not extract and scale down low bits on after-rounding
14955 systems when result rounded to normal precision would have normal
14956 exponent.
14957 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14958 (__fmal): Do not extract and scale down low bits on after-rounding
14959 systems when result rounded to normal precision would have normal
14960 exponent.
14961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14962 (__fmal): Do not extract and scale down low bits on after-rounding
14963 systems when result rounded to normal precision would have normal
14964 exponent.
14965 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14966 macro.
14967 (fma_test): Add more tests.
14968 (fma_test_towardzero): Likewise.
14969 (fma_test_downward): Likewise.
14970 (fma_test_upward): Likewise.
14971
954ef0d9
L
149722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14973
14974 * sysdeps/i386/tininess.h: Renamed to ...
14975 * sysdeps/x86/tininess.h: This.
14976 * sysdeps/x86_64/tininess.h: Removed.
14977
df61ffb2
JM
149782012-10-30 Joseph Myers <joseph@codesourcery.com>
14979
14980 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14981 input. Use $(build-program-cmd).
14982 ($(objpfx)tst-array1-static.out): Likewise.
14983 ($(objpfx)tst-array2.out): Likewise.
14984 ($(objpfx)tst-array3.out): Likewise.
14985 ($(objpfx)tst-array4.out): Likewise.
14986 ($(objpfx)tst-array5.out): Likewise.
14987 ($(objpfx)tst-array5-static.out): Likewise.
14988
01767843
CM
149892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14990
47cc1490
CM
14991 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14992 if defined.
14993
01767843
CM
14994 * nss/nsswitch.h (nss_interface_function): Provide new
14995 macro for use with NSS functions.
14996 * grp/initgroups.c: Use new macro.
14997 * nss/getXXbyYY.c: Likewise.
14998 * nss/getXXbyYY_r.c: Likewise.
14999 * nss/getXXent.c: Likewise.
15000 * nss/getXXent_r.c: Likewise.
15001 * sysdeps/posix/getaddrinfo.c: Likewise.
15002
8321aa97
AJ
150032012-10-30 Andreas Jaeger <aj@suse.de>
15004
15005 * po/ru.po: Update Russion translation from translation project.
15006
2a27fd6d
JM
150072012-10-30 Joseph Myers <joseph@codesourcery.com>
15008
8627a232
JM
15009 [BZ #14152]
15010 [BZ #14783]
15011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15012 result and shift together with sticky bit instead of replicating
15013 round-to-nearest rounding.
15014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15016 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15017 missing underflow exceptions.
15018 (fma_test_towardzero): Add more tests.
15019 (fma_test_downward): Likewise.
15020 (fma_test_upward): Likewise.
15021
2a27fd6d
JM
15022 [BZ #14047]
15023 * sysdeps/generic/tininess.h: New file.
15024 * sysdeps/i386/tininess.h: Likewise.
15025 * sysdeps/sh/tininess.h: Likewise.
15026 * sysdeps/x86_64/tininess.h: Likewise.
15027 * stdlib/tst-strtod-underflow.c: Likewise.
15028 * stdlib/tst-tininess.c: Likewise.
15029 * stdlib/strtod_l.c: Include <tininess.h>.
15030 (round_and_return): Do not set errno for exact underflow cases.
15031 Force an underflow exception when setting errno for underflow.
15032 Determine underflow based on rounding to normal precision if
15033 TININESS_AFTER_ROUNDING.
15034 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15035 ERANGE for exact underflow cases.
15036 * stdlib/Makefile (tests): Add tst-tininess and
15037 tst-strtod-underflow.
15038 ($(objpfx)tst-tininess): Use $(link-libm).
15039 ($(objpfx)tst-strtod-underflow): Likewise.
15040
e7170363
AJ
150412012-10-30 Andreas Jaeger <aj@suse.de>
15042
e5088dc6
AJ
15043 [BZ#14767]
15044 * elf/Makefile (tests): Remove conditional for have-initfini-array
15045 since this is now always required and the variable does not exist
15046 anymore.
15047 (tests-static): Likewise.
15048 (modules-names): Likewise.
15049
e7170363 15050 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15051
15052 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15053 merged with constructor/destructor.
15054 (init_array): Likewise.
15055 * elf/tst-array2dep.c (fini_array): Likewise.
15056 (init_array): Likewise.
15057
60457d8a
MF
150582012-10-29 Mike Frysinger <vapier@gentoo.org>
15059
15060 * manual/message.texi: Delete @cartouche tags.
15061
8bece752
PT
150622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15063
94ce799f
PT
15064 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15065 EOPNOTSUPP.
15066 * sysdeps/mach/hurd/fsync.c: Likewise.
15067
8bece752
PT
15068 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15069 [_POSIX_REALTIME_SIGNALS]: Change condition to
15070 [_POSIX_REALTIME_SIGNALS > 0].
15071
86ebe6b1
AJ
150722012-10-27 Andreas Jaeger <aj@suse.de>
15073
15074 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15075 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15077 [__WORDSIZE != 64]: Likewise.
15078
54399c08
L
150792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 * iconvdata/tst-table.sh: Remove ${SHELL}.
15082 * iconvdata/tst-tables.sh: Likewise.
15083
e2211bed
DM
150842012-10-25 David S. Miller <davem@davemloft.net>
15085
15086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15087 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15088 of strtoull.
15089
f303f97c
DM
15090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15091 ifunc-impl-list.c
15092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15093 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15094 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15095 file.
15096
1e9d84cd
RM
150972012-10-25 Roland McGrath <roland@hack.frob.com>
15098
15099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15100 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15101 __getdirentries.
15102
df381762
JM
151032012-10-25 Joseph Myers <joseph@codesourcery.com>
15104 Jim Blandy <jimb@codesourcery.com>
15105
15106 * scripts/cross-test-ssh.sh: New file.
15107 * manual/install.texi (Configuring and compiling): Document use of
15108 cross-test-ssh.sh.
15109 * INSTALL: Regenerated.
15110
bff64913
PT
151112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15112
15113 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15114 EOPNOTSUPP.
15115
25fe8932
JM
151162012-10-25 Joseph Myers <joseph@codesourcery.com>
15117
15118 * Makeconfig (run-program-prefix): Fix comment.
15119
cc1290d0
JM
151202012-10-24 Joseph Myers <joseph@codesourcery.com>
15121 Jim Blandy <jimb@codesourcery.com>
15122
15123 * Makeconfig (test-wrapper): New variable,
15124 (test-wrapper-env): Likewise.
15125 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15126 (run-built-tests): Define to yes.
15127 (run-program-prefix): Use $(test-wrapper).
15128 (built-program-cmd): Likewise.
15129 * Rules (make-test-out): Use $(test-wrapper-env) and
15130 $(host-built-program-cmd).
15131 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15132 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15133 tst-pathopt.sh.
15134 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15135 $(test-wrapper-env) to tst-rtld-load-self.sh.
15136 ($(objpfx)order2.out): Use $(test-wrapper).
15137 ($(objpfx)tst-initorder.out): Likewise.
15138 ($(objpfx)tst-initorder2.out): Likewise.
15139 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15140 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15141 (test_wrapper_env): New variable. Use it to run ld.so.
15142 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15143 Use it to run ld.so.
15144 (test_wrapper_env): Likewise.
15145 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15146 $(test-wrapper) to run-iconv-test.sh.
15147 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15148 (ICONV): Use $test_wrapper.
15149 * posix/Makefile ($(objpfx)globtest.out): Pass
15150 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15151 globtest.sh, not $(run-program-prefix).
15152 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15153 (test_wrapper): Likewise.
15154 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15155 set together with run_via_rtld_prefix.
15156 (run_program_prefix): Define in terms of test_wrapper and
15157 run_via_rtld_prefix.
15158
6e6249d0
RM
151592012-10-24 Roland McGrath <roland@hack.frob.com>
15160
15161 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15162 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15163 Targets removed.
15164
15165 [BZ #14743]
15166 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15167 Declare __clock_getres, __clock_gettime, __clock_settime,
15168 __clock_nanosleep, and __clock_getcpuclockid.
15169 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15170 Remove librt_hidden_def (clock_gettime).
15171 * sysdeps/unix/clock_gettime.c: Likewise.
15172 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15174 * rt/clock_getres.c: Define __clock_getres as an alias.
15175 * sysdeps/posix/clock_getres.c: Likewise.
15176 * rt/clock_settime.c: Define __clock_settime as an alias.
15177 * sysdeps/unix/clock_settime.c: Likewise.
15178 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15179 * sysdeps/unix/clock_nanosleep.c: Likewise.
15180 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15181 * rt/clock-compat.c: New file.
15182 * rt/Makefile (librt-routines): Add clock-compat and move
15183 $(clock-routines) to ...
15184 (routines): ... here, new variable.
15185 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15186 Don't add get_clockfreq here.
15187 * rt/Versions (libc: GLIBC_2.17): New version set.
15188 Add clock_* symbols here.
15189 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15191 (GLIBC_2.17): Add clock_* symbols.
15192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15196 Likewise.
15197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15198 Likewise.
15199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15203 * NEWS: Mention the move.
15204
15205 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15206 Use __open, __read, __close rather than their public counterparts.
15207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15208 (__get_clockfreq_via_cpuinfo): Likewise.
15209 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15210 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15211
15212 * config.h.in (HAVE_IFUNC): New #undef.
15213 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15214 was successful.
15215 * configure: Regenerated.
15216
0cae3f4b
MF
152172012-10-24 Mike Frysinger <vapier@gentoo.org>
15218
15219 * configure.in: Move READELF check to start of file.
15220 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15221 libc_cv_asm_gnu_indirect_function in the process.
15222 * configure: Regenerated.
15223
8175a253
MF
152242012-10-24 Mike Frysinger <vapier@gentoo.org>
15225
15226 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15227 send the output to /dev/null.
15228 (libc_cv_cc_with_libunwind): Likewise.
15229 (libc_cv_as_noexecstack): Likewise.
15230 * configure: Regenerate.
15231
0708a7d1
JM
152322012-10-24 Joseph Myers <joseph@codesourcery.com>
15233
10b40d85
JM
15234 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15235
0708a7d1
JM
15236 * posix/globtest.sh (TMPDIR): Do not set.
15237 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15238 (testout): Likewise.
15239
9fddec1a
AJ
152402012-10-24 Andreas Jaeger <aj@suse.de>
15241
3a8db22f
AJ
15242 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15243 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15244 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15245 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15246 posix_fadvise64, posix_fallocate64.
15247
9fddec1a
AJ
15248 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15249 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15250 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15251 Likewise.
15252 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15253 Likewise.
15254 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15255
15256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15257 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15258 <bits/fcntl-linux.h>.
15259 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15260
15261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15262 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15263 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15264 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15265 [__WORDSIZE != 64]: Likewise.
15266
ebfd1bbd
JM
152672012-10-23 Joseph Myers <joseph@codesourcery.com>
15268
03ac099f
JM
15269 * Makeconfig (run-built-tests): New variable.
15270 * Rules [$(cross-compiling) = yes]: Change condition to
15271 [$(run-built-tests) = no].
15272 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15273 to [$(run-built-tests) = yes].
15274 * elf/Makefile [$(cross-compiling) = no]: Likewise
15275 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15276 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15277 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15278 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15279 * io/Makefile [$(cross-compiling) = no]: Likewise.
15280 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15281 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15282 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15283 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15284 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15285 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15286 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15287 * string/Makefile [$(cross-compiling) = no]: Likewise.
15288
ebfd1bbd
JM
15289 * posix/Makefile ($(objpfx)globtest.out): Pass
15290 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15291 $(rtld-installed-name).
15292 * posix/globtest.sh (elf_objpfx): Remove variable.
15293 (rtld_installed_name): Likewise.
15294 (library_path): Likewise.
15295 (run_program_prefix): New variable. Use for running globtest
15296 binary.
15297
166bca24
JB
152982012-10-23 Jim Blandy <jimb@codesourcery.com>
15299 Joseph Myers <joseph@codesourcery.com>
15300
15301 * Makeconfig (host-built-program-cmd): New variable.
15302 * elf/Makefile (tst-stackguard1-ARGS): Use
15303 $(host-built-program-cmd).
15304 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15305 (tst-spawn-ARGS): Likewise.
15306 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15307
88866099
JM
153082012-10-23 Joseph Myers <joseph@codesourcery.com>
15309 Jim Blandy <jimb@codesourcery.com>
15310
15311 * Makeconfig (run-via-rtld-prefix): New variable.
15312 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15313 (built-program-cmd): Likewise.
15314
b4b4c296
AJ
153152012-10-22 Andreas Jaeger <aj@suse.de>
15316
15317 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15318 __O_RSYNC if it exists, otherwise to O_SYNC.
15319
6fb54a22
JB
153202012-10-22 Jim Blandy <jimb@codesourcery.com>
15321 Joseph Myers <joseph@codesourcery.com>
15322
15323 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15324 /dev/null.
15325 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15326 from /dev/null
15327 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15328 /dev/null.
15329
481b90b9
AJ
153302012-10-22 Andreas Jaeger <aj@suse.de>
15331
2a0e2669
AJ
15332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15333 Define always.
15334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15335
76e38f9a
AJ
15336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15337 bits/fcntl-linux.h.
15338
7cd37b43
AJ
15339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15340 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15341
481b90b9
AJ
15342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15343 to __O_LARGEFILE.
15344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15345 to __O_LARGEFILE.
15346
aba75984
JB
153472012-10-21 Jim Blandy <jimb@codesourcery.com>
15348 Joseph Myers <joseph@codesourcery.com>
15349
15350 * config.make.in (NM): New variable.
15351
88d4247f
AJ
153522012-10-21 Andreas Jaeger <aj@suse.de>
15353
15354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15355 definitions and declarations that are provided by
15356 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15357
f2eed205
L
153582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15359
15360 [BZ #14683]
15361 * elf/Makefile (tests-static): Add tst-leaks1-static.
15362 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15363 ($(objpfx)tst-leaks1-static): New rule.
15364 ($(objpfx)tst-leaks1-static-mem): Likewise.
15365 (tst-leaks1-static-ENV): New macro.
15366 * elf/dl-open.c (dl_open_worker): Check the main application
15367 only if SHARED is defined.
15368 * elf/tst-leaks1-static.c: New file.
15369
335e6931
AJ
153702012-10-20 Andreas Jaeger <aj@suse.de>
15371
15372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15373 generic values for Linux.
15374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15375 and declarations that are provided by <bits/fcntl-linux.h> and
15376 include <bits/fcntl-linux.h>.
15377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15379
ac5c94d3
RM
153802012-10-20 Roland McGrath <roland@hack.frob.com>
15381
15382 * io/fcntl.h: Move include of <bits/types.h> to the top and
15383 include it unconditionally.
15384
de54b33a
L
153852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15386
228cfb01
L
15387 * wcsmbs/Makefile (tests-ifunc): New variable.
15388 (tests): Add $(tests-ifunc).
15389 * wcsmbs/test-wcschr-ifunc.c: New file.
15390 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15391 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15392 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15393 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15394 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15395
69f07e5f
L
15396 * string/Makefile (tests-ifunc): New variable.
15397 (tests): Add $(tests-ifunc).
15398 * string/test-memccpy.c (TEST_NAME): New macro.
15399 * string/test-memchr.c (TEST_NAME): Likewise.
15400 * string/test-memcmp.c (TEST_NAME): Likewise.
15401 * string/test-memcpy.c (TEST_NAME): Likewise.
15402 * string/test-memmem.c (TEST_NAME): Likewise.
15403 * string/test-memmove.c (TEST_NAME): Likewise.
15404 * string/test-memset.c (TEST_NAME): Likewise.
15405 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15406 * string/test-stpcpy.c (TEST_NAME): Likewise.
15407 * string/test-stpncpy.c (TEST_NAME): Likewise.
15408 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15409 * string/test-strcasestr.c (TEST_NAME): Likewise.
15410 * string/test-strcat.c (TEST_NAME): Likewise.
15411 * string/test-strchr.c (TEST_NAME): Likewise.
15412 * string/test-strcmp.c(TEST_NAME): Likewise.
15413 * string/test-strcpy.c (TEST_NAME): Likewise.
15414 * string/test-strcspn.c (TEST_NAME): Likewise.
15415 * string/test-strlen.c (TEST_NAME): Likewise.
15416 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15417 * string/test-strncmp.c (TEST_NAME): Likewise.
15418 * string/test-strncpy.c (TEST_NAME): Likewise.
15419 * string/test-strnlen.c (TEST_NAME): Likewise.
15420 * string/test-strpbrk.c (TEST_NAME): Likewise.
15421 * string/test-strrchr.c (TEST_NAME): Likewise.
15422 * string/test-strspn.c (TEST_NAME): Likewise.
15423 * string/test-strstr.c (TEST_NAME): Likewise.
15424 * string/test-bcopy-ifunc.c: New file.
15425 * string/test-bzero-ifunc.c: Likewise.
15426 * string/test-memccpy-ifunc.c: Likewise.
15427 * string/test-memchr-ifunc.c: Likewise.
15428 * string/test-memcmp-ifunc.c: Likewise.
15429 * string/test-memcpy-ifunc.c: Likewise.
15430 * string/test-memmem-ifunc.c: Likewise.
15431 * string/test-memmove-ifunc.c: Likewise.
15432 * string/test-mempcpy-ifunc.c: Likewise.
15433 * string/test-memset-ifunc.c: Likewise.
15434 * string/test-rawmemchr-ifunc.c: Likewise.
15435 * string/test-stpcpy-ifunc.c: Likewise.
15436 * string/test-stpncpy-ifunc.c: Likewise.
15437 * string/test-strcasecmp-ifunc.c: Likewise.
15438 * string/test-strcasestr-ifunc.c: Likewise.
15439 * string/test-strcat-ifunc.c: Likewise.
15440 * string/test-strchr-ifunc.c: Likewise.
15441 * string/test-strchrnul-ifunc.c: Likewise.
15442 * string/test-strcmp-ifunc.c: Likewise.
15443 * string/test-strcpy-ifunc.c: Likewise.
15444 * string/test-strcspn-ifunc.c: Likewise.
15445 * string/test-strlen-ifunc.c: Likewise.
15446 * string/test-strncasecmp-ifunc.c: Likewise.
15447 * string/test-strncat-ifunc.c: Likewise.
15448 * string/test-strncmp-ifunc.c: Likewise.
15449 * string/test-strncpy-ifunc.c: Likewise.
15450 * string/test-strnlen-ifunc.c: Likewise.
15451 * string/test-strpbrk-ifunc.c: Likewise.
15452 * string/test-strrchr-ifunc.c: Likewise.
15453 * string/test-strspn-ifunc.c: Likewise.
15454 * string/test-strstr-ifunc.c: Likewise.
15455
de54b33a
L
15456 * debug/Makefile (tests-ifunc): New variable.
15457 (tests): Add $(tests-ifunc).
15458 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15459 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15460 * debug/test-stpcpy_chk-ifunc.c: New file.
15461 * debug/test-strcpy_chk-ifunc.c: Likewise.
15462
88481c16
SP
154632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15464
15465 [BZ #13601]
15466 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15467 header is not read in.
15468
135948bd
JM
154692012-10-19 Joseph Myers <joseph@codesourcery.com>
15470
89f1c388
JM
15471 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15472 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15473 directly. Pass built executable to script as
15474 $(built-program-cmd).
15475 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15476 $testprogram without using LD_LIBRARY_PATH and $ldso.
15477
e40a0d21
JM
15478 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15479 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15480 $(rtld-installed-name).
15481 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15482 (rtld_installed_name): Likewise.
15483 (library_path): Likewise.
15484 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15485 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15486 $(run-program-prefix) to tst-tables.sh.
15487 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15488 it to run tst-table-from and tst-table-to.
15489 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15490 Pass it to tst-table.sh.
15491 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15492 $(run-program-prefix) to tst-gettext.sh.
15493 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15494 tst-translit.sh.
15495 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15496 tst-gettext2.sh.
15497 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15498 to run tst-gettext.
15499 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15500 to run tst-gettext2.
15501 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15502 to run tst-translit.
15503 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15504 $(run-program-prefix) to tst-mtrace.sh.
15505 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15506 to run tst-mtrace.
15507 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15508 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15509 $(rtld-installed-name).
15510 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15511 (rtld_installed_name): Likewise.
15512 (run_program_prefix): New variable. Use it to run wordexp-test.
15513
728e272a
JM
15514 * Makeconfig (ARCH): Remove all definitions.
15515 (machine): Likewise.
15516 [ARCH]: Remove conditional code.
15517 [!objdir]: Give error.
15518 [!objdir] (objpfx): Remove.
15519 [!objdir] (common-objpfx): Likewise.
15520 [!objdir] (common-objdir): Likewise.
15521 * configure.in (config_makefile): Remove. Hardcode Makefile in
15522 AC_CONFIG_FILES call.
15523 * configure: Regenerated.
15524
d528cdcf
JM
15525 [BZ #13888]
15526 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15527 or TMPDIR.
15528 (testout): Likewise.
15529
135948bd
JM
15530 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15531 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15532 $(rtld-installed-name).
15533 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15534 (rtld_installed_name): Likwise.
15535 (runit): Remove function.
15536 (run_getconf): New variable, Use it for running getconf binary.
15537
38c78296
L
155382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15539
15540 [BZ #14716]
15541 * string/test-memmem.c (check_result): New function.
15542 (do_one_test): Use it.
15543 (check1): New function.
15544 (test_main): Use it.
15545
d077f65f
MT
155462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15547
15548 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15549
ced52c71
JM
155502012-10-18 Joseph Myers <joseph@codesourcery.com>
15551
15552 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15553 (_G_LSEEK64): Likewise.
15554 (_G_MMAP64): Likewise.
15555 (_G_FSTAT64): Likewise.
15556 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15557 (_G_LSEEK64): Likewise.
15558 (_G_MMAP64): Likewise.
15559 (_G_FSTAT64): Likewise.
15560 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15561 unconditional. Call __mmap64 directly.
15562 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15563 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15564 __lseek64 directly.
15565 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15566 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15567 __mmap64 directly.
15568 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15569 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15570 __lseek64 directly.
15571 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15572 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15573 __lseek64 directly.
15574 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15575 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15576 __lseek64 directly.
15577 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15578 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15579 __fxstat64 directly.
15580 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15581 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15582 unconditional.
15583 (freopen64) [!_G_OPEN64]: Remove conditional code.
15584 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15585 unconditional.
15586 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15587 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15588 unconditional.
15589 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15590 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15591 unconditional.
15592 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15593 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15594 unconditional.
15595 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15596 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15597 unconditional.
15598 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15599 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15600 unconditional.
15601 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15602 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15603 unconditional.
15604 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15605
b741de23
SP
156062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15607
15608 [BZ #12140]
15609 * manual/memory.texi (Malloc Tunable Parameters): Add note
15610 about free list pointers overwriting some perturb bytes.
15611 Wording suggested by Roland McGrath.
15612
f9b9d9c9
JM
156132012-10-17 Joseph Myers <joseph@codesourcery.com>
15614
15615 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15616 (lgamma_test): Likewise.
15617 (tgamma_test): Likewise.
15618
172a631a
FW
156192012-10-16 Florian Weimer <fweimer@redhat.com>
15620
15621 [BZ #14700]
15622 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15623 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15624
e9f37252
MK
156252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15626
15627 * NEWS: Mention BZ #14716.
15628 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15629 when removing AVAILABLE1_USES_J macro.
15630
d394eb74
L
156312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15632
15633 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15634 (__bswap_64): __uint64_t for unsigned 64-bit int.
15635
ca38dc17
AS
156362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15637
15638 * include/string.h (memmem): Declare libc hidden alias.
15639 * string/memmem.c (memmem): Define libc hidden alias.
15640 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15641 __read, __close instead of open, read, close.
15642
9a387d1f
L
156432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15644
ac49ecaf
L
15645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15646 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15647 global and hidden.
15648 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15649 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15650 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15651 Likewise.
15652 (__rawmemchr_sse2): Likewise.
15653 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15654 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15655 (__strchr_sse2): Likewise.
15656 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15657 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15658 (__strcasecmp_sse2): Likewise.
15659 (__strncasecmp_sse2): Likewise.
15660 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15661 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15662 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15663 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15664 (__strrchr_sse2): Likewise.
15665 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15666 ifunc-impl-list.c.
15667 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15668 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15669 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15670 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15671 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15672 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15673 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15674 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15675 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15676 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15677 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15678 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15679 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15680 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15681 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15682 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15683 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15684 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15685 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15686 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15687 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15688 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15689 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15690 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15691 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15692 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15693 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15694 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15695 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15696 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15697
b090e8ea
L
15698 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15699 global and hidden.
15700 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15701 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15702 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15703 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15704 Likewise.
15705 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15706 Likewise.
15707 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15708 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15709 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15710 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15711 ifunc-impl-list.c.
15712 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15714 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15715 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15716 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15717 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15719 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15720 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15721 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15722 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15723 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15724 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15725 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15726 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15727 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15728 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15729 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15730 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15731 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15732 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15733 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15734 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15735 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15736 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15737 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15738 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15739 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15740 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15741 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15742 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15743 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15744 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15745 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15746 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15747 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15748 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15749 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15750 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15751 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15752 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15753
11dd4af6
L
15754 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15755 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15756 * include/ifunc-impl-list.h: New file.
15757 * misc/ifunc-impl-list.c: Likewise.
15758 * misc/Makefile (routines): Add ifunc-impl-list.
15759 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15760 * string/test-string.h: Include <ifunc-impl-list.h>.
15761 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15762 impl_array): New variables.
15763 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15764 are defined.
15765 (test_init): Call __libc_ifunc_impl_list to initialize
15766 func_list if TEST_IFUNC and TEST_NAME are defined.
15767
9a387d1f
L
15768 * string/Makefile (strop-tests): Add bcopy and bzero.
15769 * string/test-bcopy.c: New file.
15770 * string/test-bzero.c: Likewise.
15771 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15772 defined.
15773 * string/test-memset.c: Support bzero test if TEST_BZERO is
15774 defined.
15775 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15776 __libc_memmove.
15777 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15778 __libc_memset.
15779 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15780 of memset.
15781
472371b9
JM
157822012-10-10 Joseph Myers <joseph@codesourcery.com>
15783
1e4a9536
JM
15784 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15785 * configure: Regenerated.
15786
d173d12e
JM
15787 * Makeconfig (+link-static-before-libc): Don't include
15788 $(link-static-libc).
15789
472371b9
JM
15790 * libio/libio.h (_IO_pos_t): Remove.
15791
89a3ad0b
AO
157922012-10-10 Alexandre Oliva <aoliva@redhat.com>
15793
15794 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15795 McGrath.
15796
e7451425
AO
157972012-10-10 Alexandre Oliva <aoliva@redhat.com>
15798
15799 * crypt/crypt-entry.c: Include fips-private.h.
15800 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15801 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15802 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15803 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15804
4ba74a35
AO
158052012-10-10 Alexandre Oliva <aoliva@redhat.com>
15806
15807 * crypt/crypt-private.h: Include stdbool.h.
15808 (_ufc_setup_salt_r): Return bool.
15809 * crypt/crypt-entry.c: Include errno.h.
15810 (__crypt_r): Return NULL with EINVAL for bad salt.
15811 * crypt/crypt_util.c (bad_for_salt): New.
15812 (_ufc_setup_salt_r): Check that salt is long enough and within
15813 the specified alphabet.
15814 * crypt/badsalttest.c: New file.
15815 * crypt/Makefile (tests): Add it.
15816 ($(objpfx)badsalttest): New.
15817
f96f1242
MK
158182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15819
15820 * NEWS: Add entry for BZ #14602.
15821
0e8e0c1c
JM
158222012-10-09 Joseph Myers <joseph@codesourcery.com>
15823
15824 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15825 type-generic.
15826 * math/libm-test.inc: Update comment listing what functions and
15827 macros are tested.
15828 (isgreater_test): New function.
15829 (isgreaterequal_test): Likewise.
15830 (isless_test): Likewise.
15831 (islessequal_test): Likewise.
15832 (islessgreater_test): Likewise.
15833 (isunordered_test): Likewise.
15834 (main): Call the new functions.
15835
273edc5e
RM
158362012-10-09 Roland McGrath <roland@hack.frob.com>
15837
b8493de0
RM
15838 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15839 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15840 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15841 * sysdeps/i386/configure: Regenerated.
15842 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15843 * sysdeps/mach/configure: Regenerated.
15844 * sysdeps/mach/hurd/configure: Regenerated.
15845 * sysdeps/powerpc/configure: Regenerated.
15846 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15847 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15848 * sysdeps/s390/s390-32/configure: Regenerated.
15849 * sysdeps/s390/s390-64/configure: Regenerated.
15850 * sysdeps/sh/configure: Regenerated.
15851 * sysdeps/sparc/configure: Regenerated.
15852 * sysdeps/unix/sysv/linux/configure: Regenerated.
15853 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15854 * sysdeps/x86_64/configure: Regenerated.
15855
273edc5e
RM
15856 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15857 defined. Don't check if MAP is NULL.
15858
c8450f70
JM
158592012-10-09 Joseph Myers <joseph@codesourcery.com>
15860
15861 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15862 (_G_stat64): Likewise.
15863 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15864 (_G_stat64): Likewise.
15865 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15866 instead of struct _G_stat64.
15867 * libio/fileops.c (mmap_remap_check): Likewise.
15868 (decide_maybe_mmap): Likewise.
15869 (_IO_new_file_seekoff): Likewise.
15870 (_IO_file_stat): Likewise.
15871 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15872 _G_off64_t.
15873 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15874 instead of struct _G_stat64.
15875 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15876
57e605ba
MK
158772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15878
15879 [BZ #14602]
15880 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15881 Replace with ...
15882 (CHECK_EOL): New macro.
15883 (two_way_short_needle): Check beginning of haystack for EOL. Use
15884 CHECK_EOL.
15885 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15886 Replace with CHECK_EOL.
15887 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15888 Replace with CHECK_EOL.
15889
ef1bb361
JM
158902012-10-08 Joseph Myers <joseph@codesourcery.com>
15891
15892 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15893 type-generic.
15894 * math/libm-test.inc: Update comment listing what functions and
15895 macros are tested.
15896 (finite_test): New function.
15897 (isinf_test): Likewise.
15898 (isnan_test): Likewise.
15899 (fpclassify_test): Test subnormal input.
15900 (isfinite_test): Likewise.
15901 (isnormal_test): Likewise.
15902 (main): Call the new functions.
15903
55f11534
JN
159042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15905
15906 [BZ #14660]
15907 * Makerules (%.dynsym): Force C locale when running
15908 $(OBJDUMP) --dynamic-syms.
15909
1ab29350
AS
159102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15911
15912 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15913 <stdint.h>.
15914
f1ecb7ef
DM
159152012-10-06 David S. Miller <davem@davemloft.net>
15916
15917 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15918 upper 32-bits of the length value in %o2 since we use branch-on-register
15919 tests which consider the entire 64-bit register.
15920
5d41d91a
L
159212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15922
15923 * string/test-strstr.c (check2): Add a test for page boundary.
15924
3baddb72
DM
159252012-10-05 David S. Miller <davem@davemloft.net>
15926
15927 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15929 file.
15930 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15931 sysdep_routines.
15932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15933 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15934 and bzero when HWCAP_SPARC_CRYPTO is present.
15935
9cee5585
L
159362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15937
d7e0dab9
L
15938 [BZ #14602]
15939 * string/test-strstr.c (check2): New function.
15940 (test_main): Call check2.
15941
03759f47
L
15942 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15943 and bug-strchr1.
15944 * string/bug-strcasestr1.c (do_test): Moved to ...
15945 * string/test-strcasestr.c (check1): Here. New function.
15946 (do_one_test): Break out result checking code into ...
15947 (check_result): This. New function.
15948 (do_one_test): Call check_result.
15949 (test_main): Call check1.
15950 * string/bug-strchr1.c (do_test): Moved to ...
15951 * string/test-strchr.c (check1): Here. New function.
15952 (do_one_test): Break out result checking code into ...
15953 (check_result): This. New function.
15954 (do_one_test): Call check_result.
15955 (test_main): Call check1.
15956 * string/bug-strstr1.c (main): Moved to ...
046f153e 15957 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15958 (do_one_test): Break out result checking code into ...
15959 (check_result): This. New function.
15960 (do_one_test): Call check_result.
15961 (test_main): Call check1.
15962 * string/bug-strcasestr1.c: Removed.
15963 * string/bug-strchr1.c: Likewise.
15964 * string/bug-strstr1.c: Likewise.
15965
53cea63e
L
15966 * elf/Makefile (dl-routines): Add hwcaps.
15967 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15968 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15969 (_dl_important_hwcaps): Moved to ...
15970 * elf/dl-hwcaps.c: Here. New file.
15971 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15972
9cee5585 15973 [BZ #14557]
bb859b06
L
15974 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15975 if IS_IN_rtld isn't defined.
15976
9cee5585
L
15977 * elf/dl-support.c (_dl_sysinfo_map): New.
15978 Include "get-dynamic-info.h" and "setup-vdso.h".
15979 (_dl_non_dynamic_init): Call setup_vdso.
15980 * elf/dynamic-link.h: Don't include <assert.h>.
15981 (elf_get_dynamic_info): Moved to ...
15982 * elf/get-dynamic-info.h: Here. New file.
15983 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15984 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15985 * elf/setup-vdso.h: Here. New file.
15986 * elf/rtld.c: Include "setup-vdso.h".
15987 (dl_main): Call setup_vdso.
15988
23c31b76
JM
159892012-10-05 Joseph Myers <joseph@codesourcery.com>
15990
28234b07
JM
15991 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15992 creal in comment listing functions tested. List finite, isinf,
15993 isnan, isless, islessequal, isgreater, isgreaterequal,
15994 islessgreater, isunordered, lgamma_r and pow10 as functions and
15995 macros not tested. Mention which functions not tested are aliases
15996 for other functions. Fix typo. Note that signs of NaNs are not
15997 tested.
15998
23c31b76
JM
15999 * scripts/config.guess: Update from config.git.
16000 * scripts/config.sub: Likewise.
16001
9043e228
RM
160022012-10-04 Roland McGrath <roland@hack.frob.com>
16003
16004 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16005 * misc/madvise.c (madvise): Renamed to __madvise.
16006 Make madvise a weak alias.
16007 * include/sys/mman.h: Declare __madvise.
16008 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16009 * sysdeps/unix/syscalls.list
16010 (madvise): Make __madvise the strong name, and madvise a weak alias.
16011 * sysdeps/unix/sysv/linux/syscalls.list
16012 (madvise, mmap): Remove redundant entries.
16013 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16014 * malloc/malloc.c (mtrim): Likewise.
16015 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16016
f57f8055
RM
160172012-10-03 Roland McGrath <roland@hack.frob.com>
16018
16019 * sysdeps/mach/hurd/dl-cache.c: File removed.
16020 * config.h.in (USE_LDCONFIG): New #undef.
16021 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16022 * configure: Regenerated.
16023 * elf/Makefile (dl-routines): Add dl-cache only under
16024 [$(use-ldconfig) = yes].
16025 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16026 cache on [USE_LDCONFIG].
16027 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16028 [USE_LDCONFIG].
16029 * elf/rtld.c (dl_main): Likewise.
16030
5bb0c10a
PT
160312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16032
16033 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16034 _SC_LEVEL4_CACHE_LINESIZE.
16035
010188c6
RM
160362012-10-03 Roland McGrath <roland@hack.frob.com>
16037
16038 * sysdeps/unix/bsd/confstr.h: File removed.
16039
b6c5ec07
AO
160402012-10-02 Alexandre Oliva <aoliva@redhat.com>
16041
16042 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16043 sys/sdt-config.h.
16044
408223d4
RM
160452012-10-02 Roland McGrath <roland@hack.frob.com>
16046
16047 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16048 Make 'mapoff' field ElfW(Off) rather than off_t.
16049
bb9510dc
DL
160502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16051
fc997c6e
DL
16052 * nscd/Makefile: Remove nscd-cflags and all its users.
16053 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16054 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16055
bb9510dc
DL
16056 [BZ #10631]
16057 * malloc.c (malloc_printerr): Clarify error message.
16058
05699367
L
160592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16060
16061 [BZ #14648]
16062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16063 Set bit_FMA_Usable if FMA is supported.
16064 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16065 macro.
16066 (bit_FMA4_Usable): Updated.
16067 (index_FMA_Usable): New macro.
16068 (CPUID_FMA): Likewise
16069 (HAS_FMA): Defined with bit_FMA_Usable.
16070
51367701
RM
160712012-10-01 Roland McGrath <roland@hack.frob.com>
16072
16073 * bits/types.h (__swblk_t): Type removed.
16074 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16075 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16077 (__SWBLK_T_TYPE): Likewise.
16078 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16079 (__SWBLK_T_TYPE): Likewise.
16080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16081 (__SWBLK_T_TYPE): Likewise.
16082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16083 (__SWBLK_T_TYPE): Likewise.
16084
4d57bf63 160852012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16086 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16087
16088 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16089 (xdr_mapname): Use YPMAXMAP as maxsize.
16090 (xdr_peername): Use YPMAXPEER as maxsize.
16091 (xdr_keydat): Use YPAXRECORD as maxsize.
16092 (xdr_valdat): Use YPMAXRECORD as maxsize.
16093
93c65d43
RM
160942012-10-01 Roland McGrath <roland@hack.frob.com>
16095
497a03d6
RM
16096 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16097
93c65d43
RM
16098 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16099 * csu/init-first.c: ... here.
16100 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16101 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16102 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16103 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16104 * sysdeps/i386/init-first.c: File removed.
16105 * sysdeps/sh/init-first.c: File removed.
16106
bec749fd
JM
161072012-10-01 Joseph Myers <joseph@codesourcery.com>
16108
16109 [BZ #14645]
16110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16111 if x * y might underflow to zero and z is zero.
16112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16113 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16114 * math/libm-test.inc (min_subnorm_value): New variable.
16115 (fma_test): Add more tests.
16116 (fma_test_towardzero): Likewise.
16117 (fma_test_downward): Likewise
16118 (fma_test_upward): Likewise.
16119 (initialize): Set min_subnorm_value.
16120
8ec5b013
JM
161212012-09-29 Joseph Myers <joseph@codesourcery.com>
16122
16123 [BZ #14638]
16124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16125 0 + 0.
16126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16127 mode for addition resulting in exact zero.
16128 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16130 exact 0 + 0.
16131 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16133 * math/libm-test.inc (fma_test): Add more tests.
16134 (fma_test_towardzero): New function.
16135 (fma_test_downward): Likewise.
16136 (fma_test_upward): Likewise.
16137 (main): Call the new functions.
16138
b1fa802e
DM
161392012-09-28 David S. Miller <davem@davemloft.net>
16140
16141 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16142
d3b9fd9e
RM
161432012-09-28 Roland McGrath <roland@hack.frob.com>
16144
ea4d37b3
RM
16145 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16146 instead of SIGALRM.
16147
ac51c949
RM
16148 * sysdeps/gnu/_G_config.h: Moved to ...
16149 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16150 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16151 * sysdeps/generic/_G_config.h: ... here.
16152
28c195f7
RM
16153 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16154
848917f9
RM
16155 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16156
6bacf05b
RM
16157 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16158 Conditionalize target on [libnss_test1.so-version].
16159
91363dbb
RM
16160 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16161
cc87f7d8
RM
16162 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16163 (elfobjdir): Move out of conditionals.
16164
b1c608fe
RM
16165 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16166 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16167 (__nss_lookup_function): Conditionalize label remove_from_tree on
16168 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16169
1d9a6d96
DM
161702012-09-28 David S. Miller <davem@davemloft.net>
16171
16172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16173 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16174 file.
16175 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16176 sysdep_routines.
16177 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16179 when HWCAP_SPARC_CRYPTO is present.
16180
72581615
PT
161812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16182
16183 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16184
715a900c
JL
161852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16186
16187 [BZ #6530]
16188 * stdio-common/vfprintf.c (process_string_arg): Revert
16189 2000-07-22 change.
16190
161912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16192
16193 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16194 for testcase.
16195 * stdio-common/tst-sprintf.c: Include <locale.h>
16196 (main): Test sprintf's handling of incomplete multibyte
16197 characters.
16198
9bac1d86
L
161992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16200
16201 * elf/dl-runtime.c (VERSYMIDX): Removed.
16202 * elf/dl-version.c (VERSYMIDX): Likewise.
16203 * elf/do-rel.h (VERSYMIDX): Likewise.
16204 (VALIDX): Likewise.
16205 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16206 * elf/rtld.c (VALIDX): Likewise.
16207 (ADDRIDX): Likewise.
9bac1d86
L
16208 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16209 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16210 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16211 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16212 (VALIDX): Likewise.
16213 (ADDRIDX): Likewise.
9bac1d86 16214
b31606c0
PT
162152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16216
16217 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16218
11541177
JL
162192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16220
16221 [BZ #11438]
16222 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16223 to global scope.
16224 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16225 addresses are in the same scope as 192.0.2/24.
16226 * posix/gai.conf: Document new scope table defaults.
16227
adb26fae
SP
162282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16229
16230 [BZ #5298]
16231 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16232 for ftell. Compute offsets from write pointers instead.
16233 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16234
4573c6b0
SP
162352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16236
16237 [BZ #14543]
16238 * libio/Makefile (tests): New test case tst-fseek.
16239 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16240 combination works in wide mode.
16241 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16242 state when the external buffer state changes.
16243
aa9bbfe6
DM
162442012-09-27 David S. Miller <davem@davemloft.net>
16245
16246 [BZ #14376]
16247 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16248 pass reloc->r_addend in as the 'high' argument to
16249 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16250
784421e7
DM
16251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16252
c39bc8b8
PT
162532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16254
16255 * rt/tst-aio2.c: Include <pthread.h>.
16256 * rt/tst-aio3.c: Likewise.
16257
1ccc2399
SE
162582012-09-27 Steve Ellcey <sellcey@mips.com>
16259
16260 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16261
31ed4153
L
162622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16263
25f5f885
L
16264 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16265 contents on [SHARED].
31ed4153 16266
b7bfe116
MP
162672012-09-26 Marek Polacek <polacek@redhat.com>
16268
16269 [BZ #14530]
16270 [BZ #13741]
16271 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16272 for C++ and GCC <4.3 as well as for non GCC compilers.
16273
43c4edba
MT
162742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16275
16276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16277
6a1bf82f
RM
162782012-09-25 Roland McGrath <roland@hack.frob.com>
16279
16280 * Makefile.in (all, install): Declare with .PHONY.
16281 Reported by Michael Hope <michael.hope@linaro.org>.
16282
8ad11b9a
TMQMF
162832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16284
16285 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16286 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16287 system header.
16288 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16289 Likewise.
16290 (sydep_routines): Add the new and the internal functions.
16291 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16292 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16294 (GLIBC_2.17): Add the new function.
16295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16296 (GLIBC_2.17): Likewise.
16297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16298 (GLIBC_2.17): Likewise.
16299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16300 (GLIBC_2.17): Likewise.
16301 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16302
7e2fca8d
AM
163032012-09-25 Alan Modra <amodra@gmail.com>
16304
16305 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16306 Add release barrier before setting once_control to say
16307 initialisation is done. Add hints on lwarx. Use macro in
16308 place of isync.
16309 (clear_once_control): Add release barrier.
16310
b87c4b24
JM
163112012-09-25 Joseph Myers <joseph@codesourcery.com>
16312
d032e0d2
JM
16313 [BZ #13629]
16314 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16315 specially.
16316 * math/s_clog10.c (__clog10): Likewise.
16317 * math/s_clog10f.c (__clog10f): Likewise.
16318 * math/s_clog10l.c (__clog10l): Likewise.
16319 * math/s_clogf.c (__clogf): Likewise.
16320 * math/s_clogl.c (__clogl): Likewise.
16321 * math/Makefile (libm-calls): Add x2y2m1.
16322 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16323 (__x2y2m1): Likewise.
16324 (__x2y2m1l): Likewise.
16325 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16326 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16329 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16330 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16331 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16332 * sysdeps/i386/fpu/libm-test-ulps: Update.
16333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16334
b87c4b24
JM
16335 [BZ #14621]
16336 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16337 int as type of variable DEPTH.
16338 (glob): Use size_t instead of int as type of variables NEWCOUNT
16339 and OLD_PATHC.
16340
6d3bf199
LD
163412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16342
22bf5c17
LD
16343 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16344 Add s_sincosf-sse2.
16345 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16346 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16347 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16348 macros for using routine as __sincosf_ia32.
16349 Use macro for function declaration and weak_alias.
16350 * sysdeps/i386/fpu/libm-test-ulps: Update.
16351
16352 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16354
16355 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16356 subnormal argument.
16357 * math/s_cexpf.c (__cexpf): Likewise.
16358 * math/s_csinf.c (__csinf): Likewise.
16359 * math/s_csinhf.c (__csinhf): Likewise.
16360 * math/s_ctanf.c (__ctanf): Likewise.
16361 * math/s_ctanhf.c (__ctanhf): Likewise.
16362 * math/s_ccosh.c (__ccoshf): Likewise.
16363 * math/s_cexp.c (__cexpl): Likewise.
16364 * math/s_csin.c (__csin): Likewise.
16365 * math/s_csinh.c (__csinh): Likewise.
16366 * math/s_ctan.c (__ctan): Likewise.
16367 * math/s_ctanh.c (ctanh): Likewise.
16368 * math/s_ccoshl.c (__ccoshl): Likewise.
16369 * math/s_cexpl.c (__cexpl): Likewise.
16370 * math/s_csinl.c (__csinl): Likewise.
16371 * math/s_csinhl.c (__csinhl): Likewise.
16372 * math/s_ctanl.c (__ctanl): Likewise.
16373 * math/s_ctanhl.c (__ctanhl): Likewise.
16374
203e5603
JM
163752012-09-25 Joseph Myers <joseph@codesourcery.com>
16376
16377 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16378 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16379 (_IO_off_t): Define to __off_t, not _G_off_t.
16380 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16381 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16382 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16383 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16384 type of __dummy and __dummy2 fields.
16385 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16386 (_G_ssize_t): Likewise.
16387 (_G_off_t): Likewise.
16388 (_G_pid_t): Likewise.
16389 (_G_uid_t): Likewise.
16390 (_G_wchar_t): Likewise.
16391 (_G_wint_t): Likewise.
16392 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16393 (_G_ssize_t): Likewise.
16394 (_G_off_t): Likewise.
16395 (_G_pid_t): Likewise.
16396 (_G_uid_t): Likewise.
16397 (_G_wchar_t): Likewise.
16398 (_G_wint_t): Likewise.
16399 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16400 (_G_ssize_t): Likewise.
16401 (_G_off_t): Likewise.
16402 (_G_pid_t): Likewise.
16403 (_G_uid_t): Likewise.
16404 (_G_wchar_t): Likewise.
16405 (_G_wint_t): Likewise.
16406
9fab36eb
SP
164072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16408
16409 * malloc/arena.c: Include malloc-sysdep.h.
16410 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16411 is sufficient to shrink the heap or an unmap is needed.
16412 * sysdeps/generic/malloc-sysdep.h: New file. Define
16413 new function check_may_shrink_heap.
16414 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16415 new function check_may_shrink_heap.
16416
2b4f00d1
SP
164172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16418
16419 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16420 comments.
16421
9a9028b1
DL
164222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16423
57c69bef
DL
16424 * catgets/test-gencat.sh: Add "set -e".
16425 * elf/tst-pathopt.sh: Likewise.
16426 * grp/tst_fgetgrent.sh: Likewise.
16427 * iconvdata/run-iconv-test.sh: Likewise.
16428 * intl/tst-gettext.sh: Likewise.
16429 * intl/tst-gettext2.sh: Likewise.
16430 * intl/tst-gettext4.sh: Likewise.
16431 * intl/tst-gettext6.sh: Likewise.
16432 * intl/tst-translit.sh: Likewise.
16433 * io/ftwtest-sh: Likewise.
16434 * libio/test-freopen.sh: Likewise.
16435 * malloc/tst-mtrace.sh: Likewise.
16436 * posix/globtest.sh: Likewise.
16437 * posix/tst-getconf.sh: Likewise.
16438 * posix/wordexp-tst.sh: Likewise.
16439 * stdio-common/tst-printf.sh: Likewise.
16440 * stdio-common/tst-unbputc.sh: Likewise.
16441 * stdlib/tst-fmtmsg.sh: Likewise.
16442 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16443 * catgets/Makefile: Do not specify -e option when running
16444 testsuite shell scripts.
16445 * elf/Makefile: Likewise.
16446 * grp/Makefile: Likewise.
16447 * iconvdata/Makefile: Likewise.
16448 * intl/Makefile: Likewise.
16449 * io/Makefile: Likewise.
16450 * libio/Makefile: Likewise.
16451 * malloc/Makefile: Likewise.
16452 * posix/Makefile: Likewise.
16453 * stdio-common/Makefile: Likewise.
16454 * stdlib/Makefile: Likewise.
16455 * sysdeps/x86_64/Makefile: Likewise.
16456
9a9028b1
DL
16457 * io/ftwtest-sh: Add copyright header.
16458 * posix/globtest.sh: Likewise.
16459 * posix/tst-getconf.sh: Likewise.
16460 * posix/wordexp-tst.sh: Likewise.
16461 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16462
ced6f16e
L
164632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16464
94b32c39
L
16465 [BZ #13679]
16466 * Makeconfig (+link): Defined as $(+link-static) if
16467 $(build-shared) isn't yes.
16468 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16469 isn't yes.
16470 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16471
189e935b
L
16472 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16473
ced6f16e
L
16474 [BZ #14562]
16475 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16476 new chunk size with MALLOC_ALIGN_MASK.
16477
a9f8e53a
JM
164782012-09-24 Joseph Myers <joseph@codesourcery.com>
16479
16480 [BZ #5044]
16481 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16482 <rounding-mode.h>.
16483 (__printf_fphex): Determine rounding using get_rounding_mode and
16484 round_away.
16485 * stdio-common/tst-printf-round.c (struct hex_test): New
16486 structure.
16487 (hex_tests): New variable.
16488 (test_hex_in_one_mode): New function.
16489 (do_test): Also run tests for hex float output.
16490
43153109
JM
164912012-09-21 Joseph Myers <joseph@codesourcery.com>
16492
16493 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16494 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16495 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16496 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16497 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16498 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16499 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16500 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16501
8a26625d
JM
165022012-09-20 Joseph Myers <joseph@codesourcery.com>
16503
16504 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16505 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16506 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16507 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16508
f3fd569c
DL
165092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16510
16511 [BZ #14579]
16512 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16513 mode only.
16514 * elf/tst-rtld-load-self.sh: New test.
16515 * elf/Makefile: Run it.
16516
63bbedd4
JM
165172012-09-18 Joseph Myers <joseph@codesourcery.com>
16518
16519 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16520 (tst-writev-ENV): Remove.
16521 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16522
626f8b6a
CM
165232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16524
16525 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16526
b7aaa4d6
JM
165272012-09-17 Joseph Myers <joseph@codesourcery.com>
16528
16529 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16530 unconditional.
16531 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16532 Likewise.
16533 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16534 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16535 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16536 Likewise.
16537
65513990
L
165382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16539
16540 [BZ #14587]
16541 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16542 * config.make.in (have-cpp-asm-debuginfo): Removed.
16543 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16544 * configure: Regenerated.
16545
784761be
JM
165462012-09-14 Joseph Myers <joseph@codesourcery.com>
16547
16548 [BZ #5044]
16549 * stdio-common/printf_fp.c: Include <stdbool.h> and
16550 <rounding-mode.h>.
16551 (___printf_fp): Determine rounding using get_rounding_mode and
16552 round_away.
16553 * stdio-common/tst-printf-round.c: New file.
16554 * stdio-common/Makefile (tests): Add tst-printf-round.
16555 (link-libm): New variable.
16556 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16557
9503345f
L
165582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16559
16560 [BZ #14576]
16561 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16562 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16563 Likewise.
16564 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16565 Likewise.
16566
ad35fc00
JM
165672012-09-13 Joseph Myers <joseph@codesourcery.com>
16568
16569 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16570 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16571 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16572 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16573
6c9b0f68
JM
165742012-09-12 Joseph Myers <joseph@codesourcery.com>
16575
16576 [BZ #14518]
16577 * include/rounding-mode.h: New file.
16578 * sysdeps/generic/get-rounding-mode.h: Likewise.
16579 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16580 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16581 (MAX_VALUE): New macro.
16582 (MIN_VALUE): Likewise.
16583 (overflow_value): New function.
16584 (underflow_value): Likewise.
16585 (round_and_return): Use overflow_value and underflow_value to
16586 determine return values in overflow and underflow cases. Use
16587 round_away to determine rounding depending on rounding mode.
16588 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16589 determine return values in overflow and underflow cases.
16590 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16591 (struct test_results): New structure.
16592 (struct test): Use struct test_results to store expected results
16593 for all rounding modes.
16594 (TEST): Include expected results for all rounding modes.
16595 (test_in_one_mode): New function.
16596 (do_test): Use test_in_one_mode to compute and check results.
16597 Check results for all rounding modes.
16598 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16599 $(link-libm).
16600
19fcedd5
AM
166012012-12-09 Allan McRae <allan@archlinux.org>
16602
1e9d84cd 16603 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16604
8bbfd2f1
JM
166052012-09-11 Joseph Myers <joseph@codesourcery.com>
16606
16607 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16608 (_G_int32_t): Likewise.
16609 (_G_uint16_t): Likewise.
16610 (_G_uint32_t): Likewise.
16611 (_G_HAVE_BOOL): Likewise.
16612 (_G_HAVE_ATEXIT): Likewise.
16613 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16614 (_G_HAVE_IO_FILE_OPEN): Likewise.
16615 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16616 (_G_int32_t): Likewise.
16617 (_G_uint16_t): Likewise.
16618 (_G_uint32_t): Likewise.
16619 (_G_HAVE_BOOL): Likewise.
16620 (_G_HAVE_ATEXIT): Likewise.
16621 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16622 (_G_HAVE_IO_FILE_OPEN): Likewise.
16623 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16624 (_G_int32_t): Likewise.
16625 (_G_uint16_t): Likewise.
16626 (_G_uint32_t): Likewise.
16627 (_G_HAVE_BOOL): Likewise.
16628 (_G_HAVE_ATEXIT): Likewise.
16629 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16630 (_G_HAVE_IO_FILE_OPEN): Likewise.
16631
b1dc5912
L
166322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16633
16634 * csu/libc-tls.c: Update copyright years.
16635
0e886ef9
JM
166362012-09-10 Joseph Myers <joseph@codesourcery.com>
16637
28361c5e
JM
16638 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16639 [!_G_USING_THUNKS]: Remove conditional code.
16640 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16641 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16642
0e886ef9
JM
16643 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16644 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16645 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16646 (_G_VTABLE_LABEL_PREFIX): Likewise.
16647 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16648 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16649 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16650 (_G_VTABLE_LABEL_PREFIX): Likewise.
16651 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16652 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16653 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16654 (_G_VTABLE_LABEL_PREFIX): Likewise.
16655 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16656
bcba7aa2
L
166572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16658
16659 * libio/Makefile: Include ../Makeconfig before tests.
16660 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16661 only if $(build-shared) is yes.
16662
06585ee8
L
16663 * iconv/gconv_db.c: Update copyright years.
16664
80ccd52c
LD
166652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16666
16667 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16668 unwind info if defined PIC. Fix special cases description.
16669 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16670
16671 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16672 DP_HI_MASK entry.
16673 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16674
691bc9c1
L
166752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16676
3d9b46b3
L
16677 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16678
de2139a9
L
16679 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16680 is NULL.
16681
5ca78dd0
L
16682 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16683 (LDLIBS-tst-chk4): This.
16684 (LDFLAGS-tst-chk5): Renamed to ...
16685 (LDLIBS-tst-chk5): This.
16686 (LDFLAGS-tst-chk6): Renamed to ...
16687 (LDLIBS-tst-chk6): This.
16688 (LDFLAGS-tst-lfschk4): Renamed to ...
16689 (LDLIBS-tst-lfschk4): This.
16690 (LDFLAGS-tst-lfschk5): Renamed to ...
16691 (LDLIBS-tst-lfschk5): This.
16692 (LDFLAGS-tst-lfschk6): Renamed to ...
16693 (LDLIBS-tst-lfschk6): This.
16694
691bc9c1
L
16695 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16696 on $(common-objpfx)soversions.mk.
16697
65cafb1c
JM
166982012-09-07 Joseph Myers <joseph@codesourcery.com>
16699
16700 [BZ #10014]
16701 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16702 example host name.
16703
c78ab094
SP
167042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16705
16706 * malloc/arena.c (arena_get_retry): New function that gets
16707 another arena for the caller to try its request on.
16708 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16709 current arena cannot fulfill the request.
16710 (__libc_memalign): Likewise.
16711 (__libc_memalign): Likewise.
16712 (__libc_pvalloc): Likewise.
16713 (__libc_calloc): Likewise.
16714
01f49f59
JT
167152012-09-05 John Tobey <john.tobey@gmail.com>
16716
16717 [BZ #13542]
16718 * manual/arith.texi (Operations on Complex): Fix description
16719 of carg branch cut.
16720
4c23fed5
JM
167212012-09-06 Joseph Myers <joseph@codesourcery.com>
16722
1d3c8572
JM
16723 [BZ #10014]
16724 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16725 host name.
16726
4c23fed5
JM
16727 [BZ #10038]
16728 * manual/memory.texi (Memory): Make order of menu items match
16729 order of sections.
16730
04570aaa
L
167312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16732
16733 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16734 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16735 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16736
b80af2f4
L
167372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 * csu/libc-tls.c (static_dtv): Renamed to ...
16740 (_dl_static_dtv): This. Make it global.
16741 (_dl_initial_dtv): Removed.
16742 (__libc_setup_tls): Updated.
16743 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16744 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16745 DL_INITIAL_DTV.
16746
2abe9f15
PM
167472012-09-06 Petr Machata <pmachata@redhat.com>
16748
16749 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16750 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16751 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16752 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16753
0948c3af
L
167542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16755
16756 [BZ #14545]
16757 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16758 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16759 freeing dtv[-1].
16760
a5055ad1
L
167612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16762
16763 [BZ #14544]
16764 * Makeconfig (link-static-before-libc): Replace $(+prector)
16765 with $(+prectorT).
16766 (link-static-after-libc): Replace $(+postctor) with
16767 $(+postctorT).
16768 (link-bounded): Replace $(+prector)/$(+postctor) with
16769 $(+prectorT)/$(+postctorT).
16770 (+prectorT): New macro.
16771 (+postctorT): Likewise.
16772
ed8c2ecd
JM
167732012-09-06 Joseph Myers <joseph@codesourcery.com>
16774
16775 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16776 (round_str): Handle values above the maximum for IBM long double
16777 as inexact.
16778 * stdlib/tst-strtod-round.c (tests): Regenerated.
16779
14c996c8
AK
167802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16781
16782 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16783 assembler flag.
16784 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16785 zarch_nohighgprs around the zarch optimized routines.
16786 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16787 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16788 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16789 for zarch.
16790
430d6ce6
DM
167912012-09-05 David S. Miller <davem@davemloft.net>
16792
16793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16794
ff04dda4
DM
16795 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16796 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16797 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16798 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16799 entries.
16800
24d4e01b
AO
168012012-09-05 Alexandre Oliva <aoliva@redhat.com>
16802
16803 * malloc/arena.c: Fold copyright years.
16804 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16805
61d58174
AO
168062012-09-05 Alexandre Oliva <aoliva@redhat.com>
16807
16808 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16809
20196a5e
AO
168102012-09-05 Alexandre Oliva <aoliva@redhat.com>
16811
16812 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16813
5c447383
AO
168142012-09-05 Alexandre Oliva <aoliva@redhat.com>
16815
16816 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16817 change internal state upon failure.
16818
fad64255
AO
168192012-09-05 Alexandre Oliva <aoliva@redhat.com>
16820
16821 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16822 * malloc/memusage.c (mmap): Likewise.
16823 (mmap64, mremap): Likewise. Adjust name in comment.
16824
1ffb8c90
SP
168252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
16827 * libio/fileops.c: Fix typos in comments.
16828 * libio/oldfileops.c: Likewise.
16829 * libio/wfileops.c: Likewise.
16830
6ef9cc37
SP
168312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16832
16833 [BZ #1349]
16834 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16835 (tst-malloc-usable-ENV): Set environment for test case.
16836 * malloc/hooks.c (malloc_check_get_size): New function to get
16837 requested size.
16838 * malloc/malloc.c (musable): Use malloc_check_get_size.
16839 * malloc/tst-malloc-usable.c: New test case.
16840
4d038ae3
AS
168412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16842
16843 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16844
c4e85184
AM
168452012-09-05 Allan McRae <allan@archlinux.org>
16846
b9dafc56 16847 [BZ #13966]
c4e85184
AM
16848 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16849 determine header location.
16850 * configure: Regenerated.
16851
e1343020
AS
168522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16853
16854 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16855 float format.
16856 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16857 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16858 format.
e1343020
AS
16859 (test): Regenerate.
16860
0a9f1987
DM
168612012-09-04 David S. Miller <davem@davemloft.net>
16862
16863 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16864 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16865 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16866
29237804
FW
168672012-09-04 Florian Weimer <fweimer@redhat.com>
16868
16869 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16870 failures.
16871
edb3cb88
FW
16872 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16873
60160d83
JM
168742012-09-04 Joseph Myers <joseph@codesourcery.com>
16875
16876 [BZ #9914]
16877 * libio/iogetdelim.c: Include <limits.h>.
16878 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16879 + len + 1 would overflow.
16880
bcd6c8dc
AJ
168812012-09-03 Andreas Jaeger <aj@suse.de>
16882
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16884 * sysdeps/i386/fpu/libm-test-ulps: Update.
16885
4ffffbd2
LD
168862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16887
16888 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16889 Add s_sinf-sse2, s_conf-sse2.
16890
16891 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16892 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16893 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16894 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16895
16896 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16897 for using routine as __sinf_ia32.
16898 Use macro for function declaration and weak_alias.
16899 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16900 for using routine as __cosf_ia32.
16901 Use macro for function declaration and weak_alias.
16902
16903 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16904 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16905
16906 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16907 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16909
16910 * math/libm-test.inc (cos_test): Add more test cases.
16911 (sin_test): Likewise.
16912 (sincos_test): Likewise.
16913
511fa286
AK
169142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16915
16916 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16917 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16918 hidden.
16919 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16920
5f30cfec
L
169212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16922
16923 [BZ #14538]
16924 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16925 first element of the GOT.
16926 (elf_machine_load_address): Return the difference between
16927 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16928
0786794f
AM
169292012-09-01 Allan McRae <allan@archlinux.org>
16930
5f30cfec
L
16931 [BZ #13412]
16932 * configure.in (AWK): Require gawk version 3.0 or later.
16933 * configure: Regenerated.
0786794f 16934
26889eac
JM
169352012-09-01 Joseph Myers <joseph@codesourcery.com>
16936
16937 * sysdeps/unix/sysv/linux/kernel-features.h
16938 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16940 [__NR_clock_getres]: Make code unconditional.
16941 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16942 (clock_getcpuclockid): Remove code left unreachable by removal of
16943 conditionals.
16944 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16945 code unconditional.
16946 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16947 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16948 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16949 Make code unconditional.
16950 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16951 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16952 * sysdeps/unix/sysv/linux/clock_settime.c
16953 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16954 conditional code.
16955 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16956 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16957
d22e28b0
L
169582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16959
16960 [BZ #14476]
16961 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16962 scripts/test-installation.pl.
16963
16964 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16965 and $ld_so_version if it is set.
16966
050af9c4
SP
169672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16968
16969 [BZ #14516]
16970 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16971 failure if reading from procfs failed.
16972 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16973
ad845c0b
JM
169742012-08-27 Joseph Myers <joseph@codesourcery.com>
16975
16976 * sysdeps/unix/sysv/linux/kernel-features.h
16977 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16978 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16979 Remove conditional code.
16980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16981 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16982 Remove conditional code.
16983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16984 * sysdeps/unix/sysv/linux/i386/fxstat.c
16985 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16986 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16987 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16988 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16990 * sysdeps/unix/sysv/linux/i386/lxstat.c
16991 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16993 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16994 Remove conditional code.
16995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16996 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16997 Remove conditional code.
16998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16999 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17000 <kernel-features.h>.
17001 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17002 Remove.
17003 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17004 Remove conditional code.
17005 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17006 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17007 Remove conditional.
17008
5dbf56af
MF
170092012-08-27 Mike Frysinger <vapier@gentoo.org>
17010
17011 [BZ #5400]
17012 * NEWS: Add fixed bug number.
17013
d6e70f43
JM
170142012-08-27 Joseph Myers <joseph@codesourcery.com>
17015
7efb4737
JM
17016 [BZ #14519]
17017 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17018 underflowing exponent in case of negative sign.
17019 * stdlib/tst-strtod-round-data: Add more tests.
17020 * stdlib/tst-strtod-round.c (tests): Regenerated.
17021
af92131a
JM
17022 [BZ #3479]
17023 * stdlib/strtod_l.c (NDIG): Remove.
17024 (HEXNDIG): Likewise.
17025 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17026 smallest representable value.
17027 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17028 lie within an exact representation of 1/2 ulp of the result.
17029 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17030 unconditionally.
17031 (TENS_P9_IDX): Define unconditionally.
17032 (TENS_P9_SIZE): Likewise.
17033 (TENS_P10_IDX): Likewise.
17034 (TENS_P10_SIZE): Likewise.
17035 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17036 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17037 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17038 entries for 10^2^13 and 10^2^14.
17039 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17040 (TENS_P13_IDX): Define.
17041 (TENS_P13_SIZE): Likewise.
17042 (TENS_P14_IDX): Likewise.
17043 (TENS_P14_SIZE): Likewise.
17044 (_fpioconst_pow10): Change array size to
17045 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17046 unconditional.
17047 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17048 1024]: Add entries for 10^2^13 and 10^2^14.
17049 [LAST_POW10 > _LAST_POW10]: Remove #error.
17050 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17051 (_fpioconst_pow10): Change array size to
17052 FPIOCONST_POW10_ARRAY_SIZE.
17053 * stdlib/gen-fpioconst.c: New file.
17054 * stdlib/gen-tst-strtod-round.c: Likewise.
17055 * stdlib/tst-strtod-round-data: Likewise.
17056 * stdlib/tst-strtod-round.c: Likewise.
17057 * stdlib/Makefile (tests): Add tst-strtod-round.
17058
d6e70f43
JM
17059 [BZ #14459]
17060 * stdlib/strtod_l.c: Include <stdint.h>.
17061 (NDEBUG): Do not define.
17062 (round_and_return): Change EXPONENT parameter to type intmax_t.
17063 Rearrange calculations to avoid internal overflow possibilities.
17064 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17065 Rearrange calculations to avoid internal overflow possibilities.
17066 Assert that number fits inside MPNSIZE limbs.
17067 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17068 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17069 calculations and add assertions to avoid internal overflow
17070 possibilities. Add casts to avoid signed/unsigned operations.
17071 * stdlib/tst-strtod-overflow.c: New file.
17072 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17073
1f529f7d
MP
170742012-08-25 Marek Polacek <polacek@redhat.com>
17075
17076 * time/time.h: Fix some typos in comments.
17077
59a629f1
RM
170782012-08-23 Roland McGrath <roland@hack.frob.com>
17079
17080 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17081 * posix/tst-rfc3484-2.c: Likewise.
17082 * posix/tst-rfc3484-3.c: Likewise.
17083
d3bafbc9
SM
170842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17085
17086 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17087 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17088
4efcc022
JM
170892012-08-23 Joseph Myers <joseph@codesourcery.com>
17090
17091 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17092 #include of fxstatat64.c.
17093
3cc3ef96
RM
170942012-08-22 Roland McGrath <roland@hack.frob.com>
17095
f04e2132
RM
17096 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17097 * shadow/getspent_r.c: Likewise.
17098 * shadow/getspnam.c: Likewise.
17099 * shadow/getspnam_r.c: Likewise.
17100 * gshadow/getsgent.c: Likewise.
17101 * gshadow/getsgent_r.c: Likewise.
17102 * gshadow/getsgnam.c: Likewise.
17103 * gshadow/getsgnam_r.c: Likewise.
17104 * inet/getnetbyad.c: Likewise.
17105 * inet/getnetbyad_r.c: Likewise.
17106 * inet/getnetbynm.c: Likewise.
17107 * inet/getnetbynm_r.c: Likewise.
17108 * inet/getnetent.c: Likewise.
17109 * inet/getnetent_r.c: Likewise.
17110 * inet/getproto.c: Likewise.
17111 * inet/getproto_r.c: Likewise.
17112 * inet/getprtent.c: Likewise.
17113 * inet/getprtent_r.c: Likewise.
17114 * inet/getprtname.c: Likewise.
17115 * inet/getprtname_r.c: Likewise.
17116 * inet/getrpcbyname.c: Likewise.
17117 * inet/getrpcbyname_r.c: Likewise.
17118 * inet/getrpcbynumber.c: Likewise.
17119 * inet/getrpcbynumber_r.c: Likewise.
17120 * inet/getrpcent.c: Likewise.
17121 * inet/getrpcent_r.c: Likewise.
17122 * inet/getaliasent.c: Likewise.
17123 * inet/getaliasent_r.c: Likewise.
17124 * inet/getaliasname.c: Likewise.
17125 * inet/getaliasname_r.c: Likewise.
17126 * nscd/getgrgid_r.c: Likewise.
17127 * nscd/getgrnam_r.c: Likewise.
17128 * nscd/gethstbyad_r.c: Likewise.
17129 * nscd/gethstbynm3_r.c: Likewise.
17130 * nscd/getpwnam_r.c: Likewise.
17131 * nscd/getpwuid_r.c: Likewise.
17132 * nscd/getsrvbynm_r.c: Likewise.
17133 * nscd/getsrvbypt_r.c: Likewise.
17134 * nscd/gai.c: Likewise.
17135
c53d909c
RM
17136 * configure.in (build_nscd): New substituted variable, set
17137 by --disable-build-nscd and defaults to $use_nscd.
17138 * configure: Regenerated.
17139 * config.make.in (build-nscd): New substituted variable.
17140 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17141 Change conditional to require [$(build-nscd) = yes] as well.
17142 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17143
3cc3ef96
RM
17144 [BZ# 13696]
17145 * configure.in (use_nscd): New substituted variable, set by
17146 --disable-nscd. If enabled, define USE_NSCD.
17147 * configure: Regenerated.
17148 * config.h.in: Add USE_NSCD.
17149 * config.make.in (use-nscd): New substituted variable.
17150 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17151 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17152 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17153 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17154 (CFLAGS-getgrnam_r.c): Likewise.
17155 (CFLAGS-initgroups.c): Likewise.
17156 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17157 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17158 Variables removed.
17159 * inet/getnetgrent_r.c
17160 (nscd_setnetgrent): New function, broken out of ...
17161 (setnetgrent): ... here. Call it.
17162 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17163 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17164 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17165 * nscd/Makefile (routines, aux): Move definitions after include of
17166 Makeconfig. Conditionalize on [$(use-nscd) != no].
17167 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17168 Conditionalize on [USE_NSCD].
17169 (is_nscd, nscd_init_cb): Likewise.
17170 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17171 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17172 * nss/nss_db/db-init.c: Likewise.
17173 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17174 [USE_NSCD].
17175 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17176 (make_request): Use it.
17177 (cache_valid_p): New function.
17178 (__check_pf): Use it.
17179 * NEWS: Add item for --disable-nscd.
17180
07e51550
DL
171812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17182
17183 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17184 to support sed >= 4.2.1-20-ga9bf076.
17185 * configure: Regenerated.
17186
35a5b08b
RM
171872012-08-22 Roland McGrath <roland@hack.frob.com>
17188
17189 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17190 Conditionalize whole body on [IREL].
17191
8479f23a
JL
171922012-08-22 Jeff Law <law@redhat.com>
17193
17194 [BZ #14505]
17195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17196 if the family is PF_UNSPEC.
17197
48da0b21
MF
171982012-08-22 Mike Frysinger <vapier@gentoo.org>
17199
17200 * Makerules (lib-version): Rename from V.
17201 (install-lib-nosubdir): Change V to lib-version.
17202
15d0da8c
WS
172032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17204
17205 [BZ #14252]
17206 * powerpc32/power6/wcschr.c: New file.
17207 * powerpc32/power6/wcscpy.c: New file.
17208 * powerpc32/power6/wcsrchr.c: New file.
17209 * powerpc64/power6/wcschr.c: New file.
17210 * powerpc64/power6/wcscpy.c: New file.
17211 * powerpc64/power6/wcsrchr.c: New file.
17212
bcca0895
MK
172132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17214
17215 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17216 (two_way_short_needle): Use it.
5a4aaa33
RM
17217 * string/strstr.c (AVAILABLE1_USES_J): Define.
17218 * string/strcasestr.c: Likewise.
99677e57
MK
17219
17220 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17221 array references.
17222 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17223
400726de
MK
17224 [BZ #11607]
17225 * NEWS: Add an entry.
17226 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17227 define their defaults.
17228 (two_way_short_needle): Detect end-of-string on-the-fly.
17229 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17230 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17231 * string/bug-strcasestr1.c: New test.
17232 * string/Makefile: Run it.
17233
20a71f2c
MK
172342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17235
17236 [BZ #11607]
17237 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17238 the first character.
17239
21ad0558
RM
172402012-08-21 Roland McGrath <roland@hack.frob.com>
17241
17242 * csu/elf-init.c (__libc_csu_irel): Function removed.
17243 * csu/libc-start.c (apply_irel): New function.
17244 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17245
0e1d9911
JM
172462012-08-21 Joseph Myers <joseph@codesourcery.com>
17247
17248 * sysdeps/unix/sysv/linux/kernel-features.h
17249 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17250 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17251 <kernel-features.h>.
17252 [__NR_fadvise64_64]: Make code unconditional.
17253 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17254 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17255 !__NR_fadvise64_64)]: Likewise.
17256 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17257 !__NR_fadvise64_64))]: Likewise.
17258 [__NR_fadvise64]: Make code unconditional.
17259 [!__NR_fadvise64]: Remove conditional code.
17260 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17261 <kernel-features.h>.
17262 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17263 unconditional.
17264 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17265 conditional code.
17266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17267 not include <kernel-features.h>.
17268 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17269 unconditional.
17270 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17271 conditional code.
17272 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17273 include <kernel-features.h>.
17274 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17275 unconditional.
17276 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17277 conditional code.
17278
14a50c9d
WS
172792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17280
17281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17282 slight instruction rearrangements per scrollpipe analysis.
17283 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17284
c0f4faf0
RM
172852012-08-20 Roland McGrath <roland@hack.frob.com>
17286
696da859
RM
17287 * manual/syslog.texi (syslog; vsyslog, closelog):
17288 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17289 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17290
c0f4faf0
RM
17291 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17292 DSOCAPS to match condition on defining it.
17293
348363b2
JM
172942012-08-20 Joseph Myers <joseph@codesourcery.com>
17295
a35cbf28
JM
17296 * sysdeps/unix/sysv/linux/kernel-features.h
17297 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17299 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17300 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17302 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17303 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17305 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17306 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17307
445f7ecd
JM
17308 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17309 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17310
348363b2
JM
17311 * sysdeps/unix/sysv/linux/kernel-features.h
17312 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17313 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17314 unconditional.
17315 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17316 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17317 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17318 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17319 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17320 Make code unconditional.
17321 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17322 (__mmap64) [!__NR_mmap2]: Likewise.
17323 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17324 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17325 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17326 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17327 [__NR_mmap2]: Make code unconditional.
17328 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17329 (__mmap64) [!__NR_mmap2]: Likewise.
17330
bc5bc0e5
AK
173312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17332
17333 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17334
88d506de
AJ
173352012-08-18 Andreas Jaeger <aj@suse.de>
17336
17337 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17338
493387d2
MF
173392012-08-18 Mike Frysinger <vapier@gentoo.org>
17340
17341 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17342 * include/unistd.h (__have_sock_cloexec): Likewise.
17343 (__have_pipe2): Likewise.
17344 (__have_dup3): Likewise.
17345
a277af22
MF
173462012-08-18 Mike Frysinger <vapier@gentoo.org>
17347
17348 [BZ #9685]
17349 * include/unistd.h (__have_pipe2): Change define into an extern int.
17350 (__have_dup3): Likewise.
17351 * socket/have_sock_cloexec.c: Include fcntl.h.
17352 (__have_pipe2): New variable.
17353 (__have_dup3): Likewise.
17354
fdab8fd3
MF
173552012-08-17 Mike Frysinger <vapier@gentoo.org>
17356
17357 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17358
31035e80
MP
173592012-08-17 Marek Polacek <polacek@redhat.com>
17360
17361 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17362 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17363
3bd9e993
RM
173642012-08-17 Roland McGrath <roland@hack.frob.com>
17365
c91c505f
RM
17366 * configure.in: Add AC_SUBST for sysheaders.
17367 * configure: Regenerated.
17368 * config.make.in (sysheaders): New substituted variable.
17369
7c6f9d53
RM
17370 * sysdeps/unix/mkfifo.c: Moved ...
17371 * sysdeps/posix/mkfifo.c: ... here.
17372 * sysdeps/unix/mkfifoat.c: Moved ...
17373 * sysdeps/posix/mkfifoat.c: ... here.
17374
17375 * sysdeps/unix/utime.c: Moved ...
17376 * sysdeps/posix/utime.c: ... here.
17377
17378 * sysdeps/unix/time.c: Moved ...
17379 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17380 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17381 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17382
17383 * sysdeps/unix/nice.c: Moved ...
17384 * sysdeps/posix/nice.c: ... here.
17385
17386 * sysdeps/unix/alarm.c: Moved ...
17387 * sysdeps/posix/alarm.c: ... here.
17388
3bd9e993
RM
17389 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17390
d1f09384
JL
173912012-08-17 Jeff Law <law@redhat.com>
17392
17393 * intl/Makefile (codeset_mo): New variable.
17394 ($(codeset_mo)): New target.
17395 (tst-codeset.out): Depend on that. Remove explicit rule.
17396 (tst-gettext3.out, tst-gettext5.out): Likewise.
17397 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17398 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17399 * intl/tst-codeset.sh: Remove.
17400 * intl/tst-gettext3.sh: Likewise.
17401 * intl/tst-gettext5.sh: Likewise.
17402
2ae1ae5c
RM
174032012-08-17 Roland McGrath <roland@hack.frob.com>
17404
c31fdb83
RM
17405 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17406 * sysdeps/unix/syscalls.list: ... here.
17407
a0844057
RM
17408 * sysdeps/posix/getaddrinfo.c
17409 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17410 (gaiconf_init, gaiconf_reload): Use them.
17411 [!_STATBUF_ST_NSEC]
17412 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17413 Define using time_t rather than struct timespec.
17414
750c1f2a
RM
17415 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17416 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17417 Macros removed.
17418 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17419 [!NO_THREADS].
17420 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17421 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17422 Likewise.
17423
2ae1ae5c
RM
17424 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17425 __libc_cleanup_push argument.
17426
e66a42f5
RM
17427 * bits/param.h: New file.
17428 * misc/sys/param.h: New file.
17429 * include/sys/param.h: New file.
17430 * misc/Makefile (headers): Add bits/param.h.
17431 * sysdeps/generic/sys/param.h: File removed.
17432 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17433 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17434 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17435 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17436
b7c08a66
RM
17437 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17438 last change.
17439
b2e1c562
RM
17440 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17441 [_IO_MTSAFE_IO].
17442 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17443 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17444 New macros.
17445
c75ccd4c
RM
17446 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17447 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17448 rather than -D_IO_MTSAFE_IO conditionally.
17449 * stdio-common/Makefile (CPPFLAGS): Likewise.
17450 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17451 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17452 Use $(libio-mtsafe).
17453 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17454 of -D_IO_MTSAFE_IO.
17455 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17456 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17457 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17458 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17459 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17460 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17461 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17462 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17463 (CFLAGS-fread_u_chk.c): Likewise.
17464 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17465 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17466 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17467 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17468 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17469 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17470 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17471 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17472 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17473
17474 * libio/Makefile: Test [$(libc-reentrant) = yes]
17475 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17476
17477 * Makeconfig
17478 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17479 * sysdeps/pthread/configure: File removed.
17480 * sysdeps/pthread/Makeconfig: New file.
17481 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17482 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17483
d9195db8
GB
174842012-08-16 Gary Benson <gbenson@redhat.com>
17485
17486 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17487 unmapping the first object in a namespace.
17488
86466cd9
RM
174892012-08-16 Roland McGrath <roland@hack.frob.com>
17490
17491 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17492 (__internal_setnetgrent): ... this. Add internal_function to
17493 definition. Add libc_hidden_def.
17494 (setnetgrent): Update caller.
17495 (internal_endnetgrent): Renamed to ...
17496 (__internal_endnetgrent): ... this. Add internal_function to
17497 definition. Add libc_hidden_def.
17498 (endnetgrent): Update caller.
17499 (internal_getnetgrent_r): Renamed to ...
17500 (__internal_getnetgrent_r): ... this. Add internal_function to
17501 definition. Add libc_hidden_def.
17502 (__getnetgrent_r): Update caller.
17503 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17504
c3c8283c
JM
175052012-08-16 Joseph Myers <joseph@codesourcery.com>
17506
17507 * stdlib/longlong.h: Update from GCC.
17508
db1ee0a8
RM
175092012-08-16 Roland McGrath <roland@hack.frob.com>
17510
17511 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17512 on _QL, which is set by umul_ppmm but never used.
17513 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17514 variables, which are set by GMP macros but never used.
17515 * stdio-common/_itowa.c (_itowa): Likewise.
17516 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17517 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17518
30f69637
CD
175192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17520
17521 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17522 struct La_sh_regs is not constant.
17523 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17524 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17525 and struct La_sparc64_regs are not constant.
17526
93a78ac4
JM
175272012-08-16 Joseph Myers <joseph@codesourcery.com>
17528
17529 * sysdeps/unix/sysv/linux/kernel-features.h
17530 (__ASSUME_POSIX_TIMERS): Remove.
17531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17532 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17533 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17534 Make code unconditional.
17535 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17536 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17537 Make code unconditional.
17538 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17539 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17540 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17541 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17542 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17543 Make code unconditional.
17544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17545 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17546 (__libc_missing_posix_timers): Remove.
17547
dd924cd7
RM
175482012-08-15 Roland McGrath <roland@hack.frob.com>
17549
4b4f2771
RM
17550 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17551 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17552
601c888b
RM
17553 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17554
176790a7
RM
17555 * elf/dl-sym.c: Include <stdlib.h>.
17556
329bc018
RM
17557 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17558 constants, which avoids warnings in 32-bit builds.
17559
e04e272d
RM
17560 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17561 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17562
952bf94a
RM
17563 * misc/lseek.c: File moved to ...
17564 * io/lseek.c: ... here.
17565
7c99b50a
RM
17566 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17567
dd924cd7
RM
17568 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17569 shifting LEN more than 31 bits at once.
17570
b3f479a8
LD
175712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17572
17573 [BZ #14195]
8c4ae0d4
RM
17574 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17575 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17576 * string/test-strncasecmp.c (check1): Renamed to...
17577 (bz12205): ...this.
17578 (bz14195): Add new testcase for two empty input strings and N > 0.
17579 (test_main): Call new testcase, adapt for renamed function.
17580
9c55864e
AJ
175812012-08-15 Andreas Jaeger <aj@suse.de>
17582
17583 [BZ #14090]
17584 * crypt/md5test2.c: New test, based on test supplied by Serge
17585 Belyshev <belyshev@depni.sinp.msu.ru>.
17586 * crypt/Makefile (xtests): Add md5test-giant..
17587 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17588
02dcb6c5
PE
175892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17590
17591 [BZ #14090]
17592 * crypt/md5.c (md5_process_block): Don't assume the buffer
17593 length is less than 2**32.
17594 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17595 length is less than 2**64.
17596
a3f95dcc
RM
175972012-08-15 Roland McGrath <roland@hack.frob.com>
17598
be75d758
RM
17599 * string/str-two-way.h: Include <sys/param.h>.
17600 (MAX): Macro removed.
17601
7312ca90
RM
17602 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17603 Move #define and #undef of memmove to just before and after
17604 including <string.h>.
17605
9a0a5486
RM
17606 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17607 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17608 and after including <string.h>. Move declarations of
17609 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17610 to before #include "string/memmove.c".
17611
67cc348d
RM
17612 * include/dirent.h: Declare __getdirentries.
17613
a3f95dcc
RM
17614 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17615 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17616
ca98e171
MF
176172012-08-14 Mike Frysinger <vapier@gentoo.org>
17618
17619 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17620 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17621 * sysdeps/i386/configure: Regenerated.
17622 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17623 STABS_CURRENT_FILE, and STABS_FUN.
17624 (END): Remove call to STABS_FUN_END.
17625 (STABS_CURRENT_FILE1): Delete.
17626 (STABS_CURRENT_FILE): Likewise.
17627 (STABS_FUN): Likewise.
17628 (STABS_FUN_END): Likewise.
17629 (STABS_FUN2): Likewise.
17630 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17631 * sysdeps/x86_64/configure: Regenerated.
17632
5908bf46
RM
176332012-08-14 Roland McGrath <roland@hack.frob.com>
17634
17635 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17636 * elf/dl-lookup.c: Likewise.
5908bf46 17637
f2c05b9e
JM
176382012-08-14 Joseph Myers <joseph@codesourcery.com>
17639
17640 * sysdeps/unix/sysv/linux/kernel-features.h
17641 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17642 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17643 unconditionally.
17644 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17645 unconditionally.
17646 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17647 condition on __ASSUME_CLONE_THREAD_FLAGS.
17648
e11f5155
AJ
176492012-08-14 Andreas Jaeger <aj@suse.de>
17650
17651 * sysdeps/i386/fpu/libm-test-ulps: Update.
17652
51a9ba86
MK
176532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17654
2fdd4f78
AJ
17655 * include/atomic.h (atomic_exchange_and_add): Split into ...
17656 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17657 New atomic macros.
51a9ba86 17658
ba6cba9e
MT
176592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17660
17661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17662
42443a47
JL
176632012-08-13 Jeff Law <law@redhat.com>
17664
17665 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17666 null byte in the output string.
17667
121dce05
JM
176682012-08-10 Joseph Myers <joseph@codesourcery.com>
17669
17670 * sysdeps/unix/sysv/linux/kernel-features.h
17671 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17672 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17673 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17674 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17675 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17676 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17677 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17678
bf51f568
JL
176792012-08-09 Jeff Law <law@redhat.com>
17680
17681 [BZ #13939]
17682 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17683 When avoid_arena is set, don't retry in the that arena. Pick the
17684 next one, whatever it might be.
17685 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17686 (arena_lock): Pass in new parameter to arena_get2.
17687 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17688 arena_get2.
17689 (__libc_malloc): Unify retrying after main arena failure with
17690 __libc_memalign version.
17691 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17692
f85fa270
L
176932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17694
17695 [BZ #14166]
17696 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17697 to __redirect_strstr.
17698 (__strstr_sse42): Use typeof __redirect_strstr.
17699 (__strstr_ia32): Likewise.
17700 (__libc_strstr): New prototype.
17701 (strstr): Renamed to ...
17702 (__libc_strstr): This.
17703 (strstr): New strong alias of __libc_strstr.
17704 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17705 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17706 __redirect_time.
17707 Include <time.h>.
17708 (__libc_time): New prototype.
17709 (time_ifunc): Replace time with __libc_time.
17710 (time): New strong alias and hidden definition of __libc_time.
17711 (__GI_time): Remove strong alias.
17712 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17713 Include <stddef.h>.
17714 (memmove): Redefined to __redirect_memmove.
17715 (__memmove_sse2): Use typeof __redirect_memmove.
17716 (__memmove_ssse3): Likewise.
17717 (__memmove_ssse3_back): Likewise.
17718 (__libc_memmove): New prototype.
17719 (memmove): Renamed to ...
17720 (__libc_memmove): This.
17721 (memmove): New strong alias of __libc_memmove.
17722
33b4a91e
MS
177232012-08-08 Mark Salter <msalter@redhat.com>
17724
17725 * elf/elf.h
17726 (R_MN10300_TLS_GD): Define.
17727 (R_MN10300_TLS_LD): Likewise.
17728 (R_MN10300_TLS_LDO): Likewise.
17729 (R_MN10300_TLS_GOTIE): Likewise.
17730 (R_MN10300_TLS_IE): Likewise.
17731 (R_MN10300_TLS_LE): Likewise.
17732 (R_MN10300_TLS_DTPMOD): Likewise.
17733 (R_MN10300_TLS_DTPOFF): Likewise.
17734 (R_MN10300_TLS_TPOFF): Likewise.
17735 (R_MN10300_SYM_DIFF): Likewise.
17736 (R_MN10300_ALIGN): Likewise.
17737 (R_MN10300_NUM): Update.
17738
b36137f1
JM
177392012-08-08 Joseph Myers <joseph@codesourcery.com>
17740
17741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17742 Remove.
17743
cdd915fd
RM
177442012-08-08 Roland McGrath <roland@hack.frob.com>
17745
a2433aac
RM
17746 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17747
cdd915fd
RM
17748 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17749 sysdeps/unix -> sysdeps/posix move.
17750 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17751
bf9b740a
AM
177522012-08-07 Allan McRae <allan@archlinux.org>
17753
17754 [BZ #14303]
17755 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17756 (SUNOS_CPP): Likewise.
17757 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17758 not found.
17759 (open_input): Call CPP using execvp.
17760
93df14ee
JM
177612012-08-07 Joseph Myers <joseph@codesourcery.com>
17762
17763 * sysdeps/unix/sysv/linux/kernel-features.h
17764 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17765 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17766 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17767 (__ASSUME_WAITID_SYSCALL): Likewise.
17768 * sysdeps/unix/sysv/linux/dl-execstack.c
17769 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17770 code unconditional.
17771 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17772 conditional code.
17773 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17774 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17775 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17776 code.
17777 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17778 unconditional.
17779 [__ASSUME_WAITID_SYSCALL]: Likewise.
17780 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17781
d34689de
RM
177822012-08-07 Roland McGrath <roland@hack.frob.com>
17783
a281decc
RM
17784 * sysdeps/unix/closedir.c: Renamed to ...
17785 * sysdeps/posix/closedir.c: ... here.
17786 * sysdeps/unix/dirfd.c: Renamed to ...
17787 * sysdeps/posix/dirfd.c: ... here.
17788 * sysdeps/unix/dirstream.h: Renamed to ...
17789 * sysdeps/posix/dirstream.h: ... here.
17790 * sysdeps/unix/fdopendir.c: Renamed to ...
17791 * sysdeps/posix/fdopendir.c: ... here.
17792 * sysdeps/unix/opendir.c: Renamed to ...
17793 * sysdeps/posix/opendir.c: ... here.
17794 * sysdeps/unix/readdir.c: Renamed to ...
17795 * sysdeps/posix/readdir.c: ... here.
17796 * sysdeps/unix/readdir_r.c: Renamed to ...
17797 * sysdeps/posix/readdir_r.c: ... here.
17798 * sysdeps/unix/rewinddir.c: Renamed to ...
17799 * sysdeps/posix/rewinddir.c: ... here.
17800 * sysdeps/unix/seekdir.c: Renamed to ...
17801 * sysdeps/posix/seekdir.c: ... here.
17802 * sysdeps/unix/telldir.c: Renamed to ...
17803 * sysdeps/posix/telldir.c: ... here.
17804 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17805 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17806 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17807 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17808
22895b47
RM
17809 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17810 * bits/fcntl.h: ... here.
17811
707a53b6
RM
17812 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17813 not 0.
17814 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17815 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17816 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17817 (struct flock): Move l_start, l_len to the beginning.
17818 Use __pid_t for l_pid.
17819 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17820 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17821 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17822 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17823 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17824 [__USE_LARGEFILE64] (struct flock64): New type.
17825 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17826
f0bd3e25
RM
17827 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17828 * bits/dirent.h: ... here.
17829
d34689de
RM
17830 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17831 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17832
6dad2c06
JM
178332012-08-07 Joseph Myers <joseph@codesourcery.com>
17834
17835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17836 Change from 2.6.0 to 2.6.16.
17837 * sysdeps/unix/sysv/linux/configure: Regenerated.
17838 * sysdeps/unix/sysv/linux/kernel-features.h
17839 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17840 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17841 version.
17842 (__ASSUME_UTIMES): Likewise.
17843 (__ASSUME_CLONE_STOPPED): Remove.
17844 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17845 architectures, not kernel version.
17846 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17847 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17848 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17849 (__ASSUME_WAITID_SYSCALL): Likewise.
17850 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17851 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17852 * README: State 2.6.16 as minimum Linux kernel version. Do not
17853 refer to older versions.
17854
03af9520
RM
178552012-08-06 Roland McGrath <roland@hack.frob.com>
17856
8e49df1d
RM
17857 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17858 Define alphasort64 as an alias.
17859 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17860 Define versionsort64 as an alias.
17861 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17862 Define scandir64 as an alias.
17863 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17864 Define scandirat64 as an alias.
17865 * dirent/alphasort64.c (alphasort64):
17866 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17867 * dirent/versionsort64.c: Likewise.
17868 * dirent/scandir64.c: Likewise.
17869 * dirent/scandirat64.c: Likewise.
17870 * sysdeps/wordsize-64/alphasort.c: File removed.
17871 * sysdeps/wordsize-64/alphasort64.c: File removed.
17872 * sysdeps/wordsize-64/scandir.c: File removed.
17873 * sysdeps/wordsize-64/scandir64.c: File removed.
17874 * sysdeps/wordsize-64/scandirat.c: File removed.
17875 * sysdeps/wordsize-64/scandirat64.c: File removed.
17876 * sysdeps/wordsize-64/versionsort.c: File removed.
17877 * sysdeps/wordsize-64/versionsort64.c: File removed.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17879 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17881 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17882 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17883 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17884 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17886
17887 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17889 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17891 [defined __arch64__ || defined __sparcv9]
17892 (__INO_T_MATCHES_INO64_T): New macro.
17893 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17894 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17895 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17896 * sysdeps/unix/sysv/linux/bits/dirent.h
17897 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17898 (_DIRENT_MATCHES_DIRENT64): New macro.
17899
03af9520
RM
17900 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17901 Define lockf64 as an alias.
17902 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17903 Define fseeko64 as an alias.
17904 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17905 Define ftello64 as an alias.
17906 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17907 Define _IO_fgetpos64 and fgetpos64 as aliases.
17908 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17909 Define _IO_fsetpos64 and fsetpos64 as aliases.
17910 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17911 Conditionalize body on this.
17912 * libio/fseeko64.c: Likewise.
17913 * libio/ftello64.c: Likewise.
17914 * libio/iofgetpos64.c: Likewise.
17915 * libio/iofsetpos64.c: Likewise.
17916 * sysdeps/wordsize-64/lockf.c: File removed.
17917 * sysdeps/wordsize-64/lockf64.c: File removed.
17918 * sysdeps/wordsize-64/fseeko.c: File removed.
17919 * sysdeps/wordsize-64/fseeko64.c: File removed.
17920 * sysdeps/wordsize-64/ftello.c: File removed.
17921 * sysdeps/wordsize-64/ftello64.c: File removed.
17922 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17923 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17924 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17925 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17926 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17927 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17929 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17931 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17932 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17933 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17934 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17935 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17936
17937 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17939 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17941 [defined __arch64__ || defined __sparcv9]
17942 (__OFF_T_MATCHES_OFF64_T): New macro.
17943 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17944 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17946 (__OFF_T_MATCHES_OFF64_T): New macro.
17947
c5757acd
L
179482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * stdlib/secure-getenv.c (__secure_getenv): Replace
17951 GLIBC_2_16 with GLIBC_2_17.
17952
3a31811e
L
179532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17956 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17957
faa2bccb
DM
179582012-08-03 David S. Miller <davem@davemloft.net>
17959
17960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17961
85fe1997
JM
179622012-08-03 Joseph Myers <joseph@codesourcery.com>
17963
17964 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17965 Remove.
17966 (__ASSUME_CORRECT_SI_PID): Likewise.
17967 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17968 (__ASSUME_TMPFS_NAME): Likewise.
17969 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17970 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17971 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17972 (HAVE_AUX_SECURE): Make definition unconditional.
17973 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17974 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17975
4f75b7a0
RM
179762012-08-03 Roland McGrath <roland@hack.frob.com>
17977
17978 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17979 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17980 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17981 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17982 __eloop_threshold instead of SYMLOOP_MAX.
17983
17984 * sysdeps/generic/eloop-threshold.h: New file.
17985 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17986 of MAXSYMLINKS.
17987 * elf/chroot_canon.c (chroot_canon): Likewise.
17988
7aab07e4
JM
179892012-08-03 Joseph Myers <joseph@codesourcery.com>
17990
17991 [BZ #13717]
17992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17993 Change to 2.6.0 everywhere.
17994 * sysdeps/unix/sysv/linux/configure: Regenerated.
17995 * sysdeps/unix/sysv/linux/kernel-features.h
17996 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17997 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17998 kernel versions.
17999 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18000 (__ASSUME_FUTEX_REQUEUE): Remove.
18001 (__ASSUME_STATFS64): Define unconditionally.
18002 (__ASSUME_AT_SECURE): Likewise.
18003 (__ASSUME_CORRECT_SI_PID): Likewise.
18004 (__ASSUME_TGKILL): Define without depending on kernel version for
18005 i386.
18006 (__ASSUME_UTIMES): Likewise.
18007 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18008 kernel version.
18009 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18010 (__ASSUME_TMPFS_NAME): Likewise.
18011 * README: Update reference to Linux kernel versions.
18012
b67e9372
MP
180132012-08-02 Marek Polacek <polacek@redhat.com>
18014
1f529f7d 18015 [BZ# 14150]
b67e9372
MP
18016 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18017 libc_cv_asm_type_prefix with %.
18018 * configure: Regenerated.
d2441631
RM
18019 * include/libc-symbols.h: Remove comment about
18020 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18021 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18022 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18023 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18024 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18025 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18026 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18027 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18028 * elf/tst-unique2mod1.c: Likewise.
18029 * elf/tst-unique1mod2.c: Likewise.
18030 * elf/tst-unique1mod1.c: Likewise.
18031 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18032 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18033 Replace ASM_TYPE_DIRECTIVE with .type.
18034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18035 * sysdeps/i386/sysdep.h: Likewise.
18036 * sysdeps/x86_64/sysdep.h: Likewise.
18037 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18039 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18040 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18041 * sysdeps/powerpc/powerpc32/sysdep.h:
18042 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18043 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18044 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18045 * sysdeps/i386/fpu/e_powf.S: Likewise.
18046 * sysdeps/i386/fpu/e_expl.S: Likewise.
18047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18048 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18049 * sysdeps/i386/fpu/e_pow.S: Likewise.
18050 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18051 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18052 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18053 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18054 * sysdeps/i386/fpu/e_log2.S: Likewise.
18055 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18056 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18057 * sysdeps/i386/fpu/e_powl.S: Likewise.
18058 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18059 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18060 * sysdeps/i386/fpu/e_logl.S: Likewise.
18061 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18062 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18063 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18065 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18066 * sysdeps/i386/fpu/e_log.S: Likewise.
18067 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18068 * sysdeps/i386/fpu/e_logf.S: Likewise.
18069 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18070 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18071 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18072 * sysdeps/i386/fpu/e_log10.S: Likewise.
18073 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18074 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18075 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18076 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18077 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18078 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18079 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18080 * sysdeps/i386/i686/strtok.S: Likewise.
18081 * sysdeps/i386/i386-mcount.S: Likewise.
18082 * sysdeps/i386/strtok.S: Likewise.
18083 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18084 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18085 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18086 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18087 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18089 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18090 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18092 * sysdeps/x86_64/_mcount.S: Likewise.
18093 * sysdeps/x86_64/strtok.S: Likewise.
18094 * sysdeps/sh/_mcount.S: Likewise.
18095
2747bf9a
RM
180962012-08-01 Roland McGrath <roland@hack.frob.com>
18097
18098 * libio/iofopen.c: Include <fcntl.h>.
18099 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18100 (_IO_fopen64, fopen64): Define as aliases.
18101 * libio/iofopen64.c: Include <fcntl.h>.
18102 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18103 Conditionalize body on this.
18104 * sysdeps/wordsize-64/iofopen.c: File removed.
18105 * sysdeps/wordsize-64/iofopen64.c: File removed.
18106
3fb791b8
MP
181072012-08-01 Marek Polacek <polacek@redhat.com>
18108
18109 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18110 Use dlfcn directly instead of a variable.
18111 (binfmt-subdir): Do not define.
18112 (dlfcn): Likewise.
18113
a9f1039f
JM
181142012-08-01 Joseph Myers <joseph@codesourcery.com>
18115
23bddc06
JM
18116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18117 Remove all definitions.
18118 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18119 <kernel-features.h>.
18120 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18121 (miss_F_GETOWN_EX): Remove all definitions.
18122 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18123 macro definition.
18124 [!__ASSUME_FCNTL64]: Remove conditional code.
18125 [__ASSUME_FCNTL64]: Make code unconditional.
18126 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18127 <kernel-features.h>.
18128 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18129 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18130 (lockf64) [__NR_fcntl64]: Make code unconditional.
18131 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18132
a9f1039f
JM
18133 * sysdeps/unix/sysv/linux/kernel-features.h
18134 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18135 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18136 Make code unconditional.
18137 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18138 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18140 [__NR_vfork]: Make code unconditional.
18141 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18142 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18144 [__NR_vfork]: Make code unconditional.
18145 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18146 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18147
09c0ee5f
RM
181482012-08-01 Roland McGrath <roland@hack.frob.com>
18149
48aec5b9
RM
18150 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18151 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18152
cd97c966
RM
18153 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18154 Define mkstemp64 as an alias.
3f55550c
RM
18155 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18156 Define mkstemps64 as an alias.
cd97c966
RM
18157 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18158 Define mkostemp64 as an alias.
b8625cfc
RM
18159 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18160 Define mkostemps64 as an alias.
cd97c966
RM
18161 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18162 Conditionalize body on this.
18163 * misc/mkostemp64.c: Likewise.
b8625cfc 18164 * misc/mkostemps64.c: Likewise.
3f55550c 18165 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18166 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18167 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18168 * sysdeps/wordsize-64/mkostemp.c: File removed.
18169 * sysdeps/wordsize-64/mkstemp.c: File removed.
18170 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18171 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18172 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18173 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18174
09c0ee5f
RM
18175 [BZ #14138]
18176 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18177 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18178 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18179 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18180
18181 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18182 compat_symbol macros from <shlib-compat.h> rather than the underlying
18183 default_symbol_version and symbol_version macros, so that DEFAULT
18184 lines in shlib-versions are respected.
18185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18186
7e66ee51
FW
181872012-08-01 Florian Weimer <fweimer@redhat.com>
18188
18189 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18190 Declare with warn_unused_result.
18191 (setgid, setregid, setegid, setresgid): Likewise.
18192 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18193 Likewise.
18194 * WUR-REPORT: Remove set*id functions.
18195
d2a54255
PT
181962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18197
18198 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18199
7ecdb005
RM
182002012-07-31 Roland McGrath <roland@hack.frob.com>
18201
b4180a5e 18202 [BZ #10191]
789bd351
RM
18203 * include/sys/socket.h (__libc_accept, __libc_accept4):
18204 Add attribute_hidden.
18205 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18206
40ce302d
RM
18207 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18208 use of PTR_MANGLE.
18209 * inet/getnetgrent_r.c (setup): Likewise.
18210
7ecdb005
RM
18211 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18212
e2eabb2c
DM
182132012-07-31 David S. Miller <davem@davemloft.net>
18214
18215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18216
d0419dbf
JM
182172012-07-31 Joseph Myers <joseph@codesourcery.com>
18218
18219 [BZ #13629]
18220 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18221 value between 1.0 and 2.0 and smaller part has absolute value less
18222 than 1.0.
18223 * math/s_clog10.c (__clog10): Likewise.
18224 * math/s_clog10f.c (__clog10f): Likewise.
18225 * math/s_clog10l.c (__clog10l): Likewise.
18226 * math/s_clogf.c (__clogf): Likewise.
18227 * math/s_clogl.c (__clogl): Likewise.
18228 * math/libm-test.inc (clog_test): Add more tests.
18229 (clog10_test): Likewise.
18230 * sysdeps/i386/fpu/libm-test-ulps: Update.
18231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18232
2bc13872
FW
182332012-07-31 Florian Weimer <fweimer@redhat.com>
18234
18235 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18236 Exit with zero in case no suitable GID is found, and write a
18237 message to standard error.
18238
bea9b193
RM
182392012-07-30 Roland McGrath <roland@hack.frob.com>
18240
18241 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18242 rather than to 1.
18243 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18244 (MAXPATHLEN): Removed.
18245 (NOGROUP, NODEV): New macros.
18246 (setbit, clrbit, isset, isclr): New macros.
18247 (howmany, roundup, powerof2): New macros.
18248 (DEV_BSIZE): New macro.
18249
18250 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18251 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18252
18253 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18254 definition on [!__NO_LONG_DOUBLE_MATH].
18255
18256 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18257 PTR_MANGLE and PTR_DEMANGLE.
18258
18259 * socket/accept4.c (accept4): Rename to __libc_accept4.
18260 Define accept4 as a weak alias.
18261
18262 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18263 on [_DIRENT_HAVE_D_TYPE].
18264 * io/ftw.c (ftw_dir): Likewise.
18265
18266 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18267
18268 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18269
18270 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18271 Use the BSD numbers rather than the arbitrary ones we had.
18272 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18273 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18274 (SIGXCPU, SIGXFSZ): New macros.
18275 (_NSIG): Now 32.
18276
18277 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18278 initializer on [_LIBC_REENTRANT].
18279
18280 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18281 definitions inside [_POSIX_MAPPED_FILES].
18282
18283 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18284
18285 * dirent/opendir.c: Include <fcntl.h>.
18286
18287 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18288 (__libc_getspecific): Likewise.
18289 (__libc_key_create): Likewise.
18290
18291 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18292 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18293 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18294 (tmpfile64): Define as alias.
18295 * sysdeps/wordsize-64/tmpfile.c: File removed.
18296 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18297 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18299
18300 * stdio-common/vfscanf.c: Include <stdbool.h>.
18301 * nss/makedb.c: Likewise.
18302 * stdio-common/_i18n_number.h: Likewise.
18303 * argp/argp-help.c: Likewise.
18304 * posix/wordexp.c: Likewise.
18305 * sysdeps/posix/spawni.c: Likewise.
18306 * nss/nss_files/files-initgroups.c: Likewise.
18307 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18308 * nss/nss_files/files-initgroups.c: Likewise.
18309 * nss/nss_db/db-netgrp.c: Likewise.
18310 * nss/nss_db/db-initgroups.c: Likewise.
18311 * io/fchmodat.c: Include <sys/stat.h>.
18312
18313 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18314 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18315
18316 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18317 [HAVE_MMAP].
18318
18319 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18320 Add multiple inclusion protection.
18321
e5abc686
DM
183222012-07-27 David S. Miller <davem@davemloft.net>
18323
18324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18325
815e6fa3
GB
183262012-07-27 Gary Benson <gbenson@redhat.com>
18327
18328 [BZ #14298]
18329 * elf/rtld.c: Include <stap-probe.h>.
18330 (dl_main): Added static probes "init_start" and "init_complete".
18331 * elf/dl-load.c: Include <stap-probe.h>.
18332 (lose): Take new parameter "nsid".
18333 Added static probe "map_failed".
18334 (_dl_map_object_from_fd): Pass namespace id to lose.
18335 Added static probe "map_start".
18336 (open_verify): Pass namespace id to lose.
18337 * elf/dl-open.c: Include <stap-probe.h>.
18338 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18339 and "reloc_complete".
18340 * elf/dl-close.c: Include <stap-probe.h>.
18341 (_dl_close_worker): Added static probes "unmap_start" and
18342 "unmap_complete".
18343 * elf/rtld-debugger-interface.txt: New file documenting the above.
18344
9f98c16c
RM
183452012-07-26 Roland McGrath <roland@hack.frob.com>
18346
18347 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18348 rather than a string variable.
18349 * sunrpc/rpc_main.c (h_output): Likewise.
18350 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18351
f3c22df3
PT
183522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18353
18354 * inet/check_native.c: New file.
18355
3129cfc6
JM
183562012-07-26 Joseph Myers <joseph@codesourcery.com>
18357
da865e95
JM
18358 [BZ #13629]
18359 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18360 if larger part has absolute value 1.0.
18361 * math/s_clog10.c (__clog10): Likewise.
18362 * math/s_clog10f.c (__clog10f): Likewise.
18363 * math/s_clog10l.c (__clog10l): Likewise.
18364 * math/s_clogf.c (__clogf): Likewise.
18365 * math/s_clogl.c (__clogl): Likewise.
18366 * math/libm-test.inc (clog_test): Add more tests.
18367 (clog10_test): Likewise.
18368 * sysdeps/i386/fpu/libm-test-ulps: Update.
18369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18370
3129cfc6
JM
18371 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18372 (pltexit): Likewise.
18373 (La_regs): Likewise.
18374 (La_retval): Likewise.
18375 (int_retval): Likewise.
18376 Update #error for removed macros to refer only to definitions in
18377 tst-audit.h.
18378 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18379 macro.
18380 (pltexit): Likewise.
18381 (La_regs): Likewise.
18382 (La_retval): Likewise.
18383 (int_retval): Likewise.
18384 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18385 macro.
18386 (pltexit): Likewise.
18387 (La_regs): Likewise.
18388 (La_retval): Likewise.
18389 (int_retval): Likewise.
18390 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18391 macro.
18392 (pltexit): Likewise.
18393 (La_regs): Likewise.
18394 (La_retval): Likewise.
18395 (int_retval): Likewise.
18396 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18397 macro.
18398 (pltexit): Likewise.
18399 (La_regs): Likewise.
18400 (La_retval): Likewise.
18401 (int_retval): Likewise.
18402 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18403 macro.
18404 (pltexit): Likewise.
18405 (La_regs): Likewise.
18406 (La_retval): Likewise.
18407 (int_retval): Likewise.
18408 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18409 macro.
18410 (pltexit): Likewise.
18411 (La_regs): Likewise.
18412 (La_retval): Likewise.
18413 (int_retval): Likewise.
18414 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18415 macro definitions in tst-audit.h.
18416 * sysdeps/i386/tst-audit.h: New file.
18417 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18418 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18419 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18420 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18421 * sysdeps/sh/tst-audit.h: Likewise.
18422 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18423 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18424 * sysdeps/x86_64/tst-audit.h: Likewise.
18425
bfc07087
AJ
184262012-07-26 Andreas Jaeger <aj@suse.de>
18427
b1b2aaf8
AJ
18428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18429 ptrace.
18430
18431 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18432 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18433 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18434 PTRACE_O_MASK.
18435 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18436 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18437 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18438
bfc07087
AJ
18439 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18440 value.
18441
18442 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18443 _sigsys.
18444 (si_call_addr, si_syscall, si_arch): Define new macro.
18445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18446 _sigsys.
18447 (si_call_addr, si_syscall, si_arch): Define new marcro.
18448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18449 _sigsys.
18450 (si_call_addr, si_syscall, si_arch): Define new macro.
18451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18452 _sigsys.
18453 (si_call_addr, si_syscall, si_arch): Define new macro.
18454
89b4b02f
JM
184552012-07-25 Joseph Myers <joseph@codesourcery.com>
18456
18457 [BZ #13717]
18458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18459 Change to 2.4.21 where previously 2.4.1.
18460 * sysdeps/unix/sysv/linux/configure: Regenerated.
18461 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18462 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18463 Linux kernel version.
18464 (__ASSUME_STD_AUXV): Remove.
18465 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18466 kernel version.
18467 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18468 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18469 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18470 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18471 (__ASSUME_NETLINK_SUPPORT): Likewise.
18472 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18473 (__no_netlink_support): Remove conditional definition.
18474 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18475 Remove.
18476 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18477 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18478 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18479 (if_nameindex_ioctl): Remove.
18480 (if_nameindex_netlink): Do not handle __no_netlink_support.
18481 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18482 code.
18483 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18484 Remove conditional code.
18485 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18486 code.
18487 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18488 unconditional.
18489 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18490 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18491 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18492 Remove.
18493 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18494 [!__ASSUME_STD_AUXV]: Remove conditional code.
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18496 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18497 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18499 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18500 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18501 code.
18502 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18504 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18505 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18506 conditional code.
18507 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18509 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18510 code.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18512 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18513 conditional code.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18515 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18516 code unconditional.
18517 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18518 conditional code.
18519 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18520 unconditional.
18521 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18522 conditional code.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18524 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18525 unconditional.
18526 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18527 conditional code.
18528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18529 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18530 code unconditional.
18531 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18532 conditional code.
18533 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18534 unconditional.
18535 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18536 conditional code.
18537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18538 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18539 code unconditional.
18540 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18541 conditional code.
18542 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18543 unconditional.
18544 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18545 conditional code.
18546
842a39cd
AS
185472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18548
18549 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18550 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18551 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18552 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18553 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18554 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18555 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18556 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18557 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18558 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18559 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18560 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18561 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18562 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18564 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18567 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18569 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18570 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18571 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18572
84b3fd84
FW
185732012-07-25 Florian Weimer <fweimer@redhat.com>
18574
18575 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18576 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18577 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18578 Introduce __libc_secure_getenv.
0c7936d5
FW
18579 * stdlib/Versions (2.17): Add secure_getenv
18580 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18581 * stdlib/secure-getenv.c: Rename __secure_getenv to
18582 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18583 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18584 * stdlib/tst-secure-getenv.c: New.
18585 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18586 * manual/startup.texi (Environment Access): Document
18587 secure_getenv.
84b3fd84
FW
18588 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18589 __libc_secure_getenv.
18590 * inet/ruserpass.c (ruserpass): Likewise.
18591 * malloc/mtrace.c (mtrace): Likewise.
18592 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18593 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18594 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18595 * sysdeps/posix/tempname.c: Likewise. Evaluate
18596 HAVE_SECURE_GETENV.
18597 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18598 __secure_getenv to __libc_secure_getenv.
84b3fd84 18599 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18601 Likewise.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18603 Likewise.
18604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18611
56e49b71
JM
186122012-07-25 Joseph Myers <joseph@codesourcery.com>
18613
18614 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18615 (struct La_i86_retval): Likewise.
18616 (struct La_x86_64_regs): Likewise.
18617 (struct La_x86_64_retval): Likewise.
18618 (struct La_x32_regs): Likewise.
18619 (struct La_x32_retval): Likewise.
18620 (struct La_ppc32_regs): Likewise.
18621 (struct La_ppc32_retval): Likewise.
18622 (struct La_ppc64_regs): Likewise.
18623 (struct La_ppc64_retval): Likewise.
18624 (struct La_sh_regs): Likewise.
18625 (struct La_sh_retval): Likewise.
18626 (struct La_s390_32_regs): Likewise.
18627 (struct La_s390_32_retval): Likewise.
18628 (struct La_s390_64_regs): Likewise.
18629 (struct La_s390_64_retval): Likewise.
18630 (struct La_sparc32_regs): Likewise.
18631 (struct La_sparc32_retval): Likewise.
18632 (struct La_sparc64_regs): Likewise.
18633 (struct La_sparc64_retval): Likewise.
18634 (struct audit_ifaces): Remove architecture-specific pltenter and
18635 pltexit members.
18636 * sysdeps/i386/ldsodefs.h: New file.
18637 * sysdeps/powerpc/ldsodefs.h: Likewise.
18638 * sysdeps/s390/ldsodefs.h: Likewise.
18639 * sysdeps/sh/ldsodefs.h: Likewise.
18640 * sysdeps/sparc/ldsodefs.h: Likewise.
18641 * sysdeps/x86_64/ldsodefs.h: Likewise.
18642
354691b7
MP
186432012-07-25 Marek Polacek <polacek@redhat.com>
18644
18645 [BZ #6808]
18646 * math/libm-test.inc (yn_test): Add another test.
18647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18648 to ERANGE when the result is +-Inf.
18649 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18650 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18651 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18652 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18653
bf9e2071
JM
186542012-07-24 Joseph Myers <joseph@codesourcery.com>
18655
18656 * conform/data/time.h-data (NULL): Use macro-constant. Require
18657 equal to 0.
18658 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18659 clock_t.
18660 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18661
57633811
TS
186622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18663
18664 * configure.in <sysdeps resolving>: Correct printing
18665 Implies_before.
18666 * configure: Regenerate.
18667
c23c33b0
TS
186682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18669
18670 * math/w_ilogb.c: Include <limits.h>.
18671 * math/w_ilogbl.c: Likewise.
18672
b5982523
JM
186732012-07-20 Joseph Myers <joseph@codesourcery.com>
18674
18675 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18676 va_copy. Document allowing for unavailable va_copy only as
18677 pre-C99 compatibility.
18678 * manual/string.texi (Copying and Concatenation): Use va_copy
18679 instead of __va_copy in concat example.
18680
ac4ea442
PT
186812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18682
18683 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18684 (__sendto): Use create_address_port. Initialize APORT and deallocate
18685 it if not null.
18686
f98eafbd
PT
18687 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18688 with O_NOLINK passed to __file_name_lookup.
18689
898c7aab
PT
18690 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18691 with O_NOLINK passed to __file_name_lookup.
18692
0ced335a
PT
18693 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18694 negative N or less than NGIDS.
18695
b3404dbd
PT
18696 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18697 type to string_t. Set ERANGE as errno and return it if NAME is not big
18698 enough. Use memcpy instead of strncpy.
18699
0f48659e
JM
187002012-07-20 Joseph Myers <joseph@codesourcery.com>
18701
18702 * elf/Makefile (check-data): Remove.
18703 (localplt.data): New vpath directive.
18704 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18705 instead of $(check-data).
18706 * scripts/data/localplt-generic.data: Move to ...
18707 * sysdeps/generic/localplt.data: ... here.
18708 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18709 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18710 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18712 ... here.
18713 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18715 ... here.
18716 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18718 ... here.
18719 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18721 ... here.
18722 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18724 ... here.
18725 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18727 ... here.
18728
d37cbdaa
AZ
187292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18730
18731 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18732 PPC32 and PPC64 files.
18733 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18734 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18735
46f85fc2
AK
187362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18737
18738 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18739 __makecontext_ret to ...
18740 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18741 ... here and call exit if uc_link is NULL. New file.
18742 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18743 __makecontext_ret.S.
18744 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18745 __makecontext_ret to ...
18746 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18747 ... here and call exit if uc_link is NULL. New file.
18748 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18749 __makecontext_ret.S.
18750
08f43f9b
AK
187512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18752
18753 * elf/elf.h (R_390_IRELATIVE): New definition.
18754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18755 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18756 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18758 (elf_machine_lazy_rel): Likewise.
18759 * sysdeps/s390/dl-irel.h: New file.
18760 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18761 * sysdeps/s390/s390-64/memset.S: New asm code.
18762 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18763 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18764 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18765 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18766 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18767 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18768 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18769 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18770 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18771 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18772 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18773 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18774 * sysdeps/s390/s390-32/memset.S: New asm code.
18775 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18776
3b05db33
MP
187772012-07-17 Marek Polacek <polacek@redhat.com>
18778
18779 [BZ #14349]
18780 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18781 * sysdeps/s390/s390-64/configure.in: Likewise.
18782 * sysdeps/sparc/configure.in: Likewise.
18783 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18784 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18785 * sysdeps/i386/configure.in: Likewise.
18786 * sysdeps/x86_64/configure.in: Likewise.
18787 * sysdeps/sh/configure.in: Likewise.
18788 * sysdeps/s390/s390-32/configure: Regenerated.
18789 * sysdeps/s390/s390-64/configure: Likewise.
18790 * sysdeps/x86_64/configure: Likewise.
18791 * sysdeps/sh/configure: Likewise.
18792 * sysdeps/powerpc/powerpc64/configure: Likewise.
18793 * sysdeps/powerpc/powerpc32/configure: Likewise.
18794 * sysdeps/sparc/configure: Likwise.
18795 * sysdeps/i386/configure: Likewise.
18796
a66877c6
MP
18797 * elf/dl-open.c: Comment fixes.
18798
cfc82fd8
JM
187992012-07-17 Joseph Myers <joseph@codesourcery.com>
18800
bd29910a
JM
18801 * Makefile [CXX] (check-data): Remove.
18802 [CXX] (c++-types.data): New vpath directive.
18803 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18804 vpath. Do not allow for C++ type data being missing.
18805 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18806 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18807 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18808 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18809 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18810 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18811 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18813 ... here.
18814 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18816 ... here.
18817 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18819 ... here.
18820 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18822 ... here.
18823 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18825 ... here.
18826 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18828 ... here.
18829 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18831 ... here.
18832 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18834
cfc82fd8
JM
18835 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18836 definitions to architecture-specific files.
18837 (TLS_IE): Likewise.
18838 (TLS_LD): Likewise.
18839 (TLS_GD): Likewise.
18840 * sysdeps/i386/tls-macros.h: New file.
18841 * sysdeps/powerpc/tls-macros.h: Likewise.
18842 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18843 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18844 * sysdeps/sh/tls-macros.h: Likewise.
18845 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18846 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18847 * sysdeps/x86_64/tls-macros.h: Likewise.
18848
f7db3170
TS
188492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18850
07cbfc23
TS
18851 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18852 zero value for regular exit case.
18853
f7db3170
TS
18854 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18855 (__start_context): Preserve zero value for regular exit case.
18856
dc97c227
TS
188572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18858 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18859
18860 * manual/setjmp.texi (setcontext): Clarify normal process
18861 termination when uc_link is the null pointer.
18862 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18863 exit call.
18864
d0cd7d02
AS
188652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18866
18867 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18868 preprocessor. Test for each exception mask separately.
18869
dd318934
AJ
188702012-07-16 Andreas Jaeger <aj@suse.de>
18871
18872 * po/ru.po: Update from translation team.
18873
8048311a
JM
188742012-07-15 Joseph Myers <joseph@codesourcery.com>
18875
18876 * conform/data/string.h-data (NULL): Use macro-constant. Require
18877 equal to 0.
18878 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18879 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18880 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18881 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18883
b637d46e
AJ
188842012-07-13 Andreas Jaeger <aj@suse.de>
18885
18886 * po/fr.po: Update from translation team.
18887
541428fe
MP
188882012-07-12 Marek Polacek <polacek@redhat.com>
18889
18890 [BZ #14173]
18891 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18892 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18893 loop condition.
18894
ec332e94
JM
188952012-07-12 Joseph Myers <joseph@codesourcery.com>
18896
18897 [BZ #13717]
18898 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18899 Change to 2.4.1 where previously 2.4.0.
18900 * sysdeps/unix/sysv/linux/configure: Regenerated.
18901 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18902 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18903 version.
18904 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18905 (__ASSUME_AT_CLKTCK): Remove.
18906 (__ASSUME_AT_PAGESIZE): Likewise.
18907 (__ASSUME_AT_XID): Likewise.
18908 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18909 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18910 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18911 unconditionally.
18912 (HAVE_AUX_PAGESIZE): Likewise.
18913 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18914 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18915 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18916
7b6e99be
JB
189172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18918
18919 [BZ #14307]
18920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18921 the temporary buffer used to invoke __gethostbyname2_r,
18922 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18923 host_data / struct gaih_addrtuple.
18924 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18925 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18926 header file nss/nsswitch.h.
18927 * nss/nsswitch.h (global scope): Add definition of implementation
18928 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18929 resolv/nss_dns/dns-host.c).
18930
608404eb
AJ
189312012-07-11 Andreas Jaeger <aj@suse.de>
18932
18933 * po/fr.po: Update from translation team.
18934
71220aca
AJ
18935 * po/sv.po: Update from translation team
18936 * po/fr.po: Another update from translation team.
18937
28cfe843
AZ
189382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18939
18940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18941 for subnormals or multiply small sinh result by itself.
18942 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18944
6b90f981
DM
189452012-07-11 David S. Miller <davem@davemloft.net>
18946
18947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18948
c6825772
AS
189492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18950
18951 [BZ #14347]
18952 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18953 (INTERNAL_MARK): Shift it here.
18954
7b8e0d49
MP
189552012-07-10 Marek Polacek <polacek@redhat.com>
18956
18957 [BZ #14151]
18958 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18959 libc_cv_asm_global_directive with .globl.
18960 * configure: Regenerated.
18961 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18962 with .globl.
18963 * sysdeps/i386/configure: Regenerated.
18964 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18965 with .globl.
18966 * sysdeps/x86_64/configure: Regenerated.
18967 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18968 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18969 * elf/tst-unique2mod2.c: Likewise.
18970 * elf/tst-unique2mod1.c: Likewise.
18971 * elf/tst-unique1mod2.c: Likewise.
18972 * elf/tst-unique1mod1.c: Likewise.
18973 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18974 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18975 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18977 * sysdeps/mach/sysdep.h: Likewise.
18978 * sysdeps/i386/sysdep.h: Likewise.
18979 * sysdeps/i386/i386-mcount.S: Likewise.
18980 * sysdeps/x86_64/_mcount.S: Likewise.
18981 * sysdeps/x86_64/sysdep.h: Likewise.
18982 * sysdeps/sh/_mcount.S: Likewise.
18983 * sysdeps/sh/sysdep.h: Likewise.
18984 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18985 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18986 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18987 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18988 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18989 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18990 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18991 * locale/localeinfo.h: Likewise.
18992 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18993 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18994
6c55cda3
RM
189952012-07-09 Roland McGrath <roland@hack.frob.com>
18996
18997 [BZ #14336]
18998 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18999 system".
19000 * manual/message.texi (The Uniforum approach): Likewise.
19001 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19002 (glibc iconv Implementation): Likewise.
19003
638a572e
JM
190042012-07-09 Joseph Myers <joseph@codesourcery.com>
19005
19006 [BZ #14337]
19007 * math/s_clog.c (__clog): Avoid scaling a value down where that
19008 could result in underflow.
19009 * math/s_clog10.c (__clog10): Likewise.
19010 * math/s_clog10f.c (__clog10f): Likewise.
19011 * math/s_clog10l.c (__clog10l): Likewise.
19012 * math/s_clogf.c (__clogf): Likewise.
19013 * math/s_clogl.c (__clogl): Likewise.
19014 * math/libm-test.inc (clog_test): Add more tests.
19015 (clog10_test): Likewise.
19016 * sysdeps/i386/fpu/libm-test-ulps: Update.
19017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19018
261f4859
AS
190192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19020
0abaf3e4
AS
19021 [BZ #14283]
19022 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19023 by 7 not 8 to examine high bit of fractional part.
19024
261f4859
AS
19025 [BZ #14042]
19026 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19027 for call to __mcount_internal.
19028 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19029 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19030 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19031
f17ac40d
JM
190322012-07-06 Joseph Myers <joseph@codesourcery.com>
19033
9ad63c23
JM
19034 [BZ #14154]
19035 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19036 approximation for values within 0x1p-13f of an odd multiple of
19037 pi/4.
19038 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19039 exception. Add more tests.
19040 * sysdeps/i386/fpu/libm-test-ulps: Update.
19041
f17ac40d
JM
19042 [BZ #6778]
19043 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19044 inputs and return -1 for them. Do not check for +Inf in case not
19045 reachable for +Inf.
19046 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19047 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19048 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19049 and return -1 for them. Do not check for +Inf in case not
19050 reachable for +Inf.
19051 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19052 define.
19053 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19054 and return -1 for them. Do not check for +Inf in case not
19055 reachable for +Inf.
19056 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19057 spurious underflow.
19058 * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19060
fb21f89b
MF
190612012-07-06 Mike Frysinger <vapier@gentoo.org>
19062
19063 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19064
cdfe2c5e
JM
190652012-07-05 Joseph Myers <joseph@codesourcery.com>
19066
19067 [BZ #14157]
19068 [BZ #14331]
19069 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19070 could result in spurious underflow. Scale down values above
19071 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19072 * math/s_csqrtf.c (__csqrtf): Likewise.
19073 * math/s_csqrtl.c (__csqrtl): Likewise.
19074 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19075 spurious underflow.
19076 * sysdeps/i386/fpu/libm-test-ulps: Update.
19077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19078
70d35b67
AS
190792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19080
704bc459
AS
19081 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19082 xopen-msg.sed.
19083 * catgets/xopen-msg.awk: New file.
19084 * catgets/xopen-msg.sed: Removed.
19085
70d35b67
AS
19086 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19087 po2text.sed.
19088 * intl/po2test.awk: New file.
19089 * intl/po2test.sed: Removed.
19090
ca61cf32
JM
190912012-07-04 Joseph Myers <joseph@codesourcery.com>
19092
19093 [BZ #14328]
19094 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19095 or multiply small sinh result by itself.
19096 * math/s_ctanf.c (__ctanf): Likewise.
19097 * math/s_ctanh.c (__ctanh): Likewise.
19098 * math/s_ctanhf.c (__ctanhf): Likewise.
19099 * math/s_ctanhl.c (__ctanhl): Likewise.
19100 * math/s_ctanl.c (__ctanl): Likewise.
19101 * math/libm-test.inc (ctan_test_tonearest): New function.
19102 (ctan_test_towardzero): Likewise.
19103 (ctan_test_downward): Likewise.
19104 (ctan_test_upward): Likewise.
19105 (ctanh_test_tonearest): Likewise.
19106 (ctanh_test_towardzero): Likewise.
19107 (ctanh_test_downward): Likewise.
19108 (ctanh_test_upward): Likewise.
19109 (main): Call these new functions.
19110 * sysdeps/i386/fpu/libm-test-ulps: Update.
19111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112
ca48a46a
MF
191132012-07-03 Mike Frysinger <vapier@gentoo.org>
19114
19115 * .gitignore: Delete /ports entry.
19116
9d63d37d
AJ
191172012-07-03 Andreas Jaeger <aj@suse.de>
19118
19119 * po/bg.po: Update from translation team.
19120 * po/cs.po: Likewise.
19121 * po/de.po: Likewise.
19122 * po/hr.po: Likewise.
19123 * po/nl.pl: Likewise.
19124 * po/pl.po: Likewise.
19125 * po/vi.po: Likewise.
19126
370ca3d2
JM
191272012-07-03 Joseph Myers <joseph@codesourcery.com>
19128
95f5a9a8
JM
19129 * Makeconfig [!+link] (+link-before-libc): New variable.
19130 [!+link] (+link-after-libc): Likewise.
19131 [!+link] (+link-tests): Likewise.
19132 [!+link] (+link): Define in terms of $(+link-before-libc) and
19133 $(+link-after-libc).
19134 [!+link-static] (+link-static-before-libc): New variable.
19135 [!+link-static] (+link-static-after-libc): Likewise.
19136 [!+link-static] (+link-static-tests): Likewise.
19137 [!+link-static] (+link-static): Define in terms of
19138 $(+link-static-before-libc) and $(+link-static-after-libc).
19139 [build-shared] (link-libc-before-gnulib): New variable.
19140 [build-shared] (link-libc-tests): Likewise.
19141 [build-shared] (link-libc): Define in terms of
19142 $(link-libc-before-gnulib).
19143 [!build-shared] (link-libc-tests): New variable.
19144 (link-libc-static-tests): New variable.
19145 [!gnulib] (gnulib-arch): New variable.
19146 [!gnulib] (gnulib-tests): Likewise.
19147 [!gnulib] (static-gnulib-arch): Likewise.
19148 [!gnulib] (static-gnulib-tests): Likewise.
19149 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19150 Define with "=" instead of ":=".
19151 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19152 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19153 * Rules (binaries-all-notests): New variable.
19154 (binaries-all-tests): Likewise.
19155 (binaries-static-notests): Likewise.
19156 (binaries-static-tests): Likewise.
19157 (binaries-all): Define using $(binaries-all-notests) and
19158 $(binaries-all-tests).
19159 (binaries-static): Define using $(binaries-static-notests) and
19160 $(binaries-static-tests).
19161 (binaries-shared-tests): New variable.
19162 (binaries-shared-notests): Likewise.
19163 (binaries-shared): Remove variable.
19164 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19165 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19166 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19167 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19168 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19169 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19170 * elf/Makefile (sln-modules): New variable.
19171 (extra-objs): Add $(sln-modules:=.o).
19172 (ldconfig-modules): Add static-stubs.
19173 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19174 * elf/static-stubs.c: New file.
19175
7a845b2c
JM
19176 [BZ #14283]
19177 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19178 by 7 not 8 to examine high bit of fractional part. Use volatile
19179 variables when splitting into final array of floats if
19180 __FLT_EVAL_METHOD__ != 0.
19181 * math/libm-test.inc (cos_test): Add another test.
19182 (sin_test): Likewise.
19183 * sysdeps/i386/fpu/libm-test-ulps: Update.
19184
e2283f38
JM
19185 [BZ #14273]
19186 * math/libm-test.inc (cosh_test): Add more tests.
19187
370ca3d2
JM
19188 * version.h (RELEASE): Set to "development".
19189 (VERSION): Set to "2.16.90".
19190
ee9247c3
CD
191912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19192
19193 * NEWS: Update copyright. Remove last-updated date.
19194 Mention math library bug fixes and timezone data changes.
19195 * README: Mention GNU/Hurd, x32, and HPPA support status.
19196
4648c381
TS
191972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19198
19199 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19200
aac78a43
AJ
192012012-06-27 Andreas Jaeger <aj@suse.de>
19202
19203 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19204
ed3dbfad
AJ
192052012-06-25 Andreas Jaeger <aj@suse.de>
19206
19207 * sysdeps/s390/fpu/libm-test-ulps: Update.
19208
4d0ee855
AS
192092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19210 Thomas Schwinge <thomas@codesourcery.com>
19211
19212 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19213 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19214 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19215 fanotify_mark.
19216
af1bce34
TS
192172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19218
a9fa33ba
TS
19219 * sysdeps/mach/start.c: Remove file.
19220 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19221 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19222 * sysdeps/sh/init-first.c: Likewise.
19223
58f902b8
TS
19224 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19225 registers for frame unwinding purposes, add CFI directives.
19226 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19227 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19228 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19229 Likewise.
19230
1518f58b
TS
19231 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19232 __fortify_fail returning.
19233 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19234
db9b5059
TS
19235 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19236 sysdeps/sh/____longjmp_chk.S.
19237 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19238 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19239 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19240 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19241
967705fe
TS
19242 * sysdeps/sh/abort-instr.h: New file.
19243 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19244 process in case exit returns.
19245
a9def8c4
TS
19246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19247 initialize the GOT register before use.
19248
2a649725
TS
19249 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19250 calculation of ARGC > 4.
19251
af1bce34
TS
19252 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19253 meaningful names to some local labels.
19254
d230f50a
KK
192552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19256 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19257
19258 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19259 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19260 (__arch_compare_and_exchange_val_16_acq): Likewise.
19261 (__arch_compare_and_exchange_val_32_acq): Likewise.
19262 (atomic_exchange_and_add): Fix gUSA sequence.
19263 (atomic_add): Likewise.
19264 (atomic_add_negative): Likewise.
19265 (atomic_add_zero): Likewise.
19266 (atomic_bit_test_set): Likewise.
19267
0479b305
AS
192682012-06-22 Andreas Schwab <schwab@redhat.com>
19269
19270 [BZ #13579]
19271 * include/link.h (struct link_map): Add l_free_initfini.
19272 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19273 l_initfini.
19274 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19275 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19276 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19277 set.
19278
0e3933b9
CD
192792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19280
19281 * configure.in: Use AC_LANG_SOURCE.
19282 * configure: Regenerate.
19283
4248b1b1
RM
192842012-06-22 Roland McGrath <roland@hack.frob.com>
19285
19286 * configure.in (libc_cv_localstatedir): New substituted variable.
19287 * configure: Regenerated.
19288 * config.make.in (localstatedir): New variable, substituted from
19289 libc_cv_localstatedir.
19290 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19291 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19292 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19293 * sysdeps/gnu/configure: Regenerated.
19294
006dd861
JL
192952012-06-21 Jeff Law <law@redhat.com>
19296
19297 [BZ #14277]
19298 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19299 free. Simplify list management for _LIBC case.
19300
79662d42
JM
193012012-06-21 Joseph Myers <joseph@codesourcery.com>
19302
b7abb4bf
JM
19303 [BZ #14273]
19304 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19305 Clear sign bit of 64-bit integer value before comparing against
19306 overflow value.
19307
79662d42
JM
19308 * sysdeps/mach/configure: Regenerated.
19309
1f150908
L
193102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 [BZ #14278]
19313 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19314
28363bbf
JL
193152012-06-21 Jeff Law <law@redhat.com>
19316
19317 [BZ #13882]
19318 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19319 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19320 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19321 * elf/dl-open.c (dl_open_worker): Likewise.
19322
09615db4
CD
193232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19324
19325 * scripts/list-sources.sh: Scan PORTS for translations.
19326 * po/libc.pot: Regenerated.
19327
2174c6dd
AJ
193282012-06-21 Andreas Jaeger <aj@suse.de>
19329
19330 [BZ #12194]
19331 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19332 warning.
19333 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19334 * bits/byteswap-16.h (__bswap_16): Likewise.
19335 * bits/byteswap.h (__bswap_constant_16): Likewise.
19336
3ee947b1
L
193372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 [BZ #14117]
a2f34833
L
19340 * sysdeps/i386/fpu_control.h: Removed.
19341 * sysdeps/x86_64/fpu_control.h: Moved to ...
19342 * sysdeps/x86/fpu_control.h: Here.
19343
3ee947b1
L
19344 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19345 (_FPU_SETCW): Likewise.
19346
ed1825f8
L
193472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19348
25f1282a
L
19349 [BZ #14117]
19350 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19351 * sysdeps/x86/fpu/bits/mathinline.h: This.
19352 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19353
ed1825f8
L
19354 [BZ #14050]
19355 [BZ #14117]
19356 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19357 functions if __x86_64__ is defined.
19358
36d54b74
CLT
193592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19360
19361 * string/endian.h: Add !__ASSEMBLER__ condition for including
19362 conversion interfaces.
19363
10285c21
JM
193642012-06-15 Joseph Myers <joseph@codesourcery.com>
19365
19366 [BZ #14241]
19367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19368 of ABS(x) in calculating zero to negative powers other than odd
19369 integers.
19370 * math/libm-test.inc (pow_test): Add more tests.
19371
06c5abbd
AJ
193722012-06-15 Andreas Jaeger <aj@suse.de>
19373
19374 * manual/contrib.texi (Contributors): Update entry of Liubov
19375 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19376 Machado Filho.
19377
a3aeac40
CH
193782012-06-15 Cyril Hrubis <metan@ucw.cz>
19379
19380 * string/string.h: Add __wur to GNU version of strerror_r.
19381
49bdf4c1
L
193822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19383
19384 [BZ #14229]
19385 * string/Makefile (tests): Add tst-strtok_r.
19386 * string/tst-strtok_r.c: New file.
19387 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19388 RAX_LP/RDX_LP on SAVE_PTR.
19389
834f9b8d
RM
193902012-06-14 Roland McGrath <roland@hack.frob.com>
19391
19392 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19393
75fa1921
JM
193942012-06-14 Joseph Myers <joseph@codesourcery.com>
19395
19396 * libm_test.inc (csqrt_test): Allow more spurious underflow
19397 exceptions.
19398 (j0_test): Likewise.
19399 (j1_test): Likewise.
19400 (y0_test): Likewise.
19401 (y1_test): Likewise.
19402
771766df
CD
194032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19404
19405 * po/Makefile (libc.pot): Use UTF-8 charset.
19406
ceb9e56b
PP
194072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19408
19409 [BZ #14210]
19410 Suppress sign-conversion warning from FD_SET.
19411 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19412 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19413 not unsigned long int.
19414 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19415
ddb28975
L
194162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19417
19418 [BZ #14050]
19419 [BZ #14117]
19420 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19421 __extern_always_inline instead of __extern_inline.
19422 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19423 (__signbit): Likewise.
19424 (__signbitl): Support C++ namespace.
19425 (lrintf): New inline function.
19426 (lrint): Likewise.
19427 (llrintf): Likewise.
19428 (llrint): Likewise.
19429 (fmaxf): Likewise.
19430 (fmax): Likewise.
19431 (fminf): Likewise.
19432 (fmin): Likewise.
19433 (rint): Likewise.
19434 (rintf): Likewise.
19435 (ceil): Likewise.
19436 (ceilf): Likewise.
19437 (floor): Likewise.
19438 (floorf): Likewise.
19439 (nearbyint): Likewise.
19440 (nearbyintf): Likewise.
19441
d7b4fb26
TS
194422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19443
19444 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19445 non-default versions.
19446
eb55f5c2
RM
194472012-06-11 Roland McGrath <roland@hack.frob.com>
19448
19449 [BZ #14218]
19450 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19451
366af02c
TS
194522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19453
99ff6e5c
TS
19454 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19455 (FE_UPWARD, FE_DOWNWARD): Don't define.
19456 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19457 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19458
366af02c
TS
19459 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19460 reading it.
19461 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19463
793ea851
KK
194642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19465
19466 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19468 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19469 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19470
a728a38f
L
194712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19472
19473 [BZ #14117]
c08010c7
L
19474 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19475 * sysdeps/i386/fpu/Implies: New file.
19476 * sysdeps/x86_64/fpu/Implies: Likewise.
19477 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19478 * sysdeps/x86/fpu/bits/fenv.h: This.
19479
a728a38f
L
19480 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19481 __SSE_MATH__.
19482
6e230d11
SP
194832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19484
19485 [BZ #14134]
19486 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19487 character 0xffff that matches the last element of the
19488 conversion table.
19489
1b671feb
AZ
194902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19491
19492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19493 fmodl commit.
19494
6043738b
AZ
194952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19496
19497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19498 values higher than 25.6283.
19499
34ae0b32
AZ
195002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19501
19502 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19503 subnormal exponent extraction and add some __builtin_expect.
19504 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19505 Fix for subnormal mantissa calculation.
19506
1214ec8f
MF
195072012-06-04 Mike Frysinger <vapier@gentoo.org>
19508
19509 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19510 cpu2 is -1 and errno is not ENOSYS.
19511
f3d1f93c
L
195122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19513
19514 [BZ #14117]
0e4a3cd7
L
19515 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19516 * sysdeps/x86/bits/string.h: This.
19517 * sysdeps/x86_64/bits/string.h: Removed.
19518
6704c645
L
19519 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19520 if not compiling for x86-64, but compiling for >= i486.
19521
48495318
L
19522 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19523 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19524
14adcbfc
L
19525 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19526 New macro from Linux kernel 3.4.0.
19527 (FP_XSTATE_MAGIC2): Likewise.
19528 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19529 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19530 (struct _fpx_sw_bytes): New struct.
19531 (struct _xsave_hdr): Likewise.
19532 (struct _ymmh_state): Likewise.
19533 (struct _xstate): Likewise.
19534
68e408ab
L
19535 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19536 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19538 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19539 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19540 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19541
f3d1f93c
L
19542 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19543 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19544 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19545 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19546 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19547 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19548
d9dc34cd
TMQMF
195492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19550
19551 [BZ #13743]
19552 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19553 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19554 (sysdep_headers): Include sys/platform/ppc.h.
19555 * sysdeps/powerpc/test-gettimebase.c: Test for
19556 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19557 * manual/Makefile (appendices): Include platform.texi.
19558 * manual/contrib.texi (Contributors): Update @node pointers.
19559 * manual/maint.texi (Maintenance): Likewise.
19560 (Platform): New node.
19561 * manual/platform.texi: New file. Document the new features.
19562
4af3879c
SP
195632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19564 Jakub Jelinek <jakub@redhat.com>
19565
19566 [BZ #14188]
19567 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19568 where __builtin_expect is unavailable.
19569
2fd6ff13
DM
195702012-06-03 David S. Miller <davem@davemloft.net>
19571
19572 * stdlib/longlong.h: Updated from GCC.
19573
173f7220
AS
195742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19575
19576 [BZ #14042]
19577 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19578 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19579 __mcount_internal.
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19581 (GLIBC_2.16): Likewise.
19582
f34a1c6f
L
195832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19584
19585 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19586
88a4576f
JM
195872012-06-01 Joseph Myers <joseph@codesourcery.com>
19588
ea32bcdd
JM
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19590 (default-abi): New variable.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19592 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19593 variable.
19594 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19595 Likewise.
19596 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19597 Likewise.
19598 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19599 Likewise.
19600
88a4576f
JM
19601 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19602 definition. Document in comment.
19603
402fe938
DM
196042012-06-01 David S. Miller <davem@davemloft.net>
19605
19606 * stdlib/longlong.h: Updated from GCC.
19607
3553723f
L
196082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19609
19610 [BZ #14117]
3bd872c4
L
19611 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19612 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19613 sys/debugreg.h sys/io.h here.
19614 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19615 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19616 sys/io.h.
19617 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19618 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19619 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19620 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19621 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19622 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19623
3553723f
L
19624 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19625 Define only if __x86_64__ is defined.
19626
4842e4fe
JM
196272012-06-01 Joseph Myers <joseph@codesourcery.com>
19628
c5bfe3d5
JM
19629 [BZ #14048]
19630 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19631 Use int64_t for variable i.
19632 * math/libm-test.inc (fmod_test): Add more tests.
19633
4842e4fe
JM
19634 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19635 z computation is not scheduled after fetestexcept.
19636 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19637 Use math_force_eval instead of asm to ensure calculation scheduled
19638 before exception test.
19639 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19640 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19641
efb73488
AJ
196422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19643
19644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19645 computation is not scheduled after fetestexcept.
19646
29bcce7c
L
196472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 [BZ #14117]
19650 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19651 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19652
73a68f94
AZ
196532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19654
19655 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19656 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19657
67b6df78
L
196582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19659
edf2933a 19660 [BZ #14117]
ebc64a18
L
19661 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19662 <bits/wordsize.h>.
19663 (__WCHAR_MIN): Support __WORDSIZE == 64.
19664 (__WCHAR_MAX): Likewise.
19665
edf2933a
L
19666 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19667 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19668
57c6cf40
L
19669 [BZ #14183]
19670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19671 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19672
67b6df78 19673 [BZ #14117]
8eb6281e
L
19674 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19675 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19676
aac639f4
L
19677 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19678 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19679
67b6df78
L
19680 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19681 Defined to 1 if __x86_64__ isn't defined.
19682 (_STAT_VER_LINUX_OLD): New.
19683 (st_atime): Remove duplicate.
19684 (st_mtime): Likewise.
19685 (st_ctime): Likewise.
19686
1c2cfe81
DM
196872012-05-31 David S. Miller <davem@davemloft.net>
19688
19689 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19690 entries.
19691
5be8418c
AS
196922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19693
e7725326
AS
19694 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19695 gen-libm-test.pl.
19696
5be8418c
AS
19697 [BZ #14132]
19698 * elf/dl-reloc.c: Include <_itoa.h>.
19699 (_dl_reloc_bad_type): Remove use of INTUSE.
19700 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19701 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19702 * stdio-common/psiginfo.c (psiginfo): Likewise.
19703 * stdio-common/psignal.c (psignal): Likewise.
19704 * string/strsignal.c (strsignal): Likewise.
19705 * include/signal.h (_sys_siglist): Declare hidden proto.
19706 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19707 INTVARDEF with libc_hidden_data_def.
19708 * stdio-common/itoa-udigits.c: Likewise.
19709 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19710 (_itoa_lower_digits_internal): Remove declaration.
19711 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19712 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19713 (_sys_sigabbrev_internal): Remove aliases.
19714 (_sys_siglist): Define hidden alias.
19715
507352f1
MT
197162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19717
19718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19719 bits/sysctl.h.
19720
42bbb1c3
L
197212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19722
19723 [BZ #14117]
6bd784b6
L
19724 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19725 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19726
8bca20f0
L
19727 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19728 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19729 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19730 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19731 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19732 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19733
f9e890a9
L
19734 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19735 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19736 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19737
471101a1
L
19738 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19739 with __addr.
19740 (insw): Likewise.
19741 (insl): Likewise.
19742 (outsb): Likewise.
19743 (outsw): Likewise.
19744 (outsl): Likewise.
19745
6451c862
L
19746 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19747 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19748 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19749
a254b8c9
L
19750 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19751 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19752 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19753 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19754 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19755 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19756
b8dfdd92
L
19757 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19758 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19759
578cd270
L
19760 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19761 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19762
de662f5f
L
19763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19765 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19766
25653439
L
19767 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19768 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19769 to ...
19770 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19771
6bad24a0
L
19772 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19773 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19774 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19775
42bbb1c3
L
19776 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19777 for x86-64.
19778 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19779
2d10d547
JM
197802012-05-31 Joseph Myers <joseph@codesourcery.com>
19781
19782 * math/math.h (M_El): Use two more decimal places.
19783 (M_LOG2El): Likewise.
19784 (M_LOG10El): Likewise.
19785 (M_LN2l): Likewise.
19786 (M_LN10l): Likewise.
19787 (M_PIl): Likewise.
19788 (M_PI_2l): Likewise.
19789 (M_PI_4l): Likewise.
19790 (M_1_PIl): Likewise.
19791 (M_2_PIl): Likewise.
19792 (M_2_SQRTPIl): Likewise.
19793 (M_SQRT2l): Likewise.
19794 (M_SQRT1_2l): Likewise.
19795
f230c29b
DM
197962012-05-31 David S. Miller <davem@davemloft.net>
19797
19798 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19799 values between float registers.
19800 * sysdeps/sparc/sparc64/memset.S: Likewise.
19801 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19802
fed806c3
MF
198032012-05-31 Mike Frysinger <vapier@gentoo.org>
19804
19805 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19806 -D_FORTIFY_SOURCE=1.
19807 (CPPFLAGS-tst-longjmp_chk.c): Define.
19808 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19809 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19810 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19811 CFLAGS-tst-wchar-h.c.
19812
30917259
MP
198132012-05-31 Marek Polacek <polacek@redhat.com>
19814
19815 [BZ #14132]
19816 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19817 __endmntent_internal): Remove declaration.
19818 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19819 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19820 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19821
1c58d5dc
DM
198222012-05-30 David S. Miller <davem@davemloft.net>
19823
19824 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19825 (___Q_simulate_exceptions): Use real FP ops rather than writing
19826 into the %fsr.
19827 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19828 Likewise.
19829
7dc00e0d
L
198302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19831
19832 [BZ #14117]
0bd53985
L
19833 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19834 * sysdeps/x86/bits/xtitypes.h: This.
19835
3a257e66
L
19836 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19837 * sysdeps/x86/bits/wordsize.h: This.
19838
62f62904
L
19839 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19840 * sysdeps/x86/bits/huge_vall.h: This.
19841
404fe9d9
L
19842 * sysdeps/i386/bits/select.h: Removed.
19843 * sysdeps/x86_64/bits/select.h: Renamed to ...
19844 * sysdeps/x86/bits/select.h: This.
19845
d48d0446
L
19846 * sysdeps/i386/bits/setjmp.h: Removed.
19847 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19848 * sysdeps/x86/bits/setjmp.h: This.
19849
7dc00e0d
L
19850 * sysdeps/i386/bits/mathdef.h: Removed.
19851 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19852 * sysdeps/x86/bits/mathdef.h: This.
19853
03277f8f
AS
198542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19855
19856 [BZ #14132]
19857 * include/sys/socket.h (__connect_internal)
19858 (__libc_sa_len_internal): Remove declaration.
19859 (__connect, __libc_sa_len): Declare hidden_proto.
19860 (SA_LEN): Remove use of INTUSE.
19861 * socket/connect.c: Add libc_hidden_def.
19862 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19863 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19864 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19865 alias.
19866 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19867 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19868 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19869 of adding _internal alias.
19870
13764867
L
198712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19872
19873 [BZ #14117]
6bd97696
L
19874 * sysdeps/i386/bits/link.h: Removed.
19875 * sysdeps/i386/bits/linkmap.h: Likewise.
19876 * sysdeps/x86_64/bits/link.h: Renamed to ...
19877 * sysdeps/x86/bits/link.h: This.
19878 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19879 * sysdeps/x86/bits/linkmap.h: This.
19880
f726f0bb
L
19881 * sysdeps/i386/bits/endian.h: Removed.
19882 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19883 * sysdeps/x86/bits/endian.h: This.
19884
13764867
L
19885 * sysdeps/i386/bits/byteswap.h: Removed.
19886 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19887 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19888 * sysdeps/x86/bits/byteswap.h: This.
19889 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19890 * sysdeps/x86/bits/byteswap-16.h: This.
19891 * sysdeps/i386/Implies: Add x86.
19892 * sysdeps/x86_64/Implies: Likewise.
19893
ae251b0b
DM
198942012-05-30 David S. Miller <davem@davemloft.net>
19895
19896 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19897 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19898 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19899 (FP_TRAPPING_EXCEPTIONS): Define.
19900 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19901 (FP_TRAPPING_EXCEPTIONS): Define.
19902 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19903 subnormals only when inexact has been signalled or underflow
19904 exceptions are enabled.
19905 (_FP_PACK_CANONICAL): Likewise.
19906
d5c90867
L
199072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19908
19909 [BZ #14183]
19910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19911 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19912
63f1549e
RH
199132012-05-30 Richard Henderson <rth@twiddle.net>
19914
8d8f2279
RH
19915 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19916 with #ifndef NOT_IN_libc.
19917
63f1549e
RH
19918 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19919 marked to avoid plt entry.
19920
0ab0291b
L
199212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19922
19923 [BZ #14112]
19924 * Makeconfig (default-abi): New macro.
19925 (abi-includes): Likewise.
19926 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19927 $(abi-$(default-abi)-lib-soname) for soname if defined.
19928 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19929 abi-variants.
19930 * Makefile (installed-stubs): Likewise.
19931 * include/stubs-biarch.h: Removed.
19932 * scripts/lib-names.awk: Only handle one library at a time.
19933 * scripts/soversions.awk: Remove WORDSIZE support.
19934 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19935 entries.
19936 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19937 Removed.
19938 (syscall-list-default-condition): Likewise.
19939 (syscall-list-default-condition): Likewise.
19940 (syscall-list-includes): Likewise.
19941 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19942 syscall-list-* with abi-*. Handle undefined abi-variants.
19943 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19944 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19945 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19946 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19947 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19948 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19949 Removed.
19950 (syscall-list-32-options): Likewise.
19951 (syscall-list-32-condition): Likewise.
19952 (syscall-list-64-options): Likewise.
19953 (syscall-list-64-condition): Likewise.
19954 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19955 macro.
19956 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19957 Renamed to ...
19958 (abi-*): This.
19959 (abi-64-ld-soname): New macro.
19960 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19961 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19962 Renamed to ...
19963 (abi-*): This.
19964 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19965 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19966
4da0431d
JM
199672012-05-30 Joseph Myers <joseph@codesourcery.com>
19968
3a85279c
JM
19969 * sysdeps/unix/sysv/linux/kernel-features.h
19970 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19971 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19972 include <kernel-features.h>.
19973 [!__NR_ftruncate64]: Remove conditional code.
19974 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19975 [__NR_ftruncate64]: Make code unconditional.
19976 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19977 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19978 include <kernel-features.h>.
19979 [!__NR_ftruncate64]: Remove conditional code.
19980 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19981 [__NR_ftruncate64]: Make code unconditional.
19982 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19984 include <kernel-features.h>.
19985 [!__NR_ftruncate64]: Remove conditional code.
19986 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19987 [__NR_ftruncate64]: Make code unconditional.
19988 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19990 include <kernel-features.h>.
19991 [!__NR_ftruncate64]: Remove conditional code.
19992 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19993 [__NR_ftruncate64]: Make code unconditional.
19994 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19995
4da0431d
JM
19996 * configure.in (libc_cv_fpie): Weaken to a compile test using
19997 LIBC_TRY_CC_OPTION.
19998 * configure: Regenerated.
19999
11ef492c
AK
200002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20001
20002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20006 Refreshed.
20007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20013 Refreshed.
20014
d66ef399
DM
200152012-05-27 David S. Miller <davem@davemloft.net>
20016
20017 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20018 (___Q_zero): New.
20019 (__Q_simulate_exceptions): Return void. Change to simulate
20020 exceptions by writing into the %fsr.
20021 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20022 (__Qp_handle_exceptions): Likewise.
20023 (numbers): Delete.
20024 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20025 __Qp_handle_exceptions.
20026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20027 __Qp_handle_exceptions.
20028 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20029 as unused and give dummy FP_RND_NEAREST initializer.
20030 (FP_INHIBIT_RESULTS): Define.
20031 (___Q_simulate_exceptions): Update declaration.
20032 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20033 formatting.
20034 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20035 as unused and give dummy FP_RND_NEAREST initializer.
20036 (__Qp_handle_exceptions): Update declaration.
20037 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20038 formatting.
20039
04fb54b5
TS
200402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20041
20042 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20043 the temporary FPU control word.
20044 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20045 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20046 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20047 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20048 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20049 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20050 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20052 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20053 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20054 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20055
3f99608f
KK
200562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20057
20058 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20059 fields.
20060
65a4de4e
CLT
200612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20062
20063 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20064 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20065 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20066 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20067 Likewise.
20068 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20069 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20070 Likewise.
20071
15749d40
UD
200722012-05-27 Ulrich Drepper <drepper@gmail.com>
20073
20074 * po/h.po: Update from translation team.
20075
25dbcb27
AS
200762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20077
3d3f8e55
AS
20078 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20079
25dbcb27
AS
20080 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20081 handling of denormals.
20082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20083 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20084 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20085 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20087 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20089 Likewise.
20090
7ad47a80 200912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20092
20093 [BZ #14152]
20094 * math/libm-test.inc (fma_test): Don't always expect underflow
20095 exception.
20096
9c6ea9fa
SP
200972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20098
20099 [BZ #12416]
20100 * elf/tst-execstack.c: Include stackinfo.h.
20101 (do_test): Adjust test case to ensure that pthread_getattr_np
20102 behaviour remains the same after marking stack executable.
20103
a8239222
JM
201042012-05-25 Joseph Myers <joseph@codesourcery.com>
20105
20106 * sysdeps/unix/sysv/linux/kernel-features.h
20107 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20108 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20109 kernel-features.h.
20110 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20111 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20112 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20113 kernel-features.h.
20114 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20115 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20116
918b5606
L
201172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20118
20119 * configure.in: Define the default includes to being none.
20120 * configure: Regenerated.
20121
3a097cc7
RM
201222012-05-25 Roland McGrath <roland@hack.frob.com>
20123
8422c9a5
RM
20124 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20125 * sysdeps/x86_64/setjmp.S: Likewise.
20126 * sysdeps/i386/bsd-setjmp.S: Likewise.
20127 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20128 * sysdeps/i386/setjmp.S: Likewise.
20129 * sysdeps/i386/__longjmp.S: Likewise.
20130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20131 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20132
3a097cc7
RM
20133 * include/stap-probe.h: New file.
20134 * configure.in: Handle --enable-systemtap.
20135 * configure: Regenerated.
20136 * config.h.in (USE_STAP_PROBE): New #undef.
20137 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20138 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20139 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20140
21708942
JM
201412012-05-25 Joseph Myers <joseph@codesourcery.com>
20142
20143 [BZ #13717]
20144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20145 to 2.4.0 where earlier.
20146 * sysdeps/unix/sysv/linux/configure: Regenerated.
20147 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20148 <kernel-features.h>.
20149 [__ASSUME_32BITUIDS]: Make code unconditional.
20150 [!__ASSUME_32BITUIDS]: Remove conditional code.
20151 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20152 <kernel-features.h>.
20153 [__ASSUME_32BITUIDS]: Make code unconditional.
20154 [!__ASSUME_32BITUIDS]: Remove conditional code.
20155 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20156 [__ASSUME_32BITUIDS]: Make code unconditional.
20157 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20158 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20159 <kernel-features.h>.
20160 [__ASSUME_32BITUIDS]: Make code unconditional.
20161 [!__ASSUME_32BITUIDS]: Remove conditional code.
20162 * sysdeps/unix/sysv/linux/i386/geteuid.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/i386/getgid.c: Do not include
20167 <kernel-features.h>.
20168 [__ASSUME_32BITUIDS]: Make code unconditional.
20169 [!__ASSUME_32BITUIDS]: Remove conditional code.
20170 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20171 <kernel-features.h>.
20172 [__ASSUME_32BITUIDS]: Make code unconditional.
20173 [!__ASSUME_32BITUIDS]: Remove conditional code.
20174 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20175 <kernel-features.h>.
20176 [__ASSUME_32BITUIDS]: Make code unconditional.
20177 [!__ASSUME_32BITUIDS]: Remove conditional code.
20178 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20179 <kernel-features.h>.
20180 [__ASSUME_32BITUIDS]: Make code unconditional.
20181 [!__ASSUME_32BITUIDS]: Remove conditional code.
20182 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20183 <kernel-features.h>.
20184 [__ASSUME_32BITUIDS]: Make code unconditional.
20185 [!__ASSUME_32BITUIDS]: Remove conditional code.
20186 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20187 <kernel-features.h>.
20188 [__ASSUME_32BITUIDS]: Make code unconditional.
20189 [!__ASSUME_32BITUIDS]: Remove conditional code.
20190 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20191 <kernel-features.h>.
20192 [__ASSUME_32BITUIDS]: Make code unconditional.
20193 [!__ASSUME_32BITUIDS]: Remove conditional code.
20194 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20195 <kernel-features.h>.
20196 [__ASSUME_32BITUIDS]: Make code unconditional.
20197 [!__ASSUME_32BITUIDS]: Remove conditional code.
20198 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20199 <kernel-features.h>.
20200 [__NR_setresgid] (__setresgid): Do not declare.
20201 [__ASSUME_32BITUIDS]: Make code unconditional.
20202 [!__ASSUME_32BITUIDS]: Remove conditional code.
20203 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20204 <kernel-features.h>.
20205 [__NR_setresuid] (__setresuid): Do not declare.
20206 [__ASSUME_32BITUIDS]: Make code unconditional.
20207 [!__ASSUME_32BITUIDS]: Remove conditional code.
20208 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20209 <kernel-features.h>.
20210 [__ASSUME_32BITUIDS]: Make code unconditional.
20211 [!__ASSUME_32BITUIDS]: Remove conditional code.
20212 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20213 <kernel-features.h>.
20214 [__ASSUME_32BITUIDS]: Make code unconditional.
20215 [!__ASSUME_32BITUIDS]: Remove conditional code.
20216 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20217 <kernel-features.h>.
20218 [__ASSUME_32BITUIDS]: Make code unconditional.
20219 [!__ASSUME_32BITUIDS]: Remove conditional code.
20220 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20221 <kernel-features.h>.
20222 [__ASSUME_32BITUIDS]: Make code unconditional.
20223 [!__ASSUME_32BITUIDS]: Remove conditional code.
20224 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20225 <kernel-features.h>.
20226 [__ASSUME_32BITUIDS]: Make code unconditional.
20227 [!__ASSUME_32BITUIDS]: Remove conditional code.
20228 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20229 <kernel-features.h>.
20230 [__ASSUME_32BITUIDS]: Make code unconditional.
20231 [!__ASSUME_32BITUIDS]: Remove conditional code.
20232 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20233 <kernel-features.h>.
20234 [__ASSUME_32BITUIDS]: Make code unconditional.
20235 [!__ASSUME_32BITUIDS]: Remove conditional code.
20236 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20237 <kernel-features.h>.
20238 [__ASSUME_32BITUIDS]: Make code unconditional.
20239 [!__ASSUME_32BITUIDS]: Remove conditional code.
20240 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20241 <kernel-features.h>.
20242 [__ASSUME_32BITUIDS]: Make code unconditional.
20243 [!__ASSUME_32BITUIDS]: Remove conditional code.
20244 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20245 <kernel-features.h>.
20246 [__ASSUME_32BITUIDS]: Make code unconditional.
20247 [!__ASSUME_32BITUIDS]: Remove conditional code.
20248 * sysdeps/unix/sysv/linux/kernel-features.h
20249 (__ASSUME_SETRESUID_SYSCALL): Remove.
20250 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20251 (__ASSUME_32BITUIDS): Likewise.
20252 (__ASSUME_LDT_WORKS): Likewise.
20253 (__ASSUME_O_DIRECTORY): Likewise.
20254 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20255 architecture but not kernel version.
20256 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20257 (__ASSUME_MMAP2_SYSCALL): Likewise.
20258 (__ASSUME_STAT64_SYSCALL): Likewise.
20259 (__ASSUME_IPC64): Likewise.
20260 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20261 <kernel-features.h>.
20262 [__ASSUME_32BITUIDS]: Make code unconditional.
20263 [!__ASSUME_32BITUIDS]: Remove conditional code.
20264 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20265 <kernel-features.h>.
20266 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20267 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20268 132096]: Remove conditional code.
20269 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20270 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20271 <kernel-features.h>.
20272 [__ASSUME_32BITUIDS]: Make code unconditional.
20273 [!__ASSUME_32BITUIDS]: Remove conditional code.
20274 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20275 <kernel-features.h>.
20276 [__ASSUME_32BITUIDS]: Make code unconditional.
20277 [!__ASSUME_32BITUIDS]: Remove conditional code.
20278 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20279 <kernel-features.h>.
20280 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20281 unconditional.
20282 (__setresgid): Do not declare.
20283 [__ASSUME_32BITUIDS]: Make code unconditional.
20284 [!__ASSUME_32BITUIDS]: Remove conditional code.
20285 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20286 <kernel-features.h>.
20287 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20288 unconditional.
20289 (__setresuid): Do not declare.
20290 [__ASSUME_32BITUIDS]: Make code unconditional.
20291 [!__ASSUME_32BITUIDS]: Remove conditional code.
20292 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20293 <kernel-features.h>.
20294 [__ASSUME_32BITUIDS]: Make code unconditional.
20295 [!__ASSUME_32BITUIDS]: Remove conditional code.
20296 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20297 <kernel-features.h>.
20298 [__ASSUME_32BITUIDS]: Make code unconditional.
20299 [!__ASSUME_32BITUIDS]: Remove conditional code.
20300
a386f1cc
RH
203012012-05-25 Richard Henderson <rth@twiddle.net>
20302
20303 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20304 dl_hwcap to ifunc resolver.
20305 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20306 elf_ifunc_invoke.
20307 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20308 dl_hwcap to ifunc resolver.
20309 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20310
b6550497
JM
203112012-05-24 Joseph Myers <joseph@codesourcery.com>
20312
20313 [BZ #14153]
20314 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20315 for |x| <= 2**-26, not 2**-57.
20316 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20317 exception.
20318
b0bc23a1
JL
203192012-05-24 Jeff Law <law@redhat.com>
20320
20321 * stdio-common/Makefile (tests): Add bug25.
20322 * stdio-common/bug25.c: New test.
20323
347c92e9
L
203242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20325
20326 [BZ #13576]
20327 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20328 multiple of MALLOC_ALIGNMENT in size.
20329 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20330
6bcc8b3f
JM
203312012-05-24 Joseph Myers <joseph@codesourcery.com>
20332
20333 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20334 Require >= 256.
20335 (FILENAME_MAX): Use macro-int-constant.
20336 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20337 (_IOFBF): Use macro-int-constant.
20338 (_IOLBF): Likewise.
20339 (_IONBF): Likewise.
20340 (SEEK_CUR): Likewise.
20341 (SEEK_END): Likewise.
20342 (SEEK_SET): Likewise.
20343 (TMP_MAX): Likewise.
20344 (EOF): Use macro-int-constant. Require < 0.
20345 (NULL): Use macro-constant. Require == 0.
20346 (stdin): Require type to be FILE *.
20347 (stdout): Likewise.
20348 (stderr): Likewise.
20349 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20350 macro-int-constant.
20351 (EXIT_SUCCESS): Likewise.
20352 (NULL): Use macro-constant. Require == 0.
20353 (RAND_MAX): Use macro-int-constant.
20354 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20355 [C99-based standards] (strtof): Require function.
20356 [C99-based standards] (strtold): Likewise.
20357 [C99-based standards] (strtoll): Likewise.
20358 [C99-based standards] (strtoull): Likewise.
20359 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20360 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20361 [ISO || ISO99 || ISO11] (math.h): Likewise.
20362 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20363 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20365
d18ea0c5
AS
203662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20367
20368 [BZ #14132]
56d25bb8
AS
20369 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20370 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20371 * intl/dgettext.c (DCGETTEXT): Likewise.
20372 * intl/gettext.c (DCGETTEXT): Likewise.
20373 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20374 * posix/regex_internal.h (gettext): Likewise.
20375 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20376 Remove declaration.
20377 * include/argz.h (__argz_count_internal)
20378 (__argz_stringify_internal): Remove declaration.
20379 (__argz_count, __argz_stringify): Declare hidden proto.
20380 * intl/dcgettext.c: Remove use of INTDEF.
20381 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20382 * string/argz-stringify.c: Likewise.
20383 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20384 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20385 Declare hidden proto.
d18ea0c5
AS
20386 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20387 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20388 Declare hidden proto.
20389 * include/stdio.h (__asprintf_internal): Don't declare.
20390 (__asprintf): Don't define as macro. Declare hidden proto.
20391 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20392 (__fsetlocking): Declare hidden proto.
20393 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20394 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20395 hidden proto.
20396 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20397 (_IO_setlinebuf): Remove use of INTUSE.
20398 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20399 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20400 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20401 Remove declaration.
20402 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20403 (_IO_do_flush): Remove use of INTUSE.
20404 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20405 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20406 (_IO_adjust_column, _IO_least_wmarker)
20407 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20408 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20409 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20410 (_IO_default_doallocate, _IO_wdefault_doallocate)
20411 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20412 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20413 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20414 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20415 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20416 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20417 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20418 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20419 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20420 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20421 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20422 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20423 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20424 proto.
20425 (_IO_flush_all_internal, _IO_adjust_column_internal)
20426 (_IO_default_uflow_internal, _IO_default_finish_internal)
20427 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20428 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20429 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20430 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20431 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20432 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20433 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20434 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20435 (_IO_file_close_internal, _IO_file_close_it_internal)
20436 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20437 (_IO_file_init_internal, _IO_file_attach_internal)
20438 (_IO_file_fopen_internal, _IO_file_read_internal)
20439 (_IO_file_sync_internal, _IO_file_seek_internal)
20440 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20441 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20442 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20443 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20444 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20445 (_IO_list_all_internal, _IO_link_in_internal)
20446 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20447 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20448 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20449 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20450 (_IO_do_write_internal, _IO_padn_internal)
20451 (_IO_getline_info_internal, _IO_getline_internal)
20452 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20453 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20454 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20455 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20456 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20457 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20458 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20459 with libc_hidden_ver, remove use of INTUSE.
20460 * libio/genops.c: Likewise.
20461 * libio/freopen.c: Likewise.
20462 * libio/freopen64.c: Likewise.
20463 * libio/iofclose.c: Likewise.
20464 * libio/iofdopen.c: Likewise.
20465 * libio/iofflush.c: Likewise.
20466 * libio/iofflush_u.c: Likewise.
20467 * libio/iofgets.c: Likewise.
20468 * libio/iofgets_u.c: Likewise.
20469 * libio/iofopen.c: Likewise.
20470 * libio/iofopncook.c: Likewise.
20471 * libio/iofread.c: Likewise.
20472 * libio/iofread_u.c: Likewise.
20473 * libio/ioftell.c: Likewise.
20474 * libio/iofwrite.c: Likewise.
20475 * libio/iogetline.c: Likewise.
20476 * libio/iogets.c: Likewise.
20477 * libio/iogetwline.c: Likewise.
20478 * libio/iopadn.c: Likewise.
20479 * libio/iopopen.c: Likewise.
20480 * libio/ioseekoff.c: Likewise.
20481 * libio/ioseekpos.c: Likewise.
20482 * libio/iosetbuffer.c: Likewise.
20483 * libio/iosetvbuf.c: Likewise.
20484 * libio/ioungetc.c: Likewise.
20485 * libio/ioungetwc.c: Likewise.
20486 * libio/iovdprintf.c: Likewise.
20487 * libio/iovsprintf.c: Likewise.
20488 * libio/iovsscanf.c: Likewise.
20489 * libio/memstream.c: Likewise.
20490 * libio/obprintf.c: Likewise.
20491 * libio/oldfileops.c: Likewise.
20492 * libio/oldiofclose.c: Likewise.
20493 * libio/oldiofdopen.c: Likewise.
20494 * libio/oldiofopen.c: Likewise.
20495 * libio/oldiopopen.c: Likewise.
20496 * libio/oldstdfiles.c: Likewise.
20497 * libio/putc.c: Likewise.
20498 * libio/setbuf.c: Likewise.
20499 * libio/setlinebuf.c: Likewise.
20500 * libio/stdfiles.c: Likewise.
20501 * libio/strops.c: Likewise.
20502 * libio/vasprintf.c: Likewise.
20503 * libio/vscanf.c: Likewise.
20504 * libio/vsnprintf.c: Likewise.
20505 * libio/vswprintf.c: Likewise.
20506 * libio/wfiledoalloc.c: Likewise.
20507 * libio/wfileops.c: Likewise.
20508 * libio/wgenops.c: Likewise.
20509 * libio/wmemstream.c: Likewise.
20510 * libio/wstrops.c: Likewise.
20511 * libio/__fpurge.c: Likewise.
20512 * libio/__fsetlocking.c: Likewise.
20513 * assert/assert.c: Likewise.
20514 * debug/fgets_chk.c: Likewise.
20515 * debug/fgets_u_chk.c: Likewise.
20516 * debug/fread_chk.c: Likewise.
20517 * debug/fread_u_chk.c: Likewise.
20518 * debug/gets_chk.c: Likewise.
20519 * debug/obprintf_chk.c: Likewise.
20520 * debug/vasprintf_chk.c: Likewise.
20521 * debug/vdprintf_chk.c: Likewise.
20522 * debug/vsnprintf_chk.c: Likewise.
20523 * debug/vsprintf_chk.c: Likewise.
20524 * malloc/mtrace.c: Likewise.
20525 * misc/error.c: Likewise.
20526 * misc/syslog.c: Likewise.
20527 * stdio-common/asprintf.c: Likewise.
20528 * stdio-common/fxprintf.c: Likewise.
20529 * stdio-common/getw.c: Likewise.
20530 * stdio-common/isoc99_fscanf.c: Likewise.
20531 * stdio-common/isoc99_scanf.c: Likewise.
20532 * stdio-common/isoc99_vfscanf.c: Likewise.
20533 * stdio-common/isoc99_vscanf.c: Likewise.
20534 * stdio-common/isoc99_vsscanf.c: Likewise.
20535 * stdio-common/printf-prs.c: Likewise.
20536 * stdio-common/printf_fp.c: Likewise.
20537 * stdio-common/printf_fphex.c: Likewise.
20538 * stdio-common/printf_size.c: Likewise.
20539 * stdio-common/putw.c: Likewise.
20540 * stdio-common/scanf.c: Likewise.
20541 * stdio-common/sprintf.c: Likewise.
20542 * stdio-common/tmpfile.c: Likewise.
20543 * stdio-common/vfprintf.c: Likewise.
20544 * stdio-common/vfscanf.c: Likewise.
20545 * stdlib/strfmon_l.c: Likewise.
20546 * sunrpc/openchild.c: Likewise.
20547 * sunrpc/xdr_stdio.c: Likewise.
20548 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20549 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20550
d6c33fda
RM
205512012-05-24 Roland McGrath <roland@hack.frob.com>
20552
c1487492
RM
20553 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20554
20555 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20556 in the third column, to generate for the shared library an IFUNC
20557 that uses _dl_vdso_vsym.
20558 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20559 * Makeconfig (object-suffixes-noshared): New variable.
20560
20561 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20562 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20563 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20564 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20565
d6c33fda
RM
20566 [BZ #14132]
20567 * include/sys/time.h (__gettimeofday): Remove macro.
20568 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20569 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20570 Remove INTDEF.
20571 (__gettimeofday): Add libc_hidden_def.
20572 (gettimeofday): Add libc_hidden_weak.
20573 * sysdeps/mach/gettimeofday.c: Likewise.
20574 * sysdeps/posix/gettimeofday.c: Likewise.
20575 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20576 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20578 (__gettimeofday_internal): Remove strong_alias.
20579 (__gettimeofday): Add libc_hidden_def.
20580 (gettimeofday): Add libc_hidden_weak.
20581 * sysdeps/unix/syscalls.list (gettimeofday):
20582 Remove __gettimeofday_internal alias.
20583
b5a2bbe6
L
205842012-05-24 Daniel Jacobowitz <drow@false.org>
20585 H.J. Lu <hongjiu.lu@intel.com>
20586
20587 [BZ #12495]
20588 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20589 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20590 (largebin_index_32_big): New.
20591 (largebin_index): Use it for 16-byte alignment.
20592 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20593 correction with front_misalign.
20594
cfba4fda
L
205952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20596
7f907421
L
20597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20599 Likewise.
20600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20601 Likewise.
20602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20603 Likewise.
20604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20605 Likewise.
20606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20607 Likewise.
20608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20609 Likewise.
20610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20611 Likewise.
20612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20613 Likewise.
20614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20615 Likewise.
20616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20617 Likewise.
20618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20619 Likewise.
20620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20621 Likewise.
20622
cfba4fda
L
20623 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20624 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20625
80bad0cc
JM
206262012-05-24 Joseph Myers <joseph@codesourcery.com>
20627
7a25eb06
JM
20628 [BZ #10846]
20629 [BZ #14036]
20630 * math/libm-test.inc (exp_test): Add test from bug 14036.
20631 (pow_test): Add test from bug 10846.
20632
795405f9
JM
20633 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20634 and other flags.
20635 (special_function): Do not include flags in test name.
20636 (parse_args): Likewise.
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20639 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20640 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20642
80bad0cc
JM
20643 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20644 exceptions.
20645 * math/libm-test.inc ("Philosophy"): Update comment about
20646 exception testing.
20647 (UNDERFLOW_EXCEPTION): New macro.
20648 (UNDERFLOW_EXCEPTION_OK): Likewise.
20649 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20650 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20651 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20652 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20653 (INVALID_EXCEPTION_OK): Update value.
20654 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20655 (OVERFLOW_EXCEPTION_OK): Likewise.
20656 (IGNORE_ZERO_INF_SIGN): Likewise.
20657 (test_exceptions): Handle underflow exceptions.
20658 (acos_test): Update for underflow exception expectations.
20659 (cexp_test): Likewise.
20660 (clog_test): Likewise.
20661 (clog10_test): Likewise.
20662 (csqrt_test): Likewise.
20663 (ctan_test): Likewise.
20664 (ctanh_test): Likewise.
20665 (exp_test): Likewise.
20666 (exp10_test): Likewise.
20667 (exp2_test): Likewise.
20668 (expm1_test): Likewise.
20669 (fma_test): Likewise.
20670 (j0_test): Likewise.
20671 (jn_test): Likewise.
20672 (nexttoward_test): Likewise.
20673 (pow_test): Likewise.
20674 (scalbn_test): Likewise.
20675 (scalbln_test): Likewise.
20676 (tan_test): Likewise.
20677 (y1_test): Likewise.
20678 * sysdeps/i386/fpu/libm-test-ulps: Update.
20679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20680
9e0e3d0b
DM
206812012-05-23 David S. Miller <davem@davemloft.net>
20682
20683 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20684 (__libc_sigaction): Remove unused local variables.
20685
ccd0a08f
L
206862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20687
20688 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20689
62bdf9a6
PE
206902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20691
f8591f80
PE
20692 mktime: avoid signed integer overflow
20693 * time/mktime.c (__mktime_internal): Do not mishandle the case
20694 where diff == INT_MIN.
20695
94c7d826
PE
20696 mktime: simplify computation of average
20697 * time/mktime.c (ranged_convert): Use new time_t_avg function
20698 instead of rolling our own (probably-slower) code.
20699
ce73d683
PE
20700 mktime: do not assume signed right shift propagates sign bit
20701 * time/mktime.c (isdst_differ): New static function.
20702 (__mktime_internal): No need to normalize tm_isdst now.
20703 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20704 tm_isdst values.
20705
72a22e59
PE
20706 mktime: merge another wrapv change from gnulib
20707 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20708 from some compilers.
20709
68605433
PE
20710 mktime: remove incorrect attempt at unusual arithmetics
20711 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20712 The code didn't really work on such machines anyway.
20713 (TYPE_MINIMUM): Assume two's complement.
20714 (twos_complement_arithmetic): Verify that long_int and time_t
20715 are two's complement (or unsigned, in the latter case).
20716
03cf7fe3
PE
20717 mktime: check signed shifts on long_int and time_t, too
20718 * time/mktime.c (SHR): Check that shifts work as desired
20719 on the types long_int and time_t too, as SHR is used on
20720 such types.
20721
f04dfbc2
PE
20722 mktime: do not assume 'long' is wide enough
20723 * time/mktime.c (verify): Move decl up.
20724 (long_int): New type.
20725 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20726 to remove assumption in the code that 'long' is wide enough to
20727 store year values. This assumption is not true on x32 and on
20728 some non-glibc platforms.
20729
62bdf9a6
PE
20730 mktime: merge wrapv change from gnulib
20731 * time/mktime.c (WRAPV): New macro.
20732 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20733 (guess_time_tm, __mktime_internal): Do not assume that signed
20734 integer overflow wraps around; modern compilers generate code
20735 where this assumption is no longer valid.
20736
5e292e4f
L
207372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20740 Replace "jmp L(pseudo_end)" with "ret".
20741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20742 Likewise.
20743
8caf8c87
AJ
207442012-05-23 Andreas Jaeger <aj@suse.de>
20745
20746 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20747 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20748
1a09dc56
AJ
207492012-05-23 Andreas Jaeger <aj@suse.de>
20750 Maximilian Attems <max@stro.at>
20751
20752 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20753 New macros.
20754
1c87aba0
L
207552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20756
20757 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20758 code so that pseudo_end is just ret and the stack pointer is
20759 correct also for static library in error case.
20760
40e45bd5
JM
207612012-05-23 Joseph Myers <joseph@codesourcery.com>
20762
c2670533
JM
20763 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20764 move to syscalls.list.
20765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20769
40e45bd5
JM
20770 * manual/install.texi (Running make install): Do not mention Linux
20771 kernel version for which pt_chown is not needed.
20772 (Linux): Do not mention problems with nscd with 2.0 kernels.
20773 * INSTALL: Regenerated.
20774
be08eda5
AJ
207752012-05-23 Andreas Jaeger <aj@suse.de>
20776
20777 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20778 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20779 macro.
20780 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20781 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20782 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20783 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20784 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20785 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20786 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20787 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20788 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20790 * sysdeps/unix/sysv/linux/bits/in.h
20791 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20792
a6a056bb
RM
207932012-05-22 Roland McGrath <roland@hack.frob.com>
20794
20795 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20796 (PREPARE_VERSION): Just use assert instead, it will be elided
20797 under [NDEBUG] anyway.
20798
c9009328
L
207992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20800
20801 * sysdeps/unix/sysv/linux/Makefile: Include
20802 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20803 (sysdep_routines): Remove sysctl.
c9009328
L
20804 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20805 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20806 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20807 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20808 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20809
73338355
AJ
208102012-05-22 Andreas Jaeger <aj@suse.de>
20811
20812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20813 that pseudo_end is just ret and the stack pointer is correct also
20814 for static library in error case.
20815
d44638b0
PP
208162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20817
20818 [BZ #14122]
20819 * nss/nsswitch.c (defconfig_entries): New variable.
20820 (__nss_database_lookup): Don't leak defconfig entries.
20821 (nss_parse_service_list): Don't leak on error paths.
20822 (free_database_entries): New function.
20823 (free_defconfig): New function.
20824 (free_mem): Move common code to free_database_entries.
20825
31a39bd8
L
208262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20827
da0331a8
L
20828 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20829 Add arch_prctl.
20830 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20831
31a39bd8
L
20832 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20833 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20835 New macro.
20836 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20837 (INTERNAL_SYSCALL_TYPES): Likewise.
20838 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20839 (LOAD_REGS_TYPES_[1-6]): Likewise.
20840 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20841 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20842
45470df3
AZ
208432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20844
20845 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20846 copysignl for GLIBC_2_0.
20847 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20848 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20850 logbl for GLIBC_2_0.
20851 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20852 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20853
98a61bcb
L
208542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20855
a4f6e481
L
20856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20857 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20858
f63d5db6
L
20859 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20860 Use "neg %eax".
20861
98a61bcb
L
20862 * time/mktime.c: Update copyright years.
20863
95770f14
PE
208642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20865
6226efbd
PE
20866 mktime: merge comment-quoting-style change from gnulib
20867 * time/mktime.c: Quote 'like this' in comments.
20868 The GNU coding standards suggest that we no longer quote `like this',
20869 as "`" and "'" are typically rendered asymmetrically nowadays.
20870 The typical gnulib style is to quote 'like this' when quoting
20871 code, and "like this" when quoting English.
20872
b99e4f78
PE
20873 * time/mktime.c (compile-command): Add "-I.".
20874
643e01e6
PE
20875 mktime: merge mktime-internal.h change from gnulib
20876 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20877
2554247d
PE
20878 mktime: merge time_r change from gnulib
20879 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20880
826dd0ab
PE
20881 mktime: merge DEBUG change from gnulib
20882 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20883 case system <time.h> has a #define.
20884
bd83aabe
PE
20885 mktime: merge <sys/types.h> change from gnulib
20886 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20887 since <time.t> is now guaranteed to define time_t.
20888
95770f14
PE
20889 mktime: merge HAVE_CONFIG_H change from gnulib
20890 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20891
5e1a27a9
L
208922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20893
0e44a77e
L
20894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20895 Use "neg %eax".
20896
5e1a27a9
L
20897 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20898 __rlim_t cast.
20899 (struct rusage): Use anonymous union to pad each field to
20900 __syscall_slong_t.
20901
46259bec
DM
209022012-05-21 David S. Miller <davem@davemloft.net>
20903
20904 * Makefules (o-iterator): Remove .s cases.
20905 (compile-command.s): Delete.
20906 (COMPILE.s): Delete.
20907 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20908
59f0c22e
JM
209092012-05-21 Joseph Myers <joseph@codesourcery.com>
20910
20911 * configure.in (libc_cv_predef_stack_protector): Only consider
20912 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20913 * configure: Regenerated.
20914
20c07380
L
209152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20916
bbb3154b
L
20917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20918 New macro. Use R*LP on int and pointer.
20919 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20920 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20921 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20922 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20923
20c07380
L
20924 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20925 [__WORDSIZE_TIME64_COMPAT32] instead of
20926 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20927 (struct utmp): Likewise.
20928 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20929 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20930 Renamed to ...
20931 (__WORDSIZE_TIME64_COMPAT32): This.
20932 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20933 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20934 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20935 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20936 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20937 (__WORDSIZE_TIME64_COMPAT32): New macro.
20938
d8d1017e
AJ
209392012-05-21 Andreas Jaeger <aj@suse.de>
20940
20941 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20942 only if [SHARED]. Add prototype for __wcschr_ia32.
20943
6c7fb145
RM
209442012-05-21 Roland McGrath <roland@hack.frob.com>
20945
20946 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20947 of %rbp unmolested in the jmp_buf while mangling the low bits.
20948 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20949 unmolested high bits of %rbp while demangling the low bits.
20950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20951
66274218
AJ
209522012-05-21 Andreas Jaeger <aj@suse.de>
20953
07c58f8f
AJ
20954 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20955 * sunrpc/svc_simple.c: Use it for registerrpc.
20956 * sunrpc/xcrypt.c: Use it for passwd2des.
20957
66274218
AJ
20958 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20959
61f65140
L
209602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20963 Don't define if [__SYSCALL_WORDSIZE != 32].
20964 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20965 New macro.
20966
5fefb436
AJ
209672012-05-21 Bruno Haible <bruno@clisp.org>
20968 Andreas Jaeger <aj@suse.de>
20969
20970 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20971 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20972 inptr and inend for must_buffer_ch.
20973 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20974 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20975 * stdio-common/Makefile (tests): Remove bug15.
20976 (bug15-ENV): Remove macro.
20977 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20978 anymore.
20979
d8e272ab
AJ
209802012-05-19 Andreas Jaeger <aj@suse.de>
20981 Roland McGrath <roland@hack.frob.com>
20982
20983 * manual/contrib.texi: Completely rewritten. It contains now an
20984 alphabetical list of contributors and their contributions.
20985
4a56a162
RH
209862012-05-21 Richard Henderson <rth@twiddle.net>
20987
20988 * misc/getauxval.c (__getauxval): Use unsigned long int.
20989 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20990 (getauxval): Use unsigned long int.
20991
d024d23c
L
209922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20993
20994 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20995
cbc00a03
RM
209962012-05-21 Roland McGrath <roland@hack.frob.com>
20997
20998 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20999 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21000 __alignof__ (long double).
21001
478143fa
AZ
210022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21003
21004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21005
c7683a6d
RH
210062012-05-20 Richard Henderson <rth@twiddle.net>
21007
21008 * misc/getauxval.c: New file.
21009 * misc/sys/auxv.h: New file.
21010 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21011 (routines): Add getauxval.
21012 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21013 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21014 * elf/dl-sysdep.c (_dl_auxv): Remove.
21015 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21016 * elf/dl-support.c (_dl_auxv): New variable.
21017 (_dl_aux_init): Initialize it.
21018 * manual/startup.texi (Auxiliary Vector): New node.
21019 * sysdeps/generic/bits/hwcap.h: New file.
21020 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21021 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21022 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21023 * sysdeps/sparc/sysdep.h: ... here. Include it.
21024 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21025 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21027 Update.
c7683a6d
RH
21028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21031 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21036
a6f1845d
AZ
210372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21038
21039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21040
cbcbe830
DM
210412012-05-19 David S. Miller <davem@davemloft.net>
21042
21043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21044
e0b16cc2
JM
210452012-05-19 Joseph Myers <joseph@codesourcery.com>
21046
21047 [BZ #14123]
21048 * math/s_ccosh.c: Include <float.h>
21049 (__ccosh): Avoid internal overflow calculating sinh and cosh
21050 values before multiplying by sin and cos values.
21051 * math/s_ccoshf.c: Likewise.
21052 * math/s_ccoshl.c: Likewise.
21053 * math/s_csin.c: Likewise.
21054 * math/s_csinf.c: Likewise.
21055 * math/s_csinl.c: Likewise.
21056 * math/s_csinh.c: Likewise.
21057 * math/s_csinhf.c: Likewise.
21058 * math/s_csinhl.c: Likewise.
21059 * math/libm-test.inc (ccos_test): Add more tests.
21060 (ccosh_test): Likewise.
21061 (csin_test): Likewise.
21062 (csinh_test): Likewise.
21063 * sysdeps/i386/fpu/libm-test-ulps: Update.
21064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21065
6ad13e08
L
210662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21067
f66f0ce8
L
21068 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21069 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21070
6ad13e08
L
21071 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21072
b1d072a7
JM
210732012-05-19 Joseph Myers <joseph@codesourcery.com>
21074
21075 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21076 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21077 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21078 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21079 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21080 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21081 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21082 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21083 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21084 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21085 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21086 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21087 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21088 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21089 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21090 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21091 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21092 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21093 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21094 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21095 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21096 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21097 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21098 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21099 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21100 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21101 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21102 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21103 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21104 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21105 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21106
9eae47cb
AJ
211072012-05-18 Andreas Jaeger <aj@suse.de>
21108
21109 * csu/.gitignore: Delete.
21110
bb07f69f
L
211112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21112
21113 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21114 (timex): Use __syscall_slong_t.
21115
e6bdb741
AJ
211162012-05-18 Andreas Jaeger <aj@suse.de>
21117 Carlos O'Donell <carlos_odonell@mentor.com>
21118
21119 * manual/install.texi (Configuring and compiling): Update
21120 description about files modified in the source directory.
d6c33fda 21121 * INSTALL: Regenerated.
e6bdb741 21122
1b74487e
L
211232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21124
21125 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21126 value. Use "or" to set return value to -1.
21127 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21128 negate return value.
21129
a88b64b9
TMQMF
211302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21131
21132 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21133 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21134 failure if the compiler has Graphite support disabled.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21136 Likewise.
21137 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21138 CFLAGS-memmove.c): Likewise.
21139 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21140 Likewise.
21141
3707636e
L
211422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21143
610b8622
L
21144 * sysdeps/x86_64/x32/_itoa.h: New file.
21145
7cd195df
L
21146 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21147 getdents system call only if kernel and user dirents have the
21148 same d_ino and d_off.
21149
94b07d20
L
21150 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21151 LLONG_MAX != LONG_MAX.
21152 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21153 (_fitoa_word): Likewise.
21154
18298070
L
21155 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21156 years.
21157 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21158 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21159 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21160
553c7ea4
L
21161 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21162 include <bits/wordsize.h>. Check __x86_64__ instead of
21163 __WORDSIZE.
21164 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21165 if __x86_64__ is defined. Use anonymous union on fpstate.
21166
3707636e
L
21167 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21168 anonymous union.
21169
b53ef01a
AS
211702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21171
37fb1dc0
AS
21172 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21173 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21174 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21175 Refer to _rtld_local_ro instead of _rtld_global_ro.
21176 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21177 Likewise.
21178 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21179 Likewise.
21180 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21181 Likewise.
21182 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21183 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21184 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21185
b53ef01a
AS
21186 * sysdeps/powerpc/powerpc32/dl-machine.c
21187 (__elf_machine_runtime_setup) [PROF]: Don't reference
21188 _dl_prof_resolve.
21189
7a185db2
AJ
211902012-05-18 Andreas Jaeger <aj@suse.de>
21191
21192 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21193 function only available for GCCs before 3.4 since GCC 3.4
21194 introduced a builtin.
21195 (lrint): Likewise.
21196 (llrintf): Likewise.
21197 (llrint): Likewise.
21198 (fmaxf): Likewise.
21199 (fmax): Likewise.
21200 (fminf): Likewise.
21201 (fmin): Likewise.
21202 (rint): Likewise.
21203 (rintf): Likewise.
21204 (nearbyint): Likewise.
21205 (nearbyintf): Likewise.
21206 (ceil): Likewise.
21207 (ceilf): Likewise.
21208 (floor): Likewise.
21209 (floorf): Likewise.
21210
3e5aef87
L
212112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21212
428bd707
L
21213 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21214 on both fields and cast pointer to __syscall_ulong_t.
21215
3e5aef87
L
21216 * bits/types.h (__fsword_t): New type.
21217 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21218 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21220 (__FSWORD_T_TYPE): Likewise.
21221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21222 (__FSWORD_T_TYPE): Likewise.
21223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21224 (__FSWORD_T_TYPE): Likewise.
21225 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21226 (__FSWORD_T_TYPE): Likewise.
21227 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21228 __SWORD_TYPE with __fsword_t.
21229 (statfs64): Likewise.
21230
1ba7c3dc
DM
212312012-05-17 David S. Miller <davem@davemloft.net>
21232
21233 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21234
59910343
AJ
212352012-05-17 Andreas Jaeger <aj@suse.de>
21236
21237 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21238 warning.
21239
2e4c1e9e
L
212402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21241
21242 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21243
de7f5ce7
AJ
212442012-05-17 Andreas Jaeger <aj@suse.de>
21245
21246 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21247 when it is used.
21248
286abc3d
CM
212492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21250
21251 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21252
477cc68e
L
212532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21254
21255 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21256 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21257
1a0994f5
CD
212582012-05-17 Andreas Jaeger <aj@suse.de>
21259 Carlos O'Donell <carlos_odonell@mentor.com>
21260
21261 [BZ #14059]
21262 * sysdeps/x86_64/multiarch/init-arch.h
21263 (bit_YMM_Usable): Rename to...
21264 (bit_AVX_Usable): ... this.
21265 (bit_FMA4_Usable): New macro.
21266 (bit_XMM_state): New macro.
21267 (bit_YMM_state): New macro.
21268 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21269 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21270 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21271 (CPUID_OSXSAVE): New macro.
21272 (CPUID_AVX): New macro.
21273 (CPUID_FMA4): New macro.
21274 (index_YMM_Usable): Rename to...
21275 (index_AVX_Usable): ... this.
21276 (HAS_AVX): Use HAS_ARCH_FEATURE.
21277 (HAS_FMA4): Likewise.
21278 (HAS_YMM_USABLE): Remove.
21279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21280 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21281 are present.
21282 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21283 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21284 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21285 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21286 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21287
0af797de
CM
212882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21289
21290 * math/libm-test.c: Support platforms without multiple rounding modes.
21291 * math/bug-nextafter.c: Support platforms without FP exceptions.
21292 * math/bug-nexttoward.c: Likewise.
21293 * math/test-fenv.c: Likewise.
21294 * math/test-misc.c: Likewise.
21295 * stdlib/bug-getcontext.c: Likewise.
21296
e39745ff
AJ
212972012-05-17 Andreas Jaeger <aj@suse.de>
21298
21299 * manual/examples/search.c (critter_cmp): Change signature to
21300 avoid warnings.
21301 * manual/string.texi (Collation Functions): Likewise.
21302
48970aba
L
213032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21304
21305 * bits/types.h: Fold copyright years.
21306 * bits/typesizes.h: Likewise.
21307 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21311 * time/time.h: Likewise.
21312
bedee953
PP
213132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21314
21315 [BZ #208]
21316 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21317 in instead of returning them. Return void.
21318 (__libc_mallinfo): Accumulate over all arenas.
21319 (__malloc_stats): Adjust for change in int_mallinfo interface.
21320
61653dfb
RM
213212012-05-16 Roland McGrath <roland@hack.frob.com>
21322
30b99d79
RM
21323 [BZ #10375]
21324 * configure.in (NM): Add AC_CHECK_TOOL for it.
21325 (libc_extra_cflags): New substituted variable.
21326 Check for -fstack-protector being used implicitly.
21327 * configure: Regenerated.
21328 * config.make.in (config-extra-cflags): New variable,
21329 gets @libc_extra_cflags@.
21330 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21331
61653dfb
RM
21332 [BZ #10375]
21333 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21334 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21335 * configure: Regenerated.
21336 * config.make.in (CPPUNDEFS): New substituted variable.
21337 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21338 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21339 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21340
661768bb
L
213412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21342
21343 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21344 (mq_attr): Use __syscall_slong_t.
21345
d4261567
L
213462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21347
21348 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21349 Check __x86_64__ instead of __WORDSIZE.
21350 (_STAT_VER_LINUX): Likewise.
21351 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21352 __syscall_ulong_t and __syscall_slong_t.
21353 (stat64): Likewise.
21354
cf3ff365
L
213552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21358
76cf3e4d
L
213592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21360
21361 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21362
a637753a
L
213632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21364
21365 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21366 __syscall_ulong_t.
21367
d5e05119
L
21368 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21369 include <bits/wordsize.h>. Check __x86_64__ instead of
21370 __WORDSIZE.
21371 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21372 defined.
21373 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21374
f62ee380
L
21375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21376 include <bits/wordsize.h>. Check __x86_64__ instead of
21377 __WORDSIZE.
21378 (user_regs_struct): Use "__extension__ unsigned long long"
21379 instead of "unsigned long" if __x86_64__ is defined.
21380 (user): Likewise. Pad after pointer field if __ILP32__ is
21381 defined.
21382
4e124ced
JM
213832012-05-16 Joseph Myers <joseph@codesourcery.com>
21384
6a3951a0
JM
21385 * configure.in (makeinfo): Require version 4.5 or later. Allow
21386 versions 5 to 9.
21387 * configure: Regenerated.
21388 * manual/install.texi (texinfo): Increase version requirement to
21389 4.5 or later.
21390 * INSTALL: Regenerated.
21391
4e124ced
JM
21392 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21393
953ca31a
L
213942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21395
21396 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21397
617aca05
L
21398 * sysdeps/x86_64/x32/ffs.c: New file.
21399
5762f7ae
L
21400 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21401 __syscall_ulong_t.
21402 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21403 defined. Use __syscall_ulong_t.
21404 (shminfo): Use __syscall_ulong_t.
21405 (shm_info): Likewise.
21406
a26b6856
L
21407 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21408 __syscall_ulong_t.
21409
cb2b9ef7
L
21410 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21411 <bits/wordsize.h>.
21412 (msgqnum_t): Use __syscall_ulong_t.
21413 (msglen_t): Likewise.
21414 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21415 __syscall_ulong_t.
21416
34683bb0
L
21417 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21418 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21419
84a68786
L
21420 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21421
48baa5f1
L
21422 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21423 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21424
180be88b
L
21425 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21426 __syscall_slong_t.
21427
5e90c8ad
L
21428 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21429 include <bits/wordsize.h>. Check __x86_64__ instead of
21430 __WORDSIZE.
21431
23dfb58b
L
21432 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21433 "unsigned long long int" if __x86_64__ is defined.
21434 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21435
ce5d54b0
L
21436 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21437 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21438 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21439
13dc9eac
L
21440 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21441 <stdint.h>.
21442 (GET_PC): Cast to uintptr_t first.
21443 (GET_FRAME): Likewise.
21444 (GET_STACK): Likewise.
21445
a7895d15
L
21446 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21447 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21448 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21450 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21452 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21453 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21454 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21455 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21456 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21457 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21458 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21459 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21460 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21461 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21463 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21465 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21469 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21471 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21473 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21475
656416c9
AS
214762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21477
5bd66283
AS
21478 * Makerules (+depfiles): Also collect depfiles from .oS in
21479 $(extra-objs).
21480 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21481 .oS, $(libnldbl-routines)).
21482
656416c9
AS
21483 * Makerules (native-compile-mkdep-flags): Define.
21484 * sunrpc/Makefile (extra-objs): Add $(addprefix
21485 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21486 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21487 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21488 calling $(make-target-directory).
21489
a46f2169
L
214902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21491
21492 * bits/types.h (__snseconds_t): Removed.
21493 * time/time.h (struct timespec): Replace __snseconds_t with
21494 __syscall_slong_t.
21495 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21496 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21497 Likewise.
21498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21499 (__SNSECONDS_T_TYPE): Likewise.
21500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21501 (__SNSECONDS_T_TYPE): Likewise.
21502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21503 (__SNSECONDS_T_TYPE): Likewise.
21504
6af6528b
L
215052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/mach/hurd/bits/typesizes.h
21508 (__SYSCALL_SLONG_TYPE): New macro.
21509 (__SYSCALL_ULONG_TYPE): Likewise.
21510
de986b56
L
215112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21512
21513 * bits/types.h (__syscall_slong_t): New type.
21514 (__syscall_ulong_t): Likewise.
21515
21516 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21517 (__SYSCALL_ULONG_TYPE): Likewise.
21518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21519 (__SYSCALL_SLONG_TYPE): Likewise.
21520 (__SYSCALL_ULONG_TYPE): Likewise.
21521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21522 (__SYSCALL_SLONG_TYPE): Likewise.
21523 (__SYSCALL_ULONG_TYPE): Likewise.
21524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21525 (__SYSCALL_SLONG_TYPE): Likewise.
21526 (__SYSCALL_ULONG_TYPE): Likewise.
21527
85736dc7
L
215282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21529
21530 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21531 Add sigaltstack-offsets.sym.
21532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21533 <sigaltstack-offsets.h>.
21534 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21535 longjmp_msg pointer.
21536 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21537 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21538 signal stack.
21539 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21540
cc03b296
JM
215412012-05-15 Joseph Myers <joseph@codesourcery.com>
21542
a9538892
JM
21543 * elf/stackguard-macros.h: Remove file.
21544 * sysdeps/generic/stackguard-macros.h: New file.
21545 * sysdeps/i386/stackguard-macros.h: Likewise.
21546 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21547 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21548 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21549 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21550 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21551 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21552 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21553 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21554 <elf/stackguard-macros.h>.
21555
cc03b296
JM
21556 [BZ #14109]
21557 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21558 __aligned__ in attribute.
21559 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21560 (gregset_t): Likewise.
21561
93171016
L
215622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21565 * sysdeps/x86_64/64/Implies-after: Here. New file.
21566 * sysdeps/x86_64/x32/Implies-after: New file.
21567
d86813a0
L
215682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21569
21570 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21571 and access return value for _dl_profile_fixup. Use R10_LP to
21572 load frame size.
21573
2953ec75
L
215742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21575
21576 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21577
3b550e9e
L
215782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21581 * sysdeps/x86_64/x32/sysdep.h: New file.
21582
eda41706
L
215832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21584
21585 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21586 * sysdeps/x86_64/setjmp.S: Likewise.
21587
9ea01d93
AZ
215882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21589
21590 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21591 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21592 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21593 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21594 remove unused global constant.
21595
02a91938
CM
215962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21597
21598 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21599 include of <not-cancel.h>.
21600
6540185f
RM
216012012-05-15 Roland McGrath <roland@hack.frob.com>
21602
21603 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21604
509072a0
AJ
216052012-05-15 Jeff Law <law@redhat.com>
21606 Andreas Jaeger <aj@suse.de>
21607
21608 [BZ #13594]
21609 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21610 out from...
21611 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21612 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21613 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21614 code changing __hst_map_handle.map.
21615
ba75122d
RM
216162012-05-15 Roland McGrath <roland@hack.frob.com>
21617
21618 * configure.in (sysnames): Look for Implies-before and Implies-after
21619 files.
21620 * configure: Regenerated.
21621
890d8bd8
L
216222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21623
21624 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21625 8-byte data alignment with LP_SIZE alignment.
21626
f6ee6623
L
216272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21628
21629 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21630 into R10_LP.
21631
ea2626f6
L
216322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21635
085f715e
L
216362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21637
21638 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21639 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21640 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21641 Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21643
be8498fc
L
216442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21645
21646 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21647 (stackinfo_sub_sp): Likewise.
21648
70bc83b9
L
216492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21650
21651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21652 RAX_LP.
21653
9bc0b730
L
216542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21655
21656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21657 into R*_LP.
21658
6d2850e7
L
216592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21660
21661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21662 sizes into R*_LP.
21663
3cb84561
L
216642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21667
54e2ed81
L
216682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21669
21670 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21671 into R11_LP and load __x86_64_shared_cache_size_half into
21672 R8_LP.
21673
8a17f349
L
216742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21675
21676 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21677 R8_LP.
21678
777b1eea
AZ
216792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21680
21681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21682 logb for POWER7.
21683 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21684 logbf for POWER7.
21685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21686 logbl for POWER7.
21687 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21688 powerpc32/power7/fpu/s_logb.c via #include.
21689 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21690 powerpc32/power7/fpu/s_logbf.c via #include.
21691 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21692 powerpc32/power7/fpu/s_logbl.c via #include.
21693
d20d4ac2
JM
216942012-05-15 Joseph Myers <joseph@codesourcery.com>
21695
21696 * README.libm: Remove file.
21697
6cdef1ab
L
216982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21699
21700 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21701 count for x32. Use R*_LP and omit operand-size suffix.
21702
0b254d8f
L
217032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21704
21705 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21706 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21707 * sysdeps/x86_64/x32/shlib-versions: New file.
21708
ceb809dc
RM
217092012-05-14 Roland McGrath <roland@hack.frob.com>
21710
21711 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21712 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21713 Use _dl_fatal_printf instead.
21714
37f1abd4
JM
217152012-05-14 Joseph Myers <joseph@codesourcery.com>
21716
21717 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21718 set if not set by the user. Do not allow for being unset.
21719 * sysdeps/unix/sysv/linux/configure: Regenerated.
21720
11de3a33
L
217212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21722
21723 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21724 the `q' suffix from lea and replace .quad with ASM_ADDR.
21725
e02f153a
L
217262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21729 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21730 instead of $17.
21731 (PTR_DEMANGLE): Likewise.
21732
520ae0fd
L
217332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21734
21735 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21736 (LP_OP): Likewise.
21737 (ASM_ADDR): Likewise.
21738 (RAX_LP): Likewise.
21739 (RBP_LP): Likewise.
21740 (RBX_LP): Likewise.
21741 (RCX_LP): Likewise.
21742 (RDI_LP): Likewise.
21743 (RSI_LP): Likewise.
21744 (RSP_LP): Likewise.
21745 (R8_LP): Likewise.
21746 (R9_LP): Likewise.
21747 (R10_LP): Likewise.
21748 (R10_LP): Likewise.
21749 (R11_LP): Likewise.
21750 (R12_LP): Likewise.
21751 (R13_LP): Likewise.
21752 (R14_LP): Likewise.
21753 (R15_LP): Likewise.
21754
b985be81
L
217552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21756
21757 * sysdeps/x86_64/x32/dl-machine.h: New file.
21758
6a4888ff
AJ
217592012-05-14 Andreas Jaeger <aj@suse.de>
21760
21761 * manual/Makefile (subdir): Remove export of subdir.
21762 (all): Remove target.
21763 (.PHONY): Remove all from list.
21764 (mkinstalldirs): Remove.
21765 (.PHONY): Remove installdirs from list.
21766 ($(inst_infodir)/libc.info): Use make-target-directory.
21767 (installdirs): Remove.
21768 (subdir_%): Remove.
21769 (glibc-targets): Remove.
21770 (lib): Remove.
21771 (stubs): Remove.
21772 ($(objpfx)stubs ../po/manual.pot): Remove.
21773 ($(objpfx)stamp%): Remove.
21774 (make-target-directory): Remove.
21775 (subdir_install): Remove.
21776 (routines): Remove.
21777 (aux): Remove.
21778 (sources): Remove.
21779 (objects): Remove.
21780 (headers): Remove.
21781
21782 [BZ #13750]
21783 * manual/.gitignore: Remove, it's not needed anymore.
21784 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21785 all files in it.
21786 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21787 directory.
21788 (texis): Renamed to $(objpfx)texis.
21789 (texis-path): New, contains path to generated files.
21790 (chapters.%): Use texis-path for complete path, add extra argument
21791 libc-texinfo.sh.
21792 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21793 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21794 (summary,texi, stamp-summary): Use complete path of
21795 files. Generate files in build dir.
21796 (dir-add.texi): Build in build dir.
21797 (libm-err.texi,stamp-libm-err): Likewise.
21798 (version.texi, stamp-version): Likewise.
21799 (.%c.texi): Likewise.
21800 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21801 (mostlyclean): Remove target.
21802 (realclean): Remove target.
21803 (generated): Add new variable with contents from mostlyclean and
21804 realclean, remove entries duplicated in common-mostlyclean, add
21805 stamp-libm-err and stamp-version.
21806 (generated-dirs): Add libc directory.
21807 ($(inst_infodir)/libc.info): Install files from build dir.
21808
21809 * manual/install.texi (Configuring and compiling): Adjust since
21810 the info files are not part of the tar ball anymore.
21811
7ac77294
AJ
218122012-05-14 Andreas Jaeger <aj@suse.de>
21813
21814 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21815 variable.
21816
ffb7875d
JM
218172012-05-14 Joseph Myers <joseph@codesourcery.com>
21818
21819 [BZ #13717]
21820 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21821 to 2.2.0 where earlier.
21822 * sysdeps/unix/sysv/linux/configure: Regenerated.
21823 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21824 Remove conditional code.
21825 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21826 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21827 Remove conditional code.
21828 [!__NR_lchown]: Likewise.
21829 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21830 [__NR_lchown]: Likewise.
21831 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21832 comment referencing __ASSUME_LCHOWN_SYSCALL.
21833 * sysdeps/unix/sysv/linux/i386/sigaction.c
21834 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21835 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21836 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21837 Remove conditional code.
21838 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21839 (__protocol_available): Remove #if 0 code.
21840 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21841 conditional code.
21842 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21843 * sysdeps/unix/sysv/linux/kernel-features.h
21844 (__ASSUME_GETCWD_SYSCALL): Don't define.
21845 (__ASSUME_REALTIME_SIGNALS): Likewise.
21846 (__ASSUME_PREAD_SYSCALL): Likewise.
21847 (__ASSUME_PWRITE_SYSCALL): Likewise.
21848 (__ASSUME_POLL_SYSCALL): Likewise.
21849 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21850 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21851 non-SPARC.
21852 (__ASSUME_SIOCGIFNAME): Don't define.
21853 (__ASSUME_MSG_NOSIGNAL): Likewise.
21854 (__ASSUME_SENDFILE): Define unconditionally.
21855 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21856 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21857 conditional code.
21858 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21859 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21860 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21861 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21862 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21863 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21864 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21866 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21869 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21872 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21875 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21876 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21878 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21881 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21887 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21888 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21889 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21890 Remove conditional code.
21891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21892 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21893 Remove conditional code.
21894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21895 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21896 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21897 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21898 Remove conditional code.
21899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21900 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21901 Remove conditional code.
21902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21903 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21904 Remove conditional code.
21905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21906 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21907 Remove conditional code.
21908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21909 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21910 Remove conditional code.
21911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21912 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21915 * sysdeps/unix/sysv/linux/sigaction.c
21916 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21917 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21918 * sysdeps/unix/sysv/linux/sigpending.c
21919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21921 * sysdeps/unix/sysv/linux/sigprocmask.c
21922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21924 * sysdeps/unix/sysv/linux/sigsuspend.c
21925 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21926 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21928 (__libc_missing_rt_sigs): Remove.
21929 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21930 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21931 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21932 Remove conditional code.
21933 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21934 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21935 return 1.
21936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21937 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21938 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21939 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21940
1bfb7291
AJ
219412012-05-14 Andreas Jaeger <aj@suse.de>
21942
caae5a81
AJ
21943 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21944 it's not used in glibc.
21945 (__coshm1): Likewise.
21946 (__acosh1p): Likewise.
21947 (__sgn): Likewise.
21948
1bfb7291
AJ
21949 * manual/string.texi (Copying and Concatenation): Add missing
21950 variable in concat example.
21951 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21952
c044d724
L
219532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21954
144c5467 21955 [BZ #14103]
c044d724
L
21956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21957 __builtin_clzl with __builtin_clzll.
21958
2523c62b
L
219592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 [BZ #14104]
21962 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21963 libc_freeres_ptr.
21964
d7bb4c42
LD
219652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21966
21967 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21968 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21969 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21970 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21971
9dc4e1fb
MF
219722012-05-14 Mike Frysinger <vapier@gentoo.org>
21973
21974 * NEWS: Update ia64 info.
21975
c7df0112
AS
219762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21977
21978 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21979 used as bcopy.
21980
dc70356c
TS
219812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21982
21983 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21984 * sysdeps/unix/syscalls.list (dup3): Likewise.
21985 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21986 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21987
9fb1a21f
L
219882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21989
21990 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21991 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21992
4822a2a5
L
219932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21996 thread pointer.
21997 (TLS_IE): Use mov/add instead of movq/addq to load thread
21998 pointer.
21999 (TLS_GD_PREFIX): New.
22000 (TLS_GD): Use it.
22001
842b81d6
DM
220022012-05-11 David S. Miller <davem@davemloft.net>
22003
22004 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22005 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22006 (_FPU_SETCW): Likewise.
22007
1cf463cd
L
220082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22009
22010 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22011 is 32-byte aligned.
22012
60cc4a18
AS
220132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22014
22015 [BZ #11837]
22016 * iconvdata/gb18030.c: Update tables.
22017 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22018 characters specially.
22019 (BODY for TO_LOOP): Add encoding of missing ranges.
22020
febb44a4
TS
220212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22022
22023 [BZ #13673]
22024 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22025 * sysdeps/mach/hurd/dup3.c: Likewise.
22026 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22027 * sysdeps/powerpc/memmove.c:: Likewise.
22028
0a10fb9e
L
220292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22030
22031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22032 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22033
df8a552f
L
220342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22035
22036 * elf/elf.h (R_X86_64_RELATIVE64): New.
22037 (R_X86_64_NUM): Updated.
22038 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22039 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22040 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22041 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22042 tst-quad1pie tst-quad2pie
22043 (modules-names): Add tst-quadmod1 tst-quadmod2.
22044 ($(objpfx)tst-quad1): New dependency.
22045 ($(objpfx)tst-quad2): Likewise.
22046 ($(objpfx)tst-quad1pie): Likewise.
22047 ($(objpfx)tst-quad2pie): Likewise.
22048 * sysdeps/x86_64/tst-quad1.c: New file.
22049 * sysdeps/x86_64/tst-quad1pie.c: New file.
22050 * sysdeps/x86_64/tst-quad2.c: Likewise.
22051 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22052 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22053 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22054 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22055 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22056
f34d6f84
ST
220572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22058
f42d41d1
ST
22059 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22060 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22061 * streams/stropts.h (t_scalar_t): Define type.
22062
3c3571fc
ST
22063 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22064 (_PATH_PRESERVE): Set to "/var/lib".
22065 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22066
61f06bd3
ST
22067 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22068 instead of int.
22069
918d4d71
ST
22070 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22071 if __dir_mkfile succeeded.
22072
f34d6f84
ST
22073 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22074 checking for _hurd_dtablesize. Unlock it right after having
22075 finished _hurd_dtable allocation.
22076
10589b4a
TS
220772012-05-10 Thomas Schwinge <thomas@schwinge.name>
22078
674cdbc7
TS
22079 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22080 * sysdeps/mach/hurd/configure: Regenerated.
22081 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22082 special-casing to...
22083 * sysdeps/gnu/configure.in: ... this new file.
22084 * sysdeps/unix/sysv/linux/configure: Regenerated.
22085 * sysdeps/gnu/configure: New generated file.
22086
8e41b99f
TS
22087 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22088 for Linux: use nsec instead of usec, as well as:
22089 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22090 members of type struct timespec.
22091 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22092 New macros.
22093 (struct stat64): Likewise.
22094 (_STATBUF_ST_NSEC): New macro.
22095 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22096
10589b4a
TS
22097 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22098 __strtoul_internal rather than strtoul.
22099
63643c85
PT
221002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22101
22102 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22103 and reject them.
22104
3faebe6a
ST
221052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22106
22107 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22108 which preserves existing values.
22109 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22110
c6474b07
PT
221112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22112
22113 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22114 TIMEOUT values. Return EINVAL for NFDS values either negative or
22115 greater than FD_SETSIZE.
22116
1043890b
ST
221172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22118
22119 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22120 allocated, call __vm_protect to finish enabling the existing space, and
22121 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22122 allocate the remainder.
22123
37ed8b9b
PT
221242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22125
22126 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22127 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22128
db653660
ST
221292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22130
37ed8b9b
PT
22131 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22132 sysdeps/mach/hurd/readlink.c.
b29d4053 22133
db653660
ST
22134 * posix/tst-sysconf.c (posix_options): Only use
22135 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22136 _POSIX_SYNCHRONIZED_IO when they are defined
22137 * sysdeps/mach/hurd/bits/posix_opt.h:
22138 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22139 (_XOPEN_REALTIME): Undefine macro.
22140 (_XOPEN_REALTIME_THREADS): Undefine macro.
22141 (_XOPEN_SHM): Undefine macro.
22142 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22143 macro to -1.
22144 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22145 macro to -1.
22146 (_POSIX_ASYNC_IO): Undefine macro.
22147 (_POSIX_PRIORITIZED_IO): Undefine macro.
22148 (_POSIX_SPIN_LOCKS): Define macro to -1.
22149
ee16e894
ST
22150 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22151 SA_NODEFER, SA_RESETHAND.
22152 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22153 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22154 F_DUPFD_CLOEXEC.
22155
6103ae3b
TS
221562012-05-10 Thomas Schwinge <thomas@schwinge.name>
22157
22158 * elf/Makefile (pldd-modules): Define unconditionally.
22159
80b4e5f3
TS
221602012-05-10 Thomas Schwinge <thomas@schwinge.name>
22161
22162 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22163
edadcbd6
ST
221642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22165
22166 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22167 Return ENOENT when name is empty.
22168 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22169
80694780
TS
221702012-05-10 Thomas Schwinge <thomas@schwinge.name>
22171
1792c087
TS
22172 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22173
80694780
TS
22174 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22175
6b645f0d
ST
221762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22177
80694780
TS
22178 Fix mlock in all cases except non-readable pages.
22179 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22180 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22181
6b645f0d
ST
22182 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22183 (__mkdir): When path is `/', just fail with EEXIST.
22184 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22185
e468f8a3
TS
221862012-05-10 Thomas Schwinge <thomas@schwinge.name>
22187
22188 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22189 <sys/uio.h> (for writev).
22190 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22191 and <sys/param.h> (for MIN).
22192
a4186cff
PT
221932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22194
22195 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22196 REQUESTED_TIME. Properly set the remaining time and return EINTR
22197 if interrupted.
22198
510bbf14
TS
221992012-05-10 Thomas Schwinge <thomas@schwinge.name>
22200
22201 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22202 Depend on against $(link-rpcuserlibs).
22203
5d5722e8
ST
222042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22205
a4186cff
PT
22206 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22207 (__libc_stack_end): Do not use attribute_relro.
22208 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22209 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22210 to libthread-provided value.
a4186cff
PT
22211 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22212 attribute_relro.
5d5722e8 22213
37233df9
TS
222142012-05-10 Thomas Schwinge <thomas@schwinge.name>
22215
be971a2b
TS
22216 [BZ #3748]
22217 * bits/libc-lock.h (__libc_once_get): New macro.
22218 * sysdeps/mach/bits/libc-lock.h: Likewise.
22219 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22221 instead of using implementation details.
22222
37233df9
TS
22223 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22224 * libio/freopen.c: Likewise.
22225 * libio/freopen64.c: Likewise.
22226 * misc/syslog.c: Likewise.
22227 * nscd/connections.c: Likewise.
22228 * nscd/netgroupcache.c: Likewise.
22229 * sysdeps/posix/getcwd.c: Likewise.
22230
38de94a5
RM
222312012-05-10 Roland McGrath <roland@hack.frob.com>
22232
22233 * math/w_ilogbf.c: Add #include <limits.h>.
22234
67530489
ST
222352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22236
a4186cff 22237 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22238 path instead of returning without unlocking.
22239
67530489
ST
22240 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22241 immediate-write ioctls.
22242 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22243
5aa3a74a
TS
222442012-05-10 Thomas Schwinge <thomas@schwinge.name>
22245
18bad2ae
TS
22246 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22247 __builtin_frame_address instead of making assumptions about the
22248 location of the return address relative to DATA. Force early load of
22249 the return address.
22250 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22251 __builtin_frame_address.
22252
5aa3a74a
TS
22253 dup3 for GNU Hurd.
22254 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22255 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22256 implement dup3 and do some further code clean-ups.
22257 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22258 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22259
ecd0de9a
ST
222602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22261
cd9fa985
ST
22262 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22263
a4186cff
PT
22264 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22265 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22266 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22267 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22268 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22269 d->port.lock.
802ca5a5 22270
a4186cff
PT
22271 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22272 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22273 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22274
bcf55240
TS
222752012-05-10 Thomas Schwinge <thomas@schwinge.name>
22276
6960eb42
TS
22277 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22278 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22279 definitions.
22280
eb43375f
TS
22281 accept4 for GNU Hurd.
22282 * include/sys/socket.h (__libc_accept4): New prototype.
22283 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22284 to implement __libc_accept4.
22285 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22286 __libc_accept4.
22287 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22288
bcf55240
TS
22289 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22290 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22291 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22292 signal-defines.sym.
22293
6178c55b
ST
222942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22295
a4186cff 22296 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22297
6f080c2f
TS
222982012-05-10 Thomas Schwinge <thomas@schwinge.name>
22299
22300 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22301 assertion on O_CLOEXEC flag.
22302 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22303 * hurd/intern-fd.c: Likewise.
22304 * hurd/port2fd.c: Likewise.
22305
bcfe3a54
ST
223062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22307
22308 [BZ #3906]
22309 * bits/in.h (IPV6_PKTINFO): Define new macro.
22310 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22311
89c9aa49
AZ
223122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22313
22314 [BZ #13954]
22315 [BZ #13955]
22316 [BZ #13956]
22317 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22319 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22320 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22322 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22323 * math/libm-test.inc (logb_test) : Additional logb tests.
22324
021db4be
AJ
223252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22326 Andreas Jaeger <aj@suse.de>
22327
22328 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22329 * configure: Regenerated.
22330 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22331 * config.make.in (link-obsolete-rpc): New substituted variable.
22332 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22333 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22334 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22335 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22336 so that libc.a contains the symbols.
22337 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22338 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22339 * sunrpc/auth_none.c: Likewise.
22340 * sunrpc/auth_unix.c: Likewise.
22341 * sunrpc/authdes_prot.c: Likewise.
22342 * sunrpc/authuxprot.c: Likewise.
22343 * sunrpc/clnt_gen.c: Likewise.
22344 * sunrpc/clnt_perr.c: Likewise.
22345 * sunrpc/clnt_raw.c: Likewise.
22346 * sunrpc/clnt_simp.c: Likewise.
22347 * sunrpc/clnt_tcp.c: Likewise.
22348 * sunrpc/clnt_udp.c: Likewise.
22349 * sunrpc/clnt_unix.c: Likewise.
22350 * sunrpc/des_crypt.c: Likewise.
22351 * sunrpc/des_soft.c: Likewise.
22352 * sunrpc/get_myaddr.c: Likewise.
22353 * sunrpc/key_call.c: Likewise.
22354 * sunrpc/key_prot.c: Likewise.
22355 * sunrpc/netname.c: Likewise.
22356 * sunrpc/pm_getmaps.c: Likewise.
22357 * sunrpc/pm_getport.c: Likewise.
22358 * sunrpc/pmap_clnt.c: Likewise.
22359 * sunrpc/pmap_prot.c: Likewise.
22360 * sunrpc/pmap_prot2.c: Likewise.
22361 * sunrpc/pmap_rmt.c: Likewise.
22362 * sunrpc/publickey.c: Likewise.
22363 * sunrpc/rpc_cmsg.c: Likewise.
22364 * sunrpc/rpc_common.c: Likewise.
22365 * sunrpc/rpc_dtable.c: Likewise.
22366 * sunrpc/rpc_prot.c: Likewise.
22367 * sunrpc/rpc_thread.c: Likewise.
22368 * sunrpc/rtime.c: Likewise.
22369 * sunrpc/svc.c: Likewise.
22370 * sunrpc/svc_auth.c: Likewise.
22371 * sunrpc/svc_raw.c: Likewise.
22372 * sunrpc/svc_run.c: Likewise.
22373 * sunrpc/svc_tcp.c: Likewise.
22374 * sunrpc/svc_udp.c: Likewise.
22375 * sunrpc/svc_unix.c: Likewise.
22376 * sunrpc/svcauth_des.c: Likewise.
22377 * sunrpc/xcrypt.c: Likewise.
22378 * sunrpc/xdr.c: Likewise.
22379 * sunrpc/xdr_array.c: Likewise.
22380 * sunrpc/xdr_float.c: Likewise.
22381 * sunrpc/xdr_intXX_t.c: Likewise.
22382 * sunrpc/xdr_mem.c: Likewise.
22383 * sunrpc/xdr_rec.c: Likewise.
22384 * sunrpc/xdr_ref.c: Likewise.
22385 * sunrpc/xdr_sizeof.c: Likewise.
22386 * sunrpc/xdr_stdio.c: Likewise.
22387
b5c086a2
RM
223882012-05-10 Roland McGrath <roland@hack.frob.com>
22389
22390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22391 change. Update copyright years.
22392
6d74dd09
JM
223932012-05-10 Joseph Myers <joseph@codesourcery.com>
22394
22395 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22396
28e72501
MK
223972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22398 Joseph Myers <joseph@codesourcery.com>
22399 Paul Pluzhnikov <ppluzhnikov@google.com>
22400
22401 [BZ #14012]
22402 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22403 requiring rpcgen.
22404 [cross-compiling] (extra-libs): Likewise.
22405 [cross-compiling] (extra-libs-others): Likewise.
22406 [cross-compiling] (librpcsvc-routines): Likewise.
22407 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22408 [cross-compiling] (omit-deps): Likewise.
22409 (sunrpc-CPPFLAGS): New variable.
22410 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22411 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22412 (cross-rpcgen-objs): New variable.
22413 (extra-objs): Append $(cross-rpcgen-objs).
22414 ($(cross-rpcgen-objs)): New rule.
22415 ($(objpfx)cross-rpcgen): Likewise.
22416 (rpcgen-cmd): Define to use $(built-program-file). Expand
22417 comment.
22418 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22419 ($(objpfx)x%.stmp): Likewise.
22420 * sunrpc/proto.h [IS_IN_build] (_): Define.
22421 [IS_IN_build] (_libc_intl_domainname): Likewise.
22422
c8c59454
L
224232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22424
22425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22426 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22427 and R_X86_64_TPOFF64.
22428
6f27cd16
JM
224292012-05-10 Joseph Myers <joseph@codesourcery.com>
22430
22431 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22432 sysdeps/unix/sysv/syscalls.list.
22433 (stime): Likewise.
22434 (utime): Likewise.
22435 * sysdeps/unix/sysv/syscalls.list: Remove file.
22436
02467e1c
PE
224372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22438
22439 [BZ #3440]
22440 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22441 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22442 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22443 (__LC_IDENTIFICATION): Make these macros useful in #if
22444 expressions, as required by C99.
22445
da392631
AS
224462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22447
22448 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22449 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22450 after this.
22451
8115f29b
L
224522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * stdlib/longlong.h: Updated from GCC.
22455
bdd74070
AJ
224562012-05-09 Andreas Jaeger <aj@suse.de>
22457
edfe0dbe
AJ
22458 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22459 default is first entry.
22460 (run_mode): Set type.
22461 (main): Remove informal message about syslog.
22462 (options): Fix typo.
22463
bcfe3a54
ST
22464 [BZ #14053]
22465 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22466 to asm.
bcfe3a54
ST
22467 (lrint): Likewise.
22468 (llrintf): Likewise.
22469 (llrint): Likewise.
22470 (rint): Likewise.
22471 (rintf): Likewise.
22472 (nearbyint): Likewise.
22473 (nearbyintf): Likewise.
bdd74070 22474
91d8d69e
AJ
224752012-05-09 Andreas Jaeger <aj@suse.de>
22476 Pedro Alves <palves@redhat.com>
22477
22478 * nscd/nscd.c (run_mode): Use enum.
22479 (main): Cleanup coding style issue.
22480
bb90b80b
AJ
224812012-05-09 Alexandre Oliva <aoliva@redhat.com>
22482 Andreas Jaeger <aj@suse.de>
22483
bcfe3a54
ST
22484 * nscd/nscd.c (go_background): Replaced with...
22485 (run_mode): ... this.
bb90b80b 22486 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22487 (options): Add -F --foreground.
22488 (main): Implement it.
22489 (parse_opt): Parse it.
bb90b80b 22490
1a4b75a1
AJ
224912012-05-09 Andreas Jaeger <aj@suse.de>
22492
22493 [BZ #14083]
22494 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22495 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22496 -Wconversion warning.
22497 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22498 Likewise.
22499
b1cc2472
JM
225002012-05-09 Joseph Myers <joseph@codesourcery.com>
22501
22502 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22503 == 0.
22504 (LC_ALL): Use macro-int-constant.
22505 (LC_COLLATE): Likewise.
22506 (LC_CTYPE): Likewise.
22507 (LC_MESSAGES): Likewise.
22508 (LC_MONETARY): Likewise.
22509 (LC_NUMERIC): Likewise.
22510 (LC_TIME): Likewise.
22511 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22512 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22514 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22515 Specify type.
22516 [C99-based standards] (float_t): Expect type.
22517 [C99-based standards] (double_t): Expect type.
22518 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22519 type.
22520 [C99-based standards] (HUGE_VALL): Likewise.
22521 [C99-based standards] (INFINITY): Likewise.
22522 [C99-based standards] (NAN): Likewise.
22523 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22524 [C99-based standards] (FP_NAN): Likewise.
22525 [C99-based standards] (FP_NORMAL): Likewise.
22526 [C99-based standards] (FP_SUBNORMAL): Likewise.
22527 [C99-based standards] (FP_ZERO): Likewise.
22528 [C99-based standards] (FP_FAST_FMA): Use
22529 optional-macro-int-constant. Specify type. Require == 1.
22530 [C99-based standards] (FP_FAST_FMAF): Likewise.
22531 [C99-based standards] (FP_FAST_FMAL): Likewise.
22532 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22533 [C99-based standards] (FP_ILOGBNAN): Likewise.
22534 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22535 Specify type.
22536 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22537 [C99-based standards] (math_errhandling): Specify type.
22538 [ISO99 || ISO11] (signgam): Do not allow.
22539 [non-C99-based standards] (copysignf): Do not allow.
22540 [non-C99-based standards] (exp2f): Likewise.
22541 [non-C99-based standards] (log2f): Likewise.
22542 [non-C99-based standards] (modff): Allow.
22543 [non-C99-based standards] (erff): Do not allow.
22544 [non-C99-based standards] (erfcf): Likewise.
22545 [non-C99-based standards] (gammaf): Likewise.
22546 [non-C99-based standards] (hypotf): Likewise.
22547 [non-C99-based standards] (j0f): Likewise.
22548 [non-C99-based standards] (j1f): Likewise.
22549 [non-C99-based standards] (jnf): Likewise.
22550 [non-C99-based standards] (lgammaf): Likewise.
22551 [non-C99-based standards] (tgammaf): Likewise.
22552 [non-C99-based standards] (y0f): Likewise.
22553 [non-C99-based standards] (y1f): Likewise.
22554 [non-C99-based standards] (ynf): Likewise.
22555 [non-C99-based standards] (isnanf): Likewise.
22556 [non-C99-based standards] (acoshf): Likewise.
22557 [non-C99-based standards] (asinhf): Likewise.
22558 [non-C99-based standards] (atanhf): Likewise.
22559 [non-C99-based standards] (cbrtf): Likewise.
22560 [non-C99-based standards] (expm1f): Likewise.
22561 [non-C99-based standards] (ilogbf): Likewise.
22562 [non-C99-based standards] (log1pf): Likewise.
22563 [non-C99-based standards] (logbf): Likewise.
22564 [non-C99-based standards] (nextafterf): Likewise.
22565 [non-C99-based standards] (remainderf): Likewise.
22566 [non-C99-based standards] (rintf): Likewise.
22567 [non-C99-based standards] (scalbf): Likewise.
22568 [non-C99-based standards] (copysignl): Likewise.
22569 [non-C99-based standards] (exp2l): Likewise.
22570 [non-C99-based standards] (log2l): Likewise.
22571 [non-C99-based standards] (modfl): Allow.
22572 [non-C99-based standards] (erfl): Do not allow.
22573 [non-C99-based standards] (erfcl): Likewise.
22574 [non-C99-based standards] (gammal): Likewise.
22575 [non-C99-based standards] (hypotl): Likewise.
22576 [non-C99-based standards] (j0l): Likewise.
22577 [non-C99-based standards] (j1l): Likewise.
22578 [non-C99-based standards] (jnl): Likewise.
22579 [non-C99-based standards] (lgammal): Likewise.
22580 [non-C99-based standards] (tgammal): Likewise.
22581 [non-C99-based standards] (y0l): Likewise.
22582 [non-C99-based standards] (y1l): Likewise.
22583 [non-C99-based standards] (ynl): Likewise.
22584 [non-C99-based standards] (isnanl): Likewise.
22585 [non-C99-based standards] (acoshl): Likewise.
22586 [non-C99-based standards] (asinhl): Likewise.
22587 [non-C99-based standards] (atanhl): Likewise.
22588 [non-C99-based standards] (cbrtl): Likewise.
22589 [non-C99-based standards] (expm1l): Likewise.
22590 [non-C99-based standards] (ilogbl): Likewise.
22591 [non-C99-based standards] (log1pl): Likewise.
22592 [non-C99-based standards] (logbl): Likewise.
22593 [non-C99-based standards] (nextafterl): Likewise.
22594 [non-C99-based standards] (remainderl): Likewise.
22595 [non-C99-based standards] (rintl): Likewise.
22596 [non-C99-based standards] (scalbl): Likewise.
22597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22598 [non-C99-based standards] (FP_*): Do not allow.
22599 [C99-based standards] (FP_*): Change to
22600 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22601 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22602 allow.
22603 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22604 (SIG_ERR): Likewise.
22605 [X/Open-based standards] (SIG_HOLD): Likewise.
22606 (SIG_IGN): Likewise.
22607 (SIGABRT): Use macro-int-constant. Specify type. Require
22608 positive value.
22609 (SIGFPE): Likewise.
22610 (SIGILL): Likewise.
22611 (SIGINT): Likewise.
22612 (SIGSEGV): Likewise.
22613 (SIGTER): Likewise.
22614 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22615 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22616 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22617 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22618 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22620 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22621 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22622 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22623 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22624 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22625 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22626 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22627 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22628 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22629 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22630 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22631 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22632 [X/Open-based standards] (SIGTRAP): Likewise.
22633 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22634 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22635 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22636 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22637 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22638 allow.
22639
b9f1922d
IW
226402012-05-08 Ian Wienand <ianw@vmware.com>
22641
22642 [BZ #14080]
22643 * time/tzset.c (__tzset_parse_tz): Update default rules for
22644 daylight time changes in the Energy Policy Act of 2005.
22645
1db86e88
AJ
226462012-05-09 Andreas Jaeger <aj@suse.de>
22647
22648 [BZ #13983]
22649 * elf/ldconfig.c (parse_conf): Change string to make clear that
22650 ldconfig only issued a warning if ld.so.conf does not exist.
22651
dee4a4e3
DM
226522012-05-08 David S. Miller <davem@davemloft.net>
22653
ee0db190
DM
22654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22655 movxtod instead of popping the value on the stack.
22656
dee4a4e3
DM
22657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22658
6a43ec98
CD
226592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22660
22661 * config.h.in: Add HAVE_ARM_PCS_VFP.
22662
05c2c961
RMG
226632012-05-08 Roland Mc Grath <roland@hack.frob.com>
22664
bcfe3a54
ST
22665 [BZ #13979]
22666 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22667 checking but the checks are disabled for any reason.
05c2c961 22668
4b30f61a
L
226692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22672 and ELF64_R_TYPE with ELFW(R_TYPE).
22673
eee2bc67
JM
226742012-05-08 Joseph Myers <joseph@codesourcery.com>
22675
7ea5391a
JM
22676 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22677 (ulimit): Likewise.
22678
eee2bc67
JM
22679 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22680 (settimeofday): Likewise.
22681
abb66a67
MF
226822012-05-08 Mike Frysinger <vapier@gentoo.org>
22683
22684 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22685 a struct th_u2 inside the union, and move tu_block/tu_code into
22686 a new th_u3 union of tu_block/tu_code inside of that. Move
22687 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22688 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22689 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22690 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22691 (th_stuff): Change to th_u1.tu_stuff.
22692 (th_data): Define.
22693 (th_msg): Change to th_u1.th_u2.tu_data.
22694
7f18b530
DM
226952012-05-07 David S. Miller <davem@davemloft.net>
22696
05760585
DM
22697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22698
7f18b530
DM
22699 [BZ #14074]
22700 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22701 (SETUP_PIC_REG): Use it.
22702 (SETUP_PIC_REG_LEAF): Use it.
22703
495fd99f
JM
227042012-05-07 Joseph Myers <joseph@codesourcery.com>
22705
22706 [BZ #13885]
22707 [BZ #13923]
22708 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22709 USE_AS_EXPM1L.
22710 (EXPL_FINITE): Likewise.
22711 (FLDLOG): Likewise.
22712 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22713 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22714 e_expl.S.
22715 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22716 USE_AS_EXPM1L.
22717 (EXPL_FINITE): Likewise.
22718 (FLDLOG): Likewise.
22719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22720 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22721 e_expl.S.
22722 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22723 test of -max_value argument for long double.
22724 * sysdeps/i386/fpu/libm-test-ulps: Update.
22725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22726
6693d694
DM
227272012-05-06 David S. Miller <davem@davemloft.net>
22728
22729 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22730 quad soft-float symbols whose references which are compiler
22731 generated.
22732 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22733
6c23e11c
JM
227342012-05-06 Joseph Myers <joseph@codesourcery.com>
22735
d8b82cad
JM
22736 [BZ #13884]
22737 [BZ #13914]
22738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22739 USE_AS_EXP10L.
22740 (EXPL_FINITE): Likewise.
22741 (FLDLOG): Likewise.
22742 (c0): Likewise.
22743 (c1): Likewise.
22744 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22745 Adjust comments for base varying.
22746 (__expl_finite): Change alias to EXPL_FINITE.
22747 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22748 e_expl.S.
22749 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22750 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22752 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22753 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22754 USE_AS_EXP10L.
22755 (EXPL_FINITE): Likewise.
22756 (FLDLOG): Likewise.
22757 (c0): Likewise.
22758 (c1): Likewise.
22759 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22760 Adjust comments for base varying.
22761 (__expl_finite): Change alias to EXPL_FINITE.
22762 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22763 tests for bugs.
22764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22765
6c23e11c
JM
22766 [BZ #14064]
22767 * math/libm-test.inc (check_float_internal): Correct ulp
22768 calculation for subnormal expected results.
22769
29ba805c
AJ
227702012-05-06 Andreas Jaeger <aj@suse.de>
22771
22772 * Makeconfig (+math-flags): New, set to -frounding-math.
22773 (+cflags): Add +math-flags so that all of glibc gets compiled with
22774 it.
22775
22776 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22777
7b17aeda
JM
227782012-05-05 Joseph Myers <joseph@codesourcery.com>
22779
5779f134
JM
22780 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22781 Disable one test.
22782
41498f4d
JM
22783 [BZ #13787]
22784 [BZ #13922]
22785 [BZ #14036]
22786 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22787 (__ieee754_expl): Allow for and saturate large arguments.
22788 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22789 (u_threshold): Likewise.
22790 (__exp): Call __ieee754_exp before checking for overflow and
22791 underflow.
22792 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22793 (u_threshold): Likewise.
22794 (__expf): Call __ieee754_expf before checking for overflow and
22795 underflow.
22796 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22797 (u_threshold): Likewise.
22798 (__expl): Call __ieee754_expl before checking for overflow and
22799 underflow.
22800 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22801 (__ieee754_expl): Allow for and saturate large arguments.
22802 * math/libm-test.inc (exp_test): Add another test. Do not allow
22803 missing overflow exception on overflow.
22804 (expm1_test): Do not allow missing overflow exception on overflow.
22805
6698b8bf
JM
22806 * sysdeps/i386/fpu/e_expl.c: Move to ...
22807 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22808 rather than using inline asm.
22809 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22810 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22811 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22812
7b17aeda
JM
22813 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22814 (nice): Likewise.
22815 (poll): Likewise.
22816 (signal): Likewise.
22817 (time): Likewise.
22818 (times): Likewise.
22819
f7c85819
JM
228202012-05-04 Joseph Myers <joseph@codesourcery.com>
22821
22822 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22823 sysdeps/unix/common/syscalls.list.
22824 (fchmod): Likewise.
22825 (fchown): Likewise.
22826 (ftruncate): Likewise.
22827 (getrusage): Likewise.
22828 (gettimeofday): Likewise.
22829 (setpgid): Likewise.
22830 (setregid): Likewise.
22831 (setreuid): Likewise.
22832 (sigaction): Likewise.
22833 (truncate): Likewise.
22834 (vhangup): Likewise.
22835 * sysdeps/unix/common/syscalls.list: Remove file.
22836 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22837 * sysdeps/unix/sysv/linux/Implies: Likewise.
22838
336270d0
L
228392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22840
22841 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22843 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22844 Moved to ...
22845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22846 Here.
22847 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22848 to ...
22849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22850 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22851 to ...
22852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22853 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22854 to ...
22855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22856 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22857 to ...
22858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22859 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22860 to ...
22861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22862 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22863 to ...
22864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22865 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22866 to ...
22867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22868 Here.
22869 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22870 to ...
22871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22872 Here.
22873 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22874 to ...
22875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22876 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22877 Moved to ...
22878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22879 Here.
22880 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22881 to ...
22882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22883
d128e450
JM
228842012-05-04 Joseph Myers <joseph@codesourcery.com>
22885
fa8ee516
JM
22886 * sysdeps/unix/common/bits/dirent.h: Remove file.
22887 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22888
d128e450
JM
22889 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22890 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22891 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22892 * sysdeps/unix/bsd/isatty.c: Likewise.
22893 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22894 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22895 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22896
ff8faaf0 228972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22898
62881be4 22899 [BZ #13563]
31dc8730
AZ
22900 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22901 long double comparison inaccuracies.
22902 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22904
6fef930c
AS
229052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22906
22907 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22909
8f203e6c
JM
229102012-05-04 Joseph Myers <joseph@codesourcery.com>
22911
22912 [BZ #14049]
22913 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22914 nonzero digits before rounding a hex value.
22915 * stdlib/tst-strtod.c (tests): Add another test.
22916
5197d9c2
AK
229172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22918
22919 * sysdeps/s390/fpu/libm-test-ulps: Update.
22920
f0c1dedf
AJ
229212012-05-03 Andreas Jaeger <aj@suse.de>
22922
22923 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22924 does not get optimized out.
22925 (malloc_opt_barrier): New.
22926
a65ef2ae 229272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22928 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22929
2b942cb7 22930 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22931 intermediate file deletion.
2b942cb7 22932 (generated): Add .symlist files.
a65ef2ae 22933
54b71e02
JM
229342012-05-03 Joseph Myers <joseph@codesourcery.com>
22935
22936 [BZ #13775]
22937 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22938 Redirect under this condition.
22939 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22940 [__USE_GNU] (__dprintf_chk): Not under this condition.
22941 [__USE_GNU] (__vdprintf_chk): Likewise.
22942 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22943 under this condition.
22944 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22945 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22946 [__USE_XOPEN2K8] (vdprintf): Likewise.
22947 [__USE_GNU] (__dprintf_chk): Not under this condition.
22948 [__USE_GNU] (__vdprintf_chk): Likewise.
22949 [__USE_GNU] (dprintf): Likewise.
22950 [__USE_GNU] (vdprintf): Likewise.
22951
d3dfcc41
RM
229522012-05-03 Roland McGrath <roland@hack.frob.com>
22953
22954 * elf/Makefile (common-generated): Set this instead of generated for
22955 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22956 $(all-built-dso)-derived lists.
22957
7ac30cc5
AJ
229582012-05-03 Andreas Jaeger <aj@suse.de>
22959
0c51e550
AJ
22960 * sysdeps/i386/fpu/libm-test-ulps: Update.
22961
7ac30cc5
AJ
22962 * FAQ: Removed.
22963 * FAQ.in: Likewise.
22964 * scripts/gen-FAQ.pl: Likewise.
22965 * manual/install.texi (Installation): Point to online location of
22966 FAQ.
22967 * Makefile (files-for-dist): Remove FAQ.
22968 (FAQ): Remove.
22969
d4c2917f
AM
229702012-05-02 Allan McRae <allan@archlinux.org>
22971
22972 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22973 (LDFLAGS-reldepmod5.so): Likewise.
22974 (LDFLAGS-reldep6mod1.so): Likewise.
22975 (LDFLAGS-reldep6mod4.so): Likewise.
22976 (LDFLAGS-reldep8mod3.so): Likewise.
22977 (LDFLAGS-unload4mod1.so): Likewise.
22978 (LDFLAGS-unload4mod2.so): Likewise.
22979 (LDFLAGS-tst-initorder): Likewise.
22980 (LDFLAGS-tst-initordera2.so): Likewise.
22981 (LDFLAGS-tst-initordera3.so): Likewise.
22982 (LDFLAGS-tst-initordera4.so): Likewise.
22983 (LDFLAGS-tst-initorderb2.so): Likewise.
22984 (LDFLAGS-noload): Likewise.
22985 (LDFLAGS-next): Likewise.
22986 (LDFLAGS-order2mod1.so): Likewise.
22987 (LDFLAGS-order2mod2.so): Likewise.
22988 (LDFLAGS-tst-initorder2): Likewise.
22989 (LDFLAGS-tst-initorder2a.so): Likewise.
22990 (LDFLAGS-tst-initorder2b.so): Likewise.
22991 (LDFLAGS-tst-initorder2c.so): Likewise.
22992 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22993
d77f993f
DM
229942012-05-02 David S. Miller <davem@davemloft.net>
22995
22996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22997
171a70b4
PP
229982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22999
23000 [BZ #14055]
23001 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23002
0be196ad
AJ
230032012-05-02 Andreas Jaeger <aj@suse.de>
23004
23005 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23006 since we manipulate rounding mode.
23007 (CPPFLAGS-test-idouble.c): Likewise.
23008 (CPPFLAGS-test-ifloat.c): Likewise.
23009 (CFLAGS-test-ldouble.c): Likewise.
23010 (CFLAGS-test-double.c): Likewise.
23011 (CFLAGS-test-float.c): Likewise.
23012 (CFLAGS-test-misc.c): Likewise.
23013 (CFLAGS-test-test-fenv.c): Likewise.
23014
4f9d04aa
AZ
230152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23016
2b942cb7
RM
23017 [BZ #2550]
23018 [BZ #2570]
23019 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23020 comparisons to determine direction to adjust input.
4f9d04aa 23021
82a79e7d
RM
230222012-05-01 Roland McGrath <roland@hack.frob.com>
23023
f5a01ca9
RM
23024 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23025 output to the target.
23026
90fe4186
RM
23027 * scripts/localplt.awk: New file.
23028 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23029 (check-localplt-CFLAGS): Variable removed.
23030 ($(all-built-dso:=.jmprel)): New static pattern rule.
23031 (generated): Add those targets.
23032 (localplt-built-dso): New variable.
23033 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23034
23035 * elf/check-localplt.c: File removed.
23036
82397ed6
RM
23037 * scripts/check-execstack.awk: New file.
23038 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23039 (check-execstack-CFLAGS): Variable removed.
23040 ($(objpfx)check-execstack.h): Target removed.
23041 ($(objpfx)execstack-default): New target.
23042 (generated): Add that instead of check-execstack.h.
23043 ($(all-built-dso:=.phdr)): New static pattern rule.
23044 (generated): Add those targets.
23045 * elf/check-execstack.c: File removed.
23046
82a79e7d
RM
23047 * scripts/check-textrel.awk: New file.
23048 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23049 (check-textrel-CFLAGS): Variable removed.
23050 (all-built-dso): Use := to define.o
23051 ($(all-built-dso:=.dyn)): New static pattern rule.
23052 (generated): Add those targets.
23053 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23054 * config.make.in (READELF): New substituted variable.
23055 * elf/check-textrel.c: File removed.
23056
62fde54f 230572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23058
615605c9
JM
23059 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23060 allow.
23061 * conform/data/ctype.h-data [C99-based standards] (isblank):
23062 Expect function.
23063 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23064 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23065 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23066 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23067 Specify type. Require positive value.
23068 (EILSEQ): Likewise.
23069 (ERANGE): Likewise.
23070 [ISO || POSIX] (EILSEQ): Do not expect.
23071 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23072 Specify type. Require positive value.
23073 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23074 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23075 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23076 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23077 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23078 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23079 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23080 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23081 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23082 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23083 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23084 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23085 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23086 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23087 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23088 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23089 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23090 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23091 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23092 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23093 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23094 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23095 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23096 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23097 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23098 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23099 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23100 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23101 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23102 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23103 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23104 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23105 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23106 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23107 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23108 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23109 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23110 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23111 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23112 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23113 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23114 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23115 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23116 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23117 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23118 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23119 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23120 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23121 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23122 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23123 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23124 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23125 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23126 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23127 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23128 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23129 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23130 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23131 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23132 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23133 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23134 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23135 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23136 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23137 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23138 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23139 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23140 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23141 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23142 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23143 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23144 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23145 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23146 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23147 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23148 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23149 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23150 Require >= 2.
23151 (FLT_ROUNDS): Expect as macro, not constant.
23152 (FLT_MANT_DIG): Use macro-int-constant.
23153 (DBL_MANT_DIG): Likewise.
23154 (LDBL_MANT_DIG): Likewise.
23155 (FLT_DIG): Likewise.
23156 (DBL_DIG): Likewise.
23157 (LDBL_DIG): Likewise.
23158 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23159 (DBL_MIN_EXP): Likewise.
23160 (LDBL_MIN_EXP): Likewise.
23161 (FLT_MAX_EXP): Use macro-int-constant.
23162 (DBL_MAX_EXP): Likewise.
23163 (LDBL_MAX_EXP): Likewise.
23164 (FLT_MAX_10_EXP): Likewise.
23165 (DBL_MAX_10_EXP): Likewise.
23166 (LDBL_MAX_10_EXP): Likewise.
23167 (FLT_MAX): Use macro-constant.
23168 (DBL_MAX): Likewise.
23169 (LDBL_MAX): Likewise.
23170 (FLT_EPSILON): Use macro-constant. Give upper bound.
23171 (DBL_EPSILON): Likewise.
23172 (LDBL_EPSILON): Likewise.
23173 (FLT_MIN): Likewise.
23174 (DBL_MIN): Likewise.
23175 (LDBL_MIN): Likewise.
23176 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23177 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23178 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23179 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23180 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23181 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23182 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23183 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23184 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23185 [ISO11] (FLT_TRUE_MIN): Likewise.
23186 [ISO11] (LDBL_TRUE_MIN): Likewise.
23187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23188 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23189 (SCHAR_MIN): Use macro-int-constant. Specify type.
23190 (SCHAR_MAX): Likewise.
23191 (UCHAR_MAX): Likewise.
23192 (CHAR_MIN): Likewise.
23193 (CHAR_MAX): Likewise.
23194 (MB_LEN_MAX): Use macro-int-constant.
23195 (SHRT_MIN): Use macro-int-constant. Specify type.
23196 (SHRT_MAX): Likewise.
23197 (USHRT_MAX): Likewise.
23198 (INT_MAX): Likewise.
23199 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23200 bound negative.
23201 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23202 bound with "U".
23203 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23204 bound with "L".
23205 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23206 bound negative. Suffix upper bound with "L".
23207 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23208 bound with "UL".
23209 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23210 Specify type.
23211 [C99-based standards] (LLONG_MAX): Likewise.
23212 [C99-based standards] (ULLONG_MAX): Likewise.
23213 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23214 == 0.
23215 [ISO11] (max_align_t): Require type.
23216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23217
c9140a62
JM
23218 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23219 from $CFLAGS, without defining away __attribute__ calls.
23220 (checknamespace): Use $CFLAGS_namespace.
23221
9af0bf29
JM
23222 * conform/conformtest.pl (@keywords): Only include C99 keywords
23223 for standards based on C99 or C11.
23224
343222a2
JM
23225 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23226 Disable tests.
23227 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23228 UNIX98]: Likewise.
23229
661f8cf0
JM
23230 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23231 usability of symbols in #if.
23232
ee74b9cb
JM
23233 * conform/conformtest.pl: If macro or constant types start
23234 "promoted:", expect the symbol to be of the following type
23235 promoted by the integer promotions.
62fde54f 23236
aafc49b3
JM
23237 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23238 in one place. Also handle "macro-constant".
23239
fefdf574
JM
23240 * conform/conformtest.pl: Only accept expected macro values with
23241 "==". Parse all "macro" lines in one place.
23242 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23243
f2d922fe
JM
23244 * conform/conformtest.pl: Handle braced types on "constant" lines
23245 instead of handling "typed-constant".
23246 * conform/data/signal.h-data: Use "constant" instead of
23247 "typed-constant".
23248
d22956c9
JM
23249 * conform/conformtest.pl: Handle "optional-" at start of lines in
23250 one place rather than duplicating several cases. Handle each
23251 format of "macro" line with initial "optional-".
23252
028e2e38
JM
23253 * conform/conformtest.pl: Only accept expected constant or
23254 optional-constant values with "==". Parse all "constant" lines in
23255 one place. Parse all "optional-constant" lines in one place.
23256 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23257 * conform/data/fmtmsg.h-data: Likewise.
23258 * conform/data/netinet/in.h-data: Likewise.
23259 * conform/data/tar.h-data: Likewise.
23260 * conform/data/limits.h-data: Use "==" form on "constant" and
23261 "optional-constant" lines.
23262
1b8f2850
JM
23263 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23264 Use -std=c99 for XOPEN2K.
23265 (@knownproblems): Remove.
23266 (newtoken): Don't check %isknown.
23267
a05a144b
JM
23268 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23269 Do not expect macro.
23270 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23282 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23283 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23300 [XPG3] (acosh): Likewise.
23301 [XPG3] (asinh): Likewise.
23302 [XPG3] (atanh): Likewise.
23303 [XPG3] (cbrt): Likewise.
23304 [XPG3] (expm1): Likewise.
23305 [XPG3] (ilogb): Likewise.
23306 [XPG3] (log1p): Likewise.
23307 [XPG3] (logb): Likewise.
23308 [XPG3] (nextafter): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23311 [XPG3] (remainder): Likewise.
23312 [XPG3] (rint): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23320 [UNIX98 || XOPEN2K] (scalb): Expect.
23321 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23322 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23328 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23329 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23330 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23331 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23332 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23333 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23334 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23335 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23336 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23337 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23338 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23339 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23340 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23341 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23342 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23343 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23344 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23345 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23346 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23347 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23348 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23349 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23350 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23351 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23352 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23353 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23354 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23355 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23356 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23357 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23358 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23359 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23360 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23361 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23362 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23363 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23364 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23365 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23366 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23367 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23368 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23369 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23370 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23371 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23372 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23373 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23374 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23375 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23376 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23377 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23378 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23379 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23380 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23381 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23382 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23383 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23384 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23385 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23386 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23387 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23388 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23389 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23390 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23391 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23392 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23393 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23394 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23395 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23396 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23397 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23398 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23399 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23400 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23401 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23402 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23403 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23404 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23405 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23406 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23407 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23408 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23409 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23410 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23411 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23412 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23413 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23414 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23415 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23416 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23417 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23418 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23419 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23420 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23421 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23422 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23423 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23424 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23425 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23426 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23427 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23428 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23429 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23430 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23431 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23432 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23433 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23434 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23435 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23436 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23437 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23438 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23439 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23440 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23441 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23442 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23443 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23444 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23445 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23446 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23447 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23448 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23449 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23450 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23451 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23452 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23453 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23454 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23455 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23456 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23457 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23458
73c5ebe3
JM
23459 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23460 _XOPEN_SOURCE_EXTENDED for XPG4.
23461
39c33b6c
JM
23462 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23463
62fde54f
JM
23464 * Makeconfig (localtime): Remove variable.
23465 (inst_localtime-file): Likewise.
23466
0741d64c
AS
234672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23468
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23470 Update.
23471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23472 Update.
23473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23474 Update.
23475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23476 Update.
23477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23478 Update.
23479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23480 Update.
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23482 Update.
23483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23484 Update.
23485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23486 Update.
23487
7cb029ee
JM
234882012-05-01 Joseph Myers <joseph@codesourcery.com>
23489
23490 [BZ #2550]
23491 [BZ #2570]
23492 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23493 comparisons to determine direction to adjust input.
23494 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23495 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23497 Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23499 Likewise.
23500 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23501 Likewise.
23502 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23503 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23504 Likewise.
23505 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23506 Likewise.
23507 * math/libm-test.inc (nexttoward_test): Add more tests.
23508
412bd966
AS
235092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23510
23511 [BZ #14040]
23512 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23513 in version GLIBC_2.1, not GLIBC_2.0.
23514 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23515 Likewise.
23516
9568c0c2
JM
235172012-04-30 Joseph Myers <joseph@codesourcery.com>
23518
adfbc8ac
JM
23519 [BZ #13942]
23520 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23521 (1 - x) * (1 + x).
23522 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23523 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23524 * math/libm-test.inc (acos_test): Add more tests.
23525 (asin_test): Likewise.
23526 * sysdeps/i386/fpu/libm-test-ulps: Update.
23527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23528
5ba3cc69
JM
23529 [BZ #14034]
23530 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23531 of square root.
23532 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23533 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23534 * math/libm-test.inc (acos_test_tonearest): New function.
23535 (acos_test_towardzero): Likewise.
23536 (acos_test_downward): Likewise.
23537 (acos_test_upward): Likewise.
23538 (asin_test_tonearest): Likewise.
23539 (asin_test_towardzero): Likewise.
23540 (asin_test_downward): Likewise.
23541 (asin_test_upward): Likewise.
23542 (main): Call the new functions.
23543 * sysdeps/i386/fpu/libm-test-ulps: Update.
23544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23545
9568c0c2
JM
23546 [BZ #13884]
23547 [BZ #13924]
23548 * math/e_exp10.c: Include <float.h>.
23549 (__ieee754_exp10): Handle underflow here rather than multiplying
23550 large negative argument by M_LN10.
23551 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23552 of __ieee754_expf.
23553 * math/e_exp10l.c: Include <float.h>.
23554 (__ieee754_exp10l): Handle underflow here rather than multiplying
23555 large negative argument by M_LN10l.
23556 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23557 spurious overflow exception on underflow.
23558
5ac3ea17
MP
235592012-04-29 Marek Polacek <polacek@redhat.com>
23560
23561 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23562 (__fortify_function): New macro.
23563 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23564 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23565 __extern_always_inline.
23566 * libio/bits/stdio2.h: Likewise.
23567 * libio/bits/stdio.h: Likewise.
23568 * string/string.h: Likewise.
23569 * string/bits/string3.h: Likewise.
23570 * include/stdio.h: Likewise.
23571 * stdlib/bits/stdlib.h: Likewise.
23572 * stdlib/stdlib.h: Likewise.
23573 * rt/bits/mqueue2.h: Likewise.
23574 * rt/mqueue.h: Likewise.
23575 * posix/bits/unistd.h: Likewise.
23576 * posix/unistd.h: Likewise.
23577 * io/bits/poll2.h: Likewise.
23578 * io/bits/fcntl2.h: Likewise.
23579 * io/fcntl.h: Likewise.
23580 * io/sys/poll.h: Likewise.
23581 * misc/bits/syslog.h: Likewise.
23582 * misc/bits/syslog-ldbl.h: Likewise.
23583 * misc/sys/syslog.h: Likewise.
23584 * socket/bits/socket2.h: Likewise.
23585 * socket/sys/socket.h: Likewise.
23586 * debug/tst-chk1.c: Likewise.
23587 * wcsmbs/bits/wchar2.h: Likewise.
23588 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23589 * wcsmbs/wchar.h: Likewise.
23590
ecf0ebfb
AJ
235912012-04-29 Andreas Jaeger <aj@suse.de>
23592
23593 * Makerules (tests): Remove enable-check-abi protection.
23594 (check-abi-warn): Remove.
23595 (check-abi-%): Remove check-abi-warn usage.
23596
23597 * configure.in: Remove check-abi configure option.
23598 * configure: Regenerated.
23599 * config.make.in (enable-check-abi): Remove.
23600
6d5c57fa
AS
236012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23602
24c5d07e 23603 [BZ #14033]
ded5180a
AS
23604 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23605 double functions to double *_finite functions.
23606
7e0d315d
AS
23607 [BZ #13941]
23608 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23609 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23610 LDBL_MIN_EXP.
23611 * stdio-common/Makefile (tests): Add tst-sprintf3.
23612 * stdio-common/tst-sprintf3.c: New file.
23613
6d5c57fa
AS
23614 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23615 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23616
0749ff8b
JM
236172012-04-28 Joseph Myers <joseph@codesourcery.com>
23618
23619 * conform/conformtest.pl: Remove duplicate typed-constant
23620 handling.
23621
8dbd5d7b
DM
236222012-04-28 David S. Miller <davem@davemloft.net>
23623
23624 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23625 (check-abi-%): Remove AWK script prerequisite and explicit
23626 abilist directory.
23627 (check-abi): Rewrite to just diff the symlist with the abilist.
23628 (config-tls, config-abi-config): Delete, no longer used.
23629 (update-abi-%): Remove AWK script and explicit abilist directory.
23630 (update-abi): Rewrite to simply compare and conditionally copy the
23631 symlist and the sysdep abilist file. Remove update-abi-config
23632 checks.
23633 * abilist/ld.abilist: Remove.
23634 * abilist/libBrokenLocale.abilist: Remove.
23635 * abilist/libanl.abilist: Remove.
23636 * abilist/libcrypt.abilist: Remove.
23637 * abilist/libdl.abilist: Remove.
23638 * abilist/librt.abilist: Remove.
23639 * abilist/libthread_db.abilist: Remove.
23640 * abilist/libutil.abilist: Remove.
23641 * scripts/extract-abilist.awk: Remove.
23642 * scripts/merge-abilist.awk: Remove.
23643 * sysdeps/generic/libcidn.abilist: New file.
23644 * sysdeps/generic/libnss_compat.abilist: New file.
23645 * sysdeps/generic/libnss_db.abilist: New file.
23646 * sysdeps/generic/libnss_dns.abilist: New file.
23647 * sysdeps/generic/libnss_files.abilist: New file.
23648 * sysdeps/generic/libnss_hesiod.abilist: New file.
23649 * sysdeps/generic/libnss_nis.abilist: New file.
23650 * sysdeps/generic/libnss_nisplus.abilist: New file.
23651 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23652 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23653 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23654 file.
23655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23656 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23657 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23658 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23659 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23660 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23661 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23662 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23663 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23664 file.
23665 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23666 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23667 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23668 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23669 file.
23670 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23671 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23672 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23673 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23674 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23675 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23676 file.
23677 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23678 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23679 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23680 file.
23681 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23683 New file.
23684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23685 New file.
23686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23687 New file.
23688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23689 New file.
23690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23691 New file.
23692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23693 New file.
23694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23695 New file.
23696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23697 New file.
23698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23699 New file.
23700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23701 New file.
23702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23703 New file.
23704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23705 New file.
23706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23707 New file.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23709 file.
23710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23711 New file.
23712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23713 New file.
23714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23715 file.
23716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23717 New file.
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23719 New file.
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23721 file.
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23723 New file.
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23725 New file.
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23727 New file.
23728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23729 New file.
23730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23731 New file.
23732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23733 New file.
23734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23736 file.
23737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23738 New file.
23739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23740 file.
23741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23742 file.
23743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23744 file.
23745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23746 file.
23747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23748 file.
23749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23750 New file.
23751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23752 file.
23753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23754 file.
23755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23756 New file.
23757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23758 file.
23759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23761 file.
23762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23763 New file.
23764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23765 file.
23766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23767 file.
23768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23769 file.
23770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23771 file.
23772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23773 file.
23774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23775 New file.
23776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23777 file.
23778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23779 file.
23780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23781 New file.
23782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23783 file.
23784 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23785 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23786 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23787 file.
23788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23789 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23790 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23791 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23792 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23793 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23794 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23795 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23796 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23797 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23800 file.
23801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23802 New file.
23803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23804 file.
23805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23806 file.
23807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23808 file.
23809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23810 file.
23811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23812 file.
23813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23814 New file.
23815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23816 New file.
23817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23818 file.
23819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23820 New file.
23821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23822 file.
23823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23825 file.
23826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23827 New file.
23828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23829 file.
23830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23831 file.
23832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23833 file.
23834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23835 file.
23836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23837 file.
23838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23839 New file.
23840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23841 New file.
23842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23843 file.
23844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23845 New file.
23846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23847 file.
23848
41d73a1b
JM
238492012-04-28 Joseph Myers <joseph@codesourcery.com>
23850
23851 * conform/conformtest.pl: Fix typo in handling typed-constant from
23852 allow-header.
23853
28aeeda4
JM
238542012-04-27 Joseph Myers <joseph@codesourcery.com>
23855
adae8f5e
JM
23856 * README: Cut down references to pre-2.6 Linux kernels and
23857 Linuxthreads. Update lists of configurations in libc and ports
23858 and sort alphabetically. Say "or newer" with Linux kernel version
23859 requirements.
23860
28aeeda4
JM
23861 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23862
a462cb63
RA
238632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23864
23865 [BZ #887]
23866 * math/libm-test.inc (logb_test_downward): New test to expose
23867 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23868 rounding mode.
23869
6ad3493e
JM
238702012-04-27 Joseph Myers <joseph@codesourcery.com>
23871
23872 [BZ #14027]
23873 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23874 to be done.
23875 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23876 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23877
2ce4f015
JM
238782012-04-26 Joseph Myers <joseph@codesourcery.com>
23879
5aeb141a
JM
23880 * sysdeps/unix/i386/brk.S: Remove file.
23881 * sysdeps/unix/i386/dl-brk.S: Likewise.
23882 * sysdeps/unix/i386/pipe.S: Likewise.
23883 * sysdeps/unix/i386/sigreturn.S: Likewise.
23884 * sysdeps/unix/i386/syscall.S: Likewise.
23885 * sysdeps/unix/i386/vfork.S: Likewise.
23886 * sysdeps/unix/i386/wait.S: Likewise.
23887
7143acae
JM
23888 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23889 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23890
2ce4f015
JM
23891 * configure.in (arm*-none*): Do not allow without
23892 --enable-hacker-mode.
23893 (netbsd*): Remove case setting base_os.
23894 (386bsd*): Likewise.
23895 (freebsd*): Likewise.
23896 (bsdi*): Likewise.
23897 (osf*): Likewise.
23898 (sunos*): Likewise.
23899 (ultrix*): Likewise.
23900 (newsos*): Likewise.
23901 (dynix*): Likewise.
23902 (*bsd*): Likewise.
23903 (sysv*): Likewise.
23904 (isc*): Likewise.
23905 (esix*): Likewise.
23906 (sco*): Likewise.
23907 (minix*): Likewise.
23908 (irix4*): Likewise.
23909 (irix6*): Likewise.
23910 (solaris[2-9]*): Likewise.
23911 (none): Likewise.
23912 * configure: Regenerated.
23913
0ac229c8
AZ
239142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23915
23916 [BZ #11521]
23917 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23918 overflow or cancellation in calculating denominator.
23919 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23921 down expression to avoid unexpected rounding in newer GCCs.
23922 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23923
33f244f4
DM
239242012-04-26 David S. Miller <davem@davemloft.net>
23925
23926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23927 long-double compat symbols.
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23941
cfa1f3e8
DM
239422012-04-25 David S. Miller <davem@davemloft.net>
23943
23944 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23945 HWCAP_* values only after the memory barriers have been defined.
23946 (atomic_full_barrier): Define.
23947 (atomic_read_barrier): Define.
23948 (atomic_write_barrier): Define.
23949
6e236b92
SP
239502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23951
23952 * shlib-versions: Add libgcc_s version information.
23953 * sysdeps/generic/libgcc_s.h: Remove.
23954 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23955 libgcc_s.h.
23956 * sysdeps/gnu/unwind-resume.c: Likewise.
23957 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23958
aab39a09
DM
239592012-04-25 David S. Miller <davem@davemloft.net>
23960
23961 * sysdeps/unix/sparc/brk.S: Delete.
23962 * sysdeps/unix/sparc/dl-brk.S: Delete.
23963 * sysdeps/unix/sparc/pipe.S: Delete.
23964 * sysdeps/unix/sparc/sysdep.S: Delete.
23965 * sysdeps/unix/sparc/sysdep.h: Delete.
23966 * sysdeps/unix/sparc/vfork.S: Delete.
23967 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23968 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23969 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23970 ret_ERRVAL, r0, r1, MOVE): Define.
23971 (JUMPTARGET): Remove.
23972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23973 sysdeps/unix/sparc/sysdep.h
23974 (ENTRY, END): Remove.
23975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23976
a3cc4f48
JM
239772012-04-25 Joseph Myers <joseph@codesourcery.com>
23978
2ed8cda2
JM
23979 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23980 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23981 -DIS_IN_build.
23982
35d76d59
JM
23983 * timezone/README: Update upstream location and email address for
23984 tzcode and tzdata.
23985 * timezone/zdump.c: Update from tzcode 2012b.
23986 * timezone/zic.c: Likewise.
23987
a3cc4f48
JM
23988 * configure.in (libc_cv_as_needed): Remove test.
23989 * configure: Regenerated.
23990 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23991 conditional definition.
23992 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23993 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23994 * config.make.in (have-as-needed): Remove variable.
23995
ceab42c3
SP
239962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23997 Paul Pluzhnikov <ppluzhnikov@google.com>
23998
23999 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24000 strings correctly.
24001
3ce2865f
CLT
240022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24003
24004 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24005 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24006 * sysdeps/sh/strlen.S: Likewise.
24007
f37e0d68
JM
240082012-04-24 Joseph Myers <joseph@codesourcery.com>
24009
ae186e9a
JM
24010 * sysdeps/unix/fork.S: Remove file.
24011 * sysdeps/unix/i386/fork.S: Likewise.
24012 * sysdeps/unix/sparc/fork.S: Likewise.
24013
b96914af
JM
24014 * sysdeps/unix/system.c: Remove file.
24015 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24016
f37e0d68
JM
24017 * sysdeps/unix/getegid.S: Remove file.
24018 * sysdeps/unix/geteuid.S: Likewise.
24019
87ef29ca
RM
240202012-04-24 Roland McGrath <roland@hack.frob.com>
24021
83bcd236
RM
24022 * scripts/check-localplt.awk: New file.
24023 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24024 of diff.
24025 * scripts/data/localplt-generic.data: Add a comment.
24026
87ef29ca
RM
24027 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24028 NODE when __dir_mkfile failed.
24029 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24030 Reported by Ludovic Courtès <ludo@gnu.org>.
24031
e5a6e567
AJ
240322012-04-24 Andreas Jaeger <aj@suse.de>
24033
24034 * Makerules (common-clean): Also remove gen-as-const-headers
24035 files.
24036
c1820385
JM
240372012-04-24 Joseph Myers <joseph@codesourcery.com>
24038
24039 * Makerules (native-compile): Do not change working directory for
24040 build. Use $(OUTPUT_OPTION) in command.
24041 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24042
94e02fc4
AZ
240432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24044
24045 [BZ #13886]
24046 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24047 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24048 * math/libm-test.inc (floor_test): Add more tests.
24049 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24050
3a533ca3
JM
240512012-04-24 Joseph Myers <joseph@codesourcery.com>
24052
940ab4b3
JM
24053 * sysdeps/unix/getdents.c: Remove file.
24054 * sysdeps/unix/sysv/getdents.c: Likewise.
24055 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24056
90e037bd
JM
24057 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24058 sysdeps/unix/mman/syscalls.list.
24059 (mmap): Likewise.
24060 (mprotect): Likewise.
24061 (msync): Likewise.
24062 (munmap): Likewise.
24063 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24064 * sysdeps/unix/mman/syscalls.list: Remove.
24065 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24066
3a533ca3
JM
24067 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24068 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24069 * configure: Regenerated.
24070 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24071 $(libgcc_s_suffix).
24072 * config.make.in (libgcc_s_suffix): Remove variable.
24073
1ad743de
JM
240742012-04-23 Joseph Myers <joseph@codesourcery.com>
24075
4ad451e2
JM
24076 * sysdeps/unix/sysv/gethostname.c: Move to ...
24077 * sysdeps/posix/gethostname.c: ... here.
24078
5e37ce39
JM
24079 * sysdeps/unix/execve.S: Remove file.
24080
1ad743de
JM
24081 * sysdeps/unix/_exit.S: Remove file.
24082
4e681b5b
AJ
240832012-04-23 Andreas Jaeger <aj@suse.de>
24084
24085 [BZ #13739]
24086 * manual/Makefile: Remove make dist support, there's no
24087 need for a stand-alone documentation tar ball.
24088 (TEXI2DVI): Define always, it's not in Makeconfig.
24089 (dist): Removed.
24090 (tar-it): Removed.
24091 (edition): Removed.
24092 (glibc-doc-$(edition).tar): Removed
24093 (%.Z): Removed.
24094 (%.gz): Removed.
24095 (%.uu): Removed.
24096 (ETAGS): Remove, it's in Makeconfig.
24097 (move-if-change): Remove, it's in Makeconfig.
24098
38686a03 240992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24100
24101 [BZ #13970]
24102 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24103 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24104 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24105 (strtod_l, strtof_l, strtold_l): Remove __wur.
24106 It is not necessarily an error to ignore strtol's return value.
24107 One can reliably look at the stored endptr to decide whether
24108 the number had valid syntax.
24109
7c0616fa
AJ
241102012-04-21 Andreas Jaeger <aj@suse.de>
24111
803cb6b7 24112 [BZ #13739]
7c0616fa
AJ
24113 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24114
b0fe253f
JM
241152012-04-21 Joseph Myers <joseph@codesourcery.com>
24116
24117 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24118 * sysdeps/unix/sysv/Versions: Remove file.
24119
8280f22d
MT
241202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24121
24122 [BZ #13927]
24123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24124
75ce411f 241252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24126
24127 [BZ #7064]
24128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24129 version from __vm86.
24130
097d59fa
JM
241312012-04-20 Joseph Myers <joseph@codesourcery.com>
24132
a90f3bcb
JM
24133 * sysdeps/unix/common/lxstat.c: Remove file.
24134 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24135
edc7ea78
JM
24136 * sysdeps/unix/sysv/Makefile: Remove file.
24137
cb78c221
JM
24138 * sysdeps/unix/sysv/direct.h: Remove file.
24139
efa6a45f
JM
24140 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24141 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24142 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24143 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24144 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24145 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24146 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24147
9c9f2d0c
JM
24148 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24149
4541c83b
JM
24150 * sysdeps/unix/xmknod.c: Remove file.
24151 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24152
f5d153a0
JM
24153 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24154
aa746595
JM
24155 * sysdeps/unix/sysv/i386/time.S: Remove file.
24156
cce5905e
JM
24157 * sysdeps/unix/fxstat.c: Remove file.
24158 * sysdeps/unix/xstat.c: Likewise.
24159 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24160
37fa3841
JM
24161 * sysdeps/unix/sysv/sigaction.c: Remove file.
24162
ff1962a3
JM
24163 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24164 (sysdep_headers): Remove variable.
24165 [termio.h not in sysdep_headers] (generated): Likewise.
24166 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24167 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24168 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24169 * sysdeps/unix/sysv/tcflow.c: Likewise.
24170 * sysdeps/unix/sysv/tcflush.c: Likewise.
24171 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24172 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24173 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24174 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24175 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24176
e7740d31
JM
24177 * sysdeps/unix/siglist.c: Remove file.
24178
ee06f18b
JM
24179 * sysdeps/unix/getppid.S: Remove file.
24180
097d59fa
JM
24181 * sysdeps/unix/mkdir.c: Remove file.
24182 * sysdeps/unix/rmdir.c: Likewise.
24183
ff3d51ec
AS
241842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24185
24186 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24187 ERR_MAX value.
24188 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24189 errlist-compat value.
24190
50f81fd7
DM
241912012-04-18 David S. Miller <davem@davemloft.net>
24192
24193 * sysdeps/generic/memcopy.h (reg_char): Delete.
24194 * debug/strcat_chk.c: Use char, not reg_char.
24195 * debug/strcpy_chk.c: Likewise.
24196 * debug/strncat_chk.c: Likewise.
24197 * debug/strncpy_chk.c: Likewise.
24198 * string/memchr.c: Likewise.
24199 * string/memrchr.c: Likewise.
24200 * string/rawmemchr.c: Likewise.
24201 * string/strcat.c: Likewise.
24202 * string/strchr.c: Likewise.
24203 * string/strchrnul.c: Likewise.
24204 * string/strcmp.c: Likewise.
24205 * string/strcpy.c: Likewise.
24206 * string/strncat.c: Likewise.
24207 * string/strncmp.c: Likewise.
24208 * string/strncpy.c: Likewise.
24209
8ff41c46
WS
242102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24211
24212 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24213 __builtin_memcopy is called when src and dest ranges are known to not
24214 overlap.
24215
6b652f46
WS
242162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24217
24218 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24219 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24220 fwd_align_merge macro call.
24221 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24222 bwd_align_merge macro call.
24223 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24224
b282631e
WS
242252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24226
24227 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24228 bwd_align_merge macros.
24229 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24230 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24232
95aa737c
DM
242332012-04-18 David S. Miller <davem@davemloft.net>
24234
24235 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24236
7a99a614
AJ
242372012-04-18 Andreas Jaeger <aj@suse.de>
24238
24239 [BZ# 6794]
24240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24241 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24242 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24243
24244 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24245 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24246 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24247
24248 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24249 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24250 Adjust for changed ldbl-128 files.
24251
24252 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24253 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24255
e5270c23
DM
242562012-04-17 David S. Miller <davem@davemloft.net>
24257
24258 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24259
fb5e92c9
AS
242602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24261
24262 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24263 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24264 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24265 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24266 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24267 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24268
76da7265
AZ
242692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24270
24271 [BZ #6794]
24272 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24273 * math/libm-test.inc: Add ilogb errno and exception tests.
24274 * math/w_ilogb.c: New file: ilogb wrapper.
24275 * math/w_ilogbf.c: New file: ilogbf wrapper.
24276 * math/w_ilogbl.c: New file: ilogbl wrapper.
24277 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24278 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24279 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24280 exception being thrown with 0.0 as argument.
24281 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24282 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24283 exception being thrown with 0.0 as argument.
24284 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24285 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24286 exception being thrown with 0.0 as argument.
24287 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24288 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24289 exception being thrown with 0.0 as argument.
24290 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24291 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24292 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24293 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24295 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24296 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24297 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24298 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24299
0396e69d
PB
243002012-04-17 Petr Baudis <pasky@ucw.cz>
24301
24302 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24303 with altivec.
24304
750b5926
MP
243052012-04-16 Marek Polacek <polacek@redhat.com>
24306
24307 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24308
751728a1
MP
243092012-04-16 Marek Polacek <polacek@redhat.com>
24310
24311 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24312 operands of fdivp instruction.
24313
34a27407
L
243142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24315
24316 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24317 * elf/tst-auditmod3b.c: Likewise.
24318 * elf/tst-auditmod4b.c: Likewise.
24319 * elf/tst-auditmod5b.c: Likewise.
24320 * elf/tst-auditmod6b.c: Likewise.
24321 * elf/tst-auditmod6c.c: Likewise.
24322 * elf/tst-auditmod7b.c: Likewise.
24323 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24324 * sysdeps/x86_64/preconfigure.in: Likewise.
24325 * sysdeps/x86_64/preconfigure: Regenerated.
24326
7e73e17d
L
243272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24328
24329 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24330 __ILP32__.
24331
c7a6ab72
AB
243322012-04-13 Antoine Balestrat <merkil33@gmail.com>
24333
24334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24335 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24336
a9e8e0e0
CL
243372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24338
24339 [BZ #13973]
24340 * locale/iso-639.def: Fix gl language name. Spotted by
24341 Yaron Shahrabani.
24342
ec98af7d
RM
243432012-04-12 Roland McGrath <roland@hack.frob.com>
24344
24345 [BZ #2074]
24346 * libio/libio.h (__io_write_fn): Update comment.
24347
247c3ede
PB
243482012-04-12 Petr Baudis <pasky@ucw.cz>
24349
24350 [BZ #2074]
24351 * stdio.texi (Hook Functions): The user provided writer function
24352 is not allowed to return -1.
24353
55939d6d
DM
243542012-04-11 David S. Miller <davem@davemloft.net>
24355
24356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24357
90020f5a
MF
243582012-04-11 Mike Frysinger <vapier@gentoo.org>
24359
24360 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24361 Add a leading slash to rtkaio.
24362
288f9098
JM
243632012-04-11 Jim Meyering <meyering@redhat.com>
24364
90020f5a
MF
24365 [BZ #11959]
24366 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24367 It is not necessarily an error to ignore fwrite's return
24368 value. One can reliably use ferror to test for errors after
24369 the fact.
288f9098 24370
4be2b570
L
243712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24372
24373 * bits/types.h (__snseconds_t): New type.
24374 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24375
24376 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24378 (__SNSECONDS_T_TYPE): Likewise.
24379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24380 (__SNSECONDS_T_TYPE): Likewise.
24381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24382 (__SNSECONDS_T_TYPE): Likewise.
24383
288f9098 243842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24385
24386 [BZ #2636]
24387 * manual/time.texi (Processor Time): Return type of times is
24388 elapsed real time since an arbitrary point in the past.
24389 (CPU Time): Move CLK_TCK from here...
24390 (Processor Time): ...to here. Correct description.
24391 * manual/conf.texi (Constants for Sysconf): Correct description of
24392 _SC_CLK_TCK.
24393
d7dd4413
DM
243942012-04-10 David S. Miller <davem@davemloft.net>
24395
24396 [BZ #13967]
24397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24398 where the is a gap between DT_REL(A) and DT_JMPREL.
24399
b46068fc
L
244002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24401
24402 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24403 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24404 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24405
73d65cc3
SP
244062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24407
24408 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24409 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24410 (dl_main): Handle --inhibit-cache.
24411 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24412 _dl_inhibit_cache.
24413 * elf/dl-load.c (_dl_map_object): Use it.
24414 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24415
bcc8d661
JM
244162012-04-09 Joseph Myers <joseph@codesourcery.com>
24417
8f9a2fae
JM
24418 [BZ #13872]
24419 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24420 (__ieee754_powl): Saturate large exponents rather than testing for
24421 overflow of y*log2(x).
24422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24423 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24424 exceptions.
24425
bcc8d661
JM
24426 [BZ #11521]
24427 * math/s_ctan.c: Include <float.h>.
24428 (__ctan): Avoid internal overflow or cancellation in calculating
24429 denominator.
24430 * math/s_ctanf.c: Likewise.
24431 * math/s_ctanl.c: Likewise.
24432 * math/s_ctanh.c: Likewise.
24433 * math/s_ctanhf.c: Likewise.
24434 * math/s_ctanhl.c: Likewise.
24435 * math/libm-test.inc (ctan_test): Add more tests.
24436 (ctanh_test): Likewise.
24437 * sysdeps/i386/fpu/libm-test-ulps: Update.
24438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24439
823fbbb4
AJ
244402012-04-09 Andreas Jaeger <aj@suse.de>
24441
03879793
AJ
24442 [BZ #6894]
24443 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24444 is an optional BSD extension.
24445
823fbbb4
AJ
24446 [BZ #10254]
24447 * manual/stdio.texi (Opening Streams): Document additional fopen
24448 parameters.
24449
8de131cb
RM
244502012-04-09 Roland McGrath <roland@hack.frob.com>
24451
24452 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24453 %eax without telling the compiler.
24454
c0ed9d7d
CD
244552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24456
24457 [BZ # 13963]
24458 * manual/install.texi: Use sourceware.org.
24459
c483f6b4
JM
244602012-04-09 Joseph Myers <joseph@codesourcery.com>
24461
d7dd9453
JM
24462 [BZ #13873]
24463 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24464 (__ieee754_pow): Generate overflow and underflow using huge*huge
24465 and tiny*tiny rather than just returning constant infinity or zero
24466 for large exponents.
24467 * math/libm-test.inc (pow_test): Require overflow exceptions for
24468 applicable cases of large exponents.
24469
c483f6b4
JM
24470 [BZ #706]
24471 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24472 (__ieee754_pow): Use iterative multiplication algorithm only for
24473 integer exponents with absolute value below 1024. Check for odd
24474 integer exponents when using algorithm for real exponents.
24475 * math/libm-test.inc (pow_test): Add more tests.
24476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24477
d2de7579
JM
244782012-04-08 Joseph Myers <joseph@codesourcery.com>
24479
24480 [BZ #13705]
24481 * math/libm-test.inc (exp_test): Do not allow overflow exception
24482 on underflow test.
24483
f77f1232
AJ
244842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24485
24486 [BZ #13705]
24487 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24488 instead of __kernel_standard_f.
24489
3884932b
MF
244902012-04-08 Mike Frysinger <vapier@gentoo.org>
24491
24492 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24493 * sysdeps/x86_64/memset_chk.S: Likewise.
24494
54472e9c
AJ
244952012-04-08 Andreas Jaeger <aj@suse.de>
24496
6ab0fbfc
AJ
24497 [BZ #10153]
24498 * manual/startup.texi (Environment Access): Describe return value
24499 for putenv and setenv.
24500
61efba8c
AJ
24501 [BZ #6895]
24502 * manual/filesys.texi (Directory Entries): Add description for
24503 DT_LNK.
24504
95c3f29a
AJ
24505 [BZ #6890]
24506 * manual/filesys.texi (Directory Entries): Clarify that it's file
24507 system not operating system in the description of DT_UNKNOWN.
24508
54472e9c
AJ
24509 [BZ #6578]
24510 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24511
624254b1
SC
245122012-04-08 Stephen Compall <s11@member.fsf.org>
24513
24514 [BZ #6649]
24515 * manual/llio.texi (Opening and Closing Files): Add cross
24516 reference to explain mode argument.
24517
1e4920e0
MF
245182012-04-07 Mike Frysinger <vapier@gentoo.org>
24519
24520 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24521 * sysdeps/x86_64/memset_chk.S: Likewise.
24522
5ed848f3
DM
245232012-04-07 David S. Miller <davem@davemloft.net>
24524
24525 * elf/elf.h (R_SPARC_WDISP10): Define.
24526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24527 R_SPARC_SIZE32.
24528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24529 R_SPARC_SIZE64 and R_SPARC_H34.
24530
96154cd8
CD
245312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24532
24533 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24534 conditions and remove no longer applicable assertion.
24535
9904dc47
L
245362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24537
24538 * bits/byteswap.h: Include <features.h>.
24539 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24540 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24541
f8887d0a
L
245422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24543
24544 * bits/byteswap.h (__bswap_16): Removed.
24545 Include <bits/byteswap-16.h> to get __bswap_16.
24546 * sysdeps/i386/bits/byteswap.h: Likewise.
24547 * sysdeps/s390/bits/byteswap.h: Likewise.
24548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24549 * bits/byteswap-16.h: New file.
24550 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24551 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24552 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24553 * string/Makefile (headers): Add bits/byteswap-16.h.
24554
62470f60
PP
245552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24556
24557 [BZ #13895]
24558 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24559 extra indirection.
24560 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24561 * nss/tst-nss-static.c: New.
24562
4dad7bab
RM
245632012-04-06 Robert Millan <rmh@gnu.org>
24564
24565 [BZ #6486]
24566 * manual/llio.texi (File Position Primitive): lseek
24567 refers to WHENCE when it really means OFFSET.
24568
e9142a17
AJ
245692012-04-06 Andreas Jaeger <aj@suse.de>
24570
2c040eff
AJ
24571 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24572 strncmp declarations.
24573
e9142a17
AJ
24574 * abilist/libc.abilist: Add __poll and __ppoll.
24575
ff9f1c5f
DM
245762012-04-05 David S. Miller <davem@davemloft.net>
24577
dcd2ae90
DM
24578 * scripts/check-local-headers.sh: Accept a host triplet in the
24579 path matched by the exclude regexp.
24580
993eb054
DM
24581 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24582 definition.
24583 * sysdeps/powerpc/powerpc32/dl-machine.h
24584 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24585 * sysdeps/s390/s390-32/dl-machine.h
24586 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24587 * sysdeps/sparc/sparc32/dl-machine.h
24588 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24589 * sysdeps/sparc/sparc64/dl-machine.h
24590 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24591
ff9f1c5f
DM
24592 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24593 lazy binding.
48e2e132 24594 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24595 undefined symbol errors.
24596
48e2e132 24597 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24598 DT_NEEDED entries.
24599
e80d6f94
MM
246002012-04-05 Michael Matz <matz@suse.de>
24601
24602 [BZ #13592]
24603 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24604
349fa79f
AJ
246052012-04-05 Andreas Jaeger <aj@suse.de>
24606
24607 [BZ #13908]
24608 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24609 comment.
24610
f402708f
KK
246112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24612
24613 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24614 which ROUND is no valid rounding mode.
24615
2ecccfc9
KK
246162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24617
24618 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24619 read again.
24620 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24621
8a53f50f
KK
246222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24623
24624 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24625 an exception using FPU order intentionally.
24626
246272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24628
24629 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24630 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24631 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24632 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24633
d653abb7
SJ
246342012-04-05 Simon Josefsson <simon@josefsson.org>
24635
24636 [BZ #12340]
24637 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24638 EINVAL when BUFLEN is too smal.
24639
c3b1bf7d
TS
246402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24641
24642 [BZ #13553]
24643 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24644 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24645
b1aa60f3
AJ
246462012-04-03 Andreas Jaeger <aj@suse.de>
24647
c3b1bf7d 24648 [BZ #13938]
67f60a26
AJ
24649 * manual/setjmp.texi (System V contexts): Fix sentence.
24650
b1aa60f3
AJ
24651 [BZ #13926]
24652 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24653 New macro for this case.
24654 [!__GNUC__] (__bswap_64): New inline function for this case.
24655 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24656 * bits/byteswap.h: Likewise.
24657 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24658 ull, guard with __GLIBC_HAVE_LONG_LONG.
24659
24660 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24661 __GLIBC_HAVE_LONG_LONG.
24662
24663 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24664 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24665
39c59c35
TMQMF
246662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24667
24668 [BZ #13691]
24669 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24670 inptr and inend, rather than using last_ch.
24671
135ffda8
DM
246722012-04-02 David S. Miller <davem@davemloft.net>
24673
24674 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24675 * stdio-common/printf-parse.h (read_int): Change return type to
24676 'int', return -1 on INT_MAX overflow.
24677 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24678 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24679 overflows INT_MAX. Check for overflow of in-format-string precision
24680 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24681 SIZE_MAX not INT_MAX for integer overflow test.
24682 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24683 skip the construct in the format string but do not record anything.
24684 * stdio-common/bug22.c: Adjust to test both width/prevision
24685 INT_MAX overflow as well as total length INT_MAX overflow. Check
24686 explicitly for proper errno values.
24687
228c019e
TS
246882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24689
302cadd3
TS
24690 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24691 CHAR_MAX.
24692 * string/test-strcmp.c [! WIDE]: Likewise.
24693 * time/tst-mktime2.c: Likewise for INT_MAX.
24694 * string/test-string.h: #include <sys/param.h> for MIN.
24695
228c019e
TS
24696 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24697 * sysdeps/i386/init-first.c (init): Likewise.
24698 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24699 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24700 * sysdeps/sh/init-first.c (init): Likewise.
24701
cfa633f5
UD
247022012-04-01 Ulrich Drepper <drepper@gmail.com>
24703
24704 * po/ru.po: Update from translation team.
d1635ef8 24705 * po/vi.po: Likewise.
cfa633f5 24706
6cd0a5ea
SP
247072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24708
24709 * resolv/nss_dns/dns-host.c: Merge copyright years.
24710
4b43400f
LD
247112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24712
24713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24714 Optimize memcpy with prefetch if
24715 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24716 src, dst pointers have unequal 16 byte alignments.
24717
48c41d04
SP
247182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24719
24720 [BZ #13928]
24721 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24722 from a CNAME entry and return the minimum ttl for the query.
24723 (gaih_getanswer_slice): Likewise.
24724
b8dc394d
JL
247252012-03-30 Jeff Law <law@redhat.com>
24726
24727 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24728 due to long keys.
24729 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24730 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24731
2f5a5ed0
JL
24732 * resolv/nss_dns/dns-host.c: Update copyright year.
24733
1d39e359
UD
247342012-03-30 Ulrich Drepper <drepper@gmail.com>
24735
c030f70c 24736 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24737 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24738
1d39e359
UD
24739 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24740 comments for sendmmsg.
24741
247422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24743
24744 [BZ #13691]
24745 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24746 with only 1 character between 0x0041 and 0x01b0.
24747 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24748 * wcsmbs/tst-mbsnrtowcs.c: New file.
24749
20fde227
DM
247502012-03-29 David S. Miller <davem@davemloft.net>
24751
24752 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24753 small copies by hand.
24754
984a4237
JL
247552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24756
24757 [BZ #13761]
24758 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24759 _nss_compat_initgroups_dyn): Fall back to malloc/free
24760 for large group memberships.
24761
18c9d62b
DM
247622012-03-28 David S. Miller <davem@davemloft.net>
24763
88d85d4f
DM
24764 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24765 that branches into memcpy.
24766 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24769 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24771 bits.
24772 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24773 implementation too.
24774 * sysdeps/sparc/mempcpy.S: New file.
24775
e5aa83e1
DM
24776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24777 the IFUNC routine in the libc case.
24778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24779
88570753
DM
24780 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24781 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24782 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24783 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24784 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24785 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24786 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24787 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24788
249d7567
DM
24789 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24790 loop to 256 bytes instead of 64 bytes and fix test signedness.
24791
18c9d62b
DM
24792 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24793 * sysdeps/sparc/sparc32/Makefile: rather than here...
24794 * sysdeps/sparc/sparc64/Makefile: and here.
24795
05f3d1f6
UD
247962012-03-28 Ulrich Drepper <drepper@gmail.com>
24797
24798 * malloc/mallocbug.c: Avoid warnings about unused variables.
24799
86ae07a8
JL
248002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24801
24802 [BZ #13760]
24803 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24804 in the right place. Discard and retry query if response is
24805 larger than input buffer size.
24806
41bf21a1
JM
248072012-03-28 Joseph Myers <joseph@codesourcery.com>
24808
d6270972
JM
24809 [BZ #369]
24810 [BZ #2678]
24811 [BZ #3866]
24812 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24813 x for large integer exponent.
24814 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24815 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24816 sign of result as needed afterwards.
24817 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24818 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24819 result for underflowing pow the same as for overflow.
24820 (__kernel_standard_l): Handle powl overflow and underflow here
24821 rather than calling __kernel_standard.
24822 * math/libm-test.inc (pow_test): Add more tests.
24823
414fca03 24824 [BZ #3868]
41bf21a1
JM
24825 [BZ #13879]
24826 [BZ #13910]
24827 [BZ #13911]
24828 [BZ #13912]
24829 [BZ #13913]
24830 [BZ #13915]
24831 [BZ #13916]
24832 [BZ #13917]
24833 [BZ #13918]
24834 [BZ #13919]
24835 [BZ #13920]
24836 [BZ #13921]
24837 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24838 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24839 (__kernel_standard_l): New function.
24840 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24841 __kernel_standard.
24842 * math/w_acosl.c (__acosl): Likewise.
24843 * math/w_asinl.c (__asinl): Likewise.
24844 * math/w_atan2l.c (__atan2l): Likewise.
24845 * math/w_atanhl.c (__atanhl): Likewise.
24846 * math/w_coshl.c (__coshl): Likewise.
24847 * math/w_exp10l.c (__exp10l): Likewise.
24848 * math/w_exp2l.c (__exp2l): Likewise.
24849 * math/w_fmodl.c (__fmodl): Likewise.
24850 * math/w_hypotl.c (__hypotl): Likewise.
24851 * math/w_j0l.c (__j0l, __y0l): Likewise.
24852 * math/w_j1l.c (__j1l, __y1l): Likewise.
24853 * math/w_jnl.c (__jnl, __ynl): Likewise.
24854 * math/w_lgammal.c (__lgammal): Likewise.
24855 * math/w_log10l.c (__log10l): Likewise.
24856 * math/w_log2l.c (__log2l): Likewise.
24857 * math/w_logl.c (__logl): Likewise.
24858 * math/w_powl.c (__powl): Likewise.
24859 * math/w_remainderl.c (__remainderl): Likewise.
24860 * math/w_scalbl.c (sysv_scalbl): Likewise.
24861 * math/w_sinhl.c (__sinhl): Likewise.
24862 * math/w_sqrtl.c (__sqrtl): Likewise.
24863 * math/w_tgammal.c (__tgammal): Likewise.
24864 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24865 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24866 * math/libm-test.inc (acos_test): Add more tests.
24867 (acosh_test): Likewise.
24868 (asin_test): Likewise.
24869 (atanh_test): Likewise.
24870 (exp_test): Likewise.
24871 (exp10_test): Likewise.
24872 (exp2_test): Likewise.
24873 (expm1_test): Likewise.
24874 (lgamma_test): Likewise.
24875 (log_test): Likewise.
24876 (log10_test): Likewise.
24877 (log1p_test): Likewise.
24878 (log2_test): Likewise.
24879 (pow_test): Do not allow some spurious overflow exceptions.
24880 (sqrt_test): Add more tests.
24881 (tgamma_test): Likewise.
24882 (y0_test): Likewise.
24883 (y1_test): Likewise.
24884 (yn_test): Likewise.
24885
dd62fda6
AB
248862012-03-27 Anton Blanchard <anton@samba.org>
24887
24888 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24889 MAP_HUGETLB.
24890 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24891 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24892 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24893
1e3cdfda
AJ
248942012-03-27 David S. Miller <davem@davemloft.net>
24895
b855ab85
DM
24896 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24897
1e3cdfda
AJ
24898 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24899 have-as-vis3 check.
24900
249012012-03-27 Andreas Jaeger <aj@suse.de>
24902
24903 * sysdeps/x86_64/elf/configure.in: Moved to ...
24904 * sysdeps/x86_64/configure.in: ... here.
24905 * sysdeps/x86_64/elf/start.S: Moved to ...
24906 * sysdeps/x86_64/start.S: ... here.
24907 * sysdeps/x86_64/elf/configure: Delete.
24908
24909 * sysdeps/x86_64/configure.in: Merge contents from
24910 sysdeps/i386/configure.in (without i686 check).
24911
24912 * sysdeps/i386/elf/Versions: Merge into ...
24913 * sysdeps/i386/Versions: ... this.
24914 * sysdeps/i386/elf/Versions: Delete file.
24915 * sysdeps/i386/elf/start.S: Moved to ...
24916 * sysdeps/i386/start.S: ...here.
24917 * sysdeps/i386/elf/configure.in: Merge into...
24918 * sysdeps/i386/configure.in: ...here.
24919 * sysdeps/i386/elf/configure.in: Delete file.
24920 * sysdeps/i386/elf/configure: Delete file.
24921
24922 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24923 * debug/backtracesyms.c: ... here.
24924 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24925 * debug/backtracesymsfd.c: ... here.
24926 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24927 * sysdeps/generic/ifunc-sel.h: ... here.
24928
24929 * sysdeps/unix/i386/start.c: Delete file.
24930 * sysdeps/unix/sparc/start.c: Delete file.
24931 * sysdeps/unix/start.c: Delete file.
24932
24933 * sysdeps/sh/elf/configure.in: Moved to ...
24934 * sysdeps/sh/configure.in: ... here.
24935 * sysdeps/sh/elf/start.S: Moved to ...
24936 * sysdeps/sh/start.S: ... here.
24937 * sysdeps/sh/elf/configure: Delete file.
24938
24939 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24940 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24941 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24942 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24943 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24944 * sysdeps/powerpc/powerpc64/start.S: here.
24945 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24946 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24947 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24948 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24949 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24950
24951 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24952 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24953 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24954 * sysdeps/powerpc/powerpc32/start.S: ... here.
24955 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24956 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24957 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24958
24959 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24960 * sysdeps/powerpc/ifunc-sel.h: ... here.
24961 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24962 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24963
24964 * sysdeps/sparc/elf/configure.in: Moved to ...
24965 * sysdeps/sparc/configure.in: ... here.
24966 * sysdeps/sparc/elf/configure: Delete file.
24967 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24968 * sysdeps/sparc/sparc32/start.S: ... here.
24969 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24970 * sysdeps/sparc/sparc64/start.S: ... here.
24971 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24972 * sysdeps/sparc/sparc32/Makefile: ... this.
24973 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24974 * sysdeps/sparc/sparc64/Makefile: ... this.
24975
24976 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24977 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24978 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24979 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24980 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24981 * sysdeps/s390/s390-32/setjmp.S: ... here.
24982 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24983 * sysdeps/s390/s390-32/configure.in: ... here.
24984 * sysdeps/s390/s390-32/elf/configure: Delete file.
24985 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24986 * sysdeps/s390/s390-32/start.S: ... here.
24987
24988 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24989 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24990 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24991 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24992 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24993 * sysdeps/s390/s390-64/setjmp.S: ... here.
24994 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24995 * sysdeps/s390/s390-64/configure.in: ... here
24996 * sysdeps/s390/s390-64/elf/configure: Delete file.
24997 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24998 * sysdeps/s390/s390-64/start.S: ... here.
24999 * sysdeps/s390/s390-64/elf/configure: Delete.
25000
25001 * configure.in: Remove support for elf directories in sysdeps.
25002
25003 * configure: Regenerated.
25004 * sysdeps/i386/configure: Regenerated.
25005 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25006 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25007 * sysdeps/s390/s390-32/configure: Regenerated.
25008 * sysdeps/s390/s390-64/configure: Regenerated.
25009 * sysdeps/sh/configure: Regenerated.
25010 * sysdeps/sparc/configure: Regenerated.
25011 * sysdeps/x86_64/configure: Regenerated.
25012
a3f61311
AS
250132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25014
c876e002
AS
25015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25016
a3f61311
AS
25017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25018 denormal result into account.
25019
ac4c54f0
RM
250202012-03-25 Roland McGrath <roland@hack.frob.com>
25021
25022 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25023 Reported by Allan McRae <allan@archlinux.org>.
25024
6a9b9c02
JL
250252012-03-23 Jeff Law <law@redhat.com>
25026
25027 * nss/getnssent.c (__nss_getent): Fix typo.
25028
4c42a0c1
DM
250292012-03-23 David S. Miller <davem@davemloft.net>
25030
25031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25032
1532c7ac
L
250332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25034
25035 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25036 to pad to uint64_t for each field.
25037 (dl_tls_index): Replace unsigned long with uint64_t.
25038
3ff42526
PP
250392012-03-23 Daniel Jacobowitz <dmj@google.com>
25040 Paul Pluzhnikov <ppluzhnikov@google.com>
25041
25042 [BZ #6528]
25043 * grp/Makefile (otherlibs): Don't set it.
25044 * inet/Makefile (otherlibs): Likewise.
25045 * login/Makefile (otherlibs): Likewise.
25046 * nscd/Makefile (otherlibs): Likewise.
25047 * posix/Makefile (otherlibs): Likewise.
25048 * pwd/Makefile (otherlibs): Likewise.
25049 * rt/Makefile (otherlibs): Likewise.
25050 * sunrpc/Makefile (otherlibs): Likewise.
25051 * nss/Makefile (otherlibs): Likewise.
25052 Add libnss_files to routines and static-only-routines.
25053 ($(objpfx)getent): Remove rule.
25054 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25055 static-only-routines.
25056
7c69cd14
JM
250572012-03-22 Joseph Myers <joseph@codesourcery.com>
25058
25059 [BZ #13892]
25060 * math/s_cexp.c: Include <float.h>.
25061 (__cexp): Handle exp result overflowing not necessarily
25062 overflowing both real and imaginary parts of result.
25063 * math/s_cexpf.c: Likewise.
25064 * math/s_cexpl.c: Likewise.
25065 * math/libm-test.inc (cexp_test): Add more tests.
25066 * sysdeps/i386/fpu/libm-test-ulps: Update.
25067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25068
81b035fe
L
250692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25070
25071 * include/link.h (ELFW): New macro.
25072 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25073 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25074
1da7940c
L
250752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25076
25077 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25078 with uint64_t.
25079
b749dbb9
L
250802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25081
25082 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25083 declaration.
25084 (struct La_x32_retval): Likewise.
25085
2ff87f3f
L
250862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25087
25088 * sysdeps/x86_64/preconfigure.in: New file.
25089 * sysdeps/x86_64/preconfigure: New generated file.
25090
c0df8e69
JM
250912012-03-22 Joseph Myers <joseph@codesourcery.com>
25092
48e44791
JM
25093 [BZ #13824]
25094 * math/e_exp2l.c: Include <float.h>.
25095 (__ieee754_exp2l): Handle overflow and underflow cases
25096 separately. Only pass fractional part of argument to
25097 __ieee754_expl.
25098 * math/libm-test.inc (exp2_test): Add more tests.
25099
c0df8e69
JM
25100 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25101 negating x to take absolute value.
25102 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25103 Likewise.
25104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25106 Likewise.
25107 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25108 computing low part if x was negated.
25109 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25110
c8e43ba7
L
251112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25112
25113 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25114 la_x32_gnu_pltexit.
25115 (pltexit): Cast int_retval to ptrdiff_t.
25116 * elf/tst-auditmod3b.c: Likewise.
25117 * elf/tst-auditmod4b.c: Likewise.
25118 * elf/tst-auditmod5b.c: Likewise.
25119 * elf/tst-auditmod6b.c: Likewise.
25120 * elf/tst-auditmod6c.c: Likewise.
25121 * elf/tst-auditmod7b.c: Likewise.
25122
25123 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25124 and x32_gnu_pltexit.
25125
25126 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25127 __ELF_NATIVE_CLASS.
25128 (La_x32_regs): New macro.
25129 (La_x32_retval): Likewise.
25130 (la_x32_gnu_pltenter): New function prototype.
25131 (la_x32_gnu_pltexit): Likewise.
25132
7998fa78
AS
251332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25134
dcb33988
AS
25135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25136 exponent.
25137
233fc563
AS
25138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25139
7998fa78
AS
25140 * configure.in (libc_cv_cc_nofma): Check for option to disable
25141 generation of FMA instructions.
25142 * configure: Regenerate.
25143 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25144 * sysdeps/ieee754/dbl-64/Makefile: New file.
25145 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25146 Remove brandred-fma4.
25147 (CFLAGS-brandred-fma4.c): Remove.
25148 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25149 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25150 define.
25151 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25152 define.
25153
8e95c99a
L
251542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25155
25156 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25157 LLONG_MAX != LONG_MAX.
25158 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25159 (_fitoa_word): Likewise.
25160 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25161 LLONG_MAX != LONG_MAX.
25162 * stdio-common/_itowa.h: Include <_itoa.h>.
25163 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25164 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25165 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25166 only if not defined.
25167 (_ITOA_WORD_TYPE): Likewise.
25168 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25169 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25170
6f4db457
DM
251712012-03-21 David S. Miller <davem@davemloft.net>
25172
25173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25174
7785fe5a
L
251752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25176
25177 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25178 of x86_64 when setting libc_cv_slibdir, libdir and
25179 libc_cv_localedir.
25180 * sysdeps/unix/sysv/linux/configure: Regenerated.
25181
4535cd55
JM
251822012-03-21 Joseph Myers <joseph@codesourcery.com>
25183
25184 * manual/lang.texi (Old Varargs): Remove section.
25185 (How Variadic): Update menu.
25186 (va_start): Do not mention varargs.h.
25187
17228132
TS
251882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25189 Joseph Myers <joseph@codesourcery.com>
25190
25191 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25192 link test.
25193 * configure: Regenerated.
25194
8149f976
TS
251952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25196
05f3d1f6
UD
25197 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25198 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25199 conformtest.pl
8149f976 25200
1a4ac776
JM
252012012-03-21 Joseph Myers <joseph@codesourcery.com>
25202
be22ce65
JM
25203 * NOTES: Remove.
25204 * Makefile (files-for-dist): Remove NOTES.
25205 (NOTES): Remove rule.
25206 * README: Don't refer to NOTES.
25207 * manual/creature.texi: Don't include macros.texi.
25208 * manual/intro.texi (creature.texi): Remove comment referring to
25209 NOTES.
25210
40b601fb
JM
25211 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25212 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25213 * configure: Regenerated.
25214 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25215 LIBC_TRY_CC_OPTION.
25216 (libc_cv_as_i686): Likewise.
25217 (libc_cv_cc_avx): Likewise.
25218 (libc_cv_cc_sse2avx): Likewise.
25219 (libc_cv_cc_fma4): Likewise.
25220 (libc_cv_cc_novzeroupper): Likewise.
25221 * sysdeps/i386/configure: Regenerated.
25222
1a4ac776
JM
25223 [BZ #13883]
25224 * sysdeps/i386/fpu/s_cexp.S: Remove.
25225 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25226 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25227 * math/libm-test.inc (cexp_test): Add more tests.
25228 * sysdeps/i386/fpu/libm-test-ulps: Update.
25229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25230
a458e7fe
AM
252312012-03-21 Allan McRae <allan@archlinux.org>
25232
25233 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25234
0cb7efc5
JM
252352012-03-21 Joseph Myers <joseph@codesourcery.com>
25236
25237 [BZ #13871]
25238 * math/w_exp2.c: Do not include <float.h>.
25239 (o_threshold, u_threshold): Remove.
25240 (__exp2): Calculate result before checking finiteness and calling
25241 __kernel_standard.
25242 * math/w_exp2f.c: Likewise.
25243 * math/w_exp2l.c: Likewise.
25244 * math/libm-test.inc (exp2_test): Require overflow exception for
25245 1e6 input.
2460d3aa
JM
25246
25247 [BZ #3866]
25248 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25249 range of signed 64-bit integers before using fistpll. Remove
25250 checks for whether integers fit in mantissa bits.
25251 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25252 the range of signed 32-bit integers before using fistpl. Remove
25253 checks for whether integers fit in mantissa bits.
25254 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25255 (__ieee754_powl): Test for y outside the range of signed 64-bit
25256 integers before using fistpll. Reduce 64-bit values to 63-bit
25257 ones as needed.
25258 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25259 divide-by-zero is raised for zero to large negative powers.
25260 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25261 (__ieee754_powl): Test for y outside the range of signed 64-bit
25262 integers before using fistpll. Reduce 64-bit values to 63-bit
25263 ones as needed.
25264 * math/libm-test.inc (pow_test): Add more tests.
25265
eb96ffb0
L
252662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25267
25268 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25269 <stdio-common/_itoa.h>.
25270 * debug/segfault.c: Likewise.
25271 * elf/dl-cache.c: Likewise.
25272 * elf/dl-minimal.c: Likewise.
25273 * elf/dl-misc.c: Likewise.
25274 * elf/dl-sysdep.c: Likewise.
25275 * elf/dl-version.c: Likewise.
25276 * elf/rtld.c: Likewise.
25277 * hurd/hurdsock.c: Likewise.
25278 * hurd/lookup-retry.c: Likewise.
25279 * malloc/malloc.c: Likewise.
25280 * malloc/mtrace.c: Likewise.
25281 * nscd/nscd_getgr_r.c: Likewise.
25282 * nscd/nscd_getpw_r.c: Likewise.
25283 * nscd/nscd_getserv_r.c: Likewise.
25284 * posix/getopt_init.c: Likewise.
25285 * posix/wordexp.c: Likewise.
25286 * stdio-common/_itoa.c: Likewise.
25287 * stdio-common/printf_fphex.c: Likewise.
25288 * stdio-common/vfprintf.c: Likewise.
25289 * string/_strerror.c: Likewise.
25290 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25291 * sysdeps/i386/i686/hp-timing.h: Likewise.
25292 * sysdeps/mach/_strerror.c: Likewise.
25293 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25294 * sysdeps/mach/hurd/sethostid.c: Likewise.
25295 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25296 * sysdeps/mach/xpg-strerror.c: Likewise.
25297 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25299 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25300 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25301 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25302 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25303 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25304 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25305 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25306 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25307 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25308 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25309 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25310 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25311 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25312 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25313 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25314 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25315 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25316 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25317 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25318
25319 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25320
25321 * stdio-common/_itoa.h: Moved to ...
25322 * sysdeps/generic/_itoa.h: Here.
25323
25324 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25325
25326 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25327 instead of "_itoa.h" and "_itowa.h".
25328 * stdio-common/vfprintf.: Likewise.
25329
d1af992d
L
253302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25331
25332 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25333 <bits/wordsize.h>.
25334 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25335 (__signbit): Likwise.
25336 (llrintf): Likwise.
25337 (llrint): Likwise.
25338
114883e0
L
253392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25340
25341 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25342 __WORDSIZE != 64.
25343
c135cc1b
JM
253442012-03-20 Joseph Myers <joseph@codesourcery.com>
25345
25346 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25347 OVERFLOW_EXCEPTION_OK.
25348 * math/libm-test.inc ("Philosophy"): Update comment about
25349 exception testing.
25350 (OVERFLOW_EXCEPTION): Define.
25351 (OVERFLOW_EXCEPTION_OK): Likewise.
25352 (INVALID_EXCEPTION_OK): Renumber.
25353 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25354 (IGNORE_ZERO_INF_SIGN): Likewise.
25355 (test_exceptions): Handle FE_OVERFLOW.
25356 (exp10_test): Expect overflow exceptions.
25357 (exp2_test): Likewise.
25358 (expm1_test): Likewise.
25359 (nextafter_test): Likewise.
25360 (pow_test): Likewise.
25361 (scalbn_test): Likewise.
25362 (scalbln_test): Likewise.
25363
95443d88
L
253642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25365
25366 * sysdeps/x86_64/bits/atomic.h
25367 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25368 64bit integer.
25369 (atomic_exchange_acq): Likewise.
25370 (__arch_exchange_and_add_body): Likewise.
25371 (__arch_add_body): Likewise.
25372 (atomic_add_negative): Likewise.
25373 (atomic_add_zero): Likewise.
25374
490df6c4
L
253752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25376
c2722551 25377 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25378 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25379
5e52b189
L
253802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25383 Check __x86_64__ instead of __WORDSIZE.
25384
a9879d4c
L
253852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25386
25387 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25388
5df98260
DM
253892012-03-19 David S. Miller <davem@davemloft.net>
25390
e1497744
DM
25391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25392
5df98260
DM
25393 * sysdeps/sparc/fpu/fenv_private.h: New file.
25394 * sysdeps/sparc/fpu/math_private.h: Use it.
25395 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25396 Remove.
25397 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25398 (libc_feholdexcept_setroundl): Remove.
25399 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25400 Remove.
25401 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25402 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25403
b4c35121
L
254042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25405
25406 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25407 int64_t instead of long int.
25408 (INSERT_WORDS64): Likwise.
25409
56965fd7
L
254102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25411
25412 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25413 _Unwind_GetCFA return to _Unwind_Ptr first.
25414
83d1aec8
JM
254152012-03-19 Joseph Myers <joseph@codesourcery.com>
25416
1897ad44
JM
25417 [BZ #13629]
25418 * math/s_clog.c: Include <float.h>.
25419 (__clog): Scale large or subnormal inputs.
25420 * math/s_clogf.c: Likewise.
25421 * math/s_clogl.c: Likewise.
25422 * math/s_clog10.c: Include <float.h>.
25423 (M_LOG10_2): Define.
25424 (__clog10): Scale large or subnormal inputs.
25425 * math/s_clog10f.c: Likewise.
25426 * math/s_clog10l.c: Likewise.
25427 * math/libm-test.inc (clog_test): Add more tests.
25428 (clog10_test): Likewise.
25429 * sysdeps/i386/fpu/libm-test-ulps: Update.
25430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25431
7726d6a9
JM
25432 [BZ #11451]
25433 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25434 x and y.
25435 * math/libm-test.inc (atan2_test): Add another test.
25436
83d1aec8
JM
25437 * Makerules (common-objdir-compile): Remove.
25438 * sysdeps/unix/Makefile (config-generated): Do not add
25439 $(unix-generated) to variable.
25440 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25441 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25442 Remove rule.
25443 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25444 Likewise.
25445 [generic bits/local_lim.h] (before-compile): Do not append to
25446 variable.
25447 [generic bits/local_lim.h] (common-generated): Likewise.
25448 [generic sys/param.h] (before-compile): Do not append to variable.
25449 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25450 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25451 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25452 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25453 include.
25454 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25455 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25456 [generic sys/param.h] ($(addprefix
25457 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25458 [generic sys/param.h] (common-generated): Do not append to
25459 variable.
25460 [generic sys/param.h] (sysdep_headers): Likewise.
25461 [generic bits/errno.h] (before-compile): Do not append to
25462 variable.
25463 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25464 rule.
25465 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25466 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25467 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25468 [generic bits/errno.h] (common-generated): Do not append to
25469 variable.
25470 [generic bits/ioctls.h] (before-compile): Do not append to
25471 variable.
25472 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25473 rule.
25474 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25475 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25476 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25477 rule.
25478 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25479 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25480 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25481 [generic bits/ioctls.h] (common-generated): Do not append to
25482 variable.
25483 [generic sys/syscall.h] (syscall.h): Remove variable.
25484 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25485 rule.
25486 [generic sys/syscall.h] (before-compile): Do not append to
25487 variable.
25488 [generic sys/syscall.h] (common-generated): Likewise.
25489 * sysdeps/unix/errnos-tmpl.c: Remove file.
25490 * sysdeps/unix/errnos.awk: Likewise.
25491 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25492 * sysdeps/unix/ioctls.awk: Likewise.
25493 * sysdeps/unix/mk-local_lim.c: Likewise.
25494 * sysdeps/unix/snarf-ioctls: Likewise.
25495
4851a949
RH
254962012-03-19 Richard Henderson <rth@twiddle.net>
25497
bd37f2ee
RH
25498 * sysdeps/i386/fpu/fenv_private.h: New file.
25499 * sysdeps/i386/fpu/math_private.h: Use it.
25500 (math_opt_barrier, math_force_eval): Remove.
25501 (libc_feholdexcept_setround_53bit): Remove.
25502 (libc_feupdateenv_53bit): Remove.
25503 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25504 (math_opt_barrier, math_force_eval): Remove.
25505 (libc_feholdexcept): Remove.
25506 (libc_feholdexcept_setround): Remove.
25507 (libc_fetestexcept, libc_fesetenv): Remove.
25508 (libc_feupdateenv_test): Remove.
25509 (libc_feupdateenv, libc_feholdsetround): Remove.
25510 (libc_feresetround): Remove.
25511
d0adc922
RH
25512 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25513 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25514
0fe0f1f8
RH
25515 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25516 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25517 (libc_feupdateenv_testl): New.
25518 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25519 (libc_feupdateenv_testf): New.
25520 (libc_feupdateenv): Use libc_feupdateenv_test.
25521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25523
eb92c487
RH
25524 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25525 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25526 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25527 (libc_feresetround_noex): New.
25528 (libc_feresetround_noexf): New.
25529 (libc_feresetround_noexl): New.
25530 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25531 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25532 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25533 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25534 SET_RESTORE_ROUND.
25535 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25537 (__cos): Likewise.
25538 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25540 SET_RESTORE_ROUND_NOEX.
25541 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25542 SET_RESTORE_ROUND_NOEXF.
25543 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25544 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25545 (libc_feholdsetroundf): New.
25546 (libc_feresetround, libc_feresetroundf): New.
25547
7d2e8012
RH
25548 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25549 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25550 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25551
b4dabbb4
RH
25552 * sysdeps/generic/math_private.h: Include <fenv.h>.
25553 (default_libc_feholdexcept): New.
25554 (default_libc_feholdexcept_setround): New.
25555 (default_libc_fesetenv, default_libc_feupdateenv): New.
25556 (libc_feholdexcept): Only define if undefined.
25557 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25558 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25559 (libc_feholdexcept_setroundl): Likewise.
25560 (libc_feholdexcept_setround_53bit): Likewise.
25561 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25562 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25563 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25564 (libc_feupdateenv_53bit): Likewise.
25565 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25566 (libc_feholdexcept): Convert from macro to inline function.
25567 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25568 (libc_fesetenv, libc_feupdateenv): Likewise.
25569
4851a949
RH
25570 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25571 not previously defined.
25572 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25573 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25574 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25575 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25576 * sysdeps/ieee754/flt-32/math_private.h: New file.
25577 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25578 math_private.h below SET_FLOAT_WORD.
25579 (__isnan, __isinf_ns, __finite): Remove.
25580 (__isnanf, __isinf_nsf, __finitef): Remove.
25581
e79d442e
AS
255822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25583
25584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25585
90b80344
DM
255862012-03-17 David S. Miller <davem@davemloft.net>
25587
25588 [BZ #6471]
25589 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25590 for 2.16.
25591
edc21804
DM
255922012-03-16 David S. Miller <davem@davemloft.net>
25593
77e927af
DM
25594 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25595 warnings.
25596
374976dd
DM
25597 [BZ #6471]
25598 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25599 properly.
25600 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25601 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25602 sysdep_routines when subdir is sysvipc.
25603 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25604 __getshmlba helper.
25605
edc21804
DM
25606 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25607
473c3ef3
L
256082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25609
25610 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25611 [__LP64__].
25612
eb0f39b6
L
256132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25614
25615 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25616 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25617 (__lround): Renamed to ...
25618 (__llround): This. Replace long int with long long int.
25619 Define lround functions as aliases of llround functions.
25620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25621
6b6cd74b
L
256222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25623
25624 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25625 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25626 adresses to uintptr_t. Replace "long int" and "unsigned long
25627 int" with "greg_t" on va_arg.
25628
f1a77b01
L
256292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25630
25631 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25632 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25633
25634 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25635 Move e_machine check before EI_CLASS check. Handle x32
25636 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25637 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25638 SKIP_EM_IA_64 and include
25639 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25640
25641 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25642 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25643 (add_system_dir): New macro.
25644
25645 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25646 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25647
11b90b9f
JM
256482012-03-16 Joseph Myers <joseph@codesourcery.com>
25649
c36e1d23
JM
25650 [BZ #2551]
25651 [BZ #2552]
25652 [BZ #2553]
25653 [BZ #2554]
25654 [BZ #2562]
25655 [BZ #2563]
25656 [BZ #2565]
25657 [BZ #2566]
25658 [BZ #2576]
25659 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25660 (y0): Likewise.
25661 * math/w_j0f.c (j0f): Likewise.
25662 (y0f): Likewise.
25663 * math/w_j0l.c (__j0l): Likewise.
25664 (__y0l): Likewise.
25665 * math/w_j1.c (j1): Likewise.
25666 (y1): Likewise.
25667 * math/w_j1f.c (j1f): Likewise.
25668 (y1f): Likewise.
25669 * math/w_j1l.c (__j1l): Likewise.
25670 (__y1l): Likewise.
25671 * math/w_jn.c (jn): Likewise.
25672 (yn): Likewise.
25673 * math/w_jnf.c (jnf): Likewise.
25674 (ynf): Likewise.
25675 * math/w_jnl.c (__jnl): Likewise.
25676 (__ynl): Likewise.
25677 * math/libm-test.inc (j0_test): Add more tests.
25678 (j1_test): Likewise.
25679 (jn_test): Likewise. Add trailing semicolon to existing test.
25680 (y0_test): Likewise.
25681 (y1_test): Likewise.
25682 * sysdeps/i386/fpu/libm-test-ulps: Update.
25683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25684
11b90b9f
JM
25685 [BZ #13851]
25686 [BZ #13854]
25687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25688 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25689 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25690 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25691 (__tanl): Set errno for infinite argument.
25692 * sysdeps/i386/fpu/mptan.c: Remove.
25693 * sysdeps/i386/fpu/s_tan.S: Likewise.
25694 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25695 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25696 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25697 * math/libm-test.inc (tan_test): Add more tests and enable more
25698 tests for double and long double.
25699 * sysdeps/i386/fpu/libm-test-ulps: Update.
25700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25701
6a1bd2a1
JK
257022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25703
25704 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25705 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25706
10a803e0
RM
257072012-03-16 Roland McGrath <roland@hack.frob.com>
25708
25709 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25710 * configure.in: Use it for both main tree and add-ons.
25711 * configure: Regenerated.
25712
f196c7f7
L
257132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25714
25715 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25716
8848d99d
JM
257172012-03-16 Joseph Myers <joseph@codesourcery.com>
25718
96cbe7f4
JM
25719 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25720 in comment.
25721
8848d99d
JM
25722 [BZ #13851]
25723 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25724 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25728 infinite argument.
25729 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25731 != 0 for prec == 2.
25732 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25733 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25734 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25735 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25736 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25737 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25738 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25739 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25740 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25741 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25742 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25743 * math/libm-test.inc (cos_test): Add more tests and enable more
25744 tests for long double.
25745 (sin_test): Likewise.
25746 (sincos_test): Likewise.
25747 * sysdeps/i386/fpu/libm-test-ulps: Update.
25748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25749
dd7f4703
DM
257502012-03-16 David S. Miller <davem@davemloft.net>
25751
25752 * sysdeps/sparc/fpu/math_private.h: New file.
25753
006f1daa
DM
257542012-03-15 David S. Miller <davem@davemloft.net>
25755
c0c83bc8
DM
25756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25757 file.
e6a62e18 25758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25760 file.
e6a62e18
DM
25761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25767 sysdep routines.
25768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25769
88cb87d9
DM
25770 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25771 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25772
006f1daa 25773 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25775 sparc-ifunc.h
006f1daa 25776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25778 Likewise.
25779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25780 Likewise.
006f1daa
DM
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25785 Likewise.
006f1daa
DM
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25791 Likewise.
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25793 Likewise.
006f1daa
DM
25794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25818
11e0098e
AS
258192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25820
25821 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25822 scaling.
25823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25824
e85b09d0
AJ
258252012-03-15 Andreas Jaeger <aj@suse.de>
25826
25827 [BZ #13852]
25828 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25829 ieee754/flt-32 implementation for sin, cos and sincos.
25830 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25831 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25832 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25833 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25834 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25835 ieee754/flt-32 implementation for tan.
25836
25837 * math/libm-test.inc (cos_test): Enable some large input tests for
25838 float as well
25839 (sin_test): Likewise.
25840 (sincos_test): Likewise.
25841 (tan_test): Add tests for large input.
25842
25843 * sysdeps/i386/fpu/libm-test-ulps: Update.
25844
81c64153
AJ
258452012-03-15 Andreas Jaeger <aj@suse.de>
25846
25847 [BZ #13658]
25848 * math/libm-test.inc (cos_test): Add more test cases.
25849 (sin_test): Likewise.
25850 (sincos_test): Likewise.
25851
7bbfa5c6
AJ
258522012-03-15 Andreas Jaeger <aj@suse.de>
25853
25854 [BZ #13837]
25855 * math/libm-test.inc (cos_test): Add a test case for large input
25856 value.
25857 (sin_test): Likewise.
25858 (sincos_test): Likewise.
25859
258602012-03-15 Andreas Jaeger <aj@suse.de>,
25861 Joseph Myers <joseph@codesourcery.com>
25862
25863 [BZ #13658]
0671f479 25864 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25865 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25866 * sysdeps/i386/fpu/branred.c: Likewise.
25867 * sysdeps/i386/fpu/dosincos.c: Likewise.
25868 * sysdeps/i386/fpu/mpa.c: Likewise.
25869 * sysdeps/i386/fpu/s_cos.S: Likewise.
25870 * sysdeps/i386/fpu/s_sin.S: Likewise.
25871 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25872 * sysdeps/i386/fpu/sincos32.c: Likewise.
25873
25874 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25875 Define.
25876 (libc_feupdateenv_53bit): Define.
25877 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25878 Define.
25879 (libc_feupdateenv_53bit): Define.
25880
25881 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25882 53 bit (without extend i386 double precision).
25883
25884 * math/libm-test.inc (sincos_test): Add tests for large input.
25885 (sin): Likewise.
25886 (cos): Likewise.
25887
25888 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25889
9cad04ea
AS
258902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25891
25892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25893
f7062b9a
DM
258942012-03-15 David S. Miller <davem@davemloft.net>
25895
25896 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25898 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25899 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25912 file.
f7062b9a 25913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25915 file.
f7062b9a 25916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25918 file.
f7062b9a 25919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25921 file.
f7062b9a
DM
25922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25924 fmin/fmax sysdep routines.
25925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25926
7bd951ff
DM
259272012-03-14 David S. Miller <davem@davemloft.net>
25928
559398ab
DM
25929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25958 routines.
25959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25960 file.
559398ab 25961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25963 file.
559398ab 25964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25966 file.
559398ab 25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25969 file.
559398ab 25970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25972 file.
559398ab 25973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25975 file.
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25977 file.
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25979 file.
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25981 file.
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25983 New file.
25984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25985 file.
25986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25987 file.
559398ab 25988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25990 file.
559398ab 25991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25993 file.
559398ab 25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25996 file.
559398ab 25997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25999 VIS3 routines.
559398ab
DM
26000
26001 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26002 New file.
26003
5a1c1e32
DM
26004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26005
eae47a36
DM
26006 * sysdeps/sparc/configure.in: New file.
26007 * sysdeps/sparc/configure: Generate.
26008 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26009 * configure: Regenerate.
26010 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26011 * config.make.in (have-as-vis3): New.
26012 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26013 available use -Av9d instead of -Av9a.
26014 * sysdeps/sparc/sparc64/Makefile: Likewise.
26015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26017 New file.
26018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26019 file.
26020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26021 New file.
26022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26023 file.
eae47a36
DM
26024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26027 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26029
c0c83bc8
DM
26030 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26031 fzeros/fnegs to load 0x80000000 into a float register instead of
26032 using the stack.
7bd951ff
DM
26033 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26034
bd951ccb
JM
260352012-03-14 Joseph Myers <joseph@codesourcery.com>
26036
26037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26038 bits/syscall.h.
26039 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26040 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26041 ($(inst_includedir)/bits/syscall.h): Remove rule.
26042 ($(objpfx)bits/syscall.d): Include instead of
26043 $(objpfx)syscall-list.d.
26044 (generated): Change syscall-list.h and syscall-list.d to
26045 bits/syscall.h and bits/syscall.d.
26046
bb4e6db2
RM
260472012-03-14 Roland McGrath <roland@hack.frob.com>
26048
26049 [BZ #13846]
26050 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26051
aa4a2ae1
JM
260522012-03-14 Joseph Myers <joseph@codesourcery.com>
26053
e456826d
JM
26054 [BZ #13841]
26055 * math/s_csqrt.c: Include <float.h>.
26056 (__csqrt): Scale large or subnormal inputs.
26057 * math/s_csqrtf.c: Likewise.
26058 * math/s_csqrtl.c: Likewise.
26059 * math/libm-test.inc (csqrt_test): Add more tests.
26060 * sysdeps/i386/fpu/libm-test-ulps: Update.
26061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26062
aa4a2ae1
JM
26063 [BZ #13840]
26064 * math/libm-test.inc (hypot_test): Add more tests.
26065
7c10fd35
DM
260662012-03-13 David S. Miller <davem@davemloft.net>
26067
26068 [BZ #13840]
26069 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26070 double-precision for the calculation instead of scaling.
26071
f453b98b
JM
260722012-03-13 Joseph Myers <joseph@codesourcery.com>
26073
26074 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26075 manipulate bits before adding and subtracting TWO52[sx].
26076 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26077 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26078 Likewise.
26079 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26080
09a3453f
DM
260812012-03-13 David S. Miller <davem@davemloft.net>
26082
8e59da90
DM
26083 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26084 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26086 rtld-global-offsets.h
26087 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26088
2a8ab7f2
DM
26089 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26090 large parameters.
26091
10f62770
DM
26092 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26093
5f0bdb18
DM
26094 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26095 'err' in the ifdef scope in which it is actually used.
26096
09a3453f
DM
26097 * nss/nss_db/db-init.c: Include string.h
26098
b4b2eb5e
DM
260992012-03-12 David S. Miller <davem@davemloft.net>
26100
98bb2f1c
DM
26101 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26102 masking out of the most significant byte of random value used.
26103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26104 Fix coding style in previous change.
26105
b4b2eb5e
DM
26106 * sysdeps/unix/sysv/linux/kernel-features.h
26107 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26108 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26109 expression.
26110 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26111 later.
26112
6e226b09
DM
261132012-03-11 David S. Miller <davem@davemloft.net>
26114
a1bcbd40
DM
26115 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26116 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26117 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26118 for 'resultvar' otherwise things get truncated on 64-bit.
26119
cb9d6174
DM
26120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26121 Fix masking out of the most significant byte of random value used.
26122
6e226b09
DM
26123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26124
058c132d
AS
261252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26126
26127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26128
2d2cd515
DM
261292012-03-09 David S. Miller <davem@davemloft.net>
26130
26131 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26132 variables with appropriate CPP guards.
26133 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26134 frame pointer, not the stack pointer. Correct layout comments. Fix test
26135 on resulting framesize and the management of the outregs buffer for pltexit.
26136 Preserve floating point return values across _dl_call_pltexit call.
26137 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26138 framesize and the management of the outregs buffer for pltexit.
26139 Preserve floating point return values across _dl_call_pltexit
26140 call.
26141 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26142 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26143 (print_exit): Fix format string for return register value.
26144
9a07f9d0
JM
261452012-03-10 Joseph Myers <joseph@codesourcery.com>
26146
26147 * sunrpc/Makefile (others): Add rpcgen.
26148 ($(objpfx)rpcgen): Remove special build rule and dependency on
26149 libc.
26150 * sunrpc/rpcgen.c: New file.
26151
547b5e30
PE
261522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26153
c524201a
PE
26154 [BZ #13673]
26155 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26156 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26157 * sysdeps/i386/crti.S: Likewise.
26158 * sysdeps/i386/crtn.S: Likewise.
26159 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26160 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26163 * sysdeps/sh/crti.S: Likewise.
26164 * sysdeps/sh/crtn.S: Likewise.
26165 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26166
7b6235f2
PE
26167 [BZ #13673]
26168 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26169 with URL.
26170 * locale/programs/locfile-kw.gperf: Likewise.
26171 * locale/programs/charmap-kw.h: Regenerated.
26172 * locale/programs/locfile-kw.h: Likewise.
26173
547b5e30
PE
26174 [BZ #13673]
26175 * intl/plural.y: Replace FSF snail mail address with URL.
26176 * intl/plural.c: Regenerated.
26177
5f0a5dae
RH
261782012-03-09 Richard Henderson <rth@twiddle.net>
26179
26180 * include/math_private.h: Remove file.
26181 * math/math_private.h: Move file ...
26182 * sysdeps/generic/math_private.h: ... here.
26183
b8c03620
RH
26184 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26185 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26186 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26187
4e234f5d 26188 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26189 and <math_private.h>.
26190 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26191 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26192 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26193 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26194 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26264 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26268 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26271 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26272 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26273 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26274 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26276 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26277 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26278 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26281 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26282 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26283 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26284 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26285 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26286 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26287 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26288 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26289 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26290 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26291 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26292 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26293 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26294 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26295 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26296 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26297 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26298 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26299 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26300 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26301 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26302 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26303 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26304 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26305 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26306 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26307 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26308 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26309 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26310 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26311 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26312 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26313 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26314 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26315 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26316 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26317 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26318 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26319 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26320 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26321 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26322 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26323 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26324 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26325 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26326 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26327 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26328 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26329 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26332 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26333 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26334 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26335 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26336 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26337 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26338 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26339 * sysdeps/ieee754/k_standard.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26375 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26406 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26407 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26410 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26413 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26414 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26416 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26417 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26418 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26420 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26421 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26422 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26423 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26427 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26428 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26439 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26451 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26455 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26456 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26457 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26458 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26459 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26460 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26461 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26462 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26463 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26465 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26466 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26467 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26468 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26470 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26471 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26472 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26473 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26484 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26486 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26488 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26489 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26490 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26492 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26493 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26494 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26497 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26498 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26500 * sysdeps/ieee754/s_lib_version.c: Likewise.
26501 * sysdeps/ieee754/s_matherr.c: Likewise.
26502 * sysdeps/ieee754/s_signgam.c: Likewise.
26503 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26504 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26505 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26506 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26507 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26508 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26509 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26510 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26511 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26512 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26513 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26514 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26515 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26516 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26517 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26518 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26519 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26520 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26521 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26522 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26524
1991fa03
JM
265252012-03-09 Joseph Myers <joseph@codesourcery.com>
26526
26527 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26528 * sunrpc/rpc_main.c: Likewise.
26529 * sunrpc/rpc_svcout.c: Likewise.
26530
60d6f5a6
DM
265312012-03-09 David S. Miller <davem@davemloft.net>
26532
26533 * include/math_private.h: New file.
26534
4962050e
JM
265352012-03-09 Joseph Myers <joseph@codesourcery.com>
26536
02a6f887
JM
26537 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26538 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26539 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26540 from <bits/socket_type.h>.
26541 (enum __socket_type): Don't define here.
26542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26544 bits/socket_type.h.
26545
c6e013c1
JM
26546 [BZ #13566]
26547 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26548 checking __USE_GNU.
26549
4962050e
JM
26550 * Makerules ($(inst_includedir)/%.h): New rule.
26551 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26552 (install-others): Remove variable setting.
26553 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26554
38842f45
RH
265552012-03-08 Richard Henderson <rth@twiddle.net>
26556
67bb6da6
RH
26557 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26558 from macro to inline function; merge with the
26559 !__LIBC_INTERNAL_MATH_INLINES version.
26560 (__ieee754_sqrtf): Likewise.
26561
15194b4b
RH
26562 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26563 to inline function.
26564 (__rintf, __floor, __floorf): Likewise.
26565
64e21ede
RH
26566 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26567 macro to inline function.
26568 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26569
38842f45
RH
26570 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26571 not <math/math_private.h>.
26572
c64bf5fe
DM
265732012-03-08 David S. Miller <davem@davemloft.net>
26574
26575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26576 copyright year.
26577 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26578
82d86f28
TS
265792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26580
26581 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26582 normalization.
26583 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26584 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26585
aea5d727
UD
265862012-03-08 Ulrich Drepper <drepper@gmail.com>
26587
26588 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26589 be defined individually, they must be defined as a block. Define
26590 S for printing a string instead of hidint the different by using a
26591 macro for adding the 'l'.
26592 * stdio-common/tst-fphex-wide.c: Adjust.
26593
70bca0a3
MP
265942012-03-07 Marek Polacek <polacek@redhat.com>
26595
26596 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26597
65b81130
MP
265982012-03-08 Marek Polacek <polacek@redhat.com>
26599
26600 [BZ #13806]
26601 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26602 * stdio-common/tst-fphex.c: Define a few macros to make the
26603 test reusable. Use them.
26604 * stdio-common/tst-fphex-wide.c: New file.
26605
07037eeb
JM
266062012-03-08 Joseph Myers <joseph@codesourcery.com>
26607
a7a93d50
JM
26608 [BZ #6911]
26609 * manual/macros.texi (gnusystems): New macro.
26610 (nongnusystems): Likewise.
26611 (gnulinuxhurdsystems): Likewise.
26612 (gnuhurdsystems): Likewise..
26613 (gnulinuxsystems): Likewise.
26614 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26615 variants of the GNU system, not "GNU system".
26616 * manual/conf.texi: Likewise.
26617 * manual/errno.texi: Likewise. Update example of errno macro
26618 expansion.
26619 * manual/filesys.texi: Likewise.
26620 (getumask): Document as specific to GNU/Hurd.
26621 * manual/install.texi: Likewise. Reword some references to
26622 GNU/Linux.
26623 * manual/intro.texi: Likewise.
26624 * manual/io.texi: Likewise.
26625 (File Name Portability): Detail which constraints are inapplicable
26626 to all GNU systems and which are only inapplicable to GNU/Hurd.
26627 * manual/job.texi: Likewise.
26628 * manual/llio.texi: Likewise.
26629 (O_NOCTTY): Document as present on GNU/Linux.
26630 * manual/maint.texi: Likewise.
26631 * manual/memory.texi: Likewise.
26632 * manual/pattern.texi: Likewise.
26633 * manual/pipe.texi: Likewise.
26634 * manual/process.texi: Likewise.
26635 * manual/resource.texi: Likewise.
26636 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26637 child on GNU/Hurd.
26638 * manual/setjmp.texi: Likewise.
26639 * manual/signal.texi: Likewise.
26640 * manual/startup.texi: Likewise.
26641 * manual/stdio.texi: Likewise.
26642 * manual/terminal.texi: Likewise.
26643 (ONLCR): Document as POSIX.
26644 (OXTABS): Document availability on GNU/Linux as XTABS.
26645 (ONOEOT): Document availability separately from other bits.
26646 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26647 * manual/time.texi: Likewise.
26648 * manual/users.texi: Likewise.
26649 * INSTALL: Regenerated.
26650 * sysdeps/gnu/errlist.c: Regenerated.
26651
07037eeb
JM
26652 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26653 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26654 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26655 puts.
26656 * configure: Regenerated.
26657
d1d3431a
JM
266582012-03-07 Joseph Myers <joseph@codesourcery.com>
26659
af6a1e37
JM
26660 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26661 default includes instead of AC_HEADER_CHECK.
26662 * sysdeps/i386/configure: Regenerated.
26663
d1d3431a
JM
26664 [BZ #10716]
26665 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26666 * math/s_cacoshf.c (__cacoshf): Likewise.
26667 * math/s_cacoshl.c (__cacoshl): Likewise.
26668 * math/s_casinh.c (__casinh): Set signs of result from argument.
26669 * math/s_casinhf.c (__casinhf): Likewise.
26670 * math/s_casinhl.c (__casinhl): Likewise.
26671 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26672 (casinh_test): Add more tests.
26673 * sysdeps/i386/fpu/libm-test-ulps: Update.
26674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26675
482ff4da
UD
266762012-03-07 Ulrich Drepper <drepper@gmail.com>
26677
872fda05
UD
26678 * po/zh_TW.po: Update from translation team.
26679
a4300c7a
UD
26680 * login/Makefile (distribute): Remove variable.
26681 * catgets/Makefile: Likewise.
26682 * mach/Makefile: Likewise.
26683 * malloc/Makefile: Likewise.
26684 * misc/Makefile: Likewise.
26685 * iconv/Makefile: Likewise.
26686 * nscd/Makefile: Likewise.
26687 * hurd/Makefile: Likewise.
26688 * manual/Makefile: Likewise.
26689 * locale/Makefile: Likewise.
26690 * intl/Makefile: Likewise.
26691 * conform/Makefile: Likewise.
26692 * nss/Makefile: Likewise.
26693 * time/Makefile: Likewise.
26694 * soft-fp/Makefile: Likewise.
26695 * dirent/Makefile: Likewise.
26696 * gmon/Makefile: Likewise.
26697 * po/Makefile: Likewise.
26698 * rt/Makefile: Likewise.
26699 * socket/Makefile: Likewise.
26700 * math/Makefile: Likewise.
26701 * signal/Makefile: Likewise.
26702 * debug/Makefile: Likewise.
26703 * elf/Makefile: Likewise.
26704 * timezone/Makefile: Likewise.
26705 * stdlib/Makefile: Likewise.
26706 * iconvdata/Makefile: Likewise.
26707 * sunrpc/Makefile: Likewise.
26708 * io/Makefile: Likewise.
26709 * argp/Makefile: Likewise.
26710 * inet/Makefile: Likewise.
26711 * hesiod/Makefile: Likewise.
26712 * grp/Makefile: Likewise.
26713 * csu/Makefile: Likewise.
26714 * wctype/Makefile: Likewise.
26715 * crypt/Makefile: Likewise.
26716 * libio/Makefile: Likewise.
26717 * string/Makefile: Likewise.
26718 * nis/Makefile: Likewise.
26719 * resolv/Makefile: Likewise.
26720 * stdio-common/Makefile: Likewise.
26721 * wcsmbs/Makefile: Likewise.
26722 * dlfcn/Makefile: Likewise.
26723 * posix/Makefile: Likewise.
26724
3b7c4e74 26725 [BZ #6959]
482ff4da
UD
26726 * timezone/Makefile: Don't install timezone files, just the programs
26727 and scripts.
26728
f72ed77d
UD
267292012-03-06 Ulrich Drepper <drepper@gmail.com>
26730
a000466f
UD
26731 * nss/databases.def: Add missing gshadow entry.
26732
f72ed77d
UD
26733 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26734
a53b7a4e
MP
267352012-03-06 Marek Polacek <polacek@redhat.com>
26736
26737 [BZ #13726]
26738 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26739 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26740 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26741 * stdio-common/tst-long-dbl-fphex.c: New file.
26742
e9258400
DM
267432012-03-06 David S. Miller <davem@davemloft.net>
26744
26745 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26746 (set_obp_int): New function.
26747 (get_obp_int): New function.
26748 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26750 Avoid unused variable warnings on 'val' and use builtin_expect.
26751 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26752 __builtin_expect.
e9258400
DM
26753 (INLINE_CLONE_SYSCALL): Likewise.
26754
3bd2c723
DM
267552012-03-05 David S. Miller <davem@davemloft.net>
26756
26757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26758
bbb78d03
AS
267592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26760
884c5db4
AS
26761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26762
bbb78d03
AS
26763 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26764 only for |x| >= 40.
26765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26766
1c9f702a 267672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26768
26769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26770 Replace gettimeofday with __vdso_gettimeofday.
26771
7be16f82
RM
26772 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26773 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26774 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26775
26776 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26777 time with __vdso_time.
26778
ed58a00f
JM
267792012-03-05 Joseph Myers <joseph@codesourcery.com>
26780
26781 * manual/lang.texi (size_t): Note types to which size_t may be
26782 equivalent with the GNU C Library, but do not describe when
26783 differences between them are significant.
26784
30ee4ced
AJ
267852012-03-05 Andreas Jaeger <aj@suse.de>
26786
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788
b7cd39e8
JM
267892012-03-05 Joseph Myers <joseph@codesourcery.com>
26790
26791 [BZ #3976]
26792 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26793 (__ieee754_pow): Save and restore rounding mode and use
26794 round-to-nearest for main computations.
26795 * math/libm-test.inc (pow_test_tonearest): New function.
26796 (pow_test_towardzero): Likewise.
26797 (pow_test_downward): Likewise.
26798 (pow_test_upward): Likewise.
26799 (main): Call the new functions.
26800 * sysdeps/i386/fpu/libm-test-ulps: Update.
26801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26802
26803 [BZ #3976]
26804 * math/libm-test.inc (cosh_test_tonearest): New function.
26805 (cosh_test_towardzero): Likewise.
26806 (cosh_test_downward): Likewise.
26807 (cosh_test_upward): Likewise.
26808 (sinh_test_tonearest): Likewise.
26809 (sinh_test_towardzero): Likewise.
26810 (sinh_test_downward): Likewise.
26811 (sinh_test_upward): Likewise.
26812 (main): Call the new functions.
26813 * sysdeps/i386/fpu/libm-test-ulps: Update.
26814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815
6c6a98c9
TV
268162012-03-05 Tom de Vries <tom@codesourcery.com>
26817
26818 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26819 default stack guard is set in last bytes.
26820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26821
21bb2d2e 268222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26823
21bb2d2e 26824 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26825
21bb2d2e
AJ
26826 [BZ #13656]
26827 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26828 possibly allocate from heap instead of stack.
26829 * stdio-common/bug-vfprintf-nargs.c: New file.
26830 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26831
c6922934
AS
268322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26833
26834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26835
bc957d53
MP
268362012-03-03 Marek Polacek <polacek@redhat.com>
26837
26838 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26839 * math/math_private.h: Likewise.
26840 * stdlib/tst-strtod.c: Likewise.
26841 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26842 * sysdeps/x86_64/bits/atomic.h: Likewise.
26843
6358490d
DM
268442012-03-02 David S. Miller <davem@davemloft.net>
26845
26846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26850 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26851 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26852 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26853 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26854
01ae168d
RM
268552012-03-02 Roland McGrath <roland@hack.frob.com>
26856
d9a17c07
RM
26857 [BZ #13792]
26858 * manual/examples/README: New file, says the example source files
26859 can be used under GPL>=2.
26860 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26861 line containing just "*/".
26862 * manual/examples/add.c: Add copyright header (GPL>=2).
26863 * manual/examples/argp-ex1.c: Likewise.
26864 * manual/examples/argp-ex2.c: Likewise.
26865 * manual/examples/argp-ex3.c: Likewise.
26866 * manual/examples/argp-ex4.c: Likewise.
26867 * manual/examples/atexit.c: Likewise.
26868 * manual/examples/db.c: Likewise.
26869 * manual/examples/dir.c: Likewise.
26870 * manual/examples/dir2.c: Likewise.
26871 * manual/examples/execinfo.c: Likewise.
26872 * manual/examples/filecli.c: Likewise.
26873 * manual/examples/filesrv.c: Likewise.
26874 * manual/examples/fmtmsgexpl.c: Likewise.
26875 * manual/examples/genpass.c: Likewise.
26876 * manual/examples/inetcli.c: Likewise.
26877 * manual/examples/inetsrv.c: Likewise.
26878 * manual/examples/isockad.c: Likewise.
26879 * manual/examples/longopt.c: Likewise.
26880 * manual/examples/memopen.c: Likewise.
26881 * manual/examples/memstrm.c: Likewise.
26882 * manual/examples/mkfsock.c: Likewise.
26883 * manual/examples/mkisock.c: Likewise.
26884 * manual/examples/mygetpass.c: Likewise.
26885 * manual/examples/pipe.c: Likewise.
26886 * manual/examples/popen.c: Likewise.
26887 * manual/examples/rprintf.c: Likewise.
26888 * manual/examples/search.c: Likewise.
26889 * manual/examples/select.c: Likewise.
26890 * manual/examples/setjmp.c: Likewise.
26891 * manual/examples/sigh1.c: Likewise.
26892 * manual/examples/sigusr.c: Likewise.
26893 * manual/examples/stpcpy.c: Likewise.
26894 * manual/examples/strdupa.c: Likewise.
26895 * manual/examples/strftim.c: Likewise.
26896 * manual/examples/strncat.c: Likewise.
26897 * manual/examples/subopt.c: Likewise.
26898 * manual/examples/swapcontext.c: Likewise.
26899 * manual/examples/termios.c: Likewise.
26900 * manual/examples/testopt.c: Likewise.
26901 * manual/examples/testpass.c: Likewise.
26902 * manual/examples/timeval_subtract.c: Likewise.
26903
01ae168d
RM
26904 [BZ #13792]
26905 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26906 function to ...
26907 * manual/timeval_subtract.c.texi: ... here, new file.
26908
49efa33d
DM
269092012-03-02 David S. Miller <davem@davemloft.net>
26910
26911 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26912
28afd92d
JM
269132012-03-02 Joseph Myers <joseph@codesourcery.com>
26914
804360ed
JM
26915 [BZ #3976]
26916 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26917 (__sin): Save and restore rounding mode and use round-to-nearest
26918 for all computations.
26919 (__cos): Save and restore rounding mode and use round-to-nearest
26920 for all computations.
26921 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26922 <fenv.h>.
26923 (tan): Save and restore rounding mode and use round-to-nearest for
26924 all computations.
26925 * math/libm-test.inc (cos_test_tonearest): New function.
26926 (cos_test_towardzero): Likewise.
26927 (cos_test_downward): Likewise.
26928 (cos_test_upward): Likewise.
26929 (sin_test_tonearest): Likewise.
26930 (sin_test_towardzero): Likewise.
26931 (sin_test_downward): Likewise.
26932 (sin_test_upward): Likewise.
26933 (tan_test_tonearest): Likewise.
26934 (tan_test_towardzero): Likewise.
26935 (tan_test_downward): Likewise.
26936 (tan_test_upward): Likewise.
26937 (main): Call the new functions.
26938 * sysdeps/i386/fpu/libm-test-ulps: Update.
26939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26940
a6d06d7b
JM
26941 [BZ #10135]
26942 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26943 small n, then large n, before computing and testing k+n.
26944 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26946 Likewise.
26947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26948 Likewise.
26949 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26950 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26951 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26952 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26953 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26954 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26955 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26956 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26957 * math/libm-test.inc (scalbn_test): Add more tests.
26958 (scalbln_test): Likewise.
26959
07e12bb3
JM
26960 * manual/filesys.texi (mode_t): Describe constraints on size and
26961 signedness, not exact equivalence to a particular type.
26962 (ino_t): Likewise.
26963 (ino64_t): Likewise.
26964 (dev_t): Likewise.
26965 (nlink_t): Likewise.
26966 (blkcnt_t): Likewise.
26967 (blkcnt64_t): Likewise.
26968 * manual/llio.texi (off_t): Likewise.
26969
28afd92d
JM
26970 [BZ #3976]
26971 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26972 (__ieee754_exp): Save and restore rounding mode and use
26973 round-to-nearest for all computations.
26974 * math/libm-test.inc (exp_test_tonearest): New function.
26975 (exp_test_towardzero): Likewise.
26976 (exp_test_downward): Likewise.
26977 (exp_test_upward): Likewise.
26978 (main): Call the new functions.
26979 * sysdeps/i386/fpu/libm-test-ulps: Update.
26980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26981
b1eeb65d
CD
269822012-03-01 Chris Demetriou <cgd@google.com>
26983
26984 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26985 have predictable order.
26986
53362a4b
DM
269872012-03-01 David S. Miller <davem@davemloft.net>
26988
3c969083
DM
26989 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26990
759707de
DM
26991 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26992 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26993 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26994 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26995
dfdb8ff2
DM
26996 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26997 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26998 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27000 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27001 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27002 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27003 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27004 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27005
ead89f96
DM
27006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27007
7f66bd07
DM
27008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27009 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27010 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27011
53362a4b
DM
27012 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27013 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27014 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27015 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27016 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27019 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27020 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27021 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27022 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27023 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27025 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27026 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27028 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27029 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27030 * sysdeps/sparc/elf/configure: Regenerated.
27031
7b1902cb
JM
270322012-03-01 Joseph Myers <joseph@codesourcery.com>
27033
bec039bc
JM
27034 * configure.in (AS, LD): Require binutils 2.20 or later.
27035 * configure: Regenerated.
27036 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27037 as required minimum version.
27038 * INSTALL: Regenerated.
27039
7b1902cb
JM
27040 [BZ #2541]
27041 [BZ #4108]
27042 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27043 before squaring exponent.
27044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27045 bottom long double and 27 bits of top long double before squaring
27046 exponent.
27047 * math/libm-test.inc (erfc_test): Add more tests.
27048 * sysdeps/i386/fpu/libm-test-ulps: Update.
27049 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27051
f775c276
KT
270522012-03-01 Kai Tietz <ktietz@redhat.com>
27053
27054 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27055 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27056 containing bit-fields.
27057 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27058 * soft-fp/single.h (_FP_UNION_S): Likewise.
27059 * soft-fp/double.h (_FP_UNION_D): Likewise.
27060
5b8a4d4a
JM
270612012-02-29 Joseph Myers <joseph@codesourcery.com>
27062
0bab47b6
JM
27063 [BZ #13786]
27064 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27065 not include ../strcmp.S.
27066 [USE_AS_STRNCASECMP_L]: Likewise.
27067 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27068 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27069 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27070 (__strncasecmp_l_ia32): Define as alias to
27071 __strncasecmp_l_nonascii.
27072
0fcad3e2
JM
27073 [BZ #5794]
27074 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27075 * sysdeps/i386/fpu/libm-test-ulps: Update.
27076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27077
5b8a4d4a
JM
27078 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27080
8fdceb2e
JL
270812012-02-29 Jeff Law <law@redhat.com>
27082
27083 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27084 out of bounds read.
27085
1f393a11
MP
270862012-02-29 Marek Polacek <polacek@redhat.com>
27087
27088 [BZ #13706]
27089 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27090 * elf/Makefile: Add rules to run tst-unused-dep.out.
27091
8847f037
DM
270922012-02-28 David S. Miller <davem@davemloft.net>
27093
27094 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27095 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27096 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27098 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27099 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27100
169d7f11
JM
271012012-02-29 Joseph Myers <joseph@codesourcery.com>
27102
27103 * math/libm-test.inc (llround_test): Move one test from
27104 lround_test. Use TEST_f_L in moved test.
27105 (lround_test): Move misplaced test to llround_test. Add testcase
27106 from bug 2561.
27107
39adf059
UD
271082012-02-28 Ulrich Drepper <drepper@gmail.com>
27109
27110 * sysdeps/x86_64/fpu/e_expf.S: New file.
27111 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27112
71b5d1c5
SB
271132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27114
27115 [BZ #13637]
27116 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27117 of remain_len that may cause incomplete multi-byte character and
27118 false match.
27119 * posix/bug-regex33.c: New file.
27120 * posix/Makefile (tests): Add bug-regex33.
27121
1f77f049
JM
271222012-02-28 Joseph Myers <joseph@codesourcery.com>
27123
27124 * manual/macros.texi: New file.
27125 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27126 * manual/libc.texinfo: Include macros.texi.
27127 * manual/creatute.texi: Likewise.
27128 * manual/install.texi: Likewise.
27129 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27130 @glibcadj{} in references to the GNU C Library.
27131 * manual/charset.texi: Likewise.
27132 * manual/conf.texi: Likewise.
27133 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27134 when not using those macros.
27135 * manual/creature.texi: Likewise.
27136 * manual/crypt.texi: Likewise.
27137 * manual/errno.texi: Likewise.
27138 * manual/filesys.texi: Likewise.
27139 * manual/header.texi: Likewise.
27140 * manual/install.texi: Likewise.
27141 * manual/intro.texi: Likewise.
27142 * manual/io.texi: Likewise.
27143 * manual/job.texi: Likewise.
27144 * manual/lang.texi: Likewise.
27145 * manual/libc.texiinfo: Likewise.
27146 * manual/llio.texi: Likewise.
27147 * manual/locale.texi: Likewise.
27148 * manual/maint.texi: Likewise.
27149 * manual/math.texi: Likewise.
27150 * manual/memory.texi: Likewise.
27151 * manual/message.texi: Likewise.
27152 * manual/nss.texi: Likewise.
27153 * manual/pattern.texi: Likewise.
27154 * manual/process.texi: Likewise.
27155 * manual/resource.texi: Likewise.
27156 * manual/search.texi: Likewise.
27157 * manual/setjmp.texi: Likewise.
27158 * manual/signal.texi: Likewise.
27159 * manual/socket.texi: Likewise.
27160 * manual/startup.texi: Likewise.
27161 * manual/stdio.texi: Likewise.
27162 * manual/string.texi: Likewise.
27163 * manual/sysinfo.texi: Likewise.
27164 * manual/syslog.texi: Likewise.
27165 * manual/terminal.texi: Likewise.
27166 * manual/time.texi: Likewise.
27167 * manual/users.texi: Likewise.
27168 * INSTALL: Regenerated.
27169 * NOTES: Regenerated.
d40c5d54 27170 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27171
450bf206
AS
271722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27173
27174 * include/dirent.h: Include <dirstream.h> before
27175 <dirent/dirent.h>.
27176
741a235b
DM
271772012-02-28 David S. Miller <davem@davemloft.net>
27178
27179 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27180 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27181 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27182 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27183
d6b5aa58
DM
271842012-02-27 David S. Miller <davem@davemloft.net>
27185
1aff59a3
DM
27186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27188 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27189 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27190
d6b5aa58
DM
27191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27192 frame pointer instead of stack pointer relative arg slot.
27193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27194 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27195 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27196
433f48bf
CD
271972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27198
27199 [BZ #3992]
27200 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27201
d674b76d
DM
272022012-02-27 David S. Miller <davem@davemloft.net>
27203
27204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27208 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27209 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27210 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27211 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27212
0e7727f7
JM
272132012-02-27 Joseph Myers <joseph@codesourcery.com>
27214
27215 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27216 later. Allow versions 5-9.
43be4ca2 27217 * configure: Regenerated.
0e7727f7
JM
27218 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27219 required minimum version and 4.6 as recommended version. Do not
27220 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27221 * INSTALL: Regenerated.
0e7727f7 27222
a78bc654
DM
272232012-02-27 David S. Miller <davem@davemloft.net>
27224
428d5830
DM
27225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27229 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27230 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27231 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27232 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27233
a78bc654
DM
27234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27235 manipulate bits before adding and subtracting TWO112[sx].
27236 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27237
4579f81c
RM
272382012-02-27 Roland McGrath <roland@hack.frob.com>
27239
36c8acb4
RM
27240 [BZ #13775]
27241 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27242 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27243 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27244 being in POSIX, because they are in 1003.1-2008.
27245
84ad622b
RM
27246 * rt/tst-aio.c: Include <fcntl.h>.
27247 * rt/tst-aio7.c: Likewise.
27248 * rt/tst-aio64.c: Likewise.
27249
4579f81c
RM
27250 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27251
abd923db
JM
272522012-02-27 Joseph Myers <joseph@codesourcery.com>
27253
27254 * manual/install.texi (--with-headers): Describe headers as
27255 interface headers, not private headers.
27256 (Specific advice for GNU/Linux systems): Describe use of headers
27257 from "make headers_install", not private headers from older
27258 kernels.
43be4ca2 27259 * INSTALL: Regenerated.
abd923db
JM
27260 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27261 Change to 2.6.19.
27262 * sysdeps/unix/sysv/linux/configure: Regenerated.
27263
6664049b
JM
27264 * manual/llio.texi (fclean): Remove documentation.
27265
bb8b6697
JM
27266 * manual/Makefile (libc-texi-generated): New variable. Include
27267 version.texi.
27268 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27269 $(libc-texi-generated), not duplicated list of files.
27270 (version.texi, stamp-version): New rules.
27271 (realclean): Remove $(libc-texi-generated), not individual files
27272 from that list. Do not remove dir-add.texinfo.
27273 * manual/libc.texinfo: Comment out uses of edition numbers and
27274 references to printed manual. Remove last-updated dates.
27275 (EDITION): Comment out.
27276 (ISBN): Likewise.
27277 (VERSION, UPDATED): Remove.
27278 (version.texi): Include.
27279
12e5c3b9
AS
272802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27281
27282 * sysdeps/posix/spawni.c: Include <signal.h>.
27283 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27284 * sysdeps/pthread/aio_fsync.c: Likewise.
27285
4efeffc1 272862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27287
ba63ba08
UD
27288 * conform/Makefile (tests): Run only when not cross-compiling and
27289 when fast-check is not defined.
27290
d94a4670
UD
27291 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27292 * conform/data/limits.h-data: Fixes for POSIX2008.
27293 * conform/run-conformtest.sh: Run all tests.
27294 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27295 headers.
27296 * include/bits/dlfcn.h: Likewise.
27297 * include/langinfo.h: Likewise.
27298 * include/monetary.h: Likewise.
27299 * include/sys/poll.h: Likewise.
27300
27301 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27302 for __USE_GNU.
27303 * posix/spawn.h: Define __need_sigset_t.
27304 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27305 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27306 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27307 to get sigevent_t only.
27308 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27309 only for __USE_GNU.
27310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27311 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27312 process_vm_writev only for __USE_GNU.
27313 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27314
27315 * conform/Makefile: For now ignore errors from run-conformtest.
27316 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27317 POSIX to avoid namespace pollution. Don't prepend headers.
27318 * conform/data/aio.h-data: Fixes for POSIX testing.
27319 * conform/data/fcntl.h-data: Likewise.
27320 * conform/data/glob.h-data: Likewise.
27321 * conform/data/grp.h-data: Likewise.
27322 * conform/data/pthread.h-data: Likewise.
27323 * conform/data/pwd.h-data: Likewise.
27324 * conform/data/signal.h-data: Likewise.
27325 * conform/data/spawn.h-data: Likewise.
27326 * conform/data/stdio.h-data: Likewise.
27327 * conform/data/stdlib.h-data: Likewise.
27328 * conform/data/stropts.h-data: Likewise.
27329 * conform/data/sys/mman.h-data: Likewise.
27330 * conform/data/sys/stat.h-data: Likewise.
27331 * conform/data/sys/types.h-data: Likewise.
27332 * conform/data/sys/wait.h-data: Likewise.
27333 * conform/data/time.h-data: Likewise.
27334 * conform/data/unistd.h-data: Likewise.
27335 * conform/data/utime.h-data: Likewise.
27336
27337 * io/sys/stat.h: fchmod was always in POSIX.
27338 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27339 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27340 * rt/aio.h: Define __need_timespec before including <time.h>.
27341 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27342 struct. Add forward declaration of pthread_attr_t and use it in
27343 sigevent.
27344 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27346 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27347 always remove CLK_TCK definition.
27348
c20105c3
AS
273492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27350
27351 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27352
7a270350
UD
273532012-02-25 Ulrich Drepper <drepper@gmail.com>
27354
31341567
UD
27355 * conform/run-conformtest.sh: New file.
27356 * conform/Makefile: Run run-conformtest for tests.
27357 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27358 support.
27359
27360 * conform/data/uchar.h-data: New file.
27361 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27362 * conform/data/arpa/inet.h-data: Likewise.
27363 * conform/data/assert.h-data: Likewise.
27364 * conform/data/complex.h-data: Likewise.
27365 * conform/data/cpio.h-data: Likewise.
27366 * conform/data/ctype.h-data: Likewise.
27367 * conform/data/dirent.h-data: Likewise.
27368 * conform/data/dlfcn.h-data: Likewise.
27369 * conform/data/errno.h-data: Likewise.
27370 * conform/data/fcntl.h-data: Likewise.
27371 * conform/data/float.h-data: Likewise.
27372 * conform/data/fmtmsg.h-data: Likewise.
27373 * conform/data/fnmatch.h-data: Likewise.
27374 * conform/data/ftw.h-data: Likewise.
27375 * conform/data/glob.h-data: Likewise.
27376 * conform/data/grp.h-data: Likewise.
27377 * conform/data/iconv.h-data: Likewise.
27378 * conform/data/inttypes.h-data: Likewise.
27379 * conform/data/langinfo.h-data: Likewise.
27380 * conform/data/libgen.h-data: Likewise.
27381 * conform/data/limits.h-data: Likewise.
27382 * conform/data/locale.h-data: Likewise.
27383 * conform/data/math.h-data: Likewise.
27384 * conform/data/monetary.h-data: Likewise.
27385 * conform/data/mqueue.h-data: Likewise.
27386 * conform/data/ndbm.h-data: Likewise.
27387 * conform/data/net/if.h-data: Likewise.
27388 * conform/data/netdb.h-data: Likewise.
27389 * conform/data/netinet/in.h-data: Likewise.
27390 * conform/data/nl_types.h-data: Likewise.
27391 * conform/data/poll.h-data: Likewise.
27392 * conform/data/pthread.h-data: Likewise.
27393 * conform/data/pwd.h-data: Likewise.
27394 * conform/data/regex.h-data: Likewise.
27395 * conform/data/sched.h-data: Likewise.
27396 * conform/data/search.h-data: Likewise.
27397 * conform/data/semaphore.h-data: Likewise.
27398 * conform/data/setjmp.h-data: Likewise.
27399 * conform/data/signal.h-data: Likewise.
27400 * conform/data/spawn.h-data: Likewise.
27401 * conform/data/stdarg.h-data: Likewise.
27402 * conform/data/stdio.h-data: Likewise.
27403 * conform/data/stdlib.h-data: Likewise.
27404 * conform/data/string.h-data: Likewise.
27405 * conform/data/strings.h-data: Likewise.
27406 * conform/data/stropts.h-data: Likewise.
27407 * conform/data/sys/ipc.h-data: Likewise.
27408 * conform/data/sys/mman.h-data: Likewise.
27409 * conform/data/sys/msg.h-data: Likewise.
27410 * conform/data/sys/resource.h-data: Likewise.
27411 * conform/data/sys/select.h-data: Likewise.
27412 * conform/data/sys/sem.h-data: Likewise.
27413 * conform/data/sys/shm.h-data: Likewise.
27414 * conform/data/sys/socket.h-data: Likewise.
27415 * conform/data/sys/stat.h-data: Likewise.
27416 * conform/data/sys/statvfs.h-data: Likewise.
27417 * conform/data/sys/time.h-data: Likewise.
27418 * conform/data/sys/timeb.h-data: Likewise.
27419 * conform/data/sys/times.h-data: Likewise.
27420 * conform/data/sys/types.h-data: Likewise.
27421 * conform/data/sys/uio.h-data: Likewise.
27422 * conform/data/sys/un.h-data: Likewise.
27423 * conform/data/sys/utsname.h-data: Likewise.
27424 * conform/data/sys/wait.h-data: Likewise.
27425 * conform/data/syslog.h-data: Likewise.
27426 * conform/data/tar.h-data: Likewise.
27427 * conform/data/termios.h-data: Likewise.
27428 * conform/data/utime.h-data: Likewise.
27429 * conform/data/utmpx.h-data: Likewise.
27430 * conform/data/varargs.h-data: Likewise.
27431 * conform/data/wchar.h-data: Likewise.
27432 * conform/data/wctype.h-data: Likewise.
27433 * conform/data/wordexp.h-data: Likewise.
27434
27435 * include/stropts.h: New file.
27436 * include/uchar.h: New file.
27437 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27438 * include/assert.h: Likewise.
27439 * include/ctype.h: Likewise.
27440 * include/dirent.h: Likewise.
27441 * include/dlfcn.h: Likewise.
27442 * include/fcntl.h: Likewise.
27443 * include/fnmatch.h: Likewise.
27444 * include/glob.h: Likewise.
27445 * include/grp.h: Likewise.
27446 * include/libio.h: Likewise.
27447 * include/locale.h: Likewise.
27448 * include/math.h: Likewise.
27449 * include/net/if.h: Likewise.
27450 * include/netdb.h: Likewise.
27451 * include/netinet/in.h: Likewise.
27452 * include/pthread.h: Likewise.
27453 * include/pwd.h: Likewise.
27454 * include/regex.h: Likewise.
27455 * include/sched.h: Likewise.
27456 * include/search.h: Likewise.
27457 * include/setjmp.h: Likewise.
27458 * include/signal.h: Likewise.
27459 * include/stdio.h: Likewise.
27460 * include/stdlib.h: Likewise.
27461 * include/string.h: Likewise.
27462 * include/sys/cdefs.h: Likewise.
27463 * include/sys/mman.h: Likewise.
27464 * include/sys/msg.h: Likewise.
27465 * include/sys/resource.h: Likewise.
27466 * include/sys/select.h: Likewise.
27467 * include/sys/socket.h: Likewise.
27468 * include/sys/stat.h: Likewise.
27469 * include/sys/statvfs.h: Likewise.
27470 * include/sys/time.h: Likewise.
27471 * include/sys/times.h: Likewise.
27472 * include/sys/uio.h: Likewise.
27473 * include/sys/utsname.h: Likewise.
27474 * include/sys/wait.h: Likewise.
27475 * include/termios.h: Likewise.
27476 * include/time.h: Likewise.
27477 * include/ulimit.h: Likewise.
27478 * include/unistd.h: Likewise.
27479 * include/utime.h: Likewise.
27480 * include/wchar.h: Likewise.
27481 * include/wctype.h: Likewise.
27482 * include/wordexp.h: Likewise.
27483
27484 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27485
7a270350
UD
27486 * time/time.h: TIME_UTC must be a macro.
27487 Make timespec_get available for ISO C11 only as well.
27488
7724defc
UD
274892012-02-24 Ulrich Drepper <drepper@gmail.com>
27490
27491 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27492 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27493
6b1d1d46
JM
274942012-02-24 Joseph Myers <joseph@codesourcery.com>
27495
27496 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27497
0f8bbd69
JM
274982012-02-24 Joseph Myers <joseph@codesourcery.com>
27499
27500 * manual/texinfo.tex: Update to version 2012-01-19.16.
27501
66ab80bc
JM
275022012-02-24 Joseph Myers <joseph@codesourcery.com>
27503
27504 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27505
74981cc5
RM
275062012-02-24 Roland McGrath <roland@hack.frob.com>
27507
ee968201
RM
27508 [BZ #13738]
27509 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27510 * manual/fdl-1.3.texi: New file.
27511 * manual/fdl-1.1.texi: File removed.
27512
74981cc5
RM
27513 [BZ #13738]
27514 * manual/libc.texinfo (FDL_VERSION): New @set.
27515 Use it for mention of FDL in cover text.
27516 (Documentation License): Use it in @include file name.
27517
7bb764bc
JM
275182012-02-22 Joseph Myers <joseph@codesourcery.com>
27519 Roland McGrath <roland@hack.frob.com>
27520
27521 [BZ #5461]
27522 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27523 not LONG_LONG_MAX and LONG_LONG_MIN.
27524 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27525 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27526 name.
27527 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27528
6cbeae47
JM
275292012-02-22 Joseph Myers <joseph@codesourcery.com>
27530
27531 [BZ #2547]
27532 [BZ #11365]
27533 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27534 manipulate bits before adding and subtracting TWO23[sx].
27535 * math/libm-test.inc (nearbyint_test): Add more tests.
27536
fe45ce09
JM
275372012-02-22 Joseph Myers <joseph@codesourcery.com>
27538
27539 [BZ #2548]
27540 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27541 bits before adding and subtracting TWO23[sx].
27542 * math/libm-test.inc (rint_test): Add more tests.
27543 (rint_test_tonearest): Likewise.
27544 (rint_test_towardzero): Likewise.
27545 (rint_test_downward): Likewise.
27546 (rint_test_upward: Likewise.
27547
ff3b3d82
JM
275482012-02-22 Joseph Myers <joseph@codesourcery.com>
27549
27550 [BZ #10110]
27551 * include/stdc-predef.h: New file. Extracted from features.h.
27552 * include/features.h: Include stdc-predef.h.
27553 * Makefile (headers): Add stdc-predef.h.
27554 * CONFORMANCE (Compiler limitations): Update.
27555
ef0aab35
JM
275562012-02-22 Joseph Myers <joseph@codesourcery.com>
27557
27558 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27559
58639409
DM
275602012-02-21 David S. Miller <davem@davemloft.net>
27561
27562 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27563 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27564
c0e70b25
DM
275652012-02-20 David S. Miller <davem@davemloft.net>
27566
27567 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27568 using a normal save/restore sequence, rather than allocating a
27569 dummy stack frame just to store a frame pointer and restore.
27570 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27571
fb06851d
JM
275722012-02-21 Joseph Myers <joseph@codesourcery.com>
27573
27574 * manual/install.texi: Fix stray word in line-wrapped comment.
27575
7a8b71c3
DM
275762012-02-20 David S. Miller <davem@davemloft.net>
27577
d510c123
DM
27578 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27579 both binutils and gcc support GOTDATA.
27580
0722d7c2
DM
27581 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27582 "rd %pc" in the PIC register setup sequences.
27583
3d2b3019
DM
27584 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27585 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27586 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27587 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27588 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27590 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27593 (SYSCALL_ERROR_HANDLER): Likewise.
27594 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27595 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27597 (SYSCALL_ERROR_HANDLER): Likewise.
27598
c80098a9
DM
27599 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27600 (HAVE_GCC_GOTDATA): New.
27601 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27602 relocation support in both binutils and gcc.
27603 * sysdeps/sparc/elf/configure: Regenerate.
27604
3a2545a0
DM
27605 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27606 * sysdeps/sparc/sparc32/elf/configure: Delete.
27607 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27608 * sysdeps/sparc/sparc64/elf/configure: Delete.
27609 * sysdeps/sparc/elf/configure.in: New file.
27610 * sysdeps/sparc/elf/configure: Generate.
27611
7a8b71c3
DM
27612 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27613 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27614 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27615 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27616 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27617
f1e86fca
JM
276182012-02-21 Joseph Myers <joseph@codesourcery.com>
27619
27620 * manual/install.texi: Do not mention specific glibc version
27621 numbers.
27622 * manual/libc.texinfo (VERSION, UPDATED): Update.
27623 (@copying): Use @copyright{} and range of years.
27624
0e7dfaef
JM
276252012-02-21 Joseph Myers <joseph@codesourcery.com>
27626
27627 [BZ #13695]
27628 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27629 [crti.S not in sysdirs] (generated): Do not append.
27630 [crti.S not in sysdirs] (omit-deps): Likewise.
27631 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27632 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27633 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27634 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27635 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27636 Likewise.
27637 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27638 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27639 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27640 * csu/defs.awk: Remove file.
27641 * sysdeps/generic/initfini.c: Likewise.
27642 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27643 variable.
27644 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27645 Likewise.
27646
599af3ca
JM
276472012-02-20 Joseph Myers <joseph@codesourcery.com>
27648
27649 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27650 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27651 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27653 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27654 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27655 <bits/epoll.h>.
27656 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27657 (__EPOLL_PACKED): Define to empty if not defined by
27658 <bits/epoll.h>.
27659 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27661 bits/epoll.h.
27662
0e499750
JM
276632012-02-20 Joseph Myers <joseph@codesourcery.com>
27664
27665 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27666 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27667 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27668 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27669 <bits/timerfd.h>.
27670 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27672 bits/timerfd.h.
27673
5ad91f6e
JM
276742012-02-20 Joseph Myers <joseph@codesourcery.com>
27675
27676 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27677 in C locale.
27678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27679 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27680 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27682
06b99b02
AJ
276832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27684
27685 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27686 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27687
7638c0fd
AS
276882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27689
27690 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27691 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27692 defined.
27693 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27694 Likewise.
27695 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27696 entry for 2.16.
27697
92221550
AJ
276982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27699
27700 * math/w_acos.c: Use non-signaling floating-point comparisons.
27701 * math/w_acosf.c: Likewise.
27702 * math/w_acosh.c: Likewise.
27703 * math/w_acoshf.c: Likewise.
27704 * math/w_acoshl.c: Likewise.
27705 * math/w_acosl.c: Likewise.
27706 * math/w_asin.c: Likewise.
27707 * math/w_asinf.c: Likewise.
27708 * math/w_asinl.c: Likewise.
27709 * math/w_atanh.c: Likewise.
27710 * math/w_atanhf.c: Likewise.
27711 * math/w_atanhl.c: Likewise.
27712 * math/w_exp2.c: Likewise.
27713 * math/w_exp2f.c: Likewise.
27714 * math/w_exp2l.c: Likewise.
27715 * math/w_j0.c: Likewise.
27716 * math/w_j0f.c: Likewise.
27717 * math/w_j0l.c: Likewise.
27718 * math/w_j1.c: Likewise.
27719 * math/w_j1f.c: Likewise.
27720 * math/w_j1l.c: Likewise.
27721 * math/w_jn.c: Likewise.
27722 * math/w_jnf.c: Likewise.
27723 * math/w_log.c: Likewise.
27724 * math/w_log10.c: Likewise.
27725 * math/w_log10f.c: Likewise.
27726 * math/w_log10l.c: Likewise.
27727 * math/w_log2.c: Likewise.
27728 * math/w_log2f.c: Likewise.
27729 * math/w_log2l.c: Likewise.
27730 * math/w_logf.c: Likewise.
27731 * math/w_logl.c: Likewise.
27732 * math/w_sqrt.c: Likewise.
27733 * math/w_sqrtf.c: Likewise.
27734 * math/w_sqrtl.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27736 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27738 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27739 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27740
ebaf36eb
JM
277412012-02-19 Joseph Myers <joseph@codesourcery.com>
27742
27743 [BZ #9739]
27744 * manual/string.texi (strnlen): Use correct parameter name in
27745 equivalent expression.
27746
71c254a6
JM
277472012-02-19 Joseph Myers <joseph@codesourcery.com>
27748
27749 [BZ #11174]
27750 * manual/users.texi (seteuid): Consistently use neweuid for
27751 argument name.
27752
16d2c631
JM
277532012-02-19 Joseph Myers <joseph@codesourcery.com>
27754
27755 [BZ #13704]
27756 * manual/nss.texi (Services in the NSS configuration): Correct
27757 list of services in example configuration file.
27758
cd837b09
NB
277592012-02-19 Nick Bowler <nbowler@draconx.ca>
27760
27761 [BZ #11322]
27762 * manual/arith.texi: Remove statements about negative zero
27763 behaving identically to zero.
27764
02c4bbad
JM
277652012-02-18 Joseph Myers <joseph@codesourcery.com>
27766
27767 [BZ #5993]
27768 * manual/install.texi: Do not document upgrading from libc5.
27769
366842e7
JM
277702012-02-18 Joseph Myers <joseph@codesourcery.com>
27771
27772 [BZ #4596]
27773 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27774
dd54084d
DM
277752012-02-18 David S. Miller <davem@davemloft.net>
27776
27777 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27778 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27779 %o7 across the call.
27780 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27781 instead.
27782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27783 SETUP_PIC_REG_LEAF.
27784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27785 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27786 * sysdeps/sparc/crtn.S: Likewise.
27787
2bcc53a3
UD
277882012-02-17 Ulrich Drepper <drepper@gmail.com>
27789
27790 * aout/Makefile: Remove.
27791
09c093b5
RK
277922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27793
27794 [BZ #13058]
27795 * manual/examples/argp-ex1.c (main): Format definition in GNU
27796 style.
27797 * manual/examples/argp-ex2.c (main): Likewise.
27798 * manual/examples/argp-ex3.c (main): Likewise.
27799 * manual/examples/argp-ex4.c (main): Likewise.
27800 * manual/examples/longopt.c (main): Use new-style prototype
27801 definition.
27802 * manual/examples/strncat.c (main): Specify return type and use
27803 (void) for arguments.
27804 * manual/examples/subopt.c (main): Use char **argv argument.
27805
2ee633a2
JM
278062012-02-17 Joseph Myers <joseph@codesourcery.com>
27807
27808 [BZ #5077]
27809 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27810 rounding modes.
27811
0520adde
FB
278122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27813
27814 [BZ #6907]
27815 * manual/string.texi (strchr): Change when strchrnul is
27816 recommended.
27817
3f4081cd
DGM
278182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27819
27820 [BZ #174]
27821 * manual/locale.texi (setlocale): Document LOCPATH.
27822
d1b10e78
JM
278232012-02-17 Joseph Myers <joseph@codesourcery.com>
27824
27825 [BZ #10210]
27826 * manual/process.texi (execle): Move @dots{} before last argument.
27827
79c6869c
PB
278282012-02-17 Paul Bolle <pebolle@tiscali.nl>
27829
27830 [BZ #12047]
27831 * manual/charset.texi (Generic Charset Conversion): Fix typo
27832 (LC_TYPE -> LC_CTYPE).
27833
cc6e48bc
NB
278342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27835
27836 [BZ #5805]
27837 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27838 (scalbnf): Likewise.
27839 (scalbnl): Likewise.
27840 (scalbln): Likewise.
27841 (scalblnf): Likewise.
27842 (scalblnl): Likewise.
27843 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27844 (vwarnx): Likewise.
27845 (verr): Likewise.
27846 (verrx): Likewise.
27847 * manual/filesys.texi (telldir): Use braces around return type.
27848 * manual/llio.texi (mmap): Add space after comma.
27849 (mmap64): Likewise.
27850 * manual/math.texi (jn): Use @var{} on parameter names.
27851 (jnf): Likewise.
27852 (jnl): Likewise.
27853 (yn): Likewise.
27854 (ynf): Likewise.
27855 (ynl): Likewise.
27856 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27857 line.
27858 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27859 "...".
27860 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27861 (sched_get_priority_max): Likewise.
27862 * manual/signal.texi (sigvec): Add space after comma.
27863 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27864 names.
27865 (if_indextoname): Likewise.
27866 (if_freenameindex): Likewise.
27867 (sendto): Use ',' instead of '.' in prototype.
27868 * manual/startup.texi (syscall): Use @dots{} instead of literal
27869 "...".
27870 * manual/stdio.texi (__fpending): Separate initial words of
27871 paragraph from @deftypefun line.
27872 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27873 "...".
27874 (vsyslog): Use @var{} on parameter names.
27875 * manual/terminal.texi (stty): Use @var{} on parameter names.
27876 * manual/users.texi (getutmp): Use @var{} on parameter names.
27877 (getutmpx): Likewise.
27878
5b23062f
JM
278792012-02-17 Joseph Myers <joseph@codesourcery.com>
27880
27881 [BZ #6884]
27882 * manual/stdio.texi (fopen): Fix typos in description of
27883 ",ccs=STRING".
27884
8dee4833
AJ
278852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27886
27887 [BZ #4026]
27888 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27889 get clock_id definition.
27890
9078ce93
TS
278912012-02-17 Thomas Schwinge <thomas@schwinge.name>
27892
27893 [BZ #4822]
27894 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27895 (madvise): Cast every argument to void on its own.
27896
3835c55f
JM
278972012-02-17 Joseph Myers <joseph@codesourcery.com>
27898
27899 [BZ #9902]
27900 * manual/startup.texi (Exit Status): Fix typo.
27901
35c47e37
JM
279022012-02-17 Joseph Myers <joseph@codesourcery.com>
27903
27904 [BZ #10140]
27905 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27906 * manual/examples/argp-ex2.c: Likewise.
27907 * manual/examples/argp-ex3.c: Likewise.
27908
e3b69ca7
RH
279092012-02-16 Richard Henderson <rth@redhat.com>
27910
27911 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27912 * sysdeps/s390/s390-32/initfini.c: Remove.
27913 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27914 * sysdeps/s390/s390-64/initfini.c: Remove.
27915
df83af67
KK
279162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27917
27918 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27919 compiler output for sysdeps/generic/initfini.c.
27920 * sysdeps/sh/elf/initfini.c: Remove file.
27921
f63f3380
DM
279222012-02-16 David S. Miller <davem@davemloft.net>
27923
fb59b3a4
DM
27924 [BZ #11494]
27925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27926
f63f3380
DM
27927 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27928 * sysdeps/sparc/crti.S: New file.
27929 * sysdeps/sparc/crtn.S: New file.
27930 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27931 * sysdeps/sparc/sparc64/Makefile: Likewise.
27932
df6a4a4a
MF
279332012-02-15 Mike Frysinger <vapier@gentoo.org>
27934
6dd8f3dc 27935 [BZ #3335]
df6a4a4a
MF
27936 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27937
1cac7236
RM
279382012-02-15 Roland McGrath <roland@hack.frob.com>
27939
d2c736f8
RM
27940 [BZ #4822]
27941 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27942
1cac7236
RM
27943 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27944 (write, read, close): Likewise.
27945 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27946
8e475601
JM
279472012-02-15 Joseph Myers <joseph@codesourcery.com>
27948
27949 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27950 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27951 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27952 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27953 <bits/signalfd.h>.
27954 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27956 bits/signalfd.h.
27957
ed656b40
MP
279582012-02-14 Marek Polacek <polacek@redhat.com>
27959
27960 * sysdeps/x86_64/crti.S: New file.
27961 * sysdeps/x86_64/crtn.S: New file.
27962 * sysdeps/x86_64/elf/initfini.c: Remove file.
27963
2a979d3a
JM
279642012-02-13 Joseph Myers <joseph@codesourcery.com>
27965
27966 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27967 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27968 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27969 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27970 <bits/inotify.h>.
27971 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27973 bits/inotify.h.
27974
2a418ac3
JM
279752012-02-13 Joseph Myers <joseph@codesourcery.com>
27976
27977 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27978 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27979 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27980 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27981 <bits/eventfd.h>.
27982 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27984 bits/eventfd.h.
27985
fb779be7
TS
279862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27987
e19e83c5
RM
27988 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27989 __feraiseexcept instead of feraiseexcept.
7c35ffed 27990
fb779be7
TS
27991 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27992 nanosleep invocations.
27993 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27994 strings, and add error checking for a nanosleep invocations.
27995
59ba27a6
PE
279962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27997
27998 Replace FSF snail mail address with URLs, as per GNU coding standards.
27999 Most of the snail mail addresses were wrong anyway, and omitting
28000 them makes the source code easier to maintain. Almost all of the
28001 changes are to license notices and to locale LC_IDENTIFICATION
28002 addresses, except for this one:
28003 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28004 not its snail mail address.
28005
57b957eb
RH
280062012-02-09 Richard Henderson <rth@twiddle.net>
28007
af850b1c
RH
28008 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28009 of kernel-features.h.
28010
57b957eb
RH
28011 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28012
6b73181a
MP
280132012-02-08 Marek Polacek <polacek@redhat.com>
28014
28015 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28016 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28017 * sysdeps/gnu/_G_config.h: Likewise.
28018 * sysdeps/generic/_G_config.h: Likewise.
28019
26ecc33a
AS
280202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28021
6c6dbc63
AS
28022 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28023 tests.
28024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28025
e216c012
AS
28026 * sysdeps/powerpc/powerpc32/crti.S: New file.
28027 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28028 * sysdeps/powerpc/powerpc64/crti.S: New file.
28029 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28030
26ecc33a
AS
28031 * Makeconfig (have-initfini): Don't set.
28032 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28033 * configure.in (nopic_initfini): Don't substitute.
28034 * config.h.in (HAVE_INITFINI): Don't #undef.
28035 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28036 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28037
3add8e13
JM
280382012-02-08 Joseph Myers <joseph@codesourcery.com>
28039
28040 Support crti.S and crtn.S provided directly by architectures.
28041 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28042 [crti.S in sysdirs] (omit-deps): Likewise.
28043 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28044 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28045 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28046 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28047 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28048 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28049 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28050 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28051 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28052 compiler output for sysdeps/generic/initfini.c.
28053 * sysdeps/i386/elf/Makefile: Remove file.
28054 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28055
a22f12b4
MP
280562012-02-07 Marek Polacek <polacek@redhat.com>
28057
28058 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28059 * sysdeps/gnu/_G_config.h: Likewise.
28060 * sysdeps/mach/hurd/_G_config.h: Likewise.
28061
148cf100
MP
280622012-02-07 Marek Polacek <polacek@redhat.com>
28063
28064 * math/Makefile (tests): Add tst-CMPLX2.
28065 * math/tst-CMPLX2.c: New file.
28066
cfdc0dd7
AS
280672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28068
84ba42c4
AS
28069 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28070
cfdc0dd7
AS
28071 * math/libm-test.inc (jn_test): Add missing L suffix.
28072
622c86f4
MP
280732012-02-06 Marek Polacek <polacek@redhat.com>
28074
28075 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28076 * sysdeps/i386/fpu/e_powf.S: Likewise.
28077 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28078 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28079 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28080 * sysdeps/i386/fpu/e_pow.S: Likewise.
28081 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28083 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28084 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28085 * sysdeps/i386/fpu/e_log2.S: Likewise.
28086 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28087 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28088 * sysdeps/i386/fpu/e_powl.S: Likewise.
28089 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28090 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28091 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28092 * sysdeps/i386/fpu/e_logl.S: Likewise.
28093 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28094 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28095 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28096 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28097 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28098 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28099 * sysdeps/i386/fpu/e_log.S: Likewise.
28100 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28101 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28102 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28103 * sysdeps/i386/fpu/e_logf.S: Likewise.
28104 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28105 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28106 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28107 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28108 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28109 * sysdeps/i386/fpu/e_log10.S: Likewise.
28110 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28111 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28112 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28113 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28114 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28115 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28116 * sysdeps/i386/asm-syntax.h: Likewise.
28117 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28118 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28119 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28120 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28121 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28122 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28123 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28124 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28125 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28126 * sysdeps/powerpc/sysdep.h: Likewise.
28127 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28128 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28129
d4a54ac6
JM
281302012-02-06 Joseph Myers <joseph@codesourcery.com>
28131
28132 [BZ #411]
28133 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28134
314054ea
JM
281352012-02-06 Joseph Myers <joseph@codesourcery.com>
28136
28137 * sysdeps/i386/sysdep.h: Include <features.h>.
28138 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28139 version.
28140
d8e0ca50
JM
281412012-02-05 Joseph Myers <joseph@codesourcery.com>
28142
28143 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28144 Define.
28145 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28146 LOAD_PIC_REG_STR.
28147
b1da7dd9
JM
281482012-02-03 Joseph Myers <joseph@codesourcery.com>
28149
28150 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28151 (SETUP_PIC_REG): Use GET_PC_THUNK.
28152 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28153 macro.
28154
9a1d9254
JM
281552012-02-03 Joseph Myers <joseph@codesourcery.com>
28156
28157 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28158 for non-PIC compilation.
28159 (SETUP_PIC_REG): Add .p2align directive.
28160 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28161 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28162 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28163 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28164 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28165 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28171 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28176 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28183 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28184 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28186 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28187 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28190 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28191 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28192 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28193 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28194 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28195 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28196 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28197 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28198 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28199 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28200 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28201
65dc3b75
JM
282022012-02-03 Joseph Myers <joseph@codesourcery.com>
28203
28204 * math/tst-CMPLX.c: Include <stdio.h>.
28205
d55bf177
JM
282062012-01-31 Joseph Myers <joseph@codesourcery.com>
28207
28208 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28209 float.
28210 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28211 * sysdeps/sparc/bits/mathdef.h: Likewise.
28212
69db4f8f
MP
282132012-01-31 Marek Polacek <polacek@redhat.com>
28214
28215 * libio/libio.h: Don't define _PARAMS.
28216 * locale/programs/config.h: Don't define PARAMS.
28217 * stdlib/strtol_l.c: Likewise.
28218 (__strtol_l): Remove PARAMS from the prototype.
28219
41b81892
UD
282202012-01-31 Ulrich Drepper <drepper@gmail.com>
28221
3b49edc0
UD
28222 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28223 names. Just use the correct names. Remove unnecessary wrapper
28224 functions.
28225 * malloc/arena.c: Likewise.
28226 * malloc/hooks.c: Likewise.
28227
41b81892
UD
28228 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28229 ARENA_TEST says not to. Simplify test for creation of a new arena.
28230 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28231
27a25b6e
UD
282322012-01-30 Ulrich Drepper <drepper@gmail.com>
28233
28234 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28235 into tail calls.
28236 (update_get_addr): New function.
28237 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28238 GET_ADDR_MODULE parameter.
28239
c8a89e7d
JM
282402012-01-30 Joseph Myers <joseph@codesourcery.com>
28241
28242 * crypt/cert.c: Remove __STDC__ conditionals.
28243 * crypt/crypt-entry.c: Likewise.
28244 * crypt/crypt_util.c: Likewise.
28245 * libio/filedoalloc.c: Likewise.
28246 * libio/fileops.c: Likewise.
28247 * libio/genops.c: Likewise.
28248 * libio/iofclose.c: Likewise.
28249 * libio/iofdopen.c: Likewise.
28250 * libio/iofopen.c: Likewise.
28251 * libio/iofopen64.c: Likewise.
28252 * libio/iogetdelim.c: Likewise.
28253 * libio/iopopen.c: Likewise.
28254 * libio/obprintf.c: Likewise.
28255 * libio/oldfileops.c: Likewise.
28256 * libio/oldiofclose.c: Likewise.
28257 * libio/oldiofdopen.c: Likewise.
28258 * libio/oldiofopen.c: Likewise.
28259 * libio/oldiopopen.c: Likewise.
28260 * libio/wfiledoalloc.c: Likewise.
28261 * libio/wgenops.c: Likewise.
28262 * locale/programs/xmalloc.c: Likewise.
28263 * misc/syslog.c: Likewise.
28264 * stdio-common/xbug.c: Likewise.
28265 * string/memchr.c: Likewise.
28266 * string/memcmp.c: Likewise.
28267 * string/memrchr.c: Likewise.
28268 * string/rawmemchr.c: Likewise.
28269 * sysdeps/posix/getcwd.c: Likewise.
28270 * time/strftime_l.c: Likewise.
28271
3b100462
JM
282722012-01-30 Joseph Myers <joseph@codesourcery.com>
28273
28274 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28275 * config.make.in (config-cflags-sse2avx): Define.
28276 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28277 Fix typo.
28278
607998af
CM
282792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28280
28281 * scripts/config.guess: Update from upstream config git repository.
28282 * scripts/config.sub: Likewise.
28283
3601428f
CM
282842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28285
3ac8b282
CM
28286 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28287 (EM_NUM): Update.
28288 (R_TILEPRO_*, R_TILEGX_*): New macros.
28289
e034841e
CM
28290 * scripts/firstversions.awk: Fix bug in version range handling.
28291
540d7568
CM
28292 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28293
3601428f
CM
28294 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28295
463de862
CM
28296 * include/sys/epoll.h: New file.
28297 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28298 libc_hidden_def.
28299
73139a76
UD
283002012-01-28 Ulrich Drepper <drepper@gmail.com>
28301
96bc5b45
UD
28302 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28303 Avoid unnecessary __WORDSIZE == 64 test.
28304 (fmaxf): Use VEX format if possible.
28305 (fmax): Likewise.
28306 (fminf): Likewise.
28307 (fmin): Likewise.
28308
56f6f6a2
UD
28309 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28310 * math/math_private.h: Remove libc_fegetround* and
28311 libc_fesetround*.
28312 * sysdeps/i386/configure.in: Check for -msse2avx.
28313 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28314 also if SSE2AVX is defined.
28315 Remove libc_fegetround* and libc_fesetround*.
28316 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28317 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28318 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28319 of HAS_YMM_USABLE.
28320 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28321 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28322 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28323 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28325
73139a76
UD
28326 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28327
d73f93a4
AZ
283282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28329
28330 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28331 size is not set.
28332 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28333
6ee65ed6
UD
283342012-01-27 Ulrich Drepper <drepper@gmail.com>
28335
28336 [BZ #13618]
28337 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28338 relocation.
28339 * Makeconfig (libm): Define.
28340 * elf/Makefile: Add rules to build and run tst-relsort1.
28341 * elf/tst-relsort1.c: New file.
28342 * elf/tst-relsort1mod1.c: New file.
28343 * elf/tst-relsort1mod2.c: New file.
28344
8db21882
JM
283452012-01-27 Joseph Myers <joseph@codesourcery.com>
28346
28347 * math/s_ldexp.c: Remove __STDC__ conditionals.
28348 * math/s_ldexpf.c: Likewise.
28349 * math/s_ldexpl.c: Likewise.
28350 * math/s_nextafter.c: Likewise.
28351 * math/s_nexttowardf.c: Likewise.
28352 * math/s_significand.c: Likewise.
28353 * math/s_significandf.c: Likewise.
28354 * math/s_significandl.c: Likewise.
28355 * math/w_jnl.c: Likewise.
28356 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28357 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28358 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28359 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28360 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28362 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28363 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28375 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28376 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28377 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28378 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28380 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28381 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28382 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28383 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28384 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28385 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28386 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28387 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28388 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28389 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28390 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28391 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28392 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28393 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28394 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28395 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28396 * sysdeps/ieee754/k_standard.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28401 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28441 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28445 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28446 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28450 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28451 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28453 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28455 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28456 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28457 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28458 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28459 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28460 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28462 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28463 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28465 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28467 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28468 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28471 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28472 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28474 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28475 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28476 * sysdeps/ieee754/s_matherr.c: Likewise.
28477 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28478 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28479 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28481
965a54a4
JM
284822012-01-26 Joseph Myers <joseph@codesourcery.com>
28483
28484 * crypt/md5.h: Remove __STDC__ conditionals.
28485 * libio/libioP.h: Likewise.
28486 * locale/programs/config.h: Likewise.
28487 * sysdeps/generic/sysdep.h: Likewise.
28488 * sysdeps/i386/asm-syntax.h: Likewise.
28489 * sysdeps/s390/asm-syntax.h: Likewise.
28490 * sysdeps/unix/sysdep.h: Likewise.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28493
7071ad79
JM
284942012-01-26 Joseph Myers <joseph@codesourcery.com>
28495
28496 * libio/libio.h: Remove __STDC__ conditionals.
28497 * malloc/obstack.h: Likewise.
28498 * math/complex.h: Likewise.
28499 * math/math.h: Likewise.
28500 * sysdeps/generic/_G_config.h: Likewise.
28501 * sysdeps/gnu/_G_config.h: Likewise.
28502 * sysdeps/mach/hurd/_G_config.h: Likewise.
28503 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28504 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28505 * sysdeps/sparc/bits/mathdef.h: Likewise.
28506
afc5ed09
UD
285072012-01-26 Ulrich Drepper <drepper@gmail.com>
28508
28509 [BZ #13583]
28510 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28511 Clean up HAS_* macros.
afc5ed09 28512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28513 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28514 possible.
28515 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28516 HAS_AVX.
28517 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28518 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28519 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28520 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28521 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28522
bdb6de1d
JM
285232012-01-25 Joseph Myers <joseph@codesourcery.com>
28524
28525 * elf/tst-unique3.cc (gets): Remove declaration.
28526 * elf/tst-unique3lib.cc (gets): Likewise.
28527 * elf/tst-unique3lib2.cc (gets): Likewise.
28528 * elf/tst-unique4.cc (gets): Likewise.
28529
b15549e6
UD
285302012-01-24 Ulrich Drepper <drepper@gmail.com>
28531
28532 * include/stdio.h: Add C++ protection. Add gets declarations and
28533 definitions.
28534 * debug/tst-chk1.c: Don't declare gets here.
28535 * stdio-common/tst-gets.c: Likewise.
28536
a037381f
JM
285372012-01-24 Joseph Myers <joseph@codesourcery.com>
28538
28539 * posix/glob: Remove directory.
28540
f1d4aa75
JM
285412012-01-24 Joseph Myers <joseph@codesourcery.com>
28542
28543 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28544
81c0c964
PT
285452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28546
28547 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28548 of the non-standard EPFNOSUPPORT.
28549
0ea698ae
ST
285502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28551
28552 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28553 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28554 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28555
d220b117
UD
285562012-01-21 Ulrich Drepper <drepper@gmail.com>
28557
28558 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28559
3e1aa84e
UD
285602012-01-20 Ulrich Drepper <drepper@gmail.com>
28561
28562 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28563 transient errors.
28564 * nscd/grpcache.c (cache_addgr): Likewise.
28565 * nscd/hstcache.c (cache_addhst): Likewise.
28566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28567 * nscd/pwdcache.c (cache_addpw): Likewise.
28568 * nscd/servicescache.c (cache_addserv): Likewise.
28569
400aa020
UD
285702012-01-16 Ulrich Drepper <drepper@gmail.com>
28571
d77e7869
UD
28572 * malloc/malloc.c: Various cleanups.
28573 * malloc/hooks.c: Likewise.
28574
400aa020
UD
28575 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28576 * stdlib/bug-fmtmsg1.c: New file.
28577
28578 * stdlib/fmtmsg.c (init): Add missing unlock.
28579 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28580
e0a309cf
MP
285812012-01-12 Marek Polacek <polacek@redhat.com>
28582
28583 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28584 and _GNU_SOURCE.
28585
929d11c7
WS
285862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28587
28588 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28589 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28590 macro to ensure uniqueness of label name.
28591 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28592 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28593
41d0e869
UD
285942012-01-11 Ulrich Drepper <drepper@gmail.com>
28595
0cc5ed3b
UD
28596 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28597
41d0e869
UD
28598 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28599 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28600 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28602
a47a831a
UD
286032012-01-10 Ulrich Drepper <drepper@gmail.com>
28604
daa891c0
UD
28605 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28606
28607 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28608 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28609 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28610
e58ef0f2
UD
28611 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28612
a47a831a 28613 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28614 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28615 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28617
28618 * math/bits/math-finite.h: Add ldexp support.
28619
a0bfc9c7
MP
286202012-01-10 Marek Polacek <polacek@redhat.com>
28621
28622 * locale/programs/localedef.h (show_archive_content): Add noreturn
28623 attribute.
28624
d6e97a1d
UD
286252012-01-09 Ulrich Drepper <drepper@gmail.com>
28626
28627 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28628
d5835c26
UD
286292012-01-08 Ulrich Drepper <drepper@gmail.com>
28630
e5f484c6
UD
28631 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28632
d5835c26
UD
28633 * io/Makefile (headers): Add bits/poll2.h.
28634
d1f741e9
WS
286352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28636
28637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28638 typo #include statement.
28639
ec09c1c4
UD
286402012-01-08 Ulrich Drepper <drepper@gmail.com>
28641
28642 * include/sys/cdefs.h: Define __attribute_alloc_size.
28643 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28644 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28645 * elf/pldd.c: Likewise.
28646 * iconv/iconv_charmap.c: Likewise.
28647 * iconv/iconvconfig.c: Likewise.
28648 * iconv/strtab.c: Likewise.
28649 * locale/programs/locale.c: Likewise.
28650 * locale/programs/localedef.h: Likewise.
28651 * locale/programs/simple-hash.c: Likewise.
28652 * nscd/nscd.h: Likewise.
28653 * nss/makedb.c: Likewise.
28654 * sysdeps/generic/ldconfig.h: Likewise.
28655 * locale/programs/localedef.c: Remove xmalloc prototype.
28656 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28657
20b38e03
PP
286582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28659
28660 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28661 appropriate.
28662
a0da5fe1
UD
286632012-01-08 Ulrich Drepper <drepper@gmail.com>
28664
1d5a644a 28665 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28666 * math/tst-CMPLX.c: New file.
1d5a644a 28667
8784a6db
UD
28668 * math/complex.h (CMPLXL): Fix typo.
28669
d9a216c0
UD
28670 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28671 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28672 GLIBC_2.16.
28673 * debug/tst-chk1.c: Add poll and ppoll tests.
28674 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28675 * include/sys/poll.h: Add hidden proto for ppoll.
28676 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28677 * sysdeps/mach/hurd/ppoll.c: Likewise.
28678 * io/ppoll.c: Likewise.
28679 * debug/poll_chk.c: New file.
28680 * debug/ppoll_chk.c: New file.
28681 * include/bits/poll2.h: New file.
28682 * io/bits/poll2.h: New file.
28683
ac097f5c
UD
28684 [BZ #1350]
28685 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28686
2119dcfa
UD
28687 * configure.in: static is always set to yes. Remove.
28688 * config.make.in: Don't set build-static.
28689 * Makeconfig: Remove use of build-static.
28690 * dlfcn/Makefile: Likewise.
28691 * elf/Makefile: Likewise.
28692 * math/Makefile: Likewise.
28693 * misc/Makefile: Likewise.
28694 * nptl/Makefile: Likewise.
28695 * sysdeps/mach/hurd/Makefile: Likewise.
28696
121766a9
UD
28697 * configure.in: PWD_P is not used anymore.
28698 * config.make.in: Remove PWD_P entry.
28699
51a1d39c 28700 * configure.in: Remove last remnants of RANLIB.
8720d066 28701 No need to check for signed size_t anymore.
215f4bdc
UD
28702 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28703 and IA-64.
3857022a 28704 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28705 * aclocal.m4: Likewise.
28706
d3ed7225
UD
28707 * wcsmbs/mbrtoc16.c: Implement using towc function.
28708 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28709 * wcsmbs/wcsmbsload.c: Likewise.
28710 * iconv/gconv_simple.c: Likewise.
28711 * iconv/gconv_int.h: Likewise.
28712 * iconv/gconv_builtin.h: Likewise.
28713 * iconv/iconv_prog.c: Remove CHAR16 handling.
28714
28715 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28716
28717 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28718
a0da5fe1
UD
28719 * configure.in: Remove --with-elf and --enable-bounded options.
28720 Dont set base_machine for ia64. More non-ELF conditions removed.
28721 Remove testing and setting of leading underscore information.
28722 * config.make.in (build-bounded): Set to no.
28723 * config.h.in: Remove NO_UNDERSCORES entry.
28724 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28725 them.
28726 * csu/start.c: Remove !NO_UNDERSCORE code.
28727 * locale/localeinfo.h: Likewise.
28728 * sysdeps/generic/machine-gmon.h: Likewise.
28729 * sysdeps/generic/sysdep.h: Likewise.
28730 * sysdeps/i386/sysdep.h: Likewise.
28731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28732 * sysdeps/mach/sysdep.h: Likewise.
28733 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28734 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28735 * sysdeps/sh/sysdep.h: Likewise.
28736 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28737 * sysdeps/unix/i386/sysdep.S: Likewise.
28738 * sysdeps/unix/sparc/start.c: Likewise.
28739 * sysdeps/unix/sparc/sysdep.S: Likewise.
28740 * sysdeps/unix/sparc/sysdep.h: Likewise.
28741 * sysdeps/unix/start.c: Likewise.
28742 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28743 * sysdeps/x86_64/sysdep.h: Likewise.
28744
df78418a
UD
287452012-01-07 Ulrich Drepper <drepper@gmail.com>
28746
a784e502
UD
28747 [BZ #13553]
28748 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28749 for non-gcc.
28750 * argp/argp-fmtstream.h: Use const instead __const.
28751 * argp/argp.h: Likewise.
28752 * assert/assert.h: Likewise.
28753 * bits/fenv.h: Likewise.
28754 * bits/sched.h: Likewise.
28755 * bits/sigset.h: Likewise.
28756 * bits/sigthread.h: Likewise.
28757 * catgets/nl_types.h: Likewise.
28758 * conform/data/pthread.h-data: Likewise.
28759 * crypt/crypt-private.h: Likewise.
28760 * crypt/crypt.h: Likewise.
28761 * crypt/crypt_util.c: Likewise.
28762 * ctype/ctype.h: Likewise.
28763 * debug/execinfo.h: Likewise.
28764 * debug/mbsnrtowcs_chk.c: Likewise.
28765 * debug/mbsrtowcs_chk.c: Likewise.
28766 * debug/wcsnrtombs_chk.c: Likewise.
28767 * debug/wcsrtombs_chk.c: Likewise.
28768 * debug/wcstombs_chk.c: Likewise.
28769 * dirent/dirent.h: Likewise.
28770 * dlfcn/dlfcn.h: Likewise.
28771 * elf/neededtest4.c: Likewise.
28772 * grp/grp.h: Likewise.
28773 * gshadow/gshadow.h: Likewise.
28774 * iconv/gconv.h: Likewise.
28775 * iconv/gconv_int.h: Likewise.
28776 * iconv/gconv_simple.c: Likewise.
28777 * iconv/iconv.h: Likewise.
28778 * iconv/loop.c: Likewise.
28779 * iconv/skeleton.c: Likewise.
28780 * include/aio.h: Likewise.
28781 * include/aliases.h: Likewise.
28782 * include/argz.h: Likewise.
28783 * include/arpa/inet.h: Likewise.
28784 * include/assert.h: Likewise.
28785 * include/dirent.h: Likewise.
28786 * include/dlfcn.h: Likewise.
28787 * include/execinfo.h: Likewise.
28788 * include/fcntl.h: Likewise.
28789 * include/fenv.h: Likewise.
28790 * include/glob.h: Likewise.
28791 * include/grp.h: Likewise.
28792 * include/libintl.h: Likewise.
28793 * include/mntent.h: Likewise.
28794 * include/netdb.h: Likewise.
28795 * include/pwd.h: Likewise.
28796 * include/rpc/netdb.h: Likewise.
28797 * include/sched.h: Likewise.
28798 * include/search.h: Likewise.
28799 * include/shadow.h: Likewise.
28800 * include/signal.h: Likewise.
28801 * include/stdio.h: Likewise.
28802 * include/stdlib.h: Likewise.
28803 * include/string.h: Likewise.
28804 * include/sys/socket.h: Likewise.
28805 * include/sys/stat.h: Likewise.
28806 * include/sys/statfs.h: Likewise.
28807 * include/sys/statvfs.h: Likewise.
28808 * include/sys/syslog.h: Likewise.
28809 * include/sys/time.h: Likewise.
28810 * include/sys/uio.h: Likewise.
28811 * include/time.h: Likewise.
28812 * include/unistd.h: Likewise.
28813 * include/utmp.h: Likewise.
28814 * include/wchar.h: Likewise.
28815 * include/wctype.h: Likewise.
28816 * inet/aliases.h: Likewise.
28817 * inet/arpa/inet.h: Likewise.
28818 * inet/netinet/ether.h: Likewise.
28819 * inet/netinet/in.h: Likewise.
28820 * intl/libintl.h: Likewise.
28821 * io/bits/fcntl2.h: Likewise.
28822 * io/fcntl.h: Likewise.
28823 * io/ftw.h: Likewise.
28824 * io/sys/poll.h: Likewise.
28825 * io/sys/stat.h: Likewise.
28826 * io/sys/statfs.h: Likewise.
28827 * io/sys/statvfs.h: Likewise.
28828 * io/utime.h: Likewise.
28829 * libio/bits/stdio.h: Likewise.
28830 * libio/bits/stdio2.h: Likewise.
28831 * libio/libio.h: Likewise.
28832 * libio/libioP.h: Likewise.
28833 * libio/stdio.h: Likewise.
28834 * locale/lc-ctype.c: Likewise.
28835 * locale/locale.h: Likewise.
28836 * login/utmp.h: Likewise.
28837 * malloc/arena.c: Likewise.
28838 * malloc/malloc.c: Likewise.
28839 * malloc/malloc.h: Likewise.
28840 * malloc/mcheck.c: Likewise.
28841 * malloc/mtrace.c: Likewise.
28842 * math/bits/mathcalls.h: Likewise.
28843 * math/fenv.h: Likewise.
28844 * math/math_private.h: Likewise.
28845 * misc/bits/error.h: Likewise.
28846 * misc/bits/syslog.h: Likewise.
28847 * misc/err.h: Likewise.
28848 * misc/error.h: Likewise.
28849 * misc/fstab.h: Likewise.
28850 * misc/mntent.h: Likewise.
28851 * misc/regexp.h: Likewise.
28852 * misc/search.h: Likewise.
28853 * misc/sgtty.h: Likewise.
28854 * misc/sys/mman.h: Likewise.
28855 * misc/sys/syslog.h: Likewise.
28856 * misc/sys/uio.h: Likewise.
28857 * misc/sys/xattr.h: Likewise.
28858 * misc/ttyent.h: Likewise.
28859 * nis/rpcsvc/ypclnt.h: Likewise.
28860 * nss/nss.h: Likewise.
28861 * posix/bits/unistd.h: Likewise.
28862 * posix/fnmatch.h: Likewise.
28863 * posix/glob.h: Likewise.
28864 * posix/sched.h: Likewise.
28865 * posix/spawn.h: Likewise.
28866 * posix/sys/wait.h: Likewise.
28867 * posix/unistd.h: Likewise.
28868 * posix/wordexp.h: Likewise.
28869 * pwd/pwd.h: Likewise.
28870 * resolv/netdb.h: Likewise.
28871 * resource/sys/resource.h: Likewise.
28872 * rt/aio.h: Likewise.
28873 * rt/bits/mqueue2.h: Likewise.
28874 * rt/mqueue.h: Likewise.
28875 * shadow/shadow.h: Likewise.
28876 * signal/signal.h: Likewise.
28877 * socket/send.c: Likewise.
28878 * socket/sendto.c: Likewise.
28879 * socket/sys/socket.h: Likewise.
28880 * stdio-common/printf.h: Likewise.
28881 * stdlib/bits/stdlib.h: Likewise.
28882 * stdlib/fmtmsg.h: Likewise.
28883 * stdlib/monetary.h: Likewise.
28884 * stdlib/stdlib.h: Likewise.
28885 * stdlib/ucontext.h: Likewise.
28886 * streams/stropts.h: Likewise.
28887 * string/argz.h: Likewise.
28888 * string/bits/string2.h: Likewise.
28889 * string/string.h: Likewise.
28890 * string/strings.h: Likewise.
28891 * sunrpc/rpc/auth.h: Likewise.
28892 * sunrpc/rpc/auth_des.h: Likewise.
28893 * sunrpc/rpc/clnt.h: Likewise.
28894 * sunrpc/rpc/netdb.h: Likewise.
28895 * sunrpc/rpc/pmap_clnt.h: Likewise.
28896 * sunrpc/rpc/xdr.h: Likewise.
28897 * sysdeps/generic/inttypes.h: Likewise.
28898 * sysdeps/generic/net/if.h: Likewise.
28899 * sysdeps/generic/sys/swap.h: Likewise.
28900 * sysdeps/gnu/net/if.h: Likewise.
28901 * sysdeps/gnu/utmpx.h: Likewise.
28902 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28903 * sysdeps/i386/i486/bits/string.h: Likewise.
28904 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28905 * sysdeps/s390/bits/string.h: Likewise.
28906 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28907 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28908 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28909 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28910 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28911 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28912 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28913 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28914 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28915 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28916 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28917 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28918 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28919 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28920 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28921 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28922 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28924 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28927 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28928 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28929 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28930 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28931 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28932 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28934 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28935 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28936 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28937 * sysvipc/sys/ipc.h: Likewise.
28938 * sysvipc/sys/msg.h: Likewise.
28939 * sysvipc/sys/sem.h: Likewise.
28940 * sysvipc/sys/shm.h: Likewise.
28941 * termios/termios.h: Likewise.
28942 * time/sys/time.h: Likewise.
28943 * time/time.h: Likewise.
28944 * wcsmbs/bits/wchar2.h: Likewise.
28945 * wcsmbs/uchar.h: Likewise.
28946 * wcsmbs/wchar.h: Likewise.
28947 * wctype/wctype.h: Likewise.
28948
0269750c
UD
28949 [BZ #13551]
28950 * Makeconfig: Remove all but ELF support including AIX support.
28951 * Makerules: Likewise.
28952 * config.h.in: Likewise.
28953 * config.make.in: Likewise.
28954 * configure: Likewise.
28955 * configure.in: Likewise.
28956 * csu/Makefile: Likewise.
28957 * csu/version.c: Likewise.
28958 * debug/Makefile: Likewise.
28959 * dlfcn/Makefile: Likewise.
28960 * elf/Makefile: Likewise.
28961 * extra-lib.mk: Likewise.
28962 * iconv/Makefile: Likewise.
28963 * include/libc-symbols.h: Likewise.
28964 * include/shlib-compat.h: Likewise.
28965 * resolv/Makefile: Likewise.
28966 * resolv/res_libc.c: Likewise.
28967 * rt/Makefile: Likewise.
28968 * sysdeps/i386/asm-syntax.h: Likewise.
28969 * sysdeps/i386/sysdep.h: Likewise.
28970 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28971 * sysdeps/mach/sysdep.h: Likewise.
28972 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28973 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28974 * sysdeps/s390/asm-syntax.h: Likewise.
28975 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28977 * sysdeps/sh/sysdep.h: Likewise.
28978 * sysdeps/unix/sparc/sysdep.h: Likewise.
28979 * sysdeps/wordsize-32/divdi3.c: Likewise.
28980 * sysdeps/x86_64/sysdep.h: Likewise.
28981
00bbd29b
UD
28982 * argp/Versions: Remove _argp_unlock_xxx.
28983
28984 [BZ #13559]
28985 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28986 * abilist/libBrokenLocale.abilist: Likewise.
28987 * abilist/libanl.abilist: Likewise.
28988 * abilist/libc.abilist: Likewise.
28989 * abilist/libcrypt.abilist: Likewise.
28990 * abilist/libdl.abilist: Likewise.
28991 * abilist/libm.abilist: Likewise.
28992 * abilist/libnsl.abilist: Likewise.
28993 * abilist/libpthread.abilist: Likewise.
28994 * abilist/libresolv.abilist: Likewise.
28995 * abilist/librt.abilist: Likewise.
28996 * abilist/libthread_db.abilist: Likewise.
28997 * abilist/libutil.abilist: Likewise.
28998 * abilist/libnss_db.abilist: New file.
28999
29000 * scripts/abilist.awk: Add support for indirect functions.
29001
a2693a0e
UD
29002 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29003
3f05895f
UD
29004 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29005
ecb6fb48
UD
29006 * shlib-versions: Remove entries for ports architectures.
29007
664f8cb9
UD
29008 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29009 files in ports.
29010 * elf/stackguard-macros.h: Remove support for IA-64.
29011 * elf/tst-auditmod1.c: Likewise.
29012 * sysdeps/generic/ldsodefs.h: Likewise.
29013
7ae81d88
UD
29014 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29015 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29016 configure files.
29017
bdeba135
UD
29018 [BZ #13552]
29019 * configure.in: Remove --enable-omitfp support.
29020 * FAQ.in: Adjust.
29021 * config.make.in: Likewise.
29022 * Makeconfig: Likewise.
29023 * manual/install.texi: Likewise.
29024
d75a0a62
UD
29025 In case anyone cares, the IA-64 architecture could move to ports.
29026 * sysdeps/ia64/*: Removed.
29027 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29028 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29029
dcc9756b
UD
29030 [BZ #13555]
29031 * configure.in: Remove entries for unsupported architectures.
29032
d3761ebc 29033 [BZ #13533]
9954432e
UD
29034 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29035 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29036 routines.
29037 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29038 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29039 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29040 fall back to using wcrtomb.
29041 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29042 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29043 renaming.
29044 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29045 * wcsmbs/tst-c16c32-1.c: New file.
29046
29047 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29048 local variable.
29049
c3a87236
UD
29050 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29051
28926a1b
UD
29052 * elf/tst-unique3.cc: Add explicit declaration of gets.
29053 * elf/tst-unique3lib.cc: Likewise.
29054 * elf/tst-unique3lib2.cc: Likewise.
29055 * elf/tst-unique4.cc: Likewise.
29056
df78418a
UD
29057 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29058
8ecd6b2a
JM
290592012-01-06 Joseph Myers <joseph@codesourcery.com>
29060
29061 [BZ #13566]
29062 * assert/assert.h (static_assert): Don't define for C++.
29063 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29064 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29065
9f115170
UD
290662012-01-03 Ulrich Drepper <drepper@gmail.com>
29067
5e0d0300
UD
29068 * iconv/loop.c (single loop): Fix assertion in storing of
29069 remaining bytes.
29070
9f115170
UD
29071 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29072
81fb02b0
UD
290732012-01-01 Ulrich Drepper <drepper@gmail.com>
29074
29075 * posix/getconf.c: Update copyright year.
29076 * nss/getent.c: Likewise.
a316c1f6 29077 * nss/makedb.c: Likewise.
81fb02b0
UD
29078 * iconv/iconvconfig.c: Likewise.
29079 * iconv/iconv_prog.c: Likewise.
29080 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29081 * elf/pldd.c: Likewise.
29082 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29083 * catgets/gencat.c: Likewise.
29084 * csu/version.c: Likewise.
29085 * elf/ldd.bash.in: Likewise.
29086 * elf/sprof.c (print_version): Likewise.
29087 * locale/programs/locale.c: Likewise.
29088 * locale/programs/localedef.c: Likewise.
a316c1f6 29089 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29090 * nscd/nscd.c (print_version): Likewise.
29091 * debug/xtrace.sh: Likewise.
29092 * malloc/memusage.sh: Likewise.
29093 * malloc/mtrace.pl: Likewise.
29094 * debug/catchsegv.sh: Likewise.
29095
2ba92745
JJ
290962011-12-30 Jakub Jelinek <jakub@redhat.com>
29097
29098 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29099 pure attribute.
29100
dadebdae
UD
291012011-12-24 Ulrich Drepper <drepper@gmail.com>
29102
d3761ebc 29103 [BZ #13533]
db6af3eb
UD
29104 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29105 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29106 transformations.
29107 * iconv/gconv_int.h: Likewise.
29108 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29109 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29110 from libc for GLIBC_2.16.
29111 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29112 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29113 * wcsmbs/uchar.h: Really define mbstate_t.
29114 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29115 * wcsmbs/c16rtomb.c: New file.
29116 * wcsmbs/mbrtoc16.c: New file.
29117 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29118 for C/POSIX locale.
29119 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29120 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29121
dadebdae
UD
29122 * wcsmbs/wchar.h: Add missing __restrict.
29123
67371b56
UD
291242011-12-23 Ulrich Drepper <drepper@gmail.com>
29125
74033a25
UD
29126 [BZ #13532]
29127 * time/Makefile (routines): Add timespec_get.
29128 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29129 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29130 timespec for ISO C11.
29131 * time/timespec_get.c: New file.
29132 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29133 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29134
380d7e87
UD
29135 [BZ #13531]
29136 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29137 * stdlib/stdlib.h: Declare aligned_alloc.
29138 * Versions.def: Add GLIBC_2.16 for libc.
29139 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29140
4e9e7a35
UD
29141 [BZ 13527]
29142 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29143 ISO C11.
29144
380d7e87 29145 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29146 code.
29147
03a71829
UD
29148 [BZ #13528]
29149 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29150
839e283e
UD
29151 [BZ #13529]
29152 * assert/assert.h (static_assert): Define.
29153
ce5294e2 29154 * version.h: Update for 2.16 development version.
90fa7312 29155
8d44e150 29156 [BZ #13526]
d7809905
UD
29157 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29158 _ISOC11_SOURCE.
29159
c0da14cd
UD
29160 * version.h (RELEASE): Bump for 2.15 release.
29161 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29162
530a3249
MP
29163 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29164 Patch by Marek Polacek <mpolacek@redhat.com>.
29165
67371b56
UD
29166 * bits/byteswap.h: Protect long long constants with __extension__.
29167 * sysdeps/i386/bits/byteswap.h: Likewise.
29168 * sysdeps/ia64/bits/byteswap.h: Likewise.
29169 * sysdeps/s390/bits/byteswap.h: Likewise.
29170 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29171
15db4de1
LD
291722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29173
29174 [BZ #13540]
bbe315ea
LD
29175 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29176 destination buffer.
15db4de1
LD
29177 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29178
2b2596b1
MP
291792011-12-23 Marek Polacek <polacek@redhat.com>
29180
29181 * elf/dl-addr.c (determine_info): Add inline keyword.
29182 * elf/tst-auditmod4b.c (check_avx): Likewise.
29183 * elf/tst-auditmod6b.c (check_avx): Likewise.
29184 * elf/tst-auditmod6c.c (check_avx): Likewise.
29185 * elf/tst-auditmod7b.c (check_avx): Likewise.
29186
70c6c246
UD
291872011-12-23 Ulrich Drepper <drepper@gmail.com>
29188
29189 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29190 !__SSE_MATH__.
29191
c044cf14
LD
291922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29193
15db4de1 29194 [BZ #13540]
c044cf14
LD
29195 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29196 processing for last bytes.
29197
6b13d9d9
BH
291982011-08-06 Bruno Haible <bruno@clisp.org>
29199
d455f537
BH
29200 [BZ #13061]
29201 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29202 U+0385, not to U+1FEE.
29203
6b13d9d9
BH
29204 [BZ #13062]
29205 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29206 entry for U+00A5 U+0301.
29207
db910efd
UD
292082011-12-22 Ulrich Drepper <drepper@gmail.com>
29209
27deeafc
UD
29210 [BZ #13166]
29211 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29212 buffer for the output is too small.
29213
aed9d171
UD
29214 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29215 optimization.
29216
db910efd
UD
29217 [BZ #13185]
29218 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29219 SSE flags if possible.
29220
2bd779ae
LD
292212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29222
e7f9dac3 29223 [BZ #13540]
2bd779ae
LD
29224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29225 processing for last bytes.
29226
154bfc16
JM
292272011-12-22 Joseph Myers <joseph@codesourcery.com>
29228
29229 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29230 (syscall-list-default-options, syscall-list-default-condition)
29231 (syscall-list-includes): Define.
29232 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29233 list of ABIs and options and #if conditions for each ABI. Do not
29234 handle common syscalls between ABIs specially.
29235 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29236 Remove.
29237 (syscall-list-variants, syscall-list-32bit-options)
29238 (syscall-list-32bit-condition, syscall-list-64bit-options)
29239 (syscall-list-64bit-condition): Define.
29240 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29241 (syscall-list-variants, syscall-list-32bit-options)
29242 (syscall-list-32bit-condition, syscall-list-64bit-options)
29243 (syscall-list-64bit-condition): Define.
29244 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29245 Remove.
29246 (syscall-list-variants, syscall-list-32bit-options)
29247 (syscall-list-32bit-condition, syscall-list-64bit-options)
29248 (syscall-list-64bit-condition): Define.
29249 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29250 Remove.
29251 (syscall-list-variants, syscall-list-32bit-options)
29252 (syscall-list-32bit-condition, syscall-list-64bit-options)
29253 (syscall-list-64bit-condition): Define.
29254
21eaf3a5
UD
292552011-12-22 Ulrich Drepper <drepper@gmail.com>
29256
16c6f992
UD
29257 * locale/iso-639.def: Add brx entry.
29258
41043168
UD
29259 [BZ #13328]
29260 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29261 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29262
21eaf3a5
UD
29263 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29264 __feraiseexcept_renamed.
29265
e3a851a2
UD
292662011-12-21 Ulrich Drepper <drepper@gmail.com>
29267
4920765e
UD
29268 [BZ #13538]
29269 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29270 EPOLLET with unsigned values.
29271 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29272 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29273
e3a851a2
UD
29274 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29275 to large cancellation.
29276 * math/s_cacoshf.c: Likewise.
29277 * math/s_cacoshl.c: Likewise.
29278
b27e24b8
RK
292792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29280
29281 [BZ #13305]
aebefeee 29282 [BZ #12786]
b27e24b8
RK
29283 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29284 * math/s_cacoshf.c: Likewise.
29285 * math/s_cacoshl.c: Likewise.
29286
ee190f67
UD
292872011-12-21 Ulrich Drepper <drepper@gmail.com>
29288
29289 [BZ #13439]
29290 * iconv/gconv.h: Define __GCONV_SWAP.
29291 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29292 * iconvdata/utf-16.c: Likewise.
29293 * iconvdata/utf-32.c: Likewise.
29294
707f25df
AS
292952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29296
29297 [BZ #13524]
29298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29299 numerator after shifting it by one limb.
29300
d2daaa1e
RÁE
293012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29302
29303 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29304 under [__USE_EXTERN_INLINES].
29305
a4647e72
UD
293062011-12-17 Ulrich Drepper <drepper@gmail.com>
29307
29308 [BZ #13446]
29309 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29310
f0b264f1
AZ
293112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29312
29313 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29314 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29315 optimized code.
29316 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29318 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29319 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29320 for strncasecmp/strncasecmp_l compilation.
29321 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29322 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29323
8ef4f244
MP
293242011-12-08 Marek Polacek <mpolacek@redhat.com>
29325
29326 [BZ #13484]
29327 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29328 of __asm__.
29329
97ac2654
UD
293302011-12-17 Ulrich Drepper <drepper@gmail.com>
29331
29332 [BZ #13506]
29333 * time/tzfile.c (__tzfile_read): Check values from file header.
29334
91d2a845
WS
293352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29336
29337 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29338 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29339 * powerpc/powerpc32/dl-start.S: Likewise.
29340 * powerpc/powerpc32/elf/start.S: Likewise.
29341 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29342 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29343 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29344 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29345 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29346 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29347 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29348 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29349 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29350 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29351 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29352 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29353 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29354 * powerpc/powerpc32/memset.S: Likewise.
29355 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29356 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29357 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29358 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29359 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29360 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29361 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29362 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29363 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29364 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29366 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29367 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29368
a1267ba1
AZ
293692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29370
29371 * math/libm-test.inc: Added more nearbyint tests.
29372 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29376
ad8ac1bd
RL
293772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29378
29379 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29380 FD_CLOEXEC.
29381
1d3e4b61
UD
293822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29383
29384 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29385 Add wcscpy-ssse3 wcscpy-c.
29386 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29387 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29388 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29389 * sysdeps/x86_64/wcschr.S: New file.
29390 * sysdeps/x86_64/wcsrchr.S: New file.
29391 * string/test-strcmp.c: Remove checking of wcscmp function for
29392 wrong alignments.
29393 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29394 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29395 wcsrchr-sse2 wcsrchr-c.
29396 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29397 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29398 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29399 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29400 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29401 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29402 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29403 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29404 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29405 * wcsmbc/wcschr.c (WCSCHR): New macro.
29406
5b330a2d
UD
294072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29408
29409 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29410 * wcsmbs/test-wcsrchr.c: New file.
29411 * string/test-strrchr.c: Add wcsrchr support.
29412 (WIDE): New macro.
29413 * wcsmbs/test-wcscpy.c: New file.
29414 * string/test-strcpy.c: Add wcscpy support.
29415 (WIDE): New macro.
26428b7c 29416
f039c043
UD
294172011-12-10 Ulrich Drepper <drepper@gmail.com>
29418
29419 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29420 the inner loop.
29421
850fb039
AS
294222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29423
29424 [BZ #13472]
29425 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29426
4efbd5cb
UD
294272011-12-04 Ulrich Drepper <drepper@gmail.com>
29428
52ff5dd0 29429 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29430 Minor optimizations.
52ff5dd0 29431
4efbd5cb
UD
29432 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29433 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29434 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29435
8a426e12
UD
294362011-12-03 Ulrich Drepper <drepper@gmail.com>
29437
aff2453d
UD
29438 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29439 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29440 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29441 for gcc to avoid warnings.
29442 * inet/Makefile (tests): Add tst-checks.
29443 * inet/tst-checks.c: New file.
29444
29445 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29446 warning.
29447
29448 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29449 __wmemcmp_sse2.
29450
29451 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29452 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29453
8a426e12
UD
29454 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29455
9bea3473
UD
294562011-12-02 Ulrich Drepper <drepper@gmail.com>
29457
3a965496
UD
29458 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29459 problem.
29460
9bea3473
UD
29461 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29462
f101631b
UD
294632011-11-29 Joseph Myers <joseph@codesourcery.com>
29464
29465 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29466 conditional on GCC version.
29467 (__arch_compare_and_exchange_val_8_acq)
29468 (__arch_compare_and_exchange_val_16_acq)
29469 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29470 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29471 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29472
a98275aa
UD
294732011-12-02 Joseph Myers <joseph@codesourcery.com>
29474
29475 * sysdeps/sh/backtrace.c: New file.
29476
d4cc29a2
AS
294772011-12-02 Andreas Schwab <schwab@redhat.com>
29478
29479 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29480 parenthesis.
29481
6257af2d
AS
294822011-12-01 Andreas Schwab <schwab@redhat.com>
29483
29484 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29485 falling back to utime.
29486
b5f44c1a
AS
294872011-11-30 Andreas Schwab <schwab@redhat.com>
29488
29489 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29490 expectations for float.
29491
f3a6cc0a
AS
294922011-11-29 Andreas Schwab <schwab@redhat.com>
29493
29494 * locale/weight.h (findidx): Add parameter len.
29495 * locale/weightwc.h (findidx): Likewise.
29496 * posix/fnmatch_loop.c (FCT): Adjust caller.
29497 * posix/regcomp.c (build_equiv_class): Likewise.
29498 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29499 * posix/regexec.c (check_node_accept_bytes): Likewise.
29500 * string/strcoll_l.c (STRCOLL): Likewise.
29501 * string/strxfrm_l.c (STRXFRM): Likewise.
29502
9d65ea3a
UD
295032011-11-17 Ulrich Drepper <drepper@gmail.com>
29504
29505 * Makefile.in: Remove CVSOPT handling.
29506 * configure.in: Remove use of AC_REVISION.
29507 * iconvdata/Makefile (distribute): No need to filter out CVS.
29508 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29509 handling.
29510
5583a086
AS
295112011-11-16 Andreas Schwab <schwab@redhat.com>
29512
29513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29514 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29515 [USE_AS_STRNCASECMP_L]: Likewise.
29516 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29517 NO_TLS_DIRECT_SEG_REFS.
29518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29519 Fix argument offsets for non-PIC.
29520 [USE_AS_STRNCASECMP_L]: Likewise.
29521 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29522 NO_TLS_DIRECT_SEG_REFS.
29523
d62a8200
UD
295242011-11-15 Ulrich Drepper <drepper@gmail.com>
29525
9d65ea3a 29526 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29527 O_CLOEXEC.
29528 * locale/loadlocale.c (_nl_load_locale): Likewise.
29529
09f93bd3
AS
295302011-11-15 Andreas Schwab <schwab@redhat.com>
29531
446514f9
AS
29532 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29533 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29534 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29535 (SYSCALL_GETTIME): Set errno on error.
29536
09f93bd3
AS
29537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29538 count references to noai6ai_cached.
29539
312be3f9
UD
295402011-11-15 Ulrich Drepper <drepper@gmail.com>
29541
29542 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29543
29544 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29545 FD_CLOEXEC for /proc/self/maps.
29546
29547 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29548 FD_CLOEXEC for /proc/meminfo.
29549
29550 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29551 gai.conf.
29552
29553 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29554 FD_CLOEXEC for given file.
29555
29556 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29557
29558 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29559 FD_CLOEXEC for /etc/hosts.
29560 (_gethtent): Likewise.
29561
29562 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29563
29564 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29565 cancellation and set FD_CLOEXEC for /etc/netgroup.
29566
29567 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29568 reading /etc/publickey.
29569
29570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29571 allow cancellation when reading /etc/group.
29572
29573 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29574 cancellation.
29575 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29576
29577 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29578 when using data file.
29579
29580 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29581
29582 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29583 (write_nis_obj): Use "c" and "e" in fopen.
29584
29585 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29586
29587 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29588
29589 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29590
29591 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29592
29593 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29594 locale.alias.
29595
29596 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29597
29598 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29599
29600 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29601
29602 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29603 file parsing and set FD_CLOEXEC.
29604
82af0fa8
UD
296052011-11-14 Ulrich Drepper <drepper@gmail.com>
29606
29607 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29608
a5fb313c
AS
296092011-11-14 Andreas Schwab <schwab@redhat.com>
29610
29611 * malloc/arena.c (arena_get2): Don't call reused_arena when
29612 _int_new_arena failed.
29613
6abf3465
UD
296142011-11-14 Ulrich Drepper <drepper@gmail.com>
29615
29616 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29617 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29618 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29619 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29620 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29621 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29622 to compile strcasecmp and strncasecmp.
29623 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29624 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29625
29626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29627
76e3966e
UD
296282011-11-13 Ulrich Drepper <drepper@gmail.com>
29629
29630 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29631 locale-defines.sym to gen-as-const-headers.
29632 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29633 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29635 to compile strcasecmp and strncasecmp.
29636 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29637 strcasecmp_l and strncasecmp_l.
29638 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29639 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29640 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29641 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29642 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29643 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29644 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29645 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29646 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29647 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29648 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29649
ab26144e
UD
296502011-11-12 Ulrich Drepper <drepper@gmail.com>
29651
7edb22ef
UD
29652 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29653 result of SYSDEP_GETTIME_CPU to retval.
29654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29655 parameter list to macro. Remove trailing semicolon. Adjust users.
29656
9694fc44
UD
29657 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29658 variable.
29659
8ad89ef8
UD
29660 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29661 mantissa words.
29662 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29663
0c822ef9
UD
29664 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29665 from unused variable.
29666
874e0564
UD
29667 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29668 DWARF definitions.
29669 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29670 for assembling.
29671
3a2edc79
UD
29672 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29673 over namespaces.
29674
f3c2577f
UD
29675 * sunrpc/rpc_prot.c (rejected): Fix case value.
29676
294ce126
UD
29677 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29678 unsigned long long int to avoid warnings in shift.
29679
5e2b63c6
UD
29680 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29681 of use of trans.
29682 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29683 variable tmp.
29684
e7f4b08e
UD
29685 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29686 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29687 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29688
ab26144e
UD
29689 * nis/nis_table.c (nis_list): Use variable of correct type for
29690 result of __follow_path call.
29691
8a6d5255
AZ
296922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29693
29694 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29695 of math functions ceil, trunc, floor, round, and sqrt, when
29696 avaliable on the platform.
29697 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29698 name clash.
29699 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29700 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29701 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29702
aaddc98c
MP
297032011-10-30 Marek Polacek <mpolacek@redhat.com>
29704
29705 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29706 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29707
95b7042b
RM
297082011-11-11 Roland McGrath <roland@hack.frob.com>
29709
29710 * include/unistd.h: Fix __readlink return type.
29711 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29712
57769839
UD
297132011-11-11 Ulrich Drepper <drepper@gmail.com>
29714
29715 * stdlib/ucontext.h: Undo last change for makecontext.
29716
edc5984d
AS
297172011-11-11 Andreas Schwab <schwab@redhat.com>
29718
98591e58
AS
29719 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29720
edc5984d
AS
29721 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29722 * setjmp/setjmp.h: Mark functions as non-leaf.
29723 * setjmp/bits/setjmp2.h: Likewise.
29724 * stdlib/ucontext.h: Likewise.
29725
77cdc054
AS
297262011-11-10 Andreas Schwab <schwab@redhat.com>
29727
29728 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29729 (reused_arena): Don't check arena limit.
29730 (arena_get2): Atomically check arena limit.
29731
fe72eebd
UD
297322011-11-08 Ulrich Drepper <drepper@gmail.com>
29733
5f078c32
UD
29734 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29735 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29736
fe72eebd
UD
29737 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29738 instructions.
29739
ae1bc2fa
AS
297402011-11-07 Andreas Schwab <schwab@redhat.com>
29741
7583a88d
AS
29742 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29743 handler when locking.
29744
ae1bc2fa
AS
29745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29746 Fix size of allocated buffer.
29747
10fb0bfa
AS
297482011-11-04 Andreas Schwab <schwab@redhat.com>
29749
998832a4
AS
29750 [BZ #10103]
29751 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29752 declarations for long double functions.
29753 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29754
10fb0bfa
AS
29755 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29756
3d7ba52b
AS
297572011-11-03 Andreas Schwab <schwab@redhat.com>
29758
a9ae54a1
AS
29759 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29760 installed.
29761
3d7ba52b
AS
29762 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29763 is disabled.
29764
bc8db248
ST
297652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29766
29767 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29768
45b96dd6
AS
297692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29770
647776f6
AS
29771 * include/alloca.h (stackinfo_alloca_round): Define.
29772 (extend_alloca): Use it.
29773 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29774 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29775 here.
29776
d91a8b93
AS
29777 * scripts/check-local-headers.sh: Ignore libaudit.h.
29778
45b96dd6
AS
29779 * nscd/Makefile (extra-objs): Make recursively expanded.
29780
432d41ce
UD
297812011-11-01 Ulrich Drepper <drepper@gmail.com>
29782
34372fc6
UD
29783 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29785
fadb59f8
UD
29786 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29787 * posix/tst-rfc3484-2.c: Likewise.
29788 * posix/tst-rfc3484-3.c: Likewise.
29789
78239589
UD
29790 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29791 process_vm_writev.
29792 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29793 process_vm_writev.
29794 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29795 process_vm_writev from libc using GLIBC_2.15 version.
29796
432d41ce
UD
29797 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29798
02f9c6cf
PP
297992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29800
29801 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29802 stack usage.
29803
3a2c0242
UD
298042011-10-31 Ulrich Drepper <drepper@gmail.com>
29805
f4ec4833
UD
29806 [BZ #13367]
29807 * nss/getent.c (initgroups_keys): Show error message in case no group
29808 names are given.
29809
3a2c0242
UD
29810 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29811 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29812 __bump_nl_timestamp.
29813 * nscd/connections (nscd_init): When host database is served open
29814 netlink socket and request notification about configuration changes.
29815 (main_loop_poll): Track netlink file descriptor and bump timestamp
29816 in case data becomes available.
29817 (main_loop_epoll): Likewise.
29818 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29819 (database_pers_head): Add extra_data fileds.
29820 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29821 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29822 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29823 Adjust caller.
29824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29825 in6ai data, call __free_in6ai.
29826 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29827 Add -DHAVE_NETLINK.
29828 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29829 interface information. Reuse previous data if netlink timestamp
29830 is not changed.
29831 (__bump_nl_timestamp): New function.
29832 (__free_in6ai): New function.
29833
636064eb
UD
298342011-10-30 Ulrich Drepper <drepper@gmail.com>
29835
29836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29837 close_not_cancel_no_status here.
29838 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29839
9beb2334
UD
298402011-10-29 Ulrich Drepper <drepper@gmail.com>
29841
6ef76f3b
UD
29842 [BZ #13276]
29843 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29844 return value.
29845
0ffc4f3e 29846 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29847 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29848 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29849
cb95113e
UD
298502011-07-03 Andreas Jaeger <aj@suse.de>
29851
29852 [BZ #10709]
29853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29854 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29855 * math/libm-test.inc (sin_test): Add test case.
29856
a1b560ff
UD
298572011-10-29 Ulrich Drepper <drepper@gmail.com>
29858
c9aaface
UD
29859 [BZ #13337]
29860 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29861 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29862
d272e7f1
UD
29863 * elf/chroot_canon.c (chroot_canon): Cleanups.
29864
1bc33071
UD
29865 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29866
1760874d
TJ
29867 [BZ #13335]
29868 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29869 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29870
51d91b18
UD
29871 * string/test-strchr.c: Make usable for strchrnul testing.
29872 * string/test-strchrnul.c: New file.
29873 * string/Makefile (strop-tests): Add strchrnul.
29874
a1b560ff 29875 * po/it.po: Update from translation team.
b611fb81 29876 * po/es.po: Likewise.
a1b560ff 29877
a5b81e1f
UD
298782011-10-28 Ulrich Drepper <drepper@gmail.com>
29879
fd52bc6d
UD
29880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29881 the three constants needed as parameters. Drop the others.
29882 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29883 __m128i_strloadu_tolower.
52e4b9eb
UD
29884 Create and initialize variable zero and use it in all the places
29885 where _mm_setzero_si128 was used.
fd52bc6d 29886
a5b81e1f
UD
29887 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29888 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29889 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29890 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29891 anymore.
29892 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29893 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29894 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29895 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29897 __mpranred, __mptan.
29898 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29899 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29900 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29901 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29902 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29903 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29904 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29905 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29906 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29907
b4343346
AS
299082011-10-28 Andreas Schwab <schwab@redhat.com>
29909
0c92d8a8
AS
29910 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29911 redefine if SHARED.
29912 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29913
b4343346
AS
29914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29915 wide char related routines to wcsmbs subdir.
29916
3871f58f
AS
299172011-10-27 Andreas Schwab <schwab@redhat.com>
29918
29919 [BZ #13344]
29920 * misc/sys/cdefs.h (__THROWNL): Define.
29921 * posix/unistd.h: Use __THREADNL instead of __THREAD
29922 for memory synchronization functions.
29923
94d44d9f
RM
299242011-10-26 Roland McGrath <roland@hack.frob.com>
29925
21b64b15 29926 [BZ #13349]
94d44d9f
RM
29927 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29928 doesn't exist.
29929 * manual/stdio.texi (Obstack Streams): Node removed.
29930
f6ce9294
AS
299312011-10-26 Andreas Schwab <schwab@redhat.com>
29932
80479147
AS
29933 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29934 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29936
f6ce9294
AS
29937 * math/math_private.h (math_force_eval): Allow non-addressable
29938 arguments.
29939 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29940
618280a1
UD
299412011-10-25 Ulrich Drepper <drepper@gmail.com>
29942
e0016b11
UD
29943 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29944 file is not needed.
29945
29946 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29949 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29951 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29952 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29953 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29954 Add AVX variants.
29955 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29956 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29957 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29958 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29959 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29960 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29961 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29962 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29963 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29964 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29965 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29966 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29968 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29969 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29970 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29971 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29972 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29974
29975 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29976 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29977
618280a1
UD
29978 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29979 place. Use VEX encoding when compiling for AVX.
29980
37822576
AS
299812011-10-25 Andreas Schwab <schwab@redhat.com>
29982
1f1e1947
AS
29983 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29984 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29985
37822576
AS
29986 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29987
31ea014d
UD
299882011-10-25 Ulrich Drepper <drepper@gmail.com>
29989
d7826aa1 29990 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29991 useless if() expression.
d7826aa1
UD
29992 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29993 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29994 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29996 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29997 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29998 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29999 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30002 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30003 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30004 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30005 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30006 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30007 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30010 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30011
31ea014d
UD
30012 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30013
16437fec
AS
300142011-10-25 Andreas Schwab <schwab@redhat.com>
30015
30016 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30017 condition.
30018 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30019
31d3cc00
UD
300202011-10-25 Ulrich Drepper <drepper@gmail.com>
30021
30022 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30023 .text section. Avoid duplicate constants.
30024 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30026 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30032 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30033 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30034 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30035 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30036 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30037 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30038 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30039 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30040 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30041 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30042 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30044 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30045 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30046 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30047 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30048 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30049 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30050 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30051 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30052 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30053 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30054 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30055 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30056 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30057 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30058 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30059 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30060 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30061 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30062 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30063 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30064 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30065 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30066 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30068 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30069
58985aa9
UD
300702011-10-24 Ulrich Drepper <drepper@gmail.com>
30071
202c9deb
UD
30072 * sysdeps/x86_64/dla.h: Move to ...
30073 * sysdeps/x86_64/fpu/dla.h: ...here.
30074 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30075 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30076
af968f62
UD
30077 * config.make.in: Add have-mfma4 entry.
30078 * configure.in: Substitute libc_cv_cc_fma4.
30079 * math/Makefile (dbl-only-routines): Add sincostab.
30080 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30081 Use __sincostab not sincos.
30082 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30083 name is a macro.
30084 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30088 using __copysign.
30089 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30090 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30091 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30092 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30093 and __inv.
30094 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30095 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30096 __copysign.
30097 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30098 define aliases when function name is a macro.
30099 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30100 sysdeps/ieee754/dbl-64/sincos.tbl.
30101 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30102 fma4-enabled routines.
30103 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30104 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30105 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30106 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30108 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30110 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30112 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30113 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30114 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30115 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30116 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30117 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30118 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30119 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30120 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30121 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30122 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30123 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30124 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30125 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30126 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30127 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30128 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30129 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30130 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30131 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30132 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30133
58985aa9
UD
30134 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30135 rename.
30136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30144
a201fbcf
AS
301452011-10-24 Andreas Schwab <schwab@redhat.com>
30146
30147 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30148
fc2ee42a
LD
301492011-10-23 Ulrich Drepper <drepper@gmail.com>
30150
bb3129bd
UD
30151 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30152
0275fff8
UD
30153 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30154 prediction.
30155 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30156
2fa2ae85
UD
30157 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30158 Remove unused variable magic_bits.
30159 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30160
fc2ee42a
LD
30161 * string/strnlen.c: Define and use STRNLEN macro.
30162 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30163 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30164 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30165 * wcsmbs/wcslen.c: Define and use WCSLEN.
30166 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30167 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30168 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30169 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30170 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30171 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30172 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30173
ce7dd29f
LD
301742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30175
30176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30177 strnlen-sse2-no-bsf.
30178 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30179 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30180 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30181 Add strnlen support.
30182 (USE_AS_STRNLEN): New macro.
30183 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30185 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30186 * sysdeps/x86_64/wcslen.S: New file.
30187
979c70a3
MZ
301882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30189
30190 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30191 XMM-moves are used for copying on small sizes.
30192
2d09f82f
LD
301932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30194
30195 * wcsmbs/Makefile (strop-tests): Add wcschr.
30196 * wcsmbs/test-wcschr.c: New file.
30197 * string/test-strchr.c: Update.
30198 Add wcschr support.
30199 (WIDE): New macro.
30200
619fccca
LD
302012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30202
2d09f82f 30203 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30204 * wcsmbs/test-wcslen.c: New file.
30205 * string/test-strlen.c: Update.
30206 Add wcslen support.
30207 (WIDE): New macro.
30208
09f699ea
UD
302092011-10-23 Ulrich Drepper <drepper@gmail.com>
30210
30211 * po/it.po: Update from translation team.
30212
95584d3b
LD
302132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30214
30215 * sysdeps/x86_64/wcscmp.S: Update.
30216 Fix wrong comparison semantics.
30217 wcscmp shall use signed comparison not unsigned.
30218 Don't use substraction to avoid overflow bug.
30219 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30220 * wcsmbc/wcscmp.c: Likewise.
30221 * string/test-strcmp.c: Likewise.
30222 Add new tests to check cases with negative values.
30223
c8b3296b
UD
302242011-10-23 Ulrich Drepper <drepper@gmail.com>
30225
30226 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30227 * sysdeps/x86_64/dla.h: ...here. New file.
30228 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30237
246ad57a
AS
302382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30239
30240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30241 __ynl_finite aliases.
30242
a1a87169
UD
302432011-10-22 Ulrich Drepper <drepper@gmail.com>
30244
0d355eb7
UD
30245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30246
a1a87169
UD
30247 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30248 define DLA_FMA.
30249 [DLA_FMA] (EMULV): Use DLA_FMA.
30250 [DLA_FMA] (MUL12): Use EMULV.
30251 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30252 that are not needed.
30253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30258 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30259 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30260
ee2aafe0
AS
302612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30262
30263 * math/s_nan.c: Undef __nan.
30264 * math/s_nanf.c: Undef __nanf.
30265 * math/s_nanl.c: Undef __nanl.
30266 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30267 "math_private.h".
30268
bc62c2fb
UD
302692011-10-22 Ulrich Drepper <drepper@gmail.com>
30270
77425c63
UD
30271 * math/s_catan.c: Add branch predictions.
30272 * math/s_catanf.c: Likewise.
30273 * math/s_catanh.c: Likewise.
30274 * math/s_catanhf.c: Likewise.
30275 * math/s_catanhl.c: Likewise.
30276 * math/s_catanl.c: Likewise.
30277 * math/s_cexp.c: Likewise.
30278 * math/s_cexpf.c: Likewise.
30279 * math/s_cexpl.c: Likewise.
30280 * math/s_clog.c: Likewise.
30281 * math/s_clog10.c: Likewise.
30282 * math/s_clog10f.c: Likewise.
30283 * math/s_clog10l.c: Likewise.
30284 * math/s_clogf.c: Likewise.
30285 * math/s_clogl.c: Likewise.
30286 * math/s_csqrt.c: Likewise.
30287 * math/s_csqrtf.c: Likewise.
30288 * math/s_csqrtl.c: Likewise.
30289 * math/s_ctanf.c: Likewise.
30290 * math/s_ctanh.c: Likewise.
30291 * math/s_ctanhf.c: Likewise.
30292 * math/s_ctanhl.c: Likewise.
30293 * math/s_ctanl.c: Likewise.
30294
bc62c2fb
UD
30295 * math/math_private.h: Define __nan, __nanf, __nanl.
30296 * math/s_cacosh.c: Include <math_private.h>.
30297 * math/s_cacoshl.c: Likewise.
30298 * math/s_casinh.c: Likewise.
30299 * math/s_casinhf.c: Likewise.
30300 * math/s_casinhl.c: Likewise.
30301 * math/s_ccos.c: Rely entire on ccosh.
30302 * math/s_ccosf.c: Rely entire on ccoshf.
30303 * math/s_ccosl.c: Rely entirely on ccoshl.
30304 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30305 Remove tests for FE_INVALID.
30306 * math/s_ccoshf.c: Likewise.
30307 * math/s_ccoshl.c: Likewise.
30308 * math/s_csin.c: Likewise.
30309 * math/s_csinf.c: Likewise.
30310 * math/s_csinh.c Likewise.
30311 * math/s_csinhf.c: Likewise.
30312 * math/s_csinhl.c: Likewise.
30313 * math/s_csinl.c: Likewise.
30314 * math/s_ctan.c: Likewise.
30315 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30316 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30317 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30318
8ec250a4
UD
303192011-10-21 Ulrich Drepper <drepper@gmail.com>
30320
c196fed8
UD
30321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30322 compilation problems.
30323
8ec250a4
UD
30324 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30325 __builtin_expect.
30326
8d4f46c6
UD
303272011-10-20 Ulrich Drepper <drepper@gmail.com>
30328
ed72b654
UD
30329 * sysdeps/i386/configure.in: Test for -mfma4 option.
30330 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30331 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30332 COMMON_CPUID_INDEX_80000001.
30333 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30334 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30335 use it if FMA3 is not supported.
30336 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30337
8d4f46c6
UD
30338 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30339 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30340
d45c60c2
AS
303412011-10-20 Andreas Schwab <schwab@redhat.com>
30342
30343 [BZ #12892]
30344 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30345 it would create a cycle with a link time dependency.
30346
d9a4d2ab
UD
303472011-10-19 Ulrich Drepper <drepper@gmail.com>
30348
855d1560
UD
30349 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30350 instruction.
30351 * string/Makefile (strop-tests): Add rawmemchr.
30352 * string/test-rawmemchr.c: New file.
30353
d9a4d2ab
UD
30354 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30355 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30356 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30357 when compiling str{,n}casecmp and when AVX is available. Hook up
30358 new optimized code in initializers.
30359
8f3b1ffe
AS
303602011-10-19 Andreas Schwab <schwab@redhat.com>
30361
30362 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30363 __feraiseexcept instead of feraiseexcept.
30364
d38f1dba
UD
303652011-10-18 Ulrich Drepper <drepper@gmail.com>
30366
d9a8d0ab
UD
30367 * math/math_private.h: Define defaults for libc_fetestexcept and
30368 libc_feupdateenv.
30369 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30370 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30371 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30372 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30373 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30374 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30375 libc_fetestexcept and libc_feupdateenv.
30376
4855e3dd
UD
30377 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30378 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30379 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30380 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30381 libc_feholdexcept_setround.
30382
581d30e3
UD
30383 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30384 Add s_nearbyint-c and s_nearbyintf-c.
30385 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30386 nearbyintf inlines.
30387 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30388 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30389 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30390 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30391
d38f1dba
UD
30392 * math/math_private.h: Define defaults for libc_fegetround,
30393 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30394 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30395 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30397 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30398 standard functions.
30399 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30400 Remove comments and hacks for old compiler versions.
30401 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30402 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30403 libc_feholdexceptl.
30404
caa6c9d8
AS
304052011-10-18 Andreas Schwab <schwab@redhat.com>
30406
30407 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30408 (__feraiseexcept_renamed): Add __NTH.
30409 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30410 namespace violations.
30411
97c066e6
UD
304122011-10-17 Ulrich Drepper <drepper@gmail.com>
30413
99ce7b04
UD
30414 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30415
1004d182
UD
30416 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30417
228a984d
UD
30418 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30419 recently added interfaces.
30420 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30421
c8553a6a
UD
30422 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30423 about macro parameter expansion.
30424
ed22dcf6
UD
30425 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30426 __NO_MATH_INLINES is defined. Cleanups.
30427
30428 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30429 and __floorf is target has SSE4.1.
30430 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30431 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30432 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30433 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30434
b171c137
UD
30435 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30436 name.
30437 (floorf): Likewise.
30438
97c066e6
UD
30439 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30440
629f62ef
AS
304412011-10-17 Andreas Schwab <schwab@redhat.com>
30442
49a43d80
AS
30443 * misc/sys/cdefs.h: Fix last change.
30444
629f62ef
AS
30445 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30446 database lookup.
30447
e453f6cd
UD
304482011-10-16 Ulrich Drepper <drepper@gmail.com>
30449
aa78043a
UD
30450 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30451
ad0f5cad
UD
30452 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30454 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30455 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30456 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30457 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30460 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30461 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30462 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30463 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30464 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30465 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30466 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30467 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30468 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30469 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30470 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30471 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30472 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30473 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30474
30475 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30476 ceil, ceilf, floor, floorf.
30477
30478 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30479 Perform IRELATIVE relocations last.
30480
e453f6cd
UD
30481 * elf/do-rel.h: Add another parameter nrelative, replacing the
30482 local variable with the same name. Change name of the function
30483 to end in Rel or Rela (uppercase).
30484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30485 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30486 elf_dynamic_do_##reloc function.
30487
fd5bdc09
UD
304882011-10-15 Ulrich Drepper <drepper@gmail.com>
30489
79b195b5
UD
30490 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30491 is sufficient, at least on modern CPUs.
30492
d4a28569
UD
30493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30494
b61099b5
UD
30495 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30496 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30497
bcf01e6d
UD
30498 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30499 __expl_finite.
30500 * math/bits/math-finite.h: Add entries for exp.
30501 * math/e_expl.c: Add __*_finite alias.
30502 * sysdeps/i386/fpu/e_exp.S: Likewise.
30503 * sysdeps/i386/fpu/e_expf.S: Likewise.
30504 * sysdeps/i386/fpu/e_expl.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30506 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30509 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30510 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30511 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30512
ba1a0d59
UD
30513 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30514 is sufficient, at least on modern CPUs.
30515
fd5bdc09
UD
30516 * ctype/ctype-info.c (__ctype_init): Define.
30517 * include/ctype.h (__ctype_init): Declare.
30518 (__ctype_b_loc): The variable is always initialized.
30519 (__ctype_toupper_loc): Likewise.
30520 (__ctype_tolower_loc): Likewise.
30521 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30522 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30523
7872cfb0
AS
305242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30525
b468825a
AS
30526 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30527
7872cfb0
AS
30528 * configure.in: Also look in $cxxmachine/include for C++ system
30529 headers.
30530
be13f7bf
LD
305312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30532
30533 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30534 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30535 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30536 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30537 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30538 (USE_AS_WMEMCMP): New macro.
30539 Fixing indents.
30540 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30541 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30542 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30543 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30545 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30546 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30547 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30548 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30549 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30550 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30551 (USE_AS_WMEMCMP): New macro.
30552 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30553 * sysdeps/string/test-memcmp.c: Update.
30554 Fix simple_wmemcmp.
30555 Add new tests.
30556 * wcsmbs/wmemcmp.c: Update.
30557 (WMEMCMP): New macro.
30558 Fix overflow bug.
30559
556a2007
AJ
305602011-10-12 Andreas Jaeger <aj@suse.de>
30561
30562 [BZ #13268]
30563 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30564
538faaa7
UD
305652011-10-15 Ulrich Drepper <drepper@gmail.com>
30566
ab6737ff
UD
30567 * libio/iofwide.c (do_length): Avoid warning.
30568
538faaa7
UD
30569 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30570
396a21b1
UD
305712011-10-14 Ulrich Drepper <drepper@gmail.com>
30572
cdf2901f
UD
30573 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30574
38ad40ce
UD
30575 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30576 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30577 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30578 * sysdeps/i386/i686/fpu/e_log.S: New file.
30579 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30580 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30581
396a21b1
UD
30582 * ctype/ctype.h: Add support for inlined isXXX functions when
30583 compiling C++ code.
30584
6b1f68c9
AS
305852011-10-14 Andreas Schwab <schwab@redhat.com>
30586
349290c0
AS
30587 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30588
6b1f68c9
AS
30589 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30590
f2282d42
RM
305912011-10-13 Roland McGrath <roland@hack.frob.com>
30592
30593 [BZ #13291]
30594 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30595
5298ffa8
AS
305962011-10-13 Andreas Schwab <schwab@redhat.com>
30597
714fad23
AS
30598 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30599 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30600 feraiseexcept.
30601
81dcc7fb
AS
30602 * sysdeps/x86_64/memrchr.S: Check for zero size.
30603
5298ffa8
AS
30604 * string/stratcliff.c: Add memrchr tests.
30605
951fbcec
LD
306062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30607
30608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30609 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30610 rawmemchr-sse2 rawmemchr-sse2-bsf.
30611 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30612 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30613 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30614 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30615 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30616 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30617 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30618 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30619 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30620 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30621 * string/memrchr.c (MEMRCHR): New macro.
30622
0ac5ae23
UD
306232011-10-12 Ulrich Drepper <drepper@gmail.com>
30624
30625 Add integration with gcc's -ffinite-math-only and optimize wrapper
30626 functions in libm.
30627 * Versions.def: Define GLIBC_2.15 version for libm.
30628 * math/Makefile (headers): Add bits/math-finite.h.
30629 * math/bits/math-finite.h: New file.
30630 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30631 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30632 * math/e_acoshl.c: Add __*_finite alias.
30633 * math/e_acosl.c: Likewise.
30634 * math/e_asinl.c: Likewise.
30635 * math/e_atan2l.c: Likewise.
30636 * math/e_atanhl.c: Likewise.
30637 * math/e_coshl.c: Likewise.
30638 * math/e_exp10.c: Likewise.
30639 * math/e_exp10f.c: Likewise.
30640 * math/e_exp10l.c: Likewise.
30641 * math/e_exp2l.c: Likewise.
30642 * math/e_fmodl.c: Likewise.
30643 * math/e_gammal_r.c: Likewise.
30644 * math/e_hypotl.c: Likewise.
30645 * math/e_j0l.c: Likewise.
30646 * math/e_j1l.c: Likewise.
30647 * math/e_jnl.c: Likewise.
30648 * math/e_lgammal_r.c: Likewise.
30649 * math/e_log10l.c: Likewise.
30650 * math/e_log2l.c: Likewise.
30651 * math/e_logl.c: Likewise.
30652 * math/e_powl.c: Likewise.
30653 * math/e_sinhl.c: Likewise.
30654 * math/e_sqrtl.c: Likewise.
30655 * math/e_scalb.c: Completely rewritten and optimized.
30656 * math/e_scalbf.c: Likewise.
30657 * math/e_scalbl.c: Likewise.
30658 * math/w_acos.c: Likewise.
30659 * math/w_acosf.c: Likewise.
30660 * math/w_acosl.c: Likewise.
30661 * math/w_acosh.c: Likewise.
30662 * math/w_acoshf.c: Likewise.
30663 * math/w_acoshl.c: Likewise.
30664 * math/w_asin.c: Likewise.
30665 * math/w_asinf.c: Likewise.
30666 * math/w_asinl.c: Likewise.
30667 * math/w_atan2.c: Likewise.
30668 * math/w_atan2f.c: Likewise.
30669 * math/w_atan2l.c: Likewise.
30670 * math/w_atanh.c: Likewise.
30671 * math/w_atanhf.c: Likewise.
30672 * math/w_atanhl.c: Likewise.
30673 * math/w_exp10.c: Likewise.
30674 * math/w_exp10f.c: Likewise.
30675 * math/w_exp10l.c: Likewise.
30676 * math/w_fmod.c: Likewise.
30677 * math/w_fmodf.c: Likewise.
30678 * math/w_fmodl.c: Likewise.
30679 * math/w_j0.c: Likewise.
30680 * math/w_j0f.c: Likewise.
30681 * math/w_j0l.c: Likewise.
30682 * math/w_j1.c: Likewise.
30683 * math/w_j1f.c: Likewise.
30684 * math/w_j1l.c: Likewise.
30685 * math/w_jn.c: Likewise.
30686 * math/w_jnf.c: Likewise.
30687 * math/w_log.c: Likewise.
30688 * math/w_logf.c: Likewise.
30689 * math/w_logl.c: Likewise.
30690 * math/w_log10.c: Likewise.
30691 * math/w_log10f.c: Likewise.
30692 * math/w_log10l.c: Likewise.
30693 * math/w_log2.c: Likewise.
30694 * math/w_log2f.c: Likewise.
30695 * math/w_log2l.c: Likewise.
30696 * math/w_pow.c: Likewise.
30697 * math/w_powf.c: Likewise.
30698 * math/w_powl.c: Likewise.
30699 * math/w_remainder.c: Likewise.
30700 * math/w_remainderf.c: Likewise.
30701 * math/w_remainderl.c: Likewise.
30702 * math/w_scalb.c: Likewise.
30703 * math/w_scalbf.c: Likewise.
30704 * math/w_scalbl.c: Likewise.
30705 * math/w_sqrt.c: Likewise.
30706 * math/w_sqrtf.c: Likewise.
30707 * math/w_sqrtl.c: Likewise.
30708 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30709 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30710 used.
30711 * math/math_private.h: Declare __kernel_standard_f.
30712 * math/w_cosh.c: Remove cruft and optimize a bit.
30713 * math/w_coshf.c: Likewise.
30714 * math/w_coshl.c: Likewise.
30715 * math/w_exp2.c: Likewise.
30716 * math/w_exp2f.c: Likewise.
30717 * math/w_exp2l.c: Likewise.
30718 * math/w_hypot.c: Likewise.
30719 * math/w_hypotf.c: Likewise.
30720 * math/w_hypotl.c: Likewise.
30721 * math/w_lgamma.c: Likewise.
30722 * math/w_lgamma_r.c: Likewise.
30723 * math/w_lgammaf.c: Likewise.
30724 * math/w_lgammaf_r.c: Likewise.
30725 * math/w_lgammal.c: Likewise.
30726 * math/w_lgammal_r.c: Likewise.
30727 * math/w_sinh.c: Likewise.
30728 * math/w_sinhf.c: Likewise.
30729 * math/w_sinhl.c: Likewise.
30730 * math/w_tgamma.c: Likewise.
30731 * math/w_tgammaf.c: Likewise.
30732 * math/w_tgammal.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30734 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30735 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30736 Minor optimizations. Pretty printing. Remove cruft.
30737 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30738 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30739 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30740 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30741 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30742 * sysdeps/i386/fpu/e_asin.S: Likewise.
30743 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30744 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30745 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30746 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30747 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30748 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30749 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30750 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30751 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30752 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30753 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30754 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30755 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30756 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30757 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30758 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30759 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30760 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30761 * sysdeps/i386/fpu/e_log.S: Likewise.
30762 * sysdeps/i386/fpu/e_log10.S: Likewise.
30763 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30764 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30765 * sysdeps/i386/fpu/e_log2.S: Likewise.
30766 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30767 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30768 * sysdeps/i386/fpu/e_logf.S: Likewise.
30769 * sysdeps/i386/fpu/e_logl.S: Likewise.
30770 * sysdeps/i386/fpu/e_pow.S: Likewise.
30771 * sysdeps/i386/fpu/e_powf.S: Likewise.
30772 * sysdeps/i386/fpu/e_powl.S: Likewise.
30773 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30774 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30775 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30776 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30778 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30779 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30780 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30781 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30790 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30791 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30792 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30793 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30796 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30798 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30799 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30800 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30802 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30803 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30804 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30805 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30806 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30807 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30808 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30809 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30810 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30811 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30812 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30813 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30814 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30815 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30816 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30817 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30818 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30819 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30820 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30821 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30822 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30823 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30828 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30832 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30837 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30838 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30844 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30850 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30851 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30854 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30861 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30862 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30863 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30864 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30865 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30866 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30867 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30868 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30869 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30870 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30871 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30872 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30873 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30874 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30875 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30876 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30877 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30878 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30879 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30880 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30881 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30882 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30883 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30884 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30885 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30886 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30887 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30888 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30889 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30890 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30891 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30892 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30893 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30894 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30895 (__isnanf): Likewise.
30896 (__isinf_ns): Likewise.
30897 (__isinf_nsf): Likewise.
30898 (__finite): Likewise.
30899 (__finitef): Likewise.
30900 (__ieee754_sqrt): Define as macro.
30901 (__ieee754_sqrtf): Define as macro.
30902 (__ieee754_sqrtl): Define as macro.
30903 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30904 inlined copy.
30905 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30906 __FINITE_MATH_ONLY__ consistent.
30907 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30908
12cc2fcd
AS
309092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30910
a843a204
AS
30911 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30912 of rawmemchr.
30913
12cc2fcd
AS
30914 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30915
c853acd5
UD
309162011-10-09 Ulrich Drepper <drepper@gmail.com>
30917
30918 * po/ja.po: Update from translation team.
30919
c658d255
RM
309202011-10-08 Roland McGrath <roland@hack.frob.com>
30921
110946e4
RM
30922 * locale/programs/locarchive.c (prepare_address_space): New function.
30923 (create_archive, enlarge_archive, open_archive): Use it.
30924
50604220
RM
30925 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30926 inside [SHARED], where it is used.
30927
c658d255
RM
30928 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30929
30930 * nss/getent.c (netgroup_keys): Remove unused variable.
30931 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30932
6a621eb7
UD
309332011-10-08 Ulrich Drepper <drepper@gmail.com>
30934
7edb55ce
UD
30935 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30936 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30938 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30939 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30940 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30941 * math/Makefile (libm-calls): Add s_isinf_ns.
30942 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30943 * math/multc3.c: Likewise.
30944 * math/s_casin.c: Likewise.
30945 * math/s_casinf.c: Likewise.
30946 * math/s_casinl.c: Likewise.
30947 * math/s_ccos.c: Likewise.
30948 * math/s_ccosf.c: Likewise.
30949 * math/s_ccosl.c: Likewise.
30950 * math/s_ctan.c: Likewise.
30951 * math/s_ctanf.c: Likewise.
30952 * math/s_ctanh.c: Likewise.
30953 * math/s_ctanhf.c: Likewise.
30954 * math/s_ctanhl.c: Likewise.
30955 * math/s_ctanl.c: Likewise.
30956 * math/w_fmod.c: Likewise.
30957 * math/w_fmodf.c: Likewise.
30958 * math/w_fmodl.c: Likewise.
30959 * math/w_remainder.c: Likewise.
30960 * math/w_remainderf.c: Likewise.
30961 * math/w_remainderl.c: Likewise.
30962 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30963 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30964 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30966 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30967 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30968 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30969 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30970
187da0ae
UD
30971 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30972 of the number.
30973 * stdio-common/printf_fphex.c: Likewise.
30974 * stdio-common/printf_size.c: Likewise.
30975
9277c064
UD
30976 * math/e_exp10.c: Include math_private.h using <...> not "...".
30977 * math/e_exp10f.c: Likewise.
30978 * math/e_exp10l.c: Likewise.
30979 * math/e_exp2l.c: Likewise.
30980 * math/e_j0l.c: Likewise.
30981 * math/e_j1l.c: Likewise.
30982 * math/e_jnl.c: Likewise.
30983 * math/e_lgammal_r.c: Likewise.
30984 * math/e_rem_pio2l.c: Likewise.
30985 * math/e_scalb.c: Likewise.
30986 * math/e_scalbf.c: Likewise.
30987 * math/e_scalbl.c: Likewise.
30988 * math/k_cosl.c: Likewise.
30989 * math/k_sinl.c: Likewise.
30990 * math/k_tanl.c: Likewise.
30991 * math/s_cacoshf.c: Likewise.
30992 * math/s_catan.c: Likewise.
30993 * math/s_catanf.c: Likewise.
30994 * math/s_catanh.c: Likewise.
30995 * math/s_catanhf.c: Likewise.
30996 * math/s_catanhl.c: Likewise.
30997 * math/s_catanl.c: Likewise.
30998 * math/s_ccosh.c: Likewise.
30999 * math/s_ccoshf.c: Likewise.
31000 * math/s_ccoshl.c: Likewise.
31001 * math/s_cexp.c: Likewise.
31002 * math/s_cexpf.c: Likewise.
31003 * math/s_cexpl.c: Likewise.
31004 * math/s_clog.c: Likewise.
31005 * math/s_clog10.c: Likewise.
31006 * math/s_clog10f.c: Likewise.
31007 * math/s_clog10l.c: Likewise.
31008 * math/s_clogf.c: Likewise.
31009 * math/s_clogl.c: Likewise.
31010 * math/s_csin.c: Likewise.
31011 * math/s_csinf.c: Likewise.
31012 * math/s_csinh.c: Likewise.
31013 * math/s_csinhf.c: Likewise.
31014 * math/s_csinhl.c: Likewise.
31015 * math/s_csinl.c: Likewise.
31016 * math/s_csqrt.c: Likewise.
31017 * math/s_csqrtf.c: Likewise.
31018 * math/s_csqrtl.c: Likewise.
31019 * math/s_ctan.c: Likewise.
31020 * math/s_ctanf.c: Likewise.
31021 * math/s_ctanh.c: Likewise.
31022 * math/s_ctanhf.c: Likewise.
31023 * math/s_ctanhl.c: Likewise.
31024 * math/s_ctanl.c: Likewise.
31025 * math/s_ldexp.c: Likewise.
31026 * math/s_ldexpf.c: Likewise.
31027 * math/s_ldexpl.c: Likewise.
31028 * math/s_significand.c: Likewise.
31029 * math/s_significandf.c: Likewise.
31030 * math/s_significandl.c: Likewise.
31031 * math/w_acos.c: Likewise.
31032 * math/w_acosf.c: Likewise.
31033 * math/w_acosh.c: Likewise.
31034 * math/w_acoshf.c: Likewise.
31035 * math/w_acoshl.c: Likewise.
31036 * math/w_acosl.c: Likewise.
31037 * math/w_asin.c: Likewise.
31038 * math/w_asinf.c: Likewise.
31039 * math/w_asinl.c: Likewise.
31040 * math/w_atan2.c: Likewise.
31041 * math/w_atan2f.c: Likewise.
31042 * math/w_atan2l.c: Likewise.
31043 * math/w_atanh.c: Likewise.
31044 * math/w_atanhf.c: Likewise.
31045 * math/w_atanhl.c: Likewise.
31046 * math/w_cosh.c: Likewise.
31047 * math/w_coshf.c: Likewise.
31048 * math/w_coshl.c: Likewise.
31049 * math/w_dremf.c: Likewise.
31050 * math/w_exp10.c: Likewise.
31051 * math/w_exp10f.c: Likewise.
31052 * math/w_exp10l.c: Likewise.
31053 * math/w_exp2.c: Likewise.
31054 * math/w_exp2f.c: Likewise.
31055 * math/w_fmod.c: Likewise.
31056 * math/w_fmodf.c: Likewise.
31057 * math/w_fmodl.c: Likewise.
31058 * math/w_hypot.c: Likewise.
31059 * math/w_hypotf.c: Likewise.
31060 * math/w_hypotl.c: Likewise.
31061 * math/w_j0.c: Likewise.
31062 * math/w_j0f.c: Likewise.
31063 * math/w_j0l.c: Likewise.
31064 * math/w_j1.c: Likewise.
31065 * math/w_j1f.c: Likewise.
31066 * math/w_j1l.c: Likewise.
31067 * math/w_jn.c: Likewise.
31068 * math/w_jnf.c: Likewise.
31069 * math/w_jnl.c: Likewise.
31070 * math/w_lgamma.c: Likewise.
31071 * math/w_lgamma_r.c: Likewise.
31072 * math/w_lgammaf.c: Likewise.
31073 * math/w_lgammaf_r.c: Likewise.
31074 * math/w_lgammal.c: Likewise.
31075 * math/w_lgammal_r.c: Likewise.
31076 * math/w_log.c: Likewise.
31077 * math/w_log10.c: Likewise.
31078 * math/w_log10f.c: Likewise.
31079 * math/w_log10l.c: Likewise.
31080 * math/w_log2.c: Likewise.
31081 * math/w_log2f.c: Likewise.
31082 * math/w_log2l.c: Likewise.
31083 * math/w_logf.c: Likewise.
31084 * math/w_logl.c: Likewise.
31085 * math/w_pow.c: Likewise.
31086 * math/w_powf.c: Likewise.
31087 * math/w_powl.c: Likewise.
31088 * math/w_remainder.c: Likewise.
31089 * math/w_remainderf.c: Likewise.
31090 * math/w_remainderl.c: Likewise.
31091 * math/w_scalb.c: Likewise.
31092 * math/w_scalbf.c: Likewise.
31093 * math/w_scalbl.c: Likewise.
31094 * math/w_sinh.c: Likewise.
31095 * math/w_sinhf.c: Likewise.
31096 * math/w_sinhl.c: Likewise.
31097 * math/w_sqrt.c: Likewise.
31098 * math/w_sqrtf.c: Likewise.
31099 * math/w_sqrtl.c: Likewise.
31100 * math/w_tgamma.c: Likewise.
31101 * math/w_tgammaf.c: Likewise.
31102 * math/w_tgammal.c: Likewise.
31103
6a621eb7
UD
31104 * po/ja.po: Update from translation team.
31105
bf582445
AJ
311062011-09-29 Andreas Jaeger <aj@suse.de>
31107
f9efbf3a
AJ
31108 [BZ #13179]
31109 * sunrpc/netname.c (netname2host): Fix logic.
31110
bf582445
AJ
31111 [BZ #6779]
31112 [BZ #6783]
31113 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31114 correctly.
31115 * math/w_remainder.c (__remainder): Likewise.
31116 * math/w_remainderf.c (__remainderf): Likewise.
31117 * math/libm-test.inc (remainder_test): Add test cases.
31118
48693bea
AK
311192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31120
31121 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31122 sdiv_qrnnd.
31123
42622229
LD
311242011-10-07 Ulrich Drepper <drepper@gmail.com>
31125
31126 * string/test-memcmp.c: Avoid unncessary #defines.
31127 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31128
093ecf92
LD
311292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31130
31131 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31132 Use new sse2 version for core i3 - i7 as it's faster
31133 than sse42 version.
31134 (bit_Prefer_PMINUB_for_stringop): New.
31135 * sysdeps/x86_64/rawmemchr.S: Update.
31136 Replace with faster SSE2 version.
31137 * sysdeps/x86_64/memrchr.S: New file.
31138 * sysdeps/x86_64/memchr.S: Update.
31139 Replace with faster SSE2 version.
31140
fde56e5c
MP
311412011-09-12 Marek Polacek <mpolacek@redhat.com>
31142
31143 * elf/dl-load.c (lose): Add cast to avoid warning.
31144
21fd49a9
UD
311452011-10-07 Ulrich Drepper <drepper@gmail.com>
31146
5a06e643
UD
31147 * po/ca.po: Update from translation team.
31148
684ae515
UD
31149 * inet/getnetgrent_r.c: Hook up nscd.
31150 * nscd/Makefile (routines): Add nscd_netgroup.
31151 (nscd-modules): Add netgroupcache.
31152 (CFLAGS-netgroupcache.c): Define.
31153 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31154 (cache_search): Add const to second parameter.
31155 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31156 INNETGR.
31157 (dbs): Add netgrdb entry.
31158 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31159 (verify_persistent_db): Handle netgrdb.
31160 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31161 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31162 GETFDNETGR.
31163 (netgroup_response_header): Define.
31164 (innetgroup_response_header): Define.
31165 (datahead): Add netgroup_response_header and innetgroup_response_header
31166 elements.
31167 * nscd/nscd.conf: Add entries for netgroup cache.
31168 * nscd/nscd.h (dbtype): Add netgrdb.
31169 (_PATH_NSCD_NETGROUP_DB): Define.
31170 (netgroup_iov_disabled): Declare.
31171 (xmalloc, xcalloc, xrealloc): Move declarations here.
31172 (cache_search): Adjust prototype.
31173 Add netgroup-related prototypes.
31174 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31175 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31176 (__nscd_innetgr): Declare.
31177 * nscd/selinux.c (perms): Use access_vector_t as element type and
31178 add netgroup-related initializers.
31179 * nscd/netgroupcache.c: New file.
31180 * nscd/nscd_netgroup.c: New file.
31181 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31182 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31183 For four parameters use innetgr.
31184 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31185 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31186 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31187 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31188
21fd49a9
UD
31189 * nscd/connections.c (register_traced_file): Don't register file
31190 for disabled databases.
31191
054c0457
UD
311922011-10-06 Ulrich Drepper <drepper@gmail.com>
31193
32b63198
UD
31194 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31195
054c0457
UD
31196 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31197 from tree and freeing node.
31198
64031225
JO
311992011-09-25 Jiri Olsa <jolsa@redhat.com>
31200
31201 * nss/nsswitch.c (__nss_database_lookup): Handle
31202 nss_parse_service_list out of memory case.
31203
0490345c
JO
312042011-09-15 Jiri Olsa <jolsa@redhat.com>
31205
31206 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31207 out of memory case.
31208
3a62d00d
AS
312092011-10-04 Andreas Schwab <schwab@redhat.com>
31210
31211 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31212 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31213 pass it down.
31214 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31215 elf_machine_rela, elf_machine_lazy_rel.
31216 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31217 (ELF_DYNAMIC_DO_REL): Likewise.
31218 (ELF_DYNAMIC_DO_RELA): Likewise.
31219 (ELF_DYNAMIC_RELOCATE): Likewise.
31220 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31221 to ELF_DYNAMIC_DO_REL.
31222 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31223 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31224 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31225 elf_machine_rela.
31226 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31227 skip_ifunc, don't call ifunc function if non-zero.
31228 (elf_machine_rela): Likewise.
31229 (elf_machine_lazy_rel): Likewise.
31230 (elf_machine_lazy_rela): Likewise.
31231 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31232 (elf_machine_lazy_rel): Likewise.
31233 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31234 Likewise.
31235 (elf_machine_lazy_rel): Likewise.
31236 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31237 Likewise.
31238 (elf_machine_lazy_rel): Likewise.
31239 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31240 (elf_machine_lazy_rel): Likewise.
31241 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31242 (elf_machine_lazy_rel): Likewise.
31243 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31244 (elf_machine_lazy_rel): Likewise.
31245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31246 (elf_machine_lazy_rel): Likewise.
31247 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31248 (elf_machine_lazy_rel): Likewise.
31249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31250 (elf_machine_lazy_rel): Likewise.
31251
68577918
UD
312522011-09-28 Ulrich Drepper <drepper@gmail.com>
31253
31254 * nss/nss_files/files-init.c (_nss_files_init): Use static
31255 initialization for all the *_traced_file variables.
31256
68822d74
AS
312572011-09-28 Andreas Schwab <schwab@redhat.com>
31258
31259 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31260
2056100b
RM
312612011-09-27 Roland McGrath <roland@hack.frob.com>
31262
31263 [BZ #13226]
31264 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31265
32c76b63
AS
312662011-09-27 Andreas Schwab <schwab@redhat.com>
31267
31268 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31269 Reread the line before reparsing it.
31270
bf972c9d
AS
312712011-09-26 Andreas Schwab <schwab@redhat.com>
31272
31273 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31274
e057a1b5
JM
312752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31276 Maxim Kuvyrkov <maxim@codesourcery.com>
31277 Joseph Myers <joseph@codesourcery.com>
31278
31279 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31280 if needed for __stack_chk_guard.
31281
bc7e1c36
RM
312822011-09-19 Roland McGrath <roland@hack.frob.com>
31283
ecb1482f
RM
31284 * sysdeps/posix/spawni.c (script_execute): Always define it.
31285 It will be optimized away if unused.
31286 (maybe_script_execute): New function.
31287 (__spawni): Call it.
31288
bc7e1c36
RM
31289 * Makerules: Don't include tls.make.
31290 (config-tls): Always set to thread.
31291 * tls.make.c: File removed.
31292
1c3b002b
MF
312932011-09-19 Mike Frysinger <vapier@gentoo.org>
31294
31295 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31296 * config.make.in (CPPFLAGS-config): New substituted variable.
31297
2840865d
UD
312982011-09-15 Ulrich Drepper <drepper@gmail.com>
31299
88738eb6
UD
31300 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31301
cbf645a6 31302 [BZ #13192]
2840865d
UD
31303 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31304 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31305
b402e91a
RM
313062011-09-15 Roland McGrath <roland@hack.frob.com>
31307
31308 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31309 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31311 (CALL_FAIL): Likewise.
31312 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31313 (CALL_FAIL): Macro removed.
31314 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31315
4c1a1f71
UD
313162011-09-15 Ulrich Drepper <drepper@gmail.com>
31317
31318 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31319 for __FINITE_MATH_ONLY__ == 1.
31320
edc121be
AS
313212011-09-15 Andreas Schwab <schwab@redhat.com>
31322
31323 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31324 __ieee754_sqrt instead of sqrt.
31325 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31326 __ieee754_sqrtf instead of sqrtf.
31327 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31328 __floorf instead of floorf.
31329 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31330 __floorf, __truncf instead of floorf, truncf.
31331
cd205654
UD
313322011-09-14 Ulrich Drepper <drepper@gmail.com>
31333
ee4d0315
UD
31334 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31335
cd205654
UD
31336 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31337 __extern_always_inline.
31338 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31339 32-bit.
31340
48b67d71
AS
313412011-09-14 Andreas Schwab <schwab@redhat.com>
31342
31343 * elf/rtld.c (dl_main): Also relocate in dependency order when
31344 doing symbol dependency testing.
31345
1ae12c75
AS
313462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31347
31348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31349 Always define `refsym'.
31350
995a80df
AS
313512011-09-13 Andreas Schwab <schwab@redhat.com>
31352
e529793b
AS
31353 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31354 (__FD_ELT): Renamed from __FDELT.
31355 * misc/bits/select2.h (__FD_ELT): Likewise.
31356 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31357 __FD_MASK instead of __FDELT, __FDMASK.
31358 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31359 Likewise.
31360 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31361 Likewise.
31362
52d4fef8
AS
31363 * elf/Makefile (gen-ldd): Fix pattern.
31364
995a80df
AS
31365 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31366 (init_tls): Likewise.
31367
8682f8b0
UD
313682011-09-12 Ulrich Drepper <drepper@gmail.com>
31369
31370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31371
de82006d
AS
313722011-09-12 Andreas Schwab <schwab@redhat.com>
31373
a7c8e6a1
AS
31374 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31375 `struct cmsghdr *' instead of `void *'.
31376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31377 Likewise.
31378
0f31fe77
AS
313792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31380
31381 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31382 if non-absolute.
31383 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31384 ldd_rewrite_script.
0f31fe77 31385
32b4c839
UD
313862011-09-11 Ulrich Drepper <drepper@gmail.com>
31387
83cd1420
UD
31388 * configure.in: Remove --with-tls option.
31389 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31390 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31391 out in case it is missing.
31392 * sysdeps/ia64/elf/configure.in: Likewise.
31393 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31394 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31395 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31396 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31397 * sysdeps/sh/elf/configure.in: Likewise.
31398 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31400 * sysdeps/x86_64/elf/configure.in: Likewise.
31401 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31402 * sysdeps/mach/hurd/tls.h: Likewise.
31403
633f745d
UD
31404 [BZ #13067]
31405 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31406
f318beb8
UD
31407 [BZ #13090]
31408 * configure.in: Fix use of AC_INIT.
31409
32b4c839
UD
31410 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31411
3ce1f295
UD
314122011-09-10 Ulrich Drepper <drepper@gmail.com>
31413
bb016596
UD
31414 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31415 __set_errno.
8e58439c
UD
31416 * malloc/hooks.c: Likewise.
31417
aebae053 31418 [BZ #11929]
02d46fc4
UD
31419 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31420 variables statically.
31421 (narenas): Initialize.
31422 (list_lock): Initialize.
bb016596
UD
31423 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31424 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31425 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31426 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31427 Add initializers to main_arena and mp_.
31428 (malloc_state): Remove pagesize member. Change all users to use
31429 GLRO(dl_pagesize).
31430
31431 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31432 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31433 is always initialized.
31434
22a89187
UD
31435 * malloc/malloc.c: Removed unused configurations and dead code.
31436 * malloc/arena.c: Likewise.
31437 * malloc/hooks.c: Likewise.
02d46fc4 31438 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31439
d063d164
UD
31440 * include/tls.h: Removed. USE___THREAD must always be defined.
31441 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31442 * elf/dl-libc.c: Likewise.
31443 * elf/dl-tsd.c: Likewise.
31444 * include/errno.h: Likewise.
31445 * include/netdb.h: Likewise.
31446 * include/resolv.h: Likewise.
31447 * inet/herrno-loc.c: Likewise.
31448 * inet/herrno.c: Likewise.
31449 * malloc/arena.c: Likewise.
31450 * malloc/hooks.c: Likewise.
31451 * malloc/malloc.c: Likewise.
31452 * resolv/res-state.c: Likewise.
31453 * resolv/res_libc.c: Likewise.
31454 * sysdeps/i386/dl-machine.h: Likewise.
31455 * sysdeps/ia64/dl-machine.h: Likewise.
31456 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31457 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31458 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31459 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31460 * sysdeps/sh/dl-machine.h: Likewise.
31461 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31462 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31463 * sysdeps/unix/i386/sysdep.S: Likewise.
31464 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31465 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31470 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31475 * sysdeps/x86_64/dl-machine.h: Likewise.
31476 * tls.make.c: Likewise.
31477
3ce1f295
UD
31478 * configure.in: Remove --with-__thread option. Make tests for
31479 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31480 tls_model attribute fail if no support is available. Remove
31481 USE_IN_LIBIO.
31482 * Makeconfig: Adjust for dropped configure option. All features are
31483 now mandatory.
31484 * Makerules: Likewise.
31485 * Versions.def: Likewise.
31486 * argp/argp-fmtstream.c: Likewise.
31487 * argp/argp-fmtstream.h: Likewise.
31488 * argp/argp-help.c: Likewise.
31489 * assert/assert.c: Likewise.
31490 * config.h.in: Likewise.
31491 * config.make.in: Likewise.
31492 * configure: Likewise.
31493 * configure.in: Likewise.
31494 * csu/Versions: Likewise.
31495 * csu/init.c: Likewise.
31496 * elf/tst-audit2.c: Likewise.
31497 * elf/tst-tls10.c: Likewise.
31498 * elf/tst-tls10.h: Likewise.
31499 * elf/tst-tls11.c: Likewise.
31500 * elf/tst-tls12.c: Likewise.
31501 * elf/tst-tls14.c: Likewise.
31502 * elf/tst-tlsmod11.c: Likewise.
31503 * elf/tst-tlsmod12.c: Likewise.
31504 * elf/tst-tlsmod13.c: Likewise.
31505 * elf/tst-tlsmod13a.c: Likewise.
31506 * elf/tst-tlsmod14a.c: Likewise.
31507 * elf/tst-tlsmod15b.c: Likewise.
31508 * elf/tst-tlsmod16a.c: Likewise.
31509 * elf/tst-tlsmod16b.c: Likewise.
31510 * elf/tst-tlsmod7.c: Likewise.
31511 * elf/tst-tlsmod8.c: Likewise.
31512 * elf/tst-tlsmod9.c: Likewise.
31513 * gmon/gmon.c: Likewise.
31514 * grp/fgetgrent_r.c: Likewise.
31515 * grp/putgrent.c: Likewise.
31516 * hurd/fopenport.c: Likewise.
31517 * include/libc-symbols.h: Likewise.
31518 * include/tls.h: Likewise.
31519 * intl/gettextP.h: Likewise.
31520 * intl/loadinfo.h: Likewise.
31521 * locale/global-locale.c: Likewise.
31522 * locale/localeinfo.h: Likewise.
31523 * mach/devstream.c: Likewise.
31524 * malloc/arena.c: Likewise.
31525 * malloc/set-freeres.c: Likewise.
31526 * misc/err.c: Likewise.
31527 * misc/getttyent.c: Likewise.
31528 * misc/mntent_r.c: Likewise.
31529 * posix/getopt.c: Likewise.
31530 * posix/wordexp.c: Likewise.
31531 * pwd/fgetpwent_r.c: Likewise.
31532 * resolv/Versions: Likewise.
31533 * resolv/res_hconf.c: Likewise.
31534 * shadow/fgetspent_r.c: Likewise.
31535 * shadow/putspent.c: Likewise.
31536 * stdio-common/printf_fphex.c: Likewise.
31537 * stdio-common/tmpfile.c: Likewise.
31538 * stdlib/abort.c: Likewise.
31539 * stdlib/fmtmsg.c: Likewise.
31540 * sunrpc/auth_unix.c: Likewise.
31541 * sunrpc/clnt_perr.c: Likewise.
31542 * sunrpc/clnt_tcp.c: Likewise.
31543 * sunrpc/clnt_udp.c: Likewise.
31544 * sunrpc/clnt_unix.c: Likewise.
31545 * sunrpc/openchild.c: Likewise.
31546 * sunrpc/svc_simple.c: Likewise.
31547 * sunrpc/svc_tcp.c: Likewise.
31548 * sunrpc/svc_udp.c: Likewise.
31549 * sunrpc/svc_unix.c: Likewise.
31550 * sunrpc/xdr.c: Likewise.
31551 * sunrpc/xdr_array.c: Likewise.
31552 * sunrpc/xdr_rec.c: Likewise.
31553 * sunrpc/xdr_ref.c: Likewise.
31554 * sunrpc/xdr_stdio.c: Likewise.
31555
1248c1c4
PB
315562011-09-09 Ulrich Drepper <drepper@gmail.com>
31557
31558 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31559
315602011-07-03 Andreas Jaeger <aj@suse.de>
31561
31562 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31563 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31564 regenerate with gen-libm-tests.pl.
31565
315662010-05-12 Petr Baudis <pasky@suse.cz>
31567
31568 [BZ #11589]
31569 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31570 around j0() zero points by switching to j1().
31571 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31572 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31574 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31575
f22e1074
UD
315762011-09-09 Ulrich Drepper <drepper@gmail.com>
31577
f19009c1
UD
31578 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31579 instead of 0.
31580 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31581 instead of 0.
f19009c1
UD
31582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31583 Patch in part by Pavel Roskin <proski@gnu.org>.
31584
3f8cc204
UD
31585 [BZ #13138]
31586 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31587 realloc.
31588 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31589 Free memory block if necessary.
31590
f22e1074
UD
31591 [BZ #12847]
31592 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31593 be NULL. Don't lock in this case.
31594
0a2349f9
RM
315952011-09-09 Roland McGrath <roland@hack.frob.com>
31596
31597 * elf/elf.h (ELFOSABI_GNU): New macro.
31598 (ELFOSABI_LINUX): Define to that.
31599
f3cdd467
DZ
316002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31601
31602 * string/strncat.c (strncat): Undef the symbol in case it has been
31603 defined in bits/string.h.
31604
74718d13
UD
316052011-09-09 Ulrich Drepper <drepper@gmail.com>
31606
633e9e0f
UD
31607 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31608
0a2349f9 31609 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31610 link map.
31611
f9924780
AJ
316122011-08-17 Andreas Jaeger <aj@suse.de>
31613
31614 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31615
7f5517aa
PP
316162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31617 Ian Lance Taylor <iant@google.com>
31618
31619 * math/libm-test.inc (lround_test): New testcase.
31620 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31621
762011fe
UD
316222011-09-08 Ulrich Drepper <drepper@gmail.com>
31623
92963737
UD
31624 * Makefile: Remove support for automatic cvs check-ins.
31625 * Makerules: Likewise.
31626 * config.make.in: Likewise.
31627 * configure.in: Likewise.
31628 * intl/Makefile: Likewise.
31629 * locale/Makefile: Likewise.
31630 * po/Makefile: Likewise.
31631 * posix/Makefile: Likewise.
31632 * sysdeps/gnu/Makefile: Likewise.
31633 * sysdeps/mach/hurd/Makefile: Likewise.
31634 * sysdeps/sparc/sparc32/Makefile: Likewise.
31635
b0727fd8
JS
31636 [BZ #13118]
31637 * posix/Makefile (bug-regex32-ENV): Define.
31638 Patch by John Stanley <jpsinthemix@verizon.net>.
31639
a0f33f99
UD
31640 * misc/Makefile (headers): Add bits/select2.h.
31641 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31642 * misc/bits/select2.h: New file.
31643 * include/bits/select2.h: New file.
31644 * debug/Makefile (routines): Add fdelt_chk.
31645 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31646 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31647 FD_ISSET.
31648 * debug/fdelt_chk.c: New file.
31649
762011fe
UD
31650 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31651 * wcsmbs/test-wmemcmp.c: Likewise.
31652 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31653 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31654
316552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31656
31657 * string/Makefile (strop-tests): Add memcmp.
31658 * string/test-wmemcmp.c: New file.
31659 * string/test-memcmp.c: Add wmemcmp support.
31660
7f513ec8
RM
316612011-09-08 Roland McGrath <roland@hack.frob.com>
31662
0442afb4
RM
31663 [BZ #13153]
31664 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31665 2011-07-19 change.
31666
7f513ec8
RM
31667 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31668 garbage value in a __mach_port_mod_refs call in the cases of the
31669 task-self and thread-self ports.
31670
a12b2239
ST
316712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31672
31673 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31674
610f9ab4
AS
316752011-09-08 Andreas Schwab <schwab@redhat.com>
31676
7f513ec8 31677 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31678
48882a1a
LD
316792011-09-07 Ulrich Drepper <drepper@gmail.com>
31680
b49865be
UD
31681 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31682
fdc86bc9
UD
31683 * elf/dl-libc.c (dlerror_run): Pass back error code from
31684 dl_catch_error.
31685
c966526a
UD
31686 [BZ #13123]
31687 * elf/dl-load.c (lose): Free l_origin if it is valid.
31688
48882a1a
LD
31689 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31690 names.
31691 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31692 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31693 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31695 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31696 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31697
77a2a8b4
AZ
316982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31699
31700 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31701 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31702 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31703 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31704 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31705 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31706 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31707 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31708 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31709 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31710
24f579d8
AM
317112011-08-15 Alan Modra <amodra@gmail.com>
31712
31713 [BZ #13092]
31714 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31715 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31716 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31717 ppc_mcount to static-only-routines.
31718 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31719 __mcount_internal.
31720 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31721 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31722
3d4837df
UD
317232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31724
31725 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31726 for finite and infinity parameters.
31727
22700377
WS
317282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31729
31730 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31731 and add nop instructions for throughput optimization.
31732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31733
5025581e
WS
317342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31735
31736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31737 aligned copy for power7 with vector-scalar instructions.
31738 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31739
08a300c9
L
317402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31743 AVX check.
31744
59178ef9
AS
317452011-09-07 Andreas Schwab <schwab@redhat.com>
31746
31747 [BZ #13144]
31748 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31749 last change.
31750
e38ba7ab
UD
317512011-09-07 Ulrich Drepper <drepper@gmail.com>
31752
31753 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31754 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31755 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31756 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31757 clock_gettime.
31758
d53a73ac
UD
317592011-09-06 Ulrich Drepper <drepper@gmail.com>
31760
fc8bffcc
UD
31761 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31762 Forgot to demangle the pointer.
31763
ceaa0c5d
UD
31764 * sysdeps/i386/sysdep.h: Define atom_text_section.
31765 * sysdeps/x86_64/sysdep.h: Likewise.
31766 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31767 section with atom_text_section.
31768 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31769 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31770 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31771 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31772 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31773
a77d3c17
UD
31774 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31775 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31776 already be defined. Change to take two parameters and don't assign
31777 result to variable. Adjust all users.
31778 Define INTERNAL_GETTIME if not already defined.
31779 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31780 call.
31781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31782 HAVE_CLOCK_GETTIME_VSYSCALL.
31783 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31784
d53a73ac
UD
31785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31786 gettimeofday vsyscall, just use time.
31787
a8f84144
AS
317882011-09-06 Andreas Schwab <schwab@redhat.com>
31789
31790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31791 <errno.h>.
31792
ef606249
UD
317932011-09-06 Ulrich Drepper <drepper@gmail.com>
31794
31795 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31796 syscall on x86-64.
31797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31798 syscall.
31799 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31801 syscall if possible.
31802
6585cb60
UD
318032011-09-05 Ulrich Drepper <drepper@gmail.com>
31804
31805 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31806 e_ident. Don't pass to find_mapsXX.
31807 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31808
a5f524e4
LD
318092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31810
31811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31812 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31813 * sysdeps/x86_64/multiarch/strchr.S: Update.
31814 Check bit_slow_BSF bit.
31815 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31816 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31817 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31818
554881ef
UD
318192011-09-05 Ulrich Drepper <drepper@gmail.com>
31820
d96de963
UD
31821 [BZ #13134]
31822 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31823 before glibc 2.15.
31824 (tryshell): Define.
31825 (__spawni): Change last parameter to be flag. Test
31826 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31827 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31828 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31829 * posix/spawni.c: Likewise.
31830 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31831 * posix/spawnp.c: Likewise. Change normal version to use
31832 SPAWN_XFLAGS_USE_PATH.
31833 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31834 SPAWN_XFLAGS_TRY_SHELL.
31835
d48e5868
UD
31836 [BZ #13150]
31837 * posix/glob.h: Remove gcc 1.x support.
31838
554881ef
UD
31839 [BZ #13068]
31840 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31841
693fb948
LD
318422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31843
31844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31845 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31846 strrchr-sse2-bsf
31847 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31848 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31849 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31851 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31852 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31853
1b48c537
UD
318542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31855
49d42c37
UD
31856 * sysdeps/x86_64/wcscmp.S: New file.
31857
1b48c537
UD
31858 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31859 wcscmp-c wcscmp-sse2
31860 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31861 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31862 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31863 * wcsmbs/wcscmp.c: Allow renaming.
31864
15c95c5d
DM
318652011-09-05 David S. Miller <davem@davemloft.net>
31866
31867 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31868 stack slot, rather than the struct return pointer slot.
31869 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31870 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31872 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31873
2f0ad8f3
UD
318742011-09-05 Ulrich Drepper <drepper@gmail.com>
31875
d88ae418
UD
31876 * po/ja.po: Update from translation team.
31877
2f0ad8f3
UD
31878 [BZ #13144]
31879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31880 kernel in 64-bit binaries.
31881
5f4318d1
DM
318822011-09-01 David S. Miller <davem@davemloft.net>
31883
31884 * elf/elf.h (HWCAP_SPARC_*): Move to..
31885 * sysdeps/sparc/sysdep.h: this new file and add new values.
31886 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31887 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31888 _DL_HWCAP_COUNT to 24.
31889 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31890 entries.
31891 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31892 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31893 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31895 instead of magic constants.
31896 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31897
3ba57516
DM
318982011-08-31 David S. Miller <davem@davemloft.net>
31899
31900 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31902 Reimplement to do errno handling inline.
31903 (SYSCALL_ERROR_HANDLER): New macro.
31904 (__SYSCALL_STRING): Do not do errno handling in asm.
31905 (__CLONE_SYSCALL_STRING): Delete.
31906 (__INTERNAL_SYSCALL_STRING): Delete.
31907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31908 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31909 (PSEUDO): Reimplement to do errno handling inline.
31910 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31911 (SYSCALL_ERROR_HANDLER): New macro.
31912 (__SYSCALL_STRING): Do not do errno handling in asm.
31913 (__CLONE_SYSCALL_STRING): Delete.
31914 (__INTERNAL_SYSCALL_STRING): Delete.
31915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31916 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31917 i386.
31918 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31919 (inline_syscall*): Add 'err' argument.
31920 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31921 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31922 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31923 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31924
31925 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31926 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31927
2bc17433
AS
319282011-08-30 Andreas Schwab <schwab@redhat.com>
31929
31930 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31931
fbeb5f4d
JO
319322011-08-29 Jiri Olsa <jolsa@redhat.com>
31933
31934 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31935 directive.
31936
ad69cc26
DM
319372011-08-24 David S. Miller <davem@davemloft.net>
31938
31939 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31940
39dd69df
AS
319412011-08-24 Andreas Schwab <schwab@redhat.com>
31942
31943 * elf/Makefile: Add rules to build and run unload8 test.
31944 * elf/unload8.c: New file.
31945 * elf/unload8mod1.c: New file.
31946 * elf/unload8mod1x.c: New file.
31947 * elf/unload8mod2.c: New file.
31948 * elf/unload8mod3.c: New file.
31949
31950 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31951 it wasn't used.
31952
2c0b250a
DM
319532011-08-23 David S. Miller <davem@davemloft.net>
31954
31955 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31956 subtract stack bias.
31957 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31958 %sp not %fp in calculations.
31959 (_JMPBUF_UNWINDS_ADJ): Likewise.
31960
22044b48
DM
31961 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31962 (aio_suspend): Call it to force an exception region around the
31963 AIO_MISC_WAIT() invocation.
31964
2cae4995
AS
319652011-08-23 Andreas Schwab <schwab@redhat.com>
31966
31967 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31968 backslash.
31969
873a772e
AJ
319702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31971
31972 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31973 protection macro.
31974 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31975 and <dl-machine.h>.
31976 (Elf64_FuncDesc): Remove.
31977
25ad0df1
DM
319782011-08-22 David S. Miller <davem@davemloft.net>
31979
31980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31981 sigaltstack check, add missing cfi directives.
31982 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31983 missing cfi directives, and sigaltstack handling.
31984
e888bcbe
AS
319852011-08-16 Andreas Schwab <schwab@redhat.com>
31986
31987 [BZ #11724]
31988 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31989 object is seen twice.
31990 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31991
31992 * elf/Makefile (distribute): Add tst-initorder2.c.
31993 (tests): Add tst-initorder2.
31994 (modules-names): Add tst-initorder2a tst-initorder2b
31995 tst-initorder2c tst-initorder2d. Add rules to build them.
31996 ($(objpfx)tst-initorder2.out): New rule.
31997 * elf/tst-initorder2.c: New file.
31998 * elf/tst-initorder2.exp: New file.
31999
87162f46
AS
320002011-08-22 Andreas Schwab <schwab@redhat.com>
32001
70538b7f
AS
32002 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32003
f55ffe58
AS
32004 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32005 dependencies back to end of function.
32006
87162f46
AS
32007 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32008 $(elfobjdir)/ld.so.
32009
91b392a4
UD
320102011-08-21 Ulrich Drepper <drepper@gmail.com>
32011
32012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32013 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32015 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32016 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32017 of __vdso_gettimeofday.
32018 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32019 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32020 attribute_hidden.
32021 (_libc_vdso_platform_setup): Remove initialization of
32022 __vdso_gettimeofday and __vdso_time.
32023
5c43483f
UD
320242011-08-20 Ulrich Drepper <drepper@gmail.com>
32025
775a77e7
UD
32026 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32027 and fgetc_unlocked.
32028 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32029 getc_unlocked.
89f447ed 32030
49c74ba9
UD
32031 * elf/dl-open.c (add_to_global): Report additions to the global scope
32032 for LD_DEBUG=scopes.
32033 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32034 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32035
5c43483f
UD
32036 [BZ #13114]
32037 * stdio-common/Makefile (tests): Add bug24.
32038 * stdio-common/bug24.c: New file.
32039
a101b025
AJ
320402011-08-19 Andreas Jaeger <aj@suse.de>
32041
32042 [BZ #13114]
32043 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32044 non-existant file when using close-on-exec mode.
32045
c88f1766
UD
320462011-08-20 Ulrich Drepper <drepper@gmail.com>
32047
0276a718
UD
32048 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32049 the very first instruction.
32050
c88f1766
UD
32051 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32052 the CFI state in the end.
32053 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32054 inclusion of dl-trampoline.h.
32055 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32056
51ccffa0
AS
320572011-08-19 Andreas Schwab <schwab@redhat.com>
32058
94d7165f
AS
32059 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32060 expectations for long double.
32061
51ccffa0
AS
32062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32063 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32064
fd708658 320652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32066
32067 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32068 artificual limit depends upon the system page size.
32069
44f0a71e
UD
320702011-08-17 Ulrich Drepper <drepper@gmail.com>
32071
32072 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32073 * resolv/Makefile: Define CFLAGS-libresolv.
32074
8de79a24
AS
320752011-08-17 Andreas Schwab <schwab@redhat.com>
32076
32077 * nss/makedb.c (compute_tables): Make variables used in nested
32078 function static.
32079
27724598
UD
320802011-08-17 Ulrich Drepper <drepper@gmail.com>
32081
c5305d88
UD
32082 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32083 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32084 if buffer was too small.
32085
27724598
UD
32086 * elf/pldd.c (main): Attach to all threads in the process.
32087 Rewrite /proc handling to use *at functions.
32088
076fe015
UD
320892011-08-16 Ulrich Drepper <drepper@gmail.com>
32090
174baab3
UD
32091 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32092 specifies first scope to show.
32093 (dl_open_worker): Update callers. Move printing scope of new
32094 object to before the relocation.
44f0a71e 32095 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32096 * sysdeps/generic/ldsodefs.h: Update declaration.
32097
076fe015
UD
32098 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32099 string for the scope number.
32100
a60df2c3
UD
321012011-08-14 Ulrich Drepper <drepper@gmail.com>
32102
32103 * nscd/servicescache.c (cache_addserv): Make sure written is always
32104 initialized.
32105
5e4287d1
RM
321062011-08-14 Roland McGrath <roland@hack.frob.com>
32107
85ae0589
RM
32108 * sysdeps/i386/i486/bits/atomic.h
32109 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32110 statement expression, so as to suppress "set but not used" warning.
32111 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32112
69f63097
RM
32113 * string/strncat.c (STRNCAT): Use prototype definition.
32114
675456ef
RM
32115 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32116 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32117 -Iprograms here.
32118 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32119 (localedef-modules): Add localedef.
32120 (locale-modules): Add locale.
32121
5e4287d1
RM
32122 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32123 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32124 to avoid a warning.
32125
9c96ff23
DM
321262011-08-14 David S. Miller <davem@davemloft.net>
32127
32128 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32129 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32130
f9ddf089
UD
321312011-08-13 Ulrich Drepper <drepper@gmail.com>
32132
44f0a71e 32133 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32134 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32135 * elf/rtld.c (dl_main): Set l_name of vDSO.
32136 Call _dl_show_scope when DL_DEBUG_SCOPES.
32137 (process_dl_debug): Recognize scopes flag and also set it for all.
32138 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32139 Declare _dl_show_scope.
32140
1dc27704
UD
32141 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32142 (do_dlopen): Pass caller_dlopen to dl_open.
32143 (__libc_dlopen_mode): Initialize caller_dlopen.
32144
f9ddf089
UD
32145 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32146 of libc. Make tolower call locale-independent. Optimize a bit by
32147 using isdigit instead of isalnum.
32148 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32149
9ac533d3
UD
321502011-08-12 Ulrich Drepper <drepper@gmail.com>
32151
32152 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32153 was a dependency or dynamically loaded.
32154
89edf2e9
UD
321552011-08-11 Ulrich Drepper <drepper@gmail.com>
32156
8e999d29
UD
32157 * intl/l10nflist.c: Allow architecture-specific pop function.
32158 * sysdeps/x86_64/l10nflist.c: New file.
32159
89edf2e9
UD
32160 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32161 classification.
32162
14d96785
AS
321632011-08-10 Andreas Schwab <schwab@redhat.com>
32164
32165 * include/dirent.h: Add libc_hidden_proto for scandirat and
32166 scandirat64. Don't declare __scandirat64.
32167 * dirent/scandirat.c: Add libc_hidden_def.
32168 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32169 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32170
6761ac04
DM
321712011-08-10 David S. Miller <davem@davemloft.net>
32172
32173 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32174 enum.
32175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32178
c55fbd1e
UD
321792011-08-09 Ulrich Drepper <drepper@gmail.com>
32180
32181 * Versions.def [libc]: Add GLIBC_2.15.
32182 * dirent/Makefile (routines): Add scandirat and scandirat64.
32183 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32184 GLIBC_2.15.
32185 * dirent/dirent.h: Declare scandirat and scandirat64.
32186 * dirent/scandirat.c: New file.
32187 * dirent/scandirat64.c: New file.
32188 * sysdeps/wordsize-64/scandirat.c: New file.
32189 * sysdeps/wordsize-64/scandirat64.c: New file.
32190 * dirent/opendir.c: Define opendirat.
32191 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32192 using scandirat.
32193 * dirent/scandir64.c: Adjust for scandir.c change.
32194 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32195 __scandirat64, and __scandir_cancel_handler.
32196 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32197 additional parameter and use openat instead of open (outside of ld.so).
32198 Add new __opendir as wrapper around __opendirat.
32199 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32200 here without requiring old scandirat implementation.
32201
879165f2
UD
322022011-08-08 Ulrich Drepper <drepper@gmail.com>
32203
32204 * dirent/scandir.c (cancel_handler): Renamed to
32205 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32206 defined. Adjust users.
32207 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32208 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32209
cb7e923b
UD
322102011-08-04 Ulrich Drepper <drepper@gmail.com>
32211
16292edd
UD
32212 * string/test-string.h (IMPL): Use __STRING to expand name and then
32213 stringify it.
32214
cb7e923b
UD
32215 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32216 of cleanups.
32217
cff82933
LD
322182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32219
32220 * string/Makefile: Update.
32221 (strop-tests): Append strncat.
32222 * string/test-wcscmp.c: New file.
32223 New comprehensive test for wcscmp.
32224 * string/test-strcmp.c: Update.
32225 (WIDE): New define.
32226
9be9bfcc
AS
322272011-07-22 Andreas Schwab <schwab@redhat.com>
32228
32229 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32230 line.
32231
2e96f1c7
AS
322322011-07-26 Andreas Schwab <schwab@redhat.com>
32233
32234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32235 encoding to ACE if AI_IDN.
32236
85188888
JJ
322372011-08-01 Jakub Jelinek <jakub@redhat.com>
32238
32239 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32240 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32241
5fa16e9b
LD
322422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32243
32244 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32245 Fix overflow bug in strncat.
32246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32247
32248 * string/test-strncat.c: Update.
32249 Add new tests for checking overflow bugs.
32250
322512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32252
32253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32254 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32255 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32256 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32257 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32258 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32259 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32260 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32261 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32262
32263 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32264 (USE_AS_STRCAT): Define.
32265 Add strcat and strncat support.
32266 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32267
8c1a459f
AS
322682011-07-25 Andreas Schwab <schwab@redhat.com>
32269
32270 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32271 __n bigger than INT_MAX+1.
32272 (__strncmp_g): Likewise.
32273
bba33c28
UD
322742011-07-23 Ulrich Drepper <drepper@gmail.com>
32275
798be72d
UD
32276 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32277 * libio/stido.h: Likewise.
32278
8accd4dc
UD
32279 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32280 (AF_NFC): Define.
32281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32282 (AF_NFC): Define.
32283
cbff0d96
UD
32284 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32285 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32286 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32287 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32288 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32289
9191c04a
UD
32290 [BZ #13021]
32291 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32292 installed.
32293
bba33c28
UD
32294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32295 typo.
32296 (_dl_x86_64_save_sse): Likewise.
32297
90f139dd
UD
322982011-07-22 Ulrich Drepper <drepper@gmail.com>
32299
1aae088a
UD
32300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32301 OSXSAVE.
32302 (_dl_x86_64_save_sse): Likewise.
32303
8e2045f5
UD
32304 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32305
90f139dd
UD
32306 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32307
1d002f25
AS
323082011-07-21 Andreas Schwab <schwab@redhat.com>
32309
32310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32311 change.
32312 (_dl_x86_64_save_sse): Use correct AVX check.
32313
21137f89
UD
323142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32315
32316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32317 bug in strncpy/strncat.
32318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32319
a65c0b7a
UD
323202011-07-21 Ulrich Drepper <drepper@gmail.com>
32321
32322 * string/tester.c (test_strcat): Add tests for different alignments
32323 of source and destination.
32324 (test_strncat): Likewise.
32325
6986b98a
UD
323262011-07-20 Ulrich Drepper <drepper@gmail.com>
32327
90bb2039
UD
32328 [BZ #12852]
32329 * posix/glob.c (glob): Check passed in values before using them in
32330 expressions to avoid some overflows.
32331 (glob_in_dir): Likewise.
32332
5644ef54
UD
32333 [BZ #13007]
32334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32335 check for AVX enablement so that we don't crash with old kernels and
32336 new hardware.
32337 * elf/tst-audit4.c: Add same checks here.
32338 * elf/tst-audit6.c: Likewise.
32339
32340 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32341
bfc9dc9b
AS
323422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32343
32344 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32345
702e64bb
UD
323462011-07-20 Ulrich Drepper <drepper@gmail.com>
32347
32348 * po/cs.po: Update from translation team.
32349 * po/bg.po: Likewise.
32350
295e904f
MP
323512011-07-12 Marek Polacek <mpolacek@redhat.com>
32352
32353 * misc/sys/cdefs.h: Add support for const attribute.
32354 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32355 to gnu_dev_{major,minor,makedev} functions.
32356
3ff94596
MP
323572011-07-20 Marek Polacek <mpolacek@redhat.com>
32358
32359 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32360
28b59fca
AS
323612011-07-20 Andreas Schwab <schwab@redhat.com>
32362
32363 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32364 strlen results.
32365
19df733e
AK
323662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32367
32368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32369 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32370 register in order to avoid conflicts with the soft frame pointer
32371 being held in r11 when necessary.
32372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32373 (INTERNAL_VSYSCALL_NCS): Likewise.
32374
c8835729
MP
323752011-07-14 Marek Polacek <mpolacek@redhat.com>
32376
32377 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32378 * elf/dl-fini.c (_dl_fini): Adjust caller.
32379 * elf/dl-close.c (_dl_close_worker): Likewise.
32380 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32381
b902330c
MP
323822011-07-15 Marek Polacek <mpolacek@redhat.com>
32383
8991e135
MP
32384 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32385 "aux_cache->nlibs < 0".
32386
b902330c
MP
32387 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32388 in the reload-count case.
32389
99710781
LD
323902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32391
32392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32393 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32394 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32395 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32396 * sysdeps/x86_64/multiarch/strcat.S: New file.
32397 * sysdeps/x86_64/multiarch/strncat.S: New file.
32398 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32399 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32400 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32401 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32403 (USE_AS_STRCAT): Define.
32404 Add strcat and strncat support.
32405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32406 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32407 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32408 * string/strncat.c: Update.
32409 (USE_AS_STRNCAT): Define.
32410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32411 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32412 and i7.
32413 * sysdeps/x86_64/multiarch/init-arch.h
32414 (bit_Prefer_PMINUB_for_stringop): New.
32415 (index_Prefer_PMINUB_for_stringop): Likewise.
32416 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32417 bit_Prefer_PMINUB_for_stringop.
32418
7dc6bd90
UD
324192011-07-19 Ulrich Drepper <drepper@gmail.com>
32420
32421 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32422 buffer64.
32423 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32424 of casting of buffer.
32425 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32426 buffer32 and buffer64.
32427 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32428 writes instead of casting of buffer.
32429 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32430 buffer32.
32431 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32432 casting of buffer.
32433
e0e72284
AS
324342011-07-19 Andreas Schwab <schwab@redhat.com>
32435
32436 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32437
feb1eb0b
UD
324382011-07-19 Ulrich Drepper <drepper@gmail.com>
32439
32440 * nscd/nscd.c (termination_handler): Don't do anything for a database
32441 if it has not yet been initialized.
32442
298711ff
UD
324432011-07-18 Ulrich Drepper <drepper@gmail.com>
32444
32445 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32446
324472011-07-15 Marek Polacek <mpolacek@redhat.com>
32448
32449 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32450
f9d68389
UD
324512011-07-18 Ulrich Drepper <drepper@gmail.com>
32452
32453 * po/nl.po: Update from translation team.
32454 * po/sv.po: Likewise.
32455
db290cf5
RM
324562011-07-16 Roland McGrath <roland@hack.frob.com>
32457
32458 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32459 now disallowed by GCC.
5c550700 32460
fd5e21c7
RM
32461 * configure.in (use-default-link): Default to yes if a test -shared
32462 link meets our qualifications.
32463 * configure: Regenerated.
32464
5c550700
RM
32465 * config.make.in (output-format): New variable.
32466 * configure.in: Check for ld --print-output-format support.
32467 * configure: Regenerated.
32468 * Makerules ($(common-objpfx)format.lds)
32469 [$(output-format) != unknown]: Just use $(output-format),
32470 instead of the linker-script munging.
32471
9fa2c032
RM
324722011-07-14 Roland McGrath <roland@hack.frob.com>
32473
a6928d51
RM
32474 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32475 of $(common-objpfx)shlib.lds.
32476 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32477
661607b3
RM
32478 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32479 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32480
9fa2c032
RM
32481 * configure.in (-z relro check): Adjust test code to add a large
32482 writable data section after it.
32483 * configure: Regenerated.
32484
defe9061
RM
324852011-07-11 Roland McGrath <roland@hack.frob.com>
32486
32487 * configure.in (-z relro check): Fix test code to make the variable
32488 truly const.
32489 * configure: Regenerated.
32490
319b9ad4
UD
324912011-07-11 Ulrich Drepper <drepper@gmail.com>
32492
32493 * nscd/nscd.h (struct traced_file): Define.
32494 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32495 elements. Add traced_files.
32496 (inotify_fd): Declare.
32497 (register_traced_file): Declare.
32498 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32499 (inotify_fd): Export.
32500 (resolv_conf_descr): Remove.
32501 (nscd_init): Move inotify descriptor creation to main.
32502 Don't register files for notification here.
32503 (register_traced_file): New function.
32504 (invalidate_cache): Don't use reset_res to determine whether to call
32505 res_init, go through the list of registered files.
32506 (main_loop_poll): The inotify descriptors are now stored in the
32507 structures for the traced files.
32508 (main_loop_epoll): Likewise
32509 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32510 to __nss_disable_nscd.
32511 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32512 for a database anymore. Check the records for all the registered
32513 files instead.
32514 * nss/Makefile (libnss_files-routines): Add files-init.
32515 (libnss_db-routines): Add db-init.
32516 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32517 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32518 * nss/nss_db/db-init.c: New file.
32519 * nss/nss_files/files-init.c: New file.
32520 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32521 __nss_lookup_function.
32522 (__nss_lookup_function): Call nss_load_library.
32523 (nss_load_all_libraries): New function.
32524 (__nss_disable_nscd): Take parameter with callback function for files
32525 to register. Set is_nscd. Load all the DSOs for the NSS modules
32526 used for the cached services.
32527 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32528 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32529 options for features to all the files in nscd.
32530
32531 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32532
23bee3e8
RM
325332011-07-10 Roland McGrath <roland@hack.frob.com>
32534
32535 * csu/elf-init.c (__libc_csu_init): Comment typo.
32536
46a5b7f0
UD
325372011-07-09 Ulrich Drepper <drepper@gmail.com>
32538
32539 * po/pl.po: Update from translation team.
32540 * po/ja.po: Likewise.
32541 * po/ru.po: Likewise.
32542 * po/ko.po: Likewise.
32543 * po/fr.po: Likewise.
32544
d30cf5bb
RM
325452011-07-09 Roland McGrath <roland@hack.frob.com>
32546
113ddea4
RM
32547 * configure.in (.ctors/.dtors header and trailer check):
32548 Use an empirical test on a built program.
32549 * configure: Regenerated.
32550
574920b4
RM
32551 * configure.in (-z relro check): Use an empirical test on a built DSO.
32552 Detect, but do not require, on ia64.
32553 * configure: Regenerated.
32554
d30cf5bb
RM
32555 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32556 Update tests that use readelf to use $READELF instead.
32557 * configure: Regenerated.
32558
8538fdb3
UD
325592011-07-08 Ulrich Drepper <drepper@gmail.com>
32560
32561 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32562 if the result is not used.
32563
04d08991
AJ
325642011-07-05 Andreas Jaeger <aj@suse.de>
32565
32566 [BZ#9696]
32567 * stdlib/tst-strtod.c: Add testcase.
32568
de283087
AD
325692011-07-07 Ulrich Drepper <drepper@gmail.com>
32570
4e5f31c8 32571 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32572 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32573 The latter has a higher limit. Take additional parameter to pass to
32574 the new function.
32575 (__pathconf): Pass file to __statfs_link_max.
32576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32577 __statfs_link_max.
32578 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32579 __statfs_link_max.
32580
de283087
AD
32581 [BZ #12868]
32582 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32583 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32584 Handle Lustre.
32585 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32586 (__statfs_filesize_max): Likewise.
32587 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32588
c75fa153
AJ
325892011-07-05 Andreas Jaeger <aj@suse.de>
32590
32591 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32592
1a544854
UD
325932011-07-06 Marek Polacek <mpolacek@redhat.com>
32594
32595 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32596 `status' variable.
32597 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32598 Likewise.
32599
6f0eec67
UD
326002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32601
32602 * Makefile (strop-tests): Add strncat.
32603 * string/test-strncat.c: New file.
32604
aae30307
UD
326052011-06-30 Marek Polacek <mpolacek@redhat.com>
32606
32607 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32608
c0cfb5eb
UD
326092011-06-21 Andreas Jaeger <aj@suse.de>
32610
32611 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32612 Copy rule from iconvdata/Makefile.
32613
01636b21
UD
326142011-07-06 Ulrich Drepper <drepper@gmail.com>
32615
32616 [BZ #12922]
32617 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32618 but no long options are defined, just return 'W'.
32619
9895c8bc
UD
326202011-06-22 Marek Polacek <mpolacek@redhat.com>
32621
32622 [BZ #9696]
32623 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32624
5d4cf042
UD
326252011-07-06 Ulrich Drepper <drepper@gmail.com>
32626
32627 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32628 netgroups to read.
960e5535 32629 (innetgr): Likewise.
5d4cf042 32630
751eb97e
RM
326312011-07-05 Roland McGrath <roland@hack.frob.com>
32632
32633 * config.make.in (install_root): Default to $(DESTDIR).
32634
f15f1e45
UD
326352011-07-05 Ulrich Drepper <drepper@gmail.com>
32636
32637 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32638
4e34ac6a
RM
326392011-07-02 Roland McGrath <roland@hack.frob.com>
32640
5e9b6af4
RM
32641 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32642
84f9ea0f
RM
32643 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32644 containing directory rather than embedding absolute directory names.
32645
ea5ee9f7
RM
32646 * scripts/check-local-headers.sh: Rewritten using awk.
32647 Match by word, not by line. Print error messages for matches.
32648 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32649
1b74661a
RM
32650 * Makerules [shlib-lds-flags empty]:
32651 ($(common-objpfx)libc_pic.opts): New target.
32652 ($(common-objpfx)libc_pic.os.clean): New target.
32653 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32654
32655 * config.make.in (OBJCOPY): New variable.
32656 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32657 * configure: Regenerated.
32658
f781ef40
RM
32659 * config.make.in (use-default-link): New variable.
32660 * configure.in (use_default_link): Grok --with-default-link to set it.
32661 * configure: Regenerated.
32662 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32663 (shlib-lds, shlib-lds-flags): Define to empty.
32664
2d4fa81e
RM
32665 * Makerules (shlib-lds): New variable.
32666 (shlib-lds-flags): New variable.
32667 (build-shlib, build-moduile, build-module-asneeded): Use it.
32668 ($(common-objpfx)libc.so): Use $(shlib-lds).
32669 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32670 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32671
31fffa6b
RM
32672 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32673 DT_FLAGS/DT_FLAGS_1 with zero flags.
32674
4e34ac6a
RM
32675 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32676 linker script munging.
32677
fcfc776b
UD
326782011-07-02 Ulrich Drepper <drepper@gmail.com>
32679
32680 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32681 as 128-bit value.
32682 * crypt/sha512.c (sha512_process_block): Perform total addition using
32683 128-bit if possible.
32684 (__sha512_finish_ctx): Likewise.
32685 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32686 as 64-bit value.
32687 * crypt/sha256.c (SWAP64): Define.
32688 (sha256_process_block): Perform total addition using 64-bit if
32689 possible.
32690 (__sha256_finish_ctx): Likewise.
32691
99231d9a
UD
326922011-07-01 Ulrich Drepper <drepper@gmail.com>
32693
32694 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32696 * nscd/hstcache.c (cache_addhst): Likewise.
32697 * nscd/grpcache.c (cache_addgr): Likewise.
32698 * nscd/aicache.c (addhstaiX): Likewise
32699 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32700
445b4a53
TK
327012011-07-01 Thorsten Kukuk <kukuk@suse.de>
32702
32703 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32704 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32705 * nscd/hstcache.c (cache_addhst): Likewise.
32706 * nscd/grpcache.c (cache_addgr): Likewise.
32707 * nscd/aicache.c (addhstaiX): Likewise
32708
6d4d8e8e
AS
327092011-07-01 Andreas Schwab <schwab@redhat.com>
32710
32711 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32712 domain only when needed.
32713
89f654c5
AS
327142011-06-30 Andreas Schwab <schwab@redhat.com>
32715
32716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32717 is always restored.
32718
cf3b23ff
UD
327192011-06-29 Ulrich Drepper <drepper@gmail.com>
32720
32721 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32722 are re-adding the entry.
32723 * nscd/servicescache.c (cache_addserv): Likewise.
32724
751626f9
AJ
327252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32726
32727 * sysdeps/generic/dl-irel.h: fix protection against multiple
32728 inclusions.
32729 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32730
9113ea1f
UD
327312011-06-28 Ulrich Drepper <drepper@gmail.com>
32732
5c0b8d90
UD
32733 [BZ #12935]
32734 * malloc/memusage.sh: Fix quoting in message.
32735 * debug/xtrace.sh: Likewise.
32736
9113ea1f
UD
32737 * configure.in: Remove support for --experimental-malloc option, make
32738 it the default.
32739 * config.make.in: Likewise.
32740 * malloc/Makefile: Likewise.
32741
a4172181
AS
327422011-06-27 Andreas Schwab <schwab@redhat.com>
32743
32744 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32745 two-byte characters.
32746
78a7eee7
RM
327472011-06-27 Roland McGrath <roland@hack.frob.com>
32748
62bede13
RM
32749 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32750 AC_CACHE_CHECK invocation.
32751 * configure: Regenerated.
32752
78a7eee7
RM
32753 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32754
5ce33a62
UD
327552011-06-27 Ulrich Drepper <drepper@gmail.com>
32756
034807a9
UD
32757 [BZ #12350]
32758 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32759 bit from old_res_options.
32760
4902da17
UD
32761 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32762
5ce33a62
UD
32763 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32764 value type for setfct.
32765
c2344f56
L
327662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32767
32768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32769 __gettimeofday instead of gettimeofday.
32770
68468076
UD
327712011-06-26 Ulrich Drepper <drepper@gmail.com>
32772
32773 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32774
acb0d739
L
327752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32778
32779 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32780 info.
32781
8912479f
L
327822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32783
32784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32785 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32786 strcpy-sse2-unaligned strncpy-sse2-unaligned
32787 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32788 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32789 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32790 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32791 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32792 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32793 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32794 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32795 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32796 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32797 (STRCPY): Support SSE2 and SSSE3 versions.
32798
d5495a11
UD
327992011-06-24 Ulrich Drepper <drepper@gmail.com>
32800
32801 [BZ #12874]
32802 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32803 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32804 kernels which artificially limit size of requests.
32805
0b1cbaae
L
328062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32809 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32810 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32811 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32812 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32813 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32814 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32815 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32816 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32817 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32818 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32819 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32820 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32821 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32822 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32824 Enable unaligned load optimization for Intel Core i3, i5 and i7
32825 processors.
32826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32827 Define.
32828 (index_Fast_Unaligned_Load): Define.
32829 (HAS_FAST_UNALIGNED_LOAD): Define.
32830
07f494a0
MP
328312011-06-23 Marek Polacek <mpolacek@redhat.com>
32832
32833 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32834
fa3fc0fe
UD
328352011-06-22 Ulrich Drepper <drepper@gmail.com>
32836
32837 [BZ #12907]
32838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32839 until it is clear that the information is realy needed.
32840 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32841
e12df166
AS
328422011-06-22 Andreas Schwab <schwab@redhat.com>
32843
32844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32845
852eb34d
UD
328462011-06-22 Ulrich Drepper <drepper@gmail.com>
32847
84e2a551
UD
32848 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32849 /sys/devices/system/cpu/online if it is usable.
32850
852eb34d
UD
32851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32852 reading the information from the /proc filesystem to once a second.
32853
6e502e19
UD
328542011-06-21 Andreas Jaeger <aj@suse.de>
32855
32856 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32857 NULL after inclusion of kernel headers.
32858
75d39ff2
UD
328592011-06-21 Ulrich Drepper <drepper@gmail.com>
32860
51f9aa6a
UD
32861 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32862 calls to internal_setent.
32863
c0244a9d
UD
32864 [BZ #12885]
32865 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32866 addresses using gethostbyname4_r ignore IPv4 addresses.
32867
c5e3c2ae
UD
32868 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32869 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32870
75d39ff2
UD
32871 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32872
42675c6f
DM
328732011-06-20 David S. Miller <davem@davemloft.net>
32874
32875 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32876 inclusions.
32877 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32878
32879 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32880 (elf_irel): Use it.
32881 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32882 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32883 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32884 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32885 * sysdeps/x86_64/dl-irel.h: Likewise.
32886
32887 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32888 * elf/dl-sym.c: Likewise.
32889
57912a71
UD
328902011-06-15 Ulrich Drepper <drepper@gmail.com>
32891
32892 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32893 need to dereference resplen2.
32894
ee22793d
AS
328952011-06-14 Andreas Schwab <schwab@redhat.com>
32896
32897 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32898
a9e836b0
UD
328992011-06-15 Ulrich Drepper <drepper@gmail.com>
32900
77fb9117
UD
32901 * Makeconfig: Define vardbdir and inst_vardbdir.
32902 * nss/Makefile: Add rules to install db-Makefile.
32903
40c1b22c
UD
32904 * nss/nss_db/db-XXX.c: Cleanup.
32905
9f2da732
UD
32906 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32907 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32908 GLIBC_PRIVATE.
32909 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32910 * nss/makedb.c: Implement -g option to specify that value strings
32911 are generated and should not be added to table iterated over for
32912 get*ent calls.
32913 * nss/nss_db/db-initgroups.c: New file.
32914
82e9a1f7
UD
32915 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32916 interface.
32917
c41af17e
UD
32918 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32919 (internal_getgrouplist): Adjust to name change.
32920 Update use_initgroups_entry if this is not the first call.
32921 * nss/databases.def: Add initgroups entry.
32922
a9e836b0
UD
32923 * nss/makedb.c (compute_tables): Check result of multiple hash table
32924 sizes to minimize maximum chain length.
32925
2666d441
UD
329262011-06-14 Ulrich Drepper <drepper@gmail.com>
32927
32928 * Versions.def: Add entry for libnss_db.
32929 * shlib-versions: Likewise.
32930 * nss/Makefile: Add rules to build libnss_db.
32931 * nss/Versions: Add libnss_db information. Organize libnss_files
32932 entries better.
32933 * nss/db-Makefile: Add gshadow support. Change rules for the new
32934 makedb progra. Some minor improvements to generate smaller files.
32935 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32936 here from...
32937 * nss/makedb.c: ...here.
32938 Improve database format to be smaller and require less memory at
32939 runtime.
32940 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32941 db anymore.
32942 * nss/nss_db/db-netgrp.c: Likewise.
32943 * nss/nss_db/db-open.c: Likewise.
32944 * nss/nss_files/flies-XXX.x: Adjust comments.
32945 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32946 * nss/nss_files/files-grp.c: Likewise.
32947 * nss/nss_files/files-hosts.c: Likewise.
32948 * nss/nss_files/files-network.c: Likewise.
32949 * nss/nss_files/files-proto.c: Likewise.
32950 * nss/nss_files/files-pwd.c: Likewise.
32951 * nss/nss_files/files-rpc.c: Likewise.
32952 * nss/nss_files/files-service.c: Likewise.
32953 * nss/nss_files/files-sgrp.c: Likewise.
32954 * nss/nss_files/files-spwd.c: Likewise.
32955 * nss/nss_db/db-alias.c: Removed.
32956 * nss/nss_db/dummy-db.h: Removed.
32957
9ee76b5a
UD
329582011-06-02 Ulrich Drepper <drepper@gmail.com>
32959
32960 * nss/makedb.c: Rewritten to not use database library.
32961 * nss/Makefile: Update to build new makedb program.
32962
c71ca1f8
AJ
329632011-06-14 Andreas Jaeger <aj@suse.de>
32964
32965 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32966 memset declaration.
32967
3154bfb8
UD
329682011-06-10 Andreas Schwab <schwab@redhat.com>
32969
32970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32971 tmpbuf.
32972
b350afab
RM
329732011-06-10 Roland McGrath <roland@hack.frob.com>
32974
decd4e50
RM
32975 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32976 * elf/Makefile ($(objpfx)ld.so): Likewise.
32977
5615eaf2
RM
32978 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32979 Don't list ld.so twice in dependencies.
32980
32981 * posix/bug-regex31.c: Include <stdlib.h>.
32982
32983 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32984
32985 * nis/nss_compat/compat-spwd.c
32986 (getspent_next_nss_netgr): Remove unused variable.
32987 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32988
32989 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32990 nonmembers" output to use the right array.
32991
32992 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32993
32994 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32995
32996 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32997 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32998 * catgets/gencat.c (read_input_file): Likewise.
32999 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33000
33001 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33002 variable definition inside #if's controlling its use.
33003
33004 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33005
33006 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33007
33008 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33009
33010 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33011 unreachable code.
33012
33013 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33014
b68e08db
RM
33015 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33016 * configure: Regenerated.
33017
b350afab
RM
33018 * Makerules: Revert last change.
33019 * elf/Makefile: Likewise.
33020
28368601
RM
330212011-06-09 Roland McGrath <roland@hack.frob.com>
33022
33023 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33024 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33025 (reloc-link): Likewise.
33026
11988f8f
UD
330272011-06-09 Ulrich Drepper <drepper@gmail.com>
33028
33029 * elf/Makefile: Add rules to build pldd.
33030 * elf/pldd.c: New file.
33031 * elf/pldd-xx.c: New file.
33032
e80fab37
UD
330332011-06-07 Ulrich Drepper <drepper@gmail.com>
33034
33035 * version.h: Update for 2.15 development version.
33036
9b849836
DM
330372011-06-07 David S. Miller <davem@davemloft.net>
33038
33039 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33040 ifuncs.
33041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33042 elf_machine_lazy_rel): Likewise.
33043 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33044 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33045 elf_machine_lazy_rel): Likewise.
33046 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33047 dl_hwcap via passed in argument.
33048 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33049 Likewise.
33050
5a31b283
AK
330512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33052
33053 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33054
069e52f8
RM
330552011-06-06 Roland McGrath <roland@hack.frob.com>
33056
33057 [BZ #12849]
33058 * manual/fdl-1.1.texi: New file, verbatim from:
33059 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33060 * manual/lgpl-2.1.texi: New file, verbatim from:
33061 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33062 * manual/Makefile (licenses): New variable, list those new file names.
33063 (texis): Use it.
33064 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33065
33066 * manual/fdl.texi: File removed.
33067 * manual/lesser.texi: File removed.
33068 * manual/libc.texinfo (Copying, Documentation License):
33069 Use new @include file names, put @appendix directive before @include.
33070
f16846a5
JJ
330712011-06-04 Jakub Jelinek <jakub@redhat.com>
33072
33073 [BZ #12841]
33074 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33075 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33076 (mq_open): Add __NTH.
33077
3d29045b
L
330782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33079
33080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33081 Assume Intel Core i3/i5/i7 processor if AVX is available.
33082
8c297311
UD
330832011-05-31 Ulrich Drepper <drepper@gmail.com>
33084
33085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33086 typo.
33087
c8fc0c91
UD
330882011-05-31 Andreas Schwab <schwab@redhat.com>
33089
33090 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33091 memory. Use alloca_account. Fix memory leak when retrying.
33092
5b27a807
UD
330932011-05-31 Ulrich Drepper <drepper@gmail.com>
33094
356f8bc6
UD
33095 * version.h (RELEASE): Bump for 2.14 release.
33096 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33097
5b27a807
UD
33098 * config.make.in (RANLIB): Remove entry.
33099
01f16ab0
UD
331002011-05-30 Ulrich Drepper <drepper@gmail.com>
33101
41fce8bd
UD
33102 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33103 (libc.pot): Work around missing support for .ksh extension in xgettext.
33104
4769ae77
UD
33105 [BZ #12684]
33106 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33107 if both request failed.
33108 (send_dg): In case of server errors clear resplen or *resplen2.
33109
6b1e7d19
UD
33110 [BZ #12454]
33111 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33112 when there are multiple maps.
33113 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33114 (_dl_fini): Remove test here.
33115
01f16ab0
UD
33116 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33117
b1ebd700
UD
331182011-05-29 Ulrich Drepper <drepper@gmail.com>
33119
7ae22829
UD
33120 [BZ #12350]
33121 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33122 bit from old_res_options.
33123 (gaih_inet): Likewise.
33124
553149f6 33125 [BZ #11099]
18a84741 33126 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33127 as signed.
33128
652ffab1
UD
33129 * resolv/res_init.c (res_setoptions): Make the code more compact.
33130
16985fd0
UD
33131 [BZ #11558]
33132 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33133 set RES_USEVC.
33134
0464f746
UD
33135 [BZ #11634]
33136 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33137
7d17596c
UD
33138 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33139
cf6bbbd7
UD
33140 [BZ #11781]
33141 * malloc/malloc.h: Declare malloc hook variables as volatile.
33142
13f1ab36
UD
33143 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33144 in last patch.
33145
b1ebd700
UD
33146 [BZ #11799]
33147 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33148 raise in the comment.
80e2212d
UD
33149 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33150 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33151 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33152
ce67228d
UD
331532011-05-28 Ulrich Drepper <drepper@gmail.com>
33154
8887a920
UD
33155 [BZ #12811]
33156 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33157 grow the buffers more if it already has to be sufficient.
33158 (build_wcs_upper_buffer): Likewise.
33159 * posix/regexec.c (check_matching): Likewise.
33160 (clean_state_log_if_needed): Likewise.
33161 (extend_buffers): Don't enlarge buffers beyond size of the input
33162 buffer.
33163 Patches mostly by Emil Wojak <emil@wojak.eu>.
33164 * posix/bug-regex32.c: New file.
33165 * posix/Makefile (tests): Add bug-regex32.
33166
4f031072
UD
33167 * locale/findlocale.c (_nl_find_locale): Return right away if
33168 _nl_explode_name failed.
33169 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33170
d0478f0c
UD
33171 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33172
de81b246
UD
33173 * debug/xtrace.sh: Unify messages.
33174 * malloc/memusage.sh: Likewise.
33175
c738465a
UD
33176 [BZ #12813]
33177 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33178 time symbol from vDSO. Substitute with vsyscall if not available.
33179 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33180 __vdso_time.
33181
f1f929d7
UD
33182 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33183 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33184 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33185 Add sendmmsg and internal_sendmmsg.
33186 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33187 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33188 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33189
ce67228d
UD
33190 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33191 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33192 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33193
e57420c6
UD
331942011-05-27 Ulrich Drepper <drepper@gmail.com>
33195
a8509ca5
UD
33196 [BZ #12813]
33197 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33198 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33199 available.
33200 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33201 __vdso_getcpu.
33202
e57420c6
UD
33203 [BZ #12814]
33204 * iconvdata/Makefile (tests): Add bug-iconv9.
33205 * iconvdata/bug-iconv9.c: New file.
33206
4d07db15
AS
332072011-05-27 Andreas Schwab <schwab@redhat.com>
33208
33209 [BZ #12814]
33210 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33211
ea486f69
JJ
332122011-05-25 Jakub Jelinek <jakub@redhat.com>
33213
33214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33215 (struct user_regs_struct): Change intcs field back to cs.
33216
6f038433
UD
332172011-05-25 Ulrich Drepper <drepper@gmail.com>
33218
33219 * po/ja.po: Update from translation team.
33220
67f86a25
UD
332212011-05-23 Ulrich Drepper <drepper@gmail.com>
33222
33223 [BZ #12795]
33224 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33225 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33226
def7fbd6
AS
332272011-05-20 Andreas Schwab <schwab@redhat.com>
33228
33229 * stdlib/longlong.h: Update from GCC.
33230
f50ef8f1
AS
332312011-05-23 Andreas Schwab <schwab@redhat.com>
33232
33233 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33234 parameter name.
33235 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33236 Add parameter name.
33237 (__sysconf): Pass it down.
33238
de7ce8f1
UD
332392011-05-22 Ulrich Drepper <drepper@gmail.com>
33240
f2962a71
UD
33241 [BZ #12671]
33242 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33243 some situations.
33244 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33245 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33246 add in in __libc_use_alloca calls. Adjust callers.
33247 (glob): Use malloc in some situations.
33248
de7ce8f1
UD
33249 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33250 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33251 pltexit.
33252
aec84f53
UD
332532011-05-21 Ulrich Drepper <drepper@gmail.com>
33254
05bb4a68
UD
33255 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33256 and CLOCK_BOOTTIME_ALARM.
33257
7ea72f99
UD
33258 [BZ #12782]
33259 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33260 is returned.
33261
7e4afad5
UD
33262 * string/_strerror.c (__strerror_r): Print negative errors as signed
33263 numbers.
33264
8e211fec
UD
33265 [BZ #12777]
33266 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33267 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33268 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33269
f7d82dc9
UD
33270 * configure.in: Fix typo in redirection and correct removal of test
33271 files in two cases.
33272
cc9e536d
UD
33273 [BZ #12788]
33274 * locale/setlocale.c (new_composite_name): Fix test to check for
33275 identical name of all categories.
33276
aec84f53
UD
33277 [BZ #12792]
33278 * libio/filedoalloc.c (local_isatty): New function.
33279 (_IO_file_doallocate): Use local_isatty.
33280 * stdio-common/perror.c (perror): In case a new stream is used
33281 forward the stream error.
33282 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33283 error flag.
33284
78e64fdc
RT
332852011-05-20 Ulrich Drepper <drepper@gmail.com>
33286
34a9094f
UD
33287 [BZ #11869]
33288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33289 alloca.
33290 * include/alloca.h (extend_alloca_account): Define.
33291
78e64fdc
RT
33292 [BZ #11857]
33293 * posix/regex.h: Fix comments with documentation of user-accessible
33294 fields after compilation and describe correct free'ing of pattern
33295 after re_compile_pattern.
33296 Patch by Reuben Thomas <rrt@sc3d.org>.
33297
457bddfc
RA
332982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33299
33300 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33301 and -mno-altivec to prevent the compiler from using Altivec and/or
33302 VSX instructions when the corresponding registers are not available.
33303
a4527b51
AS
333042011-05-19 Andreas Schwab <schwab@redhat.com>
33305
33306 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33307
ed690b2f
UD
333082011-05-19 Ulrich Drepper <drepper@gmail.com>
33309
33310 * libio/freopen.c (freopen): Use __dup2, not dup2.
33311 * libio/freopen64.c (freopen64): Likewise.
33312
8db73634
L
333132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33314
33315 [BZ #12775]
33316 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33317 * math/Makefile (tests): Add test-powl.
33318 (CFLAGS-test-powl.c): Define.
33319 * math/test-powl.c: New file.
33320
0a197a9d
L
333212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33322
33323 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33324
ee30c380
UD
333252011-05-17 Ulrich Drepper <drepper@gmail.com>
33326
33327 [BZ #11837]
33328 * iconvdata/gb18030.c: Update to GB18020-2005.
33329
6ce75379
UD
333302011-05-16 Ulrich Drepper <drepper@gmail.com>
33331
a4b89fd8
AR
33332 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33333 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33334 Patch by Aharon Robbins <arnold@skeeve.com>.
33335
ea389b12
UD
33336 [BZ #11892]
33337 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33338 on the stack.
33339
68a3f91f
UD
33340 [BZ #11895]
33341 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33342 through underflows.
33343
15cc7dd1
UD
33344 [BZ #12766]
33345 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33346 point to strings before performing equality test for error_one_per_line
33347 mode.
33348
f3799213
UD
33349 [BZ #11697]
33350 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33351
d79a9c94
UD
33352 [BZ #11820]
33353 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33354 (struct user_fpregs_struct): Avoid __uint*_t types.
33355
56e5eb46
UD
33356 [BZ #6420]
33357 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33358 symbol info. Use it instead of calling _dl_addr locally.
33359 (lock_and_info): New function.
33360 (tr_freehook): Call lock_and_info and pass symbol info as additional
33361 parameter to tr_where.
33362 (tr_mallochook): Likewise.
33363 (tr_reallochook): Likewise.
33364 (tr_memalignhook): Likewise.
33365
6ce75379
UD
33366 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33367 used and couldn't be at all thread-safe.
33368
f8a3b5bf
UD
333692011-05-15 Ulrich Drepper <drepper@gmail.com>
33370
94b7cc37
UD
33371 * libio/freopen.c (freopen): Don't close old file descriptor
33372 before the new one is opened. Instead dup the new file descriptor
33373 to the old one after the new stream is created.
33374 * libio/freopen64.c (freopen64): Likewise.
33375 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33376 * libio/fileops.c (_IO_new_file_close_it): Handle new
33377 _IO_FLAGS2_NOCLOSE flag.
33378 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33379 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33380 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33381 _IO_FLAGS2_NOCLOSE flag.
33382 * include/unistd.h: Add hidden_proto for dup3.
33383 Define __have_dup3.
33384 * io/dup3.c: Define hidden symbol.
33385 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33386
bd25564e
UD
33387 [BZ #7101]
33388 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33389 when an incomplete long option is used.
33390 * posix/tst-getopt_long1.c: New file.
33391 * posix/Makefile (tests): Add tst-getopt_long1.
33392
c84cfef4
UD
33393 [BZ #10138]
33394 * scripts/config.guess: Update from autoconf-2.68.
33395 * scripts/config.sub: Likewise.
33396
3b85df27
UD
33397 [BZ #10157]
33398 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33399 tests into ...
33400 (has_cpuclock): ...this. New function.
33401 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33402 macro here based on has_cpuclock code.
33403
15a856b1
UD
33404 [BZ #10149]
33405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33406 First byte (not low byte) is now always NUL.
33407 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33408
05f399e6
UD
33409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33410 Use non-cancelable interfaces.
33411
10a52685 33412 [BZ #9809]
94ecc67d
UD
33413 * locale/iso-639.def: Add entry for Sorani.
33414
f8a3b5bf
UD
33415 [BZ #11901]
33416 * include/stdlib.h: Move include protection to the right place.
33417 Define abort_msg_s. Declare __abort_msg with it.
33418 * stdlib/abort.c (__abort_msg): Adjust type.
33419 * assert/assert.c (__assert_fail_base): New function. Majority
33420 of code from __assert_fail. Allocate memory for __abort_msg with
33421 mmap.
33422 (__assert_fail): Now call __assert_fail_base.
33423 * assert/assert-perr.c: Remove bulk of implementation. Use
33424 __assert_fail_base.
33425 * include/assert.hL Declare __assert_fail_base.
33426 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33427 mmap.
33428 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33429
1af4e298
UD
334302011-05-14 Ulrich Drepper <drepper@gmail.com>
33431
f8a3b5bf 33432 [BZ #11952]
d26dfc60
MG
33433 [BZ #12453]
33434 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33435 until all modules are registered in the DTV.
33436 * elf/Makefile: Add rules to build and run tst-tls19.
33437 * elf/tst-tls19.c: New file.
33438 * elf/tst-tls19mod1.c: New file.
33439 * elf/tst-tls19mod2.c: New file.
33440 * elf/tst-tls19mod3.c: New file.
33441 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33442
2fc54d6f
UD
33443 [BZ #12083]
33444 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33445 correctly.
33446
98d76b46
UD
33447 [BZ #12601]
33448 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33449 two-byte sequence errors.
33450 * iconvdata/Makefile (tests): Add bug-iconv8.
33451 * iconvdata/bug-iconv8.c: New file.
33452
da3c19ef
UD
33453 [BZ #12626]
33454 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33455 buf2 definition.
33456
ca408c15
UD
33457 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33458
d6f67f7d
UD
33459 [BZ #12432]
33460 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33461 (dummy_getcfa): New function.
33462 (init): Get _Unwind_GetCFA address, use dummy if not found.
33463 (backtrace_helper): In recursion check, also check whether CFA changes.
33464 (__backtrace): Completely initialize arg.
33465
1af4e298 33466 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33467 storing incomplete byte sequence in state object. Avoid testing for
33468 guaranteed too small input if we know there is enough data available.
1af4e298 33469
da62f81b
AS
334702011-05-11 Andreas Schwab <schwab@redhat.com>
33471
33472 * Makeconfig (+link-pie): Indent.
33473 * Rules (binaries-pie): Define if $(have-fpie) and
33474 $(build-shared).
33475 (binaries-shared): Also filter out $(binaries-pie).
33476 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33477 * nscd/Makefile (others-pie): Add nscd.
33478 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33479 ($(objpfx)nscd): Remove command override.
33480 * login/Makefile (others-pie): Add pt_chown.
33481 ($(objpfx)pt_chown): Remove command override.
33482 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33483 remove command overrides.
33484
fcabc0f8
UD
334852011-05-13 Ulrich Drepper <drepper@gmail.com>
33486
20030ae6
UD
33487 * libio/tst_putwc.c: Fix error messages.
33488
fcabc0f8
UD
33489 [BZ #12724]
33490 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33491 currently writing and seek to current position when not.
33492 * libio/Makefile (tests): Add bug-fclose1.
33493 * libio/bug-fclose1.c: New file.
33494
320a5dc0
PB
334952011-05-12 Ulrich Drepper <drepper@gmail.com>
33496
33497 [BZ #12511]
33498 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33499 don't set DF_1_NODELETE here.
33500 (do_lookup_x): When entering new entry test for copy relocation
33501 and if necessary set DF_1_NODELETE flag.
33502 * elf/tst-unique4.cc: New file.
33503 * elf/tst-unique4.h: New file.
33504 * elf/tst-unique4lib.cc: New file.
33505 * elf/Makefile: Add rules to build and run tst-unique4.
33506 Patch by Piotr Bury <pbury@goahead.com>.
33507
22836f52
UD
335082011-05-11 Ulrich Drepper <drepper@gmail.com>
33509
f574184a
UD
33510 [BZ #12052]
33511 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33512
e1fb097f
UD
33513 [BZ #12625]
33514 * misc/mntent_r.c (addmntent): Flush the stream after the output
33515
22836f52
UD
33516 [BZ #12393]
33517 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33518 (is_trusted_path_normalize): Skip initial colon. Append slash
33519 to empty buffer. Duplicate is_trusted_path code but allow
33520 constructed patch to be prefix.
33521 (is_dst): Allow $ORIGIN followed by /.
33522 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33523 Correct testing of result of is_trusted_path_normalize
33524 (decompose_rpath): Fix warning.
33525
7b3b0b2a
UD
335262011-05-10 Ulrich Drepper <drepper@gmail.com>
33527
33528 [BZ #11257]
33529 * grp/initgroups.c (internal_getgrouplist): When we found the service
33530 list through the initgroups entry in nsswitch.conf do not always
33531 continue on a successful lookup. Don't always use the
eac80ce2 33532 __nss_group_database value if it is set.
7b3b0b2a
UD
33533 * nss/nsswitch.conf (initgroups): Change action for successful db
33534 lookup to continue for compatibility.
33535
2a81eaa5
UD
335362011-05-09 Ulrich Drepper <drepper@gmail.com>
33537
be97a69e
UD
33538 [BZ #11532]
33539 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33540 and CP774 modules.
33541 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33542 and CP774 modules.
33543 * iconvdata/tst-tables.sh: Likewise.
33544 * iconvdata/cp770.c: New file.
33545 * iconvdata/cp771.c: New file.
33546 * iconvdata/cp772.c: New file.
33547 * iconvdata/cp773.c: New file.
33548 * iconvdata/cp774.c: New file.
33549 * iconvdata/testdata/CP770: New file.
33550 * iconvdata/testdata/CP770..UTF8: New file.
33551 * iconvdata/testdata/CP771: New file.
33552 * iconvdata/testdata/CP771..UTF8: New file.
33553 * iconvdata/testdata/CP772: New file.
33554 * iconvdata/testdata/CP772..UTF8: New file.
33555 * iconvdata/testdata/CP773: New file.
33556 * iconvdata/testdata/CP773..UTF8: New file.
33557 * iconvdata/testdata/CP774: New file.
33558 * iconvdata/testdata/CP774..UTF8: New file.
33559
33560 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33561 END CHARMAP line.
33562 * iconvdata/gen-8bit-gap.sh: Likewise.
33563 * iconvdata/gen-8bit.sh: Likewise.
33564
c1e9e399
UD
33565 * locale/iso-639.def: Add ary entry.
33566
24c55fb3 33567 [BZ #11258]
96b4b1b0
UD
33568 * locale/C-translit.h.in: Add U20A1 transliteration.
33569
bdc2f971
KB
33570 [BZ #12178]
33571 * locale/iso-639.def: Add wae entry.
33572 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33573
2952b117
UD
33574 [BZ #12545]
33575 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33576 for n.
33577
2a81eaa5
UD
33578 [BZ #12711]
33579 * locale/C-translit.h.in: Add entry for U20B9.
33580 Patch by pravin.d.s@gmail.com.
33581
28377d1b
UD
335822011-05-08 Ulrich Drepper <drepper@gmail.com>
33583
7fb90fb8
UD
33584 [BZ #12713]
33585 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33586 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33587 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33588 in rtld. Use *stat64.
7fb90fb8 33589 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33590 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33591 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33592 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33593 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33594 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33595 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33596 __fstatat64 macros.
7fb90fb8
UD
33597 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33598 * dirent/rewinddir.c: Add libc_hidden_def.
33599 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33600 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33601
28377d1b
UD
33602 * include/dirent.h (__alloc_dir): Add flags parameter.
33603 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33604 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33605 __alloc_dir.
33606 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33607 from fdopendir if O_CLOEXEC is already set.
33608
66bdbaa4
AM
336092011-03-15 Alan Modra <amodra@gmail.com>
33610
33611 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33612 l_tls_firstbyte_offset non-zero. Save padding offset in
33613 l_tls_firstbyte_offset for later use.
33614 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33615 freeing static tls block.
33616
95721191
JN
336172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33618
33619 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33620 where #ifdef was intended. The intent is to prevent ARG_MAX from
33621 being defined by the kernel headers.
33622
f87dfb1f
UD
336232011-05-07 Ulrich Drepper <drepper@gmail.com>
33624
33625 [BZ #12734]
33626 * resolv/resolv.h: Define RES_NOTLDQUERY.
33627 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33628 no-tld-query and set RES_NOTLDQUERY.
33629 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33630 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33631 modern BIND to search name as TLD unless forbidden.
33632
47c3cd7a
UD
336332011-05-07 Petr Baudis <pasky@suse.cz>
33634 Ulrich Drepper <drepper@gmail.com>
33635
33636 [BZ #12393]
33637 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33638 (is_trusted_path): ...to here.
c1e9ea35 33639 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33640 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33641 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33642
8a35c912
PP
336432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33644
33645 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33646 __BEGIN/__END_DECLS.
33647
acd41f47
UD
336482011-05-06 Ulrich Drepper <drepper@gmail.com>
33649
33650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33651 NSS_STATUS_NOTFOUND if no record was found.
33652
597df647
AS
336532011-05-05 Andreas Schwab <schwab@redhat.com>
33654
33655 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33656 (headers-not-in-tirpc): Remove rpc/netdb.h
33657 * resolv/netdb.h: Revert last change.
33658
b9af1301
PP
336592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33660
33661 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33662 circular dependency between libgcc.a and libc.a.
33663
4e34d5f5
AS
336642011-05-05 Andreas Schwab <schwab@redhat.com>
33665
33666 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33667 * nis/Makefile: Don't install rpcsvc/*.
33668 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33669 instead of <rpc/types.h>.
33670 (MAXHOSTNAMELEN): Define.
33671
00ee369c
AS
336722011-05-03 Andreas Schwab <schwab@redhat.com>
33673
33674 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33675
0b592a30
MB
336762011-04-28 Maciej Babinski <mbabinski@google.com>
33677
33678 [BZ #12714]
33679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33680 gethostbyname4_r when IPv6 results are possible.
33681
6e04cbbe
UD
336822011-05-02 Ulrich Drepper <drepper@gmail.com>
33683
33684 [BZ #12723]
33685 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33686 _PC_PIPE_BUF handling.
33687
e4ecafe0
BH
336882011-04-30 Bruno Haible <bruno@clisp.org>
33689
33690 [BZ #12717]
33691 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33692 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33693 to 'int'.
33694 * inet/getnameinfo.c (getnameinfo): Likewise.
33695
125ee683
UD
336962011-04-29 Ulrich Drepper <drepper@gmail.com>
33697
33698 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33699 to groups setting in database lookup.
33700 * nss/nsswitch.conf: Add initgroups entry.
33701
b722481a
EB
337022011-04-22 Ulrich Drepper <drepper@gmail.com>
33703
33704 [BZ #12685]
33705 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33706 mode string.
33707 Patch by Eric Blake <eblake@redhat.com>.
33708
4df46dbd
L
337092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33710
33711 * sunrpc/Makefile (need-export-routines): Add svc_run.
33712 (routines): Remove svc_run.
33713 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33714 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33715 * sunrpc/svc_run.c (svc_run): Likewise.
33716 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33717
e84142d2
UD
337182011-04-21 Ulrich Drepper <drepper@gmail.com>
33719
33720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33721 problem in reallocation in last patch.
33722
877175d8
UD
337232011-04-20 Ulrich Drepper <drepper@gmail.com>
33724
33725 * sunrpc/Makefile: Move inclusion of Rules.
33726
ab8eed78
UD
337272011-04-19 Ulrich Drepper <drepper@gmail.com>
33728
33729 * nss/nss_files/files-initgroups.c: New file.
33730 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33731 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33732 _nss_files_initgroups_dyn.
33733
e3d8f584
RS
337342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33735
33736 * elf/elf.h (R_ARM_IRELATIVE): Define.
33737
af190f45
UD
337382011-04-19 Ulrich Drepper <drepper@gmail.com>
33739
33740 * po/ru.po: Update from translation team.
33741
53cf59ef
UD
337422011-04-17 Ulrich Drepper <drepper@gmail.com>
33743
33744 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33745 dependencies.
33746
4c559bcd
MF
337472011-02-06 Mike Frysinger <vapier@gentoo.org>
33748
33749 [BZ #12653]
33750 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33751 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33753 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33755
4420675c
AS
337562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33757
33758 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33759 differing bytes.
33760 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33761 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33762 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33763
75ea32ab
UD
337642011-04-17 Ulrich Drepper <drepper@gmail.com>
33765
33766 [BZ #12420]
33767 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33768 storing it.
33769 * stdlib/bug-getcontext.c: New file.
33770 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33771
27390476
AK
337722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33773
33774 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33775 instructions into .machine "z9-109".
33776 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33777 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33778
10442705
AK
337792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33780
33781 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33782 between environment variables and auxiliary vector.
33783
7b57bfe5
UD
337842011-04-16 Ulrich Drepper <drepper@gmail.com>
33785
33786 * Makefile: Add rules to build linkobj/libc.so.
33787 * include/libc-symbols.h: Define libc_hidden_nolink.
33788 * include/rpc/auth.h: Mark functions which are to be hidden.
33789 * include/rpc/auth_des.h: Likewise.
33790 * include/rpc/auth_unix.h: Likewise.
33791 * include/rpc/clnt.h: Likewise.
33792 * include/rpc/des_crypt.h: Likewise.
33793 * include/rpc/key_prot.h: Likewise.
33794 * include/rpc/pmap_clnt.h: Likewise.
33795 * include/rpc/pmap_prot.h: Likewise.
33796 * include/rpc/pmap_rmt.h: Likewise.
33797 * include/rpc/rpc_msg.h: Likewise.
33798 * include/rpc/svc.h: Likewise.
33799 * include/rpc/svc_auth.h: Likewise.
33800 * include/rpc/xdr.h: Likewise.
33801 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33802 * nss/Makefile: Likewise.
33803 * sunrpc/Makefile: Don't install headers. Build library with normal
33804 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33805 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33806 for the compat linking library. Remove use of INTDEF/INTUSE.
33807 * sunrpc/auth_none.c: Likewise.
33808 * sunrpc/auth_unix.c: Likewise.
33809 * sunrpc/authdes_prot.c: Likewise.
33810 * sunrpc/authuxprot.c: Likewise.
33811 * sunrpc/clnt_gen.c: Likewise.
33812 * sunrpc/clnt_perr.c: Likewise.
33813 * sunrpc/clnt_raw.c: Likewise.
33814 * sunrpc/clnt_simp.c: Likewise.
33815 * sunrpc/clnt_tcp.c: Likewise.
33816 * sunrpc/clnt_udp.c: Likewise.
33817 * sunrpc/clnt_unix.c: Likewise.
33818 * sunrpc/des_crypt.c: Likewise.
33819 * sunrpc/des_soft.c: Likewise.
33820 * sunrpc/get_myaddr.c: Likewise.
33821 * sunrpc/key_call.c: Likewise.
33822 * sunrpc/key_prot.c: Likewise.
33823 * sunrpc/netname.c: Likewise.
33824 * sunrpc/pm_getmaps.c: Likewise.
33825 * sunrpc/pm_getport.c: Likewise.
33826 * sunrpc/pmap_clnt.c: Likewise.
33827 * sunrpc/pmap_prot.c: Likewise.
33828 * sunrpc/pmap_prot2.c: Likewise.
33829 * sunrpc/pmap_rmt.c: Likewise.
33830 * sunrpc/publickey.c: Likewise.
33831 * sunrpc/rpc_cmsg.c: Likewise.
33832 * sunrpc/rpc_common.c: Likewise.
33833 * sunrpc/rpc_dtable.c: Likewise.
33834 * sunrpc/rpc_prot.c: Likewise.
33835 * sunrpc/rpc_thread.c: Likewise.
33836 * sunrpc/rtime.c: Likewise.
33837 * sunrpc/svc.c: Likewise.
33838 * sunrpc/svc_auth.c: Likewise.
33839 * sunrpc/svc_authux.c: Likewise.
33840 * sunrpc/svc_raw.c: Likewise.
33841 * sunrpc/svc_run.c: Likewise.
33842 * sunrpc/svc_simple.c: Likewise.
33843 * sunrpc/svc_tcp.c: Likewise.
33844 * sunrpc/svc_udp.c: Likewise.
33845 * sunrpc/svc_unix.c: Likewise.
33846 * sunrpc/svcauth_des.c: Likewise.
33847 * sunrpc/xcrypt.c: Likewise.
33848 * sunrpc/xdr.c: Likewise.
33849 * sunrpc/xdr_array.c: Likewise.
33850 * sunrpc/xdr_float.c: Likewise.
33851 * sunrpc/xdr_intXX_t.c: Likewise.
33852 * sunrpc/xdr_mem.c: Likewise.
33853 * sunrpc/xdr_rec.c: Likewise.
33854 * sunrpc/xdr_ref.c: Likewise.
33855 * sunrpc/xdr_sizeof.c: Likewise.
33856 * sunrpc/xdr_stdio.c: Likewise.
33857
e6c61494
UD
338582011-04-10 Ulrich Drepper <drepper@gmail.com>
33859
33860 [BZ #12650]
33861 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33862 * sysdeps/ia64/dl-tls.h: Likewise.
33863 * sysdeps/powerpc/dl-tls.h: Likewise.
33864 * sysdeps/s390/dl-tls.h: Likewise.
33865 * sysdeps/sh/dl-tls.h: Likewise.
33866 * sysdeps/sparc/dl-tls.h: Likewise.
33867 * sysdeps/x86_64/dl-tls.h: Likewise.
33868 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33869
34fe483e
AS
338702011-03-14 Andreas Schwab <schwab@redhat.com>
33871
33872 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33873 rpath element also skip the following colon.
33874 (expand_dynamic_string_token): Add is_path parameter and pass
33875 down to DL_DST_REQUIRED and _dl_dst_substitute.
33876 (decompose_rpath): Call expand_dynamic_string_token with
33877 non-zero is_path. Ignore empty rpaths.
33878 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33879 with zero is_path.
33880
f12a32e6
AS
338812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33882
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33884 Make cancelable.
33885
38a7d692
UD
338862011-04-09 Ulrich Drepper <drepper@gmail.com>
33887
33888 [BZ #12655]
33889 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33890 Patch by Filipe David Manana <fdmanana@apache.org>.
33891
e451d22b
AS
338922011-04-07 Andreas Schwab <schwab@redhat.com>
33893
33894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33895 Maintain aligned stack.
33896 (CHECK_RSP): Remove unused macro.
33897
dedc7c7b
UD
338982011-04-03 Ulrich Drepper <drepper@gmail.com>
33899
33900 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33901 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33902
94521213
UD
339032011-04-02 Ulrich Drepper <drepper@gmail.com>
33904
33905 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33906
8cb700c0 33907 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33908
0354e355
L
339092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33910
33911 [BZ #12518]
33912 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33913 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33914 * sysdeps/x86_64/memmove.c: New file.
33915 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33916 (memcpy): Renamed to ...
33917 (__new_memcpy): This.
33918 (memcpy): Provide GLIBC_2_14 memcpy.
33919 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33920 (memcpy): Provide GLIBC_2_2_5 memcpy.
33921
8593482f
UD
339222011-04-01 Ulrich Drepper <drepper@gmail.com>
33923
33924 [BZ #12631]
33925 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33926
81a5726b
AS
339272011-03-30 Andreas Schwab <schwab@redhat.com>
33928
33929 * misc/syncfs.c: New file.
33930 * misc/Makefile (routines): Add syncfs.
33931 * posix/unistd.h: Declare syncfs.
33932 * sysdeps/unix/syscalls.list: Add syncfs.
33933
00e5419f
AS
339342011-04-01 Andreas Schwab <schwab@redhat.com>
33935
33936 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33937 open_by_handle_at.
33938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33943 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33945
748876bf
UD
339462011-04-01 Ulrich Drepper <drepper@gmail.com>
33947
658e451d
UD
33948 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33949 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33950 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33952 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33954 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33955
748876bf
UD
33956 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33957 sync_file_range.c with -fexceptions.
33958 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33959 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33960 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33961 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33962 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33963 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33964 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33965 sync_file_range as cancellation point
33966 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33967 now a wrapper around __call_sync_file_range with cancellation handling.
33968 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33969 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33970 function name to __call_sync_file_range.
33971 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33972 Add call_sync_file_range.
748876bf 33973
6e63d5e1
AS
339742011-04-01 Andreas Schwab <schwab@redhat.com>
33975
33976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33977 bits/timex.h.
6e63d5e1 33978
46998f74
UD
339792011-04-01 Ulrich Drepper <drepper@gmail.com>
33980
4c1423ed
UD
33981 * iconv/iconv.h: Fix typo in comment.
33982 * io/fcntl.h: Likewise.
33983 * libio/stdio.h: Likewise.
33984 * posix/spawn.h: Likewise.
33985 * posix/unistd.h: Likewise.
33986 * stdlib/stdlib.h: Likewise.
33987 * time/time.h: Likewise.
33988 * wcsmbs/wchar.h: Likewise.
33989
158648c0
UD
33990 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33991 open_by_handle): Add.
33992 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33993 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33994 Augment a few comments.
33995 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33997 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34000 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34001 open_by_handle.
34002
46998f74
UD
34003 * io/fcntl.h (AT_EMPTY_PATH): Define.
34004
83fe108b
UD
340052011-03-30 Ulrich Drepper <drepper@gmail.com>
34006
34007 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34008 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34009 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34010 to...
34011 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34012 * Versions.def: Add GLIBC_2.14.
34013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34014 Export.
83fe108b 34015
bb242059
UD
340162011-03-22 Ulrich Drepper <drepper@gmail.com>
34017
34018 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34019 round counter.
34020 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34021
c97a1282
L
340222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34023
34024 [BZ #12597]
34025 * string/test-strncmp.c (do_page_test): New function.
34026 (check2): Likewise.
34027 (test_main): Call check2.
34028 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34029
2a115601
UD
340302011-03-20 Ulrich Drepper <drepper@gmail.com>
34031
34032 [BZ #12587]
34033 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34034 Handle cache information in CPU leaf 4.
34035 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34036
8126d904
UD
340372011-03-18 Ulrich Drepper <drepper@gmail.com>
34038
042c49c6 34039 [BZ #12583]
8126d904
UD
34040 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34041 character representation.
34042 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34043
ccfe366e
RA
340442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34045
34046 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34047 END(__isnan) to END(__isnanf) to match function entry point/label
34048 EALIGN(__isnanf,...).
34049
c6e13027
JJ
340502011-03-10 Jakub Jelinek <jakub@redhat.com>
34051
34052 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34053
33f85a3f
UD
340542011-03-10 Ulrich Drepper <drepper@gmail.com>
34055
028478fa
UD
34056 [BZ #12510]
34057 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34058 copy from the symbol referenced in the relocation to initialize the
34059 used variable.
34060 Patch by Piotr Bury <pbury@goahead.com>.
34061 * elf/Makefile: Add rules to build and tst-unique3.
34062 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34063 * elf/tst-unique3.cc: New file.
34064 * elf/tst-unique3.h: New file.
34065 * elf/tst-unique3lib.cc: New file.
34066 * elf/tst-unique3lib2.cc: New file.
34067
33f85a3f
UD
34068 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34069
03592fc7
MF
340702011-03-10 Mike Frysinger <vapier@gentoo.org>
34071
34072 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34073 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34074 to _start.
03592fc7 34075
6a5ee102
UD
340762011-03-06 Ulrich Drepper <drepper@gmail.com>
34077
34078 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34079 to-be-loaded object along a path to loader is ld.so.
34080
7e4ba49c
HJ
340812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34082 Ulrich Drepper <drepper@gmail.com>
34083
34084 * sysdeps/x86_64/memset.S: After aligning destination, code
34085 branches to different locations depending on the value of
34086 misalignment, when multiarch is enabled. Fix this.
34087
340882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34089
34090 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34091 Set _x86_64_preferred_memory_instruction for AMD processsors.
34092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34093 Set bit_Prefer_SSE_for_memop for AMD processors.
34094
13a804de
UD
340952011-03-04 Ulrich Drepper <drepper@gmail.com>
34096
34097 * libio/fmemopen.c (fmemopen): Optimize a bit.
34098
9d25c392
AS
340992011-03-03 Andreas Schwab <schwab@redhat.com>
34100
34101 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34102
a5543c6a
RM
341032011-03-03 Roland McGrath <roland@redhat.com>
34104
34105 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34106
012d35f7
DM
341072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34108
7e4ba49c 34109 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34110 __bzero_ultra1 instead of __memset_ultra1.
34111
4bff6e01
AS
341122011-02-23 Andreas Schwab <schwab@redhat.com>
34113 Ulrich Drepper <drepper@gmail.com>
34114
34115 [BZ #12509]
34116 * include/link.h (struct link_map): Add l_orig_initfini.
34117 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34118 returning unsuccessfully.
34119 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34120 close of a file loaded at startup, restore the original l_initfini
34121 list.
34122 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34123 list, store the pointer.
34124 * elf/Makefile ($(objpfx)noload-mem): New rule.
34125 (noload-ENV): Define.
34126 (tests): Add $(objpfx)noload-mem.
34127 * elf/noload.c: Include <memcheck.h>.
34128 (main): Call mtrace. Close all opened handles.
34129
f2092faf
AS
341302011-02-17 Andreas Schwab <schwab@redhat.com>
34131
34132 [BZ #12454]
34133 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34134 dependencies are missing.
34135
6c8a2e88
ST
341362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34137
f2092faf 34138 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34139 Hurd needs munmap.
34140 * sysdeps/mach/hurd/ifreq.h: New file.
34141
84a42118
PB
341422011-01-27 Petr Baudis <pasky@suse.cz>
34143 Ulrich Drepper <drepper@gmail.com>
34144
071f805e 34145 [BZ 12445]#
84a42118
PB
34146 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34147 to extend_alloca().
34148 * stdio-common/bug23.c: New file.
34149 * stdio-common/Makefile (tests): Add bug23.
34150
e23fe25b
AS
341512010-09-28 Andreas Schwab <schwab@redhat.com>
34152 Ulrich Drepper <drepper@gmail.com>
34153
34154 [BZ #12489]
34155 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34156 before performing relro protection. At old place add assertion
34157 to make sure nothing changed.
34158
d3f02e10
NS
341592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34160 Glauber de Oliveira Costa <glommer@gmail.com>
34161
34162 * elf/elf.h: Add new ARM TLS relocs.
34163
d55fd7a5
RA
341642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34165
34166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34167 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34168 cast from r3.
34169 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34170 'tests' variable.
34171 * sysdeps/wordsize-64/tst-writev.c: New file.
34172
2206397e
RA
341732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34174
34175 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34176 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34177 insns in _dl_start to prevent a TOC reference before relocs are
34178 resolved.
34179
e9433893
UD
341802011-02-15 Ulrich Drepper <drepper@gmail.com>
34181
34182 [BZ #12469]
34183 * Makeconfig: Remove RANLIB definition.
34184 * Makerules: Don't use RANLIB.
34185 * aclocal.m4: Remove ranlib test.
34186 * configure.in: No need to check for ranlib.
34187 * elf/rtld-Rules: Don't use RANLIB.
34188
f75286c6
ST
341892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34190
8e31c82d
ST
34191 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34192 protection macro.
34193 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34194 inclusion protection macro.
34195
f75286c6
ST
34196 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34197 SIGRTMIN and SIGRTMAX and print information in that case only when
34198 SIGRTMIN is defined.
34199
c1d0e639
JJ
342002011-02-11 Jakub Jelinek <jakub@redhat.com>
34201
34202 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34203 arginfo fn returning -1.
34204
34205 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34206 and thousands string is zero terminated.
34207
edf9294e
AS
342082011-02-03 Andreas Schwab <schwab@redhat.com>
34209
34210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34211 sysdeps/unix/sysv/linux/bits/socket.h.
34212
2b7e92df
ST
342132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34214
edf9294e
AS
34215 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34216 (__CPU_COUNT): Remove old macros.
34217 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34218 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34219 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34220 (__sched_cpualloc, __sched_cpufree): Add declarations.
34221
a4c7ea7b
UD
342222011-02-05 Ulrich Drepper <drepper@gmail.com>
34223
34224 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34225 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34226 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34227 (readdhstai): Return value of addhstaiX call.
34228 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34229 (addgrbyX): Return value returned by cache_addgr.
34230 (readdgrbyname): Return value returned by addgrbyX.
34231 (readdgrbygid): Likewise.
34232 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34233 (addpwbyX): Return value returned by cache_addpw.
34234 (readdpwbyname): Return value returned by addhstbyX.
34235 (readdpwbyuid): Likewise.
34236 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34237 (addservbyX): Return value returned by cache_addserv.
34238 (readdservbyname): Return value returned by addservbyX:
34239 (readdservbyport): Likewise.
34240 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34241 (addhstbyX): Return value returned by cache_addhst.
34242 (readdhstbyname): Return value returned by addhstbyX.
34243 (readdhstbyaddr): Likewise.
34244 (readdhstbynamev6): Likewise.
34245 (readdhstbyaddrv6): Likewise.
34246 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34247 (readdinitgroups): Return value returned by addinitgroupsX.
34248 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34249 (prune_cache): Keep track of timeout value of re-added entries.
34250 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34251 * nscd/nscd.h: Adjust prototypes of readd* functions.
34252
a0bf67cc
RM
342532011-02-04 Roland McGrath <roland@redhat.com>
34254
34255 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34256 (nis_stats): Likewise.
34257 * nis/nis_modify.c (nis_modify): Likewise.
34258 * nis/nis_remove.c (nis_remove): Likewise.
34259 * nis/nis_add.c (nis_add): Likewise.
34260
34261 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34262
34263 * posix/fnmatch_loop.c: Add some consts.
34264
34265 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34266
435b95eb
L
342672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34268
34269 [BZ #12460]
34270 * config.make.in (config-cflags-novzeroupper): Define.
34271 * configure.in: Substitute libc_cv_cc_novzeroupper.
34272 * elf/Makefile (AVX-CFLAGS): Define.
34273 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34274 (CFLAGS-tst-auditmod4a.c): Likewise.
34275 (CFLAGS-tst-auditmod4b.c): Likewise.
34276 (CFLAGS-tst-auditmod6b.c): Likewise.
34277 (CFLAGS-tst-auditmod6c.c): Likewise.
34278 (CFLAGS-tst-auditmod7b.c): Likewise.
34279 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34280
8517b15e
UD
342812011-02-02 Ulrich Drepper <drepper@gmail.com>
34282
34283 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34284 function to the callback.
34285 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34286
10a656fe
AS
342872011-02-02 Andreas Schwab <schwab@redhat.com>
34288
34289 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34290 of errno.
34291
968dad0a
UD
342922011-01-19 Ulrich Drepper <drepper@gmail.com>
34293
9f94d2ea 34294 [BZ #11724]
968dad0a
UD
34295 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34296 of constructors.
34297 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34298 of destructors.
34299 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34300
34301 [BZ #11724]
34302 * elf/Makefile: Add rules to build and run new test.
34303 * elf/tst-initorder.c: New file.
34304 * elf/tst-initorder.exp: New file.
34305 * elf/tst-initordera1.c: New file.
34306 * elf/tst-initordera2.c: New file.
34307 * elf/tst-initordera3.c: New file.
34308 * elf/tst-initordera4.c: New file.
34309 * elf/tst-initorderb1.c: New file.
34310 * elf/tst-initorderb2.c: New file.
34311 * elf/tst-order-a1.c: New file.
34312 * elf/tst-order-a2.c: New file.
34313 * elf/tst-order-a3.c: New file.
34314 * elf/tst-order-a4.c: New file.
34315 * elf/tst-order-b1.c: New file.
34316 * elf/tst-order-b2.c: New file.
34317 * elf/tst-order-main.c: New file.
34318 New test case by George Gensure <werkt0@gmail.com>.
34319
86e92359
UD
343202010-10-01 Andreas Schwab <schwab@redhat.com>
34321
34322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34323 decoding ACE if AI_CANONIDN.
34324
5d5732b0
UD
343252011-01-18 Ulrich Drepper <drepper@gmail.com>
34326
34327 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34328
a77e8cbc
UD
343292011-01-17 Ulrich Drepper <drepper@gmail.com>
34330
6392473f
UD
34331 * version.h (RELEASE): Bump for 2.13 release.
34332 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34333
620a0529
UD
34334 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34335
18ba70a5
UD
34336 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34337 MADV_NOHUGEPAGE.
32465c3e
UD
34338 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34340 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34341 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34342 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34343 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34344
c0dafcf1
UD
34345 * posix/getconf.c: Update copyright year.
34346 * catgets/gencat.c: Likewise.
34347 * csu/version.c: Likewise.
34348 * debug/catchsegv.sh: Likewise.
34349 * debug/xtrace.sh: Likewise.
34350 * elf/ldconfig.c: Likewise.
34351 * elf/ldd.bash.in: Likewise.
34352 * elf/sprof.c (print_version): Likewise.
34353 * iconv/iconv_prog.c: Likewise.
34354 * iconv/iconvconfig.c: Likewise.
34355 * locale/programs/locale.c: Likewise.
34356 * locale/programs/localedef.c: Likewise.
34357 * malloc/memusage.sh: Likewise.
34358 * malloc/mtrace.pl: Likewise.
34359 * nscd/nscd.c (print_version): Likewise.
34360 * nss/getent.c: Likewise.
34361
a77e8cbc
UD
34362 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34363 PF_CAIF, and PF_ALG.
34364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34365
77e8bddf
AS
343662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34367
1f20b93a
AS
34368 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34369 (modules-names): Use them.
34370 (ifunc-test-modules, ifunc-pie-tests): Define.
34371 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34372 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34373 (test-extras): Likewise.
34374 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34375 $(compile-command.c).
34376 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34377 (all-built-dso): Define.
34378 (check-textrel.out, check-execstack.out): Depend on it.
34379
77e8bddf
AS
34380 * configure.in: Don't override --enable-multi-arch.
34381
bc425b33
UD
343822011-01-15 Ulrich Drepper <drepper@gmail.com>
34383
34384 [BZ #6812]
34385 * nscd/hstcache.c (tryagain): Define.
34386 (cache_addhst): Return tryagain not notfound for temporary errors.
34387 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34388 failed.
34389
794c3ad3
UD
343902011-01-14 Ulrich Drepper <drepper@gmail.com>
34391
70181fdd
UD
34392 [BZ #10563]
34393 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34394 to make the syscall.
34395 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34396
794c3ad3
UD
34397 [BZ #12378]
34398 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34399 and fall back to matching as normal character if the string ends before
34400 the matching ']' is found. This is what POSIX requires.
34401 * posix/testfnm.c: Adjust test result.
34402 * posix/globtest.sh: Adjust test result. Add new test.
34403 * posix/tst-fnmatch.input: Likewise.
34404 * posix/tst-fnmatch2.c: Add new test.
34405
68dc9497
AS
344062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34407
34408 * elf/Makefile (check-execstack): Revert last change. Depend on
34409 check-execstack.h.
34410 (check-execstack.h): New target.
34411 (generated): Add check-execstack.h.
34412 * elf/check-execstack.c: Include "check-execstack.h".
34413 (main): Revert last change.
34414 (handle_file): Return zero if GNU_STACK is absent and
34415 DEFAULT_STACK_PERMS doesn't include PF_X.
34416
451f001b
UD
344172011-01-13 Ulrich Drepper <drepper@gmail.com>
34418
cfa28e56
UD
34419 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34420 in child fails because the descriptor is already closed.
8cf8ce17
UD
34421 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34422 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34423 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34424
1086d70d
UD
34425 [BZ #12397]
34426 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34427 syscall.
34428
451f001b
UD
34429 [BZ #10484]
34430 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34431 temporary buffer used to handle multi lookups locally.
a85b5cb4 34432 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34433
08769175
UD
344342011-01-12 Ulrich Drepper <drepper@gmail.com>
34435
34436 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34437 loader is ld.so.
34438
5e49c52e
UD
344392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34440
34441 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34442 alignment for SSE2.
34443
60522a5f
UD
344442011-01-12 Ulrich Drepper <drepper@gmail.com>
34445
34446 [BZ #12394]
34447 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34448 characters. When rounding increased number of integer digits recompute
34449 number of groups.
34450 * stdio-common/tst-grouping.c: New file.
34451 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34452
f257bbd7
UD
344532011-01-09 Ulrich Drepper <drepper@gmail.com>
34454
34455 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34456 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34457
34458 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34459 void.
34460 * bits/select.h: Likewise.
34461
fa9c15cb
UD
344622011-01-08 Ulrich Drepper <drepper@gmail.com>
34463
34464 * po/ja.po: Update from translation team.
34465
16c2895f
DM
344662011-01-04 David S. Miller <davem@sunset.davemloft.net>
34467
34468 [BZ #11155]
34469 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34470 implementation just like for lxstat, fxstatat, et al.
34471
2543fef2
JM
344722010-12-27 Jim Meyering <meyering@redhat.com>
34473
34474 [BZ #12348]
34475 * posix/regexec.c (build_trtable): Return failure indication upon
34476 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34477
98727dbe
UD
344782010-12-25 Ulrich Drepper <drepper@gmail.com>
34479
5bd6dc5c
UD
34480 [BZ #12201]
34481 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34482 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34483 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34484 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34485
97983464
UD
34486 [BZ #12207]
34487 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34488
98727dbe
UD
34489 [BZ #12204]
34490 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34491 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34492
4a531bb0
L
344932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34494
34495 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34496 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34497 script has SORT_BY_INIT_PRIORITY.
34498 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34499 NO_CTORS_DTORS_SECTIONS is defined.
34500 * elf/soinit.c: Likewise.
34501 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34502 NO_CTORS_DTORS_SECTIONS is defined.
34503 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34504 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34505 * sysdeps/sh/init-first.c: Likewise.
34506 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34507
07eb4b71
UD
345082010-12-24 Ulrich Drepper <drepper@gmail.com>
34509
34510 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34511 always use the slow path.
34512
30950a5f
RA
345132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34514
34515 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34516 similar rule which adds the sysdep directories to the header search in
34517 order to pick up the correct platform stackinfo.h.
34518 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34519 perform test if it is, otherwise return successfully without testing.
34520 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34521 DEFAULT_STACK_PERMS define in stackinfo.h.
34522 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34523 defined in stackinfo.h.
34524 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34525 DEFAULT_STACK_PERMS defined in stackinfo.h.
34526 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34527 * sysdeps/ia64/stackinfo.h: Likewise.
34528 * sysdeps/s390/stackinfo.h: Likewise.
34529 * sysdeps/sh/stackinfo.h: Likewise.
34530 * sysdeps/sparc/stackinfo.h: Likewise.
34531 * sysdeps/x86_64/stackinfo.h: Likewise.
34532 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34533 PF_X for powerpc64. Retain PF_X for powerpc32.
34534
db753e2c
UD
345352010-12-19 Ulrich Drepper <drepper@gmail.com>
34536
14b697f7
UD
34537 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34538 accurately.
db753e2c
UD
34539 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34540 GETDENTS_64BIT_ALIGNED.
34541
28300719
UD
345422010-12-14 Ulrich Drepper <dreper@gmail.com>
34543
14b697f7 34544 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34545
4f197237
AS
345462010-12-10 Andreas Schwab <schwab@redhat.com>
34547
dbb0472f
AS
34548 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34549 _GNU_SOURCE.
34550
4f197237
AS
34551 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34552 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34553 Remove __restrict.
34554 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34555 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34556
fb88ac72
UD
345572010-12-09 Ulrich Drepper <drepper@gmail.com>
34558
34559 [BZ #11655]
34560 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34561 are initialized.
34562
42acbb92
JJ
345632010-12-09 Jakub Jelinek <jakub@redhat.com>
34564
34565 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34566
c038d98d
UD
345672010-12-03 Ulrich Drepper <drepper@gmail.com>
34568
34569 * po/it.po: Update from translation team.
34570
3a4a2499
L
345712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34572
34573 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34574 unused codes.
34575
1e24cf6e
UD
345762010-11-30 Ulrich Drepper <drepper@gmail.com>
34577
34578 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34579
a7690819
AS
345802010-11-24 Andreas Schwab <schwab@redhat.com>
34581
34582 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34583 specially.
34584 (gaih_getanswer_slice): Likewise.
34585
3bf8d1b1
JJ
345862010-10-20 Jakub Jelinek <jakub@redhat.com>
34587
34588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34589
6db52fbb
PB
345902010-05-31 Petr Baudis <pasky@suse.cz>
34591
34592 [BZ #11149]
34593 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34594 silently even in the chroot mode.
34595
eaca7569
UD
345962010-11-22 Ulrich Drepper <drepper@gmail.com>
34597
34598 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34599 last patch a bit. Pretty printing
34600
3056dcdb
UD
346012010-05-31 Petr Baudis <pasky@suse.cz>
34602
34603 [BZ #10085]
34604 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34605 initialization of skip_initgroups_dyn.
34606
cf7c9078
UD
346072010-11-19 Ulrich Drepper <drepper@gmail.com>
34608
34609 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34610 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34611
a1fb5e3e
UD
346122010-11-16 Ulrich Drepper <drepper@gmail.com>
34613
34614 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34615
3540d66b
AS
346162010-11-11 Andreas Schwab <schwab@redhat.com>
34617
34618 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34619 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34620 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34621 ($(objpfx)tst-fnmatch-mem): New rule.
34622 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34623 * posix/tst-fnmatch.c (main): Call mtrace.
34624
13b69574
L
346252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34626
34627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34628 Support Intel processor model 6 and model 0x2c.
34629
da93d214
LM
346302010-11-10 Luis Machado <luisgpm@br.ibm.com>
34631
34632 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34633 signed comparison.
34634
8ca52c6e
L
346352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34636
34637 [BZ #12205]
34638 * string/test-strncasecmp.c (check_result): New function.
34639 (do_one_test): Use it.
34640 (check1): New function.
34641 (test_main): Use it.
34642 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34643 Support strcasecmp and strncasecmp.
34644
69da074d
UD
346452010-11-08 Ulrich Drepper <drepper@gmail.com>
34646
34647 [BZ #12194]
34648 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34649 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34650
ff02d528
L
346512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34652
34653 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34654 IFUNC support.
34655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34656 memset-x86-64.
34657 * sysdeps/x86_64/multiarch/bzero.S: New file.
34658 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34659 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34660 * sysdeps/x86_64/multiarch/memset.S: New file.
34661 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34663 Set bit_Prefer_SSE_for_memop for Intel processors.
34664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34665 Define.
34666 (index_Prefer_SSE_for_memop): Define.
34667 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34668
344d0b54
LM
346692010-11-04 Luis Machado <luisgpm@br.ibm.com>
34670
34671 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34672 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34673
c0dde15b
UD
346742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34675
34676 [BZ #12191]
34677 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34678 (__x86_64_raw_data_cache_size_half): Likewise.
34679 (__x86_64_raw_shared_cache_size): Likewise.
34680 (__x86_64_raw_shared_cache_size_half): Likewise.
34681
34682 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34683 (__x86_64_raw_data_cache_size_half): Likewise.
34684 (__x86_64_raw_shared_cache_size): Likewise.
34685 (__x86_64_raw_shared_cache_size_half): Likewise.
34686 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34687 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34688 and __x86_64_raw_shared_cache_size_half. Round
34689 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34690 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34691 to multiple of 256 bytes.
34692
0e516e0e
MS
346932010-11-03 Ulrich Drepper <drepper@gmail.com>
34694
34695 [BZ #12167]
34696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34697 of inacessible symlinks. Verify result of symlink before returning it.
34698 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34699 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34700
0e012e87
ER
347012010-10-28 Erich Ritz <erichritz@gmail.com>
34702
34703 * math/math.h (isinf): Fix typo in comment.
34704
de0ff7bc
UD
347052010-11-01 Ulrich Drepper <drepper@gmail.com>
34706
34707 * po/da.po: Update from translation team.
34708
fa41c84d
UD
347092010-10-26 Ulrich Drepper <drepper@gmail.com>
34710
34711 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34712 is added to the list.
34713
f0967738
AK
347142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34715 Ulrich Drepper <drepper@gmail.com>
34716
34717 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34718 the global list here. Move code to...
34719 (_dl_add_to_namespace_list): ...here. New function.
34720 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34721 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34722 * elf/dl-load.c (lose): Don't remove the element from the list.
34723 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34724 (_dl_map_object): Likewise.
34725
347262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34727
34728 [BZ #12159]
34729 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34730 into all bytes of SSE register.
34731 Patch by Richard Li <richardpku@gmail.com>.
34732
f0967738 347332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34734
34735 [BZ #12140]
34736 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34737 perturbing.
34738
d0b9e94f
MB
347392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34740
34741 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34742 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34743 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34744 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34746 submachine.
34747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34748
8e9f92e9
AS
347492010-10-22 Andreas Schwab <schwab@redhat.com>
34750
34751 * include/dlfcn.h (__RTLD_SECURE): Define.
34752 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34753 mode & __RTLD_SECURE instead.
34754 (open_path): Rename preloaded parameter to secure.
34755 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34756 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34757 * elf/dl-deps.c (openaux): Likewise.
34758 * elf/rtld.c (struct map_args): Remove is_preloaded.
34759 (map_doit): Don't use it.
34760 (dl_main): Likewise.
34761 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34762 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34763
bc96fbda
AS
347642010-09-09 Andreas Schwab <schwab@redhat.com>
34765
34766 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34767 (sysd-rules-targets): Remove duplicates.
34768 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34769 rtld-%.$o dependency.
34770
22cd1c9b
AS
347712010-10-18 Andreas Schwab <schwab@redhat.com>
34772
34773 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34774 _dl_map_object do it.
34775
18edac48
UD
347762010-10-19 Ulrich Drepper <drepper@gmail.com>
34777
34778 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34779 fast fma builtins, define the macros in the C99 standard.
34780 (FP_FAST_FMAF): Likewise.
34781 (FP_FAST_FMAL): Likewise.
34782 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34783
34784 * bits/mathdef.h: Update copyright year.
34785 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34786
d2050124
MM
347872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34788
34789 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34790 builtins, define the macros in the C99 standard.
34791 (FP_FAST_FMAF): Likewise.
34792 (FP_FAST_FMAL): Likewise.
34793 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34794 multiply/add.
34795 (FP_FAST_FMAF): Likewise.
34796
475facd1
JJ
347972010-10-15 Jakub Jelinek <jakub@redhat.com>
34798
34799 [BZ #3268]
34800 * math/libm-test.inc (fma_test): Some new testcases.
34801 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34803 y and infinite z. Do multiplication by C already in long double.
34804 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34806 y and infinite z. Do bitwise or of inexact bit into u.d.
34807 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34808 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34809 * sysdeps/i386/fpu/s_fma.S: Removed.
34810 * sysdeps/i386/fpu/s_fmal.S: Removed.
34811
7c08a05c
JJ
348122010-10-16 Jakub Jelinek <jakub@redhat.com>
34813
34814 [BZ #3268]
34815 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34817 computation is not scheduled after fetestexcept. Fix value
34818 of minimum denormal long double.
34819
f3f7372d
JJ
348202010-10-14 Jakub Jelinek <jakub@redhat.com>
34821
34822 [BZ #3268]
34823 * math/libm-test.inc (fma_test): Add some more tests.
34824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34825 correctly.
34826
14d43591
AS
348272010-10-15 Andreas Schwab <schwab@redhat.com>
34828
34829 * scripts/data/localplt-s390-linux-gnu.data: New file.
34830 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34831
5e908464
JJ
348322010-10-13 Jakub Jelinek <jakub@redhat.com>
34833
34834 [BZ #3268]
34835 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34836 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34837 instead of dbl-64.
34838 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34839 inlines.
34840 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34842 if one of x and y is very large and the other is subnormal.
34843 * sysdeps/s390/fpu/s_fmaf.c: New file.
34844 * sysdeps/s390/fpu/s_fma.c: New file.
34845 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34846 * sysdeps/powerpc/fpu/s_fma.S: New file.
34847 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34848 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34849 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34850
348512010-10-12 Jakub Jelinek <jakub@redhat.com>
34852
34853 [BZ #3268]
34854 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34855 fma tests.
34856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34857 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34858 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34859 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34860 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34861 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34862 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34863
b833d51f
UD
348642010-10-12 Ulrich Drepper <drepper@redhat.com>
34865
34866 [BZ #12078]
34867 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34868 * posix/bug-regex31.input: Add test case.
34869
1751705d
UD
348702010-10-11 Ulrich Drepper <drepper@gmail.com>
34871
e9b9cbf5
UD
34872 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34873 * posix/bug-regex31.input: New file.
34874
34875 [BZ #12078]
34876 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34877 (parse_sub_exp): Fix last change, use postorder.
34878
ef06edbe
UD
34879 * posix/bug-regex31.c: New file.
34880 * posix/Makefile: Add rules to build and run bug-regex31.
34881
a129c80d
UD
34882 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34883
34884 [BZ #12078]
34885 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34886
b76b818e
UD
34887 [BZ #12108]
34888 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34889 to have entries in sys_siglist.
34890
1751705d
UD
34891 [BZ #12093]
34892 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34893 be NULL.
34894
9ff8d36f
JJ
348952010-10-07 Jakub Jelinek <jakub@redhat.com>
34896
34897 [BZ #3268]
34898 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34899 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34900 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34901 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34902 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34903 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34904 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34905 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34906 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34907 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34908 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34909 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34910 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34911 * math/ftestexcept.c (fetestexcept): Likewise.
34912 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34913 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34914 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34915 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34916 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34917 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34918 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34919
af325969
UD
349202010-10-11 Ulrich Drepper <drepper@gmail.com>
34921
c579b202 34922 [BZ #12107]
af325969
UD
34923 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34924 newline.
34925
67a67b95
UD
349262010-10-06 Ulrich Drepper <drepper@gmail.com>
34927
34928 * string/bug-strstr1.c: New file.
34929 * string/Makefile: Add rules to build and run bug-strstr1.
34930
5fb308bc
EB
349312010-10-05 Eric Blake <eblake@redhat.com>
34932
34933 [BZ #12092]
34934 * string/str-two-way.h (two_way_long_needle): Always clear memory
34935 when skipping input due to the shift table.
34936
45db99c7
UD
349372010-10-03 Ulrich Drepper <drepper@gmail.com>
34938
3b111893
UD
34939 [BZ #12005]
34940 * malloc/mcheck.c: Handle large requests.
34941
45db99c7
UD
34942 [BZ #12077]
34943 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34944 for strncmp and strncasecmp.
34945 * string/stratcliff.c: Add tests for strcmp and strncmp.
34946 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34947
cf7a1eb8
NI
349482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34949
34950 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34951 __set_fpscr.
34952
6484ba5e
AJ
349532010-09-30 Andreas Jaeger <aj@suse.de>
34954
34955 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34956 (CGROUP_SUPER_MAGIC): Define.
34957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34958 Handle btrfs and cgroup file systems.
34959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34960 Likewise.
34961
91c42559
LM
349622010-09-27 Luis Machado <luisgpm@br.ibm.com>
34963
34964 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34965 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34966
87a97932
AK
349672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34968
34969 [BZ #12067]
34970 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34971 trying to locate the ELF header.
34972
c21cc9bc
AS
349732010-09-27 Andreas Schwab <schwab@redhat.com>
34974
34975 [BZ #11611]
34976 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34977 Mask out sign-bit copies when constructing f_fsid.
34978
315970f6
PB
349792010-09-24 Petr Baudis <pasky@suse.cz>
34980
34981 * debug/stack_chk_fail_local.c: Add missing licence exception.
34982 * debug/warning-nop.c: Likewise.
34983
1ac7a2c7
JM
349842010-09-15 Joseph Myers <joseph@codesourcery.com>
34985
34986 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34987 implementing getdents64 using getdents syscall, set d_type if
34988 __ASSUME_GETDENTS32_D_TYPE.
34989
56801c50
AS
349902010-09-16 Andreas Schwab <schwab@redhat.com>
34991
34992 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34993 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34994
dda51327
UD
349952010-09-21 Ulrich Drepper <drepper@redhat.com>
34996
34997 [BZ #12037]
34998 * posix/unistd.h: Undo change of feature selection for ftruncate from
34999 2010-01-11.
35000
8ffcee4a
UD
350012010-09-20 Ulrich Drepper <drepper@redhat.com>
35002
a545ecd9 35003 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35004 detection.
35005
e24f0a8b
AS
350062010-09-20 Andreas Schwab <schwab@redhat.com>
35007
35008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35009 fanotify_mark.
35010 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35011
7291c56f
AS
350122010-09-14 Andreas Schwab <schwab@redhat.com>
35013
35014 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35015 variables after CHECK_SP call.
35016 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35017
bc5fb037
AS
350182010-09-13 Andreas Schwab <schwab@redhat.com>
35019 Ulrich Drepper <drepper@redhat.com>
35020
35021 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35022 re-relocationg ld.so.
35023 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35024 _dl_init_paths call.
35025 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35026 here anymore.
35027
e66e7419
UD
350282010-09-14 Ulrich Drepper <drepper@redhat.com>
35029
35030 * resolv/res_init.c (__res_vinit): Count the default server we added.
35031
c044aa75
CLT
350322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35033 Ulrich Drepper <drepper@redhat.com>
35034
35035 [BZ #11968]
35036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35037 (____longjmp_chk): Use %ebx for saving value across system call.
35038 Add unwind info.
35039
32cf4069
AS
350402010-09-06 Andreas Schwab <schwab@redhat.com>
35041
35042 * manual/Makefile: Don't mix pattern rules with normal rules.
35043
817328ee
AS
350442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35045
35046 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35047 operation.
35048 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35049 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35050 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35051 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35053 Likewise.
35054
29fddf61
UD
350552010-09-04 Ulrich Drepper <drepper@redhat.com>
35056
35057 [BZ #11979]
35058 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35059 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35060
0959ffc9
UD
350612010-09-02 Ulrich Drepper <drepper@redhat.com>
35062
35063 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35064 * sysdeps/x86_64/addmul_1.S: Likewise.
35065 * sysdeps/x86_64/lshift.S: Likewise.
35066 * sysdeps/x86_64/mul_1.S: Likewise.
35067 * sysdeps/x86_64/rshift.S: Likewise.
35068 * sysdeps/x86_64/sub_n.S: Likewise.
35069 * sysdeps/x86_64/submul_1.S: Likewise.
35070
ece29840
ST
350712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35072
0959ffc9
UD
35073 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35074 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35075 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35076 * bits/sched.h [__need_schedparam]
ece29840 35077 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35078 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35079 (__defined_schedparam): Define to 1.
ece29840
ST
35080 (__sched_param): New structure, identical to sched_param.
35081 (__need_schedparam): Undefine.
35082
e53a31fe
MF
350832010-08-31 Mike Frysinger <vapier@gentoo.org>
35084
fdc0c10d
MF
35085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35086 (epoll_create1): Declare.
35087
e53a31fe
MF
35088 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35089
a726d796
AS
350902010-08-31 Andreas Schwab <schwab@redhat.com>
35091
35092 [BZ #7066]
35093 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35094 shifting retval into place.
35095
2f3e3dc7
UD
350962010-09-01 Ulrich Drepper <drepper@redhat.com>
35097
f2933da9
UD
35098 * nis/rpcsvc/nis.h: Update copyright notice.
35099 * nis/rpcsvc/nis.x: Likewise.
35100 * nis/rpcsvc/nis_callback.h: Likewise.
35101 * nis/rpcsvc/nis_callback.x: Likewise.
35102 * nis/rpcsvc/nis_object.x: Likewise.
35103 * nis/rpcsvc/nis_tags.h: Likewise.
35104 * nis/rpcsvc/yp.h: Likewise.
35105 * nis/rpcsvc/yp.x: Likewise.
35106 * nis/rpcsvc/ypupd.h: Likewise.
35107 * nis/yp_xdr.c: Likewise.
35108 * nis/ypupdate_xdr.c: Likewise.
35109
2f3e3dc7
UD
35110 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35111 mainly the body of pmap_getport. Add parameters to specify timeouts.
35112 (pmap_getport): Use __libc_rpc_getport.
35113 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35114 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35115 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35116
f3dcc2f9
AS
351172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35118
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35120 fanotify_mark.
35121
6d34eb5b
RM
351222010-08-27 Roland McGrath <roland@redhat.com>
35123
35124 * sysdeps/i386/i686/multiarch/Makefile
35125 (CFLAGS-varshift.c): New variable.
35126
9ea3de11
UD
351272010-08-27 Ulrich Drepper <drepper@redhat.com>
35128
c96d23fc
UD
35129 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35130 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35131
9ea3de11
UD
35132 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35133
35134 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35135
623aac7f
L
351362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35137
35138 * sysdeps/x86_64/strlen.S: Unroll the loop.
35139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35140 strlen-sse2 strlen-sse2-bsf.
35141 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35142 __strlen_no_bsf if bit_Slow_BSF is set.
35143 (__strlen_sse42): Removed.
35144 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35145 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35146
8b2b7715
RM
351472010-08-25 Roland McGrath <roland@redhat.com>
35148
35149 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35150 * sysdeps/x86_64/multiarch/varshift.c: New file.
35151 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35152 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35153 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35154 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35155
e73015f2
L
351562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35157
35158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35159 strlen-sse2 strlen-sse2-bsf.
35160 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35161 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35162 (__strlen_sse2): Removed.
35163 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35164 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35166 bit_Slow_BSF for Atom.
35167 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35168 (index_Slow_BSF): Define.
35169 (HAS_SLOW_BSF): Define.
35170
df24a73e
UD
351712010-08-25 Ulrich Drepper <drepper@redhat.com>
35172
35173 [BZ #10851]
35174 * resolv/res_init.c (__res_vinit): When no server address at all
35175 is given default to loopback.
35176
f2ac4868
RM
351772010-08-24 Roland McGrath <roland@redhat.com>
35178
09055553
RM
35179 * configure.in: Remove config-name.h generation.
35180 * configure: Regenerated.
35181 * config-name.in: File removed.
35182 * scripts/config-uname.sh: New file.
35183 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35184 ($(objdir)config-name.h): New target.
35185
f2ac4868
RM
35186 * sunrpc/rpc_parse.h: Avoid nested comment.
35187
73f27d5e
RH
351882010-08-24 Richard Henderson <rth@redhat.com>
35189 Ulrich Drepper <drepper@redhat.com>
35190 H.J. Lu <hongjiu.lu@intel.com>
35191
35192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35194 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35195 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35196 _mm_alignr_epi8 with _mm_loadu_si128.
35197 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35198 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35199 (__m128i_shift_right): Removed.
35200 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35201 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35202 * sysdeps/x86_64/multiarch/varshift.h: New file.
35203 * sysdeps/x86_64/multiarch/varshift.S: New file.
35204
84b9230c
MF
352052010-08-21 Mike Frysinger <vapier@gentoo.org>
35206
35207 * configure.in: Move assembler checks to before sysdep dir checking.
35208
9bbd0ddc
PB
352092010-08-20 Petr Baudis <pasky@suse.cz>
35210
35211 * LICENSES: Sync the sunrpc license.
35212
9da4bb31
UD
352132010-08-19 Ulrich Drepper <drepper@redhat.com>
35214
a7ab6ec8
UD
35215 * sunrpc/auth_des.c: Update copyright notice once again.
35216 * sunrpc/auth_none.c: Likewise.
35217 * sunrpc/auth_unix.c: Likewise.
35218 * sunrpc/authdes_prot.c: Likewise.
35219 * sunrpc/authuxprot.c: Likewise.
35220 * sunrpc/bindrsvprt.c: Likewise.
35221 * sunrpc/clnt_gen.c: Likewise.
35222 * sunrpc/clnt_perr.c: Likewise.
35223 * sunrpc/clnt_raw.c: Likewise.
35224 * sunrpc/clnt_simp.c: Likewise.
35225 * sunrpc/clnt_tcp.c: Likewise.
35226 * sunrpc/clnt_udp.c: Likewise.
35227 * sunrpc/clnt_unix.c: Likewise.
35228 * sunrpc/des_crypt.c: Likewise.
35229 * sunrpc/des_soft.c: Likewise.
35230 * sunrpc/get_myaddr.c: Likewise.
35231 * sunrpc/getrpcport.c: Likewise.
35232 * sunrpc/key_call.c: Likewise.
35233 * sunrpc/key_prot.c: Likewise.
35234 * sunrpc/openchild.c: Likewise.
35235 * sunrpc/pm_getmaps.c: Likewise.
35236 * sunrpc/pm_getport.c: Likewise.
35237 * sunrpc/pmap_clnt.c: Likewise.
35238 * sunrpc/pmap_prot.c: Likewise.
35239 * sunrpc/pmap_prot2.c: Likewise.
35240 * sunrpc/pmap_rmt.c: Likewise.
35241 * sunrpc/rpc/auth.h: Likewise.
35242 * sunrpc/rpc/auth_unix.h: Likewise.
35243 * sunrpc/rpc/clnt.h: Likewise.
35244 * sunrpc/rpc/des_crypt.h: Likewise.
35245 * sunrpc/rpc/key_prot.h: Likewise.
35246 * sunrpc/rpc/netdb.h: Likewise.
35247 * sunrpc/rpc/pmap_clnt.h: Likewise.
35248 * sunrpc/rpc/pmap_prot.h: Likewise.
35249 * sunrpc/rpc/pmap_rmt.h: Likewise.
35250 * sunrpc/rpc/rpc.h: Likewise.
35251 * sunrpc/rpc/rpc_des.h: Likewise.
35252 * sunrpc/rpc/rpc_msg.h: Likewise.
35253 * sunrpc/rpc/svc.h: Likewise.
35254 * sunrpc/rpc/svc_auth.h: Likewise.
35255 * sunrpc/rpc/types.h: Likewise.
35256 * sunrpc/rpc/xdr.h: Likewise.
35257 * sunrpc/rpc_clntout.c: Likewise.
35258 * sunrpc/rpc_cmsg.c: Likewise.
35259 * sunrpc/rpc_common.c: Likewise.
35260 * sunrpc/rpc_cout.c: Likewise.
35261 * sunrpc/rpc_dtable.c: Likewise.
35262 * sunrpc/rpc_hout.c: Likewise.
35263 * sunrpc/rpc_main.c: Likewise.
35264 * sunrpc/rpc_parse.c: Likewise.
35265 * sunrpc/rpc_parse.h: Likewise.
35266 * sunrpc/rpc_prot.c: Likewise.
35267 * sunrpc/rpc_sample.c: Likewise.
35268 * sunrpc/rpc_scan.c: Likewise.
35269 * sunrpc/rpc_scan.h: Likewise.
35270 * sunrpc/rpc_svcout.c: Likewise.
35271 * sunrpc/rpc_tblout.c: Likewise.
35272 * sunrpc/rpc_util.c: Likewise.
35273 * sunrpc/rpc_util.h: Likewise.
35274 * sunrpc/rpcinfo.c: Likewise.
35275 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35276 * sunrpc/rpcsvc/key_prot.x: Likewise.
35277 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35278 * sunrpc/rpcsvc/mount.x: Likewise.
35279 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35280 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35281 * sunrpc/rpcsvc/rex.x: Likewise.
35282 * sunrpc/rpcsvc/rstat.x: Likewise.
35283 * sunrpc/rpcsvc/rusers.x: Likewise.
35284 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35285 * sunrpc/rpcsvc/spray.x: Likewise.
35286 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35287 * sunrpc/rtime.c: Likewise.
35288 * sunrpc/svc.c: Likewise.
35289 * sunrpc/svc_auth.c: Likewise.
35290 * sunrpc/svc_authux.c: Likewise.
35291 * sunrpc/svc_raw.c: Likewise.
35292 * sunrpc/svc_run.c: Likewise.
35293 * sunrpc/svc_simple.c: Likewise.
35294 * sunrpc/svc_tcp.c: Likewise.
35295 * sunrpc/svc_udp.c: Likewise.
35296 * sunrpc/svc_unix.c: Likewise.
35297 * sunrpc/svcauth_des.c: Likewise.
35298 * sunrpc/xcrypt.c: Likewise.
35299 * sunrpc/xdr.c: Likewise.
35300 * sunrpc/xdr_array.c: Likewise.
35301 * sunrpc/xdr_float.c: Likewise.
35302 * sunrpc/xdr_mem.c: Likewise.
35303 * sunrpc/xdr_rec.c: Likewise.
35304 * sunrpc/xdr_ref.c: Likewise.
35305 * sunrpc/xdr_sizeof.c: Likewise.
35306 * sunrpc/xdr_stdio.c: Likewise.
35307
9da4bb31
UD
35308 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35309 handling.
35310
bdaa77bc
AS
353112010-08-19 Andreas Schwab <schwab@redhat.com>
35312
35313 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35314
fe2f79db
LM
353152010-08-19 Luis Machado <luisgpm@br.ibm.com>
35316
35317 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35318 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35319 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35320 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35321 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35322 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35323 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35324 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35326 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35327 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35328 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35329 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35330 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35331
b9b42ee0
AB
353322010-07-26 Anton Blanchard <anton@samba.org>
35333
35334 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35335 * malloc/arena.c (heap_trim): Likewise.
35336
1c06ba31
UD
353372010-08-16 Ulrich Drepper <drepper@redhat.com>
35338
35339 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35340 here. Not...
35341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35342 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35343
f8392f40
L
353442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35345
35346 * sysdeps/i386/elf/Makefile: New file.
35347
3162f12e
AS
353482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35349
35350 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35351 from fanotify_init.
35352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35354
28c90b2c
UD
353552010-08-15 Ulrich Drepper <drepper@redhat.com>
35356
35357 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35358 of strncasecmp_l.
1feccb6c 35359 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35360
ca6bb004
UD
353612010-08-14 Ulrich Drepper <drepper@redhat.com>
35362
e9f82e0d
UD
35363 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35364 strncase_l-nonascii.
35365 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35366 Add strncase_l-ssse3.
35367 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35368 * sysdeps/x86_64/strcmp.S: Likewise.
35369 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35370 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35371 * sysdeps/x86_64/strncase.S: New file.
35372 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35373 * sysdeps/x86_64/strncase_l.S: New file.
35374 * string/Makefile (strop-tests): Add strncasecmp.
35375 * string/test-strncasecmp.c: New file.
35376
35377 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35378 warning.
35379
ca6bb004
UD
35380 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35381 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35382
052fa7b3
AS
353832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35384
35385 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35386
962dba78
UD
353872010-08-12 Ulrich Drepper <drepper@redhat.com>
35388
35389 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35390 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35391 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35392
bebff237
AM
353932010-05-01 Alan Modra <amodra@gmail.com>
35394
35395 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35396 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35397 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35398 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35399 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35400 tidying. Don't tail-call __sigjmp_save for static lib.
35401 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35402 save location.
35403 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35404 (CALL_MCOUNT): Add eh info, and nop after bl.
35405 (TAIL_CALL_SYSCALL_ERROR): New macro.
35406 (PSEUDO_RET): Use it.
35407 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35408 Correct save location of integer regs and cr.
35409 (_dl_profile_resolve): Correct cr save location. Delete nops
35410 after bl when SHARED. Reduce cfi size a little by better
35411 placement of cfi directives.
35412 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35413 make a stack frame. Instead use parm save area as a temp.
35414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35415 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35417 Don't make a stack frame for parent, use parm save area.
35418 Increase child stack frame to 112 bytes. Don't save unused reg,
35419 and adjust reg usage. Set up cfi on error recovery and
35420 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35422 (__makecontext): Add dummy nop after jump to exit.
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35424 Use correct parm save area and cr save, reduce stack frame.
35425 Correct cfi for possible PSEUDO_RET frame setup.
35426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35427 Branch to local label emitted by PSEUDO_RET rather than
35428 __syscall_error.
35429
02637374
AS
354302010-08-12 Andreas Schwab <schwab@redhat.com>
35431
35432 [BZ #11904]
35433 * locale/programs/locale.c (print_assignment): New function.
35434 (show_locale_vars): Use it.
35435
c3e2f19b
UD
354362010-08-11 Ulrich Drepper <drepper@redhat.com>
35437
3cdaa6ad
UD
35438 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35439 field.
35440 (struct statfs64): Likewise.
35441 (_STATFS_F_FLAGS): Define.
35442 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35443 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35444 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35445 (ST_VALID): Define locally.
35446 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35447 __statvfs_getflags, use the provided value.
35448 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35449 __ASSUME_STATFS_F_FLAGS.
35450
754f7da3
UD
35451 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35452
10b3bedc
UD
35453 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35454 Add sys/fanotify.h.
35455 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35456 fanotify_mask for GLIBC_2.13.
35457 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35458 fanotify_init and fanotify_mark.
35459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35460 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35461
c08fb0d7
UD
35462 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35463 Add prlimit.
35464 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35465 prlimit64 for GLIBC_2.13.
35466 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35467 prlimit64.
35468 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35469 syscall.
35470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35472 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35475 add prlimit alias.
35476 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35477
15bac72b
UD
35478 [BZ #11903]
35479 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35480 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35481
c3e2f19b
UD
35482 * nss/Makefile: Add rules to build and run tst-nss-test1.
35483 * shlib-versions: Add entry for libnss_test1.
35484 * nss/nss_test1.c: New file.
35485 * nss/tst-nss-test1.c: New file.
35486
35487 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35488 (__nss_configure_lookup): Set appropriate entry in
35489 __nss_configure_lookup to true.
35490 * nss/nsswitch.h: Define enum with indeces of databases in
35491 databases and __nss_database_custom arrays. Declare
35492 __nss_database_custom.
35493 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35494 to avoid using nscd when custom rules are installed.
35495 * nss/getXXbyYY_r.c: Likewise.
35496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35497
35498 * nss/nss_files/files-parse.c: Whitespace fixes.
35499
f15ce4d8
UD
355002010-08-09 Ulrich Drepper <drepper@redhat.com>
35501
35502 [BZ #11883]
35503 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35504 * posix/fnmatch_loop.c: Likewise.
35505
d22e4cc9
AK
355062010-07-17 Andi Kleen <ak@linux.intel.com>
35507
35508 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35509 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35510 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35511 * Versions.def [GLIBC_2.13]: Add.
35512
805bc17d
UD
355132010-08-06 Ulrich Drepper <drepper@redhat.com>
35514
35515 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35516 Also fail if tpwd after pwuid call is NULL.
35517
5a42321d
ST
355182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35519
35520 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35521 when converting to ms.
35522
fd3ebeda
ST
355232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35524
35525 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35526 EOPNOTSUPP errors with ENOTTY.
35527 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35528 EOPNOTSUPP errors with ENOTTY.
35529
73507d3a
UD
355302010-07-31 Ulrich Drepper <drepper@redhat.com>
35531
35532 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35533 Add strcasecmp_l-ssse3.
35534 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35535 strcasecmp.
35536 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35537 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35538 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35539
fe36dd02
UD
355402010-07-30 Ulrich Drepper <drepper@redhat.com>
35541
66f6765a
UD
35542 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35543
42e08a54
UD
35544 * string/Makefile (strop-tests): Add strcasecmp.
35545 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35546 strcasecmp_l-nonascii.
35547 (gen-as-const-headers): Add locale-defines.sym.
35548 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35549 * sysdeps/x86_64/strcasecmp.S: New file.
35550 * sysdeps/x86_64/strcasecmp_l.S: New file.
35551 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35552 * sysdeps/x86_64/locale-defines.sym: New file.
35553 * string/test-strcasecmp.c: New file.
35554
fe36dd02
UD
35555 * string/test-strcasestr.c: Test both ends of the range of characters.
35556 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35557
48cbc0d6
RM
355582010-07-29 Roland McGrath <roland@redhat.com>
35559
76e6d6bc 35560 [BZ #11856]
48cbc0d6
RM
35561 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35562
880113d9
UD
355632010-07-27 Ulrich Drepper <drepper@redhat.com>
35564
35565 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35566 for ld.so.
35567
deb9cabb
AS
355682010-07-27 Andreas Schwab <schwab@redhat.com>
35569
35570 * manual/memory.texi (Malloc Tunable Parameters): Document
35571 M_PERTURB.
35572
1c7570ff
RM
355732010-07-26 Roland McGrath <roland@redhat.com>
35574
35575 [BZ #11840]
35576 * configure.in (-fgnu89-inline check): Set and substitute
35577 gnu89_inline, not libc_cv_gnu89_inline.
35578 * configure: Regenerated.
35579 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35580
24fb0f88
UD
355812010-07-26 Ulrich Drepper <drepper@redhat.com>
35582
35583 * string/test-strnlen.c: New file.
35584 * string/Makefile (strop-tests): Add strnlen.
35585 * string/tester.c (test_strnlen): Add a few more test cases.
35586 * string/tst-strlen.c: Better error reporting.
35587
35588 * sysdeps/x86_64/strnlen.S: New file.
35589
8e96b93a
UD
355902010-07-24 Ulrich Drepper <drepper@redhat.com>
35591
35592 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35593 lower-latency instructions.
35594
dbc676d4
UD
355952010-07-23 Ulrich Drepper <drepper@redhat.com>
35596
35597 * string/test-strcasestr.c: New file.
35598 * string/test-strstr.c: New file.
35599 * string/Makefile (strop-tests): Add strstr and strcasestr.
35600 * string/str-two-way.h: Don't undefine MAX.
35601 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35602
f6a31e0e
AS
356032010-07-21 Andreas Schwab <schwab@redhat.com>
35604
35605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35606 strcasestr-nonascii.
35607 (CFLAGS-strcasestr-nonascii.c): Define.
35608 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35610 Remove unused attribute.
35611
5dbc3b6c
RM
356122010-07-20 Roland McGrath <roland@redhat.com>
35613
35614 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35615 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35616 ld.so.cache was broken. With it, there is no way to disable dsocaps
35617 like LD_HWCAP_MASK can disable hwcaps.
35618
23d101d8
EPM
356192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35620
35621 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35622
cc9f2e47
UD
356232010-07-16 Ulrich Drepper <drepper@redhat.com>
35624
35625 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35626 call in strcasestr.
35627 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35628 __strcasestr_sse42_nonascii.
35629 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35630 strcasestr-nonascii.c.
35631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35632
77c1b069
LM
356332010-06-15 Luis Machado <luisgpm@br.ibm.com>
35634
35635 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35636 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35637 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35638 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35639
440566c3
UD
356402010-07-09 Ulrich Drepper <drepper@redhat.com>
35641
35642 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35643 fcntl.
35644
5be9d05d
AS
356452010-07-06 Andreas Schwab <schwab@redhat.com>
35646
c30b7ee2 35647 [BZ #11577]
5be9d05d
AS
35648 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35649 dl_signal_cerror.
35650
8a492a67
UD
356512010-07-06 Ulrich Drepper <drepper@redhat.com>
35652
35653 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35654 _PC_PIPE_BUF using F_GETPIPE_SZ.
35655
713df3d5
RM
356562010-07-05 Roland McGrath <roland@redhat.com>
35657
35658 * manual/arith.texi (Rounding Functions): Fix rint description
35659 implicit in round description.
35660
702e8f14
UD
356612010-07-02 Ulrich Drepper <drepper@redhat.com>
35662
35663 * elf/Makefile: Fix linking for a few tests to make recent linker
35664 happy.
35665
52ed8be9
AS
356662010-06-30 Andreas Schwab <schwab@redhat.com>
35667
35668 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35669 $(common-objpfx)libc_nonshared.a.
35670
f47c9a11
LM
356712010-06-21 Luis Machado <luisgpm@br.ibm.com>
35672
35673 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35674 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35675 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35676 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35677 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35678 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35679 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35680 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35695 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35696 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35697 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35698 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35699 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35700 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35701 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35702 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35703 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35704 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35705 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35706 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35721
6fb8cbcb
L
357222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35723
35724 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35725 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35726 * string/memmove.c (memmove): Renamed to ...
35727 (MEMMOVE): ...this. Default to memmove.
35728 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35729 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35730 (END_CHK): Define.
35731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35732 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35733 mempcpy-ssse3-back memmove-ssse3-back.
35734 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35735 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35737 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35738 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35739 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35740 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35741 * sysdeps/x86_64/multiarch/memmove.c: New file.
35742 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35743 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35744 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35745 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35746 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35748 Define.
35749 (index_Fast_Copy_Backward): Define.
35750 (HAS_ARCH_FEATURE): Define.
35751 (HAS_FAST_REP_STRING): Define.
35752 (HAS_FAST_COPY_BACKWARD): Define.
35753
4e733bac 357542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35755
35756 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35757 Restore proper fallback handling.
35758
63c4ed22
UD
357592010-06-19 Ulrich Drepper <drepper@redhat.com>
35760
ac2b484c
UD
35761 [BZ #11701]
35762 * posix/group_member.c (__group_member): Correct checking loop.
35763
63c4ed22
UD
35764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35765 OOM in getpwuid_r correctly. Return error number when the caller
35766 should return, otherwise -1.
35767 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35768 call returning > 0 value.
35769 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35770
765ade4b
AS
357712010-06-07 Andreas Schwab <schwab@redhat.com>
35772
35773 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35774 libc_nonshared.a from targets in modules-names.
35775
80da2e09
KS
357762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35777
35778 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35779 requires it.
35780
158db122
LM
357812010-06-10 Luis Machado <luisgpm@br.ibm.com>
35782
35783 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35784 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35785 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35787
caa78cf8
AS
357882010-06-02 Andreas Schwab <schwab@redhat.com>
35789
35790 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35791
b2ef2c01
UD
357922010-06-14 Ulrich Drepper <drepper@redhat.com>
35793
35794 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35795 and F_GETPIPE_SZ.
35796 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35797 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35801 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35802
fbd643b6
RM
358032010-06-14 Roland McGrath <roland@redhat.com>
35804
35805 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35806
f32f2869
JJ
358072010-06-07 Jakub Jelinek <jakub@redhat.com>
35808
35809 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35810 __REDIRECT followed by __THROW.
35811 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35812 * posix/getopt.h (getopt): Likewise.
35813
2a50c078
EPM
358142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35815
35816 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35817 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35818 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35819 in AT_FLAGS.
35820 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35821 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35822
eb5ad2eb
LM
358232010-05-28 Luis Machado <luisgpm@br.ibm.com>
35824
35825 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35826
3c88fe1e
L
358272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35828
35829 [BZ #11640]
35830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35831 Properly check family and model.
35832
d2f73151
TY
358332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35834
35835 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35836
ebd2e13d
LM
358372010-05-24 Luis Machado <luisgpm@br.ibm.com>
35838
35839 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35840
b32b8b45
UD
358412010-05-21 Ulrich Drepper <drepper@redhat.com>
35842
35843 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35844 symbol reference.
35845
9acbe24d
AS
358462010-05-19 Andreas Schwab <schwab@redhat.com>
35847
35848 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35849 symbol reference.
35850
f0ccf6ea
AS
358512010-05-21 Andreas Schwab <schwab@redhat.com>
35852
3d04ff3a
AS
35853 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35854 and internal_recvmmsg.
35855 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35856 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35857 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35858 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35859
f0ccf6ea
AS
35860 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35861 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35862 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35863
5b08ac57
AS
358642010-05-20 Andreas Schwab <schwab@redhat.com>
35865
35866 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35867
4828935d
LM
358682010-05-17 Luis Machado <luisgpm@br.ibm.com>
35869
35870 POWER7 optimizations.
35871 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35872 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35873
373d545e
UD
358742010-05-19 Ulrich Drepper <drepper@redhat.com>
35875
35876 * version.h: Update for 2.13 development version.
35877
21a2b1ae
AS
358782010-05-12 Andrew Stubbs <ams@codesourcery.com>
35879
35880 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35881 exceptions. Return 0.
35882
3f7dcb2b
RM
358832010-05-07 Roland McGrath <roland@redhat.com>
35884
35885 * elf/ldconfig.c (main): Add a const.
35886
5f24d53a 358872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35888
a160f8d8
UD
35889 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35890 (args_options): Add no-idn option.
35891 (ahosts_keys_int): Add idn_flags to ai_flags.
35892 (parse_option): Handle 'i' option to clear idn_flags.
35893
5f24d53a
UD
35894 * malloc/malloc.c (_int_free): Possible race in the most recently
35895 added check. Only act on the data if no current modification
35896 happened.
265bb1ce
UD
35897
35898See ChangeLog.17 for earlier changes.