]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC64: Report overflow on @h and @ha relocations
[glibc.git] / ChangeLog
CommitLineData
7ec07d9a
AM
12013-12-04 Alan Modra <amodra@gmail.com>
2
3 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
5 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7
8 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14
5162e7dd
UW
152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16
17 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18 (__makecontext): Fix incorrect CFI when backtracing out of
19 context created via makecontext.
20 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21 (__setcontext): Fix incorrect CFI during switch to new context.
22 (__novec_setcontext): Likewise.
23
19e3372b
OB
242013-12-04 Ondřej Bílka <neleai@seznam.cz>
25
26 [BZ #4772]
27 * time/strptime_l.c (__strptime_internal): Allow modifiers
28 in strptime.
29 * time/tst-strptime.c (day_tests): Add testcase.
30
31
ecaf142d
SP
322013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * scripts/bench.pl: Skip over blank lines.
35
fbf964ae
PE
362013-12-04 Paul Eggert <eggert@cs.ucla.edu>
37
38 [BZ #926]
39 * manual/time.texi (Calendar Time): Clarify what timezone functions
40 use.
41
fa60a674
AZ
422013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
44 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45
d674f0ef
OB
462013-12-04 Ondřej Bílka <neleai@seznam.cz>
47
48 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49 implementation.
50 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52 * debug/memset_chk.c (__memset_chk): Likewise.
53 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54 * debug/strncpy_chk.c: Likewise.
55
17dea188
JM
562013-12-03 Joseph Myers <joseph@codesourcery.com>
57
749008ff
JM
58 [BZ #15268]
59 [BZ #15425]
60 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
61 (__ieee754_exp): For possibly underflowing results, check size of
62 result and force underflow exception if required.
63 * math/auto-libm-test-in: Add more tests of exp.
64 * math/auto-libm-test-out: Regenerated.
65 * sysdeps/i386/fpu/libm-test-ulps: Update.
66 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67
17dea188
JM
68 [BZ #16283]
69 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
70 * math/w_exp2f.c (__exp2f): Likewise.
71 * math/w_exp2l.c (__exp2l): Likewise.
72 * math/auto-libm-test-in: Do not allow missing errno on exp2
73 underflow.
74 * math/auto-libm-test-out: Regenerated.
75
b20de2c3
OB
762013-12-03 Ondřej Bílka <neleai@seznam.cz>
77
78 [BZ #16274]
79 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
80 handle filename validation.
81 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
82 (do_open): Delete.
83
d8e2dbe3
JM
842013-12-03 Joseph Myers <joseph@codesourcery.com>
85
34e16df5
JM
86 [BZ #6786]
87 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
88 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
89 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
90 <float.h>.
91 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
92 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
93 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
94 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
95 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
96 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
97 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
98 * math/auto-libm-test-in: Don't allow missing errno from erfc.
99 Add more erfc tests.
100 * math/auto-libm-test-out: Regenerated.
101 * sysdeps/i386/fpu/libm-test-ulps: Update.
102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
103
d8e2dbe3
JM
104 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
105 exp2, expm1, j0 and j1.
106 * math/auto-libm-test-out: Regenerated.
107 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
108 (erfc_test_data): Likewise.
109 (exp_test_data): Likewise.
110 (exp_tonearest_test_data): Likewise.
111 (exp_towardzero_test_data): Likewise.
112 (exp_downward_test_data): Likewise.
113 (exp_upward_test_data): Likewise.
114 (exp10_test_data): Likewise.
115 (exp2_test_data): Likewise.
116 (expm1_test_data): Likewise.
117 (j0_test_data): Likewise.
118 (j1_test_data): Likewise.
119 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
120 (input_flag_type): Add flag_xfail_rounding.
121 (input_flags): Add xfail-rounding.
122 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
123 (output_for_one_input_case): Handle flag_xfail_rounding.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126
18d14251
AJ
1272013-12-03 Aurelien Jarno <aurelien@aurel32.net>
128
3d2e6075 129 [BZ #16289]
18d14251
AJ
130 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
131 division by 0.
132
520d437b
SP
1332013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
134
135 [BZ #16195]
136 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
137 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
138 (STAP_PROBE0): New macro.
139 (STAP_PROBE1): Likewise.
140 (STAP_PROBE2): Likewise.
141 (STAP_PROBE3): Likewise.
142 (STAP_PROBE4): Likewise.
143
416e0145
OB
1442013-12-02 Ondřej Bílka <neleai@seznam.cz>
145
146 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
147
9d17796a
SE
1482013-12-02 Steve Ellcey <sellcey@mips.com>
149
150 * benchtests/Makefile (bench): Add sqrt.
151 (LDLIBS-bench-sqrt): New.
152 * benchtests/sqrt-input: New.
153
f524d6a8
PS
1542013-12-02 Pavel Simerda <psimerda@redhat.com>
155
639a0ef8
PS
156 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
157 (GAIH_EAI): Likewise.
158 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
159 (gaih_inet): Likewise.
160 (getaddrinfo): Don't use GAIH_EAI.
161
f524d6a8
PS
162 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
163 (struct gaih): Remove definition.
164
df3aedaf
SP
1652013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
166
167 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
168 Use HERRNOP directly.
169
1ab19dec
AZ
1702013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
171
b42ad38d 172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 173
176b0c79
JM
1742013-11-30 Joseph Myers <joseph@codesourcery.com>
175
176 * math/gen-auto-libm-tests.c (test_functions): Add more
177 single-argument functions.
178 (special_fill_pi_2): New function.
179 (special_fill_minus_pi_2): Likewise.
180 (special_fill_pi_6): Likewise.
181 (special_fill_minus_pi_6): Likewise.
182 (special_fill_pi_3): Likewise.
183 (special_fill_2pi_3): Likewise.
184 (special_fill_e): Likewise.
185 (special_fill_1_e): Likewise.
186 (special_fill_e_minus_1): Likewise.
187 (special_real_inputs): Add more special inputs.
188 (output_for_one_input_case): Do not require ERANGE on underflow to
189 zero if round-to-nearest result does not underflow to zero, unless
190 exact results required.
191 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
192 atan, atanh, cbrt, cos and cosh.
193 * math/auto-libm-test-out: Regenerated.
194 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
195 (acos_tonearest_test_data): Likewise.
196 (acos_towardzero_test_data): Likewise.
197 (acos_downward_test_data): Likewise.
198 (acos_upward_test_data): Likewise.
199 (acosh_test_data): Likewise.
200 (asin_test_data): Likewise.
201 (asin_tonearest_test_data): Likewise.
202 (asin_towardzero_test_data): Likewise.
203 (asin_upward_test_data): Likewise.
204 (asinh_test_data): Likewise.
205 (atan_test_data): Likewise.
206 (atanh_test_data): Likewise.
207 (cbrt_test_data): Likewise.
208 (cos_test_data): Likewise.
209 (cos_tonearest_test_data): Likewise.
210 (cos_towardzero_test_data): Likewise.
211 (cos_downward_test_data): Likewise.
212 (cos_upward_test_data): Likewise.
213 (cosh_test_data): Likewise.
214 (cosh_tonearest_test_data): Likewise.
215 (cosh_towardzero_test_data): Likewise.
216 (cosh_downward_test_data): Likewise.
217 (cosh_upward_test_data): Likewise.
218 * sysdeps/i386/fpu/libm-test-ulps: Update.
219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
220
ffb536d0
JM
2212013-11-29 Joseph Myers <joseph@codesourcery.com>
222
2a77a467
JM
223 [BZ #6787]
224 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
225 * math/w_exp10f.c (__exp10f): Likewise.
226 * math/w_exp10l.c (__exp10l): Likewise.
227 * math/libm-test.inc (exp10_test_data): Add more tests and expect
228 errno settings in existing tests.
229
ea3bc4e8
JM
230 [BZ #14032]
231 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
232 precision control set to double precision.
233 * sysdeps/i386/fpu/w_sqrt.c: New file.
234 * math/auto-libm-test-in: Add more tests.
235 * math/auto-libm-test-out: Update.
236
0712c9d8
JM
237 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
238 (sqrt_test_tonearest): New function.
239 (sqrt_towardzero_test_data): New variable.
240 (sqrt_test_towardzero): New function.
241 (sqrt_downward_test_data): New variable.
242 (sqrt_test_downward): New function.
243 (sqrt_upward_test_data): New variable.
244 (sqrt_test_upward): New function.
245 (main): Call the new functions.
246
ffb536d0
JM
247 * math/gen-auto-libm-tests.c: New file.
248 * math/auto-libm-test-in: Likewise.
249 * math/auto-libm-test-out: New generated file.
250 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
251 variables.
252 (%beautify): Add generated representations of zero.
253 (top level): Set $auto_input and call parse_auto_input.
254 (beautify): Remove trailing "f" from hex float constants.
255 (parse_args): Handle XFAIL_TEST.
256 (convert_condition): New function.
257 (or_value): Likewise.
258 (or_cond_value): Likewise.
259 (generate_testfile): Handle AUTO_TESTS_* lines.
260 (parse_auto_input): New function.
261 * math/libm-test.inc (XFAIL_TEST): New macro.
262 (ERRNO_UNCHANGED): Update value.
263 (ERRNO_EDOM): Likewise.
264 (ERRNO_ERANGE): Likewise.
265 (IGNORE_RESULT): Likewise.
266 (TEST_COND_flt_32): New macro.
267 (TEST_COND_dbl_64): Likewise.
268 (TEST_COND_ldbl_96_intel): Likewise.
269 (TEST_COND_ldbl_96_m68k): Likewise.
270 (TEST_COND_ldbl_128): Likewise.
271 (TEST_COND_ldbl_128ibm): Likewise.
272 (TEST_COND_long32): Likewise.
273 (TEST_COND_long64): Likewise.
274 (TEST_COND_before_rounding): Likewise.
275 (TEST_COND_after_rounding): Likewise.
276 (enable_test): Handle XFAIL_TEST flag.
277 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
278 with finite results.
279 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
280 auto-libm-test-out.
281
acd98a8e
AK
2822013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
283 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
284
285 [BZ #16214]
286 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
287 __tls_get_addr_internal instead of __tls_get_offset in order to
288 avoid GOT pointer dependency. Make rtld export
289 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
290 __tls_get_addr since we are a __tls_get_offset platform.
291 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
292 GOT pointer being set up before.
293 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
294
3c1c46a6
JM
2952013-11-28 Joseph Myers <joseph@codesourcery.com>
296
7475aef5
JM
297 * manual/math.texi (Errors in Math Functions): Document accuracy
298 goals.
299
8bca7cd8
JM
300 [BZ #15004]
301 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
302 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
304 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
305 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
306 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
307 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
308 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
310 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
311 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
317
91a1f3fe
JM
318 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
319 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
320 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
321 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
322 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
323 Likewise.
324 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
325 Likewise.
326 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
327 Likewise.
328 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
329 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
330 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
331 atomic-feupdateenv and flt-rounds.
332 * sysdeps/powerpc/nofpu/Versions (libc): Add
333 __atomic_feholdexcept, __atomic_feclearexcept,
334 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
335 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
336 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
337 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
338 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
339 here.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
341 Update.
342
c5df7609
JM
343 * manual/arith.texi (FP Exceptions): Document that exceptions may
344 not be raised when matherr is used.
345 (Math Error Reporting): Document overflow in directed rounding
346 modes. Document that errno may not be set when finite values are
347 returned on overflow. Document intent to set errno on underflow
348 only for underflow to zero.
349
3c1c46a6
JM
350 [BZ #16271]
351 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
352 round-to-nearest then adjust result for other rounding modes.
353 * include/fenv.h (fegetround): Use libm_hidden_proto.
354 * math/fegetround.c (fegetround): Use libm_hidden_def.
355 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
356 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
357 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
358 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
359 Likewise.
360 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
361 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
362 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
363 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
364
5a4c6d53
SP
3652013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
366
367 [BZ #16077]
368 * nss/Versions (libnss_files): Add
369 _nss_files_gethostbyname3_r.
370 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
371 New function.
372 (HOST_DB_LOOKUP): Remove macro.
373 (_nss_files_gethostbyname_r): Implement function without the
374 HOST_DB_LOOKUP macro.
375 (_nss_files_gethostbyname2_r): Likewise.
376
897b98ba
OB
3772013-11-28 Ondřej Bílka <neleai@seznam.cz>
378
379 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
380
6f476861
UB
3812013-11-26 Uros Bizjak <ubizjak@gmail.com>
382
383 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
384 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
385 warning.
386
bd12ab55
AZ
3872013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388
389 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
390 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
391 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
392 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
393 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
394 __fe_nomask_env_priv and attribute_hidden.
395 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
396 (libc_feupdateenv_test_ppc): Likewise.
397 (libc_feresetround_ppc): Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
399 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
400 compat_symbol macro.
401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
402 (__fe_nomask_env): Likewise.
403 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
404
52bb6543
OB
4052013-11-26 Ondřej Bílka <neleai@seznam.cz>
406
407 * string/Makefile: Remove ifunc tests.
408 * string/test-string.h: Define TEST_IFUNC.
409 * string/test-bcopy-ifunc.c: Remove.
410 * string/test-bzero-ifunc.c: Likewise.
411 * string/test-memccpy-ifunc.c: Likewise.
412 * string/test-memchr-ifunc.c: Likewise.
413 * string/test-memcmp-ifunc.c: Likewise.
414 * string/test-memcpy-ifunc.c: Likewise.
415 * string/test-memmem-ifunc.c: Likewise.
416 * string/test-memmove-ifunc.c: Likewise.
417 * string/test-mempcpy-ifunc.c: Likewise.
418 * string/test-memrchr-ifunc.c: Likewise.
419 * string/test-memset-ifunc.c: Likewise.
420 * string/test-rawmemchr-ifunc.c: Likewise.
421 * string/test-stpcpy-ifunc.c: Likewise.
422 * string/test-stpncpy-ifunc.c: Likewise.
423 * string/test-strcasecmp-ifunc.c: Likewise.
424 * string/test-strcasestr-ifunc.c: Likewise.
425 * string/test-strcat-ifunc.c: Likewise.
426 * string/test-strchr-ifunc.c: Likewise.
427 * string/test-strchrnul-ifunc.c: Likewise.
428 * string/test-strcmp-ifunc.c: Likewise.
429 * string/test-strcpy-ifunc.c: Likewise.
430 * string/test-strcspn-ifunc.c: Likewise.
431 * string/test-strlen-ifunc.c: Likewise.
432 * string/test-strncasecmp-ifunc.c: Likewise.
433 * string/test-strncat-ifunc.c: Likewise.
434 * string/test-strncmp-ifunc.c: Likewise.
435 * string/test-strncpy-ifunc.c: Likewise.
436 * string/test-strnlen-ifunc.c: Likewise.
437 * string/test-strpbrk-ifunc.c: Likewise.
438 * string/test-strrchr-ifunc.c: Likewise.
439 * string/test-strspn-ifunc.c: Likewise.
440 * string/test-strstr-ifunc.c: Likewise.
441
ab260039 4422013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
443
444 * benchtests/Makefile: Remove ifunc tests.
445 * benchtests/bench-string.h: Define TEST_IFUNC.
446 * benchtests/bench-bcopy-ifunc.c: Remove.
447 * benchtests/bench-bzero-ifunc.c: Likewise.
448 * benchtests/bench-memccpy-ifunc.c: Likewise.
449 * benchtests/bench-memchr-ifunc.c: Likewise.
450 * benchtests/bench-memcmp-ifunc.c: Likewise.
451 * benchtests/bench-memcpy-ifunc.c: Likewise.
452 * benchtests/bench-memmem-ifunc.c: Likewise.
453 * benchtests/bench-memmove-ifunc.c: Likewise.
454 * benchtests/bench-mempcpy-ifunc.c: Likewise.
455 * benchtests/bench-memrchr-ifunc.c: Likewise.
456 * benchtests/bench-memset-ifunc.c: Likewise.
457 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
458 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
459 * benchtests/bench-stpcpy-ifunc.c: Likewise.
460 * benchtests/bench-stpncpy-ifunc.c: Likewise.
461 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
462 * benchtests/bench-strcasestr-ifunc.c: Likewise.
463 * benchtests/bench-strcat-ifunc.c: Likewise.
464 * benchtests/bench-strchr-ifunc.c: Likewise.
465 * benchtests/bench-strchrnul-ifunc.c: Likewise.
466 * benchtests/bench-strcmp-ifunc.c: Likewise.
467 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
468 * benchtests/bench-strcpy-ifunc.c: Likewise.
469 * benchtests/bench-strcspn-ifunc.c: Likewise.
470 * benchtests/bench-strlen-ifunc.c: Likewise.
471 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
472 * benchtests/bench-strncat-ifunc.c: Likewise.
473 * benchtests/bench-strncmp-ifunc.c: Likewise.
474 * benchtests/bench-strncpy-ifunc.c: Likewise.
475 * benchtests/bench-strnlen-ifunc.c: Likewise.
476 * benchtests/bench-strpbrk-ifunc.c: Likewise.
477 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 478 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
479 * benchtests/bench-strspn-ifunc.c: Likewise.
480 * benchtests/bench-strstr-ifunc.c: Likewise.
481
4822013-11-26 Ondřej Bílka <neleai@seznam.cz>
483
ab260039
OB
484 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
485
d1d9eaf4 4862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 487
d1d9eaf4
OB
488 * resolv/netdb.h: Use __glibc_reserved instead __unused.
489 * rt/aio.h: Likewise.
490 * sysdeps/gnu/bits/utmp.h: Likewise.
491 * sysdeps/gnu/bits/utmpx.h: Likewise.
492 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
493 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
494 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
495 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
496 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
497 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
498 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
499 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
500 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
501 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
502 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
503 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
507 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
508 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
509 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
510 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
511 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
512 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
513 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
514 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
516 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
518 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
519 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
520 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
521 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
523 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
524 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
527 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
528 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
530 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
531 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
532 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
533 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
534
a7624ed9
CD
5352013-11-25 Carlos O'Donell <carlos@redhat.com>
536
537 [BZ #16245]
538 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
539 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
540
63cfe52b
JM
5412013-11-25 Joseph Myers <joseph@codesourcery.com>
542
543 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
545 Likewise.
546
41e8926a
AZ
5472013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
548
549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
550 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
551 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
552 (__fesetround): Remove define.
553 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
554 rounding and exceptions handling.
555 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
556 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
557 (__fe_nomask_env): Likewise.
558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
559 __fegetround instead of fegetround.
560 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
561 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
562
6851bd4d
RM
5632013-11-21 Roland McGrath <roland@hack.frob.com>
564
070906ff
RM
565 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
566 it's there.
567
6851bd4d
RM
568 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
569
84ae135d
MI
5702013-11-21 Meador Inge <meadori@codesourcery.com>
571
572 [BZ #11157]
573 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
574 (encrypt_r): Likewise.
575 * malloc/obstack.h (obstack_free): Likewise.
576 * posix/unistd.h (encrypt): Likewise.
577
daf75146
GM
5782013-11-21 Guy Martin <gmsoft@tuxicoman.be>
579
580 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
581 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
582 DL_CALL_DT_FINI() that call the functions directly.
583 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
584 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
585 * elf/dl-fini.c: Likewise.
586
10ad46bc
OB
5872013-11-20 Ondřej Bílka <neleai@seznam.cz>
588
589 * malloc/hooks.c (memalign_check): Add alignment rounding.
590 * malloc/malloc.c (_mid_memalign): New function.
591 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
592 Implement by calling _mid_memalign.
593 * manual/probes.texi (Memory Allocation Probes): Remove
594 memory_valloc_retry and memory_pvalloc_retry.
595
f3fd2628
SP
5962013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
597
4712799f
SP
598 * locale/programs/locarchive.c (open_archive): Add const
599 qualifier to ARCHIVEFNAME and copy default fname to
600 DEFAULT_FNAME.
601
0417b20f
SP
602 [BZ #15601]
603 * libio/tst-widetext.input: Rename Oriya to Odia.
604 * locale/iso-639.def: Likewise.
605
f3fd2628
SP
606 * manual/probes.texi (Mathematical Function Probes): Add
607 documentation for sin, cos, asin and acos probes.
608 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
609 (__sin32): Add slowasin probe.
610 (__cos32): Add slowacos probe.
611 (__mpsin): Add slowsin probe.
612 (__mpcos): Add slowcos probe.
613
73c1ce4f
JM
6142013-11-19 Joseph Myers <joseph@codesourcery.com>
615
616 [BZ #15483]
617 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
618 thread-local __sim_exceptions_thread and global
619 __sim_exceptions_global.
620 (__sim_disabled_exceptions): Change to thread-local
621 __sim_disabled_exceptions_thread and global
622 __sim_disabled_exceptions_global.
623 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
624 and global __sim_round_mode_global.
625 (__simulate_exceptions): Use thread-local floating-point state and
626 set global state from it as needed.
627 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
628 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
629 __sim_round_mode_thread.
630 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
631 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
632 and global __sim_exceptions_global.
633 (__sim_disabled_exceptions): Change to thread-local
634 __sim_disabled_exceptions_thread and global
635 __sim_disabled_exceptions_global.
636 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
637 and global __sim_round_mode_global.
638 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
639 (SIM_SET_GLOBAL): Likewise.
640 * sysdeps/powerpc/soft-fp/sfp-machine.h
641 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
642 __sim_round_mode_thread.
643 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
644 __sim_disabled_exceptions_thread.
645 (__sim_exceptions): Change to __sim_exceptions_thread.
646 (__sim_disabled_exceptions): Change to
647 __sim_disabled_exceptions_thread.
648 (__sim_round_mode): Change to __sim_round_mode_thread.
649 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
650 thread-local floating-point state and set global state from it as
651 needed.
652 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
653 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
654 (__sim_disabled_exceptions): Remove extern declaration.
655 (feenableexcept): Use thread-local floating-point state and set
656 global state from it as needed.
657 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
658 extern declaration.
659 (__sim_disabled_exceptions): Likewise.
660 (__sim_round_mode): Likewise.
661 (__fegetenv): Use thread-local floating-point state.
662 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
663 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
664 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
665 floating-point state and set global state from it as needed.
666 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
667 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
668 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
669 Likewise.
670 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
671 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
672 Likewise.
673 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
674 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
675 Use __sim_round_mode_thread.
676 * math/test-fenv-tls.c: New file.
677 * math/Makefile (tests): Add test-fenv-tls.
678 ($(objpfx)test-fenv-tls): Depend on
679 $(common-objpfx)nptl/libpthread.so.
680
b5449b12
AS
6812013-11-19 Andreas Schwab <schwab@suse.de>
682
683 * locale/programs/locale.c (show_info): Decode wordarray elements.
684 * locale/categories.def (LC_MONETARY): Add element for
685 _NL_MONETARY_CRNCYSTR.
686 * locale/C-monetary.c (conversion_rate): New variable.
687 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
688 element.
689
e186536b
CM
6902013-11-18 Chris Metcalf <cmetcalf@tilera.com>
691
692 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
693 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
694
5c349950
PP
6952013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
696
697 * elf/Makefile (tst-auxv): New test.
698 * elf/tst-auxv.c: New
699 * elf/rtld.c (dl_main): Adjust AT_EXECFN
700
699df45b
JM
7012013-11-18 Joseph Myers <joseph@codesourcery.com>
702
703 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
704 (hidden_proto): Caller changed.
705 (hidden_tls_proto): New macro.
706 (libc_hidden_tls_proto): Likewise.
707 (rtld_hidden_tls_proto): Likewise.
708 (libm_hidden_tls_proto): Likewise.
709 (libresolv_hidden_tls_proto): Likewise.
710 (librt_hidden_tls_proto): Likewise.
711 (libdl_hidden_tls_proto): Likewise.
712 (libnss_files_hidden_tls_proto): Likewise.
713 (libnsl_hidden_tls_proto): Likewise.
714 (libnss_nisplus_hidden_tls_proto): Likewise.
715 (libutil_hidden_tls_proto): Likewise.
716
b7589107
OB
7172013-11-18 Ondřej Bílka <neleai@seznam.cz>
718
719 [BZ #10253]
720 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
721 (decompose_rpath): Defer expansion to fillin_rpath.
722 (_dl_init_paths): Pass linkmap to fillin_rpath.
723
250c23bd
RS
7242013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
725
726 * benchtests/Makefile: Add strsep.
727 * benchtests/bench-strsep.c: New file: strsep benchtest.
728 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
729
a7931fcf
AS
7302013-11-18 Andreas Schwab <schwab@suse.de>
731
732 * locale/programs/locale.c (show_info) [case byte]: Check for
733 '\377' instead of '\177'.
734 * locale/C-monetary.c (not_available): Always use "\377".
735 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
736 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
737 detect unavailable sign_posn locale elements.
738 * locale/localeconv.c (__localeconv): For grouping and
739 mon_grouping handle "\177" and "\377" like no grouping.
740 (INT_ELEM): New macro. Use it to set all numeric members.
741 * locale/programs/ld-monetary.c (monetary_read)
742 <tok_mon_grouping>: Normalize single -1 to the empty string.
743 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
744 Likewise.
745
728dab0e
OB
7462013-11-07 Ondřej Bílka <neleai@seznam.cz>
747
748 [BZ #16055]
749 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
750 when we match (nil).
751 * stdio-common/tst-sscanf.c (struct test): Add testcase.
752
66294491
JM
7532013-11-16 Joseph Myers <joseph@codesourcery.com>
754
ce665817
JM
755 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
756 (NO_TEST_INLINE): Update value.
757 (ERRNO_UNCHANGED): Likewise.
758 (ERRNO_EDOM): Likewise.
759 (ERRNO_ERANGE): Likewise.
760 (IGNORE_RESULT): Likewise.
761 (check_float_internal): Check signs of NaN results if
762 TEST_NAN_SIGN used.
763 (check_complex): Pass TEST_NAN_SIGN flag through to second
764 check_float_internal call.
765 (copysign_test_data): Add tests with quiet NaNs as second
766 argument. Use TEST_NAN_SIGN.
767 (fabs_test_data): Add test of negative quiet NaN argument. Use
768 TEST_NAN_SIGN.
769 (signbit_test_data): Add tests of quiet NaN argument.
770 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
771
ee1466a9
JM
772 * math/gen-libm-test.pl (show_exceptions): Take extra argument
773 $ignore_result.
774 (parse_args): Handle function results specified as IGNORE.
775 * math/libm-test.inc (IGNORE_RESULT): New macro.
776 (check_float_internal): Do not check numerical result if flag
777 IGNORE_RESULT set.
778 (check_complex): Pass through IGNORE_RESULT to second
779 check_float_internal call.
780 (check_int): Do not check numerical result if flag IGNORE_RESULT
781 set.
782 (check_long): Likewise.
783 (check_bool): Likewise.
784 (check_longlong): Likewise.
785 (lrint_test_data): Add tests of infinite and NaN arguments.
786 (lrint_tonearest_test_data): Likewise.
787 (lrint_towardzero_test_data): Likewise.
788 (lrint_downward_test_data): Likewise.
789 (lrint_upward_test_data): Likewise.
790 (llrint_test_data): Likewise.
791 (llrint_tonearest_test_data): Likewise.
792 (llrint_towardzero_test_data): Likewise.
793 (llrint_downward_test_data): Likewise.
794 (llrint_upward_test_data): Likewise.
795 (lround_test_data): Likewise.
796 (llround_test_data): Likewise.
797
14407b7e
JM
798 * math/libm-test.inc (NO_TEST_INLINE): New macro.
799 (ERRNO_UNCHANGED): Update value.
800 (ERRNO_EDOM): Likewise.
801 (ERRNO_ERANGE): Likewise.
802 (NO_TEST_INLINE_FLOAT): New macro.
803 (NO_TEST_INLINE_DOUBLE): Likewise.
804 (enable_test): New function.
805 (RUN_TEST_f_f): Check enable_test before running test.
806 (RUN_TEST_2_f): Likewise.
807 (RUN_TEST_fff_f): Likewise.
808 (RUN_TEST_c_f): Likewise.
809 (RUN_TEST_f_f1): Likewise.
810 (RUN_TEST_fF_f1): Likewise.
811 (RUN_TEST_fI_f1): Likewise.
812 (RUN_TEST_ffI_f1): Likewise.
813 (RUN_TEST_c_c): Likewise.
814 (RUN_TEST_cc_c): Likewise.
815 (RUN_TEST_f_i): Likewise.
816 (RUN_TEST_f_i_tg): Likewise.
817 (RUN_TEST_ff_i_tg): Likewise.
818 (RUN_TEST_f_b): Likewise.
819 (RUN_TEST_f_b_tg): Likewise.
820 (RUN_TEST_f_l): Likewise.
821 (RUN_TEST_f_L): Likewise.
822 (RUN_TEST_fFF_11): Likewise.
823 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
824 conditionals.
825 (cosh_test_data): Likewise.
826 (exp_test_data): Likewise.
827 (expm1_test_data): Likewise.
828 (hypot_test_data): Likewise.
829 (pow_test_data): Likewise.
830 (sinh_test_data): Likewise.
831 (tanh_test_data): Likewise.
832 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
833 flags argument.
834
ca07f197
JM
835 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
836 tests with quiet NaN input and output.
837 (acosh_test_data): Likewise.
838 (asin_test_data): Likewise.
839 (asinh_test_data): Likewise.
840 (atan_test_data): Likewise.
841 (atanh_test_data): Likewise.
842 (atan2_test_data): Likewise.
843 (cbrt_test_data): Likewise.
844 (cos_test_data): Likewise.
845 (cosh_test_data): Likewise.
846 (erf_test_data): Likewise.
847 (erfc_test_data): Likewise.
848 (exp_test_data): Likewise.
849 (exp10_test_data): Likewise.
850 (exp2_test_data): Likewise.
851 (expm1_test_data): Likewise.
852 (hypot_test_data): Likewise.
853 (j0_test_data): Likewise.
854 (j1_test_data): Likewise.
855 (jn_test_data): Likewise.
856 (lgamma_test_data): Likewise.
857 (log_test_data): Likewise.
858 (log10_test_data): Likewise.
859 (log1p_test_data): Likewise.
860 (log2_test_data): Likewise.
861 (pow_test_data): Likewise.
862 (scalb_test_data): Likewise.
863 (sin_test_data): Likewise.
864 (sincos_test_data): Likewise.
865 (sinh_test_data): Likewise.
866 (tan_test_data): Likewise.
867 (tanh_test_data): Likewise.
868 (tgamma_test_data): Likewise.
869 (y0_test_data): Likewise.
870 (y1_test_data): Likewise.
871 (yn_test_data): Likewise.
872
66294491
JM
873 [BZ #16167]
874 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
875 argument being NaN and avoid computations with second argument in
876 that case.
877 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
878 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
879 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
880
1820b143
CL
8812013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
882
883 * locale/iso-639.def: Add Chitwani Tharu (the).
884
714bd261
AS
8852013-11-14 Andreas Schwab <schwab@suse.de>
886
887 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
888 word instead of empty string.
889
7ab44563
AZ
8902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
893 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
895 (__fe_nomask_env): Likewise.
896
e8470ea2
SE
8972013-11-13 Steve Ellcey <sellcey@mips.com>
898
899 * benchtests/bench-timing.h: Include time.h.
900
17c1d9f0
L
9012013-11-13 H.J. Lu <hongjiu.lu@intel.com>
902
903 [BZ #15997]
904 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
905 to 3.4.0 for x32.
906 * sysdeps/unix/sysv/linux/configure: Regenerated.
907
9310c284
JM
9082013-11-13 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #16151]
911 * stdlib/strtod_l.c (round_and_return): Do not consider
912 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
913 exponent one less than half the least subnormal exponent.
914 * stdlib/test-strtod-round-data: Add more tests.
915 * stdlib/tst-strtod-round.c (tests): Regenerated.
916
7a2ad8cf
AZ
9172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
918
919 [BZ #14143]
920 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
921 (__fe_mask_env): Likewise.
922 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
923 libm_hidden_proto and add function prototype.
924 (__fe_mask_env): Add function prototype.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
926 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
928 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
930 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
931
50727aa7
MS
9322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
933
b2f386c1 934 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
935 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
936
a615be46
MS
9372013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
938
939 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
940 of htab_find_slot().
941
7ddace62
DM
9422013-11-11 David S. Miller <davem@davemloft.net>
943
944 [BZ #16150]
945 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
946 symbol in the non-vis3 case in static builds.
947 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
948 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
949 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
950 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
951
9182aa67
JK
9522013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
953
954 [BZ #387]
955 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
956 it is empty.
957
450a2e2d
AZ
9582013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959
b2f386c1
SP
960 * benchtests/Makefile: Add bench-strtod.
961 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 962
8ec3f656
AS
9632013-11-11 Andreas Schwab <schwab@suse.de>
964
965 [BZ #16153]
966 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
967 terminating NUL in key length.
968
76a9b998
AZ
9692013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970
971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
972 Add artificial ODP entry for vDSO symbol for PPC64.
973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
974 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
975
e4368156
OB
9762013-11-07 Ondřej Bílka <neleai@seznam.cz>
977
978 [BZ #15374]
979 * nss/getent.c (services_keys): Recognize services starting with digit.
980
8d6bb57c
DM
9812013-11-06 David S. Miller <davem@davemloft.net>
982
983 [BZ #15985]
984 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
985 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
986
e256c421
WN
9872013-11-06 Will Newton <will.newton@linaro.org>
988
989 * manual/memory.texi (Malloc Examples): Remove register
990 keyword from examples.
991
f6e12daa 9922013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 993
f6e12daa 994 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 995
9d880655
AS
9962013-11-04 Joseph Myers <joseph@codesourcery.com>
997
998 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
999 depending on [__GCC_IEC_559 > 0].
1000 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1001 depending on [__GCC_IEC_559_COMPLEX > 0].
1002
ae129d3c
CL
10032013-11-03 Chris Leonard <cjl@sugarlabs.org>
1004
1005 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1006 to iso-639.def.
1007
4a15c2a4 10082013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1009
1010 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1011
8b35e35d
OB
10122013-11-01 Ondřej Bílka <neleai@seznam.cz>
1013
1014 [BZ #16112]
1015 * malloc/malloc (malloc_info): Do not handle first bin as
1016 special case.
1017
1d70fd6c
CL
10182013-11-01 Chris Leonard <cjl@sugarlabs.org>
1019
1020 * locale/iso-639.def: Add Central Nahuatl (nhn).
1021
8c5c2600
BH
10222013-11-01 Bruno Haible <bruno@clisp.org>
1023
1024 [BZ #7003]
1025 * manual/math.texi (BSD Random): Specify range upper bound as
1026 in POSIX.
1027
da5579c2
CL
10282013-10-31 Chris Leonard <cjl@sugarlabs.org>
1029
1030 * locale/iso-639.def: Add Meadow Mari (mhr).
1031
5d30d853
OB
10322013-10-31 Ondřej Bílka <neleai@seznam.cz>
1033
1034 [BZ #14752], [BZ #15763]
1035 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1036 Validate name.
1037 * rt/tst_shm.c: Add test for escaping directory.
1038
a4966c61
AS
10392013-10-31 Andreas Schwab <schwab@suse.de>
1040
8a43e768 1041 [BZ #15917]
a4966c61
AS
1042 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1043 followed by 'x' as part of digit sequence.
1044 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1045
28d708c4
MAP
10462013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1047
1048 [BZ #16037]
1049 * configure.ac: allow GNU Make 4.0 and greater.
1050 * configure: Regenerated.
1051
a56ee40b
WN
10522013-10-30 Will Newton <will.newton@linaro.org>
1053
1054 [BZ #16038]
1055 * malloc/hooks.c (memalign_check): Limit alignment to the
1056 maximum representable power of two.
1057 * malloc/malloc.c (__libc_memalign): Likewise.
1058 * malloc/tst-memalign.c (do_test): Add test for very
1059 large alignment values.
1060 * malloc/tst-posix_memalign.c (do_test): Likewise.
1061
c6e4925d
OB
10622013-10-30 Ondřej Bílka <neleai@seznam.cz>
1063
1064 [BZ #11087]
1065 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1066 (munmap_chunk): Likewise.
1067 (mremap_chunk): Likewise.
1068
10692013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1070
8a43e768 1071 [BZ #15799]
bbea82f7
OB
1072 * stdlib/div.c (div): Remove obsolete code.
1073 * stdlib/ldiv.c (ldiv): Likewise.
1074 * stdlib/lldiv.c (lldiv): Likewise.
1075
977f4b31
SP
10762013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 [BZ #16071]
1079 * nss/nss_files/files-XXX.c (get_contents_ret): New
1080 enumerator.
1081 (get_contents): New function.
1082 (internal_getent): Use it. Expand size of LINEBUFLEN.
1083
cb8a6dbd
MF
10842013-10-30 Mike Frysinger <vapier@gentoo.org>
1085
1086 * configure.in: Moved to ...
1087 * configure.ac: ... here. Change reference to configure.in
1088 to configure.ac.
1089 * sysdeps/arm/preconfigure.ac: ... here.
1090 configure.in to configure.ac.
1091 * sysdeps/gnu/configure.in: Moved to ...
1092 * sysdeps/gnu/configure.ac: ... here.
1093 * sysdeps/i386/configure.in: Moved to ...
1094 * sysdeps/i386/configure.ac: ... here.
1095 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1096 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1097 * sysdeps/mach/configure.in: Moved to ...
1098 * sysdeps/mach/configure.ac: ... here.
1099 * sysdeps/mach/hurd/configure.in: Moved to ...
1100 * sysdeps/mach/hurd/configure.ac: ... here.
1101 * sysdeps/powerpc/configure.in: Moved to ...
1102 * sysdeps/powerpc/configure.ac: ... here.
1103 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1104 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1105 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1106 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1107 * sysdeps/s390/s390-32/configure.in: Moved to ...
1108 * sysdeps/s390/s390-32/configure.ac: ... here.
1109 * sysdeps/s390/s390-64/configure.in: Moved to ...
1110 * sysdeps/s390/s390-64/configure.ac: ... here.
1111 * sysdeps/sh/configure.in: Moved to ...
1112 * sysdeps/sh/configure.ac: ... here.
1113 * sysdeps/sparc/configure.in: Moved to ...
1114 * sysdeps/sparc/configure.ac: ... here.
1115 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1116 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1117 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1118 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1119 * sysdeps/x86_64/configure.in: Moved to ...
1120 * sysdeps/x86_64/configure.ac: ... here.
1121 * sysdeps/x86_64/preconfigure.in: Moved to ...
1122 * sysdeps/x86_64/preconfigure.ac: ... here.
1123 * aclocal.m4: Change reference to configure.in to configure.ac.
1124 * config.h.in: Likewise.
1125 * manual/install.texi: Likewise.
1126 * manual/maint.texi: Likewise.
1127 * Makefile: Likewise.
1128 * malloc/Makefile: Likewise.
1129 * nscd/Makefile: Likewise.
1130 * Makeconfig: Change reference to configure.in and
1131 preconfigure.in to configure.ac and preconfigure.ac
1132 respectively.
1133 * INSTALL: Regenerated.
1134 * configure: Likewise.
1135 * sysdeps/gnu/configure: Likewise.
1136 * sysdeps/i386/configure: Likewise.
1137 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1138 * sysdeps/mach/configure: Likewise.
1139 * sysdeps/mach/hurd/configure: Likewise.
1140 * sysdeps/powerpc/configure: Likewise.
1141 * sysdeps/powerpc/powerpc32/configure: Likewise.
1142 * sysdeps/powerpc/powerpc64/configure: Likewise.
1143 * sysdeps/s390/s390-32/configure: Likewise.
1144 * sysdeps/s390/s390-64/configure: Likewise.
1145 * sysdeps/sh/configure: Likewise.
1146 * sysdeps/sparc/configure: Likewise.
1147 * sysdeps/unix/sysv/linux/configure: Likewise.
1148 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1149 * sysdeps/x86_64/configure: Likewise.
1150 * sysdeps/x86_64/preconfigure: Likewise.
1151
36a4953a
AS
11522013-10-29 Andreas Schwab <schwab@suse.de>
1153
1154 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1155
c79a1204
SP
11562013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1157
dfa1b402
SP
1158 * benchtests/pow-inputs: Add new inputs.
1159
54f73d9c
SP
1160 * benchtests/exp-inputs: Add new inputs.
1161
c79a1204
SP
1162 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1163 conditional check for return value.
1164 (__cos32): Likewise.
1165
67beb545 11662013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1167
1168 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1169 to provide a boost for large inputs with word alignment.
1170 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1171 implementation based on optimized PPC64 strcpy.
1172 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1173 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1174 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1175 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1176
151659f6
OB
11772013-10-25 Ondřej Bílka <neleai@seznam.cz>
1178
482a077e 1179 [BZ #2801]
151659f6
OB
1180 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1181
10b0f26b
OB
11822013-10-25 Ondřej Bílka <neleai@seznam.cz>
1183
1184 [BZ #14876]
1185 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1186 * time/tst-strptime.c (day_tests): Add testcase.
1187
ca42d35e
OB
11882013-10-25 Ondřej Bílka <neleai@seznam.cz>
1189
482a077e 1190 [BZ #14029]
ca42d35e
OB
1191 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1192
52e6d801
FB
11932013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1194
1195 [BZ #16074]
1196 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1197 MAP_FAILED on error.
1198
7cbcdb36
SP
11992013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1200
1201 [BZ #16072]
1202 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1203 heap for large requests.
1204
894f3f10
AM
12052013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1206
1207 [BZ #9954]
1208 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1209 result if the result has no associated interface.
1210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1211 interface for all 127.X.Y.Z addresses.
1212
b85545a6
CL
12132013-10-24 Chris Leonard <cjl@sugarlabs.org>
1214
1215 * locale/iso-639.def: Add Ligurian (lij)
1216
d1f23d46
OB
12172013-10-21 Ondřej Bílka <neleai@seznam.cz>
1218
1219 [BZ #15825]
1220 * sunrpc/rpc_main.c: Document rpcgen -5.
1221
4db5b08f
MS
12222013-10-19 Michael Stahl <mstahl@redhat.com>
1223
1224 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1225
a471e96a
OB
12262013-10-19 Ondřej Bílka <neleai@seznam.cz>
1227
d1f23d46 1228 [BZ #10278]
a471e96a
OB
1229 * posix/glob.c: Match only directories when trailing slash is present.
1230 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1231 (main): Add testcase.
1232
45c30c61
OB
12332013-10-19 Ondřej Bílka <neleai@seznam.cz>
1234
1235 [BZ #15670]
1236 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1237
484c12fb
CD
12382013-10-18 Carlos O'Donell <carlos@redhat.com>
1239
3d7dc513
CD
1240 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1241 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1242 AUTH_DES and cindex for FIPS 140-2.
1243 (DES Encryption): Add cindex FIPS 46-3.
1244
484c12fb
CD
1245 * locale/locarchive.h (struct locarhandle): Add fname.
1246 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1247 if an optional argument was specified to --list-archive,
1248 otherwise NULL.
1249 * locale/programs/locarchive.c (show_archive_content): Take new
1250 argument fname and pass it via ah.fname to open_archive.
1251 * locale/programs/localedef.h: Update decl.
1252 (open_archive): If AH->fname is non-null, open that file
1253 rather than the default file name, and don't ignore ENOENT.
1254 (create_archive): Set AH.fname to NULL.
1255 (delete_locales_from_archive): Likewise.
1256 (add_locales_to_archive): Likewise.
1257 * locale/programs/locfile.c (write_all_categories): Likewise.
1258
3c8325fb
JM
12592013-10-18 Joseph Myers <joseph@codesourcery.com>
1260 Aldy Hernandez <aldyh@redhat.com>
1261
1262 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1263 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1264 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1265 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1266 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1267 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1268 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1269 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1270 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1271 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1272 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1273 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1274 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1275 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1276 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1277 Likewise.
1278 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1279 Likewise.
1280 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1281 Likewise.
1282 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1283 Likewise.
1284 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1285 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1286 Likewise.
1287 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1288 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1289 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1290 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1291 Likewise.
1292 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1294 * sysdeps/powerpc/preconfigure: Likewise.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1296 Likewise.
1297 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1298 Replace contents of file by #include of <fenv_libc.h>.
1299 * sysdeps/powerpc/soft-fp/sfp-machine.h
1300 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1301 and <sys/prctl.h>.
1302 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1303 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1304 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1305 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1306 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1307 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1309 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1310 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1311 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1312 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1313 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1315 Allow copysignl PLT reference to be missing.
1316
5abe0682
RS
13172013-10-18 Richard Sandiford <richard@codesourcery.com>
1318 Joseph Myers <joseph@codesourcery.com
1319
1320 [BZ #15948]
1321 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1322 single character.
1323 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1324
c7738d08
SP
13252013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1326
1327 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1328 * elf/tst-tls1.c: Likewise.
1329 * elf/tst-tls10.h: Likewise.
1330 * elf/tst-tls14.c: Likewise.
1331 * elf/tst-tls2.c: Likewise.
1332 * elf/tst-tls3.c: Likewise.
1333 * elf/tst-tls4.c: Likewise.
1334 * elf/tst-tls5.c: Likewise.
1335 * elf/tst-tls6.c: Likewise.
1336 * elf/tst-tls7.c: Likewise.
1337 * elf/tst-tls8.c: Likewise.
1338 * elf/tst-tls9.c: Likewise.
1339 * elf/tst-tlsmod1.c: Likewise.
1340 * elf/tst-tlsmod13.c: Likewise.
1341 * elf/tst-tlsmod13a.c: Likewise.
1342 * elf/tst-tlsmod14a.c: Likewise.
1343 * elf/tst-tlsmod16a.c: Likewise.
1344 * elf/tst-tlsmod16b.c: Likewise.
1345 * elf/tst-tlsmod2.c: Likewise.
1346 * elf/tst-tlsmod3.c: Likewise.
1347 * elf/tst-tlsmod4.c: Likewise.
1348 * elf/tst-tlsmod5.c: Likewise.
1349 * elf/tst-tlsmod6.c: Likewise.
1350
0bfcf2c7
OB
13512013-10-18 Ondřej Bílka <neleai@seznam.cz>
1352
1353 [BZ #12486]
1354 * malloc/malloc.c: remove checks for statistics.
1355
264aad1e
OB
13562013-10-17 Ondřej Bílka <neleai@seznam.cz>
1357
1358 [BZ #15277]
1359 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1360 * inet/tst-network.c: Add testcase.
1361
b957ced8
AS
13622013-10-17 Andreas Schwab <schwab@suse.de>
1363
1364 [BZ #15218]
1365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1366 to determine canonical name.
1367
c5d5d574
OB
13682013-10-17 Ondřej Bílka <neleai@seznam.cz>
1369
1370 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1371 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1394 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1395 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1397 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1398 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1399 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1400 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1402 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1403 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1404 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1406 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1407 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1408 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1409 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1410 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1411 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1412 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1413 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1414 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1415 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1416 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1417 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1418 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1419 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1428
e5c2c2d0
JM
14292013-10-17 Joseph Myers <joseph@codesourcery.com>
1430
1431 [BZ #16041]
1432 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1433 make result into a quiet NaN.
1434
51ca9e29
JM
14352013-10-16 Joseph Myers <joseph@codesourcery.com>
1436
1437 * soft-fp/adddf3.c: Fix horizontal whitespace.
1438 * soft-fp/addsf3.c: Likewise.
1439 * soft-fp/addtf3.c: Likewise.
1440 * soft-fp/divdf3.c: Likewise.
1441 * soft-fp/divsf3.c: Likewise.
1442 * soft-fp/divtf3.c: Likewise.
1443 * soft-fp/double.h: Likewise.
1444 * soft-fp/eqdf2.c: Likewise.
1445 * soft-fp/eqsf2.c: Likewise.
1446 * soft-fp/eqtf2.c: Likewise.
1447 * soft-fp/extenddftf2.c: Likewise.
1448 * soft-fp/extended.h: Likewise.
1449 * soft-fp/extendsfdf2.c: Likewise.
1450 * soft-fp/extendsftf2.c: Likewise.
1451 * soft-fp/extendxftf2.c: Likewise.
1452 * soft-fp/fixdfdi.c: Likewise.
1453 * soft-fp/fixdfsi.c: Likewise.
1454 * soft-fp/fixdfti.c: Likewise.
1455 * soft-fp/fixsfdi.c: Likewise.
1456 * soft-fp/fixsfsi.c: Likewise.
1457 * soft-fp/fixsfti.c: Likewise.
1458 * soft-fp/fixtfdi.c: Likewise.
1459 * soft-fp/fixtfsi.c: Likewise.
1460 * soft-fp/fixtfti.c: Likewise.
1461 * soft-fp/fixunsdfdi.c: Likewise.
1462 * soft-fp/fixunsdfsi.c: Likewise.
1463 * soft-fp/fixunsdfti.c: Likewise.
1464 * soft-fp/fixunssfdi.c: Likewise.
1465 * soft-fp/fixunssfsi.c: Likewise.
1466 * soft-fp/fixunssfti.c: Likewise.
1467 * soft-fp/fixunstfdi.c: Likewise.
1468 * soft-fp/fixunstfsi.c: Likewise.
1469 * soft-fp/fixunstfti.c: Likewise.
1470 * soft-fp/floatdidf.c: Likewise.
1471 * soft-fp/floatdisf.c: Likewise.
1472 * soft-fp/floatditf.c: Likewise.
1473 * soft-fp/floatsidf.c: Likewise.
1474 * soft-fp/floatsisf.c: Likewise.
1475 * soft-fp/floatsitf.c: Likewise.
1476 * soft-fp/floattidf.c: Likewise.
1477 * soft-fp/floattisf.c: Likewise.
1478 * soft-fp/floattitf.c: Likewise.
1479 * soft-fp/floatundidf.c: Likewise.
1480 * soft-fp/floatundisf.c: Likewise.
1481 * soft-fp/floatunditf.c: Likewise.
1482 * soft-fp/floatunsidf.c: Likewise.
1483 * soft-fp/floatunsisf.c: Likewise.
1484 * soft-fp/floatunsitf.c: Likewise.
1485 * soft-fp/floatuntidf.c: Likewise.
1486 * soft-fp/floatuntisf.c: Likewise.
1487 * soft-fp/floatuntitf.c: Likewise.
1488 * soft-fp/fmadf4.c: Likewise.
1489 * soft-fp/fmasf4.c: Likewise.
1490 * soft-fp/fmatf4.c: Likewise.
1491 * soft-fp/gedf2.c: Likewise.
1492 * soft-fp/gesf2.c: Likewise.
1493 * soft-fp/getf2.c: Likewise.
1494 * soft-fp/ledf2.c: Likewise.
1495 * soft-fp/lesf2.c: Likewise.
1496 * soft-fp/letf2.c: Likewise.
1497 * soft-fp/muldf3.c: Likewise.
1498 * soft-fp/mulsf3.c: Likewise.
1499 * soft-fp/multf3.c: Likewise.
1500 * soft-fp/negdf2.c: Likewise.
1501 * soft-fp/negsf2.c: Likewise.
1502 * soft-fp/negtf2.c: Likewise.
1503 * soft-fp/op-1.h: Likewise.
1504 * soft-fp/op-2.h: Likewise.
1505 * soft-fp/op-4.h: Likewise.
1506 * soft-fp/op-8.h: Likewise.
1507 * soft-fp/op-common.h: Likewise.
1508 * soft-fp/quad.h: Likewise.
1509 * soft-fp/single.h: Likewise.
1510 * soft-fp/soft-fp.h: Likewise.
1511 * soft-fp/sqrtdf2.c: Likewise.
1512 * soft-fp/sqrtsf2.c: Likewise.
1513 * soft-fp/sqrttf2.c: Likewise.
1514 * soft-fp/subdf3.c: Likewise.
1515 * soft-fp/subsf3.c: Likewise.
1516 * soft-fp/subtf3.c: Likewise.
1517 * soft-fp/truncdfsf2.c: Likewise.
1518 * soft-fp/trunctfdf2.c: Likewise.
1519 * soft-fp/trunctfsf2.c: Likewise.
1520 * soft-fp/trunctfxf2.c: Likewise.
1521 * soft-fp/unorddf2.c: Likewise.
1522 * soft-fp/unordsf2.c: Likewise.
1523 * soft-fp/unordtf2.c: Likewise.
1524
9ebb0332
JM
15252013-10-15 Joseph Myers <joseph@codesourcery.com>
1526
1527 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1528 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1529
4b1a6d8b
OB
15302013-10-15 Ondřej Bílka <neleai@seznam.cz>
1531
1532 * elf/dl-libc.c: Clear initfini list after freeing.
1533
1e145589
JM
15342013-10-14 Joseph Myers <joseph@codesourcery.com>
1535
1536 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1537 * soft-fp/addsf3.c: Likewise.
1538 * soft-fp/addtf3.c: Likewise.
1539 * soft-fp/divdf3.c: Likewise.
1540 * soft-fp/divsf3.c: Likewise.
1541 * soft-fp/divtf3.c: Likewise.
1542 * soft-fp/double.h: Likewise.
1543 * soft-fp/eqdf2.c: Likewise.
1544 * soft-fp/eqsf2.c: Likewise.
1545 * soft-fp/eqtf2.c: Likewise.
1546 * soft-fp/extenddftf2.c: Likewise.
1547 * soft-fp/extended.h: Likewise.
1548 * soft-fp/extendsfdf2.c: Likewise.
1549 * soft-fp/extendsftf2.c: Likewise.
1550 * soft-fp/extendxftf2.c: Likewise.
1551 * soft-fp/fixdfdi.c: Likewise.
1552 * soft-fp/fixdfsi.c: Likewise.
1553 * soft-fp/fixdfti.c: Likewise.
1554 * soft-fp/fixsfdi.c: Likewise.
1555 * soft-fp/fixsfsi.c: Likewise.
1556 * soft-fp/fixsfti.c: Likewise.
1557 * soft-fp/fixtfdi.c: Likewise.
1558 * soft-fp/fixtfsi.c: Likewise.
1559 * soft-fp/fixtfti.c: Likewise.
1560 * soft-fp/fixunsdfdi.c: Likewise.
1561 * soft-fp/fixunsdfsi.c: Likewise.
1562 * soft-fp/fixunsdfti.c: Likewise.
1563 * soft-fp/fixunssfdi.c: Likewise.
1564 * soft-fp/fixunssfsi.c: Likewise.
1565 * soft-fp/fixunssfti.c: Likewise.
1566 * soft-fp/fixunstfdi.c: Likewise.
1567 * soft-fp/fixunstfsi.c: Likewise.
1568 * soft-fp/fixunstfti.c: Likewise.
1569 * soft-fp/floatdidf.c: Likewise.
1570 * soft-fp/floatdisf.c: Likewise.
1571 * soft-fp/floatditf.c: Likewise.
1572 * soft-fp/floatsidf.c: Likewise.
1573 * soft-fp/floatsisf.c: Likewise.
1574 * soft-fp/floatsitf.c: Likewise.
1575 * soft-fp/floattidf.c: Likewise.
1576 * soft-fp/floattisf.c: Likewise.
1577 * soft-fp/floattitf.c: Likewise.
1578 * soft-fp/floatundidf.c: Likewise.
1579 * soft-fp/floatundisf.c: Likewise.
1580 * soft-fp/floatunsidf.c: Likewise.
1581 * soft-fp/floatunsisf.c: Likewise.
1582 * soft-fp/floatuntidf.c: Likewise.
1583 * soft-fp/floatuntisf.c: Likewise.
1584 * soft-fp/floatuntitf.c: Likewise.
1585 * soft-fp/fmadf4.c: Likewise.
1586 * soft-fp/fmasf4.c: Likewise.
1587 * soft-fp/fmatf4.c: Likewise.
1588 * soft-fp/gedf2.c: Likewise.
1589 * soft-fp/gesf2.c: Likewise.
1590 * soft-fp/getf2.c: Likewise.
1591 * soft-fp/ledf2.c: Likewise.
1592 * soft-fp/lesf2.c: Likewise.
1593 * soft-fp/letf2.c: Likewise.
1594 * soft-fp/muldf3.c: Likewise.
1595 * soft-fp/mulsf3.c: Likewise.
1596 * soft-fp/multf3.c: Likewise.
1597 * soft-fp/negdf2.c: Likewise.
1598 * soft-fp/negsf2.c: Likewise.
1599 * soft-fp/negtf2.c: Likewise.
1600 * soft-fp/op-1.h: Likewise.
1601 * soft-fp/op-2.h: Likewise.
1602 * soft-fp/op-4.h: Likewise.
1603 * soft-fp/op-8.h: Likewise.
1604 * soft-fp/op-common.h: Likewise.
1605 * soft-fp/quad.h: Likewise.
1606 * soft-fp/single.h: Likewise.
1607 * soft-fp/soft-fp.h: Likewise.
1608 * soft-fp/sqrtdf2.c: Likewise.
1609 * soft-fp/sqrtsf2.c: Likewise.
1610 * soft-fp/sqrttf2.c: Likewise.
1611 * soft-fp/subdf3.c: Likewise.
1612 * soft-fp/subsf3.c: Likewise.
1613 * soft-fp/subtf3.c: Likewise.
1614 * soft-fp/truncdfsf2.c: Likewise.
1615 * soft-fp/trunctfdf2.c: Likewise.
1616 * soft-fp/trunctfsf2.c: Likewise.
1617 * soft-fp/trunctfxf2.c: Likewise.
1618 * soft-fp/unorddf2.c: Likewise.
1619 * soft-fp/unordsf2.c: Likewise.
1620 * soft-fp/unordtf2.c: Likewise.
1621
17c48a60
OB
16222013-10-14 Ondřej Bílka <neleai@seznam.cz>
1623
1624 [BZ #15672]
1625 * misc/error.c (error_tail): Fix possible buffer overflow.
1626
cabba934
OB
16272013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1628
1629 [BZ #13028]
1630 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1631 address.
1632
94bf958a
PM
16332013-10-14 P. J. McDermott <pj@pehjota.net>
1634
1635 [BZ #832]
1636 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1637 testing pipefail option.
1638
71b4dea7
JM
16392013-10-12 Joseph Myers <joseph@codesourcery.com>
1640
1641 * soft-fp/double.h: Indent preprocessor directives inside #if.
1642 * soft-fp/extended.h: Likewise.
1643 * soft-fp/op-2.h: Likewise.
1644 * soft-fp/op-4.h: Likewise.
1645 * soft-fp/op-common.h: Likewise.
1646 * soft-fp/quad.h: Likewise.
1647 * soft-fp/single.h: Likewise.
1648 * soft-fp/soft-fp.h: Likewise.
1649
55602758
YC
16502013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1651
1652 * iconv/iconv_prog.c: Fix typos.
1653 * stdio-common/psiginfo-data.h: Likewise.
1654
9cd83302
RT
16552013-10-12 Reuben Thomas <rrt@sc3d.org>
1656
1657 [BZ #15764]
1658 * locale/setlocale.c: Fix typo.
1659
99fd9f47
JM
16602013-10-12 Joseph Myers <joseph@codesourcery.com>
1661
b7ea74f0
JM
1662 [BZ #16036]
1663 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1664 signaling NaN arguments.
1665 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1666 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1667
8a509447
JM
1668 [BZ #14910]
1669 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1670 unordered operands.
1671 * soft-fp/gesf2.c (__gesf2): Likewise.
1672 * soft-fp/getf2.c (__getf2): Likewise.
1673 * soft-fp/ledf2.c (__ledf2): Likewise.
1674 * soft-fp/lesf2.c (__lesf2): Likewise.
1675 * soft-fp/letf2.c (__letf2): Likewise.
1676
98998e9f
JM
1677 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1678 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1679 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1680 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1681 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1682 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1683 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1684 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1685 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1686 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1687 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1688 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1689 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1690 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1691 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1692 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1693 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1694 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1695 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1696 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1697 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1698 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1699 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1700 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1701 * soft-fp/floattidf.c (__floattidf): Likewise.
1702 * soft-fp/floattisf.c (__floattisf): Likewise.
1703 * soft-fp/floattitf.c (__floattitf): Likewise.
1704 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1705 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1706 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1707 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1708 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1709 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1710 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1711 * soft-fp/gesf2.c (__gesf2): Likewise.
1712 * soft-fp/getf2.c (__getf2): Likewise.
1713 * soft-fp/ledf2.c (__ledf2): Likewise.
1714 * soft-fp/lesf2.c (__lesf2): Likewise.
1715 * soft-fp/letf2.c (__letf2): Likewise.
1716
8edc4a11
JM
1717 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1718 Undefine and redefine.
1719 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1720 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1721 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1722 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1723 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1724 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1725 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1726 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1727 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1728 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1729 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1730 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1731 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1732 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1733 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1734
8399acaf
JM
1735 [BZ #16032]
1736 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1737 without decrementing exponent if mantissa >= that for the
1738 denominator, not >.
1739 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1740 denominator, not >. Decrement exponent in < case instead of
1741 incrementing in >= case.
1742 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1743 without decrementing exponent if mantissa >= that for the
1744 denominator, not >.
1745
99fd9f47
JM
1746 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1747 computing saturated result for unsigned overflow.
1748
10e1cf6b
SP
17492013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1750 Jeff Law <law@redhat.com>
1751
1752 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1753 (atan2Mp): Add systemtap probe marker.
1754 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1755 (__ieee754_log): Add systemtap probe marker.
1756 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1757 (atanMp): Add systemtap probe marker.
1758 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1759 (tanMp): Add systemtap probe marker.
1760 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1761 (__slowexp): Add systemtap probe marker.
1762 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1763 (__slowpow): Add systemtap probe marker.
1764 * manual/probes.texi: Document probes.
1765
3d110c7c
EB
17662013-10-11 Eric Biggers <ebiggers3@gmail.com>
1767
1768 [BZ #15362]
1769 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1770 written.
1771 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1772 written.
1773 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1774 written to buffer but not flushed.
1775 * libio/iofwrite_u.c: Likewise.
1776 * libio/iopadn.c: Return bytes returned even if EOF was
1777 encountered.
1778 * libio/iowpadn.c: Likewise.
1779 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1780 if _IO_padn does not write the whole buffer.
1781 [!COMPILE_WPRINTF] (PAD): Likewise.
1782
75b4202a
DM
17832013-10-10 David S. Miller <davem@davemloft.net>
1784
1785 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1786 directory block.
1787
6c6352e6
JM
17882013-10-10 Joseph Myers <joseph@codesourcery.com>
1789
33b853c3
JM
1790 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1791 instead of FSF address.
1792 * soft-fp/fixdfti.c: Likewise.
1793 * soft-fp/fixsfti.c: Likewise.
1794 * soft-fp/fixtfti.c: Likewise.
1795 * soft-fp/fixunsdfti.c: Likewise.
1796 * soft-fp/fixunssfti.c: Likewise.
1797 * soft-fp/fixunstfti.c: Likewise.
1798 * soft-fp/floattidf.c: Likewise.
1799 * soft-fp/floattisf.c: Likewise.
1800 * soft-fp/floattitf.c: Likewise.
1801 * soft-fp/floatuntidf.c: Likewise.
1802 * soft-fp/floatuntisf.c: Likewise.
1803 * soft-fp/floatuntitf.c: Likewise.
1804 * soft-fp/trunctfxf2.c: Likewise.
1805
6c6352e6
JM
1806 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1807 * soft-fp/fixdfti.c: Likewise.
1808 * soft-fp/fixsfti.c: Likewise.
1809 * soft-fp/fixtfti.c: Likewise.
1810 * soft-fp/fixunsdfti.c: Likewise.
1811 * soft-fp/fixunssfti.c: Likewise.
1812 * soft-fp/fixunstfti.c: Likewise.
1813 * soft-fp/floattidf.c: Likewise.
1814 * soft-fp/floattisf.c: Likewise.
1815 * soft-fp/floattitf.c: Likewise.
1816 * soft-fp/floatuntidf.c: Likewise.
1817 * soft-fp/floatuntisf.c: Likewise.
1818 * soft-fp/floatuntitf.c: Likewise.
1819 * soft-fp/trunctfxf2.c: Likewise.
1820
3bf78b71
DM
18212013-10-10 David S. Miller <davem@davemloft.net>
1822
1823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1824
6f10289e
JM
18252013-10-10 Joseph Myers <joseph@codsourcery.com>
1826
bd878fc0
JM
1827 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1828 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1829 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1830 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1831 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1832 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1833 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1834
6f10289e
JM
1835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1836 for NaNs before doing comparisons on argument.
1837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1838 Likewise.
1839
321e2684
WN
18402013-10-10 Will Newton <will.newton@linaro.org>
1841
1842 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1843 passed to _int_memalign does not overflow.
1844
40fefba1
TR
18452013-10-10 Torvald Riegel <triegel@redhat.com>
1846
1847 * scripts/bench.pl: Add include-sources directive.
1848 * benchtests/README: Update documentation.
1849
2ae21ed2
JM
18502013-10-10 Joseph Myers <joseph@codesourcery.com>
1851
dcc2dd3f
JM
1852 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1853 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1854 instead of FP_INIT_ROUNDMODE.
1855 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1856 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1857
2ae21ed2
JM
1858 [BZ #16034]
1859 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1860 copy class of input value.
1861 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1862 not handle exceptions.
1863 * soft-fp/negsf2.c (__negsf2): Likewise.
1864 * soft-fp/negtf2.c (__negtf2): Likewise.
1865 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1866
cb8f9562
JM
18672013-10-09 Joseph Myers <joseph@codesourcery.com>
1868
1869 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1870 semicolon. From Linux kernel.
1871
5b60c59d
AB
18722013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1873
1874 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1875
b86835ca
YC
18762013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1877
1878 [BZ #156]
1879 * manual/socket.texi: Added statement about buffer
1880 for gethostbyname2_r.
1881
e7044ea7
OB
18822013-10-08 Ondřej Bílka <neleai@seznam.cz>
1883
1884 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1885 Use .p2align directive instead, throughout.
1886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1887 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1888 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1891 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1892 * sysdeps/x86_64/strchr.S: Likewise.
1893 * sysdeps/x86_64/strrchr.S: Likewise.
1894
09544cbc
SP
18952013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1896
88576635
SP
1897 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1898
e7b2d1dd
SP
1899 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1900
09544cbc
SP
1901 * sysdeps/generic/math_private.h (__mpsin1): Remove
1902 declaration.
1903 (__mpcos1): Likewise.
1904 (__mpsin): New argument __range_reduce.
1905 (__mpcos): Likewise.
1906 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1907 (slow): Use __mpsin and __mpcos.
1908 (slow1): Likewise.
1909 (slow2): Likewise.
1910 (sloww): Likewise.
1911 (sloww1): Likewise.
1912 (sloww2): Likewise.
1913 (bsloww): Likewise.
1914 (bsloww1): Likewise.
1915 (bsloww2): Likewise.
1916 (cslow2): Likewise.
1917 (csloww): Likewise.
1918 (csloww1): Likewise.
1919 (csloww2): Likewise.
1920 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1921 range_reduce. Merge in __mpsin1.
1922 (__mpcos): Likewise.
1923 (__mpsin1): Remove.
1924 (__mpcos1): Likewise.
1925
7602d070
JM
19262013-10-07 Joseph Myers <joseph@codesourcery.com>
1927
1928 * locale/loadlocale.c (_nl_intern_locale_data): Use
1929 LOCFILE_ALIGNED_P.
1930 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1931 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1932 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1933 obstack data is appropriately aligned.
1934 (obstack_int32_grow_fast): Likewise.
1935 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1936 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1937 (add_locale_uint32_array): Likewise.
1938
a357259b
SP
19392013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1940
1941 * benchtests/Makefile: Remove ARGLIST and RET variables.
1942 ($(objpfx)bench-%.c): Pass only function name to the script.
1943 * benchtests/README: Update documentation.
1944 * benchtests/acos-inputs: Add new directives.
1945 * benchtests/acosh-inputs: Likewise.
1946 * benchtests/asin-inputs: Likewise.
1947 * benchtests/asinh-inputs: Likewise.
1948 * benchtests/atan-inputs: Likewise.
1949 * benchtests/atanh-inputs: Likewise.
1950 * benchtests/cos-inputs: Likewise.
1951 * benchtests/cosh-inputs: Likewise.
1952 * benchtests/exp-inputs: Likewise.
1953 * benchtests/log-inputs: Likewise.
1954 * benchtests/pow-inputs: Likewise.
1955 * benchtests/rint-inputs: Likewise.
1956 * benchtests/sin-inputs: Likewise.
1957 * benchtests/sinh-inputs: Likewise.
1958 * benchtests/tan-inputs: Likewise.
1959 * benchtests/tanh-inputs: Likewise.
1960 * scripts/bench.pl: Add support for new directives.
1961
9ec1b13d
AM
19622013-10-07 Alan Modra <amodra@gmail.com>
1963
1964 * README: Fix careless merge.
1965
8b7d57cd
AM
19662013-10-05 Alan Modra <amodra@gmail.com>
1967
1968 * NEWS: Mention powerpc64le support and bugs fixed.
1969 * README: Both big-endian and little-endian powerpc64 supported.
1970
7b7bab13
ST
19712013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1972
1973 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1974 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1975 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1976 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1977
d39baad1
RA
19782013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1979
1980 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1981 match prototype.
1982
cd78f7e7
JM
19832013-10-04 Joseph Myers <joseph@codesourcery.com>
1984
29d73d86
JM
1985 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1986 Move -mhard-float appending from
1987 ports/sysdeps/powerpc/powerpc32/Makefile.
1988 [$(with-fp) = yes] (ASFLAGS): Likewise.
1989 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1990 * sysdeps/powerpc/nofpu: Move directory from
1991 ports/sysdeps/powerpc/nofpu.
1992 * sysdeps/powerpc/soft-fp: Move directory from
1993 ports/sysdeps/powerpc/soft-fp.
1994 * sysdeps/powerpc/powerpc32/405: Move directory from
1995 ports/sysdeps/powerpc/powerpc32/405.
1996 * sysdeps/powerpc/powerpc32/440: Move directory from
1997 ports/sysdeps/powerpc/powerpc32/440.
1998 * sysdeps/powerpc/powerpc32/464: Move directory from
1999 ports/sysdeps/powerpc/powerpc32/464.
2000 * sysdeps/powerpc/powerpc32/476: Move directory from
2001 ports/sysdeps/powerpc/powerpc32/476.
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2003 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2005 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2007 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2009 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2011 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2012 * README: Update for powerpc-*-linux-gnu software floating point
2013 support in libc.
2014
e246b347
JM
2015 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2016 case to powerpc/powerpc32*.
2017 * sysdeps/unix/sysv/linux/configure: Regenerated.
2018
89c2003e
JM
2019 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2020 (_FPU_MASK_OM): Define as 0x04.
2021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2023 0x00c10080.
2024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2025 0x0000003c.
2026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2027
cd78f7e7
JM
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2029 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2030 getcontext_e500.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2032 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2033 setcontext_e500.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2035 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2036 and setcontext_e500.
2037
c755294d
CL
20382013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2039
2040 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2041
e16d221c
SP
20422013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2043
2044 * manual/threads.texi (Default Thread Attributes): Fix typo.
2045
215c7d43
WN
20462013-10-04 Will Newton <will.newton@linaro.org>
2047
2048 * malloc/Makefile: Add tst-memalign.
2049 * malloc/tst-memalign.c: New file.
2050
27d0461b
WN
2051 * malloc/tst-posix_memalign.c: Add comments.
2052 (do_test): Add comments and call free on all potentially
2053 allocated pointers. Add space after cast.
2054
1bc92709
WN
2055 * malloc/tst-pvalloc.c: Add comments.
2056 (do_test): Add comments and call free on all potentially
2057 allocated pointers. Remove duplicate check for NULL pointer.
2058 Add space after cast.
2059
66a9be9d
WN
2060 * malloc/tst-valloc.c: Add comments.
2061 (do_test): Add comments and call free on all potentially
2062 allocated pointers. Remove duplicate check for NULL pointer.
2063 Add space after cast.
2064
4cb81307
AM
20652013-10-04 Alan Modra <amodra@gmail.com>
2066
2067 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2068 Use stdint types in rather than __attribute__((mode())).
2069 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2070
f8e3e9f3
AM
20712013-10-04 Alan Modra <amodra@gmail.com>
2072
2073 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2074 Correct handling of unaligned relocs for little-endian.
2075 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2076
8f9ebb08
AM
20772013-10-04 Alan Modra <amodra@gmail.com>
2078
2079 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2080 * configure: Regenerate.
2081 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2082 * shlib-versions: Likewise.
2083
0edf96c2
AM
20842013-10-04 Alan Modra <amodra@gmail.com>
2085
2086 * string/tester.c (test_memrchr): Increment reported test cycle.
2087
e0f7a380
AM
20882013-10-04 Alan Modra <amodra@gmail.com>
2089
2090 * string/test-memcpy.c (do_one_test): When reporting errors, print
2091 string address and don't overrun end of string.
2092
466b0393
AM
20932013-10-04 Alan Modra <amodra@gmail.com>
2094
2095 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2096 insrdi. Make better use of reg selection to speed exit slightly.
2097 Schedule entry path a little better. Remove useless "are we done"
2098 checks on entry to main loop. Handle wrapping around zero address.
2099 Correct main loop count. Handle single left-over word from main
2100 loop inline rather than by using loop_small. Remove extra word
2101 case in loop_small caused by wrong loop count. Add little-endian
2102 support.
2103 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2104 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2105 cache hint.
2106 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2107 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2108 support. Avoid rlwimi.
2109 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2110
3be87c77
AM
21112013-10-04 Alan Modra <amodra@gmail.com>
2112
2113 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2114 insrdi. Formatting.
3be87c77
AM
2115 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2118 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2119 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2120 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2121
759cfef3
AM
21222013-10-04 Alan Modra <amodra@gmail.com>
2123
2124 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2125 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2126 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2127 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2128 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2130 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2133 use of regs. Use power7 mtocrf. Tidy function tails.
2134
fe6e95d7
AM
21352013-10-04 Alan Modra <amodra@gmail.com>
2136
2137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2138 Formatting. Consistently use rXXX register defines or rN defines.
2139 Use early exit labels that avoid restoring unused non-volatile regs.
2140 Make cr field use more consistent with rWORDn compares. Rename
2141 regs used as shift registers for unaligned loop, using rN defines
2142 for short lifetime/multiple use regs.
2143 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2144 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2145 addi 1,1,64 to pop stack frame. Simplify return value code.
2146 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2147
664318c3
AM
21482013-10-04 Alan Modra <amodra@gmail.com>
2149
2150 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2151 support. Correct typos, formatting. Optimize tail. Use insrdi
2152 rather than rlwimi.
2153 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2154 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2155 little-endian support. Correct typos.
2156 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2157 rather than rlwimi.
2158 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2159 in loop and entry code to keep "and." results.
2160 (strchr): Add little-endian support. Comment. Move cntlzd
2161 earlier in tail.
2162 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2163
43b84013
AM
21642013-10-04 Alan Modra <amodra@gmail.com>
2165
2166 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2167 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2168 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2169 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2170
8a7413f9
AM
21712013-10-04 Alan Modra <amodra@gmail.com>
2172
2173 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2174 (rTMP): Define as r11.
2175 (strcmp): Add little-endian support. Optimise tail.
2176 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2177 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2178 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2179 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2180 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2183
33ee81de
AM
21842013-10-04 Alan Modra <amodra@gmail.com>
2185
2186 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2187 little-endian support. Remove unnecessary "are we done" tests.
2188 Handle "s" wrapping around zero and extremely large "size".
2189 Correct main loop count. Handle single left-over word from main
2190 loop inline rather than by using small_loop. Correct comments.
2191 Delete "zero" tail, use "end_max" instead.
2192 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2193
db9b4570
AM
21942013-10-04 Alan Modra <amodra@gmail.com>
2195
2196 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2197 support. Don't branch over align.
2198 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2199 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2200 support. Rearrange tmp reg use to suit. Comment.
2201 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2202
f7c399cf
AM
22032013-10-04 Alan Modra <amodra@gmail.com>
2204
2205 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2206
0b2c2ace
AM
22072013-10-04 Alan Modra <amodra@gmail.com>
2208
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2210 conditional form of branch and link when obtaining pc.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2212
02f04a6c
AM
22132013-10-04 Alan Modra <amodra@gmail.com>
2214
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2216 HIWORD/LOWORD.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2219
9b874b2f
AM
22202013-10-04 Alan Modra <amodra@gmail.com>
2221
2222 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2223 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2224 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2225 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2226 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2227 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2228 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2229 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2230 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2231 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2232
be1e5d31
AB
22332013-10-04 Anton Blanchard <anton@au1.ibm.com>
2234 Alistair Popple <alistair@ozlabs.au.ibm.com>
2235 Alan Modra <amodra@gmail.com>
2236
2237 [BZ #15723]
2238 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2240 _dl_hwcap access for little-endian.
2241 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2242 destroy vmx regs when saving unaligned.
2243 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2244 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2245 destroy vmx regs when saving unaligned.
2246
fef13a78
AM
22472013-10-04 Alan Modra <amodra@gmail.com>
2248
2249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2250 Don't use a union to pack hi/low value.
2251
76a66d51
AB
22522013-10-04 Anton Blanchard <anton@au1.ibm.com>
2253
2254 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2255 for little-endian.
2256 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2257 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2258 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2259 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2260 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2261
6a31fe7f
AM
22622013-10-04 Alan Modra <amodra@gmail.com>
2263
2264 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2265 constants to usual value for .cst8 section, and remove redundant
2266 high address load.
2267 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2268 constant for 0x1p52. Load little-endian words of double from
2269 correct stack offsets.
2270
7b88401f
AM
22712013-10-04 Alan Modra <amodra@gmail.com>
2272
2273 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2274 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2275 words of double from correct stack offsets.
2276 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2277 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2278 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2281 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2282 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2283 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2284 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2285 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2286 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2287 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2288 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2289 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2290 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2291 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2292 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2293
9c008155
AM
22942013-10-04 Alan Modra <amodra@gmail.com>
2295
2296 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2297 64-bit int/double union.
2298 (_FPU_SETCW): Likewise.
2299 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2300 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2301
da13146d
AM
23022013-10-04 Alan Modra <amodra@gmail.com>
2303
2304 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2305 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2306
603e8410
AM
23072013-10-04 Alan Modra <amodra@gmail.com>
2308
2309 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2310 use vector int constants.
2311 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2312
4a28b3ca
AB
23132013-10-04 Anton Blanchard <anton@au1.ibm.com>
2314
2315 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2316 array with long long.
2317 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2318 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2319 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2320 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2321 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2322 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2323 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2324 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2325 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2326 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2327 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2328 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2329 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2330
2ca85d2b
AB
23312013-10-04 Anton Blanchard <anton@au1.ibm.com>
2332
2333 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2334 (__signbit): Likewise. Correct for little-endian.
2335 (__signbitl): Call __signbit.
2336 (lrint): Correct for little-endian.
2337 (lrintf): Call lrint.
2338
62a728ae
AM
23392013-10-04 Alan Modra <amodra@gmail.com>
2340
2341 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2342 union 32-bit int array member with 64-bit int array.
2343 (t515, tm256): Double rather than long double.
2344 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2345
32c301df
AM
23462013-10-04 Alan Modra <amodra@gmail.com>
2347
2348 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2349 Delete.
2350 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2351 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2352 version of math_ldbl.h.
2353
650ef4bd
AM
23542013-10-04 Alan Modra <amodra@gmail.com>
2355
2356 [BZ #15734], [BZ #15735]
2357 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2358 all uses of ieee875 long double macros and unions. Simplify test
2359 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2360 ldbl_extract_mantissa value for ix,iy exponents. Properly
2361 normalize after ldbl_extract_mantissa, and don't add hidden bit
2362 already handled. Don't treat low word of ieee854 mantissa like
2363 low word of IBM long double and mask off bit when testing for
2364 zero.
2365 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2366 all uses of ieee875 long double macros and unions. Simplify tests
2367 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2368 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2369 two1022, instead use their values. Recognise that tests for large
2370 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2371 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2372 Rewrite all uses of ieee875 long double macros and unions. Simplify
2373 test for 0.0L and nan. Correct negation.
2374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2375 ieee875 long double macros and unions. Correct output for large
2376 magnitude x. Correct absolute value calculation.
2377 (__erfcl): Likewise.
2378 * math/libm-test.inc: Add tests for errors discovered in IBM long
2379 double versions of fmodl, remainderl, erfl and erfcl.
2380
765714ca
AM
23812013-10-04 Alan Modra <amodra@gmail.com>
2382
2383 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2384 all uses of ieee854 long double macros and unions. Simplify tests
2385 for long doubles that are fully specified by the high double.
2386 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2387 Likewise.
2388 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2389 Remove dead code too.
2390 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2391 (__ieee754_ynl): Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2395 Remove dead code too.
2396 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2399 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2400 Simplify.
2401 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2402 Simplify.
2403 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2404 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2406 Comment on variable precision.
2407 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2409 Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2413 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2414 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2415
4ebd120c
AM
24162013-10-04 Alan Modra <amodra@gmail.com>
2417
2418 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2419 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2420 all uses of ieee854 long double macros and unions.
2421 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2425 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2426 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2427 Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2434 Simplify sign and nan test too.
2435 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2438 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2439 Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2442 Likewise.
2443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2445 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2446 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2447 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2449
1b6adf88
AM
24502013-10-04 Alan Modra <amodra@gmail.com>
2451
2452 * stdio-common/printf_size.c (__printf_size): Don't use
2453 union ieee854_long_double in fpnum union.
2454 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2455 signbit macro to retrieve sign from long double.
2456 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2457 retrieve sign from long double.
2458 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2459 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2460 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2461 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2462 * math/test-misc.c (main): Don't use union ieee854_long_double.
2463
4cf69995
AM
24642013-10-04 Alan Modra <amodra@gmail.com>
2465
2466 [BZ #15680]
2467 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2468 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2469 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2470 calculation. Remove unnecessary test for denormal exponent.
2471 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2472 Correct handling of denormals. Avoid undefined shift behaviour.
2473 Correct normalisation of low mantissa when low double is denormal.
2474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2475 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2476 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2477 Correct normalisation of low mantissa. Test for overflow of high
2478 mantissa and normalise.
2479 (ldbl_nearbyint): Use more readable constant for two52.
2480 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2481 (__mpn_construct_long_double): Fix test for overflow of high
2482 mantissa and correct normalisation. Avoid undefined shift.
2483
9605ca6c
AM
24842013-10-04 Alan Modra <amodra@gmail.com>
2485
2486 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2487 (union ibm_extended_long_double): Define as an array of ieee754_double.
2488 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2489 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2490 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2491 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2499
975569d0
JM
25002013-10-03 Joseph Myers <joseph@codesourcery.com>
2501
d3d23756
JM
2502 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2503 page size instead of calling getpagesize.
2504
975569d0
JM
2505 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2506 (LOCFILE_ALIGN_MASK): Likewise.
2507 (LOCFILE_ALIGN_UP): Likewise.
2508 (LOCFILE_ALIGNED_P): Likewise.
2509 * locale/programs/ld-collate.c (collate_output): Use the new
2510 macros instead of __alignof__ (int32_t).
2511 * locale/weight.h (findidx): Likewise.
2512
b1fe1f2b
OB
25132013-10-03 Ondřej Bílka <neleai@seznam.cz>
2514
2515 [BZ #431]
2516 * manual/string.texi: Fix strncat and wcsncat.
2517
5f855e35
BM
25182013-10-03 Brooks Moses <bmoses@google.com>
2519
2520 [BZ #15915]
2521 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2522 * Makerules: ...here, and adjust associated comments.
2523
3cef6009
WN
25242013-10-02 Will Newton <will.newton@linaro.org>
2525
2526 * malloc/Makefile: Add tst-pvalloc.
2527 * malloc/tst-pvalloc.c: New file.
2528
7815420b
WN
25292013-10-02 Will Newton <will.newton@linaro.org>
2530
2531 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2532 improve test coverage.
2533
4868b204
WN
25342013-10-02 Will Newton <will.newton@linaro.org>
2535
2536 * malloc/Makefile: Add tst-posix_memalign.
2537 * malloc/tst-posix_memalign.c: New file.
2538
29c793b3
EB
25392013-10-01 Eric Blake <eblake@redhat.com>
2540
2541 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2542 Use __THROWNL rather than __THROW on static functions.
2543
fd967522
PM
25442013-09-30 Petr Machata <pmachata@redhat.com>
2545
2546 * elf/elf.h (R_AARCH64_ABS16): New macro.
2547 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2548 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2549 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2550 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2551 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2552 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2553 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2554 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2555 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2556 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2557 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2558 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2559 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2560 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2561 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2562 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2563 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2564 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2565 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2566 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2567 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2568 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2569 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2570 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2571 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2572 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2573 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2574 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2575 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2576 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2577 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2578 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2579 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2580 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2581 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2582 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2583 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2584 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2585 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2586 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2587 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2588 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2589 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2590 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2591 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2592 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2593 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2594 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2595 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2596 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2597 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2598 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2599 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2600 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2601 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2602 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2603 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2604 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2605 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2606 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2607 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2608 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2609 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2610 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2611 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2612 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2613 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2614 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2615 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2616 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2617 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2618 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2619 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2620 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2621 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2622 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2623 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2624 (R_AARCH64_TLSDESC_LDR): Likewise.
2625 (R_AARCH64_TLSDESC_ADD): Likewise.
2626 (R_AARCH64_TLSDESC_CALL): Likewise.
2627
b2179107
AS
26282013-09-30 Andreas Schwab <schwab@suse.de>
2629
2630 [BZ #15048]
2631 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2632 the nss database lookup.
2633 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2635
47f28d0a
MF
26362013-09-28 Mike Frysinger <vapier@gentoo.org>
2637
2638 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2639
26402013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2641
2642 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2643 ${Bash-specific parameter/pattern/string} parameter expansion.
2644 * sysdeps/unix/make-syscalls.sh: Likewise.
2645
f4518a17
KK
26462013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2647
2648 * sysdeps/sh/stackguard-macros.h: New file.
2649
dc1a95c7
OB
26502013-09-26 Ondřej Bílka <neleai@seznam.cz>
2651
2652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2654 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2655 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2657 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2658
5ebbff8f
AZ
26592013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2660
2661 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2662 Fix thread ID register.
2663
4fd2cf9f
JM
26642013-09-25 Joseph Myers <joseph@codesourcery.com>
2665
2666 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2667 [POSIX || UNIX98]: Require rather than permitting all symbols from
2668 <time.h>.
2669 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2670 element of struct sched_param.
2671 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2672 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2673 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2674 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2675 constant.
2676
12c22bc4
OL
26772013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2678
2679 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2680 argument calculation.
2681
a03d8ea7
JM
26822013-09-24 Joseph Myers <joseph@codesourcery.com>
2683
2684 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2685 Expect macro.
2686 [POSIX] (pthread_attr_t): Do not require type.
2687 [POSIX] (pthread_cond_t): Likewise.
2688 [POSIX] (pthread_condattr_t): Likewise.
2689 [POSIX] (pthread_key_t): Likewise.
2690 [POSIX] (pthread_mutex_t): Likewise.
2691 [POSIX] (pthread_mutexattr_t): Likewise.
2692 [POSIX] (pthread_once_t): Likewise.
2693 [POSIX] (pthread_t): Likewise.
2694 [POSIX-based standards] (pthread_atfork): Expect function.
2695
6055173a
JM
26962013-09-24 Joseph Myers <joseph@codesourcery.com>
2697 Richard Sandiford <richard@codesourcery.com>
2698
2699 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2700 (swap_endianness_p): New extern variable.
2701 (set_big_endian): New inline function.
2702 (maybe_swap_uint32): Likewise.
2703 (maybe_swap_uint32_array): Likewise.
2704 (maybe_swap_uint32_obstack): Likewise.
2705 * locale/programs/locfile.c: Include <stdbool.h>.
2706 (swap_endianness_p): New variable.
2707 (add_locale_uint32): Call maybe_swap_uint32.
2708 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2709 (write_locale_data): Call maybe_swap_uint32_array.
2710 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2711 maybe_swap_uint32.
2712 (obstack_int32_grow_fast): Likewise.
2713 (output_weightwc): Call maybe_swap_uint32_obstack.
2714 (collate_output): Likewise.
2715 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2716 (OPT_LITTLE_ENDIAN): Likewise.
2717 (options): Add --little-endian and --big-endian options.
2718 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2719 * locale/programs/locarchive.c: Include "locfile.h".
2720 (GET): New macro.
2721 (SET): Likewise.
2722 (INC): Likewise.
2723 (create_archive): Use the new macros to access fields of
2724 structures directly mapped from or written to locale archives.
2725 (oldlocrecentcmp): Likewise.
2726 (enlarge_archive): Likewise.
2727 (insert_name): Likewise.
2728 (add_alias): Likewise.
2729 (add_locale): Likewise.
2730 (delete_locales_from_archive): Likewise.
2731 (show_archive_content): Likewise.
2732 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2733 locale data.
2734
39bf0bb4
RM
27352013-09-24 Roland McGrath <roland@hack.frob.com>
2736
2737 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2738 http://www.gnu.org/doc/freemanuals.texi.
2739 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2740
f02eed10
WN
27412013-09-24 Will Newton <will.newton@linaro.org>
2742
2743 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2744 macro.
2745
a3a6c312
JM
27462013-09-23 Joseph Myers <joseph@codesourcery.com>
2747
2748 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2749 unsigned char.
2750
107375ac
MR
27512013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2752
2753 * manual/threads.texi (POSIX Threads): Fix a typo.
2754
141f3a77
SP
27552013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2756
303e567a
SP
2757 [BZ #14547]
2758 * string/tst-strcoll-overflow.c: New test case.
2759 * string/Makefile (xtests): Add tst-strcoll-overflow.
2760 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2761 cache if string sizes may cause integer overflow.
2762
141f3a77
SP
2763 [BZ #14547]
2764 * string/strcoll_l.c (coll_seq): New members rule, idx,
2765 save_idx and back_us.
2766 (get_next_seq_nocache): New function.
2767 (do_compare_nocache): New function.
2768 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2769 when malloc fails.
2770
c61b4d41
CD
27712013-09-23 Carlos O'Donell <carlos@redhat.com>
2772
0b1f8e35
CD
2773 [BZ #15754]
2774 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2775 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2776 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2777
c61b4d41
CD
2778 [BZ #15754]
2779 * elf/Makefile (tests): Add tst-ptrguard1.
2780 (tests-static): Add tst-ptrguard1-static.
2781 (tst-ptrguard1-ARGS): Define.
2782 (tst-ptrguard1-static-ARGS): Define.
2783 * elf/tst-ptrguard1.c: New file.
2784 * elf/tst-ptrguard1-static.c: New file.
2785 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2786 * sysdeps/i386/stackguard-macros.h: Likewise.
2787 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2788 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2789 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2790 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2791 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2792 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2793
27942013-09-23 Hector Marco <hecmargi@upv.es>
2795 Ismael Ripoll <iripoll@disca.upv.es>
2796 Carlos O'Donell <carlos@redhat.com>
2797
2798 [BZ #15754]
2799 * sysdeps/generic/stackguard-macros.h: Define
2800 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2801 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2802 Define __pointer_chk_guard_local.
2803 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2804 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2805
f5f4e7b4
VV
28062013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2807
2808 [BZ #15859]
2809 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2810
5bb43a43
AS
28112013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2812
2813 * include/string.h (__ffs): Declare as hidden.
2814 * string/ffs.c (__ffs): Define as hidden.
2815 * sysdeps/i386/ffs.c (__ffs): Likewise.
2816 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2817 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2818 * sysdeps/s390/ffs.c (__ffs): Likewise.
2819 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2820
3ea5be54
AO
28212013-09-20 Alexandre Oliva <aoliva@redhat.com>
2822
ffb89e53
AO
2823 * NEWS: Mention malloc probes.
2824
322dea08
AO
2825 * malloc/arena.c (new_heap): New memory_heap_new probe.
2826 (grow_heap): New memory_heap_more probe.
2827 (shrink_heap): New memory_heap_less probe.
2828 (heap_trim): New memory_heap_free probe.
2829 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2830 (systrim): New memory_sbrk_less probe.
2831 * manual/probes.texi: Document them.
2832
655673f3
AO
2833 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2834 * manual/probes.texi: Document it.
2835
35fed6f1
AO
2836 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2837 (__libc_realloc): Add memory_realloc_retry probe.
2838 (__libc_memalign): Add memory_memalign_retry probe.
2839 (__libc_valloc): Add memory_valloc_retry probe.
2840 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2841 (__libc_calloc): Add memory_calloc_retry probe.
2842 * manual/probes.texi: Document them.
2843
6999d38c
AO
2844 * malloc/arena.c (get_free_list): Add probe
2845 memory_arena_reuse_free_list.
2846 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2847 and memory_arena_reuse.
2848 (arena_get2) [!PER_THREAD]: Likewise.
2849 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2850 memory_arena_reuse_realloc.
2851 * manual/probes.texi: Document them.
2852
0653427f
AO
2853 * malloc/malloc.c (__libc_free): Add
2854 memory_mallopt_free_dyn_thresholds probe.
2855 (__libc_mallopt): Add multiple memory_mallopt probes.
2856 * manual/probes.texi: Document them.
2857
3ea5be54
AO
2858 * malloc/malloc.c: Include stap-probe.h.
2859 (__libc_mallopt): Add memory_mallopt probe.
2860 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2861 * manual/probes.texi: New.
2862 * manual/Makefile (chapters): Add probes.
2863 * manual/threads.texi: Set next node.
2864
e35696c3 28652013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2866
e35696c3
CL
2867 [BZ #15963, #13985]
2868 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2869 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2870 Add `Chinese' to `nan' entry name.
2871
4aafb73c
SP
28722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2873
2874 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2875 (POLYNOMIAL): Likewise.
2876 (TAYLOR_SINCOS): Likewise.
2877 (TAYLOR_SLOW): Likewise.
2878 (__sin): Use TAYLOR_SINCOS.
2879 (__cos): Likewise.
2880 (slow): Use TAYLOR_SLOW.
2881 (sloww): Likewise.
2882 (bsloww): Likewise.
2883 (csloww): Likewise.
2884
d84f25c7
LD
28852013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2886
2887 * stdlib/strtod_l.c: Fix buffer overrun.
2888
5eea0404
SP
28892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2890
7849ff93
SP
2891 * benchtests/Makefile (bench): Add sincos.
2892 * benchtests/bench-sincos.c: New file.
2893
cfa3c886
SP
2894 * math/libm-test.inc (cos_test_data): New test inputs.
2895 (sin_test_data): Likewise.
2896
b348e1e3
SP
2897 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2898 macro.
2899 (__sin): Use it.
2900 (__cos): Likewise.
2901 (slow1): Likewise.
2902 (slow2): Likewise.
2903 (sloww1): Likewise.
2904 (sloww2): Likewise.
2905 (bsloww1): Likewise.
2906 (bsloww2): Likewise.
2907 (cslow2): Likewise.
2908 (csloww1): Likewise.
2909 (csloww2): Likewise.
2910
6cce25f8
SP
2911 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2912 function.
2913 (__sin): Use it.
2914 (__cos): Likewise.
2915
5eea0404
SP
2916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2917 gotos.
2918 (__cos): Likewise.
2919
9c21573c
MR
29202013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2921
2922 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2923 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2924 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2925 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2926 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2927 * elf/cache.c (print_entry): Handle the new cache flags.
2928
24d22e65
JM
29292013-09-18 Joseph Myers <joseph@codesourcery.com>
2930 Aldy Hernandez <aldyh@redhat.com>
2931
2932 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2933 Change condition to [_SOFT_FLOAT].
2934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2946 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2949 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2950 declaration.
2951
d13ef066
JM
29522013-09-18 Joseph Myers <joseph@codesourcery.com>
2953
2e071de0
JM
2954 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2955 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2956 (__longjmp): Use LOAD_GP to load saved GPRs.
2957 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2958 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2959 (__sigsetjmp): Use SAVE_GP to save GPRs.
2960
d13ef066
JM
2961 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2962 Do not append -msoft-float.
2963 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2964
97a0650b
SP
29652013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2966
2967 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2968
11ca09e9
JM
29692013-09-17 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #15966]
2972 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2973 (_FPU_GETCW): Use initial "__" on variable and field names but not
2974 on macro parameter name.
2975 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2976 parentheses around reference to macro parameter.
2977
08ffcf34
RS
29782013-09-13 Richard Sandiford <richard@codesourcery.com>
2979
2980 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2981 prototype.
2982 (ctype_startup): Use uint32_t in cast and sizeof for
2983 ctype->charnames.
2984
ae7080d3
JL
29852013-09-11 Jia Liu <proljc@gmail.com>
2986
2987 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2988 __daddr_t_defined.
2989 [__FreeBSD__]: Likewise.
2990
5905e7b3
OB
29912013-09-11 Ondřej Bílka <neleai@seznam.cz>
2992
2993 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2994 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2995 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2996 (strchr): Remove __strchr_sse42 ifunc selection.
2997 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2998 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2999
b987c776
WN
30002013-09-11 Will Newton <will.newton@linaro.org>
3001
3002 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3003 parameter to RES. Remove hardcoded 1000 value.
3004 * benchtests/bench-skeleton.c (main): Pass RES parameter
3005 to TIMING_INIT and multiply result by 1000.
3006
ddf985af
AZ
30072013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3008
3009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3010
ffdd3181
AS
30112013-09-11 Andreas Schwab <schwab@suse.de>
3012
3013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3014 if not defined.
3015 (O_TMPFILE) [__USE_GNU]: Define.
3016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3017 Define.
3018
b73ed247
WN
30192013-09-11 Will Newton <will.newton@linaro.org>
3020
3021 [BZ #15857]
3022 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3023 does not overflow.
3024
55e17aad
WN
30252013-09-11 Will Newton <will.newton@linaro.org>
3026
3027 [BZ #15856]
3028 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3029 does not overflow.
3030
1159a193
WN
30312013-09-11 Will Newton <will.newton@linaro.org>
3032
3033 [BZ #15855]
3034 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3035 does not overflow.
3036
5905e7b3 30372013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3038
3039 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3040 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3044
cdfc721b
AM
30452013-09-10 Allan McRae <allan@archlinux.org>
3046
aa04af00
AM
3047 [BZ #15748]
3048 * manual/arith.texi (Parsing of Floats): Clarify
3049 cross-reference.
3050
cdfc721b
AM
3051 [BZ #15849]
3052 * manual/install.texi (Running make install): Mention
3053 --enable-pt-chown.
3054 * INSTALL: Regenerated.
3055
95e7cf29
MR
30562013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3057
3058 * csu/init-first.c (_init): Remove the !SHARED condition around
3059 FPU control word initialization.
3060 * elf/dl-support.c (_dl_fpu_control): New variable.
3061 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3062 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3063 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3064 * math/test-fpucw-static.c: New file.
3065 * math/test-fpucw-ieee.c: New file.
3066 * math/test-fpucw-ieee-static.c: New file.
3067 * math/Makefile (tests): Add `test-fpucw-ieee' and
3068 `$(tests-static)'.
3069 (tests-static): New variable.
3070 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3071 dependency to...
3072 [($(build-shared),yes)]
3073 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3074 ... this.
3075 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3076 New dependency.
3077
83e43bf0
AM
30782013-09-09 Allan McRae <allan@archlinux.org>
3079
a9f5ce09
AM
3080 [BZ #15939]
3081 * manual/string.texi (Collation Functions): Fix typo in
3082 strcoll example.
3083 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3084
34829bc2
AM
3085 [BZ #15893]
3086 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3087
3932737d
AM
3088 [BZ #15892]
3089 * libio/memstream.c (open_memstream): Fix memory leak.
3090 * libio/wmemstream.c (open_wmemstream): Likewise.
3091
83e43bf0
AM
3092 [BZ #15895]
3093 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3094
0c66b8e9
WN
30952013-09-09 Will Newton <will.newton@linaro.org>
3096
3097 * malloc/Makefile: Add tst-realloc to tests.
3098 * malloc/tst-realloc.c: New file.
3099
f6b00fd1
AM
31002013-09-09 Allan McRae <allan@archlinux.org>
3101
3102 [BZ #15844]
3103 * COPYING: Update from GNU website to fix FSF address.
3104 * COPYING.LIB: Likewise.
3105
eec55e16
DM
31062013-09-06 David S. Miller <davem@davemloft.net>
3107
3108 * po/zh_TW.po: Update Chinese (traditional) translation from
3109 translation project.
3110
1ecbb381
RS
31112013-09-06 Richard Sandiford <richard@codesourcery.com>
3112 Joseph Myers <joseph@codesourcery.com>
3113
3114 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3115 "localeinfo.h".
3116 (obstack_chunk_alloc): New macro.
3117 (obstack_chunk_free): Likewise.
3118 (record_offset): New function.
3119 (init_locale_data): Likewise.
3120 (align_locale_data): Likewise.
3121 (add_locale_empty): Likewise.
3122 (add_locale_raw_data): Likewise.
3123 (add_locale_raw_obstack): Likewise.
3124 (add_locale_string): Likewise.
3125 (add_locale_wstring): Likewise.
3126 (add_locale_uint32): Likewise.
3127 (add_locale_uint32_array): Likewise.
3128 (add_locale_char): Likewise.
3129 (start_locale_structure): Likewise.
3130 (end_locale_structure): Likewise.
3131 (start_locale_prelude): Likewise.
3132 (end_locale_prelude): Likewise.
3133 (write_locale_data): Take locale_file structure rather than an
3134 iovec.
3135 * locale/programs/locfile.h: Include "obstack.h".
3136 (struct locale_file): Change to store locale file contents instead
3137 of header.
3138 (init_locale_data): New prototype.
3139 (align_locale_data): Likewise.
3140 (add_locale_empty): Likewise.
3141 (add_locale_raw_data): Likewise.
3142 (add_locale_raw_obstack): Likewise.
3143 (add_locale_string): Likewise.
3144 (add_locale_wstring): Likewise.
3145 (add_locale_uint32): Likewise.
3146 (add_locale_uint32_array): Likewise.
3147 (add_locale_char): Likewise.
3148 (start_locale_structure): Likewise.
3149 (end_locale_structure): Likewise.
3150 (start_locale_prelude): Likewise.
3151 (end_locale_prelude): Likewise.
3152 (write_locale_data): Update prototype.
3153 * locale/programs/3level.h (struct TABLE): Remove result field.
3154 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3155 Use new locale_file interface.
3156 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3157 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3158 * locale/programs/ld-address.c (address_output): Use new
3159 locale_file interface.
3160 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3161 NO_ADD_LOCALE.
3162 (collate_finish): Don't call collseq_table_finalize.
3163 (collate_output): Use new locale_file interface.
3164 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3165 in file.
3166 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3167 (TABLE): Move defines earlier in file.
3168 (ELEMENT): Likewise.
3169 (DEFAULT): Likewise.
3170 (wctrans_table_add): Move macro and inline function earlier in
3171 file.
3172 (struct wctype_table): Move type earlier in file.
3173 (add_locale_wctype_table): New static prototype.
3174 (struct locale_ctype_t): Use logical types instead of struct iovec
3175 pointers for members.
3176 (ctype_output): Use new locale_file interface.
3177 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3178 new locale_file interface.
3179 (allocate_arrays): Update for use of new locale_file interface.
3180 * locale/programs/ld-identification.c (identification_output): Use
3181 new locale_file interface.
3182 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3183 * locale/programs/ld-messages.c (messages_output): Likewise.
3184 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3185 * locale/programs/ld-name.c (name_output): Likewise.
3186 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3187 * locale/programs/ld-paper.c (paper_output): Likewise.
3188 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3189 * locale/programs/ld-time.c (time_output): Likewise.
3190
e029e2e5
AZ
31912013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192
3193 * benchtests/Makefile: Add memrchr benchmark.
3194 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3195 benchmark as memrchr.
3196 * benchtests/bench-memrchr-ifunc.c: New file.
3197 * benchtests/bench-memrchr.c: New file.
3198
bbf6e8e4
WN
31992013-09-06 Will Newton <will.newton@linaro.org>
3200
3201 * benchtests/Makefile (string-bench): Add memcpy.
3202
6c82a2f8
CD
32032013-09-05 Carlos O'Donell <carlos@redhat.com>
3204 Cong Wang <amwang@redhat.com>
3205
3206 * sysdeps/unix/sysv/linux/bits/in.h
3207 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3208 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3209 before __USE_KERNEL_IPV6_DEFS uses.
3210 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3211 IPPROTO_BEETPH.
3212 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3213 sockaddr_in6, or ipv6_mreq.
3214
5430fc65
AZ
32152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3216
3217 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3218 memory access for final bytes in some large inputs.
3219 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3220
4660856c
AZ
32212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222
3223 * string/test-memrchr.c: New file.
3224 * string/test-memrchr-ifunc.c: New file.
3225 * string/Makefile: Add new memrchr testcase.
3226
bb8ea713
MF
32272013-09-05 Mike Frysinger <vapier@gentoo.org>
3228
3229 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3230 fanotify_init returns EPERM.
3231
b92a20b5
JM
32322013-09-04 Joseph Myers <joseph@codesourcery.com>
3233
3234 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3235 errors.
3236 (top level): Treat second token from macro or constant entries for
3237 allowed headers as allowed.
3238 * include/complex.h: Condition internal declarations on
3239 [!_ISOMAC].
3240 * include/fenv.h: Condition include of <stdbool.h> and internal
3241 declarations on [!_ISOMAC].
7447ccd9
CL
3242
32432013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3244
3e181dda 3245 [BZ #15923]
7447ccd9
CL
3246 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3247
3f2e46a4
JM
32482013-09-04 Joseph Myers <joseph@codesourcery.com>
3249
3250 * configure.in (--enable-versioning): Remove configure option.
3251 (libc_cv_asm_symver_directive): Remove configure test.
3252 (libc_cv_ld_version_script_option): Likewise.
3253 (VERSIONING): Remove variable and AC_SUBST.
3254 (DO_VERSIONING): Remove AC_DEFINE.
3255 * configure: Regenerated.
3256 * config.h.in (DO_VERSIONING): Remove macro.
3257 * Makerules [$(versioning) = yes]: Change conditionals to
3258 [$(build-shared) = yes].
3259 * config.make.in (versioning): Remove variable.
3260 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3261 [$(build-shared) = yes].
3262 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3263 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3264 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3265 [$(build-shared) = yes].
3266 * extra-lib.mk [$(versioning) = yes]: Likewise.
3267 * hurd/Makefile [$(versioning) = yes]: Likewise.
3268 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3269 [SHARED].
3270 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3271 [SHARED].
3272 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3273 [SHARED && !NO_HIDDEN].
3274 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3275 [SHARED].
3276 [SHARED && DO_VERSIONING]: Likewise..
3277 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3278 [$(build-shared) = yes].
3279 * manual/install.texi (--disable-versioning): Remove
3280 documentation.
3281 * INSTALL: Regenerated.
3282 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3283 to [SHARED].
3284 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3285 [$(build-shared) = yes].
3286 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3287 * sysdeps/i386/i686/multiarch/strstr-c.c
3288 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3289 [SHARED && !NO_HIDDEN].
3290 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3291 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3292 * sysdeps/powerpc/powerpc32/dl-machine.c
3293 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3294 * sysdeps/powerpc/powerpc32/sysdep.h
3295 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3296 to [SHARED && PIC && !NO_HIDDEN].
3297 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3298 conditional to [SHARED].
3299
44558701
WN
33002013-09-04 Will Newton <will.newton@linaro.org>
3301
3302 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3303 * benchtests/bench-string.h: Include bench-timing.h instead
3304 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3305 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3306 call to HP_TIMING_DIFF_INIT.
3307 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3308 instead of hp-timing.h macros.
3309 * benchtests/bench-memchr.c: Likewise.
3310 * benchtests/bench-memcmp.c: Likewise.
3311 * benchtests/bench-memcpy.c: Likewise.
3312 * benchtests/bench-memmem.c: Likewise.
3313 * benchtests/bench-memmove.c: Likewise.
3314 * benchtests/bench-memset.c: Likewise.
3315 * benchtests/bench-rawmemchr.c: Likewise.
3316 * benchtests/bench-strcasecmp.c: Likewise.
3317 * benchtests/bench-strcasestr.c: Likewise.
3318 * benchtests/bench-strcat.c: Likewise.
3319 * benchtests/bench-strchr.c: Likewise.
3320 * benchtests/bench-strcmp.c: Likewise.
3321 * benchtests/bench-strcpy.c: Likewise.
3322 * benchtests/bench-strcpy_chk.c: Likewise.
3323 * benchtests/bench-strlen.c: Likewise.
3324 * benchtests/bench-strncasecmp.c: Likewise.
3325 * benchtests/bench-strncat.c: Likewise.
3326 * benchtests/bench-strncmp.c: Likewise.
3327 * benchtests/bench-strncpy.c: Likewise.
3328 * benchtests/bench-strnlen.c: Likewise.
3329 * benchtests/bench-strpbrk.c: Likewise.
3330 * benchtests/bench-strrchr.c: Likewise.
3331 * benchtests/bench-strspn.c: Likewise.
3332 * benchtests/bench-strstr.c: Likewise.
3333
cae16d66
WN
33342013-09-04 Will Newton <will.newton@linaro.org>
3335
3336 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3337
ffa3cd7f
JM
33382013-09-03 Joseph Myers <joseph@codesourcery.com>
3339
3340 [BZ #15427]
3341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3342 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3343 * math/libm-test.inc (lgamma_test_data): Add more tests.
3344 * sysdeps/i386/fpu/libm-test-ulps: Update.
3345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3346
8f02859f
OB
33472013-09-03 Ondřej Bílka <neleai@seznam.cz>
3348
3349 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3351 Add ifunc.
3352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3353 Add strcmp-sse2-unaligned
3354 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3355
18d43716
MF
33562013-09-02 Mike Frysinger <vapier@gentoo.org>
3357
3358 * Versions.def (libc): Add GLIBC_2.19.
3359
ac444012
MF
33602013-09-02 Mike Frysinger <vapier@gentoo.org>
3361
3362 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3363 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3364
b7835e32
JM
33652013-09-02 Joseph Myers <joseph@codesourcery.com>
3366
3367 [BZ #14155]
3368 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3369 intermediate calculations in recurrence.
3370 (__ieee754_ynf): Likewise.
3371 * math/libm-test.inc (jn_test_data): Do not allow spurious
3372 underflow exception. Add more tests.
3373 (yn_test_data): Add more tests.
3374 * sysdeps/i386/fpu/libm-test-ulps: Update.
3375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376
8220f4f0
OB
33772013-09-02 Ondřej Bílka <neleai@seznam.cz>
3378
3379 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3380
f24a6d08
OB
33812013-08-30 Ondřej Bílka <neleai@seznam.cz>
3382
3383 * csu/init-first.c: Fix then/than typos.
3384 * locale/programs/ld-collate.c: Likewise.
3385 * locale/programs/linereader.h: Likewise.
3386 * manual/charset.texi: Likewise.
3387 * manual/filesys.texi: Likewise.
3388 * manual/stdio.texi: Likewise.
3389 * manual/string.texi: Likewise.
3390 * stdlib/fmtmsg.c: Likewise.
3391 * sysdeps/i386/stpncpy.S: Likewise.
3392 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3393 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3394 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3395 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3396
382466e0
OB
33972013-08-30 Ondřej Bílka <neleai@seznam.cz>
3398
3399 * elf/dl-open.c: Fix typos.
3400 * iconvdata/gbbig5.c: Likewise.
3401 * iconvdata/iso-2022-jp.c: Likewise.
3402 * iconv/gconv_int.h: Likewise.
3403 * iconv/loop.c: Likewise.
3404 * nis/rpcsvc/nis.h: Likewise.
3405 * resolv/ns_name.c: Likewise.
3406 * stdio-common/vfscanf.c: Likewise.
3407 * streams/stropts.h: Likewise.
3408 * sunrpc/rpc_thread.c: Likewise.
3409 * sysdeps/i386/strpbrk.S: Likewise.
3410 * sysdeps/ieee754/k_standard.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3413 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3414 * sysdeps/mach/hurd/profil.c: Likewise.
3415 * sysdeps/s390/dl-procinfo.h: Likewise.
3416 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3417 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3418 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3419 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3421
0186c6e9
OB
34222013-08-30 Ondřej Bílka <neleai@seznam.cz>
3423
3424 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3426
d4e16af1
OB
34272013-08-29 Ondřej Bílka <neleai@seznam.cz>
3428
3429 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3430 aix specific files.
3431 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3432 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3433 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3434 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3435 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3437 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3438 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3439
88335980
TS
34402013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3441 Roland McGrath <roland@hack.frob.com>
3442
3443 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3444 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3445
ed479b02
ST
34462013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3447
3448 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3449 __executable_start symbol instead of _start.
3450
f1cc4c86
TS
34512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3452
d821f07c
TS
3453 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3454 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3455 Move macros to...
3456 * sysdeps/gnu/ldsodefs.h: ... this new file.
3457
c54290cf
TS
3458 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3459 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3460 instead of ELFOSABI_LINUX.
3461
0007fc9b 3462 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3463 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3464 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3465 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3466 Likewise.
3467 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3468 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3469 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3470 Likewise.
3471 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3472 (ibm_extended_long_double): Add ieee_nan member.
3473 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3474 (do_test): New function.
3475
f1cc4c86
TS
3476 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3477 TEST_TRUNC.
3478 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3479 functions, renamed from truncdfsf_test, trunctfsf_test,
3480 trunctfdf_test.
3481 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3482 functions.
3483 (do_test): Run all these.
3484
6f65e668
OB
34852013-08-29 Ondřej Bílka <neleai@seznam.cz>
3486
3487 * argp/argp-help.c: Fix typos.
3488 * argp/argp-parse.c: Likewise.
3489 * debug/backtracesyms.c: Likewise.
3490 * elf/elf.h: Likewise.
3491 * malloc/malloc.c: Likewise.
3492 * nis/nis_print.c: Likewise.
3493 * resolv/res_comp.c: Likewise.
3494 * stdlib/stdlib.h: Likewise.
3495 * sunrpc/clnt_tcp.c: Likewise.
3496 * sunrpc/clnt_udp.c: Likewise.
3497 * sunrpc/clnt_unix.c: Likewise.
3498 * sysdeps/unix/bsd/ptsname.c: Likewise.
3499 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3500 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3502 Likewise.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3504 Likewise.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3506 Likewise.
6f65e668
OB
3507 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3508
3a309239
SP
35092013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3510
3511 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3513
3b813b29
MF
35142013-08-27 Mike Frysinger <vapier@gentoo.org>
3515
3516 [BZ #15897]
3517 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3518 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3519 ($(objpfx)bug-dl-leaf): New rule.
3520 ($(objpfx)bug-dl-leaf.so): Likewise.
3521 ($(objpfx)bug-dl-leaf.out): Likewise.
3522 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3523 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3524 * dlfcn/bug-dl-leaf.c: New test.
3525 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3526 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3527 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3528 (dlclose): Likewise.
3529 (dlmopen): Likewise.
3530
8cc3269f
RM
35312013-08-27 Roland McGrath <roland@hack.frob.com>
3532
7f9d0034
RM
3533 * include/netdb.h [!_ISOMAC]:
3534 Don't include <tls.h>.
3535 (h_errno, __libc_h_errno): Move declaration and macros out of
3536 [_LIBC_REENTRANT].
3537
fb431262
RM
3538 * include/resolv.h [_RESOLV_H_]:
3539 Don't include <tls.h>.
3540 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3541 * resolv/res_libc.c: Don't include <tls.h>.
3542 (_res): Use __attribute__ ((nocommon)) in place of
3543 __attribute__ ((section (".bss"))).
3544
bd81123a
RM
3545 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3546 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3547
c4e42566
RM
3548 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3549
f890a59b
RM
3550 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3551 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3552
3553 * resolv/res_mkquery.c: Include <sys/time.h>.
3554
5d1f0a09
RM
3555 * inet/ifreq.c: Moved to ...
3556 * sysdeps/unix/ifreq.c: ... here.
3557 * inet/ifreq.c: New file, true stub version.
3558
6fcf28b3
RM
3559 * socket/sa_len.c: New file.
3560 * socket/Makefile (aux): Add it.
3561 * sysdeps/unix/sysv/linux/Makefile
3562 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3563 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3564 and #include <socket/sa_len.c>.
3565 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3566 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3567
e041fb8b
RM
3568 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3569 * bits/socket.h: ... here.
3570
8cc3269f
RM
3571 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3572 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3573 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3574
5d228a43
AS
35752013-08-27 Andreas Schwab <schwab@suse.de>
3576
45b8accc
AS
3577 [BZ #15736]
3578 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3579 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3580 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3581 * string/test-strcasecmp.c (test_main): Run tests in several
3582 locales.
3583 * string/test-strncasecmp.c (test_main): Likewise.
3584
5d228a43
AS
3585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3586 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3587 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3589 (__strncasecmp_ssse3) [PIC]: Likewise.
3590
59d112a4
RM
35912013-08-26 Roland McGrath <roland@hack.frob.com>
3592
53234cc3
RM
3593 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3594
59d112a4
RM
3595 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3596 instead of explicitly declaring xdecrypt.
3597 * nis/nss_nis/nis-publickey.c: Likewise.
3598
595aba70
SP
35992013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3600
3601 [BZ #15890]
3602 * nscd/aicache.c: Include res_hconf.h.
3603 (addhstaiX): Initialize res_hconf.
3604
ffabd393
AS
36052013-08-26 Andreas Schwab <schwab@suse.de>
3606
3607 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3608 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3609
e0a69f5c
SP
36102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3611
3612 * nscd/aicache.c (addhstaiX): Fix indentation.
3613
8c12f01d
MF
36142013-08-25 Mike Frysinger <vapier@gentoo.org>
3615
3616 * configure.ac: Quote $build_pt_chown test.
3617 * configure: Regenerated.
3618
8fe89494
JM
36192013-08-23 Joseph Myers <joseph@codesourcery.com>
3620
3621 [BZ #15532]
3622 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3623 * math/s_cexpf.c (__cexpf): Likewise.
3624 * math/s_cexpl.c (__cexpl): Likewise.
3625 * math/libm-test.inc (cexp_test_data): Correct expected return
3626 value for NaN + i0. Add another test.
3627
75b181d6
DM
36282013-08-22 David S. Miller <davem@davemloft.net>
3629
3630 * po/ca.po: Update Catalan translation from translation project.
936241e4 3631 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3632
acd06bb1
JM
36332013-08-21 Joseph Myers <joseph@codesourcery.com>
3634
3635 [BZ #15797]
3636 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3637 is infinite, not alongside NaN test.
3638 * math/s_fdimf.c (__fdimf): Likewise.
3639 * math/s_fdiml.c (__fdiml): Likewise.
3640 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3641 errno is unchanged.
3642
c0c3f78a
OB
36432013-08-21 Ondřej Bílka <neleai@seznam.cz>
3644
3645 * argp/argp-help.c: Fix typos.
3646 * crypt/speeds.c: Likewise.
3647 * csu/check_fds.c: Likewise.
3648 * elf/dl-load.c: Likewise.
3649 * elf/dl-open.c: Likewise.
3650 * elf/reldep3.c: Likewise.
3651 * elf/reldep.c: Likewise.
3652 * elf/sprof.c: Likewise.
3653 * iconv/iconv_charmap.c: Likewise.
3654 * iconv/skeleton.c: Likewise.
3655 * iconv/strtab.c: Likewise.
3656 * io/lockf64.c: Likewise.
3657 * libio/libioP.h: Likewise.
3658 * resolv/gai_notify.c: Likewise.
3659 * resolv/ns_name.c: Likewise.
3660 * resolv/ns_samedomain.c: Likewise.
3661 * resolv/res_send.c: Likewise.
3662 * stdlib/random.c: Likewise.
3663 * sunrpc/rpc/xdr.h: Likewise.
3664 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3665 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3672 * sysdeps/mach/hurd/check_fds.c: Likewise.
3673 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3674 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3675 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3676 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3677 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3678 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3679 * sysdeps/pthread/aio_notify.c: Likewise.
3680 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3681 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3682 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3683 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3684 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3685
46ed1038
LD
36862013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3687
3688 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3689 version if bit_Slow_SSE4_2 is set.
3690 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3692
d400dcac
AZ
36932013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694
3695 [BZ #15867]
3696 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3697 trampoline stack frame information.
3698 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3700 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3701 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3702 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3703 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3704 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3705 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3706 sa_flags value.
3707 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3708 interrupting a syscall and set with option SA_SIGINFO.
3709
42c8fdd8
JM
37102013-08-20 Joseph Myers <joseph@codesourcery.com>
3711
c980f2f4
JM
3712 [BZ #15531]
3713 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3714 argument is infinite.
3715 * math/s_cprojf.c (__cprojf): Likewise.
3716 * math/s_cprojl.c (__cprojl): Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3718 * math/libm-test.inc (cproj_test_data): Add more tests.
3719
0716c4fc
JM
3720 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3721
42c8fdd8
JM
3722 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3723 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3724 size. Use __ffs to determine corresponding shift.
3725
b31469d0
JM
37262013-08-20 Joseph Myers <joseph@codesourcery.com>
3727 Roland McGrath <roland@hack.frob.com>
3728
3729 * Makefile (INSTALL): Remove trailing blank lines from output of
3730 makeinfo.
3731
4e39af6e
AK
37322013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3733
3734 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3735 Align 32 bit compat elf_greg to 8 bytes.
3736
f315524e
AA
37372013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3738
3739 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3740
1326ba1a
SP
37412013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3742
3743 * string/strcoll_l.c (coll_seq): New structure.
3744 (get_next_seq_cached): New function.
3745 (get_next_seq): New function.
3746 (do_compare): New function.
3747 (STRCOLL): Use GNU style definition. Simplify implementation
3748 by using get_next_seq, get_next_seq_cached and do_compare.
3749
91ce4085
FW
37502013-08-16 Florian Weimer <fweimer@redhat.com>
3751
3752 [BZ #14699]
3753 CVE-2013-4237
3754 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3755 member.
3756 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3757 member.
3758 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3759 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3760 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3761 conditional.
3762 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3763 GETDENTS_64BIT_ALIGNED.
3764 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3765 * manual/filesys.texi (Reading/Closing Directory): Document
3766 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3767 strongly.
3768 * manual/conf.texi (Limits for Files): Add portability note to
3769 NAME_MAX, PATH_MAX.
3770 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3771
ca0a6bc4
AS
37722013-08-13 Andreas Schwab <schwab@suse.de>
3773
3774 [BZ #15749]
3775 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3776 of fabs.
3777 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3778 LDBL_MAX_EXP >= 16384]: Add tests for it.
3779
6c1fd795
DM
37802013-08-12 David S. Miller <davem@davemloft.net>
3781
3782 * version.h (RELEASE): Set to "development".
3783 (VERSION): Set to "2.18.90".
3784 * NEWS: Add 2.19 section.
3785
31ad488d
DM
37862013-08-03 David S. Miller <davem@davemloft.net>
3787
3788 * po/ko.po: Update Korean translation from translation project.
3789
db24e684
DM
37902013-08-01 David S. Miller <davem@davemloft.net>
3791
3792 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3793 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3794 Bilka.
3795
f723285b
DM
37962013-07-30 David S. Miller <davem@davemloft.net>
3797
3798 * po/fr.po: Update French translation from translation project.
3799
3cbc52db
DM
38002013-07-28 David S. Miller <davem@davemloft.net>
3801
30bbc0cc
DM
3802 * po/cs.po: Update Czech translation from translation project.
3803
3cbc52db
DM
3804 * po/sv.po: Update Swedish translation from translation project.
3805
d492e6d0
DM
38062013-07-27 David S. Miller <davem@davemloft.net>
3807
f1a7f492
DM
3808 * po/eo.po: Update Esperanto translation from translation project.
3809
90e62a4a
DM
3810 * po/vi.po: Update Vietnamese translation from translation project.
3811
d492e6d0
DM
3812 * po/de.po: Update German translation from translation project.
3813
d4baa62d
DM
38142013-07-26 David S. Miller <davem@davemloft.net>
3815
641aa7b4
DM
3816 * po/bg.po: Update Bulgarian translation from translation project.
3817
d4baa62d
DM
3818 * po/nl.po: Update Dutch translation from translation project.
3819 * po/pl.po: Update Polish translation from translation project.
3820 * po/ru.po: Update Russian translation from translation project.
3821
61a9dcb9
DM
38222013-07-24 David S. Miller <davem@davemloft.net>
3823
3824 * po/libc.pot: Update.
3825
7b1f8b58
AZ
38262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3827
3828 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3829 variable page size.
3830 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3831 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3832 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3833
a8fc7a03
AK
38342013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3835
3836 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3837
e4608715
CD
38382013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3839 Andreas Schwab <schwab@suse.de>
3840 Roland McGrath <roland@hack.frob.com>
3841 Joseph Myers <joseph@codesourcery.com>
3842 Carlos O'Donell <carlos@redhat.com>
3843
3844 [BZ #15755]
3845 * config.h.in: Define HAVE_PT_CHOWN.
3846 * config.make.in (build-pt-chown): New variable.
3847 * configure.in (--enable-pt_chown): New configure option.
3848 * configure: Regenerate.
3849 * login/Makefile: Include Makeconfig. Build pt_chown only if
3850 build-pt-chown is enabled.
3851 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3852 pt_chown to fix pty ownership.
3853 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3854 CLOSE_ALL_FDS.
3855 * manual/install.texi (Configuring and compiling): Mention
3856 --enable-pt_chown. Add @findex for grantpt.
3857 * INSTALL: Regenerate.
3858
da2d62df
DM
38592013-07-20 David S. Miller <davem@davemloft.net>
3860
3861 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3862 difference between 32-bit and 64-bit.
3863
d7e06450
CD
38642013-07-15 Carlos O'Donell <carlos@redhat.com>
3865
3866 [BZ #15711]
3867 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3868 Avoid system header dependency with -ffreestanding.
3869 ($(objpfx)bits/syscall%d): Likewise.
3870
f959cfd7
DM
38712013-07-13 David S. Miller <davem@davemloft.net>
3872
3873 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3874 underflows from atanl/atan2l due to bug 15319.
3875 (casinh_test_data): Likewise.
3876
c61f8513
DM
38772013-07-07 David S. Miller <davem@davemloft.net>
3878
3879 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3880
72c90ed0
JA
38812013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3882
3883 * sysdeps/i386/fpu/libm-test-ulps: Update.
3884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3885
52dfbe13
SP
38862013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3887
3888 * configure.in (--enable-lock-elision): Fix message text.
3889 * INSTALL: Regenerate.
3890 * configure: Regenerate.
3891
3f169543
AZ
38922013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3893
3894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3895
521c6785
AJ
38962013-07-03 Andreas Jaeger <aj@suse.de>
3897
3898 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3899 define.
3900 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3901 (ptrace_peeksiginfo_args): Add.
3902 (__ptrace_peeksiginfo_flags): Add.
3903 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3906
d2cc15cb
AM
39072013-07-03 Allan McRae <allan@archlinux.org>
3908
3909 * sysdeps/i386/fpu/libm-test-ulps: Update.
3910
3aaeeca7
DM
39112013-07-02 David S. Miller <davem@davemloft.net>
3912
3913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3914
5314ed1a
MT
39152013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3916
3917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3918
67338156
JM
39192013-07-02 Joseph Myers <joseph@codesourcery.com>
3920
3921 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3923
1717da59
AK
39242013-07-02 Andi Kleen <ak@linux.intel.com>
3925
3926 * config.h.in (ENABLE_LOCK_ELISION): Add.
3927 * configure.in (--enable-lock-elision): Add option.
3928 * manual/install.texi: Document --enable lock elision.
3929 * configure: Regenerate
3930 * INSTALL: Regenerate.
3931
1c81621c
L
39322013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3933
3934 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3935 SSE4.2 strcasecmp for libc.a.
3936 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3937
77f01ab5
JM
39382013-07-02 Joseph Myers <joseph@codesourcery.com>
3939
3940 [BZ #13304]
3941 * soft-fp/op-common.h (_FP_FMA): New macro.
3942 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3943 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3944 (_FP_MUL_MEAT_1_imm): ... here.
3945 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3946 (_FP_MUL_MEAT_1_wide): ... here.
3947 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3948 (_FP_MUL_MEAT_1_hard): ... here.
3949 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3950 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3951 (_FP_MUL_MEAT_2_wide): ... here.
3952 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3953 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3954 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3955 (_FP_MUL_MEAT_2_gmp): ... here.
3956 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3957 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3958 (_FP_MUL_MEAT_4_wide): ... here.
3959 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3960 (_FP_MUL_MEAT_4_gmp): ... here.
3961 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3962 (_FP_WFRACBITS_DW_S): Likewise.
3963 (_FP_WFRACXBITS_DW_S): Likewise.
3964 (_FP_HIGHBIT_DW_S): Likewise.
3965 (FP_FMA_S): Likewise.
3966 (_FP_FRAC_HIGH_DW_S): Likewise.
3967 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3968 (_FP_WFRACBITS_DW_D): Likewise.
3969 (_FP_WFRACXBITS_DW_D): Likewise.
3970 (_FP_HIGHBIT_DW_D): Likewise.
3971 (FP_FMA_D): Likewise.
3972 (_FP_FRAC_HIGH_DW_D): Likewise.
3973 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3974 (_FP_WFRACBITS_DW_E): Likewise.
3975 (_FP_WFRACXBITS_DW_E): Likewise.
3976 (_FP_HIGHBIT_DW_E): Likewise.
3977 (FP_FMA_E): Likewise.
3978 (_FP_FRAC_HIGH_DW_E): Likewise.
3979 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3980 (_FP_WFRACBITS_DW_Q): Likewise.
3981 (_FP_WFRACXBITS_DW_Q): Likewise.
3982 (_FP_HIGHBIT_DW_Q): Likewise.
3983 (FP_FMA_Q): Likewise.
3984 (_FP_FRAC_HIGH_DW_Q): Likewise.
3985 * soft-fp/fmasf4.c: New file.
3986 * soft-fp/fmadf4.c: Likewise.
3987 * soft-fp/fmatf4.c: Likewise.
3988
6308fd9a
LD
39892013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3990
3991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3992 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3993 Silvermont.
3994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3995 macro.
3996 (index_Slow_SSE4_2): Likewise.
3997 (index_Prefer_PMINUB_for_stringop): Likewise.
3998 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3999 bit_Slow_SSE4_2 is set.
4000 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4001 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4002
89cd9569
RA
40032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4004
4005 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4006 rtld_global._dl_hwcap2.
4007 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4008 POWER8.
4009 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4010 POWER8 feature descriptions defined in _dl_hwcap2.
4011 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4012 string handling for POWER8 feature bits.
4013 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4014 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4015 _dl_powerpc_cap_flags.
4016 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4017 * sysdeps/powerpc/rtld-global-offsets.sym
4018 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4019 _dl_hwcap2 in the rtld_global_ro structure.
4020
1ae8bfe0
RA
40212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4022
4023 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4024 hardware capabilities in support of AT_HWCAP2.
4025 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4026 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4027 GLRO(dl_hwcap2).
4028 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4029 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4030 explicitly the unknown a_type display mechanism is used.
4031 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4032 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4033 struct member.
4034 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4035 to macro prototype for AT_HWCAP2 support.
4036 * sysdeps/i386/dl-procinfo.h: Likewise.
4037 * sysdeps/s390/dl-procinfo.h: Likewise.
4038 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4039 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4040 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4041 return -1 for unknown a_type display fallback.
4042 * sysdeps/sparc/dl-procinfo.h: Likewise.
4043 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4044 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4045
8fbec010
JM
40462013-06-28 Joseph Myers <joseph@codesourcery.com>
4047
4048 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4049 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4050
0432680e
PY
40512013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4052
4053 [BZ #12492]
4054 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4055 mprotect making __stack_prot writable.
4056
ce61a2ad
NF
40572013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4058 Joseph Myers <joseph@codesourcery.com>
4059
4060 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4061 as being properly aligned.
4062
f91f1c0f
MR
40632013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4064
3d0f5d0c
MR
4065 * dlfcn/modstatic5.c: New file.
4066 * dlfcn/tststatic5.c: New file.
4067 * dlfcn/Makefile (tests): Add tststatic5.
4068 (tests-static): Likewise.
4069 (modules-names): Add modstatic5.
4070 (tststatic5-ENV): New variable.
4071 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4072
f91f1c0f
MR
4073 [BZ #15022]
4074 * elf/dl-support.c (_dl_main_map): New variable.
4075 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4076 (_dl_nns, _dl_load_adds): Set to 1.
4077 (_dl_initial_searchlist): Refer to _dl_main_map.
4078 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4079 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4080 call to _dl_get_origin.
4081 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4082 around call_map.
4083 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4084 * dlfcn/modstatic3.c: New file.
4085 * dlfcn/tststatic3.c: New file.
4086 * dlfcn/tststatic4.c: New file.
4087 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4088 (tests-static): Likewise.
4089 (modules-names): Add modstatic3.
4090 (tststatic3-ENV, tststatic4-ENV): New variables.
4091 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4092 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4093
cbe7d24b
JM
40942013-06-26 Joseph Myers <joseph@codesourcery.com>
4095
4096 * configure.in (CC): Require GCC version 4.4 or later.
4097 * configure: Regenerated.
4098 * manual/install.texi (Tools for Compilation): Update GCC version
4099 requirement.
4100 * INSTALL: Regenerated.
4101
11b8a0e1
LD
41022013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4103
4104 [BZ #15674]
bb5bb87c
L
4105 * string/test-memcmp.c (check2): New.
4106 (main): Call check2.
4107
11b8a0e1
LD
4108 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4109
b0037103
MR
41102013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4111
4112 [BZ #15022]
4113 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4114 over to...
4115 (dl_open_worker) [!SHARED]: ... here.
4116
c18c701d
RA
41172013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4118
4119 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4120
1d17fa5f
RH
41212013-06-25 Richard Henderson <rth@redhat.com>
4122
4123 * locale/programs/locarchive.c: Include <libc-internal.h>
4124
8fcb833a
JM
41252013-06-25 Joseph Myers <joseph@codesourcery.com>
4126
4127 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4128 trailing whitespace removed.
4129
17db6e8d
MF
41302013-06-24 Mike Frysinger <vapier@gentoo.org>
4131
4132 [BZ #10283]
17db6e8d
MF
4133 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4134 * locale/programs/locarchive.c: Include libc-mmap.h.
4135 (prepare_address_space): Take two new outputs (the mmap base and len).
4136 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4137 values.
4138 (create_archive): Declare new mmap base and len values for
4139 prepare_address_space, and store the result in ah.
4140 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4141 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4142 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4143 Declare new mmap base and len values for
4144 prepare_address_space, and store the result in new_ah.
4145 (open_archive): Declare new mmap base and len values for
4146 prepare_address_space, and store the result in ah.
4147 (close_archive): If ah->mmap_base is not NULL, use that and
4148 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4149 * sysdeps/generic/libc-mmap.h: New file.
4150
d605071e
MF
41512013-06-24 Mike Frysinger <vapier@gentoo.org>
4152
4153 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4154 (ALIGN_UP): Likewise.
4155 (PTR_ALIGN_DOWN): Likewise.
4156 (PTR_ALIGN_UP): Likewise.
4157
2f063a6e
RA
41582013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4159
4160 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4161 entry mapped to PPC_PLATFORM_POWER8.
4162 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4163 POWER8.
4164 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4165 (_dl_string_platform): Add case for exporting platform position for
4166 POWER8.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4168 search path to sysdeps/powerpc/powerpc32/power8 directory.
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4170 search path to sysdeps/powerpc/powerpc64/power8 directory.
4171 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4172 power7 directories.
4173 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4174 power7 directories.
4175
a31ee4b3
SP
41762013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4177
a74ca98f
SP
4178 * INSTALL: Regenerate.
4179
a31ee4b3
SP
4180 * nscd/connections.c (nscd_init): Fix comment.
4181
695c378f
JM
41822013-06-22 Joseph Myers <joseph@codesourcery.com>
4183
d8412221
JM
4184 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4185
695c378f
JM
4186 [BZ #15667]
4187 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4188 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4189
d1d54715
MR
41902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4191
4192 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4193 DL_DST_REQ_STATIC.
4194 (DL_DST_REQ_STATIC): Remove macro.
4195
8fdda7af
JM
41962013-06-21 Joseph Myers <joseph@codesourcery.com>
4197
4198 [BZ #7006]
4199 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4200 with a shift of 0 bits.
4201
f3bc5e5a
MR
42022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4203
4204 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4205 $(tststatic-ENV).
4206
be09e8c9
KK
42072013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4208
4209 [BZ #15655]
4210 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4211
85c2e611
AZ
42122013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213
4214 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4215 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4216 accepts -fno-tree-loop-distribute-patterns.
4217 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4218 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4219 recursive call.
4220 * string/memset.c (memset): Likewise.
4221 * string/test-memmove.c (simple_memmove): Disable loop transformation
4222 to library calls.
4223 * string/test-memset.c (simple_memset): Likewise.
4224 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4225 * benchtests/bench-memset.c (simple_memset): Likewise.
4226 * configure: Regenerated.
4227
c91e0825
JM
42282013-06-20 Joseph Myers <joseph@codesourcery.com>
4229
b8c792af
JM
4230 * math/test-misc.c (main): Ignore fesetround failure when failures
4231 of subsequent rounding tests would be ignored.
4232
c91e0825
JM
4233 [BZ #15654]
4234 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4235 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4236 * math/fegetenv.c (__fegetenv): Return 0.
4237 * math/fegetexcept.c (fegetexcept): Return 0.
4238 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4239 FE_TONEAREST.
4240 * math/feholdexcpt.c (feholdexcept): Return 0.
4241 * math/fesetenv.c (__fesetenv): Return 0.
4242 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4243 argument FE_TONEAREST.
4244 * math/feupdateenv.c (__feupdateenv): Return 0.
4245 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4246
bfcacbde
RM
42472013-06-18 Roland McGrath <roland@hack.frob.com>
4248
4249 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4250 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4251 ($(objpfx)rtld-%.os rules): Use them.
4252
e55a9b25
AZ
42532013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4256 fields.
4257
346d65b3
RM
42582013-06-17 Roland McGrath <roland@hack.frob.com>
4259
12086fb4
RM
4260 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4261 length of target pattern, then descending length of dependency pattern.
4262 * configure.in (AWK): Require gawk 3.1.2 or newer.
4263 * manual/install.texi (Tools for Compilation): Say that we do.
4264 * configure: Regenerated.
4265
346d65b3
RM
4266 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4267 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4268 * scripts/sysd-rules.awk: ... this new script.
4269 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4270 than a glob-style pattern.
4271
1a846317
JM
42722013-06-17 Joseph Myers <joseph@codesourcery.com>
4273
4274 * math/test-misc.c (main): Do not treat incorrectly rounded
4275 conversions as failure unless ROUNDING_TESTS passes.
4276
8fc75e6f
JM
42772013-06-15 Joseph Myers <joseph@codesourcery.com>
4278
3711a167
JM
4279 [BZ #15631]
4280 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4281 restore exception state around main square root computation, then
4282 check for inexactness explicitly.
4283
8fc75e6f
JM
4284 * math/libm-test.inc (fma_test_data): Add another test.
4285
61dd6208
SP
42862013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4287
adf23d2c
SP
4288 * manual/threads.texi (Non-POSIX Extensions): New document
4289 node. Document pthread_getattr_default_np and
4290 pthread_setattr_default_np.
4291
61dd6208
SP
4292 * Versions.def (libpthread): Add GLIBC_2.18.
4293 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4295 Likewise.
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4297 Likewise.
4298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4299 Likewise.
4300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4301 Likewise.
4302 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4303 Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4305 Likewise.
4306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4307 Likewise.
4308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4309 Likewise.
4310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4311 Likewise.
4312
d086fc7b
LD
43132013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4314
4315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4316 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4317
747ef469
SP
43182013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4319 H.J. Lu <hjl.tools@gmail.com>
4320
4321 [BZ #15627]
4322 * sysdeps/x86_64/rtld-memset.c: Remove file.
4323 * sysdeps/x86_64/rtld-memset.S: New file.
4324
1b2feed2
JM
43252013-06-14 Joseph Myers <joseph@codesourcery.com>
4326
4327 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4328 (test_in_one_mode): Take arguments for whether the rounding mode
4329 is supported for each floating-point type.
4330 (do_test): Pass new arguments to test_in_one_mode using
4331 ROUNDING_TESTS.
4332
a58ad3f8
RM
43332013-06-13 Roland McGrath <roland@hack.frob.com>
4334
4335 * posix/tst-waitid.c (do_test): Distinguish different instances of
4336 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4337 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4338 before entering the kernel for waitpid.
4339
c204ab28
SP
43402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4341
4342 * NEWS: Fix note on clock function precision. Text by Roland
4343 McGrath.
4344
f4a29fba
RM
43452013-06-13 Roland McGrath <roland@hack.frob.com>
4346
4347 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4348 it into place only when and if the sanity check passes.
4349
1f24b9ad
JM
43502013-06-13 Joseph Myers <joseph@codesourcery.com>
4351
4352 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4353 output for whether conversion result is exact. Take argument
4354 indicating whether type is IBM long double.
4355 (round_for_all): Change need_exact field to ibm_ld.
4356 * stdlib/tst-strtod-round.c (struct exactness): New type.
4357 (struct test): Change bool ld_ok field to struct exactness exact.
4358 (TEST): Update all definitions for change to field.
4359 (tests): Regenerate array contents.
4360 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4361 field value. Check for IBM long double here.
4362 (do_test): Update calls to test_in_one_mode.
4363
58206c68
SP
43642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4365
4366 [BZ #12515]
4367 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4368 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4369
2d6f4c5b 43702013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4371
4372 [BZ #15605]
4373 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4374 generated by the compiler on loop optimizations.
4375 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4376 general definitions.
4377
94f2c076
JM
43782013-06-12 Joseph Myers <joseph@codesourcery.com>
4379
4380 * math/bug-nextafter.c: Include <math-tests.h>.
4381 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4382 the relevant type.
4383 * math/bug-nexttoward.c: Include <math-tests.h>.
4384 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4385 the relevant type.
4386 * math/test-misc.c: Include <math-tests.h>.
4387 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4388 the relevant type.
4389
e0e50a0a
AJ
43902013-06-12 Andreas Jaeger <aj@suse.de>
4391
4392 * po/ia.po: Update Interlingua translation from translation
4393 project.
4394
25061094
SP
43952013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4396
4397 * include/fenv.h: Include stdbool.h.
4398 (struct rm_ctx): New structure.
4399 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4400 Define macro.
4401 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4402 (SET_RESTORE_ROUNDF): Likewise.
4403 (SET_RESTORE_ROUNDL): Likewise.
4404 (SET_RESTORE_ROUND_NOEX): Likewise.
4405 (SET_RESTORE_ROUND_NOEXF): Likewise.
4406 (SET_RESTORE_ROUND_NOEXL): Likewise.
4407 (SET_RESTORE_ROUND_53BIT): Likewise.
4408 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4409 (libc_feresetround_noexf_ctx): Likewise.
4410 (libc_feresetround_noexl_ctx): Likewise.
4411 (libc_feholdsetround_53bit_ctx): Likewise.
4412 (libc_feresetround_53bit_ctx): Likewise.
4413 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4414 (libc_feholdexcept_setround_sse_ctx): New function.
4415 (libc_fesetenv_sse_ctx): Likewise.
4416 (libc_feupdateenv_sse_ctx): Likewise.
4417 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4418 (libc_feholdexcept_setround_387_ctx): Likewise.
4419 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4420 (libc_feholdsetround_387_prec_ctx): Likewise.
4421 (libc_feholdsetround_387_ctx): Likewise.
4422 (libc_feholdsetround_387_53bit_ctx): Likewise.
4423 (libc_feholdsetround_sse_ctx): Likewise.
4424 (libc_feresetround_sse_ctx): Likewise.
4425 (libc_feresetround_387_ctx): Likewise.
4426 (libc_feupdateenv_387_ctx): Likewise.
4427 (libc_feholdexcept_setroundf_ctx): Define macro.
4428 (libc_fesetenvf_ctx): Likewise.
4429 (libc_feupdateenvf_ctx): Likewise.
4430 (libc_feholdsetroundf_ctx): Likewise.
4431 (libc_feresetroundf_ctx): Likewise.
4432 (libc_feholdexcept_setround_ctx): Likewise.
4433 (libc_fesetenv_ctx): Likewise.
4434 (libc_feupdateenv_ctx): Likewise.
4435 (libc_feholdsetround_ctx): Likewise.
4436 (libc_feresetround_ctx): Likewise.
4437 (libc_feholdexcept_setroundl_ctx): Likewise.
4438 (libc_feupdateenvl_ctx): Likewise.
4439 (libc_feholdsetroundl_ctx): Likewise.
4440 (libc_feresetroundl_ctx): Likewise.
4441 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4442 (libc_feresetround_53bit_ctx): Likewise.
4443
59b30555
SP
44442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4445
4446 * locale/iso-639.def: Convert to UTF-8.
4447
f1d73d30
JM
44482013-06-11 Joseph Myers <joseph@codesourcery.com>
4449
4450 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4451 (EXCEPTION_TESTS_double): Likewise.
4452 (EXCEPTION_TESTS_long_double): Likewise.
4453 (EXCEPTION_TESTS): Likewise.
4454 * math/libm-test.inc (test_exceptions): Only test exceptions if
4455 EXCEPTION_TESTS (FLOAT).
4456
94aca5e7
SP
44572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4458
4459 * benchtests/Makefile (string-bench): Add strcpy_chk and
4460 stpcpy_chk.
4461 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4462 * benchtests/bench-stpcpy_chk.c: New file.
4463 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4464 * benchtests/bench-strcpy_chk.c: New file.
4465 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4466 code.
4467 (do_test): Likewise.
4468
fac0c5f2
RA
44692013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4470
4471 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4472 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4473 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4474 with tabs where appropriate.
4475 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4476 dl-procinfo.h.
4477 [PPC_PLATFORM_PPC440]: Likewise.
4478 [PPC_PLATFORM_PPC464]: Likewise.
4479 [PPC_PLATFORM_PPC476]: Likewise.
4480 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4481 ppc464, and ppc476 platform strings merging from ports/
4482 dl-procinfo.h.
4483
f22bc486
AS
44842013-06-11 Andreas Schwab <schwab@suse.de>
4485
4486 [BZ #14991]
4487 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4488 (from_ucs4_idx): Regenerate.
4489 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4490 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4491 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4492 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4493 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4494 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4495 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4496 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4497 from FROM_LOOP and TO_LOOP specific macros.
4498 (BODY): Handle combining characters.
4499 * iconvdata/BIG5HKSCS.irreversible: Update.
4500 * iconvdata/BIG5HKSCS.precomposed: New file.
4501 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4502 characters.
4503 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4504
c1f75dc3
SP
45052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4506
4eacded2
SP
4507 * include/sys/time.h: Fix indentation and add copyright header.
4508
fec799f8
SP
4509 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4510 (do_test): Likewise.
4511 * string/test-memchr.c (do_one_test): Likewise.
4512 (do_test): Likewise.
4513 * string/test-memcmp.c (do_one_test): Likewise.
4514 (do_test): Likewise.
4515 * string/test-memcpy.c (do_one_test): Likewise.
4516 (do_test): Likewise.
4517 * string/test-memmem.c (do_one_test): Likewise.
4518 (do_test): Likewise.
4519 (do_random_tests): Likewise.
4520 * string/test-memmove.c (do_one_test): Likewise.
4521 (do_test): Likewise.
4522 * string/test-memset.c (do_one_test): Likewise.
4523 (do_test): Likewise.
4524 * string/test-rawmemchr.c (do_one_test): Likewise.
4525 (do_test): Likewise.
4526 * string/test-strcasecmp.c (do_one_test): Likewise.
4527 (do_test): Likewise.
4528 * string/test-strcasestr.c (do_one_test): Likewise.
4529 (do_test): Likewise.
4530 * string/test-strcat.c (do_one_test): Likewise.
4531 (do_test): Likewise.
4532 * string/test-strchr.c (do_one_test): Likewise.
4533 (do_test): Likewise.
4534 * string/test-strcmp.c (do_one_test): Likewise.
4535 (do_test): Likewise.
4536 * string/test-strcpy.c (do_one_test): Likewise.
4537 (do_test): Likewise.
4538 * string/test-string.h: Likewise.
4539 (test_init): Likewise.
4540 * string/test-strlen.c (do_one_test): Likewise.
4541 (do_test): Likewise.
4542 * string/test-strncasecmp.c (do_one_test): Likewise.
4543 (do_test): Likewise.
4544 * string/test-strncat.c (do_one_test): Likewise.
4545 (do_test): Likewise.
4546 * string/test-strncmp.c (do_one_test): Likewise.
4547 (do_test_limit): Likewise.
4548 (do_test): Likewise.
4549 * string/test-strncpy.c (do_one_test): Likewise.
4550 (do_test): Likewise.
4551 * string/test-strnlen.c (do_one_test): Likewise.
4552 (do_test): Likewise.
4553 * string/test-strpbrk.c (do_one_test): Likewise.
4554 (do_test): Likewise.
4555 * string/test-strrchr.c (do_one_test): Likewise.
4556 (do_test): Likewise.
4557 * string/test-strspn.c (do_one_test): Likewise.
4558 (do_test): Likewise.
4559 * string/test-strstr.c (do_one_test): Likewise.
4560 (do_test): Likewise.
4561
97020474
SP
4562 * benchtests/Makefile (string-bench): Add string benchmarks.
4563 * benchtests/bench-bcopy-ifunc.c: New file.
4564 * benchtests/bench-bcopy.c: New file.
4565 * benchtests/bench-bzero-ifunc.c: New file.
4566 * benchtests/bench-bzero.c: New file.
4567 * benchtests/bench-memccpy-ifunc.c: New file.
4568 * benchtests/bench-memccpy.c: New file.
4569 * benchtests/bench-memchr-ifunc.c: New file.
4570 * benchtests/bench-memchr.c: New file.
4571 * benchtests/bench-memcmp-ifunc.c: New file.
4572 * benchtests/bench-memcmp.c: New file.
4573 * benchtests/bench-memmem-ifunc.c: New file.
4574 * benchtests/bench-memmem.c: New file.
4575 * benchtests/bench-memmove-ifunc.c: New file.
4576 * benchtests/bench-memmove.c: New file.
4577 * benchtests/bench-mempcpy-ifunc.c: New file.
4578 * benchtests/bench-mempcpy.c: New file.
4579 * benchtests/bench-memset-ifunc.c: New file.
4580 * benchtests/bench-memset.c: New file.
4581 * benchtests/bench-rawmemchr-ifunc.c: New file.
4582 * benchtests/bench-rawmemchr.c: New file.
4583 * benchtests/bench-stpcpy-ifunc.c: New file.
4584 * benchtests/bench-stpcpy.c: New file.
4585 * benchtests/bench-stpncpy-ifunc.c: New file.
4586 * benchtests/bench-stpncpy.c: New file.
4587 * benchtests/bench-strcasecmp-ifunc.c: New file.
4588 * benchtests/bench-strcasecmp.c: New file.
4589 * benchtests/bench-strcasestr-ifunc.c: New file.
4590 * benchtests/bench-strcasestr.c: New file.
4591 * benchtests/bench-strcat-ifunc.c: New file.
4592 * benchtests/bench-strcat.c: New file.
4593 * benchtests/bench-strchr-ifunc.c: New file.
4594 * benchtests/bench-strchr.c: New file.
4595 * benchtests/bench-strchrnul-ifunc.c: New file.
4596 * benchtests/bench-strchrnul.c: New file.
4597 * benchtests/bench-strcmp-ifunc.c: New file.
4598 * benchtests/bench-strcmp.c: New file.
4599 * benchtests/bench-strcpy-ifunc.c: New file.
4600 * benchtests/bench-strcpy.c: New file.
4601 * benchtests/bench-strcspn-ifunc.c: New file.
4602 * benchtests/bench-strcspn.c: New file.
4603 * benchtests/bench-strlen-ifunc.c: New file.
4604 * benchtests/bench-strlen.c: New file.
4605 * benchtests/bench-strncasecmp-ifunc.c: New file.
4606 * benchtests/bench-strncasecmp.c: New file.
4607 * benchtests/bench-strncat-ifunc.c: New file.
4608 * benchtests/bench-strncat.c: New file.
4609 * benchtests/bench-strncmp-ifunc.c: New file.
4610 * benchtests/bench-strncmp.c: New file.
4611 * benchtests/bench-strncpy-ifunc.c: New file.
4612 * benchtests/bench-strncpy.c: New file.
4613 * benchtests/bench-strnlen-ifunc.c: New file.
4614 * benchtests/bench-strnlen.c: New file.
4615 * benchtests/bench-strpbrk-ifunc.c: New file.
4616 * benchtests/bench-strpbrk.c: New file.
4617 * benchtests/bench-strrchr-ifunc.c: New file.
4618 * benchtests/bench-strrchr.c: New file.
4619 * benchtests/bench-strspn-ifunc.c: New file.
4620 * benchtests/bench-strspn.c: New file.
4621 * benchtests/bench-strstr-ifunc.c: New file.
4622 * benchtests/bench-strstr.c: New file.
4623
c1f75dc3
SP
4624 * benchtests/Makefile: Disable parallel execution of targets.
4625 (string-bench): Add memcpy.
4626 (benchset): New variable to store a list of benchmark sets.
4627 (bench-func): Renamed from bench.
4628 (bench-set): New target.
4629 (bench): Depend on bench-func and bench-set.
4630 * benchtests/README: Add section on benchmark sets.
4631 * benchtests/bench-memcpy-ifunc.c: New file.
4632 * benchtests/bench-memcpy.c: New file.
4633 * benchtests/bench-string.h: New file.
4634
50fd745b
AS
46352013-06-11 Andreas Schwab <schwab@suse.de>
4636
4637 [BZ #15577]
4638 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4639 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4640 values in the triple.
4641 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4642 terminator in the group key.
4643
3ee7e9fe
AJ
46442013-06-11 Andreas Jaeger <aj@suse.de>
4645
4646 * po/zh_TW.po: Update Chinese (traditional) translation from
4647 translation project.
4648
89fb6835
SP
46492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4650
4651 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4652 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4653 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4655 (clock_getcpuclockid): Likewise.
4656 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4657 Add weak_alias and libc_hidden_def.
4658 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4659 * rt/clock_gettime.c (clock_gettime): Rename to
4660 __clock_gettime. Add weak_alias and libc_hidden_def.
4661 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4662 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4663 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4664 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4665 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4666 Likewise.
4667 * rt/clock_settime.c (clock_settime): Rename to
4668 __clock_settime. Add weak_alias and libc_hidden_def.
4669 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4670
0efa6f8b
JM
46712013-06-10 Joseph Myers <joseph@codesourcery.com>
4672
b8c61b4b
JM
4673 * mach/err_boot.sub: Remove trailing whitespace.
4674 * mach/err_ipc.sub: Likewise.
4675 * mach/err_mach.sub: Likewise.
4676
0efa6f8b
JM
4677 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4678 (ROUNDING_TESTS_double): Likewise.
4679 (ROUNDING_TESTS_long_double): Likewise.
4680 (ROUNDING_TESTS): Likewise.
4681 * math/libm-test.inc: Include <math-tests.h>.
4682 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4683 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4684 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4685 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4686
50b818bf
SP
46872013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4688
4689 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4690 of assigning.
4691
60d2f8f3
JM
46922013-06-08 Joseph Myers <joseph@codesourcery.com>
4693
4902d2c3
JM
4694 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4695 otherwise empty TRANS lines.
4696 * sysdeps/gnu/errlist.c: Regenerated.
4697
60d2f8f3
JM
4698 * catgets/gencat.c (error_print): Use (void) in function
4699 definition.
4700 * crypt/crypt_util.c (__init_des): Likewise.
4701 * crypt/speeds.c (Stop): Likewise.
4702 (main): Likewise.
4703 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4704 * inet/ruserpass.c (token): Likewise.
4705 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4706 * intl/localealias.c (extend_alias_table): Likewise.
4707 * intl/plural-exp.c (init_germanic_plural): Likewise.
4708 * libio/fcloseall.c (__fcloseall): Likewise.
4709 * libio/genops.c (_IO_flush_all): Likewise.
4710 (_IO_flush_all_linebuffered): Likewise.
4711 (_IO_cleanup): Likewise.
4712 (_IO_iter_begin): Likewise.
4713 (_IO_iter_end): Likewise.
4714 (_IO_list_lock): Likewise.
4715 (_IO_list_unlock): Likewise.
4716 (_IO_list_resetlock): Likewise.
4717 * libio/getchar.c (getchar): Likewise.
4718 * libio/getchar_u.c (getchar_unlocked): Likewise.
4719 * libio/getwchar.c (getwchar): Likewise.
4720 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4721 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4722 * login/getpt.c (__getpt): Likewise.
4723 * login/tst-utmp.c (main): Likewise.
4724 * malloc/hooks.c (__malloc_check_init): Likewise.
4725 * malloc/malloc.c (__malloc_stats): Likewise.
4726 * malloc/mtrace.c (tr_break): Likewise.
4727 (mtrace): Likewise.
4728 (muntrace): Likewise.
4729 * misc/fstab.c (endfsent): Likewise.
4730 * misc/getclktck.c (__getclktck): Likewise.
4731 * misc/getdtsz.c (__getdtablesize): Likewise.
4732 * misc/gethostid.c (gethostid): Likewise.
4733 * misc/getpagesize.c (__getpagesize): Likewise.
4734 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4735 (__get_nprocs): Likewise.
4736 (__get_phys_pages): Likewise.
4737 (__get_avphys_pages): Likewise.
4738 * misc/getttyent.c (getttyent): Likewise.
4739 (setttyent): Likewise.
4740 (endttyent): Likewise.
4741 * misc/getusershell.c (getusershell): Likewise.
4742 (endusershell): Likewise.
4743 (setusershell): Likewise.
4744 (initshells): Likewise.
4745 * misc/hsearch.c (__hdestroy): Likewise.
4746 * misc/sync.c (sync): Likewise.
4747 * misc/syslog.c (closelog_internal): Likewise.
4748 (closelog): Likewise.
4749 * misc/ttyslot.c (ttyslot): Likewise.
4750 * misc/vhangup.c (vhangup): Likewise.
4751 * posix/fork.c (__fork): Likewise.
4752 * posix/getegid.c (__getegid): Likewise.
4753 * posix/geteuid.c (__geteuid): Likewise.
4754 * posix/getgid.c (__getgid): Likewise.
4755 * posix/getpid.c (__getpid): Likewise.
4756 * posix/getppid.c (__getppid): Likewise.
4757 * posix/getuid.c (__getuid): Likewise.
4758 * posix/pause.c (pause): Likewise.
4759 * posix/setpgrp.c (setpgrp): Likewise.
4760 * posix/setsid.c (__setsid): Likewise.
4761 * posix/test-vfork.c (noop): Likewise.
4762 * resolv/gethnamaddr.c (_endhtent): Likewise.
4763 (_gethtent): Likewise.
4764 (ht_endhostent): Likewise.
4765 (gethostent): Likewise.
4766 (dns_service): Likewise.
4767 * stdlib/drand48.c (drand48): Likewise.
4768 * stdlib/lrand48.c (lrand48): Likewise.
4769 * stdlib/mrand48.c (mrand48): Likewise.
4770 * stdlib/rand.c (rand): Likewise.
4771 * stdlib/random.c (__random): Likewise.
4772 * stdlib/setenv.c (clearenv): Likewise.
4773 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4774 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4775 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4776 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4777 (__get_nprocs): Likewise.
4778 (__get_phys_pages): Likewise.
4779 (__get_avphys_pages): Likewise.
4780 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4781 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4782 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4783 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4784 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4785 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4786 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4787 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4788 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4789 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4790 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4791 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4792 * sysdeps/posix/clock.c (clock): Likewise.
4793 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4794 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4795 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4796 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4797 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4798 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4799 (__get_nprocs_conf): Likewise.
4800 (__get_phys_pages): Likewise.
4801 (__get_avphys_pages): Likewise.
4802 * time/clock.c (clock): Likewise.
4803 * time/tzset.c (__tzname_max): Likewise.
4804
2e09a79a
JM
48052013-06-07 Joseph Myers <joseph@codesourcery.com>
4806
4807 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4808 (__bswap_32): Do not use "register".
4809 * crypt/crypt.c (_ufc_doit_r): Likewise.
4810 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4811 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4812 * gmon/gmon.c (__monstartup): Likewise.
4813 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4814 * hurd/hurdmalloc.c (more_memory): Likewise.
4815 (malloc): Likewise.
4816 (free): Likewise.
4817 (realloc): Likewise.
4818 (malloc_fork_prepare): Likewise.
4819 (malloc_fork_parent): Likewise.
4820 (malloc_fork_child): Likewise.
4821 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4822 (_svcauth_des): Likewise.
4823 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4824 * inet/inet_net.c (inet_network): Likewise.
4825 * inet/inet_netof.c (inet_netof): Likewise.
4826 * inet/rcmd.c (__validuser2_sa): Likewise.
4827 * io/fts.c (fts_open): Likewise.
4828 (fts_load): Likewise.
4829 (fts_close): Likewise.
4830 (fts_read): Likewise.
4831 (fts_children): Likewise.
4832 (fts_build): Likewise.
4833 (fts_stat): Likewise.
4834 (fts_sort): Likewise.
4835 (fts_alloc): Likewise.
4836 (fts_lfree): Likewise.
4837 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4838 (_IO_file_xsgetn): Likewise.
4839 (_IO_file_xsgetn_mmap): Likewise.
4840 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4841 (_IO_cookie_write): Likewise.
4842 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4843 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4844 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4845 * malloc/obstack.c (_obstack_begin): Likewise.
4846 (_obstack_begin_1): Likewise.
4847 (_obstack_newchunk): Likewise.
4848 (_obstack_allocated_p): Likewise.
4849 (obstack_free): Likewise.
4850 (_obstack_memory_used): Likewise.
4851 * misc/getttyent.c (getttynam): Likewise.
4852 (getttyent): Likewise.
4853 (skip): Likewise.
4854 (value): Likewise.
4855 * misc/getusershell.c (initshells): Likewise.
4856 * misc/syslog.c (__vsyslog_chk): Likewise.
4857 * misc/ttyslot.c (ttyslot): Likewise.
4858 * nis/nis_hash.c (__nis_hash): Likewise.
4859 * posix/fnmatch_loop.c (FCT): Likewise.
4860 * posix/getconf.c (print_all): Likewise.
4861 (main): Likewise.
4862 * posix/getopt.c (exchange): Likewise.
4863 * posix/glob.c (globfree): Likewise.
4864 (prefix_array): Likewise.
4865 (__glob_pattern_type): Likewise.
4866 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4867 (NS_GET32): Likewise.
4868 (NS_PUT16): Likewise.
4869 (NS_PUT32): Likewise.
4870 * resolv/gethnamaddr.c (getanswer): Likewise.
4871 (gethostbyname2): Likewise.
4872 (gethostbyaddr): Likewise.
4873 (_gethtent): Likewise.
4874 (_gethtbyname2): Likewise.
4875 (_gethtbyaddr): Likewise.
4876 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4877 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4878 * resolv/res_init.c (__res_vinit): Likewise.
4879 (net_mask): Likewise.
4880 * resolv/res_mkquery.c (outchar): Likewise.
4881 (PRINT): Likewise.
4882 * stdio-common/printf_fp.c (outchar): Likewise.
4883 (PRINT): Likewise.
4884 * stdio-common/printf_fphex.c (outchar): Likewise.
4885 (PRINT): Likewise.
4886 * stdio-common/printf_size.c (outchar): Likewise.
4887 (PRINT): Likewise.
4888 * stdio-common/test_rdwr.c (main): Likewise.
4889 * stdio-common/tfformat.c (matches): Likewise.
4890 * stdio-common/vfprintf.c (outchar): Likewise.
4891 (printf_unknown): Likewise.
4892 (buffered_vfprintf): Likewise.
4893 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4894 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4895 (ReadFile): Likewise.
4896 * stdlib/qsort.c (SWAP): Likewise.
4897 (_quicksort): Likewise.
4898 * stdlib/setenv.c (__add_to_environ): Likewise.
4899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4900 * stdlib/strtol_l.c (__strtol_l): Likewise.
4901 * stdlib/tst-strtod.c (main): Likewise.
4902 * stdlib/tst-strtol.c (main): Likewise.
4903 * stdlib/tst-strtoll.c (main): Likewise.
4904 * string/bits/string2.h (__strcmp_cc): Likewise.
4905 (__strcmp_cg): Likewise.
4906 (__strcspn_c1): Likewise.
4907 (__strcspn_c2): Likewise.
4908 (__strcspn_c3): Likewise.
4909 (__strspn_c1): Likewise.
4910 (__strspn_c2): Likewise.
4911 (__strspn_c3): Likewise.
4912 (__strsep_1c): Likewise.
4913 (__strsep_2c): Likewise.
4914 (__strsep_3c): Likewise.
4915 * string/memccpy.c (__memccpy): Likewise.
4916 * string/stpcpy.c (__stpcpy): Likewise.
4917 * string/strcmp.c (strcmp): Likewise.
4918 * string/strrchr.c (strrchr): Likewise.
4919 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4920 Likewise.
4921 * sysdeps/mach/hurd/getcwd.c
4922 (_hurd_canonicalize_directory_name_internal): Likewise.
4923 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4924 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4925 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4926 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4927 Likewise, in both definitions.
4928 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4929 definitions.
4930 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4931 64] (__bswap_64): Likewise.
4932 * time/test_time.c (main): Likewise.
4933 * time/tzfile.c (__tzfile_read): Likewise.
4934 (__tzfile_compute): Likewise.
4935 * time/tzset.c (__tzset_parse_tz): Likewise.
4936 (tzset_internal): Likewise.
4937 (compute_change): Likewise.
4938 * wcsmbs/wcscat.c (__wcscat): Likewise.
4939 * wcsmbs/wcschr.c (wcschr): Likewise.
4940 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4941 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4942 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4943 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4944 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4945 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4946 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4947 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4948 * wcsmbs/wmemset.c (wmemset): Likewise.
4949
9e54314b
JM
49502013-06-06 Joseph Myers <joseph@codesourcery.com>
4951
4952 * scripts/config.guess: Update to version 2013-05-16.
4953 * scripts/config.sub: Update to version 2013-04-24.
4954 * scripts/install-sh: Update to version 2011-11-20.07.
4955 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4956 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4957
350635a5
OB
49582013-06-06 Ondřej Bílka <neleai@seznam.cz>
4959
4960 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4961 * elf/sln.c: Likewise.
4962 * hurd/hurd/ioctl.h: Likewise.
4963 * hurd/hurdmalloc.c: Likewise.
4964 * hurd/xattr.c: Likewise.
4965 * include/shlib-compat.h: Likewise.
4966 * inet/ruserpass.c: Likewise.
4967 * libio/iofgets_u.c: Likewise.
4968 * libio/iofgetws_u.c: Likewise.
4969 * locale/programs/ld-identification.c: Likewise.
4970 * locale/programs/ld-time.c: Likewise.
4971 * mach/msg-destroy.c: Likewise.
4972 * nss/nss_files/files-netgrp.c: Likewise.
4973 * resolv/res_data.c: Likewise.
4974 * soft-fp/op-1.h: Likewise.
4975 * soft-fp/op-2.h: Likewise.
4976 * soft-fp/op-4.h: Likewise.
4977 * soft-fp/op-common.h: Likewise.
4978 * stdio-common/printf_fphex.c: Likewise.
4979 * stdlib/strtod_l.c: Likewise.
4980 * sunrpc/rpc/clnt.h: Likewise.
4981 * sysdeps/generic/framestate.c: Likewise.
4982 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4983 * sysdeps/i386/bsd-setjmp.S: Likewise.
4984 * sysdeps/i386/__longjmp.S: Likewise.
4985 * sysdeps/i386/setjmp.S: Likewise.
4986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4987 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4989 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4992 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4997 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5000 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5002 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5004 * sysdeps/ieee754/support.c: Likewise.
5005 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5006 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5007 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5008 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5009 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5010 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5011 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5012 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5013 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5014 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5015 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5016 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5017 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5018 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5019 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5020 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5021 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5023
44a988af
OB
50242013-06-05 Ondřej Bílka <neleai@seznam.cz>
5025
25506f09 5026 * posix/transbug.c: Remove executable mode.
44a988af 5027
9c84384c
JM
50282013-06-05 Joseph Myers <joseph@codesourcery.com>
5029
5030 * crypt/speeds.c: Remove trailing whitespace.
5031 * dlfcn/default.c: Likewise.
5032 * elf/ifuncdep2.c: Likewise.
5033 * elf/ifuncmain1.c: Likewise.
5034 * elf/ifuncmain1vis.c: Likewise.
5035 * elf/testobj.h: Likewise.
5036 * elf/tst-stackguard1.c: Likewise.
5037 * gmon/sys/gmon.h: Likewise.
5038 * hurd/hurdmsg.c: Likewise.
5039 * hurd/new-fd.c: Likewise.
5040 * hurd/ports-get.c: Likewise.
5041 * iconvdata/ibm1008_420.c: Likewise.
5042 * inet/tst-getni1.c: Likewise.
5043 * inet/tst-getni2.c: Likewise.
5044 * libio/ioungetc.c: Likewise.
5045 * libio/wfiledoalloc.c: Likewise.
5046 * manual/libm-err-tab.pl: Likewise.
5047 * math/w_dremf.c: Likewise.
5048 * misc/ftruncate.c: Likewise.
5049 * posix/bug-glob2.c: Likewise.
5050 * posix/tst-pcre.c: Likewise.
5051 * posix/wait4.c: Likewise.
5052 * resolv/README: Likewise.
5053 * resolv/res_debug.h: Likewise.
5054 * resolv/tst-inet_ntop.c: Likewise.
5055 * setjmp/bug269-setjmp.c: Likewise.
5056 * soft-fp/extended.h: Likewise.
5057 * soft-fp/op-1.h: Likewise.
5058 * soft-fp/op-2.h: Likewise.
5059 * soft-fp/op-4.h: Likewise.
5060 * soft-fp/op-8.h: Likewise.
5061 * soft-fp/testit.c: Likewise.
5062 * stdio-common/bug16.c: Likewise.
5063 * stdlib/random.c: Likewise.
5064 * sunrpc/rpcsvc/rquota.x: Likewise.
5065 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5066 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5068 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5069 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5070 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5071 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5073 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5075 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5086 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5094 * sysdeps/ieee754/s_lib_version.c: Likewise.
5095 * sysdeps/mach/hurd/check_fds.c: Likewise.
5096 * sysdeps/mach/hurd/getsockname.c: Likewise.
5097 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5098 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5099 * sysdeps/powerpc/bits/link.h: Likewise.
5100 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5101 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5102 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5103 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5104 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5105 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5106 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5107 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5108 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5109 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5110 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5111 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5112 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5113 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5114 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5115 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5117 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5118 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5119 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5120 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5121 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5122 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5123 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5124 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5125 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5126 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5127 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5128 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5129 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5132 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5134 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5135 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5136 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5137 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5138 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5140 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5143 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5144 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5145 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5146 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5147 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5148 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5149 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5152 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5153 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5154 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5155 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5156 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5157 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5158 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5159 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5160 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5161 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5162 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5163 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5164 * sysdeps/powerpc/sysdep.h: Likewise.
5165 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5166 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5167 * sysdeps/sh/dl-trampoline.S: Likewise.
5168 * sysdeps/sh/memset.S: Likewise.
5169 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5170 * sysdeps/sh/strlen.S: Likewise.
5171 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5172 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5173 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5174 * sysdeps/sparc/sparc32/rem.S: Likewise.
5175 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5176 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5177 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5178 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5179 * sysdeps/sparc/sparc32/urem.S: Likewise.
5180 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5181 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5182 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5183 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5184 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5185 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5186 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5187 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5188 * sysdeps/unix/bsd/times.c: Likewise.
5189 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5190 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5194 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5195 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5196 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5197 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5198 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5199 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5200 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5201 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5202 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5203 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5204 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5205 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5206 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5207 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5208 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5209 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5210 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5211 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5213 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5214 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5215 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5217 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5218 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5219 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5220 * sysdeps/x86_64/strcspn.S: Likewise.
5221
869378a5
RA
52222013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5223
5224 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5225 generated file. Regenerate properly from gen-translit.pl.
5226 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5227 locale/C-translit.h.
5228
840e2943
AS
52292013-06-05 Andreas Schwab <schwab@suse.de>
5230
5231 [BZ #15100]
5232 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5233 week as 6 instead of -1.
5234 * time/tst-strptime.c (day_tests): Add test case.
5235
4c60cb0c
SP
52362013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5237
5238 * sysdeps/generic/math_private.h
5239 (libc_feholdexcept_setround_53bit): Replace with
5240 libc_feholdsetround_53bit.
5241 (libc_feupdateenv_53bit): Replace with
5242 libc_feresetround_53bit.
5243 (SET_RESTORE_ROUND_53BIT): Adjust.
5244
d180203e
SP
52452013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5246
96df079a
SP
5247 * string/test-strchrnul.c: Add copyright header.
5248
d180203e
SP
5249 * posix/tst-getaddrinfo4.c: Increase test timeout.
5250
8b0ccb2d
CD
52512013-06-03 Carlos O'Donell <carlos@redhat.com>
5252
5253 [BZ #15536]
5254 * math/libm-test.inc (MAX_EXP): Remove
5255 (MIN_EXP): Define.
5256 (ulp): Use MIN_EXP - MANT_DIG.
5257 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5258
3b3c4d40
CD
52592013-05-31 Carlos O'Donell <carlos@redhat.com>
5260
5261 * po/be.po: Revert last change.
5262 * po/zh_CN.po: Likewise.
5263 * po/header.pot: Likewise.
5264
fab7ce3f
JM
52652013-05-31 Joseph Myers <joseph@codesourcery.com>
5266
5267 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5268 link-libc-deps to empty as target-specific variable.
5269 * Makerules (link-libc-args): New variable.
5270 (libc-for-link): Likewise.
5271 (link-libc-deps): Likewise.
5272 (lib%.so): Depend on $(link-libc-deps). Link with
5273 $(link-libc-args).
5274 (build-module): Link with $(link-libc-args).
5275 (build-module-asneeded): Likewise.
5276 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5277 list of objects.
5278 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5279 target-specific variable.
5280 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5281 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5282 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5283 libc.
5284 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5285 libc and ld.so.
5286 ($(objpfx)libpcprofile.so): Likewise.
5287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5288 libc_nonshared.a.
5289 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5290 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5291 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5292 $(link-libc-deps).
5293 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5294 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5295 * login/Makefile ($(objpfx)libutil.so): Likewise.
5296 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5297 * math/Makefile ($(objpfx)libm.so): Likewise.
5298 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5299 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5300 variable instead of depending directly on libc.
5301 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5302 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5303 $(link-libc-deps).
5304 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5305 libc.
5306 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5307 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5308 ($(objpfx)libanl.so): Likewise.
5309 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5310 ld.so.
5311 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5312 $(link-libc-deps).
5313 * sysdeps/i386/fpu/Makefile: Remove file.
5314 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5315 ($(objpfx)libm.so): Remove dependency on ld.so.
5316
eca5920c
PF
53172013-05-30 Patsy Franklin <pfrankli@redhat.com>
5318
5319 [BZ # 15553]
5320 * nis/yp_xdr.c (XDRMAXNAME): Define.
5321 (XDRMAXRECORD): Define.
5322 (xdr_domainname): Use XDRMAXNAME.
5323 (xdr_mapname): Likewise.
5324 (xdr_peername): Likewise.
5325 (xdr_keydat): Use XDRMAXRECORD.
5326 (xdr_valdat): Likewise.
5327
53282013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5329
5330 [BZ #14256]
5331 * manual/errno.texi (ESTALE): Update to account for more than
5332 just NFS file systems.
5333 * sysdeps/gnu/errlist.c: Regenerated.
5334
b9375348
SP
53352013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 [BZ #15465]
5338 * elf/Makefile (tests): Add tst-null-argv.
5339 (modules-names): Add tst-null-argv-lib.
5340 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5341 (tst-null-argv-ENV): Set environment for tst-null-argv.
5342 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5343 (RTLD_PROGNAME): New macro.
5344 * elf/tst-null-argv.c: New test case.
5345 * elf/tst-null-argv-lib.c: Library for test case.
5346 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5347 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5348 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5349 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5350 * elf/dl-init.c (call_init): Likewise.
5351 (_dl_init): Likewise.
5352 * elf/dl-load.c (print_search_path): Likewise.
5353 (_dl_map_object): Likewise.
5354 * elf/dl-lookup.c (do_lookup_x): Likewise.
5355 (add_dependency): Likewise.
5356 (_dl_lookup_symbol_x): Likewise.
5357 (_dl_debug_bindings): Likewise.
5358 * elf/dl-open.c (_dl_show_scope): Likewise.
5359 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5360 * elf/dl-version.c (match_symbol): Likewise.
5361 (_dl_check_map_versions): Likewise.
5362 * elf/rtld.c (dl_main): Likewise.
5363 (print_unresolved): Use RTLD_PROGNAME.
5364 (print_missing_version): Likewise.
5365 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5366 (elf_machine_rela): Likewise.
5367 * sysdeps/powerpc/powerpc32/dl-machine.c
5368 (__process_machine_rela): Likewise.
5369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5370 Likewise.
5371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5372 Likewise.
5373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5374 Likewise.
5375 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5376 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5377 Likewise.
5378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5379 Likewise.
5380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5381
8a9f20c8
CD
53822013-05-28 Carlos O'Donell <carlos@redhat.com>
5383
5384 * po/be.po: Add descriptive title.
5385 * po/zh_CN.po: Likewise.
5386 * po/header.pot: Likewise.
5387
0e60d68e
MF
53882013-05-28 Mike Frysinger <vapier@gentoo.org>
5389
5390 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5391 error message.
5392 (enlarge_archive): Likewise.
5393
56b672e9
BN
53942013-05-28 Ben North <ben@redfrontdoor.org>
5395
5396 * manual/arith.texi (frexp): It is the magnitude of the return
5397 value which lies in [0.5, 1), not the return value itself.
5398
5e056687
AZ
53992013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5400
5401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5402
2b66ef5d
TS
54032013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5404
528c2405
TS
5405 * stdio-common/bug26.c (main): Correct fscanf template.
5406
07b4c13d
TS
5407 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5408 declare _dl_skip_args.
5409
ec9dd97c
TS
5410 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5411 Don't declare.
5412
2b66ef5d
TS
5413 * manual/platform.texi: Add missing @end deftypefun.
5414
4f8dfe27
JM
54152013-05-24 Joseph Myers <joseph@codesourcery.com>
5416
0323d086
JM
5417 [BZ #15529]
5418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5419 bit of mantissa of 2^16382.
5420 * math/libm-test.inc (hypot_test_data): Add more tests.
5421
dd4259b9
JM
5422 * math/libm-test.inc: Add drem and pow10 to list of tested
5423 functions.
5424 (pow10_test): New function.
5425 (drem_test): Likewise.
5426 (drem_test_tonearest): Likewise.
5427 (drem_test_towardzero): Likewise.
5428 (drem_test_downward): Likewise.
5429 (drem_test_upward): Likewise.
5430 (main): Call the new functions.
5431
4f8dfe27
JM
5432 * math/libm-test.inc (finite_test_data): Remove.
5433 (finite_test): Run tests from isfinite_test_data.
5434 (gamma_test_data): Remove.
5435 (gamma_test): Run tests from lgamma_test_data.
5436 * sysdeps/i386/fpu/libm-test-ulps: Update.
5437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5438
d116b7c4
AZ
54392013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * manual/platform.texi: Add PowerPC PPR function set documentation.
5442 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5443 implementation.
5444
e96e3767
CD
54452013-05-24 Carlos O'Donell <carlos@redhat.com>
5446
5447 * math/libm-test.inc (MAX_EXP): Define.
5448 (ULPDIFF): Define.
5449 (ulp): New function.
5450 (check_float_internal): Use ULPDIFF.
5451 (cpow_test): Disable failing test.
5452 (check_ulp): Test ulp() implemetnation.
5453 (main): Call check_ulp before starting tests.
5454
b679a606
JM
54552013-05-24 Joseph Myers <joseph@codesourcery.com>
5456
e8bdba36
JM
5457 * math/gen-libm-test.pl (generate_testfile): Do not handle
5458 START_DATA and END_DATA.
5459 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5460 END_DATA.
5461 (acos_tonearest_test_data): Likewise.
5462 (acos_towardzero_test_data): Likewise.
5463 (acos_downward_test_data): Likewise.
5464 (acos_upward_test_data): Likewise.
5465 (acosh_test_data): Likewise.
5466 (asin_test_data): Likewise.
5467 (asin_tonearest_test_data): Likewise.
5468 (asin_towardzero_test_data): Likewise.
5469 (asin_downward_test_data): Likewise.
5470 (asin_upward_test_data): Likewise.
5471 (asinh_test_data): Likewise.
5472 (atan_test_data): Likewise.
5473 (atanh_test_data): Likewise.
5474 (atan2_test_data): Likewise.
5475 (cabs_test_data): Likewise.
5476 (cacos_test_data): Likewise.
5477 (cacosh_test_data): Likewise.
5478 (carg_test_data): Likewise.
5479 (casin_test_data): Likewise.
5480 (casinh_test_data): Likewise.
5481 (catan_test_data): Likewise.
5482 (catanh_test_data): Likewise.
5483 (cbrt_test_data): Likewise.
5484 (ccos_test_data): Likewise.
5485 (ccosh_test_data): Likewise.
5486 (ceil_test_data): Likewise.
5487 (cexp_test_data): Likewise.
5488 (cimag_test_data): Likewise.
5489 (clog_test_data): Likewise.
5490 (clog10_test_data): Likewise.
5491 (conj_test_data): Likewise.
5492 (copysign_test_data): Likewise.
5493 (cos_test_data): Likewise.
5494 (cos_tonearest_test_data): Likewise.
5495 (cos_towardzero_test_data): Likewise.
5496 (cos_downward_test_data): Likewise.
5497 (cos_upward_test_data): Likewise.
5498 (cosh_test_data): Likewise.
5499 (cosh_tonearest_test_data): Likewise.
5500 (cosh_towardzero_test_data): Likewise.
5501 (cosh_downward_test_data): Likewise.
5502 (cosh_upward_test_data): Likewise.
5503 (cpow_test_data): Likewise.
5504 (cproj_test_data): Likewise.
5505 (creal_test_data): Likewise.
5506 (csin_test_data): Likewise.
5507 (csinh_test_data): Likewise.
5508 (csqrt_test_data): Likewise.
5509 (ctan_test_data): Likewise.
5510 (ctan_tonearest_test_data): Likewise.
5511 (ctan_towardzero_test_data): Likewise.
5512 (ctan_downward_test_data): Likewise.
5513 (ctan_upward_test_data): Likewise.
5514 (ctanh_test_data): Likewise.
5515 (ctanh_tonearest_test_data): Likewise.
5516 (ctanh_towardzero_test_data): Likewise.
5517 (ctanh_downward_test_data): Likewise.
5518 (ctanh_upward_test_data): Likewise.
5519 (erf_test_data): Likewise.
5520 (erfc_test_data): Likewise.
5521 (exp_test_data): Likewise.
5522 (exp_tonearest_test_data): Likewise.
5523 (exp_towardzero_test_data): Likewise.
5524 (exp_downward_test_data): Likewise.
5525 (exp_upward_test_data): Likewise.
5526 (exp10_test_data): Likewise.
5527 (exp2_test_data): Likewise.
5528 (expm1_test_data): Likewise.
5529 (fabs_test_data): Likewise.
5530 (fdim_test_data): Likewise.
5531 (finite_test_data): Likewise.
5532 (floor_test_data): Likewise.
5533 (fma_test_data): Likewise.
5534 (fma_towardzero_test_data): Likewise.
5535 (fma_downward_test_data): Likewise.
5536 (fma_upward_test_data): Likewise.
5537 (fmax_test_data): Likewise.
5538 (fmin_test_data): Likewise.
5539 (fmod_test_data): Likewise.
5540 (fpclassify_test_data): Likewise.
5541 (frexp_test_data): Likewise.
5542 (gamma_test_data): Likewise.
5543 (hypot_test_data): Likewise.
5544 (ilogb_test_data): Likewise.
5545 (isfinite_test_data): Likewise.
5546 (isgreater_test_data): Likewise.
5547 (isgreaterequal_test_data): Likewise.
5548 (isinf_test_data): Likewise.
5549 (isless_test_data): Likewise.
5550 (islessequal_test_data): Likewise.
5551 (islessgreater_test_data): Likewise.
5552 (isnan_test_data): Likewise.
5553 (isnormal_test_data): Likewise.
5554 (issignaling_test_data): Likewise.
5555 (isunordered_test_data): Likewise.
5556 (j0_test_data): Likewise.
5557 (j1_test_data): Likewise.
5558 (jn_test_data): Likewise.
5559 (ldexp_test_data): Likewise.
5560 (lgamma_test_data): Likewise.
5561 (lrint_test_data): Likewise.
5562 (lrint_tonearest_test_data): Likewise.
5563 (lrint_towardzero_test_data): Likewise.
5564 (lrint_downward_test_data): Likewise.
5565 (lrint_upward_test_data): Likewise.
5566 (llrint_test_data): Likewise.
5567 (llrint_tonearest_test_data): Likewise.
5568 (llrint_towardzero_test_data): Likewise.
5569 (llrint_downward_test_data): Likewise.
5570 (llrint_upward_test_data): Likewise.
5571 (log_test_data): Likewise.
5572 (log10_test_data): Likewise.
5573 (log1p_test_data): Likewise.
5574 (log2_test_data): Likewise.
5575 (logb_test_data): Likewise.
5576 (logb_downward_test_data): Likewise.
5577 (lround_test_data): Likewise.
5578 (llround_test_data): Likewise.
5579 (modf_test_data): Likewise.
5580 (nearbyint_test_data): Likewise.
5581 (nextafter_test_data): Likewise.
5582 (nexttoward_test_data): Likewise.
5583 (pow_test_data): Likewise.
5584 (pow_tonearest_test_data): Likewise.
5585 (pow_towardzero_test_data): Likewise.
5586 (pow_downward_test_data): Likewise.
5587 (pow_upward_test_data): Likewise.
5588 (remainder_test_data): Likewise.
5589 (remainder_tonearest_test_data): Likewise.
5590 (remainder_towardzero_test_data): Likewise.
5591 (remainder_downward_test_data): Likewise.
5592 (remainder_upward_test_data): Likewise.
5593 (remquo_test_data): Likewise.
5594 (rint_test_data): Likewise.
5595 (rint_tonearest_test_data): Likewise.
5596 (rint_towardzero_test_data): Likewise.
5597 (rint_downward_test_data): Likewise.
5598 (rint_upward_test_data): Likewise.
5599 (round_test_data): Likewise.
5600 (scalb_test_data): Likewise.
5601 (scalbn_test_data): Likewise.
5602 (scalbln_test_data): Likewise.
5603 (signbit_test_data): Likewise.
5604 (sin_test_data): Likewise.
5605 (sin_tonearest_test_data): Likewise.
5606 (sin_towardzero_test_data): Likewise.
5607 (sin_downward_test_data): Likewise.
5608 (sin_upward_test_data): Likewise.
5609 (sincos_test_data): Likewise.
5610 (sinh_test_data): Likewise.
5611 (sinh_tonearest_test_data): Likewise.
5612 (sinh_towardzero_test_data): Likewise.
5613 (sinh_downward_test_data): Likewise.
5614 (sinh_upward_test_data): Likewise.
5615 (sqrt_test_data): Likewise.
5616 (tan_test_data): Likewise.
5617 (tan_tonearest_test_data): Likewise.
5618 (tan_towardzero_test_data): Likewise.
5619 (tan_downward_test_data): Likewise.
5620 (tan_upward_test_data): Likewise.
5621 (tanh_test_data): Likewise.
5622 (tgamma_test_data): Likewise.
5623 (trunc_test_data): Likewise.
5624 (y0_test_data): Likewise.
5625 (y1_test_data): Likewise.
5626 (yn_test_data): Likewise.
5627 (significand_test_data): Likewise.
5628
b679a606
JM
5629 * math/gen-libm-test.pl (@functions): Remove variable.
5630 (generate_testfile): Don't handle START and END lines.
5631 * math/libm-test.inc (START): New macro.
5632 (END): Likewise.
5633 (END_COMPLEX): Likewise.
5634 (acos_test): Use END macro without arguments.
5635 (acos_test_tonearest): Likewise.
5636 (acos_test_towardzero): Likewise.
5637 (acos_test_downward): Likewise.
5638 (acos_test_upward): Likewise.
5639 (acosh_test): Likewise.
5640 (asin_test): Likewise.
5641 (asin_test_tonearest): Likewise.
5642 (asin_test_towardzero): Likewise.
5643 (asin_test_downward): Likewise.
5644 (asin_test_upward): Likewise.
5645 (asinh_test): Likewise.
5646 (atan_test): Likewise.
5647 (atanh_test): Likewise.
5648 (atan2_test): Likewise.
5649 (cabs_test): Likewise.
5650 (cacos_test): Use END_COMPLEX macro without arguments.
5651 (cacosh_test): Likewise.
5652 (carg_test): Use END macro without arguments.
5653 (casin_test): Use END_COMPLEX macro without arguments.
5654 (casinh_test): Likewise.
5655 (catan_test): Likewise.
5656 (catanh_test): Likewise.
5657 (cbrt_test): Use END macro without arguments.
5658 (ccos_test): Use END_COMPLEX macro without arguments.
5659 (ccosh_test): Likewise.
5660 (ceil_test): Use END macro without arguments.
5661 (cexp_test): Use END_COMPLEX macro without arguments.
5662 (cimag_test): Use END macro without arguments.
5663 (clog_test): Use END_COMPLEX macro without arguments.
5664 (clog10_test): Likewise.
5665 (conj_test): Likewise.
5666 (copysign_test): Use END macro without arguments.
5667 (cos_test): Likewise.
5668 (cos_test_tonearest): Likewise.
5669 (cos_test_towardzero): Likewise.
5670 (cos_test_downward): Likewise.
5671 (cos_test_upward): Likewise.
5672 (cosh_test): Likewise.
5673 (cosh_test_tonearest): Likewise.
5674 (cosh_test_towardzero): Likewise.
5675 (cosh_test_downward): Likewise.
5676 (cosh_test_upward): Likewise.
5677 (cpow_test): Use END_COMPLEX macro without arguments.
5678 (cproj_test): Likewise.
5679 (creal_test): Use END macro without arguments.
5680 (csin_test): Use END_COMPLEX macro without arguments.
5681 (csinh_test): Likewise.
5682 (csqrt_test): Likewise.
5683 (ctan_test): Likewise.
5684 (ctan_test_tonearest): Likewise.
5685 (ctan_test_towardzero): Likewise.
5686 (ctan_test_downward): Likewise.
5687 (ctan_test_upward): Likewise.
5688 (ctanh_test): Likewise.
5689 (ctanh_test_tonearest): Likewise.
5690 (ctanh_test_towardzero): Likewise.
5691 (ctanh_test_downward): Likewise.
5692 (ctanh_test_upward): Likewise.
5693 (erf_test): Use END macro without arguments.
5694 (erfc_test): Likewise.
5695 (exp_test): Likewise.
5696 (exp_test_tonearest): Likewise.
5697 (exp_test_towardzero): Likewise.
5698 (exp_test_downward): Likewise.
5699 (exp_test_upward): Likewise.
5700 (exp10_test): Likewise.
5701 (exp2_test): Likewise.
5702 (expm1_test): Likewise.
5703 (fabs_test): Likewise.
5704 (fdim_test): Likewise.
5705 (finite_test): Likewise.
5706 (floor_test): Likewise.
5707 (fma_test): Likewise.
5708 (fma_test_towardzero): Likewise.
5709 (fma_test_downward): Likewise.
5710 (fma_test_upward): Likewise.
5711 (fmax_test): Likewise.
5712 (fmin_test): Likewise.
5713 (fmod_test): Likewise.
5714 (fpclassify_test): Likewise.
5715 (frexp_test): Likewise.
5716 (gamma_test): Likewise.
5717 (hypot_test): Likewise.
5718 (ilogb_test): Likewise.
5719 (isfinite_test): Likewise.
5720 (isgreater_test): Likewise.
5721 (isgreaterequal_test): Likewise.
5722 (isinf_test): Likewise.
5723 (isless_test): Likewise.
5724 (islessequal_test): Likewise.
5725 (islessgreater_test): Likewise.
5726 (isnan_test): Likewise.
5727 (isnormal_test): Likewise.
5728 (issignaling_test): Likewise.
5729 (isunordered_test): Likewise.
5730 (j0_test): Likewise.
5731 (j1_test): Likewise.
5732 (jn_test): Likewise.
5733 (ldexp_test): Likewise.
5734 (lgamma_test): Likewise.
5735 (lrint_test): Likewise.
5736 (lrint_test_tonearest): Likewise.
5737 (lrint_test_towardzero): Likewise.
5738 (lrint_test_downward): Likewise.
5739 (lrint_test_upward): Likewise.
5740 (llrint_test): Likewise.
5741 (llrint_test_tonearest): Likewise.
5742 (llrint_test_towardzero): Likewise.
5743 (llrint_test_downward): Likewise.
5744 (llrint_test_upward): Likewise.
5745 (log_test): Likewise.
5746 (log10_test): Likewise.
5747 (log1p_test): Likewise.
5748 (log2_test): Likewise.
5749 (logb_test): Likewise.
5750 (logb_test_downward): Likewise.
5751 (lround_test): Likewise.
5752 (llround_test): Likewise.
5753 (modf_test): Likewise.
5754 (nearbyint_test): Likewise.
5755 (nextafter_test): Likewise.
5756 (nexttoward_test): Likewise.
5757 (pow_test): Likewise.
5758 (pow_test_tonearest): Likewise.
5759 (pow_test_towardzero): Likewise.
5760 (pow_test_downward): Likewise.
5761 (pow_test_upward): Likewise.
5762 (remainder_test): Likewise.
5763 (remainder_test_tonearest): Likewise.
5764 (remainder_test_towardzero): Likewise.
5765 (remainder_test_downward): Likewise.
5766 (remainder_test_upward): Likewise.
5767 (remquo_test): Likewise.
5768 (rint_test): Likewise.
5769 (rint_test_tonearest): Likewise.
5770 (rint_test_towardzero): Likewise.
5771 (rint_test_downward): Likewise.
5772 (rint_test_upward): Likewise.
5773 (round_test): Likewise.
5774 (scalb_test): Likewise.
5775 (scalbn_test): Likewise.
5776 (scalbln_test): Likewise.
5777 (signbit_test): Likewise.
5778 (sin_test): Likewise.
5779 (sin_test_tonearest): Likewise.
5780 (sin_test_towardzero): Likewise.
5781 (sin_test_downward): Likewise.
5782 (sin_test_upward): Likewise.
5783 (sincos_test): Likewise.
5784 (sinh_test): Likewise.
5785 (sinh_test_tonearest): Likewise.
5786 (sinh_test_towardzero): Likewise.
5787 (sinh_test_downward): Likewise.
5788 (sinh_test_upward): Likewise.
5789 (sqrt_test): Likewise.
5790 (tan_test): Likewise.
5791 (tan_test_tonearest): Likewise.
5792 (tan_test_towardzero): Likewise.
5793 (tan_test_downward): Likewise.
5794 (tan_test_upward): Likewise.
5795 (tanh_test): Likewise.
5796 (tgamma_test): Likewise.
5797 (trunc_test): Likewise.
5798 (y0_test): Likewise.
5799 (y1_test): Likewise.
5800 (yn_test): Likewise.
5801 (significand_test): Likewise.
5802
bae143d2
OB
58032013-05-24 Ondřej Bílka <neleai@seznam.cz>
5804
5805 [BZ #15381]
5806 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5807
9323d39b
EM
58082013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5809
d4ea44a0 5810 [BZ #14894]
9323d39b
EM
5811 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5812 __ppc_mdoio and __ppc_mdoom.
5813 * manual/platform.texi: Document new functions __ppc_yield,
5814 __ppc_mdoio and __ppc_mdoom.
5815
13e23af7
CD
58162013-05-22 Carlos O'Donell <carlos@redhat.com>
5817
5818 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5819 (main): Mention "tls" pseudo-hwcap is legacy.
5820 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5821
351fe550
JM
58222013-05-22 Joseph Myers <joseph@codesourcery.com>
5823
5824 * math/gen-libm-test.pl (parse_args): Output only string of
5825 arguments as text for test name, not full call or descriptions of
5826 tests for extra outputs.
5827 (generate_testfile): Do not pass function name to parse_args.
5828 Generate this_func variable from START.
5829 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5830 field to arg_str.
5831 (struct test_ff_f_data): Likewise.
5832 (test_ff_f_data_nexttoward): Likewise.
5833 (struct test_fi_f_data): Likewise.
5834 (struct test_fl_f_data): Likewise.
5835 (struct test_if_f_data): Likewise.
5836 (struct test_fff_f_data): Likewise.
5837 (struct test_c_f_data): Likewise.
5838 (struct test_f_f1_data): Likewise. Remove field extra_name.
5839 (struct test_fF_f1_data): Likewise.
5840 (struct test_ffI_f1_data): Likewise.
5841 (struct test_c_c_data): Rename test_name field to arg_str.
5842 (struct test_cc_c_data): Likewise.
5843 (struct test_f_i_data): Likewise.
5844 (struct test_ff_i_data): Likewise.
5845 (struct test_f_l_data): Likewise.
5846 (struct test_f_L_data): Likewise.
5847 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5848 and extra2_name.
5849 (COMMON_TEST_SETUP): New macro.
5850 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5851 (COMMON_TEST_CLEANUP): Likewise.
5852 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5853 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5854 macros.
5855 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5856 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5857 macros.
5858 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5859 (RUN_TEST_fff_f): Take argument string. Call new setup and
5860 cleanup macros.
5861 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5862 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5863 macros.
5864 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5865 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5866 macros.
5867 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5868 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5869 cleanup macros.
5870 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5871 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5872 cleanup macros.
5873 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5874 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5875 cleanup macros.
5876 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5877 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5878 macros.
5879 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5880 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5881 macros.
5882 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5883 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5884 macros.
5885 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5886 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5887 cleanup macros.
5888 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5889 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5890 cleanup macros.
5891 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5892 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5893 macros.
5894 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5895 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5896 cleanup macros.
5897 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5898 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5899 macros.
5900 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5901 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5902 macros.
5903 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5904 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5905 cleanup macros.
5906 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5907
85118d4d
EBM
59082013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5909
5910 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5911 to _sifields.sigfault.
5912 (si_addr_lsb): Define new macro.
5913 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5914 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5915 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5916
7a44c18f
CD
59172013-05-03 Carlos O'Donell <carlos at redhat.com>
5918
5919 [BZ #15441]
5920 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5921 returns -1.
5922 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5923 null return -1.
5924 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5925 loading the domain.
5926
b50a7181
JM
59272013-05-22 Joseph Myers <joseph@codesourcery.com>
5928
5929 * math/gen-libm-test.pl (parse_args): Do not include expected
5930 result in test name.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5933 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5934 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5935 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937
051063c8
SP
59382013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5939
3ce9e010
SP
5940 * benchtests/Makefile: Sort function entries.
5941
051063c8
SP
5942 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5943 tanh, asinh, acosh, atanh.
5944 * benchtests/acos-inputs: New file.
5945 * benchtests/acosh-inputs: New file.
5946 * benchtests/asin-inputs: New file.
5947 * benchtests/asinh-inputs: New file.
5948 * benchtests/atanh-inputs: New file.
5949 * benchtests/cosh-inputs: New file.
5950 * benchtests/log-inputs: New file.
5951 * benchtests/sinh-inputs: New file.
5952 * benchtests/tanh-inputs: New file.
5953
47c22455
DL
59542013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5955
5956 [BZ #15339]
5957 * posix/tst-getaddrinfo4.c: New test.
5958 * posix/Makefile (tests): Add it.
5959
3d04f5db
SP
59602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5961
5962 [BZ #15339]
5963 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5964 when no services were used.
5965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5966 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5967
d5dd6189
AS
59682013-05-21 Andreas Schwab <schwab@suse.de>
5969
5970 [BZ #15014]
5971 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5972 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5973 successful.
5974 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5975 redundant variable declarations and reallocation of buffer when
5976 parsing as IPv6 address. Always set NSS status when called from
5977 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5978 buffer too small. Correct computation of needed size.
5979 * nss/Makefile (tests): Add test-digits-dots.
5980 * nss/test-digits-dots.c: New test.
5981
fef94eab
SP
59822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5983
5984 * benchtests/Makefile: Remove instructions for adding
5985 benchmark tests.
5986 * benchtests/README: New file to explain how to execute and
5987 enhance the benchmark tests.
5988
e39adf43
AS
59892013-05-21 Andreas Schwab <schwab@suse.de>
5990
5991 [BZ #15493]
5992 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5993 * setjmp/tst-sigsetjmp.c: New test.
5994
b2b671b6
OB
59952013-05-20 Ondřej Bílka <neleai@seznam.cz>
5996
5997 * sysdeps/x86_64/memset.S (memset): New implementation.
5998 (__bzero): Likewise.
5999 (__memset_tail): New function.
6000
2d48b41c
OB
60012013-05-20 Ondřej Bílka <neleai@seznam.cz>
6002
6003 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6004 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6005 __memcpy_sse2_unaligned ifunc selection.
6006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6007 Add memcpy-sse2-unaligned.S.
6008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6009 Add: __memcpy_sse2_unaligned.
6010
f16cc3eb
JM
60112013-05-19 Joseph Myers <joseph@codesourcery.com>
6012
3e694268
JM
6013 [BZ #15490]
6014 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6015 math_force_eval before restoring floating-point envrionment.
6016 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6017 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6018 Likewise.
6019 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6020 <math_private.h>.
6021 (__nearbyintl): Use math_force_eval before restoring
6022 floating-point environment.
6023 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6024
db62a907
JM
6025 * math/gen-libm-test.pl (special_functions): Remove.
6026 (parse_args): Don't handle TEST_extra. Handle functions with no
6027 return value.
6028 * math/libm-test.inc (struct test_sincos_data): Replace with
6029 struct test_fFF_11_data.
6030 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6031 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6032 (sincos_test_data): Change element type to struct
6033 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6034 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6035 RUN_TEST_LOOP_sincos.
6036 * math/README.libm-test: Don't mention special handling of
6037 individual functions.
6038 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6040 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6042 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044
f16cc3eb
JM
6045 * math/gen-libm-test.pl (get_variable): Remove function.
6046 (parse_args): Don't show pointer parameters to call in test
6047 names. Use "extra output N" in test names for extra outputs
6048 rather than naming variables.
6049
3779b5b6
JM
60502013-05-18 Joseph Myers <joseph@codesourcery.com>
6051
2ee094ff
JM
6052 [BZ #15488]
6053 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6054 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6055 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6056 double tests.
6057 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6058 disable.
6059 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6060 check_long_double.
6061
3779b5b6
JM
6062 * math/gen-libm-test.pl (@tests): Remove variable.
6063 ($count): Likewise.
6064 (new_test): Remove function.
6065 (show_exceptions): New function.
6066 (special_functions): Use show_exceptions instead of new_test.
6067 (parse_args): Likewise.
6068 (generate_testfile): Pass only function name in generated call to
6069 print_max_error or print_complex_max_error.
6070 (get_ulps): Do not handle complex tests specially.
6071 (output_test): Rename to ...
6072 (get_all_ulps_for_test): ... this. Return a string rather than
6073 printing to a file. Require ulps to be present.
6074 (output_ulps): Generate arrays rather than #defines.
6075 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6076 (struct ulp_data): New type.
6077 (BUILD_COMPLEX_ULP): Remove macro.
6078 (compare_ulp_data): New function.
6079 (find_ulps): Likewise.
6080 (find_test_ulps): Likewise.
6081 (find_function_ulps): Likewise.
6082 (find_complex_function_ulps): Likewise.
6083 (print_max_error): Determine allowed ulps using
6084 find_function_ulps.
6085 (print_complex_max_error): Determine allowed ulps using
6086 find_complex_function_ulps.
6087 (check_float_internal): Determine max ulps using find_test_ulps.
6088 (check_float): Do not take max_ulp parameter. Update call to
6089 check_float_internal.
6090 (check_complex): Likewise.
6091 (check_int): Do not take max_ulp parameter.
6092 (check_long): Likewise.
6093 (check_bool): Likewise.
6094 (check_longlong): Likewise.
6095 (struct test_f_f_data): Remove max_ulp field.
6096 (struct test_ff_f_data): Likewise.
6097 (struct test_ff_f_data_nexttoward): Likewise.
6098 (struct test_fi_f_data): Likewise.
6099 (struct test_fl_f_data): Likewise.
6100 (struct test_if_f_data): Likewise.
6101 (struct test_fff_f_data): Likewise.
6102 (struct test_c_f_data): Likewise.
6103 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6104 (struct test_fF_f1_data): Likewise.
6105 (struct test_ffI_f1_data): Likewise.
6106 (struct test_c_c_data): Remove max_ulp field.
6107 (struct test_cc_c_data): Likewise.
6108 (struct test_f_i_data): Likewise.
6109 (struct test_ff_i_data): Likewise.
6110 (struct test_f_l_data): Likewise.
6111 (struct test_f_L_data): Likewise.
6112 (struct test_sincos_data): Likewise.
6113 (RUN_TEST_f_f): Do not handle ulps.
6114 (RUN_TEST_LOOP_f_f): Likewise.
6115 (RUN_TEST_2_f): Likewise.
6116 (RUN_TEST_LOOP_2_f): Likewise.
6117 (RUN_TEST_fff_f): Likewise.
6118 (RUN_TEST_LOOP_fff_f): Likewise.
6119 (RUN_TEST_c_f): Likewise.
6120 (RUN_TEST_LOOP_c_f): Likewise.
6121 (RUN_TEST_f_f1): Likewise.
6122 (RUN_TEST_LOOP_f_f1): Likewise.
6123 (RUN_TEST_fF_f1): Likewise.
6124 (RUN_TEST_LOOP_fF_f1): Likewise.
6125 (RUN_TEST_fI_f1): Likewise.
6126 (RUN_TEST_LOOP_fI_f1): Likewise.
6127 (RUN_TEST_ffI_f1): Likewise.
6128 (RUN_TEST_LOOP_ffI_f1): Likewise.
6129 (RUN_TEST_c_c): Likewise.
6130 (RUN_TEST_LOOP_c_c): Likewise.
6131 (RUN_TEST_cc_c): Likewise.
6132 (RUN_TEST_LOOP_cc_c): Likewise.
6133 (RUN_TEST_f_i): Likewise.
6134 (RUN_TEST_LOOP_f_i): Likewise.
6135 (RUN_TEST_f_i_tg): Likewise.
6136 (RUN_TEST_LOOP_f_i_tg): Likewise.
6137 (RUN_TEST_ff_i_tg): Likewise.
6138 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6139 (RUN_TEST_f_b): Likewise.
6140 (RUN_TEST_LOOP_f_b): Likewise.
6141 (RUN_TEST_f_b_tg): Likewise.
6142 (RUN_TEST_LOOP_f_b_tg): Likewise.
6143 (RUN_TEST_f_l): Likewise.
6144 (RUN_TEST_LOOP_f_l): Likewise.
6145 (RUN_TEST_f_L): Likewise.
6146 (RUN_TEST_LOOP_f_L): Likewise.
6147 (RUN_TEST_sincos): Likewise.
6148 (RUN_TEST_LOOP_sincos): Likewise.
6149
8269107f
JM
61502013-05-17 Joseph Myers <joseph@codesourcery.com>
6151
bb38759d
JM
6152 [BZ #15480]
6153 [BZ #15485]
6154 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6155 main case of finite arguments, set rounding mode to FE_TONEAREST
6156 and discard exceptions.
6157 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6158 exceptions.
6159 (remainder_tonearest_test_data): New variable.
6160 (remainder_test_tonearest): New function.
6161 (remainder_towardzero_test_data): New variable.
6162 (remainder_test_towardzero): New function.
6163 (remainder_downward_test_data): New variable.
6164 (remainder_test_downward): New function.
6165 (remainder_upward_test_data): New variable.
6166 (remainder_test_upward): New function.
6167 (main): Call the new test functions.
6168
a00bdcf0
JM
6169 * math/libm-test.inc (struct test_f_f1_data): Remove field
6170 extra_init.
6171 (struct test_fF_f1_data): Likewise.
6172 (struct test_ffI_f1_data): Likewise.
6173 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6174 based on value of EXTRA_EXPECTED.
6175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6176 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6177 EXTRA_VAR based on value of EXTRA_EXPECTED.
6178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6179 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6180 EXTRA_VAR based on value of EXTRA_EXPECTED.
6181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6182 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6183 EXTRA_VAR based on value of EXTRA_EXPECTED.
6184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6185 * math/gen-libm-test.pl (parse_args): Don't output initializers
6186 for extra output values.
6187
de407f79
JM
6188 * math/libm-test.inc (check_int): Expect result to be exactly
6189 equal to expected value and do not handle ulps.
6190 (check_long): Likewise.
6191 (check_longlong): Likewise.
6192
8269107f
JM
6193 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6194 exceptions.
6195 (cimag_test_data): Likewise.
6196 (conj_test_data): Likewise.
6197 (copysign_test_data): Likewise.
6198 (cproj_test_data): Likewise.
6199 (creal_test_data): Likewise.
6200 (fabs_test_data): Likewise.
6201 (fdim_test_data): Likewise.
6202 (finite_test_data): Likewise.
6203 (floor_test_data): Likewise.
6204 (fmax_test_data): Likewise.
6205 (fmin_test_data): Likewise.
6206 (fmod_test_data): Likewise.
6207 (fpclassify_test_data): Likewise.
6208 (frexp_test_data): Likewise.
6209 (ilogb_test_data): Likewise.
6210 (isfinite_test_data): Likewise.
6211 (isgreater_test_data): Likewise.
6212 (isgreaterequal_test_data): Likewise.
6213 (isinf_test_data): Likewise.
6214 (isless_test_data): Likewise.
6215 (islessequal_test_data): Likewise.
6216 (islessgreater_test_data): Likewise.
6217 (isnan_test_data): Likewise.
6218 (isnormal_test_data): Likewise.
6219 (issignaling_test_data): Likewise.
6220 (isunordered_test_data): Likewise.
6221 (ldexp_test_data): Likewise.
6222 (lrint_test_data): Likewise.
6223 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6224 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6225 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6226 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6227 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6228 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6229 test input.
6230 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6231 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6232 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6233 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6234 that test input.
6235 (lrint_downward_test_data): Test for "inexact" exceptions.
6236 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6237 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6238 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6239 test input.
6240 (lrint_upward_test_data): Test for "inexact" exceptions.
6241 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6242 test input.
6243 (llrint_test_data): Test for "inexact" exceptions.
6244 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6245 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6246 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6247 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6248 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6249 (llrint_downward_test_data): Test for "inexact" exceptions.
6250 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6251 (llrint_upward_test_data): Test for "inexact" exceptions.
6252 (logb_test_data): Likewise.
6253 (logb_downward_test_data): Likewise.
6254 (nextafter_test_data): Likewise.
6255 (nexttoward_test_data): Likewise.
6256 (remainder_test_data): Likewise.
6257 (remquo_test_data): Likewise.
6258 (scalbn_test_data): Likewise.
6259 (scalbln_test_data): Likewise.
6260 (signbit_test_data): Likewise.
6261 (sqrt_test_data): Likewise.
6262 (significand_test_data): Likewise.
6263
48a18de1
SP
62642013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6265
6266 [BZ #15424]
6267 * benchtests/bench-modf.c (struct args): Mark arg0 as
6268 volatile.
6269 * scripts/bench.pl: Mark members of struct args as volatile.
6270
13d3b41a
AZ
62712013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6272
68191c1d 6273 [BZ # 15497]
13d3b41a
AZ
6274 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6275 negative infinity on POWER6 or lower.
6276 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6277
2848b105
MR
62782013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6279
6280 [BZ #15442]
6281 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6282 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6283 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6284 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6285 (_FP_SETQNAN): New macro.
6286 (_FP_SETQNAN_SEMIRAW): Likewise.
6287 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6288 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6289 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6290 (FP_EXTEND): Use _FP_FRAC_SNANP.
6291 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6292 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6293 into account.
6294 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6295 New macro.
6296 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6297 Likewise.
6298
323e5cb7
JM
62992013-05-16 Joseph Myers <joseph@codesourcery.com>
6300
c58b274f
JM
6301 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6302 with DIVIDE_BY_ZERO_EXCEPTION.
6303 (gamma_test_data): Likewise.
6304 (lgamma_test_data): Likewise.
6305 (log_test_data): Likewise.
6306 (log10_test_data): Likewise.
6307 (log2_test_data): Likewise.
6308 (tgamma_test_data): Likewise.
6309
0ab34904
JM
6310 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6311 (acos_test_tonearest): Likewise.
6312 (acos_test_towardzero): Likewise.
6313 (acos_test_downward): Likewise.
6314 (acos_test_upward): Likewise.
6315 (acosh_test): Likewise.
6316 (asin_test): Likewise.
6317 (asin_test_tonearest): Likewise.
6318 (asin_test_towardzero): Likewise.
6319 (asin_test_downward): Likewise.
6320 (asin_test_upward): Likewise.
6321 (asinh_test): Likewise.
6322 (atan_test): Likewise.
6323 (atanh_test): Likewise.
6324 (atan2_test): Likewise.
6325 (cabs_test): Likewise.
6326 (cacos_test): Likewise.
6327 (cacosh_test): Likewise.
6328 (casin_test): Likewise.
6329 (casinh_test): Likewise.
6330 (catan_test): Likewise.
6331 (catanh_test): Likewise.
6332 (cbrt_test): Likewise.
6333 (ccos_test): Likewise.
6334 (ccosh_test): Likewise.
6335 (cexp_test): Likewise.
6336 (clog_test): Likewise.
6337 (clog10_test): Likewise.
6338 (cos_test): Likewise.
6339 (cos_test_tonearest): Likewise.
6340 (cos_test_towardzero): Likewise.
6341 (cos_test_downward): Likewise.
6342 (cos_test_upward): Likewise.
6343 (cosh_test): Likewise.
6344 (cosh_test_tonearest): Likewise.
6345 (cosh_test_towardzero): Likewise.
6346 (cosh_test_downward): Likewise.
6347 (cosh_test_upward): Likewise.
6348 (cpow_test): Likewise.
6349 (csin_test): Likewise.
6350 (csinh_test): Likewise.
6351 (csqrt_test): Likewise.
6352 (ctan_test): Likewise.
6353 (ctan_test_tonearest): Likewise.
6354 (ctan_test_towardzero): Likewise.
6355 (ctan_test_downward): Likewise.
6356 (ctan_test_upward): Likewise.
6357 (ctanh_test): Likewise.
6358 (ctanh_test_tonearest): Likewise.
6359 (ctanh_test_towardzero): Likewise.
6360 (ctanh_test_downward): Likewise.
6361 (ctanh_test_upward): Likewise.
6362 (erf_test): Likewise.
6363 (erfc_test): Likewise.
6364 (exp_test): Likewise.
6365 (exp_test_tonearest): Likewise.
6366 (exp_test_towardzero): Likewise.
6367 (exp_test_downward): Likewise.
6368 (exp_test_upward): Likewise.
6369 (exp10_test): Likewise.
6370 (exp2_test): Likewise.
6371 (expm1_test): Likewise.
6372 (fmod_test): Likewise.
6373 (gamma_test): Likewise.
6374 (hypot_test): Likewise.
6375 (j0_test): Likewise.
6376 (j1_test): Likewise.
6377 (jn_test): Likewise.
6378 (lgamma_test): Likewise.
6379 (log_test): Likewise.
6380 (log10_test): Likewise.
6381 (log1p_test): Likewise.
6382 (log2_test): Likewise.
6383 (logb_test_downward): Likewise.
6384 (pow_test): Likewise.
6385 (pow_test_tonearest): Likewise.
6386 (pow_test_towardzero): Likewise.
6387 (pow_test_downward): Likewise.
6388 (pow_test_upward): Likewise.
6389 (remainder_test): Likewise.
6390 (remquo_test): Likewise.
6391 (sin_test): Likewise.
6392 (sin_test_tonearest): Likewise.
6393 (sin_test_towardzero): Likewise.
6394 (sin_test_downward): Likewise.
6395 (sin_test_upward): Likewise.
6396 (sincos_test): Likewise.
6397 (sinh_test): Likewise.
6398 (sinh_test_tonearest): Likewise.
6399 (sinh_test_towardzero): Likewise.
6400 (sinh_test_downward): Likewise.
6401 (sinh_test_upward): Likewise.
6402 (sqrt_test): Likewise.
6403 (tan_test): Likewise.
6404 (tan_test_tonearest): Likewise.
6405 (tan_test_towardzero): Likewise.
6406 (tan_test_downward): Likewise.
6407 (tan_test_upward): Likewise.
6408 (tanh_test): Likewise.
6409 (tgamma_test): Likewise.
6410 (y0_test): Likewise.
6411 (y1_test): Likewise.
6412 (yn_test): Likewise.
6413
323e5cb7
JM
6414 * math/gen-libm-test.pl (adjust_arg): Remove function.
6415 (special_function): Remove argument $in_func. Only handle
6416 generating output for tables of tests, not inside functions.
6417 (parse_args): Likewise.
6418 (generate_testfile): Remove variable $in_func. Update call to
6419 parse_args.
6420 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6421 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6422 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6423 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6424 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6425 (MAX_VALUE_INIT): Rename macro to max_value.
6426 (MIN_VALUE_INIT): Rename macro to min_value.
6427 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6428 (plus_zero): Remove variable.
6429 (minus_zero): Likewise.
6430 (plus_infty): Likewise.
6431 (minus_infty): Likewise.
6432 (qnan_value): Likewise.
6433 (max_value): Likewise.
6434 (min_value): Likewise.
6435 (min_subnorm_value): Likewise.
6436
e054f494
RA
64372013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6438
6439 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6440 uint64_t or uint32_t usage.
6441 * crypt/sha256-block.c: Likewise.
6442 * crypt/sha256-crypt.c: Likewise.
6443 * crypt/sha256.c: Likewise.
6444 * crypt/sha512-block.c: Likewise.
6445 * crypt/sha512-crypt.c: Likewise.
6446 * crypt/sha512.c: Likewise.
6447 * debug/backtrace-tst.c: Likewise.
6448 * debug/pcprofiledump.c: Likewise.
6449 * elf/cache.c: Likewise.
6450 * elf/dl-cache.c: Likewise.
6451 * elf/dl-misc.c: Likewise.
6452 * elf/dl-profile.c: Likewise.
6453 * elf/dl-support.c: Likewise.
6454 * elf/ldconfig.c: Likewise.
6455 * elf/sprof.c: Likewise.
6456 * iconv/dummy-repertoire.c: Likewise.
6457 * iconv/iconv_charmap.c: Likewise.
6458 * iconv/skeleton.c: Likewise.
6459 * iconvdata/8bit-generic.c: Likewise.
6460 * iconvdata/cp737.h: Likewise.
6461 * iconvdata/cp775.h: Likewise.
6462 * iconvdata/ibm1008.h: Likewise.
6463 * iconvdata/ibm1025.h: Likewise.
6464 * iconvdata/ibm1046.h: Likewise.
6465 * iconvdata/ibm1097.h: Likewise.
6466 * iconvdata/ibm1112.h: Likewise.
6467 * iconvdata/ibm1122.h: Likewise.
6468 * iconvdata/ibm1123.h: Likewise.
6469 * iconvdata/ibm1124.h: Likewise.
6470 * iconvdata/ibm1129.h: Likewise.
6471 * iconvdata/ibm1130.h: Likewise.
6472 * iconvdata/ibm1132.h: Likewise.
6473 * iconvdata/ibm1133.h: Likewise.
6474 * iconvdata/ibm1137.h: Likewise.
6475 * iconvdata/ibm1140.h: Likewise.
6476 * iconvdata/ibm1141.h: Likewise.
6477 * iconvdata/ibm1142.h: Likewise.
6478 * iconvdata/ibm1143.h: Likewise.
6479 * iconvdata/ibm1144.h: Likewise.
6480 * iconvdata/ibm1145.h: Likewise.
6481 * iconvdata/ibm1146.h: Likewise.
6482 * iconvdata/ibm1147.h: Likewise.
6483 * iconvdata/ibm1148.h: Likewise.
6484 * iconvdata/ibm1149.h: Likewise.
6485 * iconvdata/ibm1153.h: Likewise.
6486 * iconvdata/ibm1154.h: Likewise.
6487 * iconvdata/ibm1155.h: Likewise.
6488 * iconvdata/ibm1156.h: Likewise.
6489 * iconvdata/ibm1157.h: Likewise.
6490 * iconvdata/ibm1158.h: Likewise.
6491 * iconvdata/ibm1160.h: Likewise.
6492 * iconvdata/ibm1161.h: Likewise.
6493 * iconvdata/ibm1162.h: Likewise.
6494 * iconvdata/ibm1163.h: Likewise.
6495 * iconvdata/ibm1164.h: Likewise.
6496 * iconvdata/ibm1166.h: Likewise.
6497 * iconvdata/ibm1167.h: Likewise.
6498 * iconvdata/ibm12712.h: Likewise.
6499 * iconvdata/ibm1390.h: Likewise.
6500 * iconvdata/ibm1399.h: Likewise.
6501 * iconvdata/ibm16804.h: Likewise.
6502 * iconvdata/ibm4517.h: Likewise.
6503 * iconvdata/ibm4899.h: Likewise.
6504 * iconvdata/ibm4909.h: Likewise.
6505 * iconvdata/ibm4971.h: Likewise.
6506 * iconvdata/ibm5347.h: Likewise.
6507 * iconvdata/ibm803.h: Likewise.
6508 * iconvdata/ibm856.h: Likewise.
6509 * iconvdata/ibm901.h: Likewise.
6510 * iconvdata/ibm902.h: Likewise.
6511 * iconvdata/ibm9030.h: Likewise.
6512 * iconvdata/ibm9066.h: Likewise.
6513 * iconvdata/ibm921.h: Likewise.
6514 * iconvdata/ibm922.h: Likewise.
6515 * iconvdata/ibm9448.h: Likewise.
6516 * iconvdata/isiri-3342.h: Likewise.
6517 * iconvdata/jis0201.h: Likewise.
6518 * include/link.h: Likewise.
6519 * include/netdb.h: Likewise.
6520 * inet/check_native.c: Likewise.
6521 * inet/check_pf.c: Likewise.
6522 * inet/getipv4sourcefilter.c: Likewise.
6523 * inet/getnameinfo.c: Likewise.
6524 * inet/getsourcefilter.c: Likewise.
6525 * inet/htonl.c: Likewise.
6526 * inet/setipv4sourcefilter.c: Likewise.
6527 * inet/setsourcefilter.c: Likewise.
6528 * inet/test-inet6_opt.c: Likewise.
6529 * inet/tst-network.c: Likewise.
6530 * locale/C-collate.c: Likewise.
6531 * locale/C-ctype.c: Likewise.
6532 * locale/C-time.c: Likewise.
6533 * locale/C-translit.h: Likewise.
6534 * locale/loadarchive.c: Likewise.
6535 * locale/programs/3level.h: Likewise.
6536 * locale/programs/charmap.c: Likewise.
6537 * locale/programs/charmap.h: Likewise.
6538 * locale/programs/ld-address.c: Likewise.
6539 * locale/programs/ld-collate.c: Likewise.
6540 * locale/programs/ld-ctype.c: Likewise.
6541 * locale/programs/ld-identification.c: Likewise.
6542 * locale/programs/ld-measurement.c: Likewise.
6543 * locale/programs/ld-messages.c: Likewise.
6544 * locale/programs/ld-monetary.c: Likewise.
6545 * locale/programs/ld-name.c: Likewise.
6546 * locale/programs/ld-numeric.c: Likewise.
6547 * locale/programs/ld-paper.c: Likewise.
6548 * locale/programs/ld-telephone.c: Likewise.
6549 * locale/programs/ld-time.c: Likewise.
6550 * locale/programs/linereader.c: Likewise.
6551 * locale/programs/locale.c: Likewise.
6552 * locale/programs/locarchive.c: Likewise.
6553 * locale/programs/locfile.h: Likewise.
6554 * locale/programs/repertoire.c: Likewise.
6555 * locale/programs/simple-hash.c: Likewise.
6556 * locale/programs/simple-hash.h: Likewise.
6557 * malloc/memusage.c: Likewise.
6558 * malloc/memusagestat.c: Likewise.
6559 * nis/nis_defaults.c: Likewise.
6560 * nis/nis_hash.c: Likewise.
6561 * nis/nis_print.c: Likewise.
6562 * nis/nis_xdr.c: Likewise.
6563 * nscd/connections.c: Likewise.
6564 * nscd/hstcache.c: Likewise.
6565 * nscd/nscd_gethst_r.c: Likewise.
6566 * nscd/nscd_getserv_r.c: Likewise.
6567 * nscd/nscd_helper.c: Likewise.
6568 * nscd/servicescache.c: Likewise.
6569 * nss/makedb.c: Likewise.
6570 * nss/nss_db/db-XXX.c: Likewise.
6571 * nss/nss_db/db-initgroups.c: Likewise.
6572 * nss/nss_db/db-netgrp.c: Likewise.
6573 * nss/nss_files/files-network.c: Likewise.
6574 * nss/nss_files/files-parse.c: Likewise.
6575 * posix/bug-regex5.c: Likewise.
6576 * posix/fnmatch_loop.c: Likewise.
6577 * posix/regcomp.c: Likewise.
6578 * posix/regexec.c: Likewise.
6579 * posix/tst-rfc3484-2.c: Likewise.
6580 * posix/tst-rfc3484-3.c: Likewise.
6581 * posix/tst-rfc3484.c: Likewise.
6582 * resolv/nss_dns/dns-canon.c: Likewise.
6583 * resolv/nss_dns/dns-network.c: Likewise.
6584 * resolv/res_init.c: Likewise.
6585 * resolv/res_mkquery.c: Likewise.
6586 * resolv/tst-aton.c: Likewise.
6587 * stdlib/cxa_atexit.c: Likewise.
6588 * stdlib/cxa_finalize.c: Likewise.
6589 * stdlib/gen-fpioconst.c: Likewise.
6590 * stdlib/strtol_l.c: Likewise.
6591 * string/tst-endian.c: Likewise.
6592 * sunrpc/auth_des.c: Likewise.
6593 * sunrpc/clnt_udp.c: Likewise.
6594 * sunrpc/rtime.c: Likewise.
6595 * sunrpc/svcauth_des.c: Likewise.
6596 * sunrpc/xdr.c: Likewise.
6597 * sunrpc/xdr_intXX_t.c: Likewise.
6598 * sunrpc/xdr_rec.c: Likewise.
6599 * sysdeps/generic/ldconfig.h: Likewise.
6600 * sysdeps/generic/ldsodefs.h: Likewise.
6601 * sysdeps/generic/memusage.h: Likewise.
6602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6605 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6612 * sysdeps/posix/getaddrinfo.c: Likewise.
6613 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6614 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6615 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6616 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6617 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6618 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6619 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6620 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6621 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6623 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6624 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6625 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6626 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6627 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6628 * sysdeps/x86_64/dl-tls.h: Likewise.
6629 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6630 * time/alt_digit.c: Likewise.
6631 * time/era.c: Likewise.
6632 * wcsmbs/tst-c16c32-1.c: Likewise.
6633
8c75f674
JM
66342013-05-16 Joseph Myers <joseph@codesourcery.com>
6635
6636 * math/libm-test.inc (struct test_sincos_data): New type.
6637 (RUN_TEST_LOOP_sincos): New macro.
6638 (sincos_test_data): New variable.
6639 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6640
e6e49e59
RH
66412013-05-16 Richard Henderson <rth@redhat.com>
6642
6643 * math/atest-exp2.c (LIMB64): New macro.
6644 (CONSTSZ): New macro.
6645 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6646 (hexdig): Move ...
6647 (print_mpn_fp): ... to function scope.
6648 (read_mpn_hex): Remove.
6649 (get_log2): Remove.
6650 (exp2_mpn): Use mp_log2.
6651 (main): Use mp_exp1.
6652
15c7c18d
JM
66532013-05-16 Joseph Myers <joseph@codesourcery.com>
6654
105a07df
JM
6655 * math/libm-test.inc: Remove comment about not testing "inexact"
6656 exceptions.
6657 (INEXACT_EXCEPTION): New macro.
6658 (NO_INEXACT_EXCEPTION): Likewise.
6659 (INVALID_EXCEPTION_OK): Update value.
6660 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6661 (OVERFLOW_EXCEPTION_OK): Likewise.
6662 (UNDERFLOW_EXCEPTION_OK): Likewise.
6663 (IGNORE_ZERO_INF_SIGN): Likewise.
6664 (ERRNO_UNCHANGED): Likewise.
6665 (ERRNO_EDOM): Likewise.
6666 (ERRNO_ERANGE): Likewise.
6667 (test_exceptions): Handle testing "inexact" exceptions.
6668 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6669 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6670 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6671 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6672 INEXACT_EXCEPTION.
6673 (rint_towardzero_test_data): Likewise.
6674 (rint_downward_test_data): Likewise.
6675 (rint_upward_test_data): Likewise.
6676
e9eee333
JM
6677 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6678 with OVERFLOW_EXCEPTION.
6679 (exp10_test_data): Likewise.
6680 (exp2_test_data): Likewise.
6681 (expm1_test_data): Likewise.
6682 (lgamma_test_data): Likewise.
6683 (pow_test_data): Likewise.
6684 (tgamma_test_data): Likewise.
6685 (yn_test_data): Remove duplicate test of overflow.
6686
1c38ff73
JM
6687 * math/libm-test.inc (struct test_cc_c_data): New type.
6688 (RUN_TEST_LOOP_cc_c): New macro.
6689 (cpow_test_data): New variable.
6690 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6691
15c7c18d
JM
6692 * math/libm-test.inc (struct test_f_L_data): New type.
6693 (RUN_TEST_LOOP_f_L): New macro.
6694 (llrint_test_data): New variable.
6695 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6696 (llrint_tonearest_test_data): New variable.
6697 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6698 (llrint_towardzero_test_data): New variable.
6699 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6700 (llrint_downward_test_data): New variable.
6701 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6702 (llrint_upward_test_data): New variable.
6703 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6704 (llround_test_data): New variable.
6705 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6706
f137ff13
PC
67072013-05-13 Peter Collingbourne <pcc@google.com>
6708
6709 * math/atest-exp2.c (get_log2): Remove const attribute.
6710
3608cb24
JM
67112013-05-15 Joseph Myers <joseph@codesourcery.com>
6712
6713 * math/libm-test.inc (struct test_f_l_data): New type.
6714 (RUN_TEST_LOOP_f_l): New macro.
6715 (lrint_test_data): New variable.
6716 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6717 (lrint_tonearest_test_data): New variable.
6718 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6719 (lrint_towardzero_test_data): New variable.
6720 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6721 (lrint_downward_test_data): New variable.
6722 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6723 (lrint_upward_test_data): New variable.
6724 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6725 (lround_test_data): New variable.
6726 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6727
39b1f617
PC
67282013-05-15 Peter Collingbourne <pcc@google.com>
6729
1deff3dc
PC
6730 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6731 (EXTRACT_WORDS64) Use where appropriate.
6732 (INSERT_WORDS64) Likewise.
6733
791f3ba0
PC
6734 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6735 constraints with x constraints.
6736 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6737
39b1f617
PC
6738 * malloc/obstack.c (_obstack_compat): Add initializer.
6739
12fba011
EM
67402013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6741
6742 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6743 si_trapno and add si_addr_lsb to _sifields.sigfault.
6744 (si_trapno): Remove macro.
6745 (si_addr_lsb): Define new macro.
6746 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6747
d369f531
JM
67482013-05-15 Joseph Myers <joseph@codesourcery.com>
6749
b861c6c4
JM
6750 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6751 instead of TEST_f_l.
6752 (llrint_test_tonearest): Likewise.
6753 (llrint_test_towardzero): Likewise.
6754 (llrint_test_downward): Likewise.
6755 (llrint_test_upward): Likewise.
6756 (llround_test): Likewise.
6757
7abeee12
JM
6758 * math/libm-test.inc (struct test_f_i_data): Add comment.
6759 (RUN_TEST_LOOP_f_b): New macro.
6760 (RUN_TEST_LOOP_f_b_tg): Likewise.
6761 (finite_test_data): New variable.
6762 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6763 (isfinite_test_data): New variable.
6764 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6765 (isinf_test_data): New variable.
6766 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6767 (isnan_test_data): New variable.
6768 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6769 (isnormal_test_data): New variable.
6770 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6771 (issignaling_test_data): New variable.
6772 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6773 (signbit_test_data): New variable.
6774 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6775
cbe8c4d3
JM
6776 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6777 with INVALID_EXCEPTION.
6778 (acosh_test_data): Likewise.
6779 (asin_test_data): Likewise.
6780 (atanh_test_data): Likewise.
6781 (fmod_test_data): Likewise.
6782 (log_test_data): Likewise.
6783 (log10_test_data): Likewise.
6784 (log2_test_data): Likewise.
6785 (pow_test_data): Likewise.
6786 (sqrt_test_data): Likewise.
6787 (y0_test_data): Likewise.
6788 (y1_test_data): Likewise.
6789 (yn_test_data): Likewise.
6790
5575c0e5
JM
6791 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6792 function contents.
6793
d369f531
JM
6794 * math/libm-test.inc (struct test_ff_i_data): New type.
6795 (RUN_TEST_LOOP_ff_i_tg): New macro.
6796 (isgreater_test_data): New variable.
6797 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6798 (isgreaterequal_test_data): New variable.
6799 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6800 (isless_test_data): New variable.
6801 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6802 (islessequal_test_data): New variable.
6803 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6804 (islessgreater_test_data): New variable.
6805 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6806 (isunordered_test_data): New variable.
6807 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6808
781fd748
DM
68092013-05-14 David S. Miller <davem@davemloft.net>
6810
6811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6812
87aa21df
JM
68132013-05-14 Joseph Myers <joseph@codesourcery.com>
6814
5e908270
JM
6815 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6816
f71172e5
JM
6817 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6818 extra_test to int.
6819 (struct test_f_i_data): Change type of max_ulp to int.
6820
8cfa635a
JM
6821 * math/libm-test.inc (test_ffI_f1_data): New type.
6822 (RUN_TEST_LOOP_ffI_f1): New macro.
6823 (remquo_test_data): New variable.
6824 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6825
2bcb36b2
JM
6826 * setjmp/tst-setjmp-fp.c: New file.
6827 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6828 (link-libm): New variable.
6829 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6830
acbd839a
JM
6831 * math/libm-test.inc (struct test_f_i_data): New type.
6832 (RUN_TEST_LOOP_f_i): New macro.
6833 (RUN_TEST_LOOP_f_i_tg): Likewise.
6834 (fpclassify_test_data): New variable.
6835 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6836 (ilogb_test_data): New variable.
6837 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6838
e414d745
JM
6839 * math/libm-test.inc (scalbln_test): Correct function name in END
6840 call.
6841
d9c2a0fd
JM
6842 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6843 (RUN_TEST_LOOP_fI_f1): New macro.
6844 (frexp_test_data): New variable.
6845 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6846
9dc9095d
JM
6847 * math/libm-test.inc (struct test_fF_f1_data): New type.
6848 (RUN_TEST_LOOP_fF_f1): New macro.
6849 (modf_test_data): New variable.
6850 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6851
87aa21df
JM
6852 * math/libm-test.inc (struct test_f_f1_data): New type.
6853 (RUN_TEST_LOOP_f_f1): New macro.
6854 (gamma_test_data): New variable.
6855 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6856 (lgamma_test_data): New variable.
6857 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6858
141af660
CD
68592013-05-13 Carlos O'Donell <carlos@redhat.com>
6860
6861 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6862 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6863 (main): Comment "tls" pseudo-hwcap.
6864
6d33265c
JM
68652013-05-13 Joseph Myers <joseph@codesourcery.com>
6866
68fc074c
JM
6867 * math/libm-test.inc (struct test_fl_f_data): New type.
6868 (RUN_TEST_LOOP_fl_f): New variable.
6869 (scalbln_test_data): New variable.
6870 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6871
243216e1
JM
6872 * math/libm-test.inc (struct test_fi_f_data): New type.
6873 (RUN_TEST_LOOP_fi_f): New macro.
6874 (ldexp_test_data): New variable.
6875 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6876 (scalbn_test_data): New variable.
6877 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6878
6a1992e2
JM
6879 * math/libm-test.inc (struct test_c_f_data): New type.
6880 (RUN_TEST_LOOP_c_f): New macro.
6881 (cabs_test_data): New variable.
6882 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6883 (carg_test_data): New variable.
6884 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6885 (cimag_test_data): New variable.
6886 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6887 (creal_test_data): New variable.
6888 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6889
0e400df5
JM
6890 * math/libm-test.inc (struct test_if_f_data): New type.
6891 (RUN_TEST_LOOP_if_f): New macro.
6892 (jn_test_data): New variable.
6893 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6894 (yn_test_data): New variable.
6895 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6896
6d33265c
JM
6897 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6898
f98ece5f
AZ
68992013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900
6901 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6902 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6903
0f7d347b
SP
69042013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6905
43fe811b
SP
6906 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6907 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6908 (bench-deps): Add bench-timing.h.
6909 * benchtests-bench-skeleton.c: Include bench-timing.h.
6910 (main): Use TIMING_* macros instead of clock_gettime.
6911 * benchtests/bench-timing.h: New file.
6912
0f7d347b
SP
6913 [BZ #14582]
6914 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6915 Renamed from _LIB_VERSION.
6916 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6917
601a3a5f
JM
69182013-05-12 Joseph Myers <joseph@codesourcery.com>
6919
4f184d30
JM
6920 * math/libm-test.inc (struct test_fff_f_data): New type.
6921 (RUN_TEST_LOOP_fff_f): New macro.
6922 (fma_test_data): New variable.
6923 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6924 (fma_towardzero_test_data): New variable.
6925 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6926 (fma_downward_test_data): New variable.
6927 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6928 (fma_upward_test_data): New variable.
6929 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6930
08198877
JM
6931 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6932 (struct test_c_c_data): New type.
6933 (RUN_TEST_LOOP_c_c): New macro.
6934 (cacos_test_data): New variable.
6935 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6936 (cacosh_test_data): New variable.
6937 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6938 (casin_test_data): New variable.
6939 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6940 (casinh_test_data): New variable.
6941 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6942 (catan_test_data): New variable.
6943 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6944 (catanh_test_data): New variable.
6945 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6946 (ccos_test_data): New variable.
6947 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6948 (ccosh_test_data): New variable.
6949 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6950 (cexp_test_data): New variable.
6951 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6952 (clog_test_data): New variable.
6953 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6954 (clog10_test_data): New variable.
6955 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6956 (conj_test_data): New variable.
6957 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6958 (cproj_test_data): New variable.
6959 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6960 (csin_test_data): New variable.
6961 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6962 (csinh_test_data): New variable.
6963 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6964 (csqrt_test_data): New variable.
6965 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6966 (ctan_test_data): New variable.
6967 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6968 (ctan_tonearest_test_data): New variable.
6969 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6970 (ctan_towardzero_test_data): New variable.
6971 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6972 (ctan_downward_test_data): New variable.
6973 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6974 (ctan_upward_test_data): New variable.
6975 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6976 (ctanh_test_data): New variable.
6977 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6978 (ctanh_tonearest_test_data): New variable.
6979 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6980 (ctanh_towardzero_test_data): New variable.
6981 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6982 (ctanh_downward_test_data): New variable.
6983 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6984 (ctanh_upward_test_data): New variable.
6985 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6986 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6987 of BUILD_COMPLEX.
6988
601a3a5f
JM
6989 * math/libm-test.inc (struct test_ff_f_data): New type.
6990 (struct test_ff_f_data_nexttoward): Likewise.
6991 (RUN_TEST_LOOP_2_f): New macro.
6992 (RUN_TEST_LOOP_ff_f): Likewise.
6993 (atan2_test_data): New variable.
6994 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6995 (copysign_test_data): New variable.
6996 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6997 (fdim_test_data): New variable.
6998 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6999 (fmax_test_data): New variable.
7000 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7001 (fmin_test_data): New variable.
7002 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7003 (fmod_test_data): New variable.
7004 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7005 (hypot_test_data): New variable.
7006 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7007 (nextafter_test_data): New variable.
7008 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7009 (nexttoward_test_data): New variable.
7010 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7011 (pow_test_data): New variable.
7012 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7013 (pow_tonearest_test_data): New variable.
7014 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7015 (pow_towardzero_test_data): New variable.
7016 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7017 (pow_downward_test_data): New variable.
7018 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7019 (pow_upward_test_data): New variable.
7020 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7021 (remainder_test_data): New variable.
7022 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7023 (scalb_test_data): New variable.
7024 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7025 * sysdeps/i386/fpu/libm-test-ulps: Update.
7026
74c57478
JM
70272013-05-11 Joseph Myers <joseph@codesourcery.com>
7028
8329e4da
JM
7029 * math/libm-test.inc (fma_test): Use max_value instead of local
7030 variable fltmax.
7031 (nextafter_test): Likewise.
7032
74c57478
JM
7033 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7034 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7035 (acos_downward_test_data): New variable.
7036 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7037 (acos_upward_test_data): New variable.
7038 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7039 (acosh_test_data): New variable.
7040 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7041 (asin_test_data): New variable.
7042 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7043 (asin_tonearest_test_data): New variable.
7044 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7045 (asin_towardzero_test_data): New variable.
7046 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7047 (asin_downward_test_data): New variable.
7048 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7049 (asin_upward_test_data): New variable.
7050 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7051 (asinh_test_data): New variable.
7052 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7053 (atan_test_data): New variable.
7054 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7055 (atanh_test_data): New variable.
7056 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7057 (cbrt_test_data): New variable.
7058 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7059 (ceil_test_data): New variable.
7060 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7061 (cos_test_data): New variable.
7062 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7063 (cos_tonearest_test_data): New variable.
7064 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7065 (cos_towardzero_test_data): New variable.
7066 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7067 (cos_downward_test_data): New variable.
7068 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7069 (cos_upward_test_data): New variable.
7070 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7071 (cosh_test_data): New variable.
7072 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7073 (cosh_tonearest_test_data): New variable.
7074 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7075 (cosh_towardzero_test_data): New variable.
7076 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7077 (cosh_downward_test_data): New variable.
7078 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7079 (cosh_upward_test_data): New variable.
7080 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7081 (erf_test_data): New variable.
7082 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7083 (erfc_test_data): New variable.
7084 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7085 (exp_test_data): New variable.
7086 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7087 (exp_tonearest_test_data): New variable.
7088 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7089 (exp_towardzero_test_data): New variable.
7090 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7091 (exp_downward_test_data): New variable.
7092 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7093 (exp_upward_test_data): New variable.
7094 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7095 (exp10_test_data): New variable.
7096 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7097 (exp2_test_data): New variable.
7098 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7099 (expm1_test_data): New variable.
7100 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7101 (fabs_test_data): New variable.
7102 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7103 (floor_test_data): New variable.
7104 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7105 (j0_test_data): New variable.
7106 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7107 (j1_test_data): New variable.
7108 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7109 (log_test_data): New variable.
7110 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7111 (log10_test_data): New variable.
7112 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7113 (log1p_test_data): New variable.
7114 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7115 (log2_test_data): New variable.
7116 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7117 (logb_test_data): New variable.
7118 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7119 (logb_downward_test_data): New variable.
7120 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7121 (nearbyint_test_data): New variable.
7122 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7123 (rint_test_data): New variable.
7124 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7125 (rint_tonearest_test_data): New variable.
7126 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7127 (rint_towardzero_test_data): New variable.
7128 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7129 (rint_downward_test_data): New variable.
7130 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7131 (rint_upward_test_data): New variable.
7132 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7133 (round_test_data): New variable.
7134 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7135 (sin_test_data): New variable.
7136 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7137 (sin_tonearest_test_data): New variable.
7138 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7139 (sin_towardzero_test_data): New variable.
7140 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7141 (sin_downward_test_data): New variable.
7142 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7143 (sin_upward_test_data): New variable.
7144 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7145 (sinh_test_data): New variable.
7146 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7147 (sinh_tonearest_test_data): New variable.
7148 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7149 (sinh_towardzero_test_data): New variable.
7150 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7151 (sinh_downward_test_data): New variable.
7152 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7153 (sinh_upward_test_data): New variable.
7154 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7155 (sqrt_test_data): New variable.
7156 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7157 (tan_test_data): New variable.
7158 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7159 (tan_tonearest_test_data): New variable.
7160 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7161 (tan_towardzero_test_data): New variable.
7162 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7163 (tan_downward_test_data): New variable.
7164 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7165 (tan_upward_test_data): New variable.
7166 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7167 (tanh_test_data): New variable.
7168 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7169 (tgamma_test_data): New variable.
7170 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7171 (trunc_test_data): New variable.
7172 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7173 (y0_test_data): New variable.
7174 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7175 (y1_test_data): New variable.
7176 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7177 (significand_test_data): New variable.
7178 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7179
7187d844
CG
71802013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7181
7182 [BZ #12387]
7183 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7184
f63fae73
PT
71852013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7186
7187 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7188
8a67a4b3
AJ
71892013-05-10 Andreas Jaeger <aj@suse.de>
7190
7191 [BZ #15448]
7192 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7193 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7194
51df539d
JM
71952013-05-10 Joseph Myers <joseph@codesourcery.com>
7196
7197 * math/gen-libm-test.pl (adjust_arg): New function.
7198 (special_functions): Handle generating output in both functions
7199 and arrays.
7200 (parse_args): Likewise.
7201 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7202 $in_func argument to parse_args.
7203 * math/libm-test.inc (struct test_f_f_data): New type.
7204 (IF_ROUND_INIT_): New macro.
7205 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7206 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7207 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7208 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7209 (ROUND_RESTORE_): Likewise.
7210 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7211 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7212 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7213 (ROUND_RESTORE_FE_UPWARD): Likewise.
7214 (RUN_TEST_LOOP_f_f): New macro.
7215 (acos_test_data): New variable.
7216 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7217 (acos_tonearest_test_data): New variable.
7218 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7219
5c637fe5
SP
72202013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7221
7222 * benchtests/bench-skeleton.c (startup): Fix coding style.
7223
ab2b9461
JM
72242013-05-10 Joseph Myers <joseph@codesourcery.com>
7225
7226 [BZ #6809]
7227 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7228 negative infinity argument.
7229 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7230 negative infinity argument.
7231 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7232 negative infinity argument.
7233 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7234 domain errors.
7235
4c0fe6fe
FW
72362013-05-10 Florian Weimer <fweimer@redhat.com>
7237
7238 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7239 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7240 * iconv/iconv_prog.c (main): Likewise.
7241 * locale/programs/charmap-dir.c (charmap_readdir)
7242 (fopen_uncompressed): Likewise.
7243 * locale/programs/locfile.c (siblings_uncached)
7244 (write_locale_data): Use lstat64 instead of lstat.
7245 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7246 stat.
7247
a3375d29
AJ
72482013-05-10 Andreas Jaeger <aj@suse.de>
7249
7250 [BZ #15395]
7251 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7252 localization.
7253 Include <locale.h>.
7254
36129722
CD
72552013-05-09 Carlos O'Donell <carlos@redhat.com>
7256
7257 * elf/dl-close.c (_dl_close_worker): Add comments.
7258
faa7f811
JM
72592013-05-09 Joseph Myers <joseph@codesourcery.com>
7260
ed41ffef
JM
7261 [BZ #15359]
7262 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7263 high part of pi/2.
7264 (__ieee754_rem_pio2l): Update comments.
7265
d0213cd0
JM
7266 [BZ #15429]
7267 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7268 high part of pi/2.
7269 (__ieee754_rem_pio2l): Update comments.
7270
0d3e777a
JM
7271 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7272 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7273
24f56066
JM
7274 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7275 M_PI_4l.
7276
faa7f811
JM
7277 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7278 (M_PI_34_LOG10El): Likewise.
7279 (M_PI2_LOG10El): Likewise.
7280 (M_PI4_LOG10El): Likewise.
7281 (M_PI_LOG10El): Likewise.
7282
e9a5e0fd
AZ
72832013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7284
7285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7286
d8cd06db
JM
72872013-05-08 Joseph Myers <joseph@codesourcery.com>
7288
a0d9f9d7
JM
7289 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7290 (MINUS_ZERO_INIT): Likewise.
7291 (PLUS_INFTY_INIT): Likewise.
7292 (MINUS_INFTY_INIT): Likewise.
7293 (QNAN_VALUE_INIT): Likewise.
7294 (MAX_VALUE_INIT): Likewise.
7295 (MIN_VALUE_INIT): Likewise.
7296 (MIN_SUBNORM_VALUE_INIT): Likewise.
7297 (plus_zero): Initialize with PLUS_ZERO_INIT.
7298 (minus_zero): Initialize with MINUS_ZERO_INIT.
7299 (plus_infty): Initialize with PLUS_INFTY_INIT.
7300 (minus_infty): Initialize with MINUS_INFTY_INIT.
7301 (qnan_value): Initialize with QNAN_VALUE_INIT.
7302 (max_value): Initialize with MAX_VALUE_INIT.
7303 (min_value): Initialize with MIN_VALUE_INIT.
7304 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7305
ae08db3b
JM
7306 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7307 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7308 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7309 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7310
f44bf14a
JM
7311 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7312 (RUN_TEST_2_f): Likewise.
7313 (RUN_TEST_ff_f): Likewise.
7314 (RUN_TEST_fi_f): Likewise.
7315 (RUN_TEST_fl_f): Likewise.
7316 (RUN_TEST_fff_f): Likewise.
7317 (RUN_TEST_c_f): Likewise.
7318 (RUN_TEST_f_f1): Likewise.
7319 (RUN_TEST_fF_f1): Likewise.
7320 (RUN_TEST_fI_f1): Likewise.
7321 (RUN_TEST_ffI_f1): Likewise.
7322 (RUN_TEST_c_c): Likewise.
7323 (RUN_TEST_cc_c): Likewise.
7324 (RUN_TEST_f_i): Likewise.
7325 (RUN_TEST_f_i_tg): Likewise.
7326 (RUN_TEST_ff_i_tg): Likewise.
7327 (RUN_TEST_f_b): Likewise.
7328 (RUN_TEST_f_b_tg): Likewise.
7329 (RUN_TEST_f_l): Likewise.
7330 (RUN_TEST_f_L): Likewise.
7331 (RUN_TEST_sincos): Likewise.
7332 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7333 whether to show exceptions. Do not include ");\n" in return
7334 value.
7335 (special_functions): Output call to RUN_TEST_sincos instead of
7336 check_float calls. Update calls to new_test.
7337 (parse_args): Output call to single RUN_TEST_* macro instead of
7338 check_* calls and other assignments. Update calls to new_test.
7339
d8cd06db
JM
7340 [BZ #2546]
7341 [BZ #2560]
7342 [BZ #5159]
7343 [BZ #15426]
7344 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7345 input to result for tgamma overflow.
7346 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7347 (gamma_coeff): New variable.
7348 (NCOEFF): New macro.
7349 (gamma_positive): New function.
7350 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7351 underflow here. Use gamma_positive instead of exp (lgamma) for
7352 other arguments.
7353 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7354 (gamma_coeff): New variable.
7355 (NCOEFF): New macro.
7356 (gammaf_positive): New function.
7357 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7358 underflow here. Use gamma_positive instead of exp (lgamma) for
7359 other arguments.
7360 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7361 (gamma_coeff): New variable.
7362 (NCOEFF): New macro.
7363 (gammal_positive): New function.
7364 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7365 underflow here. Use gamma_positive instead of exp (lgamma) for
7366 other arguments.
7367 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7368 (gamma_coeff): New variable.
7369 (NCOEFF): New macro.
7370 (gammal_positive): New function.
7371 (__ieee754_gammal_r): Handle positive infinity, overflow and
7372 underflow here. Handle NaN the same as positive infinity. Remove
7373 check x < 0xffffffff for negative integers. Use gamma_positive
7374 instead of exp (lgamma) for other arguments.
7375 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7376 (gamma_coeff): New variable.
7377 (NCOEFF): New macro.
7378 (gammal_positive): New function.
7379 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7380 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7385 * sysdeps/generic/math_private.h (__gamma_productf): New
7386 prototype.
7387 (__gamma_product): Likewise.
7388 (__gamma_productl): Likewise.
7389 * math/Makefile (libm-calls): Add gamma_product.
7390 * math/libm-test.inc (tgamma_test): Add more tests.
7391 * sysdeps/i386/fpu/libm-test-ulps: Update.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7393
bb7cf681
OB
73942013-05-08 Ondřej Bílka <neleai@seznam.cz>
7395
7396 * benchtests/bench-skeleton.c (main): Preheat CPU.
7397
ba853947
AJ
73982013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7399
7400 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7401
8347c74c
RM
74022013-05-07 Roland McGrath <roland@hack.frob.com>
7403
7404 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7405 and _dl_skip_args_internal.
7406
e8dd4791
CD
74072013-05-07 Carlos O'Donell <carlos@redhat.com>
7408
7409 * manual/message.texi (Message Translation): Talk about users.
7410 Message to key mapping impacts design.
7411
c7405830
RM
74122013-05-06 Roland McGrath <roland@hack.frob.com>
7413
a9173057
RM
7414 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7415
976e2f03
RM
7416 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7417
9723ffc5
RM
7418 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7419 * sysdeps/wordsize-64/glob64.c: ... here.
7420
962e6658
RM
7421 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7422 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7423 New macros.
7424
ee586a6d
RM
7425 * debug/getlogin_r_chk.c: Moved to ...
7426 * login/getlogin_r_chk.c: ... here.
7427 * debug/Makefile (routines): Move getlogin_r_chk to ...
7428 * login/Makefile (routines): ... here.
7429 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7430 * login/Versions (libc: GLIBC_2.4): ... here.
7431
355f9165
RM
7432 * io/poll.c (__poll): Renamed from poll.
7433 Add libc_hidden_def.
7434 (poll): Define as weak alias.
7435
bd9ffde6
RM
7436 * debug/ptsname_r_chk.c: Moved to ...
7437 * login/ptsname_r_chk.c: ... here.
7438 * debug/Makefile (routines): Move ptsname_r_chk to ...
7439 * login/Makefile (routines): ... here.
7440 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7441 * login/Versions (libc: GLIBC_2.4): ... here.
7442
8fb16a04
RM
7443 * posix/getlogin.c: Moved to ...
7444 * login/getlogin.c: ... here.
7445 * posix/getlogin_r.c: Moved to ...
7446 * login/getlogin_r.c: ... here.
7447 * posix/getlogin_r.c: Moved to ...
7448 * login/getlogin_r.c: ... here.
7449 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7450 * login/Makefile (routines): ... here.
7451 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7452 * login/Versions (libc: GLIBC_2.0): ... here.
7453
b99b892f
RM
7454 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7455 (setrlimit): Define as weak alias.
7456
c7405830
RM
7457 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7458 Call __ names for open, ftruncate, and close.
7459 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7460 (truncate): Define as weak alias.
7461
5bf96de5
JM
74622013-05-06 Joseph Myers <joseph@codesourcery.com>
7463
9ea3513c
JM
7464 * math/gen-libm-test.pl (parse_args): Initialize x before each
7465 test of frexp, modf and remquo.
7466
5bf96de5
JM
7467 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7468 test signgam value.
7469
16e616a7
AZ
74702013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7471
7472 [BZ #15418]
7473 [BZ #15419]
7474 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7475 internal tests.
7476 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7477
d5e82754
RM
74782013-05-06 Roland McGrath <roland@hack.frob.com>
7479
7480 * elf/dl-writev.h: New file.
7481 * elf/dl-misc.c: Include it.
7482 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7483 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7484
a7548d41
JM
74852013-05-04 Joseph Myers <joseph@codesourcery.com>
7486
b7dab1e4
JM
7487 * math/libm-test.inc (noXFails): Remove variable.
7488 (noXPasses): Likewise.
7489 (BUILD_COMPLEX_INT): Remove macro.
7490 (print_screen): Remove xfail argument.
7491 (print_screen_max_error): Likewise.
7492 (update_stats): Likewise.
7493 (print_max_error): Likewise. Update calls to other affected
7494 functions.
7495 (print_complex_max_error): Likewise.
7496 (test_single_exception): Update calls to print_screen.
7497 (test_single_errno): Likewise.
7498 (check_float_internal): Remove xfail argument. Update calls to
7499 other affected functions.
7500 (check_float): Likewise.
7501 (check_complex): Likewise.
7502 (check_int): Likewise.
7503 (check_long): Likewise.
7504 (check_bool): Likewise.
7505 (check_longlong): Likewise.
7506 (main): Don't print noXFails and noXPasses.
7507 * math/gen-libm-test.pl (top level): Don't mention expected
7508 failure handling in comment.
7509 (new_test): Don't handle expected failures.
7510 (parse_args): Don't mention expected failure handling in comment.
7511 (generate_testfile): Don't handle expected failures.
7512 (parse_ulps): Likewise.
7513 (print_ulps_file): Likewise.
7514 (get_failure): Remove function.
7515 (output_test): Don't handle expected failures.
7516 * make/README.libm-test: Don't mention expected failure handling.
7517
a7548d41
JM
7518 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7519 (minus_zero): Likewise.
7520 (plus_infty): Likewise.
7521 (minus_infty): Likewise.
7522 (qnan_value): Likewise.
7523 (max_value): Likewise.
7524 (min_value): Likewise.
7525 (min_subnorm_value): Likewise.
7526 (initialize): Do not initialize those variables dynamically.
7527
60bfd54c
RM
75282013-05-03 Roland McGrath <roland@hack.frob.com>
7529
cc0e6ed8
RM
7530 * io/open.c (__open_2): Moved to ...
7531 * io/open_2.c: ... this new file.
7532 * io/open64.c (__open64_2): Moved to ...
7533 * io/open64_2.c: ... this new file.
7534 * io/openat.c (__openat_2): Moved to ...
7535 * io/openat_2.c: ... this new file.
7536 * io/openat64.c (__openat64_2): Moved to ...
7537 * io/openat64_2.c: ... this new file.
7538 * io/Makefile (routines): Add them.
7539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7540 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7541 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7542 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7543 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7544 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7545 (__openat64): Add hidden_ver.
7546 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7547 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7548
60bfd54c
RM
7549 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7550 Separately conditionalize setting of GLRO(dl_sysinfo) so
7551 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7552 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7553
83e7640f
AZ
75542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7555
7556 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7558 definition.
7559 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7560 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7561 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7562 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7563 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7564
d5dc2af3
JM
75652013-05-03 Joseph Myers <joseph@codesourcery.com>
7566
c31a5b1e
JM
7567 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7568 test signgam value.
7569
d5dc2af3
JM
7570 * math/libm-test.inc (hypot_test): Do not use
7571 IGNORE_ZERO_INF_SIGN.
7572
164fd39d
AJ
75732013-05-03 Andreas Jaeger <aj@suse.de>
7574
7575 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7576 Linux 3.9.
7577 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7578 (PF_MAX): Adjust for VSOCK change.
7579
8237f48c
AZ
75802013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7581
7582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7583
9df02941
CD
75842013-05-02 Carlos O'Donell <carlos@redhat.com>
7585
7586 [BZ #15264]
7587 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7588 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7589 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7590
d422395e
DM
75912013-05-02 David S. Miller <davem@davemloft.net>
7592
7593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7594
a07c5731
OB
75952013-05-01 Ondřej Bílka <neleai@seznam.cz>
7596
7597 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7598
1324e37f
RM
75992013-05-01 Roland McGrath <roland@hack.frob.com>
7600
7601 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7602
0695940b
RS
76032013-05-01 Richard Smith <richard@metafoo.co.uk>
7604
bb5f27ad 7605 [BZ #14952]
0695940b
RS
7606 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7607 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7608 Use __attribute__ ((__gnu_inline__)).
7609 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7610 Don't use __attribute__ ((__gnu_inline__)).
7611
10de07f5
JM
76122013-05-01 Joseph Myers <joseph@codesourcery.com>
7613
7614 [BZ #15423]
7615 * math/s_catan.c (__catan): Handle small real or imaginary part of
7616 input specially to avoid spurious underflow.
7617 * math/s_catanf.c (__catanf): Likewise.
7618 * math/s_catanh.c (__catanh): Likewise.
7619 * math/s_catanhf.c (__catanhf): Likewise.
7620 * math/s_catanhl.c (__catanhl): Likewise.
7621 * math/s_catanl.c (__catanl): Likewise.
7622 * math/libm-test.inc (catan_test): Add more tests.
7623 (catanh_test): Likewise.
7624 * sysdeps/i386/fpu/libm-test-ulps: Update.
7625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7626
cb4d5414
AZ
76272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7628
7629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7630
caf84319
JM
76312013-04-30 Joseph Myers <joseph@codesourcery.com>
7632
7633 [BZ #15416]
7634 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7635 accurately for denominator in atan2.
7636 * math/s_catanf.c (__catanf): Likewise.
7637 * math/s_catanh.c (__catanh): Likewise.
7638 * math/s_catanhf.c (__catanhf): Likewise.
7639 * math/s_catanhl.c (__catanhl): Likewise.
7640 * math/s_catanl.c (__catanl): Likewise.
7641 * math/libm-test.inc (catan_test): Add more tests.
7642 (catanh_test): Likewise.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645
d569c6ee
SP
76462013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7647
6dbe713d
SP
7648 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7649
f0ee064b
SP
7650 * benchtests/Makefile (bench): Remove slow benchmarks.
7651 * benchtests/atan-inputs: Add slow benchmark inputs.
7652 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7653 (BENCH_FUNC): Accept variant offset.
7654 (VARIANT): Define.
7655 * benchtests/bench-skeleton.c (main): Run benchmark for each
7656 variant.
7657 * benchtests/cos-inputs: Add slow benchmark inputs.
7658 * benchtests/exp-inputs: Likewise.
7659 * benchtests/pow-inputs: Likewise.
7660 * benchtests/sin-inputs: Likewise.
7661 * benchtests/slowatan-inputs: Remove.
7662 * benchtests/slowatan.c: Remove.
7663 * benchtests/slowcos-inputs: Remove.
7664 * benchtests/slowcos.c: Remove.
7665 * benchtests/slowexp-inputs: Remove.
7666 * benchtests/slowexp.c: Remove.
7667 * benchtests/slowpow-inputs: Remove.
7668 * benchtests/slowpow.c: Remove.
7669 * benchtests/slowsin-inputs: Remove.
7670 * benchtests/slowsin.c: Remove.
7671 * benchtests/slowtan-inputs: Remove.
7672 * benchtests/slowtan.c: Remove.
7673 * benchtests/tan-inputs: Add slow benchmark inputs.
7674 * scripts/bench.pl: Parse comments and directives.
7675
d569c6ee
SP
7676 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7677 in CPPFLAGS.
7678 ($(objpfx)bench-%.c): Remove *-ITER.
7679 * benchtests/bench-modf.c: Remove definition of ITER.
7680 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7681 (main): Loop for DURATION seconds instead of fixed number of
7682 iterations.
7683 * scripts/bench.pl: Don't expect iterations in parameters.
7684
a6a242fe
RM
76852013-04-29 Roland McGrath <roland@hack.frob.com>
7686
7687 * io/fchdir.c (__fchdir): Renamed from fchdir.
7688 (fchdir): Define as weak alias.
7689
f2da7793
JM
76902013-04-29 Joseph Myers <joseph@codesourcery.com>
7691
7692 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7693 (ERRNO_EDOM): Likewise.
7694 (ERRNO_ERANGE): Likewise.
7695 (noErrnoTests): New variable.
7696 (init_max_error): Set errno to 0.
7697 (test_single_errno): New function.
7698 (test_errno): Likewise.
7699 (check_float_internal): Call test_errno. Set errno to 0.
7700 (check_complex): Refer to errno tests in comment.
7701 (check_int): Call test_errno. Set errno to 0.
7702 (check_long): Likewise.
7703 (check_bool): Likewise.
7704 (check_longlong): Likewise.
7705 (cos_test): Use ERRNO_* flags for errno tests instead of
7706 check_int.
7707 (expm1_test): Likewise.
7708 (fmod_test): Likewise.
7709 (ilogb_test): Likewise.
7710 (lgamma_test): Likewise.
7711 (pow_test): Likewise.
7712 (remainder_test): Likewise.
7713 (sin_test): Likewise.
7714 (tan_test): Likewise.
7715 (yn_test): Likewise.
7716 (initialize): Set errno to 0.
7717 (main): Print number of errno tests.
7718 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7719
b1a36ceb
AJ
77202013-04-29 Andreas Jaeger <aj@suse.de>
7721
c3ed8088
AJ
7722 [BZ #15084]
7723 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7724 and RES_USEVC.
7725
f1a24198
AJ
7726 [BZ #15085]
7727 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7728 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7729 unimplemented.
7730
9ce3b2cb
AJ
7731 [BZ #15380]
7732 * stdlib/random.c (__initstate): Return NULL if
7733 __initstate fails.
7734
f1a24198 7735 [BZ #15086]
b1a36ceb
AJ
7736 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7737 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7738 RES_SNGLKUPREOP.
7739
7e7b6f36
AZ
77402013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7741
7742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7743
4d14f449
JM
77442013-04-29 Joseph Myers <joseph@codesourcery.com>
7745
7746 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7747 of individual tests.
7748 (casin_test): Likewise.
7749 (casinh_test): Likewise.
7750
5b4217d7
JM
77512013-04-27 Joseph Myers <joseph@codesourcery.com>
7752
7753 [BZ #15409]
7754 * math/s_catan.c (__catan): Handle arguments with large real or
7755 imaginary part separately without squaring.
7756 * math/s_catanf.c (__catanf): Likewise.
7757 * math/s_catanh.c (__catanh): Likewise.
7758 * math/s_catanhf.c (__catanhf): Likewise.
7759 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7760 and redefine.
7761 (__catanhl): Handle arguments with large real or imaginary part
7762 separately without squaring.
7763 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7764 and redefine.
7765 (__catanl): Handle arguments with large real or imaginary part
7766 separately without squaring.
7767 * math/libm-test.inc (catan_test): Add more tests.
7768 (catanh_test): Likewise.
7769 * sysdeps/i386/fpu/libm-test-ulps: Update.
7770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7771
4220c3ef
AJ
77722013-04-27 Andreas Jaeger <aj@suse.de>
7773
7774 [BZ #15007]
7775 * stdlib/stdlib.h: Update guards for qecvt.
7776 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7777 <stdlib.h>.
7778
4721b2d1
AM
77792013-04-27 Allan McRae <allan@archlinux.org>
7780
7781 * sysdeps/i386/fpu/libm-test-ulps: Update.
7782
f0302940
JM
77832013-04-26 Joseph Myers <joseph@codesourcery.com>
7784
9457fd95
JM
7785 [BZ #15406]
7786 * math/s_catan.c: Include <float.h>.
7787 (__catan): Ensure underflow exception occurs for underflowed
7788 result.
7789 * math/s_catanf.c: Include <float.h>.
7790 (__catanf): Ensure underflow exception occurs for underflowed
7791 result.
7792 * math/s_catanh.c: Include <float.h>.
7793 (__catanh): Ensure underflow exception occurs for underflowed
7794 result.
7795 * math/s_catanhf.c: Include <float.h>.
7796 (__catanhf): Ensure underflow exception occurs for underflowed
7797 result.
7798 * math/s_catanhl.c: Include <float.h>.
7799 (__catanhl): Ensure underflow exception occurs for underflowed
7800 result.
7801 * math/s_catanl.c: Include <float.h>.
7802 (__catanl): Ensure underflow exception occurs for underflowed
7803 result.
7804 * math/libm-test.inc (catan_test): Add more tests.
7805 (catanh_test): Likewise.
7806
f0302940
JM
7807 [BZ #15405]
7808 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7809 underflowed result.
7810 * math/s_ccoshf.c (__ccoshf): Likewise.
7811 * math/s_ccoshl.c (__ccoshl): Likewise.
7812 * math/s_csin.c (__csin): Likewise.
7813 * math/s_csinf.c (__csinf): Likewise.
7814 * math/s_csinh.c (__csinh): Likewise.
7815 * math/s_csinhf.c (__csinhf): Likewise.
7816 * math/s_csinhl.c (__csinhl): Likewise.
7817 * math/s_csinl.c (__csinl): Likewise.
7818 * math/libm-test.inc (ccos_test): Add more tests.
7819 (ccosh_test): Likewise.
7820 (csin_test): Likewise.
7821 (csinh_test): Likewise.
7822
aa630f59
AZ
78232013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7824
7825 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7826 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7827 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7828 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7829 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7830 powerpc/power5+/fpu folders.
7831 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7832
7833
1b835983
MT
78342013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7835
7836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7837
73709b26
JM
78382013-04-25 Joseph Myers <joseph@codesourcery.com>
7839
7840 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7841 additions to variable.
7842 [$(config-machine) = x86_64] (modules-names): Likewise.
7843 ($(objpfx)tst-audit3): Remove dependency.
7844 ($(objpfx)tst-audit3.out): Likewise.
7845 ($(objpfx)tst-audit4): Likewise.
7846 ($(objpfx)tst-audit4.out): Likewise.
7847 ($(objpfx)tst-audit5): Likewise.
7848 ($(objpfx)tst-audit5.out): Likewise.
7849 ($(objpfx)tst-audit6): Likewise.
7850 ($(objpfx)tst-audit6.out): Likewise.
7851 ($(objpfx)tst-audit7): Likewise.
7852 ($(objpfx)tst-audit7.out): Likewise.
7853 (tst-audit3-ENV): Remove variable.
7854 (tst-audit4-ENV): Likewise.
7855 (tst-audit5-ENV): Likewise.
7856 (tst-audit6-ENV): Likewise.
7857 (tst-audit7-ENV): Likewise.
7858 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7859 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7860 addition to variable.
7861 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7862 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7863 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7864 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7865 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7866 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7867 tst-audit3, tst-audit4 and tst-audit5.
7868 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7869 tst-audit6 and tst-audit7.
7870 [$(subdir) = elf] (modules-names): Add audit modules for those
7871 tests.
7872 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7873 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7874 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7875 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7876 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7877 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7878 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7879 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7880 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7881 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7882 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7883 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7884 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7885 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7886 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7887 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7888 Likewise.
7889 [$(subdir) = elf && $(config-cflags-avx) = yes]
7890 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7891 [$(subdir) = elf && $(config-cflags-avx) = yes]
7892 (CFLAGS-tst-auditmod4a.c): Likewise.
7893 [$(subdir) = elf && $(config-cflags-avx) = yes]
7894 (CFLAGS-tst-auditmod4b.c): Likewise.
7895 [$(subdir) = elf && $(config-cflags-avx) = yes]
7896 (CFLAGS-tst-auditmod6b.c): Likewise.
7897 [$(subdir) = elf && $(config-cflags-avx) = yes]
7898 (CFLAGS-tst-auditmod6c.c): Likewise.
7899 [$(subdir) = elf && $(config-cflags-avx) = yes]
7900 (CFLAGS-tst-auditmod7b.c): Likewise.
7901 * elf/tst-audit3.c: Move to ...
7902 * sysdeps/x86_64/tst-audit3.c: ... here.
7903 * elf/tst-audit4.c: Move to ...
7904 * sysdeps/x86_64/tst-audit4.c: ... here.
7905 * elf/tst-audit5.c: Move to ...
7906 * sysdeps/x86_64/tst-audit5.c: ... here.
7907 * elf/tst-audit6.c: Move to ...
7908 * sysdeps/x86_64/tst-audit6.c: ... here.
7909 * elf/tst-audit7.c: Move to ...
7910 * sysdeps/x86_64/tst-audit7.c: ... here.
7911 * elf/tst-auditmod3a.c: Move to ...
7912 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7913 * elf/tst-auditmod3b.c: Move to ...
7914 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7915 * elf/tst-auditmod4a.c: Move to ...
7916 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7917 * elf/tst-auditmod4b.c: Move to ...
7918 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7919 * elf/tst-auditmod5a.c: Move to ...
7920 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7921 * elf/tst-auditmod5b.c: Move to ...
7922 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7923 * elf/tst-auditmod6a.c: Move to ...
7924 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7925 * elf/tst-auditmod6b.c: Move to ...
7926 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7927 * elf/tst-auditmod6c.c: Move to ...
7928 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7929 * elf/tst-auditmod7a.c: Move to ...
7930 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7931 * elf/tst-auditmod7b.c: Move to ...
7932 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7933
1ef74943
PP
79342013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7935
7936 [BZ #15366]
7937 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7938 define unconditionally.
7939 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7940 define unconditionally.
7941 (INT8_C, INT16_C, etc.): Likewise.
7942
93fd48c5
MR
79432013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7944
ae9552cf
MR
7945 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7946 __ehdr_start with hidden visibility.
7947
93fd48c5
MR
7948 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7949
418601aa
CD
79502013-04-24 Carlos O'Donell <carlos@redhat.com>
7951
7952 * math/libm-test.inc (cos_test): Use accurate hex constants.
7953 (sincost_test): Likewise.
7954
2f38fbfe
JM
79552013-04-24 Joseph Myers <joseph@codesourcery.com>
7956
5e221800
JM
7957 * math/libm-test.inc (catan_test): Add more tests.
7958 (catanh_test): Likewise.
7959
77f143fd
JM
7960 * math/s_catanf.c (__catanf): Use suffixed floating-point
7961 constants.
7962 * math/s_catanhf.c (__catanhf): Likewise.
7963 * math/s_catanhl.c (__catanhl): Likewise.
7964 * math/s_catanl.c (__catanl): Likewise.
7965
2f38fbfe
JM
7966 [BZ #15394]
7967 * math/s_catan.c (__catan): Calculate imaginary part of result
7968 with log1p not log unless computing log of number close to 0.
7969 * math/s_catanf.c (__catanf): Likewise.
7970 * math/s_catanl.c (__catanl): Likewise.
7971 * math/s_catanh.c (__catanh): Calculate real part of result with
7972 log1p not log unless computing log of number close to 0.
7973 * math/s_catanhf.c (__catanhf): Likewise.
7974 * math/s_catanhl.c (__catanhl): Likewise.
7975 * math/libm-test.inc (catan_test): Add more tests.
7976 (catanh_test): Likewise.
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7979
45d69176
SP
79802013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7981
7982 * benchtests/Makefile: Mention files in which fast and slow
7983 paths of math functions are implemented.
7984
87f51853
RM
79852013-04-23 Roland McGrath <roland@hack.frob.com>
7986
7987 * sysdeps/posix/timespec_get.c: New file.
7988
3c026539
AZ
79892013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7990
7991 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7992 POWER.
7993 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7994 for POWER.
7995 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7996 powerpc/power5/fpu folders.
7997 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7998 * benchtests/Makefile: Add modf testcase.
7999 * benchtests/bench-modf.c: New file: Benchmark test for mo
8000
ff491d14
SP
80012013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8002
8003 [BZ #14888]
8004 * time/Makefile (tests): Add tst-strptime-whitespace.
8005 * time/strptime_l.c (get_number): Use ISSPACE.
8006 (__strptime_internal): Likewise.
8007 * time/tst-strptime-whitespace.c: New test case.
8008
7ed3f4e8
AS
80092013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8010
8011 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8012 member.
8013 (_nss_files_init): Set it here.
8014
5c95f7b6
HC
80152013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8016
8017 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8018 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8019 unsigned.
8020
d34c9158
JBG
80212013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8022
8023 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8024
2169712d
SP
80252013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
8027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8028 size just once.
8029
29c5de99
DM
80302013-04-21 David S. Miller <davem@davemloft.net>
8031
8032 * po/ru.po: Update Russion translation from translation project.
8033
ccdad15d
AC
80342013-04-17 Adam Conrad <adconrad@0c3.net>
8035
8036 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8037 and setfsgid.
8038
0f122b8d
CD
80392013-04-17 Carlos O'Donell <carlos@redhat.com>
8040
5c5b07da 8041 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8042 * configure: Regenerate.
5c5b07da 8043 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8044 Add example to error message.
8045 * sysdeps/i386/configure: Regenerate.
8046
037714dd
SP
80472013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8048
8049 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8050 slowtan.
8051 * benchtests/cos-inputs: New file.
8052 * benchtests/slowcos-inputs: New file.
8053 * benchtests/slowcos.c: New file.
8054 * benchtests/slowtan-inputs: New file.
8055 * benchtests/slowtan.c: New file.
8056 * benchtests/tan-inputs: New file.
8057
e913141d
RM
80582013-04-16 Roland McGrath <roland@hack.frob.com>
8059
8060 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8061 considered kosher.
8062
a2964074
SP
80632013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8064
4856bcd2
SP
8065 * benchtests/Makefile: Include cppflags-iterator.mk to add
8066 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8067
a2964074
SP
8068 * Makefile.in (bench-clean): New target.
8069 * benchtests/Makefile (bench-clean): Likewise.
8070
9fbf9aca
DH
80712013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8072
8073 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8074
207d1e2a
TS
80752013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8076
8077 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8078
306dfba9
AS
80792013-04-15 Andreas Schwab <schwab@suse.de>
8080
8081 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8083 * nscd/pwdcache.c (cache_addpw): Likewise.
8084 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8085 more than recsize.
8086
206a6699
SP
80872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
8089 * benchtests/Makefile (bench): Write all output to
8090 bench-out.tmp together.
8091
0582f6b3
AS
80922013-04-15 Andreas Schwab <schwab@suse.de>
8093
8094 * nscd/nscd.c (main): Don't fork again after closing files.
8095
acb4325f
SP
80962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8097
5cb26d0a
SP
8098 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8099
acb4325f
SP
8100 * benchtests/Rules (bench-deps): Collect dependencies into a
8101 single variable. Add Makefile to dependencies.
8102 ($(objpfx)bench-%.c): Depend on bench-deps.
8103
47792506
RM
81042013-04-12 Roland McGrath <roland@hack.frob.com>
8105 Xavier Roche <roche+kml2@exalead.com>
8106
8107 [BZ #15361]
8108 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8109 just that it's a file descriptor.
8110 * manual/llio.texi (Synchronizing AIO Operations): Update description
8111 for EBADF error from aio_fsync.
8112
8fc1bee5
SP
81132013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8114
8115 * Rules (bench): Move target definition...
8116 * benchtests/Makefile: ... here.
8117
aba5e333
CD
81182013-04-11 Carlos O'Donell <carlos@redhat.com>
8119
8120 * math/libm-test.inc (cos_test): Fix PI/2 test.
8121 (sincos_test): Likewise.
8122 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8123 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8124
273cdee8
AS
81252013-04-11 Andreas Schwab <schwab@suse.de>
8126
6ecec3b6
AS
8127 [BZ #13988]
8128 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8129 accept exponent character only when digits were seen.
8130 * stdio-common/Makefile (tests): Add bug26.
8131 * stdio-common/bug26.c: New file.
8132
273cdee8
AS
8133 [BZ #14293]
8134 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8135 non-freeable.
8136
8da491f5
SP
81372013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8138
01dc6df9
SP
8139 * Makeconfig (rtld-prefix): Define built linker prefix.
8140 * Rules (run-bench): Use it.
8141 * math/Makefile (run-regen-ulps): Likewise.
8142
8da491f5
SP
8143 * Rules (bench): Remove eval.
8144
abe7f530
SP
81452013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8146 Roland McGrath <roland@hack.frob.com>
8147 Ondrej Bilka <neleai@seznam.cz>
8148
8149 [BZ #15346]
8150 * time/getdate.c: Include ctype.h and alloca.h.
8151 (__getdate_r): Trim leading and trailing spaces of input.
8152 * time/tst-getdate.c (tests): Add tests with leading and
8153 trailing spaces.
8154
61c23e62
RM
81552013-04-08 Roland McGrath <roland@hack.frob.com>
8156
8157 [BZ #14280]
8158 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8159 when computing value.
8160
7208a313
CD
81612013-04-06 Carlos O'Donell <carlos@redhat.com>
8162
085b2d41
CD
8163 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8164 Use testrun.sh to run libm tests.
8165
7208a313
CD
8166 [BZ #15309]
8167 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8168
872c0acd
MM
81692013-04-06 Marko Myllynen <myllynen@redhat.com>
8170
8171 [BZ #15264]
8172 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8173
26510bdd
CD
81742013-04-06 Carlos O'Donell <carlos@redhat.com>
8175
8176 * Makefile.in (regen-ulps): New target.
8177 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8178 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8179 [ifneq (no,$(PERL)] (regen-ulps): New target.
8180 [ifeq (no,$(PERL)] (regen-ulps): New target.
8181 * math/libm-test.inc (ulps_file_name): Define.
8182 (output_dir): New variable.
8183 (options): Add "output-dir" option.
8184 (parse_opt): Handle 'o' case.
8185 (main): If output_dir is non-NULL use it as a prefix
8186 otherwise use "".
8187 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8188
a01f19c8
CD
81892013-04-06 Carlos O'Donell <carlos@redhat.com>
8190
8191 [BZ #10060, #10062]
8192 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8193 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8194 fail configure if __sync_val_compare_and_swap is not inlined.
8195 * sysdeps/i386/configure: Regenerate.
8196 * configure.in: Build for i686 when configured for i386.
8197 * configure: Regenerate.
8198 * README: Remove i386 reference.
8199
b7a329a5
CD
82002013-04-06 Carlos O'Donell <carlos@redhat.com>
8201
8202 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8203 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8204
bf0f50df
TS
82052013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8206
ee091edf
TS
8207 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8208 (lmsnanval): New variables.
8209 (F): Add conversion tests.
8210 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8211 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8212
a8b792d6
TS
8213 * stdio-common/tstdiomisc.c (F): Properly collect individual
8214 tests' results.
8215
a1cbf437
TS
8216 [BZ #14686, #15336]
8217 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8218 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8219 Instead, use input NaN values or generate a qNaN by arithmetic
8220 operation. Also fix bugs to comply with the standard.
8221 * math/libm-test.inc (remainder_test): Add more tests.
8222
8b43a0c9
TS
8223 [BZ #15335, #15342]
8224 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8226 input NaN values or generate a qNaN by arithmetic operation.
8227
d91da4ce
TS
8228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8229 unreachable code.
8230
bf0f50df
TS
8231 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8232 definitions.
8233
05e166c8
JM
82342013-04-03 Joseph Myers <joseph@codesourcery.com>
8235
8236 [BZ #14478]
8237 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8238 underflowed result.
8239 * math/s_cexpf.c (__cexpf): Likewise.
8240 * math/s_cexpl.c (__cexpl): Likewise.
8241 * math/libm-test.inc (cexp_test): Add more tests.
8242
1cef1b19
AS
82432013-04-03 Andreas Schwab <schwab@suse.de>
8244
8245 [BZ #15330]
8246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8247 order arrays from heap if bigger than alloca cutoff.
8248
74d87055
TS
82492013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8250
8251 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8252 (SNAN_TESTS_double): Refer to GCC PR56831.
8253 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8254 GCC PR56828.
8255
d755bba4
SP
82562013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8257
90d5d5bb
SP
8258 * Rules (bench): Move bench.out after the run is complete.
8259
73e0cd5d
SP
8260 * Rules (bench): Echo currently running benchmark.
8261
64aabd4b
SP
8262 * benchtests/Makefile (bench): Add atan and slowatan.
8263 * benchtests/atan-inputs: New file.
8264 * benchtests/slowatan-inputs: New file.
8265 * benchtests/slowatan.c: New file.
8266
c871eccd
SP
8267 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8269 its value.
8270
d755bba4
SP
8271 [BZ #15305]
8272 * sysdeps/unix/sysv/linux/kernel-features.h
8273 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8274 __ASSUME_XFS_RESTRICTED_CHOWN.
8275 * sysdeps/unix/sysv/linux/pathconf.c
8276 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8277 Save and restore errno.
8278
52ce4860
JM
82792013-04-02 Joseph Myers <joseph@codesourcery.com>
8280
8281 [BZ #15327]
8282 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8283 arguments using __kernel_casinh.
8284 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8285 arguments using __kernel_casinhf.
8286 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8287 arguments using __kernel_casinhl.
8288 * math/libm-test.inc (cacosh_test): Add more tests.
8289 * sysdeps/i386/fpu/libm-test-ulps: Update.
8290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8291
81f311c2
SP
82922013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8293
e7906a47
SP
8294 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8296
92e3664b
SP
8297 * bench/Makefile (bench): Add sin and slowsin.
8298 * benchtests/sin-inputs: New file.
8299 * benchtests/slowsin-inputs: New file.
8300 * benchtests/slowsin.c: New file.
8301
81f311c2
SP
8302 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8303 (bench): Add slowexp and slowpow.
8304 (exp-ITER): Increase iterations.
8305 (pow-ITER): Likewise.
8306 * benchtests/exp-inputs: Change input.
8307 * benchtests/pow-inputs: Likewise.
8308 * benchtests/slowexp-inputs: New file.
8309 * benchtests/slowexp.c: New file.
8310 * benchtests/slowpow-inputs: New file.
8311 * benchtests/slowpow.c: New file.
8312
ab0f1aa9
AZ
83132013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8314
8315 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8316 instructions.
8317 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8318 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8319 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8320 * benchtests/Makefile: Add rint benchtest.
8321 * benchtests/rint-inputs: Input for rint benchtest.
8322
57267616
TS
83232013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8324
8325 * Versions.def (libm): Add GLIBC_2.18.
8326 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8327 hidden libm prototypes.
8328 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8329 * math/Makefile (libm-calls): Add s_issignaling.
8330 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8331 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8332 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8333 declaration.
8334 * math/math.h [__USE_GNU] (issignaling): New macro.
8335 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8336 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8337 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8341 * manual/arith.texi (issignaling): New section.
8342 * manual/libm-err-tab.pl (@all_functions): Update comment.
8343 * math/gen-libm-test.pl (parse_args): Apply special handling for
8344 issignaling.
8345 * math/libm-test.inc (print_float, issignaling_test): New
8346 functions.
8347 (check_float_internal): Add issignaling checks.
8348 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8349 default definition.
8350 * sysdeps/powerpc/math-tests.h: New file.
8351 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8352 tests.
8353 * math/test-snan.c (TEST_FUNC): Likewise.
8354
6142896d
DM
83552013-03-30 David S. Miller <davem@davemloft.net>
8356
8357 * po/de.po: Update from translation team.
8358
ccc8cadf
JM
83592013-03-30 Joseph Myers <joseph@codesourcery.com>
8360
8361 [BZ #10357]
8362 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8363 imaginary part less than 1.0 and real part less than 0.5
8364 specially.
8365 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8366 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8367 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8368 (cacos_test): Add more tests.
8369 (casin_test): Likewise.
8370 (casinh_test): Likewise.
8371 * sysdeps/i386/fpu/libm-test-ulps: Update.
8372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8373
0f6a8d4b
SP
83742013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8375
0d1029de
SP
8376 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8377 ONE with its value.
8378
c2d94018
SP
8379 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8380 (__pow_mp): Replace ONE and MONE with their values.
8381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8382 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8383 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8384 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8385 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8386 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8387
27ec37f1
SP
8388 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8389
a64d7e0e
SP
8390 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8391 (__pow_mp): Replace ZERO and MZERO with their values.
8392 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8393 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8394 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8396 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8397 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8398 (__sqr): Likewise.
8399
d26dd3eb
SP
8400 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8401
0f6a8d4b
SP
8402 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8403
e57b0c61
RM
84042013-03-28 Roland McGrath <roland@hack.frob.com>
8405
8406 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8407 Declare with __attribute__ ((weak)).
8408 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8409 Call __call_tls_dtors only if it's not NULL.
8410
356b3480
RM
84112013-03-28 Roland McGrath <roland@hack.frob.com>
8412
288f7d79
RM
8413 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8414 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8415 magic __ehdr_start linker symbol if it's defined.
8416 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8417 them up here if it was already done.
8418
dc0a0263
RM
8419 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8420 (_dl_aux_init): Use const in cast when setting it.
8421 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8422 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8423 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8424
3d3436ae
RM
8425 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8426 Declare them here.
8427 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8428 * csu/libc-tls.c: Nor here.
8429 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8430
356b3480
RM
8431 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8432 (__libc_message): Never call vsyslog.
8433
b0f1246a
AM
84342013-03-28 Alan Modra <amodra@gmail.com>
8435
8436 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8437 Define as empty.
8438 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8439 Likewise.
8440
fbbe2b9a
AZ
84412013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8442
8443 [BZ #15214]
8444 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8445 underflow.
8446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8447
1728ab37
SP
84482013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
7a86be6e
SP
8450 [BZ #15304]
8451 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8452 Don't add gid passed as argument.
8453
1728ab37
SP
8454 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8455
3a7182a1
JM
84562013-03-27 Joseph Myers <joseph@codesourcery.com>
8457
8458 [BZ #15307]
8459 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8460 imaginary part between 1.0 and 1.5 and real part less than 0.5
8461 specially.
8462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8464 * math/libm-test.inc (cacos_test): Add more tests.
8465 (casin_test): Likewise.
8466 (casinh_test): Likewise.
8467 * sysdeps/i386/fpu/libm-test-ulps: Update.
8468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8469
6f2e90e7
SP
84702013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8471
5739f705
SP
8472 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8473 constants.
8474 (norm): Likewise.
8475 (denorm): Likewise.
8476 (__dbl_mp): Likewise.
8477 (add_magnitudes): Likewise.
8478 (sub_magnitudes): Likewise.
8479 (__add): Likewise.
8480 (__sub): Likewise.
8481 (__mul): Likewise.
8482 (__sqr): Likewise.
8483 (__inv): Likewise.
8484 (__dvd): Likewise.
8485
e375e83d
SP
8486 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8487 commented code.
8488 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8489 (__dubcos): Likewise.
8490 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8491 (__ieee754_acos): Likewise.
8492 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8493 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8494 (__exp1): Likewise.
8495 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8497 (log1): Likewise.
8498 (my_log2): Likewise.
8499 (checkint): Likewise.
8500 * sysdeps/ieee754/dbl-64/e_remainder.c
8501 (__ieee754_remainder): Likewise.
8502 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8504 (bsloww): Likewise.
8505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8506
6f2e90e7
SP
8507 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8508 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8509 MANTISSA_STORE_T to store computations on mantissa. Use
8510 macros for rounding and division.
8511 (denorm): Likewise.
8512 (__dbl_mp): Likewise.
8513 (add_magnitudes): Likewise.
8514 (sub_magnitudes): Likewise.
8515 (__mul): Likewise.
8516 (__sqr): Likewise.
8517 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8518 powers of two in terms of TWOPOW macro.
8519 (mp_no): Make type of mantissa as MANTISSA_T.
8520 [!RADIXI]: Define RADIXI.
8521 [!TWO52]: Define TWO52.
8522 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8523
fce14d4e
AZ
85242013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8525
8526 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8527 llroundl symbol when building for PPC32.
8528
9ad027fb
MW
85292013-03-24 Mark H Weaver <mhw@netris.org>
8530
8531 * manual/arith.texi (Normalization Functions): Fix prototypes for
8532 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8533
e42a38dd
AZ
85342013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8535
8536 [BZ #13889]
8537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8538 high value to check if expl overflow.
8539 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8540 to check for underflow and overflow.
8541 * math/libm-test.inc: Add exp test.
8542
2e0fb521
DL
85432013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8544
8545 [BZ #11120]
8546 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8547 with NOT_IN_libc.
8548
b5784d95
AZ
85492013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8550
8551 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8552 symbol.
8553
5aa4a1a1
TS
85542013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8555
bdef0be7
TS
8556 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8557 wrap blocks consisting of several statements.
8558
5aa4a1a1
TS
8559 * sysdeps/generic/math-tests.h: New file.
8560 * sysdeps/i386/fpu/math-tests.h: Likewise.
8561 * math/test-snan.c: Include it.
8562 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8563
98c48fe5
JM
85642013-03-21 Joseph Myers <joseph@codesourcery.com>
8565
8566 [BZ #15285]
8567 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8568 (__ieee754_j0l): Do not improve calculations using cos of twice
8569 input for inputs above LDBL_MAX / 2.0L.
8570 (__ieee754_y0l): Likewise.
8571 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8572 (__ieee754_j1l): Do not improve calculations using cos of twice
8573 input for inputs above LDBL_MAX / 2.0L.
8574 (__ieee754_y1l): Likewise.
8575 * math/libm-test.inc (j0_test): Add another test.
8576 (j1_test): Likewise.
8577 (y0_test): Likewise.
8578 (y1_test): Likewise.
8579 * sysdeps/i386/fpu/libm-test-ulps: Update.
8580
3775a8bc
SP
85812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8582
8583 * Rules ($(objpfx)bench-%.c): Include code from a C source
8584 file.
8585
0a1b2ae6
JM
85862013-03-21 Joseph Myers <joseph@codesourcery.com>
8587
8588 [BZ #15287]
8589 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8590 imaginary part 1.0 and real part less than 0.5 specially.
8591 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8592 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8593 * math/libm-test.inc (cacos_test): Add more tests.
8594 (casin_test): Likewise.
8595 (casinh_test): Likewise.
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8598
b33d4ce4
SP
85992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8600
8601 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8602 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8603
bef0b507
JM
86042013-03-20 Joseph Myers <joseph@codesourcery.com>
8605
8606 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8607 * config.make.in (config-cflags-sse4): Remove variable.
8608 (config-cflags-avx): Likewise.
8609 (config-cflags-sse2avx): Likewise.
8610 (config-cflags-novzeroupper): Likewise.
8611 (config-asflags-i686): Likewise.
8612 (have-mfma4): Likewise.
8613 (have-as-vis3): Likewise.
8614 (MIG): Likewise.
8615 * configure.in (MIG): Do not AC_SUBST.
8616 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8617 (libc_cv_cc_sse4): Do not AC_SUBST.
8618 (libc_cv_cc_avx): Likewise.
8619 (libc_cv_cc_sse2avx): Likewise.
8620 (libc_cv_cc_novzeroupper): Likewise.
8621 (libc_cv_cc_fma4): Likewise.
8622 (libc_cv_as_i686): Likewise.
8623 (libc_cv_sparc_as_vis3): Likewise.
8624 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8625 LIBC_CONFIG_VAR.
8626 (config-asflags-i686): Likewise.
8627 (config-cflags-avx): Likewise.
8628 (config-cflags-sse2avx): Likewise.
8629 (have-mfma4): Likewise.
8630 (config-cflags-novzeroupper): Likewise.
8631 * sysdeps/mach/configure.in (MIG): Likewise.
8632 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8633 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8634 LIBC_CONFIG_VAR.
8635 (config-cflags-avx): Likewise.
8636 (config-cflags-sse2avx): Likewise.
8637 (have-mfma4): Likewise.
8638 (config-cflags-novzeroupper): Likewise.
8639 * configure: Regenerated.
8640 * sysdeps/i386/configure: Likewise.
8641 * sysdeps/mach/configure: Likewise.
8642 * sysdeps/sparc/configure: Likewise.
8643 * sysdeps/x86_64/configure: Likewise.
8644
912cc4b3
RM
86452013-03-20 Roland McGrath <roland@hack.frob.com>
8646
8647 [BZ #14812]
8648 * locale/programs/localedef.c (options): Put N_ translation marker
8649 on argument names, not just descriptions.
8650
04eed2b0
MS
86512013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8652
8653 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8654
a065ceff
OB
86552013-03-20 Ondřej Bílka <neleai@seznam.cz>
8656
9bb2a810 8657 [BZ #14176]
a065ceff
OB
8658 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8659
a600e5ce
RM
86602013-03-19 Roland McGrath <roland@hack.frob.com>
8661
8662 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8663 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8664 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8665 [!BEFORE_ABORT] (before_abort): New function.
8666 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8667 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8668 (writev_for_fatal): New function.
8669 (WRITEV_FOR_FATAL): New macro; call that.
8670 (backtrace_and_maps): New function.
8671 (BEFORE_ABORT): New macro; call that.
8672 (struct str_list): Type removed.
8673 (__libc_message, __libc_fatal): Functions removed.
8674 Include <sysdeps/posix/libc_fatal.c> instead.
8675
6b18bea6
JM
86762013-03-19 Joseph Myers <joseph@codesourcery.com>
8677
8678 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8679 constants.
8680 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8681 double constants.
8682
aaa8cb4b
AS
86832013-03-19 Andreas Schwab <schwab@suse.de>
8684
44673770
AS
8685 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8686 * sysdeps/gnu/configure: Regenerate.
8687
aaa8cb4b
AS
8688 * configure.in: Substitute libc_cv_rtlddir.
8689 * configure: Regenerate.
8690 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8691 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8692 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8693 * elf/Makefile (install-others, CFLAGS-interp.c)
8694 (ldso_install, common-ldd-rewrite): Likewise.
8695 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8696 $(inst_slibdir)/$(rtld-installed-name).
8697 * scripts/rellns-sh: Add -p option.
8698 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8699 for source.
8700
d3cfc668
SP
87012013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
8703 * manual/nptl.texi: Renamed to ...
8704 * manual/threads.texi: ... this.
8705 * manual/Makefile (chapters): Update.
8706
0e2b9cdd
RM
87072013-03-18 Roland McGrath <roland@hack.frob.com>
8708
8709 [BZ #14812]
8710 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8711 on argument names, not just descriptions.
0e2b9cdd
RM
8712 * malloc/memusagestat.c (options): Likewise.
8713 * nss/getent.c (options): Likewise.
63270c24
RM
8714
87152013-03-18 Benno Schulenberg <bensberg@justemail.net>
8716
8717 [BZ #14812]
8718 * iconv/iconv_prog.c (options): Put N_ translation marker
8719 on argument names, not just descriptions.
8720 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8721
b2e1393c
OB
87222013-03-18 Ondrej Bilka <neleai@seznam.cz>
8723
8724 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8725 implementation which is faster on all x86_64 architectures.
8726 Tested on AMD, Intel Nehalem, SNB, IVB.
8727 * sysdeps/x86_64/strnlen.S: Likewise.
8728
8729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8730 Remove all multiarch strlen and strnlen versions.
8731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8732 Remove strlen and strnlen related parts.
8733
8734 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8735 Inline strlen part.
8736 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8737
8738 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8739 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8740 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8741 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8742 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8743 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8744
ec4ff04d
CD
87452013-03-17 Carlos O'Donell <carlos@redhat.com>
8746
8747 * manual/memory.texi (Malloc Tunable Parameters):
8748 Sort parameters alphabetically. Add comments for missing entries.
8749
cd18e90a
DM
87502013-03-17 David S. Miller <davem@davemloft.net>
8751
8752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8753
2a185d32
JM
87542013-03-16 Joseph Myers <joseph@codesourcery.com>
8755
d2f9799e
JM
8756 [BZ #15283]
8757 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8758 for arguments at most half maximum finite value.
8759 * math/libm-test.inc (j0_test): Add more tests.
8760 (j1_test): Likewise.
8761 (y0_test): Likewise.
8762 (y1_test): Likewise.
8763 * sysdeps/i386/fpu/libm-test-ulps: Update.
8764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8765
2a185d32
JM
8766 [BZ #14155]
8767 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8768 1 / x and functions P and Q for arguments above 0x1p256L.
8769 (__ieee754_y0l): Likewise.
8770 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8771 (__ieee754_y1l): Likewise.
8772 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8773 (j1_test): Likewise.
8774 (y0_test): Likewise.
8775 (y1_test): Likewise.
8776
6cbec759
TS
87772013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8778
8779 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8780 variable.
8781
bc16e260
RM
87822013-03-15 Roland McGrath <roland@hack.frob.com>
8783
aefc9b8c
RM
8784 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8785 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8786 zero since it's initialized to EXEC_PAGESIZE.
8787
bc16e260
RM
8788 * sysdeps/unix/sysv/linux/ldsodefs.h
8789 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8790 * sysdeps/generic/ldsodefs.h: ... here.
8791
a57da955
TS
87922013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8793
af00a34d
TS
8794 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8795
495ded2c
TS
8796 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8797 math/test-snan.c.
8798 * math/test-snan.c: Renamed from
8799 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8800 * math/Makefile (tests): Add test-snan.
8801 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8802 test-powerpc-snan.
8803
777b0332
TS
8804 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8805 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8806 functions.
8807 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8808 __builtin_nan family of functions.
8809 * math/libm-test.inc (initialize): Initialize qnan_value with
8810 __builtin_nan family of functions.
8811 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8812 Remove variables.
8813 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8814 Remove functions.
8815 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8816 storage class. Initialize qNaN_var and sNaN_var with
8817 __builtin_nan and __builtin_nans families of functions,
8818 respectively.
8819
64d063b8
TS
8820 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8821 (sqrt_test): Remove duplicate test with qNaN input.
8822 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8823 (round_test, signbit_test, significand_test): Note missing +/-Inf
8824 as well as qNaN tests.
8825
67e971f1
TS
8826 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8827 qNaN_var. Fix a few strings, too.
8828 * math/libm-test.inc (nan_value): Rename to qnan_value.
8829 * math/gen-libm-test.pl (%beautify): Adjust to that.
8830 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8831 * math/test-misc.c (main): Likewise.
8832 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8833 to __qnan_bytes, and __qnan_union, respectively.
8834 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8835 Likewise.
8836 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8837 and lqnanval, respectively.
8838 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8839 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8840 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8841 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8842
64487e12
TS
8843 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8844 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8845 doubles.
8846
e015e27b
TS
8847 * math/test-misc.c (main): Fix copy'n'pastos.
8848 * misc/tst-efgcvt.c (special): Likewise.
8849
a57da955
TS
8850 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8851 Remove declarations.
8852
1e380345
SP
88532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8854
8855 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8856 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8857 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8858 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8859
ef26eece
AZ
88602013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8861
8862 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8863 macro to return vdso values correctly in IFUNC implementations.
8864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8865 Optimization by using IFUNC.
8866
8cfdb7e0
SP
88672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8868 Richard Henderson <rth@redhat.com>
8869 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8870
8871 * Makefile.in (bench): New target.
8872 * NEWS: Mention the benchmark framework.
8873 * Rules (bench): Likewise.
8874 (binaries-bench): Generate binaries for functions to
8875 benchmark.
8876 * benchtests/Makefile: New makefile for benchmark tests.
8877 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8878 programs.
8879 * benchtests/exp-inputs: New input file for EXP function.
8880 * benchtests/pow-inputs: New input file for POW function.
8881 * scripts/bench.pl: New script to generate source files for
8882 benchmark programs.
8883
bcda9880
SP
88842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8885
d22ca8cd
SP
8886 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8887 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8888 computations on mantissa. Use macros for rounding and
8889 division.
8890 (denorm): Likewise.
8891 (__dbl_mp): Likewise.
8892 (add_magnitudes): Likewise.
8893 (sub_magnitudes): Likewise.
8894 (__mul): Likewise.
8895 (__sqr): Likewise.
8896 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8897 powers of two in terms of TWOPOW macro.
8898 (mp_no): Make type of mantissa as MANTISSA_T.
8899 [!RADIXI]: Define RADIXI.
8900 [!TWO52]: Define TWO52.
8901 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8902
bcda9880
SP
8903 * manual/nptl.texi (cindex): Modify threads to pthreads.
8904
06d5adfb
JM
89052013-03-15 Joseph Myers <joseph@codesourcery.com>
8906
8907 * sysdeps/x86_64/preconfigure: Regenerated.
8908
41c7328e
JM
89092013-03-14 Joseph Myers <joseph@codesourcery.com>
8910
8911 [BZ #14155]
8912 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8913 0x1p28 and above.
8914 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8915 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8916 0x1p28 and above.
8917 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8918 * math/libm-test.inc (j0_test): Do not allow one spurious
8919 underflow exception.
8920 (y1_test): Likewise.
8921
e25cfa60
SP
89222013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8923
0409959c
SP
8924 * manual/Makefile (chapters): Add nptl.
8925 * manual/debug.texi (Debugging Support): Add link to Threads
8926 chapter.
8927 * manual/nptl.texi: New file.
8928
e25cfa60
SP
8929 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8930
58a1335e
PB
89312013-03-14 Petr Baudis <pasky@ucw.cz>
8932
8933 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8934 for non-NULL pointer before the memory validity test. Pointed
8935 out by Holger Brunck <holger.brunck@keymile.com>.
8936
9dc7c64f
AS
89372013-03-13 Andreas Schwab <schwab@suse.de>
8938
8939 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8940 instead of .os.
8941
54206aa6
JM
89422013-03-13 Joseph Myers <joseph@codesourcery.com>
8943
8944 * timezone/zic.c: Update from tzcode 2013b.
8945
e98cdb38
CD
89462013-03-12 Carlos O'Donell <carlos@redhat.com>
8947
8948 * manual/install.texi (Configuring and compiling):
8949 Mention i686 and i586.
8950 * INSTALL: Regenerate.
8951
9967e003
RM
89522013-03-12 Roland McGrath <roland@hack.frob.com>
8953
8954 * sysdeps/init_array/elf-init.c: New file.
8955 * csu/elf-init.c
8956 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8957 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8958
8959 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8960 __gmon_start__ as global, but as static with a .preinit_array pointer.
8961 * sysdeps/init_array/gmon-start.c: New file. Use that.
8962 * sysdeps/init_array/crti.S: New file, empty except for comments.
8963 * sysdeps/init_array/crtn.S: Likewise.
8964
e6b5a293 89652013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8966
8967 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8968 definining bcopy.
80f844c9
OB
8969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8970 Remove Prefer_SSE_for_memop.
8971 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8972 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8973 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8975 memset-x86-64.
80f844c9 8976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8977 Remove bzero, memset ifunc support.
80f844c9
OB
8978 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8979 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8980 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8981 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8982
fb6b0fcb
AS
89832013-03-11 Andreas Schwab <schwab@suse.de>
8984
8985 [BZ #15234]
8986 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8987 by SHLIB_COMPAT.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8989 (GLIBC_2.16): Remove pthread_atfork.
8990
3e6bd4b1
PP
89912013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8992
8993 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8994 (ptestcases.h): Likewise.
8995
222d7f00
RM
89962013-03-08 Roland McGrath <roland@hack.frob.com>
8997
8998 * Makeconfig ($(common-objpfx)config.status): Depend on
8999 sysdeps/*/preconfigure{,.in} too.
9000
1ba4f030
JM
90012013-03-08 Joseph Myers <joseph@codesourcery.com>
9002
a222d91a
JM
9003 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9004 (__free_hook): Use void * instead of __malloc_ptr_t.
9005 (__malloc_hook): Likewise.
9006 (__realloc_hook): Likewise.
9007 (__memalign_hook): Likewise.
9008 (__after_morecore_hook): Likewise.
9009 * malloc/arena.c (save_malloc_hook): Likewise.
9010 (save_free_hook): Likewise.
9011 * malloc/hooks.c (malloc_hook_ini): Likewise.
9012 (realloc_hook_ini): Likewise.
9013 (memalign_hook_ini): Likewise.
9014 * malloc/malloc.c (malloc_hook_ini): Likewise.
9015 (realloc_hook_ini): Likewise.
9016 (memalign_hook_ini): Likewise.
9017 (__free_hook): Likewise.
9018 (__malloc_hook): Likewise.
9019 (__realloc_hook): Likewise.
9020 (__memalign_hook): Likewise.
9021 (__libc_malloc): Likewise.
9022 (__libc_free): Likewise.
9023 (__libc_realloc): Likewise.
9024 (__libc_memalign): Likewise.
9025 (__libc_valloc): Likewise.
9026 (__libc_pvalloc): Likewise.
9027 (__libc_calloc): Likewise.
9028 (__posix_memalign): Likewise.
9029 * malloc/morecore.c (__sbrk): Likewise.
9030 (__default_morecore): Likewise.
9031
5cc45e10
JM
9032 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9033
dd54b864
JM
9034 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9035 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9036 __malloc_ptrdiff_t.
9037
1ba4f030
JM
9038 * malloc/malloc.h (__malloc_size_t): Remove macro.
9039 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9040 __malloc_size_t.
9041 (old_memalign_hook): Likewise.
9042 (old_realloc_hook): Likewise.
9043 (struct hdr): Likewise.
9044 (flood): Likewise.
9045 (mallochook): Likewise.
9046 (memalignhook): Likewise.
9047 (reallochook): Likewise.
9048 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9049 (tr_old_realloc_hook): Likewise.
9050 (tr_old_memalign_hook): Likewise.
9051 (tr_mallochook): Likewise.
9052 (tr_reallochook): Likewise.
9053 (tr_memalignhook): Likewise.
9054
edf66e57
AZ
90552013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9056
9057 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9058 default_ldbl_pack and using as default implementation.
9059 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9060 implementation.
9061 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9062 redundant definition.
9063 (ldbl_insert_mantissa): Likewise.
9064 (ldbl_canonicalize): Likewise.
9065 (ldbl_nearbyint): Likewise.
9066 (ldbl_pack): Rename to ldbl_pack_ppc.
9067 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9068 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9069 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9070
6d9145d8
SP
90712013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9072
9073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9074 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9075 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9076 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9078 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9079 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9080 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9081
4dd4e157
AJ
90822013-03-07 Andreas Jaeger <aj@suse.de>
9083
9084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9085 bits/mman-linux.h.
9086
adbb8027
SP
90872013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9088
ce544b5b
SP
9089 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9090 Include mpa.h and declare __MPEXP.
9091 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9092 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9093 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9094 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9095 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9096 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9097 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9098
4cc149fd
SP
9099 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9100 (__slowpow): Use long double EXPL and LOGL functions to
9101 compute POW.
9102 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9103 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9104 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9106 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9107 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9108
e6ebd4a7
SP
9109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9110 intermediate variable to calculate exponent.
9111 (__sqr): Likewise.
9112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9113 Likewise.
9114 (__sqr): Likewise.
9115
82a9811d
SP
9116 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9117 [!NO__SQR]: Define __sqr.
9118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9119 and NO__SQR. Remove all code except __mul and __sqr. Include
9120 sysdeps/ieee754/dbl-64/mpa.c.
9121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9122
adbb8027
SP
9123 [BZ #12723]
9124 * posix/Makefile (tests): Add tst-pathconf.
9125 * posix/tst-pathconf.c: New test case.
9126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9127 _PC_PIPE_BUF.
9128 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9129
39120df9
PF
91302013-03-06 Patsy Franklin <pfrankli@redhat.com>
9131
9132 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9133
67525cb8
AJ
91342013-03-06 Andreas Jaeger <aj@suse.de>
9135
664a9ce4
AJ
9136 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9137 definition via __MAP_ANONYMOUS.
9138
8e39047d
AJ
9139 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9140 it's not part of Linux headers.
9141
67525cb8
AJ
9142 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9143 (MAP_HUGE_MASK): Define.
9144
9145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9146 Define.
9147 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9149 Define.
9150 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9151 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9152 Define.
9153 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9154 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9155 Define.
9156 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9157
9158 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9159 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9160 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9161 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9162 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9163 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9164
9165 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9166 Handle f2fs.
9167
9168 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9169 Handle f2fs and efivarfs.
9170
9171 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9172 f2fs.
9173
9174 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9175 (EFIVARFS_MAGIC): Add.
9176 (F2FS_LINK_MAX): Add.
9177
e1b42695
PP
91782013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9179
9180 * stdio-common/vfprintf.c: Replace __builtin_expect with
9181 __glibc_unlikely.
9182
2d67d91a
JM
91832013-03-06 Joseph Myers <joseph@codesourcery.com>
9184
9185 [BZ #13550]
9186 * sysdeps/generic/bp-sym.h: Remove file.
9187 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9188 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9189 <bp-sym.h> and <bp-asm.h>.
9190 (__longjmp): Don't use BP_SYM.
9191 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9192 and <bp-asm.h>.
9193 (memcpy): Don't use BP_SYM.
9194 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9195 <bp-sym.h> and <bp-asm.h>.
9196 (memcpy): Don't use BP_SYM.
9197 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9198 <bp-asm.h>.
9199 (memcpy): Don't use BP_SYM.
9200 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9201 <bp-asm.h>.
9202 (memset): Don't use BP_SYM.
9203 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9204 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9205 (__bzero): Don't use BP_SYM.
9206 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9207 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9208 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9209 <bp-sym.h> and <bp-asm.h>.
9210 (memcmp): Don't use BP_SYM. Remove comment about bounded
9211 pointers.
9212 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9213 <bp-sym.h> and <bp-asm.h>.
9214 (memcpy): Don't use BP_SYM.
9215 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9216 <bp-sym.h> and <bp-asm.h>.
9217 (memset): Don't use BP_SYM.
9218 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9219 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9220 (__bzero): Don't use BP_SYM.
9221 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9222 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9223 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9224 <bp-sym.h> and <bp-asm.h>.
9225 (strncmp): Don't use BP_SYM. Remove comment about bounded
9226 pointers.
9227 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9228 <bp-sym.h> and <bp-asm.h>.
9229 (memcpy): Don't use BP_SYM.
9230 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9231 <bp-sym.h> and <bp-asm.h>.
9232 (memset): Don't use BP_SYM.
9233 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9234 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9235 (__bzero): Don't use BP_SYM.
9236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9238 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9239 <bp-sym.h> and <bp-asm.h>.
9240 (__memchr): Don't use BP_SYM.
9241 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9242 <bp-sym.h> and <bp-asm.h>.
9243 (memcmp): Don't use BP_SYM. Remove comment about bounded
9244 pointers.
9245 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9246 <bp-sym.h> and <bp-asm.h>.
9247 (memcpy): Don't use BP_SYM.
9248 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9249 <bp-sym.h> and <bp-asm.h>.
9250 (__mempcpy): Don't use BP_SYM.
9251 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9252 <bp-sym.h> and <bp-asm.h>.
9253 (__memrchr): Don't use BP_SYM.
9254 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9255 <bp-sym.h> and <bp-asm.h>.
9256 (memset): Don't use BP_SYM.
9257 (__bzero): Likewise.
9258 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9259 <bp-sym.h> and <bp-asm.h>.
9260 (__rawmemchr): Don't use BP_SYM.
9261 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9262 <bp-sym.h> and <bp-asm.h>.
9263 (__STRCMP): Don't use BP_SYM.
9264 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9265 <bp-sym.h> and <bp-asm.h>.
9266 (strchr): Don't use BP_SYM.
9267 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9268 <bp-sym.h> and <bp-asm.h>.
9269 (__strchrnul): Don't use BP_SYM.
9270 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9271 <bp-sym.h> and <bp-asm.h>.
9272 (strlen): Don't use BP_SYM.
9273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9274 <bp-sym.h> and <bp-asm.h>.
9275 (strncmp): Don't use BP_SYM. Remove comment about bounded
9276 pointers.
9277 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9278 <bp-sym.h> and <bp-asm.h>.
9279 (__strnlen): Don't use BP_SYM.
9280 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9281 <bp-sym.h> and <bp-asm.h>.
9282 (__GI__setjmp): Don't use BP_SYM.
9283 (_setjmp): Likewise.
9284 (__sigsetjmp): Likewise.
9285 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9286 (L(start_addresses)): Don't use BP_SYM.
9287 (_start): Likewise.
9288 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9289 <bp-asm.h>.
9290 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9291 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9292 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9293 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9294 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9295 <bp-asm.h>.
9296 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9297 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9298 about bounded pointers.
9299 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9300 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9301 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9302 <bp-asm.h>.
9303 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9304 about bounded pointers. Remove GKM FIXME comments.
9305 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9306 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9307 <bp-asm.h>.
9308 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9309 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9310 Remove GKM FIXME comments.
9311 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9312 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9313 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9314 <bp-asm.h>.
9315 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9316 about bounded pointers. Remove GKM FIXME comment.
9317 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9318 and <bp-asm.h>.
9319 (strncmp): Don't use BP_SYM. Remove comment about bounded
9320 pointers.
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9322 <bp-sym.h> and <bp-asm.h>.
9323 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9325 <bp-sym.h> and <bp-asm.h>.
9326 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9327 comment.
9328
cdcf361f
PP
93292013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9332 call free(NULL).
9333
3c4a2b15
DM
93342013-03-05 David S. Miller <davem@davemloft.net>
9335
9336 * po/es.po: Update from translation team.
9337
cdcf361f 93382013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9339
9340 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9341 <bits/mman-linux.h>.
9342 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9343 is fine.
9344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9345 <bits/mman-linux.h> to end of file.
9346 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9347 is fine.
9348 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
9353 <bits/mman-linux.h> to end of file.
9354
9355 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9356 (MCL_CURRENT, MCL_FUTURE): Define here.
9357
5f67c04f
AK
93582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9359
8a4473cc 9360 [BZ #15232]
5f67c04f
AK
9361 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9362 attribute_hidden.
9363 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9364
c3e94a95
AK
93652013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9366
9367 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9368 fourth parameter needed for rt_sigprocmask syscall.
9369 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9370 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9373 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9374 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9375
cfb6382a
JM
93762013-03-04 Joseph Myers <joseph@codesourcery.com>
9377
9378 [BZ #13550]
9379 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9380 comment about bounded pointers.
9381 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9382 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9383
539d8e01
AJ
93842013-03-04 Andreas Jaeger <aj@suse.de>
9385
9386 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9387 common definitions.
9388
9389 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9390 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9391 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9392 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9395
2e167a70 93962013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9397
9398 [BZ #15055]
9399 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9400 __ieee754_sqrl instead of __sqrl.
9401
68508633
JM
94022013-03-01 Joseph Myers <joseph@codesourcery.com>
9403
9404 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9405 * sysdeps/powerpc/fpu_control.h: ... here.
9406 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9407 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9408 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9409 * sysdeps/powerpc/bits/mathinline.h: ... here.
9410
7775448e
RM
94112013-03-01 Roland McGrath <roland@hack.frob.com>
9412
9413 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9414 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9415 to just [NEED_DL_SYSINFO_DSO].
9416 * elf/dl-support.c: Likewise.
9417 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9418 * elf/rtld.c (dl_main): Likewise.
9419 * elf/setup-vdso.h (setup_vdso): Likewise.
9420 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9421 * sysdeps/unix/sysv/linux/dl-sysdep.c
9422 (_dl_discover_osversion): Likewise.
9423
4e9b5995
CD
94242013-03-01 Carlos O'Donell <carlos@redhat.com>
9425
9426 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9427 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9428
e23872c8
SP
94292013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9430
e5c74c63
SP
9431 * NEWS: Mention libm performance improvements and non-x86 PI
9432 futex support.
9433
e23872c8
SP
9434 * csu/libc-start.c (__pthread_initialize_minimal): Change
9435 function arguments.
9436 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9437
b5510883
JM
94382013-02-28 Joseph Myers <joseph@codesourcery.com>
9439
9440 [BZ #13550]
9441 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9442 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9443 <bp-sym.h> and <bp-asm.h>.
9444 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9445 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9446 and <bp-asm.h>.
9447 (memcpy): Don't use BP_SYM.
9448 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9449 <bp-asm.h>.
9450 (__mpn_add_n): Don't use BP_SYM.
9451 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9452 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9453 and <bp-asm.h>.
9454 (__mpn_addmul_1): Don't use BP_SYM.
9455 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9456 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9457 <bp-sym.h>.
9458 (_setjmp): Don't use BP_SYM.
9459 (__novmx_setjmp): Likewise.
9460 (__GI__setjmp): Likewise.
9461 (__vmx_setjmp): Likewise.
9462 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9463 <bp-sym.h>.
9464 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9465 (__bzero): Don't use BP_SYM.
9466 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9467 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9468 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9469 <bp-sym.h> and <bp-asm.h>.
9470 (memcpy): Don't use BP_SYM.
9471 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9472 <bp-sym.h> and <bp-asm.h>.
9473 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9474 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9475 <bp-sym.h> and <bp-asm.h>.
9476 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9477 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9478 <bp-asm.h>.
9479 (__mpn_lshift): Don't use BP_SYM.
9480 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9481 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9482 <bp-asm.h>.
9483 (memset): Don't use BP_SYM.
9484 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9486 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9487 <bp-asm.h>.
9488 (__mpn_mul_1): Don't use BP_SYM.
9489 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9490 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9491 <bp-sym.h> and <bp-asm.h>.
9492 (memcmp): Don't use BP_SYM.
9493 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9494 <bp-sym.h> and <bp-asm.h>.
9495 (memcpy): Don't use BP_SYM.
9496 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9497 <bp-sym.h> and <bp-asm.h>.
9498 (memset): Don't use BP_SYM.
9499 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9500 <bp-sym.h> and <bp-asm.h>.
9501 (strncmp): Don't use BP_SYM.
9502 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9503 <bp-sym.h> and <bp-asm.h>.
9504 (memcpy): Don't use BP_SYM.
9505 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9506 <bp-sym.h> and <bp-asm.h>.
9507 (memset): Don't use BP_SYM.
9508 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9509 <bp-sym.h> and <bp-asm.h>.
9510 (__memchr): Don't use BP_SYM.
9511 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9512 <bp-sym.h> and <bp-asm.h>.
9513 (memcmp): Don't use BP_SYM.
9514 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9515 <bp-sym.h> and <bp-asm.h>.
9516 (memcpy): Don't use BP_SYM.
9517 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9518 <bp-sym.h> and <bp-asm.h>.
9519 (__mempcpy): Don't use BP_SYM.
9520 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9521 <bp-sym.h> and <bp-asm.h>.
9522 (__memrchr): Don't use BP_SYM.
9523 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9524 <bp-sym.h> and <bp-asm.h>.
9525 (memset): Don't use BP_SYM.
9526 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9527 <bp-sym.h> and <bp-asm.h>.
9528 (__rawmemchr): Don't use BP_SYM.
9529 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9530 <bp-sym.h> and <bp-asm.h>.
9531 (__STRCMP): Don't use BP_SYM.
9532 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9533 <bp-sym.h> and <bp-asm.h>.
9534 (strchr): Don't use BP_SYM.
9535 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9536 <bp-sym.h> and <bp-asm.h>.
9537 (__strchrnul): Don't use BP_SYM.
9538 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9539 <bp-sym.h> and <bp-asm.h>.
9540 (strlen): Don't use BP_SYM.
9541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9542 <bp-sym.h> and <bp-asm.h>.
9543 (strncmp): Don't use BP_SYM.
9544 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9545 <bp-sym.h> and <bp-asm.h>.
9546 (__strnlen): Don't use BP_SYM.
9547 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9548 <bp-asm.h>.
9549 (__mpn_rshift): Don't use BP_SYM.
9550 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9551 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9552 <bp-sym.h> and <bp-asm.h>.
9553 (__sigsetjmp): Don't use BP_SYM.
9554 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9555 (L(start_addresses)): Don't use BP_SYM.
9556 (_start): Likewise.
9557 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9558 <bp-asm.h>.
9559 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9560 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9561 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9562 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9563 <bp-asm.h>.
9564 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9565 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9566 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9567 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9568 <bp-asm.h>.
9569 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9570 comments.
9571 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9572 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9573 <bp-asm.h>.
9574 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9575 FIXME comments.
9576 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9577 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9578 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9579 <bp-asm.h>.
9580 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9581 comment.
9582 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9583 and <bp-asm.h>.
9584 (strncmp): Don't use BP_SYM,
9585 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9586 <bp-asm.h>.
9587 (__mpn_sub_n): Don't use BP_SYM.
9588 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9589 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9590 and <bp-asm.h>.
9591 (__mpn_submul_1): Don't use BP_SYM.
9592 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9594 <bp-sym.h> and <bp-asm.h>.
9595 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9597 <bp-sym.h> and <bp-asm.h>.
9598 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9599 comment.
9600
8d19fe64
SP
96012013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9602
9603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9604 Use ZK to minimize writes to Z.
9605 (sub_magnitudes): Simplify code a bit.
9606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9607 Use ZK to minimize writes to Z.
9608 (sub_magnitudes): Simplify code a bit.
9609
85bd816a
RM
96102013-02-27 Roland McGrath <roland@hack.frob.com>
9611
9612 * csu/gmon-start.c: Add special exception to license text.
9613
b5977bf2
RH
96142013-02-27 Richard Henderson <rth@redhat.com>
9615
9616 * scripts/config.guess: Update from config.git.
9617 * scripts/config.sub: Likewise.
9618
11d6e2f2
SP
96192013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9620
09c14ed2
SP
9621 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9622
a688864e
SP
9623 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9624
6295157a
SP
9625 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9626
b8de2202
SP
9627 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9628
11d6e2f2
SP
9629 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9630
7e80ddb8
RM
96312013-02-26 Roland McGrath <roland@hack.frob.com>
9632
9633 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9634 [$(build-shared = yes].
7e80ddb8 9635
7da6d9ed
SP
96362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
45f05884
SP
9638 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9639 (__mul): Reduce iterations for calculating mantissa.
9640
2236d359
SP
9641 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9642 MPTWO.
9643 (__mpranred): Likewise.
9644
7da6d9ed
SP
9645 [BZ #15160]
9646 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9647 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9648
b7688c42
PE
96492013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9650
9651 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9652 Define __attribute__.
9653
53a5c423
SP
96542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9655
9656 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9657 unused.
9658 * posix/regex_internal.h (__attribute): Remove.
9659 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9660 (re_string_context_at): Likewise.
9661 (bitset_not): Use __attribute__ and mark function as possibly
9662 unused.
9663 (bitset_merge): Likewise.
9664 (bitset_mask): Likewise.
9665 (re_string_char_size_at): Likewise.
9666 (re_string_wchar_at): Likewise.
9667 (re_string_elem_size_at): Likewise.
9668
60f5a8b5
SP
96692013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9670
2a983a2e
SP
9671 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9672 code.
9673 (cc32): Likewise.
9674
e69804d1
SP
9675 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9676 (__acr): Likewise.
9677 (__cpy): Likewise.
9678 (norm): Likewise.
9679 (denorm): Likewise.
9680 (__dbl_mp): Likewise.
9681 (add_magnitudes): Likewise.
9682 (sub_magnitudes): Likewise.
9683 (__mul): Likewise.
9684 (__inv): Likewise.
9685
2f22a1e8
SP
9686 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9687 style.
9688
8930ddc7
SP
9689 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9690 style.
9691
dc60cb11
SP
9692 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9693 code.
9694
60f5a8b5
SP
9695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9696 up changes with default code.
9697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9698 Likewise.
9699
b4d1fd33
AM
97002013-02-24 Allan McRae <allan@archlinux.org>
9701
faf6f8bc
AM
9702 * manual/socket.texi (The Internet Namespace): Order menu items
9703 to match that in the file.
9704
b4d1fd33
AM
9705 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9706 node listing of the info page menu.
9707
2366713d
JM
97082013-02-21 Joseph Myers <joseph@codesourcery.com>
9709
9710 [BZ #13550]
9711 * sysdeps/i386/bp-asm.h: Remove file.
9712 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9713 (PARMS): Do not use macros from bp-asm.h.
9714 (S1): Likewise.
9715 (S2): Likewise.
9716 (SIZE): Likewise.
9717 (__mpn_add_n): Do not use BP_SYM
9718 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9719 "bp-asm.h".
9720 (PARMS): Do not use macros from bp-asm.h.
9721 (S1): Likewise.
9722 (SIZE): Likewise.
9723 (__mpn_addmul_1): Do not use BP_SYM
9724 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9725 "bp-asm.h".
9726 (PARMS): Do not use macros from bp-asm.h.
9727 (SIGMSK): Likewise.
9728 (_setjmp): Likewise. Do not use BP_SYM.
9729 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9730 "bp-asm.h".
9731 (PARMS): Do not use macros from bp-asm.h.
9732 (SIGMSK): Likewise.
9733 (setjmp): Likewise. Do not use BP_SYM.
9734 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9735 "bp-asm.h".
9736 (PARMS): Do not use macros from bp-asm.h.
9737 (__frexp): Do not use BP_SYM.
9738 (frexp): Likewise.
9739 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9740 "bp-asm.h".
9741 (PARMS): Do not use macros from bp-asm.h.
9742 (__frexpf): Do not use BP_SYM.
9743 (frexpf): Likewise.
9744 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9745 "bp-asm.h".
9746 (PARMS): Do not use macros from bp-asm.h.
9747 (__frexpl): Do not use BP_SYM.
9748 (frexpl): Likewise.
9749 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9750 "bp-asm.h".
9751 (PARMS): Do not use macros from bp-asm.h.
9752 (__remquo): Do not use BP_SYM.
9753 (remquo): Likewise.
9754 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9755 "bp-asm.h".
9756 (PARMS): Do not use macros from bp-asm.h.
9757 (__remquof): Do not use BP_SYM.
9758 (remquof): Likewise.
9759 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9760 "bp-asm.h".
9761 (PARMS): Do not use macros from bp-asm.h.
9762 (__remquol): Do not use BP_SYM.
9763 (remquol): Likewise.
9764 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9765 "bp-asm.h".
9766 (PARMS): Do not use macros from bp-asm.h.
9767 (DEST): Likewise.
9768 (SRC): Likewise.
9769 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9770 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9771 "bp-asm.h".
9772 (PARMS): Do not use macros from bp-asm.h.
9773 (strlen): Do not use BP_SYM.
9774 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9775 "bp-asm.h".
9776 (PARMS): Do not use macros from bp-asm.h.
9777 (S1): Likewise.
9778 (S2): Likewise.
9779 (SIZE): Likewise.
9780 (__mpn_add_n): Do not use BP_SYM.
9781 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9782 "bp-asm.h".
9783 (PARMS): Do not use macros from bp-asm.h.
9784 (S1): Likewise.
9785 (SIZE): Likewise.
9786 (__mpn_addmul_1): Do not use BP_SYM.
9787 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9788 weak_alias.
9789 (bzero): Likewise.
9790 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9791 "bp-asm.h".
9792 (PARMS): Do not use macros from bp-asm.h.
9793 (S): Likewise.
9794 (SIZE): Likewise.
9795 (__mpn_lshift): Do not use BP_SYM.
9796 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9797 "bp-asm.h".
9798 (PARMS): Do not use macros from bp-asm.h.
9799 (DEST): Likewise.
9800 (SRC): Likewise.
9801 (LEN): Likewise.
9802 (memcpy): Likewise. Do not use BP_SYM.
9803 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9804 libc_hidden_def and weak_alias.
9805 (mempcpy): Do not use BP_SYM in weak_alias.
9806 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9807 "bp-asm.h".
9808 (PARMS): Do not use macros from bp-asm.h.
9809 (DEST): Likewise.
9810 (LEN): Likewise.
9811 [!BZERO_P] (CHR): Likewise.
9812 (memset): Likewise. Do not use BP_SYM.
9813 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9814 "bp-asm.h".
9815 (PARMS): Do not use macros from bp-asm.h.
9816 (S1): Likewise.
9817 (SIZE): Likewise.
9818 (__mpn_mul_1): Do not use BP_SYM.
9819 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9820 "bp-asm.h".
9821 (PARMS): Do not use macros from bp-asm.h.
9822 (S): Likewise.
9823 (SIZE): Likewise.
9824 (__mpn_rshift): Do not use BP_SYM.
9825 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9826 "bp-asm.h".
9827 (PARMS): Do not use macros from bp-asm.h.
9828 (STR): Likewise.
9829 (CHR): Likewise.
9830 (strchr): Likewise. Do not use BP_SYM.
9831 (index): Do not use BP_SYM in weak_alias.
9832 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9833 "bp-asm.h".
9834 (PARMS): Do not use macros from bp-asm.h.
9835 (DEST): Likewise.
9836 (SRC): Likewise.
9837 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9838 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9839 "bp-asm.h".
9840 (PARMS): Do not use macros from bp-asm.h.
9841 (strlen): Do not use BP_SYM.
9842 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9843 "bp-asm.h".
9844 (PARMS): Do not use macros from bp-asm.h.
9845 (S1): Likewise.
9846 (S2): Likewise.
9847 (SIZE): Likewise.
9848 (__mpn_sub_n): Do not use BP_SYM.
9849 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9850 "bp-asm.h".
9851 (PARMS): Do not use macros from bp-asm.h.
9852 (S1): Likewise.
9853 (SIZE): Likewise.
9854 (__mpn_submul_1): Do not use BP_SYM.
9855 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9856 "bp-asm.h".
9857 (PARMS): Do not use macros from bp-asm.h.
9858 (S1): Likewise.
9859 (S2): Likewise.
9860 (SIZE): Likewise.
9861 (__mpn_add_n): Do not use BP_SYM.
9862 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9863 weak_alias.
9864 (bzero): Likewise.
9865 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9866 "bp-asm.h".
9867 (PARMS): Do not use macros from bp-asm.h.
9868 (BLK2): Likewise.
9869 (LEN): Likewise.
9870 (memcmp): Do not use BP_SYM.
9871 (bcmp): Do not use BP_SYM in weak_alias.
9872 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9873 "bp-asm.h".
9874 (PARMS): Do not use macros from bp-asm.h.
9875 (DEST): Likewise.
9876 (SRC): Likewise.
9877 (LEN): Likewise.
9878 (memcpy): Likewise. Do not use BP_SYM.
9879 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9880 "bp-asm.h".
9881 (PARMS): Do not use macros from bp-asm.h.
9882 (DEST): Likewise.
9883 (SRC): Likewise.
9884 (LEN): Likewise.
9885 (memmove): Likewise. Do not use BP_SYM.
9886 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9887 "bp-asm.h".
9888 (PARMS): Do not use macros from bp-asm.h.
9889 (DEST): Likewise.
9890 (SRC): Likewise.
9891 (LEN): Likewise.
9892 (__mempcpy): Likewise. Do not use BP_SYM.
9893 (mempcpy): Do not use BP_SYM in weak_alias.
9894 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9895 "bp-asm.h".
9896 (PARMS): Do not use macros from bp-asm.h.
9897 (DEST): Likewise.
9898 (LEN): Likewise.
9899 [!BZERO_P] (CHR): Likewise.
9900 (memset): Likewise. Do not use BP_SYM.
9901 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9902 "bp-asm.h".
9903 (PARMS): Do not use macros from bp-asm.h.
9904 (STR2): Likewise.
9905 (strcmp): Do not use BP_SYM.
9906 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9907 "bp-asm.h".
9908 (PARMS): Do not use macros from bp-asm.h.
9909 (STR): Likewise.
9910 (DELIM): Likewise.
9911 [USE_AS_STRTOK_R] (SAVE): Likewise.
9912 (FUNCTION): Likewise. Do not use BP_SYM.
9913 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9914 aliases.
9915 (strtok_r): Likewise.
9916 (__GI___strtok_r): Likewise.
9917 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9918 (PARMS): Do not use macros from bp-asm.h.
9919 (S): Likewise.
9920 (SIZE): Likewise.
9921 (__mpn_lshift): Do not use BP_SYM.
9922 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9923 (PARMS): Do not use macros from bp-asm.h.
9924 (STR): Likewise.
9925 (CHR): Likewise.
9926 (__memchr): Do not use BP_SYM.
9927 (memchr): Do not use BP_SYM in weak_alias.
9928 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9929 (PARMS): Do not use macros from bp-asm.h.
9930 (BLK2): Likewise.
9931 (LEN): Likewise.
9932 (memcmp): Do not use BP_SYM.
9933 (bcmp): Do not use BP_SYM in weak_alias.
9934 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9935 (PARMS): Do not use macros from bp-asm.h.
9936 (S1): Likewise.
9937 (SIZE): Likewise.
9938 (__mpn_mul_1): Do not use BP_SYM.
9939 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9940 "bp-asm.h".
9941 (PARMS): Do not use macros from bp-asm.h.
9942 (STR): Likewise.
9943 (CHR): Likewise.
9944 (__rawmemchr): Do not use BP_SYM.
9945 (rawmemchr): Do not use BP_SYM in weak_alias.
9946 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9947 (PARMS): Do not use macros from bp-asm.h.
9948 (S): Likewise.
9949 (SIZE): Likewise.
9950 (__mpn_rshift): Do not use BP_SYM.
9951 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9952 (PARMS): Do not use macros from bp-asm.h.
9953 (SIGMSK): Likewise.
9954 (__sigsetjmp): Likewise. Do not use BP_SYM.
9955 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9956 (_start): Do not use BP_SYM.
9957 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9958 (PARMS): Do not use macros from bp-asm.h.
9959 (DEST): Likewise.
9960 (SRC): Likewise.
9961 (__stpcpy): Likewise. Do not use BP_SYM.
9962 (stpcpy): Do not use BP_SYM in weak_alias.
9963 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9964 "bp-asm.h".
9965 (PARMS): Do not use macros from bp-asm.h.
9966 (DEST): Likewise.
9967 (SRC): Likewise.
9968 (LEN): Likewise.
9969 (__stpncpy): Likewise. Do not use BP_SYM.
9970 (stpncpy): Do not use BP_SYM in weak_alias.
9971 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9972 (PARMS): Do not use macros from bp-asm.h.
9973 (STR): Likewise.
9974 (CHR): Likewise.
9975 (strchr): Likewise. Do not use BP_SYM.
9976 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9977 "bp-asm.h".
9978 (PARMS): Do not use macros from bp-asm.h.
9979 (STR): Likewise.
9980 (CHR): Likewise.
9981 (__strchrnul): Likewise. Do not use BP_SYM.
9982 (strchrnul): Do not use BP_SYM in weak_alias.
9983 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9984 "bp-asm.h".
9985 (PARMS): Do not use macros from bp-asm.h.
9986 (STOP): Likewise.
9987 (strcspn): Do not use BP_SYM.
9988 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9989 "bp-asm.h".
9990 (PARMS): Do not use macros from bp-asm.h.
9991 (STR): Likewise.
9992 (STOP): Likewise.
9993 (strpbrk): Likewise. Do not use BP_SYM.
9994 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9995 "bp-asm.h".
9996 (PARMS): Do not use macros from bp-asm.h.
9997 (STR): Likewise.
9998 (CHR): Likewise.
9999 (strrchr): Likewise. Do not use BP_SYM.
10000 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10001 (PARMS): Do not use macros from bp-asm.h.
10002 (SKIP): Likewise.
10003 (strspn): Do not use BP_SYM.
10004 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10005 (PARMS): Do not use macros from bp-asm.h.
10006 (STR): Likewise.
10007 (DELIM): Likewise.
10008 (SAVE): Likewise.
10009 (FUNCTION): Likewise. Do not use BP_SYM.
10010 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10011 aliases.
10012 (strtok_r): Likewise.
10013 (__GI___strtok_r): Likewise.
10014 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10015 (PARMS): Do not use macros from bp-asm.h.
10016 (S1): Likewise.
10017 (S2): Likewise.
10018 (SIZE): Likewise.
10019 (__mpn_sub_n): Do not use BP_SYM.
10020 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10021 "bp-asm.h".
10022 (PARMS): Do not use macros from bp-asm.h.
10023 (S1): Likewise.
10024 (SIZE): Likewise.
10025 (__mpn_submul_1): Do not use BP_SYM.
10026 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10027 <bp-sym.h>.
10028 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10029 and <bp-asm.h>.
10030 (PARMS): Do not use macros from bp-asm.h.
10031 (FLAGS): Likewise.
10032 (PTID): Likewise.
10033 (TLS): Likewise.
10034 (CTID): Likewise.
10035 (__clone): Do not use BP_SYM.
10036 (clone): Do not use BP_SYM in weak_alias.
10037 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10038 and <bp-asm.h>.
10039 (PARMS): Do not use macros from bp-asm.h.
10040 (LEN): Likewise.
10041 (__mmap64): Do not use BP_SYM.
10042 (mmap64): Do not use BP_SYM in weak_alias.
10043 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10044 <bp-sym.h> and <bp-asm.h>.
10045 (PARMS): Do not use macros from bp-asm.h.
10046 (__posix_fadvise64_l64): Do not use BP_SYM.
10047 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10048 (PARMS): Do not use macros from bp-asm.h.
10049 (NSOPS): Likewise.
10050 (semtimedop): Do not use BP_SYM.
10051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10052 and <bp-asm.h>.
10053
582a3cff
AM
100542013-02-21 Allan McRae <allan@archlinux.org>
10055
10056 * manual/message.texi (Charset conversion in gettext):
10057 Move @end statement to beginning of line.
10058
bab8a695
SP
100592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10060
80945231
SP
10061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10062 static.
10063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10064 Likewise.
10065
bab8a695
SP
10066 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10067 (denorm): Likewise.
10068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10070
e21d7aa7
AK
100712013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10072
10073 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10074 tail-call to the resolved function if pltexit isn't needed.
10075
4c7a4263
SP
100762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10077
10078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10079 or Y being zero as being unlikely.
10080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10081 Likewise.
10082
41f49342
CD
100832013-02-20 Carlos O'Donell <carlos@redhat.com>
10084
10085 * manual/nss.texi (System Databases and Name Service Switch):
10086 Remove frobnicate @pxref.
10087
50022a93
TS
100882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10089
10090 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10091 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10092
08cbd996
PM
100932013-02-20 Petr Machata <pmachata@redhat.com>
10094
10095 * elf/elf.h (R_ARM_TARGET1): New macro.
10096 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10097 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10098 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10099 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10100 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10101 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10102 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10103 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10104 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10105 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10106 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10107 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10108 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10109 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10110 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10111 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10112 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10113 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10114 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10115 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10116 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10117 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10118 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10119 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10120 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10121 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10122 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10123 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10124 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10125 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10126 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10127 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10128 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10129 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10130 (R_ARM_THM_GOT_BREL12): Likewise.
10131 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10132 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10133 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10134 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10135 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10136 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10137 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10138 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10139 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10140
c7b275d6
TS
101412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10142
10143 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10144 __attribute_used__ to __attribute__ ((unused)).
10145
20cd7fb3
SP
101462013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10147
10148 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10149 powerpc mpa.c.
10150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10151 comment formatting.
10152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10153
92945b52
JM
101542013-02-19 Joseph Myers <joseph@codesourcery.com>
10155
10156 [BZ #13550]
10157 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10158 Remove macro.
10159 (ENTER): Remove both macro definitions.
10160 (LEAVE): Likewise.
10161 (CHECK_BOUNDS_LOW): Likewise.
10162 (CHECK_BOUNDS_HIGH): Likewise.
10163 (CHECK_BOUNDS_BOTH): Likewise.
10164 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10165 (RETURN_BOUNDED_POINTER): Likewise.
10166 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10167 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10168 (POP_ERRNO_LOCATION_RETURN): Likewise.
10169 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10170 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10171 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10172 macros.
10173 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10174 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10175 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10176 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10177 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10178 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10179 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10180 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10181 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10182 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10183 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10184 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10185 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10186 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10187 removed macros.
10188 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10189 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10190 macros.
10191 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10192 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10193 * sysdeps/i386/i586/memset.S (memset): Likewise.
10194 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10195 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10196 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10197 macros.
10198 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10199 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10200 Change uses of L(2) to L(out).
10201 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10202 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10203 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10204 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10205 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10206 removed macros.
10207 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10208 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10209 macros.
10210 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10211 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10212 (RETURN): Do not use macro LEAVE.
10213 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10214 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10215 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10216 * sysdeps/i386/i686/memset.S (memset): Likewise.
10217 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10218 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10219 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10220 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10221 Likewise.
10222 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10223 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10224 L(1_2) and L(1_3) into L(1).
10225 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10226 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10227 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10228 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10229 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10230 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10231 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10232 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10233 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10234 macros.
10235 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10236 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10237 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10238 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10239 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10240 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10241 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10242 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10243 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10244 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10245 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10246 * sysdeps/i386/strspn.S (strspn): Likewise.
10247 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10248 conditional code.
10249 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10250 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10251 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10252 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10253 L(1_3) into L(1_1).
10254 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10255 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10256 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10257 macros.
10258 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10259
2389741a
JJ
102602013-02-19 Jakub Jelinek <jakub@redhat.com>
10261
10262 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10263 macro.
10264
2016b3cd
SP
102652013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10266
e4f22324
SP
10267 * math/atest-exp.c (exp_mpn): Remove ROUND.
10268 * math/atest-exp2.c (exp_mpn): Likewise.
10269 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10270
2016b3cd
SP
10271 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10272 * stdlib/tst-tls-atexit-lib.c: Likewise.
10273 * stdlib/tst-tls-atexit.c: Likewise.
10274
4be9b544
MF
102752013-02-18 Mike Frysinger <vapier@gentoo.org>
10276
10277 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10278 and __attribute_alloc_size__.
10279
2f62b9ee
MF
102802013-02-18 Mike Frysinger <vapier@gentoo.org>
10281
10282 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10283 __attribute_alloc_size__.
10284 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10285 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10286
6ff444c4
MF
102872013-02-18 Mike Frysinger <vapier@gentoo.org>
10288
10289 * include/programs/xmalloc.h: New file.
10290 * catgets/gencat.c: Include it.
10291 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10292 * elf/pldd.c: Likewise.
10293 * iconv/iconv_charmap.c: Likewise.
10294 * iconv/iconvconfig.c: Likewise.
10295 * iconv/strtab.c: Likewise.
10296 * locale/programs/locale.c: Likewise.
10297 * locale/programs/localedef.h: Likewise.
10298 * locale/programs/simple-hash.c: Likewise.
10299 * nscd/nscd.h: Likewise.
10300 * nss/makedb.c: Likewise.
10301 * sysdeps/generic/ldconfig.h: Likewise.
10302
be179c8a
SP
103032013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
ba384f6e
SP
10305 * Versions.def: Add GLIBC_2.18.
10306 * include/link.h (struct link_map): New member l_tls_dtor_count.
10307 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10308 (__call_tls_dtors): Likewise.
10309 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10310 __cxa_thread_atexit_impl.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10312 Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10314 Likewise.
10315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10316 Likewise.
10317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10318 Likewise.
10319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10321 Likewise.
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10323 Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10326 Likewise.
10327 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10328 (tests): Add test case tst-tls-atexit.
10329 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10330 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10331 (GLIBC_PRIVATE): Add __call_tls_dtors.
10332 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10333 for libstdc++.
10334 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10335 * stdlib/tst-tls-atexit.c: New test case.
10336 * stdlib/tst-tls-atexit-lib.c: New test case.
10337
ffaa74cf 10338 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10339
be179c8a
SP
10340 * elf/Versions (ld): Add _dl_find_dso_for_object.
10341 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10342 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10343 (dl_open_worker): Use _dl_find_dso_for_object.
10344 * elf/dl-sym.c (do_sym): Likewise.
10345 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10346
f78b5caa
AK
103472013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10348
10349 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10350 Syntactic changes only.
10351 (_dl_runtime_profile): Do a tail-call to the resolved function.
10352
29691210
JM
103532013-02-17 Joseph Myers <joseph@codesourcery.com>
10354
10355 [BZ #13550]
10356 * sysdeps/x86_64/bp-asm.h: Remove file.
10357 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10358 <bp-sym.h> and <bp-asm.h>.
10359 (__clone): Do not use BP_SYM.
10360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10361 <bp-sym.h> and <bp-asm.h>.
10362 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10363 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10364 "bp-asm.h".
10365 (_setjmp): Do not use BP_SYM.
10366 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10367 "bp-asm.h".
10368 (setjmp): Do not use BP_SYM.
10369 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10370 libc_hidden_def.
10371 (mempcpy): Do not use BP_SYM in weak_alias.
10372 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10373 "bp-asm.h".
10374 (strchr): Do not use BP_SYM.
10375 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10376 "bp-asm.h".
10377 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10378 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10379 (_start): Do not use BP_SYM.
10380 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10381 "bp-asm.h".
10382 (strcat): Do not use BP_SYM.
10383 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10384 "bp-asm.h".
10385 (STRCMP): Do not use BP_SYM.
10386 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10387 "bp-asm.h".
10388 (STRCPY): Do not use BP_SYM.
10389 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10390 "bp-asm.h".
10391 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10392 "bp-asm.h".
10393 (FUNCTION): Do not use BP_SYM.
10394 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10395 weak_alias.
10396 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10397
f238fd19
AJ
103982013-02-17 Andreas Jaeger <aj@suse.de>
10399
10400 * time/Versions: Sort entries.
10401 * string/Versions: Likewise.
10402 * resolv/Versions: Likewise.
10403 * posix/Versions: Likewise.
10404 * iconv/Versions: Likewise.
10405 * elf/Versions: Likewise.
10406 * wcsmbs/Versions: Likewise.
10407
bd07f23c 104082013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10409
22af19f9
SP
10410 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10411 loop termination condition.
10412
4709fe76
SP
10413 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10414 variable to calculate EZ.
10415 (__sqr): Likewise.
2d0e0f29
SP
10416
10417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10418 the lower precision input.
10419
daaa7713
JM
104202013-02-15 Joseph Myers <joseph@codesourcery.com>
10421
10422 [BZ #13550]
10423 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10424 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10425 (run-via-rtld-prefix): Do not handle %-bp tests.
10426 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10427 (all-object-suffixes): Remove .ob.
10428 (bppfx): Remove variable.
10429 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10430 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10431 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10432 [$(build-bounded) = yes] (libtype.ob): Likewise.
10433 * Makerules (elide-routines.ob): Remove variable.
10434 (do-tests-clean): Do not handle *-bp.out.
10435 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10436 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10437 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10438 (tests): Do not include $(tests-bp.out).
10439 (xtests): Do not include $(xtests-bp.out).
10440 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10441 [$(build-bounded) = yes] ($(addprefix
10442 $(objpfx),$(binaries-bounded))): Remove rule.
10443 ($(objpfx)%-bp.out): Remove rule.
10444 * config.make.in (build-bounded): Remove variable.
10445 * crypt/Makefile [$(build-bounded) = yes]
10446 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10447 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10448 append to variable.
10449 [$(build-bounded) = yes] (install-lib): Likewise.
10450 [$(build-bounded) = yes] (generated): Likewise.
10451 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10452 Remove rule.
10453 * intl/Makefile [$(build-bounded) = yes]
10454 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10455 * math/Makefile [$(build-bounded) = yes]
10456 ($(tests:%=$(objpfx)%-bp): Likewise.
10457 * misc/Makefile [$(build-bounded) = yes]
10458 ($(objpfx)tst-tsearch-bp): Likewise.
10459 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10460 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10461 Remove dependency.
10462 * string/Makefile (o-objects.ob): Remove variable.
10463 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10464 (CFLAGS-.ob): Remove variable.
10465 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10466 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10467 both definitions of variable.
10468 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10469 (ASFLAGS-.ob): Remove variable.
10470
e97ed6dd
JM
104712013-02-14 Joseph Myers <joseph@codesourcery.com>
10472
2bdd4ca6
JM
10473 [BZ #13550]
10474 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10475 Remove __BOUNDED_POINTERS__ from condition.
10476 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10477 * string/bits/string2.h [!__NO_STRING_INLINES &&
10478 !__BOUNDED_POINTERS__]: Likewise.
10479 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10480 Likewise.
10481 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10482 Remove conditional code.
10483 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10484 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10485 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10486 condition.
10487
e97ed6dd
JM
10488 [BZ #13550]
10489 * csu/libc-start.c: Do not include <bp-sym.h>.
10490 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10491 * elf/dl-open.c: Do not include <bp-sym.h>.
10492 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10493 * math/fegetenv.c: Do not include <bp-sym.h>.
10494 (fegetenv): Do not use BP_SYM in versioned symbols.
10495 * nptl/sysdeps/pthread/bits/libc-lockP.h
10496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10497 <bp-sym.h>.
10498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10499 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10501 (__pthread_mutex_destroy): Likewise.
10502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10503 (__pthread_mutex_lock): Likewise.
10504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10505 (__pthread_mutex_trylock): Likewise.
10506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10507 (__pthread_mutex_unlock): Likewise.
10508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10509 (__pthread_mutexattr_init): Likewise.
10510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10511 (__pthread_mutexattr_destroy): Likewise.
10512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10513 (__pthread_mutexattr_settype): Likewise.
10514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10515 (__pthread_rwlock_init): Likewise.
10516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10517 (__pthread_rwlock_destroy): Likewise.
10518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10519 (__pthread_rwlock_rdlock): Likewise.
10520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10521 (__pthread_rwlock_tryrdlock): Likewise.
10522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10523 (__pthread_rwlock_wrlock): Likewise.
10524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10525 (__pthread_rwlock_trywrlock): Likewise.
10526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10527 (__pthread_rwlock_unlock): Likewise.
10528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10529 (__pthread_key_create): Likewise.
10530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10531 (__pthread_setspecific): Likewise.
10532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10533 (__pthread_getspecific): Likewise.
10534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10535 Likewise.
10536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10537 (_pthread_cleanup_push_defer): Likewise.
10538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10539 (_pthread_cleanup_pop_restore): Likewise.
10540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10541 (pthread_setcancelstate): Likewise.
10542 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10543 <bp-sym.h>.
10544 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10545 (memchr): Do not use BP_SYM in weak_alias.
10546 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10547 (fegetenv): Do not use BP_SYM in versioned symbols.
10548 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10549 (fesetenv): Do not use BP_SYM in versioned symbols.
10550 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10551 (feupdateenv): Do not use BP_SYM in versioned symbols.
10552 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10553 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10554 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10555 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10556 (open64): Do not use BP_SYM in weak_alias.
10557 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10558 (fegetenv): Do not use BP_SYM in versioned symbols.
10559 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10560 (fesetenv): Do not use BP_SYM in versioned symbols.
10561 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10562 (feupdateenv): Do not use BP_SYM in versioned symbols.
10563 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10564 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10565 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10566 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10567 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10568 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10569 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10570 <bp-sym.h>.
10571 (__libc_start_main): Do not use BP_SYM.
10572
d6752ccd
SP
105732013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10574
cb57ce60
SP
10575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10576 redundant return line.
10577 (norm): Likewise.
10578 (denorm): Likewise.
10579 (dbl_mp): Likewise.
10580 (sub_magnitudes): Likewise.
10581 (__add): Likewise.
10582 (__sub): Likewise.
10583 (__mul): Likewise.
10584 (__inv): Likewise.
10585 (__dvd): Likewise.
10586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10587 (norm): Likewise.
10588 (denorm): Likewise.
10589 (dbl_mp): Likewise.
10590 (sub_magnitudes): Likewise.
10591 (__add): Likewise.
10592 (__sub): Likewise.
10593 (__mul): Likewise.
10594 (__inv): Likewise.
10595 (__dvd): Likewise.
10596
f414520d
SP
10597 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10598 instead of __mul.
10599 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10600 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10601 (cc32): Likewise.
10602
d6752ccd
SP
10603 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10604 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10606 of __mul for squares.
10607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10608 function
10609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10610 Likewise.
10611 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10612 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10613
70d9946a
JM
106142013-02-13 Joseph Myers <joseph@codesourcery.com>
10615
10616 [BZ #13550]
10617 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10618 code.
10619 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10620 prototype or function definition. Rename ubp_* variables and
10621 parameters. Remove argv definitions conditional on
10622 [__BOUNDED_POINTERS__].
10623 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10624 * elf/dl-runtime.c (_dl_fixup): Likewise.
10625 * include/set-hooks.h (RUN_HOOK): Likewise.
10626 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10627 definition.
10628 * string/strcpy.c (strcpy): Do not use __unbounded.
10629 * sysdeps/generic/frame.h (struct layout): Likewise.
10630 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10631 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10632 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10633 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10634 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10635 (__backtrace): Likewise.
10636 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10637 use __ptrvalue.
10638 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10639 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10640 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10641 Likewise.
10642 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10643 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10644 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10645 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10646 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10647 Do not use __unbounded.
10648 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10649 Rename __unboundedrlimits parameter to rlimits in prototype.
10650 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10651 Do not use __unbounded.
10652 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10653 not use __ptrvalue.
10654 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10655 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10656 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10657 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10658 __ptrvalue or __unbounded.
10659 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10661 use __unbounded.
10662 (__new_msgctl): Do not use __ptrvalue.
10663 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10664 __unbounded.
10665 (__libc_msgrcv): Do not use __ptrvalue.
10666 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10667 startup_info): Do not use __unbounded.
10668 (__libc_start_main): Likewise. Rename ubp_* variables and
10669 parameters. Remove argv definitions conditional on
10670 [__BOUNDED_POINTERS__].
10671 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10672 __ptrvalue.
10673 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10674 use __unbounded.
10675 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10676 or __ptrvalue.
10677 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10678 use __unbounded.
10679 (__new_shmctl): Do not use __ptrvalue.
10680 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10681 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10682 Likewise.
10683 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10684 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10685 (__libc_sigaction): Likewise.
10686 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10687 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10688 Likewise.
10689 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10690
cc7834d6
OB
106912013-02-13 Ondřej Bílka <neleai@seznam.cz>
10692
ffb1ec7b 10693 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10694
10695 * string/mempcpy.c: Implement by calling memcpy.
10696
bdf02814
SP
106972013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
c2af38aa
SP
10699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10700
4e92d59e
SP
10701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10702 evaluation.
10703
909279a5
SP
10704 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10705 values in the mantissa.
10706
bdf02814
SP
10707 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10708 minimize writes to Z.
10709 (sub_magnitudes): Simplify code a bit.
10710
cd525923
RM
107112013-02-12 Roland McGrath <roland@hack.frob.com>
10712
10713 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10714 from the message. The linker prefixes all warnings with that already.
10715
7e2f0d2d
AS
107162013-02-12 Andreas Schwab <schwab@suse.de>
10717
a445af0b
AS
10718 [BZ #15078]
10719 * posix/regexec.c (extend_buffers): Add parameter min_len.
10720 (check_matching): Pass minimum needed length.
10721 (clean_state_log_if_needed): Likewise.
10722 (get_subexp): Likewise.
10723 * posix/Makefile (tests): Add bug-regex34.
10724 (bug-regex34-ENV): Define.
10725 * posix/bug-regex34.c: New file.
10726
7e2f0d2d
AS
10727 [BZ #11561]
10728 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10729 elements compare against the byte sequence of it, not its name.
10730 * posix/Makefile (tests): Add bug-regex35.
10731 (bug-regex35-ENV): Define.
10732 * posix/bug-regex35.c: New file.
10733
a175b684
TV
107342013-02-11 Tom de Vries <tom@codesourcery.com>
10735
10736 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10737 comment.
10738 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10739 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10740 (CHECK_EOL): Add undef.
10741
310998fe 107422013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10743
10744 * bits/stdlib-bsearch.h: New file.
10745 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10746 * stdlib/stdlib.h: Likewise.
41eda41d 10747
8ded91fb
RM
107482013-02-11 Roland McGrath <roland@hack.frob.com>
10749
10750 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10751 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10752 declaration.
10753 * manual/search.texi (Array Search Function): Add missing const in
10754 lfind prototype.
10755 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10756 declaration to use rlim_t.
10757 (Basic Scheduling Functions): Remove erroneous const from
10758 sched_getparam prototype. Remove erroneous * from
10759 sched_get_priority_max and sched_get_priority_min prototypes.
10760 (Resource Usage): Fix summary @comment on vtimes to refer to
10761 sys/vtimes.h rather than vtimes.h.
10762 Add missing *s in vtimes prototype.
10763 (Limits on Resources): Fix ulimit prototype to return long int.
10764 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10765 prototypes to use long int rather than double.
10766 (BSD Random): Fix initstate and setstate to use char *, not void *.
10767 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10768 prototype to make second argument 'struct aiocb64 *const[]'.
10769 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10770 (Status of AIO Operations): Remove erroneous const in aio_return and
10771 aio_return64 prototypes.
10772 (Synchronizing I/O): Fix sync prototype to return void.
10773 * manual/startup.texi (Suboptions): Remove an erroneous const in
10774 getsubopt prototype.
10775 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10776 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10777 use size_t rather than int.
10778 (Scanning All Users): Likewise for getpwent_r.
10779 (Setting Groups): Add missing const to setgroups prototype.
10780 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10781 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10782 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10783 'const void *' rather than 'const char *'.
10784 (Host Address Functions): Likewise for inet_ntop.
10785 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10786 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10787 ssize_t for return value.
10788 (Sending Data): Likewise for send, sendto, sendmsg.
10789 (Socket Option Functions): Add a missing const in setsockopt prototype.
10790 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10791 use wchar_t for the argument.
10792 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10793 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10794 take no arguments.
10795 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10796 double/float/long double for second argument.
10797 Fix return types of significand, significandf, significandl.
10798 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10799 argument in fchmod prototype.
10800 (File Owner): Use uid_t and gid_t in fchown prototype.
10801 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10802 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10803 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10804 use 'const struct dirent **' as argument types to CMP function pointer
10805 argument.
10806 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10807 (File Times): Fix summary magic @comment for struct utimbuf and utime
10808 to refer to utime.h, not time.h.
10809 * manual/string.texi (Argz Functions): Add missing const in
10810 argz_extract and argz_next prototypes.
10811 (Finding Tokens in a String): Likewise for basename.
10812 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10813 (Copying and Concatenation): Fix typo in wmemmove prototype.
10814 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10815 (Signal Stack): Remove erroneous const in sigstack prototype.
10816 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10817 prototype.
10818 (Simple Calendar Time): Likewise for stime.
10819 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10820 prototype.
10821 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10822 say sys/sysctl.h instead.
10823 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10824 and vsyslog prototypes.
10825
fe77fe6d
TV
108262013-02-11 Tom de Vries <tom@codesourcery.com>
10827
10828 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10829 Remove.
10830
3a09b620
RM
108312013-02-11 Roland McGrath <roland@hack.frob.com>
10832
10833 * misc/sys/mman.h: Fix typo in mremap comment.
10834
550a0b89
RM
108352013-02-08 Roland McGrath <roland@hack.frob.com>
10836
10837 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10838 the '\0' terminator.
10839
a2da1673
JM
108402013-02-08 Joseph Myers <joseph@codesourcery.com>
10841
10842 [BZ #13550]
10843 * debug/segfault.c: Don't include <bp-checks.h>.
10844 * sysdeps/generic/bp-checks.h: Remove file.
10845 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10846 (__GETDENTS): Don't use CHECK_N.
10847 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10848 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10849 (__getgroups): Don't use CHECK_N.
10850 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10851 (setgroups): Don't use CHECK_N.
10852 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10853 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10854 (__libc_msgrcv): Don't use CHECK_N.
10855 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10856 (__libc_msgsnd): Don't use CHECK_N.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10858 <bp-checks.h>.
10859 (__libc_pread): Don't use CHECK_N.
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10861 include <bp-checks.h>.
10862 (__libc_pread64): Don't use CHECK_N.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10864 include <bp-checks.h>.
10865 (__libc_pwrite): Don't use CHECK_N.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10867 include <bp-checks.h>.
10868 (__libc_pwrite64): Don't use CHECK_N.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10870 <bp-checks.h>.
10871 (__libc_pread): Don't use CHECK_N.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10873 include <bp-checks.h>.
10874 (__libc_pread64): Don't use CHECK_N.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10876 include <bp-checks.h>.
10877 (__libc_pwrite): Don't use CHECK_N.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10879 include <bp-checks.h>.
10880 (__libc_pwrite64): Don't use CHECK_N.
10881 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10882 (do_pread): Don't use CHECK_N.
10883 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10884 (do_pread64): Don't use CHECK_N.
10885 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10886 (do_pwrite): Don't use CHECK_N.
10887 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10888 (do_pwrite64): Don't use CHECK_N.
10889 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10890 (__libc_readv): Don't use CHECK_N.
10891 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10892 (semop): Don't use CHECK_N.
10893 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10894 <bp-checks.h>.
10895 (semtimedop): Don't use CHECK_N.
10896 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10897 (__libc_pread): Don't use CHECK_N.
10898 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10899 <bp-checks.h>.
10900 (__libc_pread64): Don't use CHECK_N.
10901 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10902 <bp-checks.h>.
10903 (__libc_pwrite): Don't use CHECK_N.
10904 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10905 <bp-checks.h>.
10906 (__libc_pwrite64): Don't use CHECK_N.
10907 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10908 <bp-checks.h>.
10909 (__libc_msgrcv): Don't use CHECK_N.
10910 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10911 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10912 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10913 (__libc_writev): Don't use CHECK_N.
10914
b84660a8
RM
109152013-02-08 Roland McGrath <roland@hack.frob.com>
10916
7f3e75f8
RM
10917 * string/strcpy.c: Removed unused variable.
10918
b84660a8
RM
10919 * Makeconfig (+sysdep-includes): Define with := rather than =.
10920 Use an existing include/ subdir of each sysdeps dir before it.
10921
471514d3
CD
109222013-02-08 Carlos O'Donell <carlos@redhat.com>
10923
10924 * nscd/connection.c (register_traced_file): Comment function.
10925 [HAVE_INOTIFY] (union __inev): Define.
10926 [HAVE_INOTIFY] (inotify_check_files): New function.
10927 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10928 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10929 clear_db_cache.
10930 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10931
b2d3c3be
CD
109322013-02-08 Carlos O'Donell <carlos@redhat.com>
10933
10934 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10935 loaded if not already and that a failure is permanent.
10936
b39949d2
CD
109372013-02-08 Carlos O'Donell <carlos@redhat.com>
10938
ddacd1db 10939 [BZ #15006]
b39949d2
CD
10940 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10941 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10942
b2c9eff4
JM
109432013-02-08 Joseph Myers <joseph@codesourcery.com>
10944
f3aae3f3
JM
10945 [BZ #13550]
10946 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10947 (CHECK_1_NULL_OK): Likewise.
10948 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10949 (__fxstat): Do not use CHECK_1.
10950 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10951 <bp-checks.h>.
10952 (___fxstat64): Do not use CHECK_1.
10953 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10954 <bp-checks.h>.
10955 (__fxstatat): Do not use CHECK_1.
10956 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10957 <bp-checks.h>.
10958 (__fxstatat64): Do not use CHECK_1.
10959 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10960 <bp-checks.h>.
10961 (__fxstat): Do not use CHECK_1.
10962 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10963 <bp-checks.h>.
10964 (__fxstatat): Do not use CHECK_1.
10965 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10966 <bp-checks.h>.
10967 (__getresgid): Do not use CHECK_1.
10968 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10969 <bp-checks.h>.
10970 (__getresuid): Do not use CHECK_1.
10971 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10972 <bp-checks.h>.
10973 (__lxstat): Do not use CHECK_1.
10974 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10975 <bp-checks.h>.
10976 (__old_msgctl): Do not use CHECK_1.
10977 (__new_msgctl): Likewise.
10978 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10979 <bp-checks.h>.
10980 (__new_setrlimit): Do not use CHECK_1.
10981 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10982 <bp-checks.h>.
10983 (__old_shmctl): Do not use CHECK_1.
10984 (__new_shmctl): Likewise.
10985 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10986 <bp-checks.h>.
10987 (__xstat): Do not use CHECK_1.
10988 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10989 (__lxstat): Do not use CHECK_1.
10990 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10991 <bp-checks.h>.
10992 (___lxstat64): Do not use CHECK_1.
10993 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10994 (__old_msgctl): Do not use CHECK_1.
10995 (__new_msgctl): Likewise.
10996 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10997 <bp-checks.h>.
10998 (__gettimeofday): Do not use CHECK_1.
10999 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11000 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11001 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11002 <bp-checks.h>.
11003 (__gettimeofday): Do not use CHECK_1.
11004 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11005 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11006 (__new_shmctl): Do not use CHECK_1.
11007 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11008 <bp-checks.h>.
11009 (do_sigtimedwait): Do not use CHECK_1.
11010 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11011 <bp-checks.h>.
11012 (do_sigwaitinfo): Do not use CHECK_1.
11013 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11014 <bp-checks.h>.
11015 (msgctl): Do not use CHECK_1.
11016 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11017 <bp-checks.h>.
11018 (shmctl): Do not use CHECK_1.
11019 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11020 (ustat): Do not use CHECK_1.
11021 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11022 <bp-checks.h>.
11023 (__fxstat): Do not use CHECK_1.
11024 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11025 <bp-checks.h>.
11026 (__fxstatat): Do not use CHECK_1.
11027 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11028 <bp-checks.h>.
11029 (__lxstat): Do not use CHECK_1.
11030 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11031 <bp-checks.h>.
11032 (__xstat): Do not use CHECK_1.
11033 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11034 (__xstat): Do not use CHECK_1.
11035 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11036 (___xstat64): Do not use CHECK_1.
11037
b2c9eff4
JM
11038 [BZ #13550]
11039 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11040 definitions.
11041 (CHECK_BOUNDS_HIGH): Likewise.
11042 * string/strcpy.c: Do not include <bp-checks.h>.
11043 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11044
f1d70dad
RM
110452013-02-07 Roland McGrath <roland@hack.frob.com>
11046
11047 * nscd/nscd-client.h (__nscd_drop_map_ref):
11048 Add __attribute__ ((unused)).
11049 * nis/nss-nisplus.h (niserr2nss): Likewise.
11050
11051 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11052 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11053
11054 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11055 Remove inline keyword.
11056 * include/rounding-mode.h (round_away): Likewise.
11057 * libio/wfileops.c (adjust_wide_data): Likewise.
11058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11059 (__m128i_strloadu_tolower): Likewise.
11060 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11061 (__m128i_strloadu_tolower): Likewise.
11062 * time/mktime.c (ydhms_diff): Likewise.
11063 * locale/elem-hash.h (elem_hash): Likewise.
11064 * locale/setlocale.c (setdata): Likewise.
11065 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11066 (re_string_wchar_at): Likewise.
11067 (bitset_not, bitset_merge, bitset_mask): Likewise.
11068 [!(__GNUC__ > 3)] (inline): Remove macro.
11069 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11070 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11071 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11072 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11073 * string/memcmp.c (memcmp_bytes): Likewise.
11074 * locale/programs/locarchive.c (compute_hashval): Likewise.
11075 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11076 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11077 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11078 * nss/getent.c (print_rpc, print_protocols): Likewise.
11079 (print_passwd, print_group, print_aliases): Likewise.
11080 * nis/nss-nisplus.h (niserr2nss): Likewise.
11081 * nscd/connections.c (restart_p): Likewise.
11082 Change return type to bool.
11083
eab55bfb
RM
110842013-02-05 Roland McGrath <roland@hack.frob.com>
11085
7bd642f5
RM
11086 * Makeconfig (all-Depend-files): Add existing
11087 $(sorted-subdirs:=/Depend) files.
11088 (all-subdirs): Remove nss.
11089 * sysdeps/unix/inet/Subdirs: Add it here instead.
11090 * hesiod/Depend: New file.
11091
573c29b2
RM
11092 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11093 instead of calling alloca.
11094
b2e25af0
RM
11095 * io/lseek.c (__lseek): Rename to __libc_lseek.
11096 Define __lseek as an alias.
11097
eab55bfb
RM
11098 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11099
9a0d1941
CD
111002013-02-04 Carlos O'Donell <carlos@redhat.com>
11101
11102 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11103 else clause and remove check for non-standard endianness.
11104
b83bbec4
DM
111052013-02-04 David S. Miller <davem@davemloft.net>
11106
11107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11108
6277fdab
JM
111092013-02-04 Joseph Myers <joseph@codesourcery.com>
11110
11111 [BZ #13550]
11112 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11113 (__ubp_memchr): Remove prototype.
11114 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11115 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11116 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11117 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11118 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11119 Remove alias.
11120 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11121 (__ubp_memchr): Likewise.
11122 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11123 (__ubp_memchr): Likewise.
11124 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11125 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11126 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11127 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11128 CHECK_STRING.
11129 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11130 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11131 (__getcwd): Do not use CHECK_STRING.
11132 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11133 <bp-checks.h>.
11134 (__real_chown): Do not use CHECK_STRING.
11135 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11136 <bp-checks.h>.
11137 (fchownat): Do not use CHECK_STRING.
11138 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11139 CHECK_STRING.
11140 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11141 <bp-checks.h>.
11142 (__lchown): Do not use CHECK_STRING.
11143 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11144 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11145 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11146 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11148 include <bp-checks.h>.
11149 (truncate64): Do not use CHECK_STRING.
11150 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11151 <bp-checks.h>.
11152 (__real_chown): Do not use CHECK_STRING.
11153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11154 <bp-checks.h>.
11155 (__lchown): Do not use CHECK_STRING.
11156 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11157 <bp-checks.h>.
11158 (__chown): Do not use CHECK_STRING.
11159 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11160 <bp-checks.h>.
11161 (truncate64): Do not use CHECK_STRING.
11162 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11163 Likewise.
11164 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11165 (__xmknod): Do not use CHECK_STRING.
11166 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11167 <bp-checks.h>.
11168 (__xmknodat): Do not use CHECK_STRING.
11169 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11170 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11171
903ae060
AS
111722013-02-04 Andreas Schwab <schwab@suse.de>
11173
11174 [BZ #14142]
11175 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11176 * include/netdb.h: Likewise for h_errno.
11177 * elf/tst-stackguard1.c: Include <tls.h>.
11178
542f9466
JK
111792013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11180
11181 * elf/link.h (struct link_map): Extend the l_addr comment.
11182 * include/link.h (struct link_map): Likewise.
11183
e782a927
JM
111842013-02-01 Joseph Myers <joseph@codesourcery.com>
11185
11186 [BZ #13550]
11187 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11188 (BOUNDED_1): Remove macro.
11189 * debug/backtrace.c: Don't include <bp-checks.h>.
11190 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11191 (__backtrace): Likewise.
11192 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11193 <bp-checks.h>.
11194 (__backtrace): Don't use BOUNDED_1.
11195 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11196 <bp-checks.h>.
11197 (__backtrace): Don't use BOUNDED_1.
11198 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11199 (__backtrace): Don't use BOUNDED_1.
11200 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11201 (shmat): Don't use BOUNDED_N.
11202
8cf28c5e
JM
112032013-01-31 Joseph Myers <joseph@codesourcery.com>
11204
3a7ac8a0
JM
11205 [BZ #13550]
11206 * sysdeps/generic/bp-start.h: Remove file.
11207 * csu/libc-start.c: Don't include <bp-start.h>.
11208 (LIBC_START_MAIN): Set up __environ directly instead of using
11209 INIT_ARGV_and_ENVIRON.
11210 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11211 <bp-start.h>.
11212
f3499f95
JM
11213 [BZ #13550]
11214 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11215 definitions.
11216 (CHECK_FCNTL): Likewise.
11217 (CHECK_N_PAGES): Likewise.
11218
32a45bea
JM
11219 [BZ #13550]
11220 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11221 definitions.
11222 (CHECK_SIGSET_NULL_OK): Likewise.
11223 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11224 <bp-checks.h>.
11225 (sigpending): Don't use CHECK_SIGSET.
11226 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11227 <bp-checks.h>.
11228 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11229 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11230 <bp-checks.h>.
11231 (do_sigsuspend): Don't use CHECK_SIGSET.
11232 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11233 use CHECK_SIGSET.
11234 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11235 (do_sigwait): Don't use CHECK_SIGSET.
11236 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11237 use CHECK_SIGSET.
11238 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11239 include <bp-checks.h>.
11240 (sigpending): Don't use CHECK_SIGSET.
11241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11242 include <bp-checks.h>.
11243 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11244 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11245 <bp-checks.h>.
11246 (sigpending): Don't use CHECK_SIGSET.
11247 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11248 <bp-checks.h>.
11249 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11250
2e8a5c8c
JM
11251 [BZ #13550]
11252 * sysdeps/generic/bp-semctl.h: Remove file.
11253 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11254 <bp-checks.h> and <bp-semctl.h>.
11255 (__old_semctl): Don't use CHECK_SEMCTL.
11256 (__new_semctl): Likewise.
11257 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11258 and <bp-semctl.h>.
11259 (__old_semctl): Don't use CHECK_SEMCTL.
11260 (__new_semctl): Likewise.
11261 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11262 <bp-checks.h> and <bp-semctl.h>.
11263 (__old_semctl): Don't use CHECK_SEMCTL.
11264 (__new_semctl): Likewise.
11265 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11266 <bp-checks.h> and <bp-semctl.h>.
11267 (semctl): Don't use CHECK_SEMCTL.
11268
c2d54929
JM
11269 [BZ #13550]
11270 * Makerules (elide-bp-thunks): Remove variable.
11271 (elide-routines.oS): Don't use $(elide-bp-thunks).
11272 (elide-routines.os): Likewise.
11273 (elide-routines.o): Likewise.
11274 (elide-routines.op): Likewise.
11275 (elide-routines.og): Likewise.
11276 (objects): Don't use $(bp-thunks).
11277 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11278 include.
11279 (common-generated): Do not add s-proto-bp.d.
11280 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11281 (int): Likewise.
11282 (typ): Likewise.
11283 Do not generate makefile rules for bounded-pointer thunks.
11284 * sysdeps/generic/bp-thunks.h: Remove file.
11285 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11286 * sysdeps/unix/s-proto-bp.S: Likewise.
11287
8cf28c5e
JM
11288 [BZ #15062]
11289 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11290 parts of result separately when argument is not close to line from
11291 -i to i and one part of argument is small.
11292 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11293 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11294 * math/libm-test.inc (cacos_test): Add more tests.
11295 (casin_test): Likewise.
11296 (casinh_test): Likewise.
11297 * sysdeps/i386/fpu/libm-test-ulps: Update.
11298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299
c4e33b8d
DM
113002013-01-31 David S. Miller <davem@davemloft.net>
11301
11302 * po/de.po: Update from translation team.
11303
3b60b421
MK
113042013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11305
11306 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11307
bb931195
TS
113082013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11309
b5a5da23
TS
11310 * configure.in (_AC_PROG_CC_C89): New definition.
11311 * configure: Regenerate.
11312
bb931195
TS
11313 * configure.in (AC_PROG_CPP): New definition.
11314 * configure: Regenerate.
11315
8c53a12c
JM
113162013-01-23 Joseph Myers <joseph@codesourcery.com>
11317
11318 * debug/tst-backtrace.h: New file.
11319 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11320 (ret): Remove variable.
11321 (x): Likewise.
11322 (FAIL): Remove macro.
11323 (NO_INLINE): Likewise.
11324 (fn1): Use match function instead of strstr.
11325 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11326 (ret): Remove variable.
11327 (x): Likewise.
11328 (FAIL): Remove macro.
11329 (NO_INLINE): Likewise.
11330 (fn): Use match function instead of strstr.
11331 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11332 (ret): Remove variable.
11333 (x): Likewise.
11334 (FAIL): Remove macro.
11335 (NO_INLINE): Likewise.
11336 (handle_signal): Use match function instead of strstr.
11337 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11338 (ret): Remove variable.
11339 (x): Likewise.
11340 (FAIL): Remove macro.
11341 (NO_INLINE): Likewise.
11342 (handle_signal): Use match function instead of strstr.
11343
4858fa2a
RM
113442013-01-23 Roland McGrath <roland@hack.frob.com>
11345
11346 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11347
bae8e7f5
DM
113482013-01-23 David S. Miller <davem@davemloft.net>
11349
11350 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11351 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11352 argument of CAS if possible.
11353 * sysdeps/sparc/sparc64/bits/atomic.h
11354 (__arch_compare_and_exchange_val_32_acq): Likewise.
11355 (__arch_compare_and_exchange_val_64_acq): Likewise.
11356
9cbbc4ae
PT
113572013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11358
11359 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11360 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11361 Include <limits.h>.
67b3f58c 11362 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11363
5655a0b5
AC
113642013-01-23 Adam Conrad <adconrad@0c3.net>
11365
11366 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11367 (LDFLAGS-tst-array5): Likewise.
11368
052aff95
JM
113692013-01-23 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #15036]
11372 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11373 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11374 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11375 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11376
7c1e01aa
DM
113772013-01-21 David S. Miller <davem@davemloft.net>
11378
11379 * sysdeps/sparc/backtrace.c: New file.
11380 * sysdeps/sparc/sparc32/backtrace.h: New file.
11381 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11382 * sysdeps/sparc/sparc64/backtrace.h: New file.
11383 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11384 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11385 -funwind-tables.
11386
ab087e0a
AS
113872013-01-21 Andreas Schwab <schwab@suse.de>
11388
11389 [BZ #15020]
11390 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11391 closed its stdout.
11392
ed689c2f
AS
113932013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11394
11395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11396 "mpa2.h".
11397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11398
31d470ac
JM
113992013-01-18 Joseph Myers <joseph@codesourcery.com>
11400 Mark Mitchell <mark@codesourcery.com>
11401 Tom de Vries <tom@codesourcery.com>
11402 Paul Pluzhnikov <ppluzhnikov@google.com>
11403
11404 * debug/tst-backtrace2.c: New file.
11405 * debug/tst-backtrace3.c: Likewise.
11406 * debug/tst-backtrace4.c: Likewise.
11407 * debug/tst-backtrace5.c: Likewise.
11408 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11409 (CFLAGS-tst-backtrace3.c): Likewise.
11410 (CFLAGS-tst-backtrace4.c): Likewise.
11411 (CFLAGS-tst-backtrace5.c): Likewise.
11412 (LDFLAGS-tst-backtrace2): Likewise.
11413 (LDFLAGS-tst-backtrace3): Likewise.
11414 (LDFLAGS-tst-backtrace4): Likewise.
11415 (LDFLAGS-tst-backtrace5): Likewise.
11416 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11417 tst-backtrace4 and tst-backtrace5.
11418
90567f30 114192013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11420 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11421
11422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11423 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11425 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11427 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11428 "+r" and remove output regs list as redundant. Add explicit inline
11429 asm to specify register of return val to work around compiler codegen
11430 bug. Remove (int) cast on return value. Add return type parameter to
11431 use in macro so that this macro does not truncate return value for
11432 64-bit values.
11433 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11434 pass to INTERNAL_VSYSCALL_NCS.
11435 (INLINE_VSYSCALL): Add 'long int' as return type to
11436 INTERNAL_VSYSCALL_NCS macro invocation.
11437 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11438 INTERNAL_VSYSCALL_NCS macro invocation.
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11440
d3b9ea61
SP
114412013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11442
0b57daeb
SP
11443 [BZ #14496]
11444 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11445 Fix application of SIMD FP exception mask.
11446
caa99d06
SP
11447 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11448 mp_no from a power of two.
11449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11450 __mpexp_twomm1. Use __pow_mp.
11451
d3b9ea61
SP
11452 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11453 multiplication.
11454
1dbaee3c
DM
114552013-01-17 David S. Miller <davem@davemloft.net>
11456
11457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11458
728d7b43
JM
114592013-01-17 Joseph Myers <joseph@codesourcery.com>
11460
11461 [BZ #15023]
11462 * include/complex.h: Condition contents on [!_COMPLEX_H].
11463 (__kernel_casinhf): New prototype.
11464 (__kernel_casinh): Likewise.
11465 (__kernel_casinhl): Likewise.
11466 * math/Makefile (libm_calls): Add k_casinh.
11467 * math/k_casinh.c: New file.
11468 * math/k_casinhf.c: Likewise.
11469 * math/k_casinhl.c: Likewise.
11470 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11471 finite nonzero arguments.
11472 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11473 finite nonzero arguments.
11474 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11475 finite nonzero arguments.
11476 * math/s_casinh.c: Do not include <float.h>.
11477 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11478 * math/s_casinhf.c: Do not include <float.h>.
11479 (__casinhf): Move code for finite nonzero arguments to
11480 k_casinhf.c.
11481 * math/s_casinhl.c: Do not include <float.h>.
11482 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11483 redefine.
11484 (__casinhl): Move code for finite nonzero arguments to
11485 k_casinhl.c.
11486 * math/libm-test.inc (cacos_test): Add more tests.
11487 * sysdeps/i386/fpu/libm-test-ulps: Update.
11488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11489
2a26ef3a
PT
114902013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11491
11492 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11493 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11494 [!HAVE_MREMAP]: Remove [defined linux] case.
11495 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11496
a897655d
SP
114972013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11498
11499 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11500
881ebe89 115012013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11502
11503 * elf/elf.h (R_386_SIZE32): New relocation.
11504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11505 R_386_SIZE32.
11506 (elf_machine_rela): Likewise.
11507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11508 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11509
59981e9b
JM
115102013-01-17 Joseph Myers <joseph@codesourcery.com>
11511
11512 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11513 (FP_FAST_FMA): Do not define.
11514 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11515 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11516 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11517 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11518 !_SOFT_FLOAT]: Likewise.
11519 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11520 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11521 value.
11522 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11523 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11524 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11525 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11526 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11527 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11528 file.
11529
cfa8054f
AS
115302013-01-16 Andreas Schwab <schwab@suse.de>
11531
11532 [BZ #14327]
11533 * include/stdlib.h (__mktemp): Add declaration.
11534 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11535 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11536
dd930cc5
SP
115372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11538
881ebe89
SP
11539 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11540 definitions.
11541 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11542 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11543 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11544 definitions here.
11545 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11546 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11547 definitions.
11548 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11549 and ONE.
11550 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11551 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11552 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11553 definitions.
11554 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11555 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11556 definitions.
11557 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11558
dd930cc5
SP
11559 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11560
c19a9f89
DM
115612013-01-15 David S. Miller <davem@davemloft.net>
11562
1aa61767
DM
11563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11564 trunc{,f} to libm-sysdep_routes.
11565 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11567 file.
11568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11570 file.
11571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11572 file.
11573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11575 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11576 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11577 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11578 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11579 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11580 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11581
c42d5e98
DM
11582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11583 nearbyint{,f} to libm-sysdep_routes.
11584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11586 New file.
11587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11588 file.
11589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11590 New file.
11591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11592 file.
11593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11595 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11596 file.
11597 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11598 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11599 file.
11600 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11601 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11602 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11603
c19a9f89
DM
11604 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11605 libc_feholdexcept and libc_fesetenv.
11606
357679d2
MF
116072013-01-15 Mike Frysinger <vapier@gentoo.org>
11608
11609 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11610
65a82e3d
DM
116112013-01-14 David S. Miller <davem@davemloft.net>
11612
8b954ab9
DM
11613 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11614 (SPARC_ASM_VIS2_IFUNC): Likewise.
11615 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11617 use of 'siam' instruction.
11618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11619 Likewise.
11620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11621 Likewise.
11622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11623 Likewise.
11624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11629 file.
11630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11631 file.
11632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11633 file.
11634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11635 file.
11636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11641 new VIS2 routines.
11642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11645 Likewise.
11646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11651 routines to libm-sysdep_routines.
11652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11653
65a82e3d
DM
11654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11655 fdim/fdimf to libm-sysdep_routines.
11656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11657 file.
11658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11660 file.
11661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11664 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11665 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11666 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11667 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11668
e34ab705
SP
116692013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11670
2a91b573
SP
11671 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11672 to optimize copies.
11673
1066a534
SP
11674 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11677
e34ab705
SP
11678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11679 local variable MPTWO.
11680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11681 Likewise.
11682
aba5e596
MF
116832013-01-13 Mike Frysinger <vapier@gentoo.org>
11684
11685 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11686 GLOB_NOESCAPE.
11687
e557e9e5
MF
116882013-01-13 Mike Frysinger <vapier@gentoo.org>
11689
11690 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11691
0428cec9
MF
116922013-01-13 Mike Frysinger <vapier@gentoo.org>
11693
11694 * manual/pattern.texi (glob_t): Document gl_flags.
11695 (glob64_t): Likewise.
11696
8794a964
DM
116972013-01-11 David S. Miller <davem@davemloft.net>
11698
66438c3f
RM
11699 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11700 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11701 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11702 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11703 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11704 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11705 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11706 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11707 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11708 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11709 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11710 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11711 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11712
4ae4244d
DM
11713 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11714 sparc V9 rather than using V8 code.
11715 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11716 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11717
8794a964
DM
11718 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11719 Move to...
11720 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11721 Here.
11722
6270516e
RM
117232013-01-11 Roland McGrath <roland@hack.frob.com>
11724
11725 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11726 not in the main loop.
11727 * configure: Regenerated.
11728
6a57d931
JM
117292013-01-11 Joseph Myers <joseph@codesourcery.com>
11730
11731 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11732 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11733 to just #else.
11734 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11735 [!__GLIBC_HAVE_LONG_LONG] case.
11736 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11737 condition to just #else.
11738 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11739 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11740 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11741 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11742 unconditional.
11743 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11744 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11745 #elif condition to just #else.
11746 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11747 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11748 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11749 #elif condition to just #else.
11750
0e8529e9
SE
117512013-01-11 Steve Ellcey <sellcey@mips.com>
11752
11753 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11754 (EF_MIPS_ARCH_64): Fix value.
11755 (EF_MIPS_ARCH_32R2): New.
11756 (EF_MIPS_ARCH_64R2): New.
11757
740b3dbe
L
117582013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * Makeconfig (+link-pie-before-libc): New.
11761 (+link-pie-after-libc): Likewise.
11762 (+link-pie-tests): Likewise.
11763 (+link-pie): Rewritten.
11764 (link-before-libc): Remove $(config-LDFLAGS).
11765 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11766 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11767 (config-LDFLAGS): Renamed to ...
11768 (rtld-LDFLAGS): This.
11769 (rtld-tests-LDFLAGS): New macro.
11770 (link-libc-rpath-link): Likewise.
11771 (link-libc-tests-rpath-link): Likewise.
11772 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11773 (link-libc): Prepand $(link-libc-rpath-link).
11774 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11775 (test-program-prefix): New macro.
11776 (test-via-rtld-prefix): Likewise.
11777 (test-program-cmd): Likewise.
11778 (host-test-program-cmd): Likewise.
11779 * Makefile ($(common-objpfx)testrun.sh): Replace
11780 $(run-program-prefix) with $(test-program-prefix).
11781 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11782 $(rtld-LDFLAGS).
11783 ($(common-objpfx)shlib.lds): Likewise.
11784 (build-module-helper): Likewise.
11785 ($(common-objpfx)format.lds): Likewise.
11786 * Rules (binaries-pie-tests): New.
11787 (binaries-pie-notests): Likewise.
11788 (binaries-pie): Rewritten.
11789 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11790 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11791 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11792 (make-test-out): Replace $(host-built-program-cmd) with
11793 $(host-test-program-cmd).
11794 * config.make.in (build-hardcoded-path-in-tests): New variable.
11795 * configure.in (--enable-hardcoded-path-in-tests): New configure
11796 option.
11797 (hardcoded_path_in_tests): New AC_SUBST.
11798 * configure: Regenerated.
11799 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11800 $(built-program-cmd) with $(test-program-cmd).
11801 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11802 (test_program_cmd): This.
11803 * elf/Makefile ($(objpfx)order.out): Run test with
11804 $(test-program-prefix).
11805 ($(objpfx)order2.out): Likewise.
11806 ($(objpfx)tst-initorder.out): Likewise.
11807 ($(objpfx)tst-initorder2.out): Likewise.
11808 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11809 $(test-program-cmd).
11810 ($(objpfx)tst-array1-static.out): Likewise.
11811 ($(objpfx)tst-array2.out): Likewise.
11812 ($(objpfx)tst-array3.out): Likewise.
11813 ($(objpfx)tst-array4.out): Likewise.
11814 ($(objpfx)tst-array5.out): Likewise.
11815 ($(objpfx)tst-array5-static.out): Likewise.
11816 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11817 $(test-program-cmd).
11818 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11819 $(run-program-prefix) with $(test-program-prefix).
11820 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11821 (test_program_prefix): This.
11822 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11823 $(run-program-prefix) with $(test-program-prefix).
11824 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11825 (test_program_prefix): This.
11826 * iconvdata/tst-tables.sh: Likewise.
11827 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11828 $(run-program-prefix) with $(test-program-prefix).
11829 ($(objpfx)tst-translit.out): Likewise.
11830 ($(objpfx)tst-gettext2.out): Likewise.
11831 ($(objpfx)tst-gettext4.out): Likewise.
11832 ($(objpfx)tst-gettext6.out): Likewise.
11833 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11834 (test_program_prefix): This.
11835 * intl/tst-gettext2.sh: Likewise.
11836 * intl/tst-gettext4.sh Likewise.
11837 * intl/tst-gettext6.sh: Likewise.
11838 * intl/tst-translit.sh: Likewise.
11839 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11840 with $(test-program-cmd).
11841 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11842 $(run-program-prefix) with $(test-program-prefix).
11843 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11844 (test_program_prefix): This.
11845 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11846 $(run-program-prefix) with $(test-program-prefix).
11847 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11848 (test_program_prefix): This.
11849 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11850 * posix/Makefile ($(objpfx)globtest.out): Replace
11851 $(run-via-rtld-prefix) and $(test-wrapper) with
11852 $(test-program-prefix) and $(test-via-rtld-prefix).
11853 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11854 $(test-program-prefix).
11855 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11856 $(host-test-program-cmd).
11857 (tst-spawn-ARGS): Likewise.
11858 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11859 $(test-program-prefix).
11860 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11861 (test_via_rtld_prefix): This.
11862 (test_wrapper): Renamed to ...
11863 (test_program_prefix): This.
11864 (run_program_prefix): Replaced by test_program_prefix.
11865 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11866 (test_program_prefix): This.
11867 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11868 with $(host-test-program-cmd).
11869 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11870 $(run-program-prefix) with $(test-program-prefix).
11871 ($(objpfx)tst-printf.out): Likewise.
11872 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11873 $(test-program-cmd).
11874 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11875 (test_program_prefix): This.
11876 * stdio-common/tst-unbputc.sh: Likewise.
11877 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11878 $(run-program-prefix) with $(test-program-prefix).
11879 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11880 (test_program_prefix): This.
11881 * string/Makefile ($(objpfx)tst-svc.out): Replace
11882 $(built-program-cmd) with $(test-program-cmd).
11883
c6fe55cf
AJ
118842013-01-11 Andreas Jaeger <aj@suse.de>
11885
11886 [BZ #15003]
11887 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11888 value. Sync with Linux 3.7.
11889
9e6919c8
DM
118902013-01-10 David S. Miller <davem@davemloft.net>
11891
11892 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11893 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11894 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11895
1c9f1a02
RM
118962013-01-10 Roland McGrath <roland@hack.frob.com>
11897
11898 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11899 never set.
11900 * configure: Regenerated.
11901
b9de2dde
DM
119022013-01-10 David S. Miller <davem@davemloft.net>
11903
11904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11905 sparc V9 rather than using V8 code.
11906 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11907 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11908
e7f68ef4
RM
119092013-01-10 Roland McGrath <roland@hack.frob.com>
11910
11911 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11912 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11913 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11914 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11915 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11916 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11917 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11918 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11919 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11920 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11921 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11922 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11923 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11924 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11925 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11926 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11927 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11928 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11929 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11930 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11931 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11932 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11933 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11934 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11935 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11936 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11937 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11938
5a47cc9c
DM
119392013-01-10 David S. Miller <davem@davemloft.net>
11940
11941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11942
4cf8f209
L
119432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 * posix/Makefile (tests-static): New variable.
11946 (tests): Add $(tests-static).
11947 (tst-exec-static-ARGS): New variable.
11948 (tst-spawn-static-ARGS): Likewise.
11949 * posix/tst-exec-static.c: New file.
11950 * posix/tst-spawn-static.c: Likewise.
11951 * posix/tst-exec.c: Support run directly.
11952 * posix/tst-spawn.c: Likewise.
11953
fed0faa1
JM
119542013-01-10 Joseph Myers <joseph@codesourcery.com>
11955
828beb13
JM
11956 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11957 long.
11958 * math/bits/mathcalls.h (llrint): Likewise.
11959 (llround): Likewise.
11960 * stdlib/stdlib.h (struct drand48_data): Likewise.
11961 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11962 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11963 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11964 Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11966 Likewise.
11967 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11968 (elf_greg_t): Likewise.
11969 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11970 (__jmp_buf): Likewise.
11971 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11972 definitions.
11973 (llrint): Likewise, for all definitions.
11974 (llrintl): Likewise.
11975
fed0faa1
JM
11976 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11977 Remove [__GNUC__] condition.
11978 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11979 condition to just [__USE_ISOC99].
11980 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11981
1a20cb20
L
119822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11983
11984 [BZ #14200]
11985 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11986 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11987 defined.
11988 (_POSIX_V6_ILP32_OFF32): Likewise.
11989 (_XBS5_ILP32_OFF32): Likewise.
11990 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11991 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11992
751b85f7
SP
119932013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11994
7490eb81
SP
11995 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11996
751b85f7
SP
11997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11998 doubles __mpexp_twomm1. Adjust usage.
11999 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12000 Remove.
12001
988197f0
AS
120022013-01-10 Andreas Schwab <schwab@suse.de>
12003
12004 [BZ #14964]
12005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12006 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12007
e83d7298
DM
120082013-01-09 David S. Miller <davem@davemloft.net>
12009
034ed64b 12010 [BZ #15003]
e83d7298
DM
12011 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12012 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12013 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12014 TCP_FASTOPEN): Define.
12015 (tcp_repair_opt): New structure.
12016 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12017 enum values.
12018 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12019 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12020 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12021 (tcp_cookie_transactions): New structure.
12022
d5e0b9bd
AB
120232013-01-09 Anton Blanchard <anton@samba.org>
12024
12025 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12026 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12027 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12029
0c07e3ea
JM
120302013-01-09 Joseph Myers <joseph@codesourcery.com>
12031
12032 * include/features.h (__USE_ANSI): Remove.
12033
232f7002
RM
120342013-01-09 Roland McGrath <roland@hack.frob.com>
12035
ad98e30c
RM
12036 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12037
232f7002
RM
12038 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12039
950c99ca
SP
120402013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12041
b5792741
SP
12042 * sysdeps/s390/fpu/libm-test-ulps: Update.
12043
47cf2278
SP
12044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12045
950c99ca
SP
12046 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12047 (__acr): Likewise.
12048 (__cpy): Likewise.
12049 (norm): Likewise.
12050 (denorm): Likewise.
12051 (__mp_dbl): Likewise.
12052 (__dbl_mp): Likewise.
12053 (add_magnitudes): Likewise.
12054 (sub_magnitudes): Likewise.
12055 (__add): Likewise.
12056 (__sub): Likewise.
12057 (__mul): Likewise.
12058 (__inv): Likewise.
12059 (__dvd): Likewise.
12060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12061 (__acr): Likewise.
12062 (__cpy): Likewise.
12063 (norm): Likewise.
12064 (denorm): Likewise.
12065 (__mp_dbl): Likewise.
12066 (__dbl_mp): Likewise.
12067 (add_magnitudes): Likewise.
12068 (sub_magnitudes): Likewise.
12069 (__add): Likewise.
12070 (__sub): Likewise.
12071 (__mul): Likewise.
12072 (__inv): Likewise.
12073 (__dvd): Likewise.
12074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12075 (__acr): Likewise.
12076 (__cpy): Likewise.
12077 (norm): Likewise.
12078 (denorm): Likewise.
12079 (__mp_dbl): Likewise.
12080 (__dbl_mp): Likewise.
12081 (add_magnitudes): Likewise.
12082 (sub_magnitudes): Likewise.
12083 (__add): Likewise.
12084 (__sub): Likewise.
12085 (__mul): Likewise.
12086 (__inv): Likewise.
12087 (__dvd): Likewise.
12088
eede9df9
JM
120892013-01-08 Joseph Myers <joseph@codesourcery.com>
12090
12091 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12092 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12093 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12094 2 && __USE_EXTERN_INLINES]: Likewise.
12095
c40ea3d9
AJ
120962013-01-08 Andreas Jaeger <aj@suse.de>
12097
12098 [BZ# 14985]
12099 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12100 Remove.
12101 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12102 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12103
2ccdea26
AB
121042013-01-07 Anton Blanchard <anton@samba.org>
12105
12106 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12107 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12108 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12109 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12110 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12111 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12112 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12113 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12115 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12116 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12117 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12118 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12120 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12121 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12122 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12123 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12124 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12125 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12126 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12127 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12128 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12129 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12130 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12131 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12132 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12133 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12135 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12136 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12138 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12139 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12140 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12141 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12142 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12144 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12148 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12149
a9708fed
JM
121502013-01-07 Joseph Myers <joseph@codesourcery.com>
12151
375607b9
JM
12152 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12153 (__MALLOC_PMT): Likewise.
12154 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12155 [__GNUC__], only on [_LIBC].
12156 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12157 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12158 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12159 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12160 forward declaration.
12161 (realloc_hook_ini): Likewise.
12162 (memalign_hook_ini): Likewise.
12163 (__libc_memalign): Do not use __MALLOC_PMT in variable
12164 declaration.
12165 (__libc_valloc): Likewise.
12166 (__libc_pvalloc): Likewise.
12167 (__libc_calloc): Likewise.
12168 (__posix_memalign): Likewise.
12169
a9708fed
JM
12170 [BZ #14996]
12171 * math/s_casinh.c: Include <float.h>.
12172 (__casinh): Do not do computation with squaring and square root
12173 for large arguments.
12174 * math/s_casinhf.c: Include <float.h>.
12175 (__casinhf): Do not do computation with squaring and square root
12176 for large arguments.
12177 * math/s_casinhl.c: Include <float.h>.
12178 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12179 (__casinhl): Do not do computation with squaring and square root
12180 for large arguments.
12181 * math/libm-test.inc (casin_test): Add more tests.
12182 (casinh_test): Likewise.
12183 * sysdeps/i386/fpu/libm-test-ulps: Update.
12184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12185
afec409a
L
121862013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12187
12188 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12189 (__x86_64_raw_data_cache_size): Likewise.
12190 (__x86_64_data_cache_size_half): Likewise.
12191 (__x86_64_raw_data_cache_size_half): Likewise.
12192 (__x86_64_shared_cache_size): Likewise.
12193 (__x86_64_raw_shared_cache_size): Likewise.
12194 (__x86_64_shared_cache_size_half): Likewise.
12195 (__x86_64_raw_shared_cache_size_half): Likewise.
12196 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12197 to ...
12198 (__x86_data_cache_size): This.
12199 (__x86_64_raw_data_cache_size): Renamed to ...
12200 (__x86_raw_data_cache_size): This.
12201 (__x86_64_data_cache_size_half): Renamed to ...
12202 (__x86_data_cache_size_half): This.
12203 (__x86_64_raw_data_cache_size_half): Renamed to ...
12204 (__x86_raw_data_cache_size_half): This.
12205 (__x86_64_shared_cache_size): Renamed to ...
12206 (__x86_shared_cache_size): This.
12207 (__x86_64_raw_shared_cache_size): Renamed to ...
12208 (__x86_raw_shared_cache_size): This.
12209 (__x86_64_shared_cache_size_half): Renamed to ...
12210 (__x86_shared_cache_size_half): This.
12211 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12212 (__x86_raw_shared_cache_size_half): This.
12213 * sysdeps/x86_64/memcpy.S: Updated.
12214 * sysdeps/x86_64/memset.S: Likewise.
12215 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12217 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12218
0b3986d0
DM
122192013-01-04 David S. Miller <davem@davemloft.net>
12220
12221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12222
e47686e9
AS
122232013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12224
d643bac1
AS
12225 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12226 1 to avoid redefinition warning.
12227 (__USE_GNU): Don't define.
12228 (init_signaling_nan): Protoize.
12229
e47686e9
AS
12230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12231
b18decba
SP
122322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12233
fffb407f
SP
12234 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12236 (__cpymn): Likewise.
12237 (norm): Remove commented code.
12238 (denorm): Likewise.
12239 (__mp_dbl): Likewise.
12240 (__inv): Likewise.
12241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12242 (__cpymn): Likewise.
12243 (norm): Remove commented code.
12244 (denorm): Likewise.
12245 (__mp_dbl): Likewise.
12246 (__inv): Likewise.
12247
b18decba
SP
12248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12249 mp_no value for 1.0 and 2.0.
12250 (norm): Use RADIXI instead of radixi.d.
12251 (denorm): Likewise.
12252 (__mul): Use 0.0 instead of zero.d.
12253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12254 mp_no value for 1.0 and 2.0.
12255 (norm): Use RADIXI instead of radixi.d.
12256 (denorm): Likewise.
12257 (__mul): Use 0.0 instead of zero.d.
12258
cdc1c96f
JM
122592013-01-04 Joseph Myers <joseph@codesourcery.com>
12260
12261 [BZ #14994]
12262 * math/s_casinh.c (__casinh): Reduce finite argument to first
12263 quadrant then set signs of results at the end.
12264 * math/s_casinhf.c (__casinhf): Likewise.
12265 * math/s_casinhl.c (__casinhl): Likewise.
12266 * math/libm-test.inc (casin_test): Add more tests.
12267 (casinh_test): Likewise.
12268 * sysdeps/i386/fpu/libm-test-ulps: Update.
12269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12270
302913e1
SP
122712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
6420d207
SP
12273 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12274
a9e48ab4
SP
12275 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12276
b7837264
SP
12277 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12278 declarations.
12279 (denorm): Likewise.
12280 (__mp_dbl): Likewise.
12281 (__inv): Likewise.
12282
f8af25d2
SP
12283 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12284 and adjust the header comment.
12285
302913e1
SP
12286 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12287 variable name from declaration.
12288
5d7dd1ca
L
122892013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12290
12291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12292 Initialize COMMON_CPUID_INDEX_7 element.
12293 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12294 (CPUID_RTM): Likewise.
12295 (HAS_RTM): Likewise.
12296 (COMMON_CPUID_INDEX_7): New enum.
12297
2f5f40f4
AS
122982013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12299
12300 [BZ #14981]
12301 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12302 size is zero, record memory as freed.
12303
4056f4a0
AJ
123042013-01-03 Andreas Jaeger <aj@suse.de>
12305
12306 * po/ia.po: Add new Interlingua translation.
12307
ab15736f 123082012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12309
12310 * locale/programs/localedef.c: Fix description of '--posix' flag.
12311
568035b7
JM
123122013-01-02 Joseph Myers <joseph@codesourcery.com>
12313
e6898b8d
JM
12314 * NEWS: Update dates in second copyright notice.
12315 * README: Update copyright dates in example.
12316 * manual/libc.texinfo: Update copyright dates.
12317 * scripts/test-installation.pl: Update copyright date in --version
12318 output.
12319
0e2f9562
JM
12320 * hurd/ctty-input.c: Fix copyright notice formatting.
12321 * hurd/ctty-output.c: Likewise.
12322 * hurd/dtable.c: Likewise.
12323 * hurd/hurd-raise.c: Likewise.
12324 * hurd/hurdprio.c: Likewise.
12325 * hurd/msgportdemux.c: Likewise.
12326 * misc/sys/file.h: Likewise.
12327 * misc/sys/ioctl.h: Likewise.
12328 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12329 * sysdeps/mach/hurd/chdir.c: Likewise.
12330 * sysdeps/mach/hurd/fchdir.c: Likewise.
12331 * sysdeps/mach/hurd/rename.c: Likewise.
12332 * sysdeps/mach/hurd/rmdir.c: Likewise.
12333 * sysdeps/mach/hurd/seekdir.c: Likewise.
12334 * sysdeps/mach/hurd/setsid.c: Likewise.
12335 * sysdeps/posix/wait3.c: Likewise.
12336
568035b7
JM
12337 * All files with FSF copyright notices: Update copyright dates
12338 using scripts/update-copyrights.
12339 * intl/plural.c: Regenerated.
12340 * locale/programs/charmap-kw.h: Likewise.
12341 * locale/programs/locfile-kw.h: Likewise.
12342
da08f647
SP
123432013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12344
0f5477af
SP
12345 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12346 four values.
12347
44e0d4c2
SP
12348 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12349 calculation loop and add branch prediction.
12350
4d55b4e5
SP
12351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12352 check access beyond bounds of m1np.
12353
da08f647
SP
12354 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12355 MPTWO.
12356 (__inv): Remove local variable MPTWO to use the global
12357 constant.
12358 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12360 variable MPTWO.
12361 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12362 MP3HALFS static const.
12363
8e051029
DM
123642013-01-01 David S. Miller <davem@davemloft.net>
12365
12366 * po/ca.po: Update from translation team.
12367
f4cf5f2d
JM
123682013-01-01 Joseph Myers <joseph@codesourcery.com>
12369
12370 * scripts/update-copyrights: New file.
12371 * Makeconfig: Reformat copyright notice.
12372 * ctype/ctype.h: Likewise.
12373 * debug/swprintf_chk.c: Likewise.
12374 * elf/dl-cache.c: Likewise.
12375 * elf/dl-debug.c: Likewise.
12376 * elf/dl-object.c: Likewise.
12377 * grp/initgroups.c: Likewise.
12378 * hurd/Makefile: Likewise.
12379 * hurd/hurd/signal.h: Likewise.
12380 * hurd/hurdfault.c: Likewise.
12381 * hurd/hurdioctl.c: Likewise.
12382 * hurd/hurdlookup.c: Likewise.
12383 * hurd/intr-msg.c: Likewise.
12384 * iconv/gconv_open.c: Likewise.
12385 * libio/swprintf.c: Likewise.
12386 * locale/lc-ctype.c: Likewise.
12387 * locale/nl_langinfo.c: Likewise.
12388 * mach/Machrules: Likewise.
12389 * mach/Makefile: Likewise.
12390 * malloc/obstack.h: Likewise.
12391 * manual/Makefile: Likewise.
12392 * manual/tsort.awk: Likewise.
12393 * misc/bits/stab.def: Likewise.
12394 * nis/nis_print_group_entry.c: Likewise.
12395 * nis/nis_table.c: Likewise.
12396 * nis/nss_compat/compat-pwd.c: Likewise.
12397 * nis/nss_compat/compat-spwd.c: Likewise.
12398 * po/Makefile: Likewise.
12399 * posix/fnmatch.c: Likewise.
12400 * posix/regex.h: Likewise.
12401 * resolv/Makefile: Likewise.
12402 * resolv/nss_dns/dns-network.c: Likewise.
12403 * resolv/res_hconf.c: Likewise.
12404 * scripts/gen-sorted.awk: Likewise.
12405 * soft-fp/soft-fp.h: Likewise.
12406 * stdio-common/printf.h: Likewise.
12407 * stdlib/monetary.h: Likewise.
12408 * stdlib/random.c: Likewise.
12409 * stdlib/random_r.c: Likewise.
12410 * sysdeps/generic/Makefile: Likewise.
12411 * sysdeps/gnu/Makefile: Likewise.
12412 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12428 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12429 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12440 * sysdeps/mach/hurd/errnos.awk: Likewise.
12441 * sysdeps/mach/hurd/fork.c: Likewise.
12442 * sysdeps/mach/hurd/getcwd.c: Likewise.
12443 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12444 * sysdeps/mach/hurd/mmap.c: Likewise.
12445 * sysdeps/mach/hurd/utimes.c: Likewise.
12446 * sysdeps/mach/hurd/xmknod.c: Likewise.
12447 * sysdeps/posix/profil.c: Likewise.
12448 * sysdeps/posix/readdir_r.c: Likewise.
12449 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12450 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12451 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12454 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12456 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12458 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12459 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12460 * sysdeps/pthread/lio_listio.c: Likewise.
12461 * sysdeps/sparc/dl-procinfo.h: Likewise.
12462 * sysdeps/unix/i386/sysdep.S: Likewise.
12463 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12464 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12465 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12466 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12468 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12469 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12470 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12471 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12472 * sysdeps/wordsize-32/divdi3.c: Likewise.
12473 * time/sys/time.h: Likewise.
12474 * wcsmbs/Makefile: Likewise.
12475
0549fbba
DM
124762013-01-01 David S. Miller <davem@davemloft.net>
12477
a141f1a7
DM
12478 * po/fr.po: Update from translation team.
12479
0549fbba
DM
12480 * catgets/gencat.c: Update copyright year.
12481 * csu/version.c: Likewise.
12482 * debug/catchsegv.sh: Likewise.
12483 * debug/pcprofiledump.c: Likewise.
12484 * debug/xtrace.sh: Likewise.
12485 * elf/ldconfig.c: Likewise.
12486 * elf/ldd.bash.in: Likewise.
12487 * elf/pldd.c: Likewise.
12488 * elf/sotruss.ksh: Likewise.
12489 * elf/sprof.c: Likewise.
12490 * iconv/iconv_prog.c: Likewise.
12491 * iconv/iconvconfig.c: Likewise.
12492 * locale/programs/locale.c: Likewise.
12493 * locale/programs/localedef.c: Likewise.
12494 * login/programs/pt_chown.c: Likewise.
12495 * malloc/memusage.sh: Likewise.
12496 * malloc/memusagestat.c: Likewise.
12497 * malloc/mtrace.pl: Likewise.
12498 * nscd/nscd.c: Likewise.
12499 * nss/getent.c: Likewise.
12500 * nss/makedb.c: Likewise.
12501 * posix/getconf.c: Likewise.
12502
18ea052c
SP
125032012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12504
12505 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12506 numbers.
12507
9c89fca6
MF
125082012-12-30 Mike Frysinger <vapier@gentoo.org>
12509
12510 * math/bits/mathcalls.h (modf): Use __nonnull.
12511
085ec079
SP
125122012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12513
12514 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12515 (split): Use macro CN instead of the bare value.
12516 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12517 could be used.
12518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12519 instead of the bare value.
12520 (power1): Likewise.
12521
6d9f97e1
SP
125222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12523
d63f73be
SP
12524 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12525 __ATAN_TWOM.
12526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12527
6d9f97e1
SP
12528 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12529 their values.
12530 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12531 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12532 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12533 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12534
4c4febf5
AJ
125352012-12-28 Andreas Jaeger <aj@suse.de>
12536
af5843ef
AJ
12537 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12538 values are from Linux 3.7.
12539
4c4febf5
AJ
12540 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12541 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12542
99136f82
SP
125432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12544
2f216c3c 12545 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12546 TRUE case.
12547
99136f82
SP
12548 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12549 (norm): Likewise.
12550 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12551 variables with preprocessor constants.
12552 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12553 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12554 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12555
7fffbdff
BH
125562012-12-27 Bruno Haible <bruno@clisp.org>
12557
12558 [BZ #14317]
12559 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12560 only if needed.
12561
b76eb5f0
SP
125622012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12563
31a7fe5c
SP
12564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12565 and use variable directly.
12566 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12567
b76eb5f0
SP
12568 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12569 MPONE.
12570 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12572 variable MPONE.
12573 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12575 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12576 include directive. Remove local variable MPONE.
12577 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12578 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12579 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12580
2c8bfe7d
DM
125812012-12-25 David S. Miller <davem@davemloft.net>
12582
12583 * version.h (RELEASE): Set to "development".
12584 (VERSION): Set to "2.17.90".
12585 * NEWS: Add 2.18 section.
12586
147d03b0
DM
125872012-12-21 David S. Miller <davem@davemloft.net>
12588
12589 * po/hr.po: Update from translation team.
12590
a8ebb2b9
AK
125912012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12592
12593 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12594
95b4f1b6
SE
125952012-12-19 Steve Ellcey <sellcey@mips.com>
12596
b2d94007 12597 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12598
cedb2a90
MS
125992012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12600
12601 * manual/contrib.texi (Contributors): Spelling correction.
12602
bbf527d6
DM
126032012-12-15 David S. Miller <davem@davemloft.net>
12604
12605 * po/ru.po: Update from translation team.
12606
bc38c906
DM
126072012-12-13 David S. Miller <davem@davemloft.net>
12608
85429b1a
DM
12609 * NEWS: Mention IFUNC testsuite enhancements.
12610
d283e353
DM
12611 * po/pl.po: Update from translation team.
12612 * po/bg.po: Likewise.
12613
bc38c906
DM
12614 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12615 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12616
a181b0d7
DM
126172012-12-11 David S. Miller <davem@davemloft.net>
12618
4641d57e
DM
12619 * po/sv.po: Update from translation team.
12620
f7bc6495
DM
12621 * po/vi.po: Update from translation team.
12622
6fc9048f
DM
12623 * po/cs.po: Update from translation team.
12624
a181b0d7
DM
12625 * po/de.po: Update from translation team.
12626 * po/eo.po: Likewise.
12627 * po/nl.po: Likewise.
12628
f70bfe80
SP
126292012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12630
3c8b4190
SP
12631 [BZ #14246]
12632 * manual/argp.texi (Argp Helper Functions): Move node to follow
12633 Argp Parsing State.
12634
f70bfe80
SP
12635 [BZ #14872]
12636 * manual/conf.texi (Limits on File System Capacity): Mention if
12637 terminating null is included in the max size.
12638
188f0adf
AJ
126392012-12-10 Andreas Jaeger <aj@suse.de>
12640
12641 * po/cs.po: Update from translation team.
12642
56e7d3ad
SP
126432012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12644
12645 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12646 void pointer and cast to uintptr_t.
12647 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12648 path.
12649 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12650 * sysdeps/s390/s390-64/memset.S: Likewise.
12651
76f2d2ea 126522012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12653
12654 [BZ #14833]
12655 * menual/message.texi (Message Translation): Fix typos.
12656 (Helper programs for gettext): Likewise.
12657
67cbf9a2
AS
126582012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12659
12660 [BZ #14898]
12661 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12662 Change to -1.
12663
682d0e9a
DM
126642012-12-07 David S. Miller <davem@davemloft.net>
12665
12666 * po/libc.pot: Update.
12667
573cd484
RH
126682012-12-07 Richard Henderson <rth@redhat.com>
12669
7e9da188 12670 [BZ #10114]
573cd484
RH
12671 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12672 normal/normal case to before the switch.
12673 (_FP_DIV): Likewise.
12674
e933a943
MF
126752012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12676 Mike Frysinger <vapier@gentoo.org>
12677
12678 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12679 check for __NR_fadvise64_64.
12680
82123268
CM
126812012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12682
12683 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12684 0, not just to plain "0" as a statement.
12685 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12686 with cw.
12687
d9814526
JM
126882012-12-06 Joseph Myers <joseph@codesourcery.com>
12689
12690 * NEWS: Use sourceware.org in Bugzilla URL.
12691
7728c574
SP
126922012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12693
f16946dd
SP
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12695 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12696
5704bbcb
SP
12697 * stdio-common/tst-put-error.c (do_test): Add newline to the
12698 padded test to ensure flush.
12699
17aa0516
JL
127002012-12-05 Jeff Law <law@redhat.com>
12701
12702 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12703
363313b5
JM
127042012-12-05 Joseph Myers <joseph@codesourcery.com>
12705
effbd42a
JM
12706 * README: Don't refer to ports add-on as distributed separately.
12707 Mention AArch64 in list of systems supported in the ports add-on.
12708
87600365
JM
12709 * LICENSES: Add more non-FSF copyright and license notices.
12710
a0d7066a
JM
12711 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12712 ((unused)).
12713
66ca5a5b
JM
12714 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12715
363313b5
JM
12716 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12717 10000 as width of padded output.
12718
b37984ad
JM
127192012-12-04 Joseph Myers <joseph@codesourcery.com>
12720
9003570a
JM
12721 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12722
b37984ad
JM
12723 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12724 variable LX with __attribute__ ((unused)).
12725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12726 Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12730 with __attribute__ ((unused)).
12731
c8df52ec
DM
127322012-12-04 David S. Miller <davem@abraco.davemloft.net>
12733
12734 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12735
b3b099af
JM
127362012-12-04 Joseph Myers <joseph@codesourcery.com>
12737
c33aa6e3
JM
12738 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12739 (CFLAGS-nldbl-acos.c): New variable.
12740 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12741 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12742 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12743 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12744 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12745 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12746 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12747 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12748 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12749 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12750 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12751 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12752 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12753 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12754 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12755 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12756 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12757 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12758 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12759 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12760 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12761 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12762 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12763 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12764 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12765 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12766 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12767 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12768 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12769 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12770 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12771 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12772 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12773 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12774 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12775 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12776 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12777 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12778 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12779 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12780 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12781 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12782 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12783 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12784 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12785 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12786 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12787 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12788 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12789 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12790 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12791 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12792 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12793 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12794 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12795 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12796 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12797 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12798 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12799 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12800 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12801 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12802 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12803 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12804 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12805 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12806 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12807 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12808 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12809 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12810 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12811 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12812 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12813 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12814 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12815 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12816 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12817 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12818 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12819 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12820 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12821 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12822 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12823 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12824 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12825 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12826 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12827 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12828 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12829 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12830 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12831 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12832 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12833 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12834 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12835 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12836 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12837
20f0018d
JM
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12839 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12840
b3b099af
JM
12841 [BZ #14914]
12842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12843 whole low double instead of just low 47 bits when splitting values
12844 into two parts.
12845
029264d1
AM
128462012-12-03 Allan McRae <allan@archlinux.org>
12847
12848 * manual/stdio.texi (Predefined Printf Handlers): Remove
12849 @hsep and @vsep usage.
12850
c9d6789e
MF
128512012-12-03 Mike Frysinger <vapier@gentoo.org>
12852
12853 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12854 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12855
4b7634a5
JL
128562012-12-03 Jeff Law <law@redhat.com>
12857
12858 * time/sys/time.h (settimeofday): Do not mark TV argument
12859 as __nonnull.
12860
eb6cbd24
MF
128612012-12-01 Mike Frysinger <vapier@gentoo.org>
12862
12863 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12864 when currently writing and seek to current position when not.
12865 * libio/Makefile (tests): Remove bug-fclose1.
12866 * libio/bug-fclose1.c: Delete.
12867
f638872a
JM
128682012-12-01 Joseph Myers <joseph@codesourcery.com>
12869
12870 * manual/arith.texi (feenableexcept): Fix typo.
12871 (fedisableexcept): Likewise.
12872
48085d14
RM
128732012-11-30 Roland McGrath <roland@hack.frob.com>
12874
12875 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12876 second, differently-typed declaration, rather than a cast.
12877
1a538b9f
SP
128782012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12879
12880 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12881 * include/rpc/svc.h: ... here.
12882
d07f2ff1 128832012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12884
12885 [BZ #13013]
12886 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12887 depending n and resplen2 to catch cases where answer
12888 equals answerp2.
12889
c93ec1f0
CD
128902012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12891
12892 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12893 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12894
37db69de
MF
128952012-11-29 Mike Frysinger <vapier@gentoo.org>
12896
12897 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12898
e10c4e4f
RM
128992012-11-29 Roland McGrath <roland@hack.frob.com>
12900
12901 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12902
2af1b328
JL
129032012-11-28 Jeff Law <law@redhat.com>
12904
12905 [BZ #13761]
12906 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12907 dataset_temporary. Track alloca usage into alloca_used.
12908 If dataset is large allocate and release it via malloc/free.
12909
111db5b1
FW
129102012-06-04 Florian Weimer <fweimer@redhat.com>
12911
f06cc227 12912 [BZ #14197]
111db5b1
FW
12913 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12914
dd694abd
DM
129152012-11-28 David S. Miller <davem@davemloft.net>
12916
12917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12918
9984dd01
JM
129192012-11-28 Joseph Myers <joseph@codesourcery.com>
12920
12921 [BZ #14803]
12922 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12923 of pi/2 rounded to nearest to 64 bits.
12924 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12925 nearest to 64 bits.
12926 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12927 bits.
12928
14bc93a9
JL
129292012-11-28 Jeff Law <law@redhat.com>
12930 Martin Osvald <mosvald@redhat.com>
12931
12932 [BZ #14889]
12933 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12934 * sunrpc/svc.c: Include time.h.
12935 (__svc_accept_failed): New function.
12936 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12937 any reason other than EINTR, call __svc_accept_failed.
12938 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12939 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12940
e3c6aa3a
AS
129412012-11-28 Andreas Schwab <schwab@suse.de>
12942
12943 * scripts/abilist.awk: Also handle indirect functions in .opd
12944 section.
12945
1bead169
JM
129462012-11-28 Joseph Myers <joseph@codesourcery.com>
12947
12948 [BZ #13881]
12949 * sysdeps/x86/fpu/powl_helper.c: New file.
12950 * sysdeps/x86/fpu/Makefile: Likewise.
12951 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12952 (p3): New object.
12953 (__ieee754_powl): Use __powl_helper for finite arguments except
12954 integer exponents below 8.
12955 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
12960 previously disabled tests.
12961 * sysdeps/i386/fpu/libm-test-ulps: Update.
12962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12963
0817d63d
SP
129642012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12965 Carlos O'Donell <carlos_odonell@mentor.com>
12966
12967 * nss/makedb.c (is_prime): Assert that input is odd and greater
12968 than 4. Note that fact in a comment too.
12969 (next_prime): Add 4 to input.
12970
de2fd463
SP
129712012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12972
12973 [BZ #11741]
12974 * libio/Makefile (tests): Add test case tst-fwrite-error.
12975 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12976 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12977 * libio/tst-fwrite-error.c: New test case.
12978
c515fb51
L
129792012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12980
12981 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12982 before casting to void *.
12983 * include/libc-internal.h (__pointer_type): New macro.
12984 (__integer_if_pointer_type_sub): Likewise.
12985 (__integer_if_pointer_type): Likewise.
12986 (cast_to_integer): Likewise.
12987 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12988 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12989 before casting to atomic64_t.
12990 (atomic_exchange_acq): Likewise.
12991 (__arch_exchange_and_add_body): Likewise.
12992 (__arch_add_body): Likewise.
12993 (atomic_add_negative): Likewise.
12994 (atomic_add_zero): Likewise.
12995
4cf77aa9
JM
129962012-11-26 Joseph Myers <joseph@codesourcery.com>
12997
12998 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12999 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13000 (add_fdes): Likewise.
13001 (linear_search_fdes): Likewise.
13002 (binary_search_unencoded_fdes): Likewise.
13003
d260b3b4
AS
130042012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13005
13006 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13007
67060746
AC
130082012-11-24 Adam Conrad <adconrad@0c3.net>
13009
13010 * configure.in: Autodetect C++ header directories.
13011 * configure: Regenerated.
13012
800938a1
MF
130132012-11-23 Mike Frysinger <vapier@gentoo.org>
13014
13015 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13016
4e6e34e6
AS
130172012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13018
13019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13020
7c7feb47
JM
130212012-11-22 Joseph Myers <joseph@codesourcery.com>
13022
7184dcdf
JM
13023 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13024 LDBL_MANT_DIG == 106]: Disable some tests.
13025 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13026 Likewise.
13027 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13028 Likewise.
13029
0a42601f
JM
13030 [BZ #14871]
13031 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13032 input for small inputs. Return +/- pi/2 for large inputs.
13033 * math/libm-test.inc (atan_test): Add more tests.
13034
79c9b9fe
JM
13035 * sysdeps/generic/unwind-dw2-fde-glibc.c
13036 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13037 __attribute__ ((unused)).
13038
c60d3bf2
JM
13039 [BZ #14645]
13040 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13041 x * y if x and y are nonzero and z is zero.
13042
ef1e0867
JM
13043 [BZ #14811]
13044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13045 nonzero exponents with absolute value below 0x1p-117 to +/-
13046 0x1p-117.
13047
1468ded3
JM
13048 [BZ #14869]
13049 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13050 up arguments below 2**-450, not just those below 2**-500.
13051 * math/libm-test.inc (hypot_test): Add another test.
13052
8e27e3cc
JM
13053 [BZ #14868]
13054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13055 Return a+b for ratio over 2**120, not 2**60.
13056 * math/libm-test.inc (hypot_test): Add another test.
13057
c9c0279b
JM
13058 * math/libm-test.inc (clog_test): Use
13059 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13060 (clog10_test): Likewise.
13061
7c7feb47
JM
13062 [BZ #6778]
13063 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13064
fff1530e
AS
130652012-11-22 Andreas Schwab <schwab@suse.de>
13066
13067 * sysdeps/i386/fpu/libm-test-ulps: Update.
13068
94558d30
PT
130692012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13070
13071 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13072 printf output with newline.
13073
7e1be741
L
130742012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13075
6bfea974
L
13076 [BZ #14865]
13077 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13078 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13079 -z nodlopen, -z initfirst and -z execstack support.
13080 * configure: Regenerated.
13081
7e1be741
L
13082 * elf/elf.h (DF_1_NODIRECT): New macro.
13083 (DF_1_IGNMULDEF): Likewise.
13084 (DF_1_NOKSYMS): Likewise.
13085 (DF_1_NOHDR): Likewise.
13086 (DF_1_EDITED): Likewise.
13087 (DF_1_NORELOC): Likewise.
13088 (DF_1_SYMINTPOSE): Likewise.
13089 (DF_1_GLOBAUDIT): Likewise.
13090 (DF_1_SINGLETON): Likewise.
13091 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13092 DT_1_SUPPORTED_MASK bits.
13093 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13094
105ce2ce
CD
130952012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13096
13097 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13098
123be9de
TS
130992012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13100
d072f3f7
TS
13101 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13102 macro.
13103
123be9de
TS
13104 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13105 (sendmmsg): Move declarations...
13106 * socket/sys/socket.h: ... here.
13107 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13108 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13109 include it from...
13110 * socket/recvmmsg.c: ... this new file.
13111 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13112 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13113 definition of __sendmmsg hidden.
13114 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13115 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13116 Move ENOSYS stub into and include it from...
13117 * socket/sendmmsg.c: ... this new file.
13118 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13119 (sysdep_routines): Move recvmmsg and sendmmsg...
13120 * socket/Makefile (routines): ... here.
13121 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13122 (GLIBC_PRIVATE): Add __sendmmsg.
13123 * include/sys/socket.h (__sendmmsg): Add declarations.
13124 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13125 sendmmsg.
13126
cf9a5d18
JM
131272012-11-20 Joseph Myers <joseph@codesourcery.com>
13128
13129 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13130 variable I1 with __attribute__ ((unused)).
13131 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13132
ecd4caf9
JM
131332012-11-19 Joseph Myers <joseph@codesourcery.com>
13134
be14d48f
JM
13135 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13136 DUMMY variables with __attribute__ ((unused)).
13137
ecd4caf9
JM
13138 * bits/byteswap.h: Include <bits/types.h>.
13139 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13140
986cab95
PT
131412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13142
13143 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13144 string_t. Do not manually set errno.
13145 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13146 length with __strnlen. Make sure to both set errno and return it on
13147 failure.
13148
6d33cc9d
DM
131492012-11-19 David S. Miller <davem@davemloft.net>
13150
13151 With help from Joseph Myers.
13152 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13153 very large arguments properly.
13154 * math/libm-test.inc (atan_test): New tests.
13155 (atan2_test): New tests.
13156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13158
ee663277
JM
131592012-11-19 Joseph Myers <joseph@codesourcery.com>
13160
877f2d8e
JM
13161 [BZ #14856]
13162 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13163 Define to 3.
13164
116fc08a
JM
13165 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13166 [POSIX] (EADDRNOTAVAIL): Likewise.
13167 [POSIX] (EAFNOSUPPORT): Likewise.
13168 [POSIX] (EALREADY): Likewise.
13169 [POSIX] (ECONNABORTED): Likewise.
13170 [POSIX] (ECONNREFUSED): Likewise.
13171 [POSIX] (ECONNRESET): Likewise.
13172 [POSIX] (EDESTADDRREQ): Likewise.
13173 [POSIX] (EDQUOT): Likewise.
13174 [POSIX] (EHOSTUNREACH): Likewise.
13175 [POSIX] (EIDRM): Likewise.
13176 [POSIX] (EISCONN): Likewise.
13177 [POSIX] (ELOOP): Likewise.
13178 [POSIX] (EMULTIHOP): Likewise.
13179 [POSIX] (ENETDOWN): Likewise.
13180 [POSIX] (ENETUNREACH): Likewise.
13181 [POSIX] (ENOBUFS): Likewise.
13182 [POSIX] (ENODATA): Likewise.
13183 [POSIX] (ENOLINK): Likewise.
13184 [POSIX] (ENOMSG): Likewise.
13185 [POSIX] (ENOPROTOOPT): Likewise.
13186 [POSIX] (ENOSR): Likewise.
13187 [POSIX] (ENOSTR): Likewise.
13188 [POSIX] (ENOTCONN): Likewise.
13189 [POSIX] (ENOTSOCK): Likewise.
13190 [POSIX] (EOPNOTSUPP): Likewise.
13191 [POSIX] (EOVERFLOW): Likewise.
13192 [POSIX] (EPROTO): Likewise.
13193 [POSIX] (EPROTONOSUPPORT): Likewise.
13194 [POSIX] (EPROTOTYPE): Likewise.
13195 [POSIX] (ESTALE): Likewise.
13196 [POSIX] (ETIME): Likewise.
13197 [POSIX] (ETXTBSY): Likewise.
13198 [POSIX] (EWOULDBLOCK): Likewise.
13199 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13200 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13201 [POSIX] (SEEK_CUR): Likewise.
13202 [POSIX] (SEEK_END): Likewise.
13203 [POSIX || UNIX98] (mode_t): Do not require.
13204 [POSIX] (off_t): Likewise.
13205 [POSIX] (pid_t): Likewise.
13206 [POSIX] (sys/stat.h): Do not allow header.
13207 [POSIX] (unistd.h): Likewise.
13208 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13209 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13210 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13211 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13212 require.
13213 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13214 sigevent): Specify elements.
13215 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13216 entry.
13217 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13218 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13219
a483863f
JM
13220 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13221 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13222 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13223 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13224 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13225 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13226 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13227 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13228 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13229 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13230 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13231 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13232 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13233 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13234 Likewise.
13235 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13236 Likewise.
13237 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13238 Likewise.
13239 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13240 Likewise.
13241 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13242 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13243 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13244 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13245 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13246 Specify lower bound on value.
13247 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13248 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13249 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13250 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13251 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13252 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13253 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13254 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13255 value.
13256 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13257 as optional.
13258 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13259 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13260 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13261 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13262 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13263 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13264 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13265 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13266 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13267 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13268 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13269 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13270 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13271 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13272 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13273 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13274 entry.
13275 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13276 optional.
13277 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13278 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13279 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13280 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13281 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13282 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13283 Likewise.
13284 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13285 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13286 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13287 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13288 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13289 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13290 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13291 as optional.
13292 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13293 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13294 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13295 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13296 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13297 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13298 specify as optional.
13299 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13300 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13301 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13302 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13303 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13304 [XPG3] (NL_LANGMAX): Likewise.
13305 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13306 [POSIX || XPG3] (NL_NMAX): Likewise.
13307 [POSIX || XPG3] (NL_SETMAX): Likewise.
13308 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13309 [XPG3] (NZERO): Likewise.
13310 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13311 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13312 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13313 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13314 (REG_ERANGE): Expect.
13315 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13316 optional-constant.
13317 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13318 Use (void) in prototype.
13319 [POSIX] (*_t): Allow.
13320 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13321 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13322 (WRDE_BADVAL): Expect.
13323
5ba924e3
JM
13324 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13325 expect.
13326 [XPG3 || XPG4] (O_RSYNC): Likewise.
13327 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13328 Likewise.
13329 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13330 [XPG3 || XPG4] (sigqueue): Likewise.
13331 [XPG3 || XPG4] (sigtimedwait): Likewise.
13332 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13333 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13334 [XPG3 || XPG4] (vsnprintf): Likewise.
13335 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13336 Likewise.
13337 [XPG3 || XPG4] (blksize_t): Likewise.
13338 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13339 Likewise.
13340 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13341 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13342 [XPG3 || XPG4] (struct itimerspec): Likewise.
13343 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13344 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13345 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13346 [XPG3 || XPG4] (clockid_t): Likewise.
13347 [XPG3 || XPG4] (timer_t): Likewise.
13348 [XPG3 || XPG4] (clock_getres): Likewise.
13349 [XPG3 || XPG4] (clock_gettime): Likewise.
13350 [XPG3 || XPG4] (clock_settime): Likewise.
13351 [XPG3 || XPG4] (nanosleep): Likewise.
13352 [XPG3 || XPG4] (timer_create): Likewise.
13353 [XPG3 || XPG4] (timer_delete): Likewise.
13354 [XPG3 || XPG4] (timer_gettime): Likewise.
13355 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13356 [XPG3 || XPG4] (timer_settime): Likewise.
13357 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13358 [XPG3 || XPG4] (getlogin_r): Likewise.
13359 [XPG3 || XPG4] (pread): Likewise.
13360 [XPG3 || XPG4] (pthread_atfork): Likewise.
13361 [XPG3 || XPG4] (pwrite): Likewise.
13362
ee663277
JM
13363 [BZ #14835]
13364 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13365 <bits/siginfo.h>.
13366
942caa16
PT
133672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13368
e19af380
PT
13369 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13370 finalizing MALLSTREAM.
13371
942caa16
PT
13372 * sysdeps/mach/hurd/syncfs.c: New file.
13373
cfde9b46
SP
133742012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13375
13376 [BZ #14719]
13377 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13378 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13379 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13380 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13381 (_nss_dns_gethostbyname4_r): Likewise.
13382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13383 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13384
f6da27e5
PH
133852012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13386
13387 [BZ #13763]
13388 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13389
6665d4a2
SM
133902012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13391
1f51ee92
SM
13392 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13393 * elf/cache.c (print_entry): Print ",AArch64" for
13394 FLAG_AARCH64_LIB64
13395
6665d4a2
SM
13396 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13397 * elf/cache.c (print_entry): Print ",hard-float" for
13398 FLAG_ARM_LIBHF.
13399
05b227bd
DM
134002012-11-18 David S. Miller <davem@davemloft.net>
13401
13402 With help from Joseph Myers.
13403 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13404 cutoff to 2**-13.
13405 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13406 cutoff to 2**-25.
13407 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13408 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13409 small.
13410 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13411 * math/libm-test.inc (y0_test): New tests.
13412 (y1_test): New tests.
13413 * sysdeps/i386/fpu/libm-test-ulps: Update.
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13416
786b0b67
AS
134172012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13418
13419 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13420 64-bit targets.
13421 * configure: Regenerated.
13422
8e18b86d
DM
134232012-11-17 David S. Miller <davem@davemloft.net>
13424
13425 [BZ #14811]
13426 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13427 nonzero exponents with absolute value below 0x1p-128 to +/-
13428 0x1p-128.
13429
531f1ae0
JM
134302012-11-17 Joseph Myers <joseph@codesourcery.com>
13431
12df29e2
JM
13432 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13433
150dc1a0
JM
13434 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13435
531f1ae0
JM
13436 * posix/getconf-speclist.c: New file.
13437 * posix/posix-envs.def: Likewise.
13438 * posix/confstr.c (START_ENV_GROUP): New macro.
13439 (END_ENV_GROUP): Likewise.
13440 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13441 (KNOWN_PRESENT_ENV_STRING): Likewise.
13442 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13443 (UNKNOWN_ENVIRONMENT): Likewise.
13444 (confstr): Include posix-envs.def instead of handling
13445 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13446 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13447 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13448 (END_ENV_GROUP): Likewise.
13449 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13450 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13451 (UNKNOWN_ENVIRONMENT): Likewise.
13452 (__sysconf): Include posix-envs.def instead of handling associated
13453 cases directly here.
13454 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13455 preprocessing getconf-speclist.c rather than running getconf or
13456 generating empty file.
13457
a93f9cbc
PT
134582012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13459
13460 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13461
d64d9f87
AL
134622012-11-16 Andrej Lajovic <natrij@gmail.com>
13463
13464 [BZ #14672]
13465 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13466
447885eb
DM
134672012-11-16 David S. Miller <davem@davemloft.net>
13468
13469 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13470 smaller than LDBL_EPSILON/2.0L, just return xm1.
13471
bcbf9830
L
134722012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * elf/tst-array1.c (init): Set constructor priority to 1000.
13475 (fini): Set destructor priority to 1000.
13476 * elf/tst-array2dep.c: Likewise.
13477
2b766585
SP
134782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13479
13480 [BZ #11741]
13481 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13482 (_IO_new_file_xsputn): Also return EOF if none of the input
13483 data was written when overflow failed.
13484 * libio/iopadn.c (_IO_padn): Likewise.
13485 * libio/iowpadn.c (_IO_wpadn): Likewise.
13486 * stdio-common/tst-put-error.c: Add copyright notice.
13487 (do_test): Add case for printing padded string.
13488 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13489 _IO_padn returned error.
13490 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13491 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13492 return EOF.
13493
b1848fde
SP
134942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13495
13496 * libio/libioP.h: Add comment note that the references to C++
13497 bits are now obsolete.
13498
2fd89785
MS
134992012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13500
13501 * math/libm-test.inc (check_complex): Use asprintf.
13502
e3ea5409
JM
135032012-11-14 Joseph Myers <joseph@codesourcery.com>
13504
13505 * debug/pcprofiledump.c (print_version): Update copyright year.
13506 * malloc/memusagestat.c (print_version): Likewise.
13507
2e64d265
L
135082012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 [BZ #14831]
13511 * elf/Makefile (tests): Add tst-audit8.
13512 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13513 ($(objpfx)tst-audit8.out): New target.
13514 (tst-audit8-ENV): New variable.
13515 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13516 audit if l_reloc_result is NULL.
13517 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13518 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13519 * elf/tst-audit8.c: New file.
13520
c485e4d2
MS
135212012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13522
13523 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13524 * misc/Makefile (CFLAGS-select.c): Define.
13525 * posix/Makefile (CFLAGS-pause.c): Define.
13526
3a0d900a
DM
135272012-11-13 David S. Miller <davem@davemloft.net>
13528
13529 * crypt/Makefile: Move test targets after toplevel Rules
13530 inclusion. Grab any necessary sysdep routines when linking.
13531 * crypt/md5.c (md5_process_block): Remove define, we will always
13532 name it __md5_process_block.
13533 (md5_finish_ctx): Update md5_process_block call.
13534 (md5_stream): Likewise.
13535 (md5_process_bytes): Likewise.
13536 (md5_process_block): Rename to __md5_process_block and move to ...
13537 * crypt/md5-block.c: ... here.
13538 * crypt/sha256.c (sha256_process_block): Move to ...
13539 * crypt/sha256-block.c: ... here.
13540 * crypt/sha512.c (sha512_process_block): Move to ...
13541 * crypt/sha512-block.c: ... here.
13542 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13543 path.
13544 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13545 * sysdeps/sparc/sparc64/multiarch/Makefile
13546 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13547 crypt subdir.
13548 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13549 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13550 multiarch changes.
13551 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13552 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13553 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13554 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13555 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13556 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13557 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13558 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13559 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13560 file.
13561 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13562 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13563 file.
13564 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13565
8ca89318
JM
135662012-11-13 Joseph Myers <joseph@codesourcery.com>
13567
e27d476a
JM
13568 * timezone/tzselect.ksh: Update from tzcode git revision
13569 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13570 * timezone/zdump.c: Likewise.
13571 * timezone/zic.c: Likewise.
13572 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13573 in TZVERSION setting, not $(PKGVERSION).
13574 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13575 REPORT_BUGS_TO settings.
13576
8ca89318
JM
13577 [BZ #14838]
13578 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13579 macro.
13580
47594329
MS
135812012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13582
13583 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13584 detection to immediately after _FP_ROUND().
13585 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13586 bits are 0.
13587
640ac3f1
DM
135882012-11-11 David S. Miller <davem@davemloft.net>
13589
13590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13591 inttypes.h
13592 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13593 __close rather than their public counterparts.
13594
3d2577bb
JM
135952012-11-10 Joseph Myers <joseph@codesourcery.com>
13596
13597 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13598 file.
13599 [UNIX98] (sem_timedwait): Do not expect.
13600 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13601 [XPG4 || UNIX98] (sockatmark): Do not expect.
13602 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13603 (clock_getcpuclockid): Do not expect.
13604 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13605 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13606 Do not expect.
13607 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13608 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13609 [UNIX98] (vwscanf): Likewise.
13610 [UNIX98] (vswscanf): Likewise.
13611
fb1ae1ee
JM
136122012-11-09 Joseph Myers <joseph@codesourcery.com>
13613
9ec6f8bd
JM
13614 * timezone/version.h: Remove file.
13615 * timezone/README: Do not refer to version.h.
13616 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13617 $(objpfx)version.h.
13618 ($(objpfx)zdump.o): Likewise.
c3f81911 13619 ($(objpfx)version.h): New target.
9ec6f8bd 13620
0aa8f8a1
JM
13621 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13622 2012i.
13623 * timezone/README: Don't mention modification to tzselect.ksh.
13624 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13625 work on unmodified tzselect.ksh. Substitute version numbers in
13626 tzselect.ksh.
13627
4e87147f
JM
13628 * Makefile (format-me): Remove.
13629 (INSTALL): Adjust indentation. Use commands directly instead of
13630 using $(format-me).
13631
8b748aed
JM
13632 * aclocal.m4 (ACX_PKGVERSION): New macro.
13633 (ACX_BUGURL): Likewise.
13634 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13635 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13636 (REPORT_BUGS_TO): Likewise.
13637 * configure: Regenerated.
13638 * config.h.in (PKGVERSION): New macro.
13639 (REPORT_BUGS_TO): Likewise.
13640 * config.make.in (PKGVERSION): New variable.
13641 (PKGVERSION_TEXI): Likewise.
13642 (REPORT_BUGS_TO): Likewise.
13643 (REPORT_BUGS_TEXI): Likewise.
13644 * Makefile (format-me): Use -I$(common-objpfx)manual.
13645 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13646 ($(common-objpfx)manual/%): New target.
13647 (manual/%): Remove target.
13648 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13649 (print_version): Use PKGVERSION.
13650 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13651 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13652 and REPORT_BUGS_TO.
13653 ($(objpfx)xtrace): Likewise.
13654 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13655 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13656 (print_version): Use PKGVERSION.
13657 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13658 (do_version): Use PKGVERSION.
13659 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13660 REPORT_BUGS_TO.
13661 (common-ldd-rewrite): Likewise.
13662 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13663 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13664 (print_version): Use PKGVERSION.
13665 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13666 * elf/pldd.c (argp_program_bug_address): Remove variable.
13667 (more_help): New function.
13668 (argp): Use more_help.
13669 (print_version): Use PKGVERSION.
13670 * elf/sln.c (main): Use PKGVERSION.
13671 (usage): Use REPORT_BUGS_TO.
13672 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13673 (top level): Use PKGVERSION.
13674 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13675 (print_version): Use PKGVERSION.
13676 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13677 (print_version): Use PKGVERSION.
13678 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13679 (print_version): Use PKGVERSION.
13680 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13681 (print_version): Use PKGVERSION.
13682 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13683 (print_version): Use PKGVERSION.
13684 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13685 (print_version): Use PKGVERSION.
13686 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13687 and BUGURL.
13688 ($(objpfx)memusage): Likewise.
13689 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13690 (do_version): Use PKGVERSION.
13691 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13692 (print_version): Use PKGVERSION.
13693 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13694 ($PKGVERSION): New variable.
13695 ($REPORT_BUGS_TO): Likewise.
13696 (usage): Use $REPORT_BUGS_TO.
13697 (top level): Use $PKGVERSION.
13698 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13699 ($(objpfx)pkgvers.texi): New rule.
13700 ($(objpfx)stamp-pkgvers): Likewise.
13701 * manual/install.texi: Include pkgvers.texi.
13702 (--with-pkgversion): Document new configure option.
13703 (--with-bugurl): Likewise.
13704 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13705 than necessarily for this particular distribution. Use
13706 REPORT_BUGS_TO for where to report bugs.
13707 * INSTALL: Regenerated.
13708 * manual/libc.texinfo: Include pkgvers.texi.
13709 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13710 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13711 (print_version): Use PKGVERSION.
13712 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13713 (print_version): Use PKGVERSION.
13714 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13715 (print_version): Use PKGVERSION.
13716 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13717 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13718 macro.
13719 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13720 (print_version): Use PKGVERSION.
13721 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13722 (print_version): Use PKGVERSION.
13723 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13724 and PKGVERSION.
13725
92e4b6a9
JM
13726 * timezone/checktab.awk: Update from tzcode 2012i.
13727 * timezone/ialloc.c: Likewise.
13728 * timezone/private.h: Likewise.
13729 * timezone/scheck.c: Likewise.
13730 * timezone/tzfile.h: Likewise.
13731 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13732 (TZVERSION): Hardcode tzcode version number.
13733 * timezone/zdump.c: Update from tzcode 2012i.
13734 * timezone/zic.c: Likewise.
13735 * timezone/version.h: New file.
13736 * timezone/README: Describe version.h. Update upstream location.
13737
9bde902c
JM
13738 [BZ #14824]
13739 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13740 (mktemp): Enable declaration.
13741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13742 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13744 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13745 Likewise.
13746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13747 Likewise.
13748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13749 Likewise.
13750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13751 Likewise.
13752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13753 Likewise.
13754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13755 Likewise.
13756
fb1ae1ee
JM
13757 [BZ #14821]
13758 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13759 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13760 for copies of such integer values.
13761 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13762 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13763
2c1adbcb
AJ
137642012-11-09 Andreas Jaeger <aj@suse.de>
13765
13766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13767 definitions and declarations that are provided by
13768 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13769
d0f8457e
AK
137702012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13771
3a235abb 13772 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13773 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13774 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13775 definition.
13776
57241e26
MS
137772012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13778
13779 * elf/elf.h: Update comment before AArch64 relocations.
13780
60e8270d
DM
137812012-11-07 David S. Miller <davem@davemloft.net>
13782
13783 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13784 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13785 (__start_context): Declare.
13786 (__makecontext_ret): Delete.
13787 (__makecontext): Hook up __start_context instead of
13788 __makecontext_ret.
13789 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13790 (sysdep_routines): Add __start_context when in stdlib.
13791
0fbb0fbc
JM
137922012-11-07 Joseph Myers <joseph@codesourcery.com>
13793
13794 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13795 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13796 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13797 hardcoded "nm".
13798 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13799 (READELF): New variable. Use it instead of hardcoded "readelf".
13800
eb48db7e
L
138012012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13802
13803 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13804 * sysdeps/x86/Makefile: Here.
13805 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13806 * sysdeps/x86/tst-xmmymm.sh: This.
13807
05bcf62a
JM
138082012-11-07 Joseph Myers <joseph@codesourcery.com>
13809
c4b6cf53
JM
13810 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13811 expectations.
13812 [UNIX98] (pthread_barrier_t): Do not expect.
13813 [UNIX98] (pthread_barrierattr_t): Likewise.
13814 [UNIX98] (pthread_spinlock_t): Likewise.
13815 [UNIX98] (pthread_barrier_destroy): Likewise.
13816 [UNIX98] (pthread_barrier_init): Likewise.
13817 [UNIX98] (pthread_barrier_wait): Likewise.
13818 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13819 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13820 [UNIX98] (pthread_barrierattr_init): Likewise.
13821 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13822 [UNIX98] (pthread_getcpuclockid): Likewise.
13823 [UNIX98] (pthread_mutex_timedlock): Likewise.
13824 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13825 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13826 [UNIX98] (pthread_sigmask): Likewise.
13827 [UNIX98] (pthread_spin_destroy): Likewise.
13828 [UNIX98] (pthread_spin_init): Likewise.
13829 [UNIX98] (pthread_spin_lock): Likewise.
13830 [UNIX98] (pthread_spin_trylock): Likewise.
13831 [UNIX98] (pthread_spin_unlock): Likewise.
13832 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13833 Do not expect.
13834 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13835 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13836 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13837 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13838 [XPG3 || XPG4] (pthread_key_t): Likewise.
13839 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13840 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13841 [XPG3 || XPG4] (pthread_once_t): Likewise.
13842 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13843 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13844 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13845 [XPG3 || XPG4] (pthread_t): Likewise.
13846
cbe6e120
JM
13847 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13848 not expect.
13849 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13850
1b126443
JM
13851 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13852 Change function return type to int.
13853
b961a573
JM
13854 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13855 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13856 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13857 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13858 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13859 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13860 [!POSIX] (posix_madvise): Likewise.
13861 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13862 && !UNIX98].
13863 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13864 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13865 (mode_t): Likewise.
13866 (posix_mem_offset): Likewise.
13867 (posix_typed_mem_get_info): Likewise.
13868 (posix_typed_mem_open): Likewise.
13869
9e188909
JM
13870 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13871 Change condition to [XOPEN2K8].
13872
05bcf62a
JM
13873 * conform/conformtest.pl: Preprocess allow-header data with -x c
13874 instead of from stdin.
13875 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13876 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13877 [C99-based standards] (cerfc): Likewise.
13878 [C99-based standards] (cexp2): Likewise.
13879 [C99-based standards] (cexpm1): Likewise.
13880 [C99-based standards] (clog10): Likewise.
13881 [C99-based standards] (clog1p): Likewise.
13882 [C99-based standards] (clog2): Likewise.
13883 [C99-based standards] (clgamma): Likewise.
13884 [C99-based standards] (ctgamma): Likewise.
13885 [C99-based standards] (cerff): Likewise.
13886 [C99-based standards] (cerfcf): Likewise.
13887 [C99-based standards] (cexp2f): Likewise.
13888 [C99-based standards] (cexpm1f): Likewise.
13889 [C99-based standards] (clog10f): Likewise.
13890 [C99-based standards] (clog1pf): Likewise.
13891 [C99-based standards] (clog2f): Likewise.
13892 [C99-based standards] (clgammaf): Likewise.
13893 [C99-based standards] (ctgammaf): Likewise.
13894 [C99-based standards] (cerfl): Likewise.
13895 [C99-based standards] (cerfcl): Likewise.
13896 [C99-based standards] (cexp2l): Likewise.
13897 [C99-based standards] (cexpm1l): Likewise.
13898 [C99-based standards] (clog10l): Likewise.
13899 [C99-based standards] (clog1pl): Likewise.
13900 [C99-based standards] (clog2l): Likewise.
13901 [C99-based standards] (clgammal): Likewise.
13902 [C99-based standards] (ctgammal): Likewise.
13903 * conform/data/inttypes.h-data [C99-based standards]: Include
13904 stdint.h-data. Remove all expectations for stdint.h contents.
13905 [C99-based standards] (PRI*): Do not allow.
13906 [C99-based standards] (SCN*): Likewise.
13907 [C99-based standards] (*_t): Likewise.
13908 [C99-based-standards] (PRId8): Expect macro.
13909 [C99-based-standards] (PRIi8): Likewise.
13910 [C99-based-standards] (PRIo8): Likewise.
13911 [C99-based-standards] (PRIu8): Likewise.
13912 [C99-based-standards] (PRIx8): Likewise.
13913 [C99-based-standards] (PRIX8): Likewise.
13914 [C99-based-standards] (SCNd8): Likewise.
13915 [C99-based-standards] (SCNi8): Likewise.
13916 [C99-based-standards] (SCNo8): Likewise.
13917 [C99-based-standards] (SCNu8): Likewise.
13918 [C99-based-standards] (SCNx8): Likewise.
13919 [C99-based-standards] (PRIdLEAST8): Likewise.
13920 [C99-based-standards] (PRIiLEAST8): Likewise.
13921 [C99-based-standards] (PRIoLEAST8): Likewise.
13922 [C99-based-standards] (PRIuLEAST8): Likewise.
13923 [C99-based-standards] (PRIxLEAST8): Likewise.
13924 [C99-based-standards] (PRIXLEAST8): Likewise.
13925 [C99-based-standards] (SCNdLEAST8): Likewise.
13926 [C99-based-standards] (SCNiLEAST8): Likewise.
13927 [C99-based-standards] (SCNoLEAST8): Likewise.
13928 [C99-based-standards] (SCNuLEAST8): Likewise.
13929 [C99-based-standards] (SCNxLEAST8): Likewise.
13930 [C99-based-standards] (PRIdFAST8): Likewise.
13931 [C99-based-standards] (PRIiFAST8): Likewise.
13932 [C99-based-standards] (PRIoFAST8): Likewise.
13933 [C99-based-standards] (PRIuFAST8): Likewise.
13934 [C99-based-standards] (PRIxFAST8): Likewise.
13935 [C99-based-standards] (PRIXFAST8): Likewise.
13936 [C99-based-standards] (SCNdFAST8): Likewise.
13937 [C99-based-standards] (SCNiFAST8): Likewise.
13938 [C99-based-standards] (SCNoFAST8): Likewise.
13939 [C99-based-standards] (SCNuFAST8): Likewise.
13940 [C99-based-standards] (SCNxFAST8): Likewise.
13941 [C99-based-standards] (PRId16): Likewise.
13942 [C99-based-standards] (PRIi16): Likewise.
13943 [C99-based-standards] (PRIo16): Likewise.
13944 [C99-based-standards] (PRIu16): Likewise.
13945 [C99-based-standards] (PRIx16): Likewise.
13946 [C99-based-standards] (PRIX16): Likewise.
13947 [C99-based-standards] (SCNd16): Likewise.
13948 [C99-based-standards] (SCNi16): Likewise.
13949 [C99-based-standards] (SCNo16): Likewise.
13950 [C99-based-standards] (SCNu16): Likewise.
13951 [C99-based-standards] (SCNx16): Likewise.
13952 [C99-based-standards] (PRIdLEAST16): Likewise.
13953 [C99-based-standards] (PRIiLEAST16): Likewise.
13954 [C99-based-standards] (PRIoLEAST16): Likewise.
13955 [C99-based-standards] (PRIuLEAST16): Likewise.
13956 [C99-based-standards] (PRIxLEAST16): Likewise.
13957 [C99-based-standards] (PRIXLEAST16): Likewise.
13958 [C99-based-standards] (SCNdLEAST16): Likewise.
13959 [C99-based-standards] (SCNiLEAST16): Likewise.
13960 [C99-based-standards] (SCNoLEAST16): Likewise.
13961 [C99-based-standards] (SCNuLEAST16): Likewise.
13962 [C99-based-standards] (SCNxLEAST16): Likewise.
13963 [C99-based-standards] (PRIdFAST16): Likewise.
13964 [C99-based-standards] (PRIiFAST16): Likewise.
13965 [C99-based-standards] (PRIoFAST16): Likewise.
13966 [C99-based-standards] (PRIuFAST16): Likewise.
13967 [C99-based-standards] (PRIxFAST16): Likewise.
13968 [C99-based-standards] (PRIXFAST16): Likewise.
13969 [C99-based-standards] (SCNdFAST16): Likewise.
13970 [C99-based-standards] (SCNiFAST16): Likewise.
13971 [C99-based-standards] (SCNoFAST16): Likewise.
13972 [C99-based-standards] (SCNuFAST16): Likewise.
13973 [C99-based-standards] (SCNxFAST16): Likewise.
13974 [C99-based-standards] (PRId32): Likewise.
13975 [C99-based-standards] (PRIi32): Likewise.
13976 [C99-based-standards] (PRIo32): Likewise.
13977 [C99-based-standards] (PRIu32): Likewise.
13978 [C99-based-standards] (PRIx32): Likewise.
13979 [C99-based-standards] (PRIX32): Likewise.
13980 [C99-based-standards] (SCNd32): Likewise.
13981 [C99-based-standards] (SCNi32): Likewise.
13982 [C99-based-standards] (SCNo32): Likewise.
13983 [C99-based-standards] (SCNu32): Likewise.
13984 [C99-based-standards] (SCNx32): Likewise.
13985 [C99-based-standards] (PRIdLEAST32): Likewise.
13986 [C99-based-standards] (PRIiLEAST32): Likewise.
13987 [C99-based-standards] (PRIoLEAST32): Likewise.
13988 [C99-based-standards] (PRIuLEAST32): Likewise.
13989 [C99-based-standards] (PRIxLEAST32): Likewise.
13990 [C99-based-standards] (PRIXLEAST32): Likewise.
13991 [C99-based-standards] (SCNdLEAST32): Likewise.
13992 [C99-based-standards] (SCNiLEAST32): Likewise.
13993 [C99-based-standards] (SCNoLEAST32): Likewise.
13994 [C99-based-standards] (SCNuLEAST32): Likewise.
13995 [C99-based-standards] (SCNxLEAST32): Likewise.
13996 [C99-based-standards] (PRIdFAST32): Likewise.
13997 [C99-based-standards] (PRIiFAST32): Likewise.
13998 [C99-based-standards] (PRIoFAST32): Likewise.
13999 [C99-based-standards] (PRIuFAST32): Likewise.
14000 [C99-based-standards] (PRIxFAST32): Likewise.
14001 [C99-based-standards] (PRIXFAST32): Likewise.
14002 [C99-based-standards] (SCNdFAST32): Likewise.
14003 [C99-based-standards] (SCNiFAST32): Likewise.
14004 [C99-based-standards] (SCNoFAST32): Likewise.
14005 [C99-based-standards] (SCNuFAST32): Likewise.
14006 [C99-based-standards] (SCNxFAST32): Likewise.
14007 [C99-based-standards] (PRId64): Likewise.
14008 [C99-based-standards] (PRIi64): Likewise.
14009 [C99-based-standards] (PRIo64): Likewise.
14010 [C99-based-standards] (PRIu64): Likewise.
14011 [C99-based-standards] (PRIx64): Likewise.
14012 [C99-based-standards] (PRIX64): Likewise.
14013 [C99-based-standards] (SCNd64): Likewise.
14014 [C99-based-standards] (SCNi64): Likewise.
14015 [C99-based-standards] (SCNo64): Likewise.
14016 [C99-based-standards] (SCNu64): Likewise.
14017 [C99-based-standards] (SCNx64): Likewise.
14018 [C99-based-standards] (PRIdLEAST64): Likewise.
14019 [C99-based-standards] (PRIiLEAST64): Likewise.
14020 [C99-based-standards] (PRIoLEAST64): Likewise.
14021 [C99-based-standards] (PRIuLEAST64): Likewise.
14022 [C99-based-standards] (PRIxLEAST64): Likewise.
14023 [C99-based-standards] (PRIXLEAST64): Likewise.
14024 [C99-based-standards] (SCNdLEAST64): Likewise.
14025 [C99-based-standards] (SCNiLEAST64): Likewise.
14026 [C99-based-standards] (SCNoLEAST64): Likewise.
14027 [C99-based-standards] (SCNuLEAST64): Likewise.
14028 [C99-based-standards] (SCNxLEAST64): Likewise.
14029 [C99-based-standards] (PRIdFAST64): Likewise.
14030 [C99-based-standards] (PRIiFAST64): Likewise.
14031 [C99-based-standards] (PRIoFAST64): Likewise.
14032 [C99-based-standards] (PRIuFAST64): Likewise.
14033 [C99-based-standards] (PRIxFAST64): Likewise.
14034 [C99-based-standards] (PRIXFAST64): Likewise.
14035 [C99-based-standards] (SCNdFAST64): Likewise.
14036 [C99-based-standards] (SCNiFAST64): Likewise.
14037 [C99-based-standards] (SCNoFAST64): Likewise.
14038 [C99-based-standards] (SCNuFAST64): Likewise.
14039 [C99-based-standards] (SCNxFAST64): Likewise.
14040 [C99-based-standards] (PRIdMAX): Likewise.
14041 [C99-based-standards] (PRIiMAX): Likewise.
14042 [C99-based-standards] (PRIoMAX): Likewise.
14043 [C99-based-standards] (PRIuMAX): Likewise.
14044 [C99-based-standards] (PRIxMAX): Likewise.
14045 [C99-based-standards] (PRIXMAX): Likewise.
14046 [C99-based-standards] (SCNdMAX): Likewise.
14047 [C99-based-standards] (SCNiMAX): Likewise.
14048 [C99-based-standards] (SCNoMAX): Likewise.
14049 [C99-based-standards] (SCNuMAX): Likewise.
14050 [C99-based-standards] (SCNxMAX): Likewise.
14051 [C99-based-standards] (PRIdPTR): Likewise.
14052 [C99-based-standards] (PRIiPTR): Likewise.
14053 [C99-based-standards] (PRIoPTR): Likewise.
14054 [C99-based-standards] (PRIuPTR): Likewise.
14055 [C99-based-standards] (PRIxPTR): Likewise.
14056 [C99-based-standards] (PRIXPTR): Likewise.
14057 [C99-based-standards] (SCNdPTR): Likewise.
14058 [C99-based-standards] (SCNiPTR): Likewise.
14059 [C99-based-standards] (SCNoPTR): Likewise.
14060 [C99-based-standards] (SCNuPTR): Likewise.
14061 [C99-based-standards] (SCNxPTR): Likewise.
14062 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14063 allow.
14064 * conform/data/stdint.h-data: Update comments to clarify
14065 requirements.
14066 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14067 type.
14068 [C99-based standards] (INT8_MAX): Likewise.
14069 [C99-based standards] (INT16_MIN): Likewise.
14070 [C99-based standards] (INT16_MAX): Likewise.
14071 [C99-based standards] (INT32_MIN): Likewise.
14072 [C99-based standards] (INT32_MAX): Likewise.
14073 [C99-based standards] (INT64_MIN): Likewise.
14074 [C99-based standards] (INT64_MAX): Likewise.
14075 [C99-based standards] (UINT8_MAX): Likewise.
14076 [C99-based standards] (UINT16_MAX): Likewise.
14077 [C99-based standards] (UINT32_MAX): Likewise.
14078 [C99-based standards] (UINT64_MAX): Likewise.
14079 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14080 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14081 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14082 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14083 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14084 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14085 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14086 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14087 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14088 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14089 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14090 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14091 [C99-based standards] (INT_FAST8_MIN): Likewise.
14092 [C99-based standards] (INT_FAST8_MAX): Likewise.
14093 [C99-based standards] (INT_FAST16_MIN): Likewise.
14094 [C99-based standards] (INT_FAST16_MAX): Likewise.
14095 [C99-based standards] (INT_FAST32_MIN): Likewise.
14096 [C99-based standards] (INT_FAST32_MAX): Likewise.
14097 [C99-based standards] (INT_FAST64_MIN): Likewise.
14098 [C99-based standards] (INT_FAST64_MAX): Likewise.
14099 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14100 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14101 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14102 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14103 [C99-based standards] (INTPTR_MIN): Likewise.
14104 [C99-based standards] (INTPTR_MAX): Likewise.
14105 [C99-based standards] (UINTPTR_MAX): Likewise.
14106 [C99-based standards] (INTMAX_MIN): Likewise.
14107 [C99-based standards] (INTMAX_MAX): Likewise.
14108 [C99-based standards] (UINTMAX_MAX): Likewise.
14109 [C99-based standards] (PTRDIFF_MIN): Likewise.
14110 [C99-based standards] (PTRDIFF_MAX): Likewise.
14111 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14112 [C99-based standards] (SIZE_MAX): Likewise.
14113 [C99-based standards] (WCHAR_MAX): Likewise.
14114 [C99-based standards] (WINT_MAX): Likewise.
14115 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14116 constraint on value.
14117 [C99-based standards] (WCHAR_MIN): Likewise.
14118 [C99-based standards] (WINT_MIN): Likewise.
14119 [C99-based standards] (*_t): Allow.
14120 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14121 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14122 Include math.h-data and complex.h-data. Remove all expectations
14123 of math.h and complex.h contents.
14124 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14125 at end of line.
14126 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14127 (struct tm): Expect tag.
14128 [C99-based-standards] (wcstof): Expect function.
14129 [C99-based-standards] (wcstold): Likewise.
14130 [C99-based-standards] (wcstoll): Likewise.
14131 [C99-based-standards] (wcstoull): Likewise.
14132 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14133 macro-int-constant. Specify type.
14134 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14135 constraint on value.
14136 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14137 Specify type.
14138 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14139 Specify value.
14140 [ISO C standards]: Do not allow headers.
14141 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14142 wcs[abcdefghijklmnopqrstuvwxyz]*.
14143 [ISO C standards] (*_t): Do not allow.
14144 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14145 Expect function.
14146 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14147 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14148 Specify type.
14149 [ISO C standards]: Do not allow headers.
14150 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14151 is[abcdefghijklmnopqrstuvwxyz]*.
14152 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14153 to[abcdefghijklmnopqrstuvwxyz]*.
14154 [ISO C standards] (*_t): Do not allow.
14155 * conform/data/stdalign.h-data: New file.
14156 * conform/data/stdbool.h-data: Likewise.
14157 * conform/data/stdnoreturn.h-data: Likewise.
14158
7514feb8
RM
141592012-11-07 Roland McGrath <roland@hack.frob.com>
14160
14161 [BZ #14815]
14162 * manual/filesys.texi (Directory Entries): Typo fix.
14163 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14164
19b2ecfc
MS
141652012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14166
14167 * elf/elf.h (EM_AARCH64): New macro.
14168 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14169 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14170 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14171 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14172 (R_AARCH64_TLSDESC): Likewise.
14173 (NT_ARM_TLS): Likewise.
14174 (NT_ARM_HW_BREAK): Likewise.
14175 (NT_ARM_HW_WATCH): Likewise.
14176
60e235ee
JM
141772012-11-07 Joseph Myers <joseph@codesourcery.com>
14178
14179 [BZ #14811]
14180 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14181 (__ieee754_powl): Saturate nonzero exponents with absolute value
14182 below 0x1p-79 to +/- 0x1p-79.
14183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14184 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14185 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14186 nonzero exponents with absolute value below 0x1p-32 to +/-
14187 0x1p-32.
14188 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14189 (__ieee754_powl): Saturate nonzero exponents with absolute value
14190 below 0x1p-79 to +/- 0x1p-79.
14191 * math/libm-test.inc (pow_test): Add more tests.
14192
0ab234b7
AK
141932012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14194
14195 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14196 _dl_s390_cap_flags with kernel. Increase string length.
14197 (_dl_s390_platforms): Add z196 and zEC12.
14198
45832f74
JM
141992012-11-07 Joseph Myers <joseph@codesourcery.com>
14200
14201 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14202 Change XOPEN21K to XOPEN2K.
14203
19218757
MK
142042012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14205
14206 * string/memmove.c: Use memcpy when possible.
14207
c5f45721
AJ
142082012-11-06 Andreas Jaeger <aj@suse.de>
14209
14210 * po/eo.po: Update from translation team.
14211
82477c28
JM
142122012-11-06 Joseph Myers <joseph@codesourcery.com>
14213
14214 [BZ #14793]
14215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14216 exponent and small x and y exponents, scale x or y up. Increase
14217 by 2 the exponent used in scaling up.
14218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14220 * math/libm-test.inc (fma_test): Add more tests.
14221 (fma_test_towardzero): Likewise.
14222 (fma_test_downward): Likewise.
14223 (fma_test_upward): Likewise.
14224
99252c8c
JM
142252012-11-05 Joseph Myers <joseph@codesourcery.com>
14226
acfa885f
JM
14227 [BZ #14805]
14228 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14229 fenv_t *.
14230
99252c8c
JM
14231 [BZ #14801]
14232 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14233 namespace for names of struct fields.
14234 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14235 fenv_t fields.
14236 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14237 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14238
d6d98dea
ST
142392012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14240
14241 [BZ #3665]
14242 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14243
e10bb107
TS
142442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14245
14246 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14247 PTR_DEMANGLE.
14248
14249 [BZ #5246]
14250 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14251 PTR_DEMANGLE.
14252
a0c2940d
JM
142532012-11-04 Joseph Myers <joseph@codesourcery.com>
14254
14255 [BZ #14797]
14256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14257 definitely overflow as x * y not x * y + z.
14258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14260 * math/libm-test.inc (fma_test): Add more tests.
14261 (fma_test_towardzero): Likewise.
14262 (fma_test_downward): Likewise.
14263 (fma_test_upward): Likewise.
14264
b830319d
TS
142652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14266
14267 [BZ #157]
14268
14269 * include/stub-tag.h: Remove file.
14270 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14271 '#include' of it.
14272 * manual/maint.texi (Porting): Don't reference it.
14273 * Makerules ($(objpfx)stubs): Likewise.
14274 * dirent/closedir.c: Don't include <stub-tag.h>.
14275 * dirent/dirfd.c: Likewise.
14276 * dirent/fdopendir.c: Likewise.
14277 * dirent/getdents.c: Likewise.
14278 * dirent/getdents64.c: Likewise.
14279 * dirent/opendir.c: Likewise.
14280 * dirent/readdir.c: Likewise.
14281 * dirent/readdir64.c: Likewise.
14282 * dirent/readdir64_r.c: Likewise.
14283 * dirent/readdir_r.c: Likewise.
14284 * dirent/rewinddir.c: Likewise.
14285 * dirent/seekdir.c: Likewise.
14286 * dirent/telldir.c: Likewise.
14287 * gmon/profil.c: Likewise.
14288 * grp/setgroups.c: Likewise.
14289 * inet/if_index.c: Likewise.
14290 * io/access.c: Likewise.
14291 * io/chdir.c: Likewise.
14292 * io/chmod.c: Likewise.
14293 * io/chown.c: Likewise.
14294 * io/close.c: Likewise.
14295 * io/dup.c: Likewise.
14296 * io/dup2.c: Likewise.
14297 * io/dup3.c: Likewise.
14298 * io/euidaccess.c: Likewise.
14299 * io/faccessat.c: Likewise.
14300 * io/fchdir.c: Likewise.
14301 * io/fchmod.c: Likewise.
14302 * io/fchmodat.c: Likewise.
14303 * io/fchown.c: Likewise.
14304 * io/fchownat.c: Likewise.
14305 * io/fcntl.c: Likewise.
14306 * io/flock.c: Likewise.
14307 * io/fstatfs.c: Likewise.
14308 * io/fstatfs64.c: Likewise.
14309 * io/fstatvfs.c: Likewise.
14310 * io/fstatvfs64.c: Likewise.
14311 * io/futimens.c: Likewise.
14312 * io/fxstat.c: Likewise.
14313 * io/fxstat64.c: Likewise.
14314 * io/fxstatat.c: Likewise.
14315 * io/fxstatat64.c: Likewise.
14316 * io/getcwd.c: Likewise.
14317 * io/isatty.c: Likewise.
14318 * io/lchmod.c: Likewise.
14319 * io/lchown.c: Likewise.
14320 * io/link.c: Likewise.
14321 * io/linkat.c: Likewise.
14322 * io/lseek.c: Likewise.
14323 * io/lseek64.c: Likewise.
14324 * io/lxstat64.c: Likewise.
14325 * io/mkdir.c: Likewise.
14326 * io/mkdirat.c: Likewise.
14327 * io/mkfifo.c: Likewise.
14328 * io/mkfifoat.c: Likewise.
14329 * io/open.c: Likewise.
14330 * io/open64.c: Likewise.
14331 * io/openat.c: Likewise.
14332 * io/openat64.c: Likewise.
14333 * io/pipe.c: Likewise.
14334 * io/pipe2.c: Likewise.
14335 * io/poll.c: Likewise.
14336 * io/posix_fadvise.c: Likewise.
14337 * io/posix_fadvise64.c: Likewise.
14338 * io/posix_fallocate.c: Likewise.
14339 * io/posix_fallocate64.c: Likewise.
14340 * io/read.c: Likewise.
14341 * io/readlink.c: Likewise.
14342 * io/readlinkat.c: Likewise.
14343 * io/rmdir.c: Likewise.
14344 * io/sendfile.c: Likewise.
14345 * io/sendfile64.c: Likewise.
14346 * io/statfs.c: Likewise.
14347 * io/statfs64.c: Likewise.
14348 * io/statvfs.c: Likewise.
14349 * io/statvfs64.c: Likewise.
14350 * io/symlink.c: Likewise.
14351 * io/symlinkat.c: Likewise.
14352 * io/ttyname.c: Likewise.
14353 * io/ttyname_r.c: Likewise.
14354 * io/umask.c: Likewise.
14355 * io/unlink.c: Likewise.
14356 * io/unlinkat.c: Likewise.
14357 * io/utime.c: Likewise.
14358 * io/utimensat.c: Likewise.
14359 * io/write.c: Likewise.
14360 * io/xmknod.c: Likewise.
14361 * io/xmknodat.c: Likewise.
14362 * io/xstat.c: Likewise.
14363 * io/xstat64.c: Likewise.
14364 * login/getpt.c: Likewise.
14365 * login/grantpt.c: Likewise.
14366 * login/unlockpt.c: Likewise.
14367 * math/e_acoshl.c: Likewise.
14368 * math/e_acosl.c: Likewise.
14369 * math/e_asinl.c: Likewise.
14370 * math/e_atan2l.c: Likewise.
14371 * math/e_atanhl.c: Likewise.
14372 * math/e_coshl.c: Likewise.
14373 * math/e_expl.c: Likewise.
14374 * math/e_fmodl.c: Likewise.
14375 * math/e_gammal_r.c: Likewise.
14376 * math/e_hypotl.c: Likewise.
14377 * math/e_j0l.c: Likewise.
14378 * math/e_j1l.c: Likewise.
14379 * math/e_jnl.c: Likewise.
14380 * math/e_lgammal_r.c: Likewise.
14381 * math/e_log10l.c: Likewise.
14382 * math/e_log2l.c: Likewise.
14383 * math/e_logl.c: Likewise.
14384 * math/e_powl.c: Likewise.
14385 * math/e_rem_pio2l.c: Likewise.
14386 * math/e_sinhl.c: Likewise.
14387 * math/e_sqrtl.c: Likewise.
14388 * math/fclrexcpt.c: Likewise.
14389 * math/fedisblxcpt.c: Likewise.
14390 * math/feenablxcpt.c: Likewise.
14391 * math/fegetenv.c: Likewise.
14392 * math/fegetexcept.c: Likewise.
14393 * math/fegetround.c: Likewise.
14394 * math/feholdexcpt.c: Likewise.
14395 * math/fesetenv.c: Likewise.
14396 * math/fesetround.c: Likewise.
14397 * math/feupdateenv.c: Likewise.
14398 * math/fgetexcptflg.c: Likewise.
14399 * math/fraiseexcpt.c: Likewise.
14400 * math/fsetexcptflg.c: Likewise.
14401 * math/ftestexcept.c: Likewise.
14402 * math/k_cosl.c: Likewise.
14403 * math/k_rem_pio2l.c: Likewise.
14404 * math/k_sinl.c: Likewise.
14405 * math/k_tanl.c: Likewise.
14406 * math/s_asinhl.c: Likewise.
14407 * math/s_atanl.c: Likewise.
14408 * math/s_cbrtl.c: Likewise.
14409 * math/s_erfl.c: Likewise.
14410 * math/s_expm1l.c: Likewise.
14411 * math/s_log1pl.c: Likewise.
14412 * math/s_tanhl.c: Likewise.
14413 * misc/acct.c: Likewise.
14414 * misc/brk.c: Likewise.
14415 * misc/chflags.c: Likewise.
14416 * misc/chroot.c: Likewise.
14417 * misc/fchflags.c: Likewise.
14418 * misc/fgetxattr.c: Likewise.
14419 * misc/flistxattr.c: Likewise.
14420 * misc/fremovexattr.c: Likewise.
14421 * misc/fsetxattr.c: Likewise.
14422 * misc/fsync.c: Likewise.
14423 * misc/ftruncate.c: Likewise.
14424 * misc/futimes.c: Likewise.
14425 * misc/futimesat.c: Likewise.
14426 * misc/getdomain.c: Likewise.
14427 * misc/getdtsz.c: Likewise.
14428 * misc/gethostid.c: Likewise.
14429 * misc/gethostname.c: Likewise.
14430 * misc/getloadavg.c: Likewise.
14431 * misc/getpagesize.c: Likewise.
14432 * misc/getsysstats.c: Likewise.
14433 * misc/getxattr.c: Likewise.
14434 * misc/gtty.c: Likewise.
14435 * misc/ioctl.c: Likewise.
14436 * misc/lgetxattr.c: Likewise.
14437 * misc/listxattr.c: Likewise.
14438 * misc/llistxattr.c: Likewise.
14439 * misc/lremovexattr.c: Likewise.
14440 * misc/lsetxattr.c: Likewise.
14441 * misc/lutimes.c: Likewise.
14442 * misc/madvise.c: Likewise.
14443 * misc/mincore.c: Likewise.
14444 * misc/mlock.c: Likewise.
14445 * misc/mlockall.c: Likewise.
14446 * misc/mmap.c: Likewise.
14447 * misc/mprotect.c: Likewise.
14448 * misc/msync.c: Likewise.
14449 * misc/munlock.c: Likewise.
14450 * misc/munlockall.c: Likewise.
14451 * misc/munmap.c: Likewise.
14452 * misc/preadv.c: Likewise.
14453 * misc/preadv64.c: Likewise.
14454 * misc/ptrace.c: Likewise.
14455 * misc/pwritev.c: Likewise.
14456 * misc/pwritev64.c: Likewise.
14457 * misc/readv.c: Likewise.
14458 * misc/reboot.c: Likewise.
14459 * misc/remap_file_pages.c: Likewise.
14460 * misc/removexattr.c: Likewise.
14461 * misc/revoke.c: Likewise.
14462 * misc/select.c: Likewise.
14463 * misc/setdomain.c: Likewise.
14464 * misc/setegid.c: Likewise.
14465 * misc/seteuid.c: Likewise.
14466 * misc/sethostid.c: Likewise.
14467 * misc/sethostname.c: Likewise.
14468 * misc/setregid.c: Likewise.
14469 * misc/setreuid.c: Likewise.
14470 * misc/setxattr.c: Likewise.
14471 * misc/sstk.c: Likewise.
14472 * misc/stty.c: Likewise.
14473 * misc/swapoff.c: Likewise.
14474 * misc/swapon.c: Likewise.
14475 * misc/sync.c: Likewise.
14476 * misc/syncfs.c: Likewise.
14477 * misc/syscall.c: Likewise.
14478 * misc/truncate.c: Likewise.
14479 * misc/ualarm.c: Likewise.
14480 * misc/usleep.c: Likewise.
14481 * misc/ustat.c: Likewise.
14482 * misc/utimes.c: Likewise.
14483 * misc/vhangup.c: Likewise.
14484 * misc/writev.c: Likewise.
14485 * posix/_exit.c: Likewise.
14486 * posix/alarm.c: Likewise.
14487 * posix/execve.c: Likewise.
14488 * posix/fexecve.c: Likewise.
14489 * posix/fork.c: Likewise.
14490 * posix/fpathconf.c: Likewise.
14491 * posix/getaddrinfo.c: Likewise.
14492 * posix/getegid.c: Likewise.
14493 * posix/geteuid.c: Likewise.
14494 * posix/getgid.c: Likewise.
14495 * posix/getgroups.c: Likewise.
14496 * posix/getlogin.c: Likewise.
14497 * posix/getlogin_r.c: Likewise.
14498 * posix/getpgid.c: Likewise.
14499 * posix/getpid.c: Likewise.
14500 * posix/getppid.c: Likewise.
14501 * posix/getresgid.c: Likewise.
14502 * posix/getresuid.c: Likewise.
14503 * posix/getsid.c: Likewise.
14504 * posix/getuid.c: Likewise.
14505 * posix/glob64.c: Likewise.
14506 * posix/nanosleep.c: Likewise.
14507 * posix/pathconf.c: Likewise.
14508 * posix/pause.c: Likewise.
14509 * posix/posix_madvise.c: Likewise.
14510 * posix/pread.c: Likewise.
14511 * posix/pread64.c: Likewise.
14512 * posix/pwrite.c: Likewise.
14513 * posix/pwrite64.c: Likewise.
14514 * posix/sched_getaffinity.c: Likewise.
14515 * posix/sched_getp.c: Likewise.
14516 * posix/sched_gets.c: Likewise.
14517 * posix/sched_primax.c: Likewise.
14518 * posix/sched_primin.c: Likewise.
14519 * posix/sched_rr_gi.c: Likewise.
14520 * posix/sched_setaffinity.c: Likewise.
14521 * posix/sched_setp.c: Likewise.
14522 * posix/sched_sets.c: Likewise.
14523 * posix/sched_yield.c: Likewise.
14524 * posix/setgid.c: Likewise.
14525 * posix/setlogin.c: Likewise.
14526 * posix/setpgid.c: Likewise.
14527 * posix/setresgid.c: Likewise.
14528 * posix/setresuid.c: Likewise.
14529 * posix/setsid.c: Likewise.
14530 * posix/setuid.c: Likewise.
14531 * posix/sleep.c: Likewise.
14532 * posix/spawni.c: Likewise.
14533 * posix/sysconf.c: Likewise.
14534 * posix/times.c: Likewise.
14535 * posix/wait.c: Likewise.
14536 * posix/wait3.c: Likewise.
14537 * posix/wait4.c: Likewise.
14538 * posix/waitpid.c: Likewise.
14539 * resolv/gai_sigqueue.c: Likewise.
14540 * resource/getpriority.c: Likewise.
14541 * resource/getrlimit.c: Likewise.
14542 * resource/getrusage.c: Likewise.
14543 * resource/nice.c: Likewise.
14544 * resource/setpriority.c: Likewise.
14545 * resource/setrlimit.c: Likewise.
14546 * resource/ulimit.c: Likewise.
14547 * rt/aio_cancel.c: Likewise.
14548 * rt/aio_fsync.c: Likewise.
14549 * rt/aio_read.c: Likewise.
14550 * rt/aio_sigqueue.c: Likewise.
14551 * rt/aio_suspend.c: Likewise.
14552 * rt/aio_write.c: Likewise.
14553 * rt/clock_getres.c: Likewise.
14554 * rt/clock_gettime.c: Likewise.
14555 * rt/clock_nanosleep.c: Likewise.
14556 * rt/clock_settime.c: Likewise.
14557 * rt/lio_listio.c: Likewise.
14558 * rt/mq_close.c: Likewise.
14559 * rt/mq_getattr.c: Likewise.
14560 * rt/mq_notify.c: Likewise.
14561 * rt/mq_open.c: Likewise.
14562 * rt/mq_receive.c: Likewise.
14563 * rt/mq_send.c: Likewise.
14564 * rt/mq_setattr.c: Likewise.
14565 * rt/mq_timedreceive.c: Likewise.
14566 * rt/mq_timedsend.c: Likewise.
14567 * rt/mq_unlink.c: Likewise.
14568 * rt/shm_open.c: Likewise.
14569 * rt/shm_unlink.c: Likewise.
14570 * rt/timer_create.c: Likewise.
14571 * rt/timer_delete.c: Likewise.
14572 * rt/timer_getoverr.c: Likewise.
14573 * rt/timer_gettime.c: Likewise.
14574 * rt/timer_settime.c: Likewise.
14575 * setjmp/__longjmp.c: Likewise.
14576 * setjmp/setjmp.c: Likewise.
14577 * signal/kill.c: Likewise.
14578 * signal/killpg.c: Likewise.
14579 * signal/raise.c: Likewise.
14580 * signal/sigaction.c: Likewise.
14581 * signal/sigaltstack.c: Likewise.
14582 * signal/sigblock.c: Likewise.
14583 * signal/sigignore.c: Likewise.
14584 * signal/sigintr.c: Likewise.
14585 * signal/signal.c: Likewise.
14586 * signal/sigpause.c: Likewise.
14587 * signal/sigpending.c: Likewise.
14588 * signal/sigqueue.c: Likewise.
14589 * signal/sigreturn.c: Likewise.
14590 * signal/sigset.c: Likewise.
14591 * signal/sigsetmask.c: Likewise.
14592 * signal/sigstack.c: Likewise.
14593 * signal/sigsuspend.c: Likewise.
14594 * signal/sigtimedwait.c: Likewise.
14595 * signal/sigvec.c: Likewise.
14596 * signal/sigwait.c: Likewise.
14597 * signal/sigwaitinfo.c: Likewise.
14598 * signal/sysv_signal.c: Likewise.
14599 * socket/accept.c: Likewise.
14600 * socket/accept4.c: Likewise.
14601 * socket/bind.c: Likewise.
14602 * socket/connect.c: Likewise.
14603 * socket/getpeername.c: Likewise.
14604 * socket/getsockname.c: Likewise.
14605 * socket/getsockopt.c: Likewise.
14606 * socket/isfdtype.c: Likewise.
14607 * socket/listen.c: Likewise.
14608 * socket/recv.c: Likewise.
14609 * socket/recvfrom.c: Likewise.
14610 * socket/recvmsg.c: Likewise.
14611 * socket/send.c: Likewise.
14612 * socket/sendmsg.c: Likewise.
14613 * socket/sendto.c: Likewise.
14614 * socket/setsockopt.c: Likewise.
14615 * socket/shutdown.c: Likewise.
14616 * socket/sockatmark.c: Likewise.
14617 * socket/socket.c: Likewise.
14618 * socket/socketpair.c: Likewise.
14619 * stdio-common/ctermid.c: Likewise.
14620 * stdio-common/cuserid.c: Likewise.
14621 * stdio-common/remove.c: Likewise.
14622 * stdio-common/rename.c: Likewise.
14623 * stdio-common/renameat.c: Likewise.
14624 * stdio-common/tempname.c: Likewise.
14625 * stdlib/getcontext.c: Likewise.
14626 * stdlib/makecontext.c: Likewise.
14627 * stdlib/setcontext.c: Likewise.
14628 * stdlib/swapcontext.c: Likewise.
14629 * stdlib/system.c: Likewise.
14630 * streams/fattach.c: Likewise.
14631 * streams/fdetach.c: Likewise.
14632 * streams/getmsg.c: Likewise.
14633 * streams/getpmsg.c: Likewise.
14634 * streams/putmsg.c: Likewise.
14635 * streams/putpmsg.c: Likewise.
14636 * sysdeps/unix/bsd/getpt.c: Likewise.
14637 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14638 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14639 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14641 Likewise.
14642 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14643 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14644 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14645 * sysvipc/msgctl.c: Likewise.
14646 * sysvipc/msgget.c: Likewise.
14647 * sysvipc/msgrcv.c: Likewise.
14648 * sysvipc/msgsnd.c: Likewise.
14649 * sysvipc/semctl.c: Likewise.
14650 * sysvipc/semget.c: Likewise.
14651 * sysvipc/semop.c: Likewise.
14652 * sysvipc/semtimedop.c: Likewise.
14653 * sysvipc/shmat.c: Likewise.
14654 * sysvipc/shmctl.c: Likewise.
14655 * sysvipc/shmdt.c: Likewise.
14656 * sysvipc/shmget.c: Likewise.
14657 * termios/tcdrain.c: Likewise.
14658 * termios/tcflow.c: Likewise.
14659 * termios/tcflush.c: Likewise.
14660 * termios/tcgetattr.c: Likewise.
14661 * termios/tcgetpgrp.c: Likewise.
14662 * termios/tcsendbrk.c: Likewise.
14663 * termios/tcsetattr.c: Likewise.
14664 * termios/tcsetpgrp.c: Likewise.
14665 * time/adjtime.c: Likewise.
14666 * time/clock.c: Likewise.
14667 * time/getitimer.c: Likewise.
14668 * time/gettimeofday.c: Likewise.
14669 * time/setitimer.c: Likewise.
14670 * time/settimeofday.c: Likewise.
14671 * time/stime.c: Likewise.
14672 * time/time.c: Likewise.
14673
146742012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14675
a20492cf
PT
14676 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14677 /usr/old/bin.
14678
72e182e3
PT
14679 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14680 instead of spaces.
14681 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14682
fbeafede
JM
146832012-11-03 Joseph Myers <joseph@codesourcery.com>
14684
5b5b04d6
JM
14685 [BZ #14796]
14686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14687 FE_TONEAREST before applying Dekker multiplication and Knuth
14688 addition. Clear inexact exceptions and check for exact zero
14689 results afterwards.
14690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14691 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14692 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14693 * math/libm-test.inc (fma_test): Add more tests.
14694 (fma_test_towardzero): Likewise.
14695 (fma_test_downward): Likewise.
14696 (fma_test_upward): Likewise.
14697 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14698 function.
14699 (libc_fesetround): New macro.
14700 (libc_fesetroundf): Likewise.
14701 (libc_fesetroundl): Likewise.
14702 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14703 function.
14704 (libc_fesetround_387): Likewise.
14705 (libc_fesetroundf): New macro.
14706 (libc_fesetround): Likewise.
14707 (libc_fesetroundl): Likewise.
14708 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14709 function.
14710 (libc_fesetroundf): New macro.
14711 (libc_fesetround): Likewise.
14712 (libc_fesetroundl): Likewise.
14713 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14714 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14715 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14716 libm_hidden_ver.
14717 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14718 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14719 libm_hidden_def.
14720 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14721 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14722 libm_hidden_ver.
14723 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14724 libm_hidden_def.
14725
fbeafede
JM
14726 [BZ #3439]
14727 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14728 integer constant usable in #if and use that to give value to enum
14729 constant.
14730 (FE_DIVBYZERO): Likewise.
14731 (FE_UNDERFLOW): Likewise.
14732 (FE_OVERFLOW): Likewise.
14733 (FE_INVALID): Likewise.
14734 (FE_INVALID_SNAN): Likewise.
14735 (FE_INVALID_ISI): Likewise.
14736 (FE_INVALID_IDI): Likewise.
14737 (FE_INVALID_ZDZ): Likewise.
14738 (FE_INVALID_IMZ): Likewise.
14739 (FE_INVALID_COMPARE): Likewise.
14740 (FE_INVALID_SOFTWARE): Likewise.
14741 (FE_INVALID_SQRT): Likewise.
14742 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14743 (FE_TONEAREST): Likewise.
14744 (FE_TOWARDZERO): Likewise.
14745 (FE_UPWARD): Likewise.
14746 (FE_DOWNWARD): Likewise.
14747 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14748 (FE_DIVBYZERO): Likewise.
14749 (FE_OVERFLOW): Likewise.
14750 (FE_UNDERFLOW): Likewise.
14751 (FE_INEXACT): Likewise.
14752 (FE_TONEAREST): Likewise.
14753 (FE_DOWNWARD): Likewise.
14754 (FE_UPWARD): Likewise.
14755 (FE_TOWARDZERO): Likewise.
14756 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14757 (FE_UNDERFLOW): Likewise.
14758 (FE_OVERFLOW): Likewise.
14759 (FE_DIVBYZERO): Likewise.
14760 (FE_INVALID): Likewise.
14761 (FE_TONEAREST): Likewise.
14762 (FE_TOWARDZERO): Likewise.
14763 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14764 (FE_OVERFLOW): Likewise.
14765 (FE_UNDERFLOW): Likewise.
14766 (FE_DIVBYZERO): Likewise.
14767 (FE_INEXACT): Likewise.
14768 (FE_TONEAREST): Likewise.
14769 (FE_TOWARDZERO): Likewise.
14770 (FE_UPWARD): Likewise.
14771 (FE_DOWNWARD): Likewise.
14772 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14773 (FE_DIVBYZERO): Likewise.
14774 (FE_OVERFLOW): Likewise.
14775 (FE_UNDERFLOW): Likewise.
14776 (FE_INEXACT): Likewise.
14777 (FE_TONEAREST): Likewise.
14778 (FE_DOWNWARD): Likewise.
14779 (FE_UPWARD): Likewise.
14780 (FE_TOWARDZERO): Likewise.
14781
105ca950
CM
147822012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14783
14784 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14785
a542b389
AS
147862012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14787
14788 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14789 commands. Quote $PWD.
14790 (blacklist_exports): Don't use remove_newlines. Replace "declare
14791 -x" by "export".
14792 (remove_newlines): Remove.
14793
f62c8abc
L
147942012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14797 * stdlib/stdlib.h (atof): Moved to ...
14798 * include/bits/stdlib-float.h: Here. New file.
14799 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14800 * stdlib/bits/stdlib-float.h: New file.
14801 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14802 -mno-sse -mno-mmx.
14803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14804 <xmmintrin.h>.
14805
0155d5b2
JM
148062012-11-02 Joseph Myers <joseph@codesourcery.com>
14807
a68d0680
JM
14808 * conform/conformtest.pl (@headers): Add fenv.h.
14809 * conform/data/fenv.h-data: New file.
14810 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14811 include of <math/fenv.h>.
14812
caf7f573
JM
14813 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14814 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14815 && !UNIX98]. Enables tests for XOPEN2K8.
14816 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14817 POSIX2008]: Likewise.
14818
6c073ad6
JM
14819 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14820 (struct rusage): Do not expect type or its members.
14821
0155d5b2
JM
14822 [BZ #3439]
14823 * math/math.h (FP_NAN): Define macro to integer constant usable in
14824 #if and use that to give value to enum constant.
14825 (FP_INFINITE): Likewise.
14826 (FP_ZERO): Likewise.
14827 (FP_SUBNORMAL): Likewise.
14828 (FP_NORMAL): Likewise.
14829
b5dcacb4
AS
148302012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14831
14832 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14833 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14834 arguments.
14835
f7934be8
RM
148362012-11-02 Roland McGrath <roland@hack.frob.com>
14837
14838 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14839 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14840 autoconf-time if not.
14841 * configure.in: Remove AC_PREREQ.
14842
d7d08bde
TMQMF
148432012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14844
14845 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14846 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14847 of the internal implementation.
14848
dcdae19a
JM
148492012-11-02 Joseph Myers <joseph@codesourcery.com>
14850
14851 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14852 except include of <misc/sys/syslog.h>.
14853
d6cffd3e
AS
148542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14855
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14857 function returns with a NULL context exit with zero.
14858
b3563932
TMQMF
148592012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14860
14861 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14862
b288a93d
L
148632012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14866 (run_program_cmd): This.
14867 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14868 (tst_langinfo): New variable. Use it.
14869
a2421a68
SAS
148702012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14871
14872 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14873 floating point opcodes.
14874
6f796e1b
TS
148752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14876
7402596b
TS
14877 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14878 variable.
14879
d0d4f868
TS
14880 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14881
6f796e1b
TS
14882 * sysdeps/mach/hurd/powerpc: Remove directory.
14883 * sysdeps/mach/powerpc: Likewise.
14884
4da224a2
AS
148852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14886
14887 * scripts/check-local-headers.sh: Ignore c++ headers.
14888
341dd673
TS
148892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14890
14891 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14892 __libc_cleanup_region_start argument.
14893
473611b2
JM
148942012-11-01 Joseph Myers <joseph@codesourcery.com>
14895
14896 [BZ #14784]
14897 [BZ #14785]
14898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14899 x * y using scaling, not as x * y + z.
14900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14902 * math/libm-test.inc (fma_test): Add more tests.
14903 (fma_test_towardzero): Likewise.
14904 (fma_test_downward): Likewise.
14905 (fma_test_upward): Likewise.
14906
4078da3d
TS
149072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14908
14909 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14910
903252aa
JM
149112012-10-31 Joseph Myers <joseph@codesourcery.com>
14912
14913 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14914 New variable.
14915
cbc818d0
TS
149162012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14917
14918 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14919
5a03cb1e
AS
149202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14921
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14923 Fix sort order.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14925 Likewise.
14926
90aff2ff
TMQMF
149272012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14928
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14930 Fix the order of the list for glibc 2.17.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14932 Likewise.
14933
1818fcb7
AS
149342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14935
14936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14937
ef82f4da
JM
149382012-10-31 Joseph Myers <joseph@codesourcery.com>
14939
16a0e2ec
JM
14940 [BZ #14610]
14941 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14942 for low part of x being zero before using __atanl (y).
14943 * math/libm-test.inc (atan2_test): Add another test.
14944
0eb69512
JM
14945 * manual/install.texi (Configuring and compiling): Document
14946 general use of test-wrapper and test-wrapper-env.
14947 * INSTALL: Regenerated.
14948
ef82f4da
JM
14949 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14950 (__fma): Do not extract and scale down low bits on after-rounding
14951 systems when result rounded to normal precision would have normal
14952 exponent.
14953 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14954 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14962 macro.
14963 (fma_test): Add more tests.
14964 (fma_test_towardzero): Likewise.
14965 (fma_test_downward): Likewise.
14966 (fma_test_upward): Likewise.
14967
954ef0d9
L
149682012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14969
14970 * sysdeps/i386/tininess.h: Renamed to ...
14971 * sysdeps/x86/tininess.h: This.
14972 * sysdeps/x86_64/tininess.h: Removed.
14973
df61ffb2
JM
149742012-10-30 Joseph Myers <joseph@codesourcery.com>
14975
14976 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14977 input. Use $(build-program-cmd).
14978 ($(objpfx)tst-array1-static.out): Likewise.
14979 ($(objpfx)tst-array2.out): Likewise.
14980 ($(objpfx)tst-array3.out): Likewise.
14981 ($(objpfx)tst-array4.out): Likewise.
14982 ($(objpfx)tst-array5.out): Likewise.
14983 ($(objpfx)tst-array5-static.out): Likewise.
14984
01767843
CM
149852012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14986
47cc1490
CM
14987 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14988 if defined.
14989
01767843
CM
14990 * nss/nsswitch.h (nss_interface_function): Provide new
14991 macro for use with NSS functions.
14992 * grp/initgroups.c: Use new macro.
14993 * nss/getXXbyYY.c: Likewise.
14994 * nss/getXXbyYY_r.c: Likewise.
14995 * nss/getXXent.c: Likewise.
14996 * nss/getXXent_r.c: Likewise.
14997 * sysdeps/posix/getaddrinfo.c: Likewise.
14998
8321aa97
AJ
149992012-10-30 Andreas Jaeger <aj@suse.de>
15000
15001 * po/ru.po: Update Russion translation from translation project.
15002
2a27fd6d
JM
150032012-10-30 Joseph Myers <joseph@codesourcery.com>
15004
8627a232
JM
15005 [BZ #14152]
15006 [BZ #14783]
15007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15008 result and shift together with sticky bit instead of replicating
15009 round-to-nearest rounding.
15010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15012 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15013 missing underflow exceptions.
15014 (fma_test_towardzero): Add more tests.
15015 (fma_test_downward): Likewise.
15016 (fma_test_upward): Likewise.
15017
2a27fd6d
JM
15018 [BZ #14047]
15019 * sysdeps/generic/tininess.h: New file.
15020 * sysdeps/i386/tininess.h: Likewise.
15021 * sysdeps/sh/tininess.h: Likewise.
15022 * sysdeps/x86_64/tininess.h: Likewise.
15023 * stdlib/tst-strtod-underflow.c: Likewise.
15024 * stdlib/tst-tininess.c: Likewise.
15025 * stdlib/strtod_l.c: Include <tininess.h>.
15026 (round_and_return): Do not set errno for exact underflow cases.
15027 Force an underflow exception when setting errno for underflow.
15028 Determine underflow based on rounding to normal precision if
15029 TININESS_AFTER_ROUNDING.
15030 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15031 ERANGE for exact underflow cases.
15032 * stdlib/Makefile (tests): Add tst-tininess and
15033 tst-strtod-underflow.
15034 ($(objpfx)tst-tininess): Use $(link-libm).
15035 ($(objpfx)tst-strtod-underflow): Likewise.
15036
e7170363
AJ
150372012-10-30 Andreas Jaeger <aj@suse.de>
15038
e5088dc6
AJ
15039 [BZ#14767]
15040 * elf/Makefile (tests): Remove conditional for have-initfini-array
15041 since this is now always required and the variable does not exist
15042 anymore.
15043 (tests-static): Likewise.
15044 (modules-names): Likewise.
15045
e7170363 15046 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15047
15048 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15049 merged with constructor/destructor.
15050 (init_array): Likewise.
15051 * elf/tst-array2dep.c (fini_array): Likewise.
15052 (init_array): Likewise.
15053
60457d8a
MF
150542012-10-29 Mike Frysinger <vapier@gentoo.org>
15055
15056 * manual/message.texi: Delete @cartouche tags.
15057
8bece752
PT
150582012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15059
94ce799f
PT
15060 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15061 EOPNOTSUPP.
15062 * sysdeps/mach/hurd/fsync.c: Likewise.
15063
8bece752
PT
15064 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15065 [_POSIX_REALTIME_SIGNALS]: Change condition to
15066 [_POSIX_REALTIME_SIGNALS > 0].
15067
86ebe6b1
AJ
150682012-10-27 Andreas Jaeger <aj@suse.de>
15069
15070 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15071 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15073 [__WORDSIZE != 64]: Likewise.
15074
54399c08
L
150752012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15076
15077 * iconvdata/tst-table.sh: Remove ${SHELL}.
15078 * iconvdata/tst-tables.sh: Likewise.
15079
e2211bed
DM
150802012-10-25 David S. Miller <davem@davemloft.net>
15081
15082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15083 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15084 of strtoull.
15085
f303f97c
DM
15086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15087 ifunc-impl-list.c
15088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15089 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15090 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15091 file.
15092
1e9d84cd
RM
150932012-10-25 Roland McGrath <roland@hack.frob.com>
15094
15095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15096 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15097 __getdirentries.
15098
df381762
JM
150992012-10-25 Joseph Myers <joseph@codesourcery.com>
15100 Jim Blandy <jimb@codesourcery.com>
15101
15102 * scripts/cross-test-ssh.sh: New file.
15103 * manual/install.texi (Configuring and compiling): Document use of
15104 cross-test-ssh.sh.
15105 * INSTALL: Regenerated.
15106
bff64913
PT
151072012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15108
15109 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15110 EOPNOTSUPP.
15111
25fe8932
JM
151122012-10-25 Joseph Myers <joseph@codesourcery.com>
15113
15114 * Makeconfig (run-program-prefix): Fix comment.
15115
cc1290d0
JM
151162012-10-24 Joseph Myers <joseph@codesourcery.com>
15117 Jim Blandy <jimb@codesourcery.com>
15118
15119 * Makeconfig (test-wrapper): New variable,
15120 (test-wrapper-env): Likewise.
15121 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15122 (run-built-tests): Define to yes.
15123 (run-program-prefix): Use $(test-wrapper).
15124 (built-program-cmd): Likewise.
15125 * Rules (make-test-out): Use $(test-wrapper-env) and
15126 $(host-built-program-cmd).
15127 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15128 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15129 tst-pathopt.sh.
15130 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15131 $(test-wrapper-env) to tst-rtld-load-self.sh.
15132 ($(objpfx)order2.out): Use $(test-wrapper).
15133 ($(objpfx)tst-initorder.out): Likewise.
15134 ($(objpfx)tst-initorder2.out): Likewise.
15135 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15136 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15137 (test_wrapper_env): New variable. Use it to run ld.so.
15138 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15139 Use it to run ld.so.
15140 (test_wrapper_env): Likewise.
15141 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15142 $(test-wrapper) to run-iconv-test.sh.
15143 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15144 (ICONV): Use $test_wrapper.
15145 * posix/Makefile ($(objpfx)globtest.out): Pass
15146 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15147 globtest.sh, not $(run-program-prefix).
15148 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15149 (test_wrapper): Likewise.
15150 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15151 set together with run_via_rtld_prefix.
15152 (run_program_prefix): Define in terms of test_wrapper and
15153 run_via_rtld_prefix.
15154
6e6249d0
RM
151552012-10-24 Roland McGrath <roland@hack.frob.com>
15156
15157 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15158 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15159 Targets removed.
15160
15161 [BZ #14743]
15162 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15163 Declare __clock_getres, __clock_gettime, __clock_settime,
15164 __clock_nanosleep, and __clock_getcpuclockid.
15165 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15166 Remove librt_hidden_def (clock_gettime).
15167 * sysdeps/unix/clock_gettime.c: Likewise.
15168 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15170 * rt/clock_getres.c: Define __clock_getres as an alias.
15171 * sysdeps/posix/clock_getres.c: Likewise.
15172 * rt/clock_settime.c: Define __clock_settime as an alias.
15173 * sysdeps/unix/clock_settime.c: Likewise.
15174 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15175 * sysdeps/unix/clock_nanosleep.c: Likewise.
15176 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15177 * rt/clock-compat.c: New file.
15178 * rt/Makefile (librt-routines): Add clock-compat and move
15179 $(clock-routines) to ...
15180 (routines): ... here, new variable.
15181 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15182 Don't add get_clockfreq here.
15183 * rt/Versions (libc: GLIBC_2.17): New version set.
15184 Add clock_* symbols here.
15185 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15187 (GLIBC_2.17): Add clock_* symbols.
15188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15192 Likewise.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15194 Likewise.
15195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15199 * NEWS: Mention the move.
15200
15201 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15202 Use __open, __read, __close rather than their public counterparts.
15203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15204 (__get_clockfreq_via_cpuinfo): Likewise.
15205 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15206 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15207
15208 * config.h.in (HAVE_IFUNC): New #undef.
15209 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15210 was successful.
15211 * configure: Regenerated.
15212
0cae3f4b
MF
152132012-10-24 Mike Frysinger <vapier@gentoo.org>
15214
15215 * configure.in: Move READELF check to start of file.
15216 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15217 libc_cv_asm_gnu_indirect_function in the process.
15218 * configure: Regenerated.
15219
8175a253
MF
152202012-10-24 Mike Frysinger <vapier@gentoo.org>
15221
15222 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15223 send the output to /dev/null.
15224 (libc_cv_cc_with_libunwind): Likewise.
15225 (libc_cv_as_noexecstack): Likewise.
15226 * configure: Regenerate.
15227
0708a7d1
JM
152282012-10-24 Joseph Myers <joseph@codesourcery.com>
15229
10b40d85
JM
15230 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15231
0708a7d1
JM
15232 * posix/globtest.sh (TMPDIR): Do not set.
15233 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15234 (testout): Likewise.
15235
9fddec1a
AJ
152362012-10-24 Andreas Jaeger <aj@suse.de>
15237
3a8db22f
AJ
15238 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15239 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15240 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15241 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15242 posix_fadvise64, posix_fallocate64.
15243
9fddec1a
AJ
15244 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15245 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15246 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15247 Likewise.
15248 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15249 Likewise.
15250 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15251
15252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15253 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15254 <bits/fcntl-linux.h>.
15255 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15256
15257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15258 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15259 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15260 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15261 [__WORDSIZE != 64]: Likewise.
15262
ebfd1bbd
JM
152632012-10-23 Joseph Myers <joseph@codesourcery.com>
15264
03ac099f
JM
15265 * Makeconfig (run-built-tests): New variable.
15266 * Rules [$(cross-compiling) = yes]: Change condition to
15267 [$(run-built-tests) = no].
15268 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15269 to [$(run-built-tests) = yes].
15270 * elf/Makefile [$(cross-compiling) = no]: Likewise
15271 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15272 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15273 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15274 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15275 * io/Makefile [$(cross-compiling) = no]: Likewise.
15276 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15277 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15278 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15279 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15280 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15281 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15282 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15283 * string/Makefile [$(cross-compiling) = no]: Likewise.
15284
ebfd1bbd
JM
15285 * posix/Makefile ($(objpfx)globtest.out): Pass
15286 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15287 $(rtld-installed-name).
15288 * posix/globtest.sh (elf_objpfx): Remove variable.
15289 (rtld_installed_name): Likewise.
15290 (library_path): Likewise.
15291 (run_program_prefix): New variable. Use for running globtest
15292 binary.
15293
166bca24
JB
152942012-10-23 Jim Blandy <jimb@codesourcery.com>
15295 Joseph Myers <joseph@codesourcery.com>
15296
15297 * Makeconfig (host-built-program-cmd): New variable.
15298 * elf/Makefile (tst-stackguard1-ARGS): Use
15299 $(host-built-program-cmd).
15300 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15301 (tst-spawn-ARGS): Likewise.
15302 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15303
88866099
JM
153042012-10-23 Joseph Myers <joseph@codesourcery.com>
15305 Jim Blandy <jimb@codesourcery.com>
15306
15307 * Makeconfig (run-via-rtld-prefix): New variable.
15308 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15309 (built-program-cmd): Likewise.
15310
b4b4c296
AJ
153112012-10-22 Andreas Jaeger <aj@suse.de>
15312
15313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15314 __O_RSYNC if it exists, otherwise to O_SYNC.
15315
6fb54a22
JB
153162012-10-22 Jim Blandy <jimb@codesourcery.com>
15317 Joseph Myers <joseph@codesourcery.com>
15318
15319 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15320 /dev/null.
15321 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15322 from /dev/null
15323 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15324 /dev/null.
15325
481b90b9
AJ
153262012-10-22 Andreas Jaeger <aj@suse.de>
15327
2a0e2669
AJ
15328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15329 Define always.
15330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15331
76e38f9a
AJ
15332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15333 bits/fcntl-linux.h.
15334
7cd37b43
AJ
15335 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15336 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15337
481b90b9
AJ
15338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15339 to __O_LARGEFILE.
15340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15341 to __O_LARGEFILE.
15342
aba75984
JB
153432012-10-21 Jim Blandy <jimb@codesourcery.com>
15344 Joseph Myers <joseph@codesourcery.com>
15345
15346 * config.make.in (NM): New variable.
15347
88d4247f
AJ
153482012-10-21 Andreas Jaeger <aj@suse.de>
15349
15350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15351 definitions and declarations that are provided by
15352 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15353
f2eed205
L
153542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15355
15356 [BZ #14683]
15357 * elf/Makefile (tests-static): Add tst-leaks1-static.
15358 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15359 ($(objpfx)tst-leaks1-static): New rule.
15360 ($(objpfx)tst-leaks1-static-mem): Likewise.
15361 (tst-leaks1-static-ENV): New macro.
15362 * elf/dl-open.c (dl_open_worker): Check the main application
15363 only if SHARED is defined.
15364 * elf/tst-leaks1-static.c: New file.
15365
335e6931
AJ
153662012-10-20 Andreas Jaeger <aj@suse.de>
15367
15368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15369 generic values for Linux.
15370 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15371 and declarations that are provided by <bits/fcntl-linux.h> and
15372 include <bits/fcntl-linux.h>.
15373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15375
ac5c94d3
RM
153762012-10-20 Roland McGrath <roland@hack.frob.com>
15377
15378 * io/fcntl.h: Move include of <bits/types.h> to the top and
15379 include it unconditionally.
15380
de54b33a
L
153812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15382
228cfb01
L
15383 * wcsmbs/Makefile (tests-ifunc): New variable.
15384 (tests): Add $(tests-ifunc).
15385 * wcsmbs/test-wcschr-ifunc.c: New file.
15386 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15387 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15388 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15389 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15390 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15391
69f07e5f
L
15392 * string/Makefile (tests-ifunc): New variable.
15393 (tests): Add $(tests-ifunc).
15394 * string/test-memccpy.c (TEST_NAME): New macro.
15395 * string/test-memchr.c (TEST_NAME): Likewise.
15396 * string/test-memcmp.c (TEST_NAME): Likewise.
15397 * string/test-memcpy.c (TEST_NAME): Likewise.
15398 * string/test-memmem.c (TEST_NAME): Likewise.
15399 * string/test-memmove.c (TEST_NAME): Likewise.
15400 * string/test-memset.c (TEST_NAME): Likewise.
15401 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15402 * string/test-stpcpy.c (TEST_NAME): Likewise.
15403 * string/test-stpncpy.c (TEST_NAME): Likewise.
15404 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15405 * string/test-strcasestr.c (TEST_NAME): Likewise.
15406 * string/test-strcat.c (TEST_NAME): Likewise.
15407 * string/test-strchr.c (TEST_NAME): Likewise.
15408 * string/test-strcmp.c(TEST_NAME): Likewise.
15409 * string/test-strcpy.c (TEST_NAME): Likewise.
15410 * string/test-strcspn.c (TEST_NAME): Likewise.
15411 * string/test-strlen.c (TEST_NAME): Likewise.
15412 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15413 * string/test-strncmp.c (TEST_NAME): Likewise.
15414 * string/test-strncpy.c (TEST_NAME): Likewise.
15415 * string/test-strnlen.c (TEST_NAME): Likewise.
15416 * string/test-strpbrk.c (TEST_NAME): Likewise.
15417 * string/test-strrchr.c (TEST_NAME): Likewise.
15418 * string/test-strspn.c (TEST_NAME): Likewise.
15419 * string/test-strstr.c (TEST_NAME): Likewise.
15420 * string/test-bcopy-ifunc.c: New file.
15421 * string/test-bzero-ifunc.c: Likewise.
15422 * string/test-memccpy-ifunc.c: Likewise.
15423 * string/test-memchr-ifunc.c: Likewise.
15424 * string/test-memcmp-ifunc.c: Likewise.
15425 * string/test-memcpy-ifunc.c: Likewise.
15426 * string/test-memmem-ifunc.c: Likewise.
15427 * string/test-memmove-ifunc.c: Likewise.
15428 * string/test-mempcpy-ifunc.c: Likewise.
15429 * string/test-memset-ifunc.c: Likewise.
15430 * string/test-rawmemchr-ifunc.c: Likewise.
15431 * string/test-stpcpy-ifunc.c: Likewise.
15432 * string/test-stpncpy-ifunc.c: Likewise.
15433 * string/test-strcasecmp-ifunc.c: Likewise.
15434 * string/test-strcasestr-ifunc.c: Likewise.
15435 * string/test-strcat-ifunc.c: Likewise.
15436 * string/test-strchr-ifunc.c: Likewise.
15437 * string/test-strchrnul-ifunc.c: Likewise.
15438 * string/test-strcmp-ifunc.c: Likewise.
15439 * string/test-strcpy-ifunc.c: Likewise.
15440 * string/test-strcspn-ifunc.c: Likewise.
15441 * string/test-strlen-ifunc.c: Likewise.
15442 * string/test-strncasecmp-ifunc.c: Likewise.
15443 * string/test-strncat-ifunc.c: Likewise.
15444 * string/test-strncmp-ifunc.c: Likewise.
15445 * string/test-strncpy-ifunc.c: Likewise.
15446 * string/test-strnlen-ifunc.c: Likewise.
15447 * string/test-strpbrk-ifunc.c: Likewise.
15448 * string/test-strrchr-ifunc.c: Likewise.
15449 * string/test-strspn-ifunc.c: Likewise.
15450 * string/test-strstr-ifunc.c: Likewise.
15451
de54b33a
L
15452 * debug/Makefile (tests-ifunc): New variable.
15453 (tests): Add $(tests-ifunc).
15454 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15455 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15456 * debug/test-stpcpy_chk-ifunc.c: New file.
15457 * debug/test-strcpy_chk-ifunc.c: Likewise.
15458
88481c16
SP
154592012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15460
15461 [BZ #13601]
15462 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15463 header is not read in.
15464
135948bd
JM
154652012-10-19 Joseph Myers <joseph@codesourcery.com>
15466
89f1c388
JM
15467 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15468 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15469 directly. Pass built executable to script as
15470 $(built-program-cmd).
15471 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15472 $testprogram without using LD_LIBRARY_PATH and $ldso.
15473
e40a0d21
JM
15474 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15475 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15476 $(rtld-installed-name).
15477 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15478 (rtld_installed_name): Likewise.
15479 (library_path): Likewise.
15480 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15481 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15482 $(run-program-prefix) to tst-tables.sh.
15483 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15484 it to run tst-table-from and tst-table-to.
15485 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15486 Pass it to tst-table.sh.
15487 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15488 $(run-program-prefix) to tst-gettext.sh.
15489 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15490 tst-translit.sh.
15491 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15492 tst-gettext2.sh.
15493 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15494 to run tst-gettext.
15495 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15496 to run tst-gettext2.
15497 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15498 to run tst-translit.
15499 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15500 $(run-program-prefix) to tst-mtrace.sh.
15501 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15502 to run tst-mtrace.
15503 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15504 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15505 $(rtld-installed-name).
15506 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15507 (rtld_installed_name): Likewise.
15508 (run_program_prefix): New variable. Use it to run wordexp-test.
15509
728e272a
JM
15510 * Makeconfig (ARCH): Remove all definitions.
15511 (machine): Likewise.
15512 [ARCH]: Remove conditional code.
15513 [!objdir]: Give error.
15514 [!objdir] (objpfx): Remove.
15515 [!objdir] (common-objpfx): Likewise.
15516 [!objdir] (common-objdir): Likewise.
15517 * configure.in (config_makefile): Remove. Hardcode Makefile in
15518 AC_CONFIG_FILES call.
15519 * configure: Regenerated.
15520
d528cdcf
JM
15521 [BZ #13888]
15522 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15523 or TMPDIR.
15524 (testout): Likewise.
15525
135948bd
JM
15526 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15527 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15528 $(rtld-installed-name).
15529 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15530 (rtld_installed_name): Likwise.
15531 (runit): Remove function.
15532 (run_getconf): New variable, Use it for running getconf binary.
15533
38c78296
L
155342012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 [BZ #14716]
15537 * string/test-memmem.c (check_result): New function.
15538 (do_one_test): Use it.
15539 (check1): New function.
15540 (test_main): Use it.
15541
d077f65f
MT
155422012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15543
15544 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15545
ced52c71
JM
155462012-10-18 Joseph Myers <joseph@codesourcery.com>
15547
15548 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15549 (_G_LSEEK64): Likewise.
15550 (_G_MMAP64): Likewise.
15551 (_G_FSTAT64): Likewise.
15552 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15553 (_G_LSEEK64): Likewise.
15554 (_G_MMAP64): Likewise.
15555 (_G_FSTAT64): Likewise.
15556 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15557 unconditional. Call __mmap64 directly.
15558 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15559 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15560 __lseek64 directly.
15561 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15562 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15563 __mmap64 directly.
15564 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15565 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15566 __lseek64 directly.
15567 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15568 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15569 __lseek64 directly.
15570 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15571 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15572 __lseek64 directly.
15573 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15574 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15575 __fxstat64 directly.
15576 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15577 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15578 unconditional.
15579 (freopen64) [!_G_OPEN64]: Remove conditional code.
15580 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15581 unconditional.
15582 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15583 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15584 unconditional.
15585 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15586 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15587 unconditional.
15588 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15589 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15590 unconditional.
15591 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15592 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15593 unconditional.
15594 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15595 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15596 unconditional.
15597 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15598 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15599 unconditional.
15600 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15601
b741de23
SP
156022012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
15604 [BZ #12140]
15605 * manual/memory.texi (Malloc Tunable Parameters): Add note
15606 about free list pointers overwriting some perturb bytes.
15607 Wording suggested by Roland McGrath.
15608
f9b9d9c9
JM
156092012-10-17 Joseph Myers <joseph@codesourcery.com>
15610
15611 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15612 (lgamma_test): Likewise.
15613 (tgamma_test): Likewise.
15614
172a631a
FW
156152012-10-16 Florian Weimer <fweimer@redhat.com>
15616
15617 [BZ #14700]
15618 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15619 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15620
e9f37252
MK
156212012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15622
15623 * NEWS: Mention BZ #14716.
15624 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15625 when removing AVAILABLE1_USES_J macro.
15626
d394eb74
L
156272012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15628
15629 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15630 (__bswap_64): __uint64_t for unsigned 64-bit int.
15631
ca38dc17
AS
156322012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15633
15634 * include/string.h (memmem): Declare libc hidden alias.
15635 * string/memmem.c (memmem): Define libc hidden alias.
15636 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15637 __read, __close instead of open, read, close.
15638
9a387d1f
L
156392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15640
ac49ecaf
L
15641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15642 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15643 global and hidden.
15644 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15645 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15646 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15647 Likewise.
15648 (__rawmemchr_sse2): Likewise.
15649 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15650 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15651 (__strchr_sse2): Likewise.
15652 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15653 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15654 (__strcasecmp_sse2): Likewise.
15655 (__strncasecmp_sse2): Likewise.
15656 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15657 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15658 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15659 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15660 (__strrchr_sse2): Likewise.
15661 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15662 ifunc-impl-list.c.
15663 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15664 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15665 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15666 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15667 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15668 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15669 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15670 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15671 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15672 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15673 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15674 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15675 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15676 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15677 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15678 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15679 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15680 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15681 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15682 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15683 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15684 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15685 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15686 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15687 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15688 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15689 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15690 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15691 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15692 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15693
b090e8ea
L
15694 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15695 global and hidden.
15696 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15697 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15698 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15699 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15700 Likewise.
15701 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15702 Likewise.
15703 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15704 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15705 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15706 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15707 ifunc-impl-list.c.
15708 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15709 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15710 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15711 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15712 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15714 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15715 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15716 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15717 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15719 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15720 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15721 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15722 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15723 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15724 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15725 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15728 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15729 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15730 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15731 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15732 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15733 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15734 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15735 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15736 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15737 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15738 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15739 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15740 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15741 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15742 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15743 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15744 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15745 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15746 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15747 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15748 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15749
11dd4af6
L
15750 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15751 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15752 * include/ifunc-impl-list.h: New file.
15753 * misc/ifunc-impl-list.c: Likewise.
15754 * misc/Makefile (routines): Add ifunc-impl-list.
15755 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15756 * string/test-string.h: Include <ifunc-impl-list.h>.
15757 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15758 impl_array): New variables.
15759 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15760 are defined.
15761 (test_init): Call __libc_ifunc_impl_list to initialize
15762 func_list if TEST_IFUNC and TEST_NAME are defined.
15763
9a387d1f
L
15764 * string/Makefile (strop-tests): Add bcopy and bzero.
15765 * string/test-bcopy.c: New file.
15766 * string/test-bzero.c: Likewise.
15767 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15768 defined.
15769 * string/test-memset.c: Support bzero test if TEST_BZERO is
15770 defined.
15771 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15772 __libc_memmove.
15773 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15774 __libc_memset.
15775 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15776 of memset.
15777
472371b9
JM
157782012-10-10 Joseph Myers <joseph@codesourcery.com>
15779
1e4a9536
JM
15780 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15781 * configure: Regenerated.
15782
d173d12e
JM
15783 * Makeconfig (+link-static-before-libc): Don't include
15784 $(link-static-libc).
15785
472371b9
JM
15786 * libio/libio.h (_IO_pos_t): Remove.
15787
89a3ad0b
AO
157882012-10-10 Alexandre Oliva <aoliva@redhat.com>
15789
15790 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15791 McGrath.
15792
e7451425
AO
157932012-10-10 Alexandre Oliva <aoliva@redhat.com>
15794
15795 * crypt/crypt-entry.c: Include fips-private.h.
15796 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15797 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15798 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15799 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15800
4ba74a35
AO
158012012-10-10 Alexandre Oliva <aoliva@redhat.com>
15802
15803 * crypt/crypt-private.h: Include stdbool.h.
15804 (_ufc_setup_salt_r): Return bool.
15805 * crypt/crypt-entry.c: Include errno.h.
15806 (__crypt_r): Return NULL with EINVAL for bad salt.
15807 * crypt/crypt_util.c (bad_for_salt): New.
15808 (_ufc_setup_salt_r): Check that salt is long enough and within
15809 the specified alphabet.
15810 * crypt/badsalttest.c: New file.
15811 * crypt/Makefile (tests): Add it.
15812 ($(objpfx)badsalttest): New.
15813
f96f1242
MK
158142012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15815
15816 * NEWS: Add entry for BZ #14602.
15817
0e8e0c1c
JM
158182012-10-09 Joseph Myers <joseph@codesourcery.com>
15819
15820 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15821 type-generic.
15822 * math/libm-test.inc: Update comment listing what functions and
15823 macros are tested.
15824 (isgreater_test): New function.
15825 (isgreaterequal_test): Likewise.
15826 (isless_test): Likewise.
15827 (islessequal_test): Likewise.
15828 (islessgreater_test): Likewise.
15829 (isunordered_test): Likewise.
15830 (main): Call the new functions.
15831
273edc5e
RM
158322012-10-09 Roland McGrath <roland@hack.frob.com>
15833
b8493de0
RM
15834 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15835 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15836 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15837 * sysdeps/i386/configure: Regenerated.
15838 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15839 * sysdeps/mach/configure: Regenerated.
15840 * sysdeps/mach/hurd/configure: Regenerated.
15841 * sysdeps/powerpc/configure: Regenerated.
15842 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15843 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15844 * sysdeps/s390/s390-32/configure: Regenerated.
15845 * sysdeps/s390/s390-64/configure: Regenerated.
15846 * sysdeps/sh/configure: Regenerated.
15847 * sysdeps/sparc/configure: Regenerated.
15848 * sysdeps/unix/sysv/linux/configure: Regenerated.
15849 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15850 * sysdeps/x86_64/configure: Regenerated.
15851
273edc5e
RM
15852 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15853 defined. Don't check if MAP is NULL.
15854
c8450f70
JM
158552012-10-09 Joseph Myers <joseph@codesourcery.com>
15856
15857 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15858 (_G_stat64): Likewise.
15859 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15860 (_G_stat64): Likewise.
15861 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15862 instead of struct _G_stat64.
15863 * libio/fileops.c (mmap_remap_check): Likewise.
15864 (decide_maybe_mmap): Likewise.
15865 (_IO_new_file_seekoff): Likewise.
15866 (_IO_file_stat): Likewise.
15867 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15868 _G_off64_t.
15869 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15870 instead of struct _G_stat64.
15871 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15872
57e605ba
MK
158732012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15874
15875 [BZ #14602]
15876 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15877 Replace with ...
15878 (CHECK_EOL): New macro.
15879 (two_way_short_needle): Check beginning of haystack for EOL. Use
15880 CHECK_EOL.
15881 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15882 Replace with CHECK_EOL.
15883 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15884 Replace with CHECK_EOL.
15885
ef1bb361
JM
158862012-10-08 Joseph Myers <joseph@codesourcery.com>
15887
15888 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15889 type-generic.
15890 * math/libm-test.inc: Update comment listing what functions and
15891 macros are tested.
15892 (finite_test): New function.
15893 (isinf_test): Likewise.
15894 (isnan_test): Likewise.
15895 (fpclassify_test): Test subnormal input.
15896 (isfinite_test): Likewise.
15897 (isnormal_test): Likewise.
15898 (main): Call the new functions.
15899
55f11534
JN
159002012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15901
15902 [BZ #14660]
15903 * Makerules (%.dynsym): Force C locale when running
15904 $(OBJDUMP) --dynamic-syms.
15905
1ab29350
AS
159062012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15907
15908 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15909 <stdint.h>.
15910
f1ecb7ef
DM
159112012-10-06 David S. Miller <davem@davemloft.net>
15912
15913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15914 upper 32-bits of the length value in %o2 since we use branch-on-register
15915 tests which consider the entire 64-bit register.
15916
5d41d91a
L
159172012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15918
15919 * string/test-strstr.c (check2): Add a test for page boundary.
15920
3baddb72
DM
159212012-10-05 David S. Miller <davem@davemloft.net>
15922
15923 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15924 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15925 file.
15926 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15927 sysdep_routines.
15928 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15929 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15930 and bzero when HWCAP_SPARC_CRYPTO is present.
15931
9cee5585
L
159322012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15933
d7e0dab9
L
15934 [BZ #14602]
15935 * string/test-strstr.c (check2): New function.
15936 (test_main): Call check2.
15937
03759f47
L
15938 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15939 and bug-strchr1.
15940 * string/bug-strcasestr1.c (do_test): Moved to ...
15941 * string/test-strcasestr.c (check1): Here. New function.
15942 (do_one_test): Break out result checking code into ...
15943 (check_result): This. New function.
15944 (do_one_test): Call check_result.
15945 (test_main): Call check1.
15946 * string/bug-strchr1.c (do_test): Moved to ...
15947 * string/test-strchr.c (check1): Here. New function.
15948 (do_one_test): Break out result checking code into ...
15949 (check_result): This. New function.
15950 (do_one_test): Call check_result.
15951 (test_main): Call check1.
15952 * string/bug-strstr1.c (main): Moved to ...
046f153e 15953 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15954 (do_one_test): Break out result checking code into ...
15955 (check_result): This. New function.
15956 (do_one_test): Call check_result.
15957 (test_main): Call check1.
15958 * string/bug-strcasestr1.c: Removed.
15959 * string/bug-strchr1.c: Likewise.
15960 * string/bug-strstr1.c: Likewise.
15961
53cea63e
L
15962 * elf/Makefile (dl-routines): Add hwcaps.
15963 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15964 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15965 (_dl_important_hwcaps): Moved to ...
15966 * elf/dl-hwcaps.c: Here. New file.
15967 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15968
9cee5585 15969 [BZ #14557]
bb859b06
L
15970 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15971 if IS_IN_rtld isn't defined.
15972
9cee5585
L
15973 * elf/dl-support.c (_dl_sysinfo_map): New.
15974 Include "get-dynamic-info.h" and "setup-vdso.h".
15975 (_dl_non_dynamic_init): Call setup_vdso.
15976 * elf/dynamic-link.h: Don't include <assert.h>.
15977 (elf_get_dynamic_info): Moved to ...
15978 * elf/get-dynamic-info.h: Here. New file.
15979 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15980 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15981 * elf/setup-vdso.h: Here. New file.
15982 * elf/rtld.c: Include "setup-vdso.h".
15983 (dl_main): Call setup_vdso.
15984
23c31b76
JM
159852012-10-05 Joseph Myers <joseph@codesourcery.com>
15986
28234b07
JM
15987 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15988 creal in comment listing functions tested. List finite, isinf,
15989 isnan, isless, islessequal, isgreater, isgreaterequal,
15990 islessgreater, isunordered, lgamma_r and pow10 as functions and
15991 macros not tested. Mention which functions not tested are aliases
15992 for other functions. Fix typo. Note that signs of NaNs are not
15993 tested.
15994
23c31b76
JM
15995 * scripts/config.guess: Update from config.git.
15996 * scripts/config.sub: Likewise.
15997
9043e228
RM
159982012-10-04 Roland McGrath <roland@hack.frob.com>
15999
16000 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16001 * misc/madvise.c (madvise): Renamed to __madvise.
16002 Make madvise a weak alias.
16003 * include/sys/mman.h: Declare __madvise.
16004 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16005 * sysdeps/unix/syscalls.list
16006 (madvise): Make __madvise the strong name, and madvise a weak alias.
16007 * sysdeps/unix/sysv/linux/syscalls.list
16008 (madvise, mmap): Remove redundant entries.
16009 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16010 * malloc/malloc.c (mtrim): Likewise.
16011 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16012
f57f8055
RM
160132012-10-03 Roland McGrath <roland@hack.frob.com>
16014
16015 * sysdeps/mach/hurd/dl-cache.c: File removed.
16016 * config.h.in (USE_LDCONFIG): New #undef.
16017 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16018 * configure: Regenerated.
16019 * elf/Makefile (dl-routines): Add dl-cache only under
16020 [$(use-ldconfig) = yes].
16021 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16022 cache on [USE_LDCONFIG].
16023 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16024 [USE_LDCONFIG].
16025 * elf/rtld.c (dl_main): Likewise.
16026
5bb0c10a
PT
160272012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16028
16029 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16030 _SC_LEVEL4_CACHE_LINESIZE.
16031
010188c6
RM
160322012-10-03 Roland McGrath <roland@hack.frob.com>
16033
16034 * sysdeps/unix/bsd/confstr.h: File removed.
16035
b6c5ec07
AO
160362012-10-02 Alexandre Oliva <aoliva@redhat.com>
16037
16038 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16039 sys/sdt-config.h.
16040
408223d4
RM
160412012-10-02 Roland McGrath <roland@hack.frob.com>
16042
16043 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16044 Make 'mapoff' field ElfW(Off) rather than off_t.
16045
bb9510dc
DL
160462012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16047
fc997c6e
DL
16048 * nscd/Makefile: Remove nscd-cflags and all its users.
16049 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16050 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16051
bb9510dc
DL
16052 [BZ #10631]
16053 * malloc.c (malloc_printerr): Clarify error message.
16054
05699367
L
160552012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16056
16057 [BZ #14648]
16058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16059 Set bit_FMA_Usable if FMA is supported.
16060 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16061 macro.
16062 (bit_FMA4_Usable): Updated.
16063 (index_FMA_Usable): New macro.
16064 (CPUID_FMA): Likewise
16065 (HAS_FMA): Defined with bit_FMA_Usable.
16066
51367701
RM
160672012-10-01 Roland McGrath <roland@hack.frob.com>
16068
16069 * bits/types.h (__swblk_t): Type removed.
16070 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16071 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16073 (__SWBLK_T_TYPE): Likewise.
16074 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16075 (__SWBLK_T_TYPE): Likewise.
16076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16077 (__SWBLK_T_TYPE): Likewise.
16078 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16079 (__SWBLK_T_TYPE): Likewise.
16080
4d57bf63 160812012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16082 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16083
16084 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16085 (xdr_mapname): Use YPMAXMAP as maxsize.
16086 (xdr_peername): Use YPMAXPEER as maxsize.
16087 (xdr_keydat): Use YPAXRECORD as maxsize.
16088 (xdr_valdat): Use YPMAXRECORD as maxsize.
16089
93c65d43
RM
160902012-10-01 Roland McGrath <roland@hack.frob.com>
16091
497a03d6
RM
16092 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16093
93c65d43
RM
16094 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16095 * csu/init-first.c: ... here.
16096 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16097 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16098 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16099 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16100 * sysdeps/i386/init-first.c: File removed.
16101 * sysdeps/sh/init-first.c: File removed.
16102
bec749fd
JM
161032012-10-01 Joseph Myers <joseph@codesourcery.com>
16104
16105 [BZ #14645]
16106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16107 if x * y might underflow to zero and z is zero.
16108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16109 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16110 * math/libm-test.inc (min_subnorm_value): New variable.
16111 (fma_test): Add more tests.
16112 (fma_test_towardzero): Likewise.
16113 (fma_test_downward): Likewise
16114 (fma_test_upward): Likewise.
16115 (initialize): Set min_subnorm_value.
16116
8ec5b013
JM
161172012-09-29 Joseph Myers <joseph@codesourcery.com>
16118
16119 [BZ #14638]
16120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16121 0 + 0.
16122 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16123 mode for addition resulting in exact zero.
16124 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16126 exact 0 + 0.
16127 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16128 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16129 * math/libm-test.inc (fma_test): Add more tests.
16130 (fma_test_towardzero): New function.
16131 (fma_test_downward): Likewise.
16132 (fma_test_upward): Likewise.
16133 (main): Call the new functions.
16134
b1fa802e
DM
161352012-09-28 David S. Miller <davem@davemloft.net>
16136
16137 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16138
d3b9fd9e
RM
161392012-09-28 Roland McGrath <roland@hack.frob.com>
16140
ea4d37b3
RM
16141 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16142 instead of SIGALRM.
16143
ac51c949
RM
16144 * sysdeps/gnu/_G_config.h: Moved to ...
16145 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16146 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16147 * sysdeps/generic/_G_config.h: ... here.
16148
28c195f7
RM
16149 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16150
848917f9
RM
16151 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16152
6bacf05b
RM
16153 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16154 Conditionalize target on [libnss_test1.so-version].
16155
91363dbb
RM
16156 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16157
cc87f7d8
RM
16158 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16159 (elfobjdir): Move out of conditionals.
16160
b1c608fe
RM
16161 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16162 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16163 (__nss_lookup_function): Conditionalize label remove_from_tree on
16164 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16165
1d9a6d96
DM
161662012-09-28 David S. Miller <davem@davemloft.net>
16167
16168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16169 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16170 file.
16171 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16172 sysdep_routines.
16173 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16175 when HWCAP_SPARC_CRYPTO is present.
16176
72581615
PT
161772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16178
16179 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16180
715a900c
JL
161812012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16182
16183 [BZ #6530]
16184 * stdio-common/vfprintf.c (process_string_arg): Revert
16185 2000-07-22 change.
16186
161872011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16188
16189 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16190 for testcase.
16191 * stdio-common/tst-sprintf.c: Include <locale.h>
16192 (main): Test sprintf's handling of incomplete multibyte
16193 characters.
16194
9bac1d86
L
161952012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16196
16197 * elf/dl-runtime.c (VERSYMIDX): Removed.
16198 * elf/dl-version.c (VERSYMIDX): Likewise.
16199 * elf/do-rel.h (VERSYMIDX): Likewise.
16200 (VALIDX): Likewise.
16201 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16202 * elf/rtld.c (VALIDX): Likewise.
16203 (ADDRIDX): Likewise.
9bac1d86
L
16204 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16205 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16206 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16207 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16208 (VALIDX): Likewise.
16209 (ADDRIDX): Likewise.
9bac1d86 16210
b31606c0
PT
162112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16212
16213 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16214
11541177
JL
162152012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16216
16217 [BZ #11438]
16218 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16219 to global scope.
16220 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16221 addresses are in the same scope as 192.0.2/24.
16222 * posix/gai.conf: Document new scope table defaults.
16223
adb26fae
SP
162242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16225
16226 [BZ #5298]
16227 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16228 for ftell. Compute offsets from write pointers instead.
16229 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16230
4573c6b0
SP
162312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16232
16233 [BZ #14543]
16234 * libio/Makefile (tests): New test case tst-fseek.
16235 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16236 combination works in wide mode.
16237 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16238 state when the external buffer state changes.
16239
aa9bbfe6
DM
162402012-09-27 David S. Miller <davem@davemloft.net>
16241
16242 [BZ #14376]
16243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16244 pass reloc->r_addend in as the 'high' argument to
16245 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16246
784421e7
DM
16247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16248
c39bc8b8
PT
162492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16250
16251 * rt/tst-aio2.c: Include <pthread.h>.
16252 * rt/tst-aio3.c: Likewise.
16253
1ccc2399
SE
162542012-09-27 Steve Ellcey <sellcey@mips.com>
16255
16256 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16257
31ed4153
L
162582012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16259
25f5f885
L
16260 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16261 contents on [SHARED].
31ed4153 16262
b7bfe116
MP
162632012-09-26 Marek Polacek <polacek@redhat.com>
16264
16265 [BZ #14530]
16266 [BZ #13741]
16267 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16268 for C++ and GCC <4.3 as well as for non GCC compilers.
16269
43c4edba
MT
162702012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16271
16272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16273
6a1bf82f
RM
162742012-09-25 Roland McGrath <roland@hack.frob.com>
16275
16276 * Makefile.in (all, install): Declare with .PHONY.
16277 Reported by Michael Hope <michael.hope@linaro.org>.
16278
8ad11b9a
TMQMF
162792012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16280
16281 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16282 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16283 system header.
16284 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16285 Likewise.
16286 (sydep_routines): Add the new and the internal functions.
16287 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16288 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16290 (GLIBC_2.17): Add the new function.
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16292 (GLIBC_2.17): Likewise.
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16294 (GLIBC_2.17): Likewise.
16295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16296 (GLIBC_2.17): Likewise.
16297 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16298
7e2fca8d
AM
162992012-09-25 Alan Modra <amodra@gmail.com>
16300
16301 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16302 Add release barrier before setting once_control to say
16303 initialisation is done. Add hints on lwarx. Use macro in
16304 place of isync.
16305 (clear_once_control): Add release barrier.
16306
b87c4b24
JM
163072012-09-25 Joseph Myers <joseph@codesourcery.com>
16308
d032e0d2
JM
16309 [BZ #13629]
16310 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16311 specially.
16312 * math/s_clog10.c (__clog10): Likewise.
16313 * math/s_clog10f.c (__clog10f): Likewise.
16314 * math/s_clog10l.c (__clog10l): Likewise.
16315 * math/s_clogf.c (__clogf): Likewise.
16316 * math/s_clogl.c (__clogl): Likewise.
16317 * math/Makefile (libm-calls): Add x2y2m1.
16318 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16319 (__x2y2m1): Likewise.
16320 (__x2y2m1l): Likewise.
16321 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16322 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16325 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16326 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16327 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16328 * sysdeps/i386/fpu/libm-test-ulps: Update.
16329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16330
b87c4b24
JM
16331 [BZ #14621]
16332 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16333 int as type of variable DEPTH.
16334 (glob): Use size_t instead of int as type of variables NEWCOUNT
16335 and OLD_PATHC.
16336
6d3bf199
LD
163372012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16338
22bf5c17
LD
16339 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16340 Add s_sincosf-sse2.
16341 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16342 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16343 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16344 macros for using routine as __sincosf_ia32.
16345 Use macro for function declaration and weak_alias.
16346 * sysdeps/i386/fpu/libm-test-ulps: Update.
16347
16348 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16350
16351 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16352 subnormal argument.
16353 * math/s_cexpf.c (__cexpf): Likewise.
16354 * math/s_csinf.c (__csinf): Likewise.
16355 * math/s_csinhf.c (__csinhf): Likewise.
16356 * math/s_ctanf.c (__ctanf): Likewise.
16357 * math/s_ctanhf.c (__ctanhf): Likewise.
16358 * math/s_ccosh.c (__ccoshf): Likewise.
16359 * math/s_cexp.c (__cexpl): Likewise.
16360 * math/s_csin.c (__csin): Likewise.
16361 * math/s_csinh.c (__csinh): Likewise.
16362 * math/s_ctan.c (__ctan): Likewise.
16363 * math/s_ctanh.c (ctanh): Likewise.
16364 * math/s_ccoshl.c (__ccoshl): Likewise.
16365 * math/s_cexpl.c (__cexpl): Likewise.
16366 * math/s_csinl.c (__csinl): Likewise.
16367 * math/s_csinhl.c (__csinhl): Likewise.
16368 * math/s_ctanl.c (__ctanl): Likewise.
16369 * math/s_ctanhl.c (__ctanhl): Likewise.
16370
203e5603
JM
163712012-09-25 Joseph Myers <joseph@codesourcery.com>
16372
16373 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16374 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16375 (_IO_off_t): Define to __off_t, not _G_off_t.
16376 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16377 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16378 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16379 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16380 type of __dummy and __dummy2 fields.
16381 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16382 (_G_ssize_t): Likewise.
16383 (_G_off_t): Likewise.
16384 (_G_pid_t): Likewise.
16385 (_G_uid_t): Likewise.
16386 (_G_wchar_t): Likewise.
16387 (_G_wint_t): Likewise.
16388 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16389 (_G_ssize_t): Likewise.
16390 (_G_off_t): Likewise.
16391 (_G_pid_t): Likewise.
16392 (_G_uid_t): Likewise.
16393 (_G_wchar_t): Likewise.
16394 (_G_wint_t): Likewise.
16395 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16396 (_G_ssize_t): Likewise.
16397 (_G_off_t): Likewise.
16398 (_G_pid_t): Likewise.
16399 (_G_uid_t): Likewise.
16400 (_G_wchar_t): Likewise.
16401 (_G_wint_t): Likewise.
16402
9fab36eb
SP
164032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16404
16405 * malloc/arena.c: Include malloc-sysdep.h.
16406 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16407 is sufficient to shrink the heap or an unmap is needed.
16408 * sysdeps/generic/malloc-sysdep.h: New file. Define
16409 new function check_may_shrink_heap.
16410 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16411 new function check_may_shrink_heap.
16412
2b4f00d1
SP
164132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16414
16415 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16416 comments.
16417
9a9028b1
DL
164182012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16419
57c69bef
DL
16420 * catgets/test-gencat.sh: Add "set -e".
16421 * elf/tst-pathopt.sh: Likewise.
16422 * grp/tst_fgetgrent.sh: Likewise.
16423 * iconvdata/run-iconv-test.sh: Likewise.
16424 * intl/tst-gettext.sh: Likewise.
16425 * intl/tst-gettext2.sh: Likewise.
16426 * intl/tst-gettext4.sh: Likewise.
16427 * intl/tst-gettext6.sh: Likewise.
16428 * intl/tst-translit.sh: Likewise.
16429 * io/ftwtest-sh: Likewise.
16430 * libio/test-freopen.sh: Likewise.
16431 * malloc/tst-mtrace.sh: Likewise.
16432 * posix/globtest.sh: Likewise.
16433 * posix/tst-getconf.sh: Likewise.
16434 * posix/wordexp-tst.sh: Likewise.
16435 * stdio-common/tst-printf.sh: Likewise.
16436 * stdio-common/tst-unbputc.sh: Likewise.
16437 * stdlib/tst-fmtmsg.sh: Likewise.
16438 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16439 * catgets/Makefile: Do not specify -e option when running
16440 testsuite shell scripts.
16441 * elf/Makefile: Likewise.
16442 * grp/Makefile: Likewise.
16443 * iconvdata/Makefile: Likewise.
16444 * intl/Makefile: Likewise.
16445 * io/Makefile: Likewise.
16446 * libio/Makefile: Likewise.
16447 * malloc/Makefile: Likewise.
16448 * posix/Makefile: Likewise.
16449 * stdio-common/Makefile: Likewise.
16450 * stdlib/Makefile: Likewise.
16451 * sysdeps/x86_64/Makefile: Likewise.
16452
9a9028b1
DL
16453 * io/ftwtest-sh: Add copyright header.
16454 * posix/globtest.sh: Likewise.
16455 * posix/tst-getconf.sh: Likewise.
16456 * posix/wordexp-tst.sh: Likewise.
16457 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16458
ced6f16e
L
164592012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16460
94b32c39
L
16461 [BZ #13679]
16462 * Makeconfig (+link): Defined as $(+link-static) if
16463 $(build-shared) isn't yes.
16464 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16465 isn't yes.
16466 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16467
189e935b
L
16468 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16469
ced6f16e
L
16470 [BZ #14562]
16471 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16472 new chunk size with MALLOC_ALIGN_MASK.
16473
a9f8e53a
JM
164742012-09-24 Joseph Myers <joseph@codesourcery.com>
16475
16476 [BZ #5044]
16477 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16478 <rounding-mode.h>.
16479 (__printf_fphex): Determine rounding using get_rounding_mode and
16480 round_away.
16481 * stdio-common/tst-printf-round.c (struct hex_test): New
16482 structure.
16483 (hex_tests): New variable.
16484 (test_hex_in_one_mode): New function.
16485 (do_test): Also run tests for hex float output.
16486
43153109
JM
164872012-09-21 Joseph Myers <joseph@codesourcery.com>
16488
16489 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16490 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16491 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16492 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16493 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16494 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16495 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16496 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16497
8a26625d
JM
164982012-09-20 Joseph Myers <joseph@codesourcery.com>
16499
16500 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16501 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16502 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16503 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16504
f3fd569c
DL
165052012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16506
16507 [BZ #14579]
16508 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16509 mode only.
16510 * elf/tst-rtld-load-self.sh: New test.
16511 * elf/Makefile: Run it.
16512
63bbedd4
JM
165132012-09-18 Joseph Myers <joseph@codesourcery.com>
16514
16515 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16516 (tst-writev-ENV): Remove.
16517 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16518
626f8b6a
CM
165192012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16520
16521 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16522
b7aaa4d6
JM
165232012-09-17 Joseph Myers <joseph@codesourcery.com>
16524
16525 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16526 unconditional.
16527 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16528 Likewise.
16529 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16530 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16531 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16532 Likewise.
16533
65513990
L
165342012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16535
16536 [BZ #14587]
16537 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16538 * config.make.in (have-cpp-asm-debuginfo): Removed.
16539 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16540 * configure: Regenerated.
16541
784761be
JM
165422012-09-14 Joseph Myers <joseph@codesourcery.com>
16543
16544 [BZ #5044]
16545 * stdio-common/printf_fp.c: Include <stdbool.h> and
16546 <rounding-mode.h>.
16547 (___printf_fp): Determine rounding using get_rounding_mode and
16548 round_away.
16549 * stdio-common/tst-printf-round.c: New file.
16550 * stdio-common/Makefile (tests): Add tst-printf-round.
16551 (link-libm): New variable.
16552 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16553
9503345f
L
165542012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16555
16556 [BZ #14576]
16557 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16558 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16559 Likewise.
16560 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16561 Likewise.
16562
ad35fc00
JM
165632012-09-13 Joseph Myers <joseph@codesourcery.com>
16564
16565 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16566 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16567 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16568 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16569
6c9b0f68
JM
165702012-09-12 Joseph Myers <joseph@codesourcery.com>
16571
16572 [BZ #14518]
16573 * include/rounding-mode.h: New file.
16574 * sysdeps/generic/get-rounding-mode.h: Likewise.
16575 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16576 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16577 (MAX_VALUE): New macro.
16578 (MIN_VALUE): Likewise.
16579 (overflow_value): New function.
16580 (underflow_value): Likewise.
16581 (round_and_return): Use overflow_value and underflow_value to
16582 determine return values in overflow and underflow cases. Use
16583 round_away to determine rounding depending on rounding mode.
16584 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16585 determine return values in overflow and underflow cases.
16586 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16587 (struct test_results): New structure.
16588 (struct test): Use struct test_results to store expected results
16589 for all rounding modes.
16590 (TEST): Include expected results for all rounding modes.
16591 (test_in_one_mode): New function.
16592 (do_test): Use test_in_one_mode to compute and check results.
16593 Check results for all rounding modes.
16594 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16595 $(link-libm).
16596
19fcedd5
AM
165972012-12-09 Allan McRae <allan@archlinux.org>
16598
1e9d84cd 16599 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16600
8bbfd2f1
JM
166012012-09-11 Joseph Myers <joseph@codesourcery.com>
16602
16603 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16604 (_G_int32_t): Likewise.
16605 (_G_uint16_t): Likewise.
16606 (_G_uint32_t): Likewise.
16607 (_G_HAVE_BOOL): Likewise.
16608 (_G_HAVE_ATEXIT): Likewise.
16609 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16610 (_G_HAVE_IO_FILE_OPEN): Likewise.
16611 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16612 (_G_int32_t): Likewise.
16613 (_G_uint16_t): Likewise.
16614 (_G_uint32_t): Likewise.
16615 (_G_HAVE_BOOL): Likewise.
16616 (_G_HAVE_ATEXIT): Likewise.
16617 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16618 (_G_HAVE_IO_FILE_OPEN): Likewise.
16619 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16620 (_G_int32_t): Likewise.
16621 (_G_uint16_t): Likewise.
16622 (_G_uint32_t): Likewise.
16623 (_G_HAVE_BOOL): Likewise.
16624 (_G_HAVE_ATEXIT): Likewise.
16625 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16626 (_G_HAVE_IO_FILE_OPEN): Likewise.
16627
b1dc5912
L
166282012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 * csu/libc-tls.c: Update copyright years.
16631
0e886ef9
JM
166322012-09-10 Joseph Myers <joseph@codesourcery.com>
16633
28361c5e
JM
16634 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16635 [!_G_USING_THUNKS]: Remove conditional code.
16636 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16637 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16638
0e886ef9
JM
16639 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16640 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16641 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16642 (_G_VTABLE_LABEL_PREFIX): Likewise.
16643 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16644 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16645 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16646 (_G_VTABLE_LABEL_PREFIX): Likewise.
16647 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16648 * sysdeps/mach/hurd/_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
bcba7aa2
L
166532012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16654
16655 * libio/Makefile: Include ../Makeconfig before tests.
16656 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16657 only if $(build-shared) is yes.
16658
06585ee8
L
16659 * iconv/gconv_db.c: Update copyright years.
16660
80ccd52c
LD
166612012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16662
16663 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16664 unwind info if defined PIC. Fix special cases description.
16665 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16666
16667 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16668 DP_HI_MASK entry.
16669 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16670
691bc9c1
L
166712012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16672
3d9b46b3
L
16673 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16674
de2139a9
L
16675 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16676 is NULL.
16677
5ca78dd0
L
16678 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16679 (LDLIBS-tst-chk4): This.
16680 (LDFLAGS-tst-chk5): Renamed to ...
16681 (LDLIBS-tst-chk5): This.
16682 (LDFLAGS-tst-chk6): Renamed to ...
16683 (LDLIBS-tst-chk6): This.
16684 (LDFLAGS-tst-lfschk4): Renamed to ...
16685 (LDLIBS-tst-lfschk4): This.
16686 (LDFLAGS-tst-lfschk5): Renamed to ...
16687 (LDLIBS-tst-lfschk5): This.
16688 (LDFLAGS-tst-lfschk6): Renamed to ...
16689 (LDLIBS-tst-lfschk6): This.
16690
691bc9c1
L
16691 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16692 on $(common-objpfx)soversions.mk.
16693
65cafb1c
JM
166942012-09-07 Joseph Myers <joseph@codesourcery.com>
16695
16696 [BZ #10014]
16697 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16698 example host name.
16699
c78ab094
SP
167002012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16701
16702 * malloc/arena.c (arena_get_retry): New function that gets
16703 another arena for the caller to try its request on.
16704 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16705 current arena cannot fulfill the request.
16706 (__libc_memalign): Likewise.
16707 (__libc_memalign): Likewise.
16708 (__libc_pvalloc): Likewise.
16709 (__libc_calloc): Likewise.
16710
01f49f59
JT
167112012-09-05 John Tobey <john.tobey@gmail.com>
16712
16713 [BZ #13542]
16714 * manual/arith.texi (Operations on Complex): Fix description
16715 of carg branch cut.
16716
4c23fed5
JM
167172012-09-06 Joseph Myers <joseph@codesourcery.com>
16718
1d3c8572
JM
16719 [BZ #10014]
16720 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16721 host name.
16722
4c23fed5
JM
16723 [BZ #10038]
16724 * manual/memory.texi (Memory): Make order of menu items match
16725 order of sections.
16726
04570aaa
L
167272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16728
16729 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16730 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16731 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16732
b80af2f4
L
167332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16734
16735 * csu/libc-tls.c (static_dtv): Renamed to ...
16736 (_dl_static_dtv): This. Make it global.
16737 (_dl_initial_dtv): Removed.
16738 (__libc_setup_tls): Updated.
16739 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16740 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16741 DL_INITIAL_DTV.
16742
2abe9f15
PM
167432012-09-06 Petr Machata <pmachata@redhat.com>
16744
16745 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16746 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16747 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16748 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16749
0948c3af
L
167502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16751
16752 [BZ #14545]
16753 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16754 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16755 freeing dtv[-1].
16756
a5055ad1
L
167572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16758
16759 [BZ #14544]
16760 * Makeconfig (link-static-before-libc): Replace $(+prector)
16761 with $(+prectorT).
16762 (link-static-after-libc): Replace $(+postctor) with
16763 $(+postctorT).
16764 (link-bounded): Replace $(+prector)/$(+postctor) with
16765 $(+prectorT)/$(+postctorT).
16766 (+prectorT): New macro.
16767 (+postctorT): Likewise.
16768
ed8c2ecd
JM
167692012-09-06 Joseph Myers <joseph@codesourcery.com>
16770
16771 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16772 (round_str): Handle values above the maximum for IBM long double
16773 as inexact.
16774 * stdlib/tst-strtod-round.c (tests): Regenerated.
16775
14c996c8
AK
167762012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16777
16778 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16779 assembler flag.
16780 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16781 zarch_nohighgprs around the zarch optimized routines.
16782 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16783 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16784 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16785 for zarch.
16786
430d6ce6
DM
167872012-09-05 David S. Miller <davem@davemloft.net>
16788
16789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16790
ff04dda4
DM
16791 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16792 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16793 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16794 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16795 entries.
16796
24d4e01b
AO
167972012-09-05 Alexandre Oliva <aoliva@redhat.com>
16798
16799 * malloc/arena.c: Fold copyright years.
16800 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16801
61d58174
AO
168022012-09-05 Alexandre Oliva <aoliva@redhat.com>
16803
16804 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16805
20196a5e
AO
168062012-09-05 Alexandre Oliva <aoliva@redhat.com>
16807
16808 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16809
5c447383
AO
168102012-09-05 Alexandre Oliva <aoliva@redhat.com>
16811
16812 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16813 change internal state upon failure.
16814
fad64255
AO
168152012-09-05 Alexandre Oliva <aoliva@redhat.com>
16816
16817 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16818 * malloc/memusage.c (mmap): Likewise.
16819 (mmap64, mremap): Likewise. Adjust name in comment.
16820
1ffb8c90
SP
168212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16822
16823 * libio/fileops.c: Fix typos in comments.
16824 * libio/oldfileops.c: Likewise.
16825 * libio/wfileops.c: Likewise.
16826
6ef9cc37
SP
168272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16828
16829 [BZ #1349]
16830 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16831 (tst-malloc-usable-ENV): Set environment for test case.
16832 * malloc/hooks.c (malloc_check_get_size): New function to get
16833 requested size.
16834 * malloc/malloc.c (musable): Use malloc_check_get_size.
16835 * malloc/tst-malloc-usable.c: New test case.
16836
4d038ae3
AS
168372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16838
16839 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16840
c4e85184
AM
168412012-09-05 Allan McRae <allan@archlinux.org>
16842
b9dafc56 16843 [BZ #13966]
c4e85184
AM
16844 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16845 determine header location.
16846 * configure: Regenerated.
16847
e1343020
AS
168482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16849
16850 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16851 float format.
16852 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16853 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16854 format.
e1343020
AS
16855 (test): Regenerate.
16856
0a9f1987
DM
168572012-09-04 David S. Miller <davem@davemloft.net>
16858
16859 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16860 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16861 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16862
29237804
FW
168632012-09-04 Florian Weimer <fweimer@redhat.com>
16864
16865 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16866 failures.
16867
edb3cb88
FW
16868 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16869
60160d83
JM
168702012-09-04 Joseph Myers <joseph@codesourcery.com>
16871
16872 [BZ #9914]
16873 * libio/iogetdelim.c: Include <limits.h>.
16874 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16875 + len + 1 would overflow.
16876
bcd6c8dc
AJ
168772012-09-03 Andreas Jaeger <aj@suse.de>
16878
16879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16880 * sysdeps/i386/fpu/libm-test-ulps: Update.
16881
4ffffbd2
LD
168822012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16883
16884 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16885 Add s_sinf-sse2, s_conf-sse2.
16886
16887 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16888 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16889 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16890 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16891
16892 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16893 for using routine as __sinf_ia32.
16894 Use macro for function declaration and weak_alias.
16895 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16896 for using routine as __cosf_ia32.
16897 Use macro for function declaration and weak_alias.
16898
16899 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16900 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16901
16902 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16903 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16905
16906 * math/libm-test.inc (cos_test): Add more test cases.
16907 (sin_test): Likewise.
16908 (sincos_test): Likewise.
16909
511fa286
AK
169102012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16911
16912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16913 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16914 hidden.
16915 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16916
5f30cfec
L
169172012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16918
16919 [BZ #14538]
16920 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16921 first element of the GOT.
16922 (elf_machine_load_address): Return the difference between
16923 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16924
0786794f
AM
169252012-09-01 Allan McRae <allan@archlinux.org>
16926
5f30cfec
L
16927 [BZ #13412]
16928 * configure.in (AWK): Require gawk version 3.0 or later.
16929 * configure: Regenerated.
0786794f 16930
26889eac
JM
169312012-09-01 Joseph Myers <joseph@codesourcery.com>
16932
16933 * sysdeps/unix/sysv/linux/kernel-features.h
16934 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16935 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16936 [__NR_clock_getres]: Make code unconditional.
16937 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16938 (clock_getcpuclockid): Remove code left unreachable by removal of
16939 conditionals.
16940 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16941 code unconditional.
16942 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16943 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16944 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16945 Make code unconditional.
16946 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16947 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16948 * sysdeps/unix/sysv/linux/clock_settime.c
16949 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16950 conditional code.
16951 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16952 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16953
d22e28b0
L
169542012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16955
16956 [BZ #14476]
16957 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16958 scripts/test-installation.pl.
16959
16960 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16961 and $ld_so_version if it is set.
16962
050af9c4
SP
169632012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16964
16965 [BZ #14516]
16966 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16967 failure if reading from procfs failed.
16968 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16969
ad845c0b
JM
169702012-08-27 Joseph Myers <joseph@codesourcery.com>
16971
16972 * sysdeps/unix/sysv/linux/kernel-features.h
16973 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16974 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16975 Remove conditional code.
16976 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16977 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16978 Remove conditional code.
16979 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16980 * sysdeps/unix/sysv/linux/i386/fxstat.c
16981 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16982 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16983 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16984 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16985 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16986 * sysdeps/unix/sysv/linux/i386/lxstat.c
16987 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16988 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16989 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16990 Remove conditional code.
16991 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16992 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16993 Remove conditional code.
16994 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16995 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16996 <kernel-features.h>.
16997 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16998 Remove.
16999 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17000 Remove conditional code.
17001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17002 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17003 Remove conditional.
17004
5dbf56af
MF
170052012-08-27 Mike Frysinger <vapier@gentoo.org>
17006
17007 [BZ #5400]
17008 * NEWS: Add fixed bug number.
17009
d6e70f43
JM
170102012-08-27 Joseph Myers <joseph@codesourcery.com>
17011
7efb4737
JM
17012 [BZ #14519]
17013 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17014 underflowing exponent in case of negative sign.
17015 * stdlib/tst-strtod-round-data: Add more tests.
17016 * stdlib/tst-strtod-round.c (tests): Regenerated.
17017
af92131a
JM
17018 [BZ #3479]
17019 * stdlib/strtod_l.c (NDIG): Remove.
17020 (HEXNDIG): Likewise.
17021 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17022 smallest representable value.
17023 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17024 lie within an exact representation of 1/2 ulp of the result.
17025 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17026 unconditionally.
17027 (TENS_P9_IDX): Define unconditionally.
17028 (TENS_P9_SIZE): Likewise.
17029 (TENS_P10_IDX): Likewise.
17030 (TENS_P10_SIZE): Likewise.
17031 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17032 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17033 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17034 entries for 10^2^13 and 10^2^14.
17035 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17036 (TENS_P13_IDX): Define.
17037 (TENS_P13_SIZE): Likewise.
17038 (TENS_P14_IDX): Likewise.
17039 (TENS_P14_SIZE): Likewise.
17040 (_fpioconst_pow10): Change array size to
17041 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17042 unconditional.
17043 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17044 1024]: Add entries for 10^2^13 and 10^2^14.
17045 [LAST_POW10 > _LAST_POW10]: Remove #error.
17046 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17047 (_fpioconst_pow10): Change array size to
17048 FPIOCONST_POW10_ARRAY_SIZE.
17049 * stdlib/gen-fpioconst.c: New file.
17050 * stdlib/gen-tst-strtod-round.c: Likewise.
17051 * stdlib/tst-strtod-round-data: Likewise.
17052 * stdlib/tst-strtod-round.c: Likewise.
17053 * stdlib/Makefile (tests): Add tst-strtod-round.
17054
d6e70f43
JM
17055 [BZ #14459]
17056 * stdlib/strtod_l.c: Include <stdint.h>.
17057 (NDEBUG): Do not define.
17058 (round_and_return): Change EXPONENT parameter to type intmax_t.
17059 Rearrange calculations to avoid internal overflow possibilities.
17060 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17061 Rearrange calculations to avoid internal overflow possibilities.
17062 Assert that number fits inside MPNSIZE limbs.
17063 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17064 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17065 calculations and add assertions to avoid internal overflow
17066 possibilities. Add casts to avoid signed/unsigned operations.
17067 * stdlib/tst-strtod-overflow.c: New file.
17068 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17069
1f529f7d
MP
170702012-08-25 Marek Polacek <polacek@redhat.com>
17071
17072 * time/time.h: Fix some typos in comments.
17073
59a629f1
RM
170742012-08-23 Roland McGrath <roland@hack.frob.com>
17075
17076 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17077 * posix/tst-rfc3484-2.c: Likewise.
17078 * posix/tst-rfc3484-3.c: Likewise.
17079
d3bafbc9
SM
170802012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17081
17082 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17083 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17084
4efcc022
JM
170852012-08-23 Joseph Myers <joseph@codesourcery.com>
17086
17087 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17088 #include of fxstatat64.c.
17089
3cc3ef96
RM
170902012-08-22 Roland McGrath <roland@hack.frob.com>
17091
f04e2132
RM
17092 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17093 * shadow/getspent_r.c: Likewise.
17094 * shadow/getspnam.c: Likewise.
17095 * shadow/getspnam_r.c: Likewise.
17096 * gshadow/getsgent.c: Likewise.
17097 * gshadow/getsgent_r.c: Likewise.
17098 * gshadow/getsgnam.c: Likewise.
17099 * gshadow/getsgnam_r.c: Likewise.
17100 * inet/getnetbyad.c: Likewise.
17101 * inet/getnetbyad_r.c: Likewise.
17102 * inet/getnetbynm.c: Likewise.
17103 * inet/getnetbynm_r.c: Likewise.
17104 * inet/getnetent.c: Likewise.
17105 * inet/getnetent_r.c: Likewise.
17106 * inet/getproto.c: Likewise.
17107 * inet/getproto_r.c: Likewise.
17108 * inet/getprtent.c: Likewise.
17109 * inet/getprtent_r.c: Likewise.
17110 * inet/getprtname.c: Likewise.
17111 * inet/getprtname_r.c: Likewise.
17112 * inet/getrpcbyname.c: Likewise.
17113 * inet/getrpcbyname_r.c: Likewise.
17114 * inet/getrpcbynumber.c: Likewise.
17115 * inet/getrpcbynumber_r.c: Likewise.
17116 * inet/getrpcent.c: Likewise.
17117 * inet/getrpcent_r.c: Likewise.
17118 * inet/getaliasent.c: Likewise.
17119 * inet/getaliasent_r.c: Likewise.
17120 * inet/getaliasname.c: Likewise.
17121 * inet/getaliasname_r.c: Likewise.
17122 * nscd/getgrgid_r.c: Likewise.
17123 * nscd/getgrnam_r.c: Likewise.
17124 * nscd/gethstbyad_r.c: Likewise.
17125 * nscd/gethstbynm3_r.c: Likewise.
17126 * nscd/getpwnam_r.c: Likewise.
17127 * nscd/getpwuid_r.c: Likewise.
17128 * nscd/getsrvbynm_r.c: Likewise.
17129 * nscd/getsrvbypt_r.c: Likewise.
17130 * nscd/gai.c: Likewise.
17131
c53d909c
RM
17132 * configure.in (build_nscd): New substituted variable, set
17133 by --disable-build-nscd and defaults to $use_nscd.
17134 * configure: Regenerated.
17135 * config.make.in (build-nscd): New substituted variable.
17136 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17137 Change conditional to require [$(build-nscd) = yes] as well.
17138 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17139
3cc3ef96
RM
17140 [BZ# 13696]
17141 * configure.in (use_nscd): New substituted variable, set by
17142 --disable-nscd. If enabled, define USE_NSCD.
17143 * configure: Regenerated.
17144 * config.h.in: Add USE_NSCD.
17145 * config.make.in (use-nscd): New substituted variable.
17146 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17147 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17148 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17149 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17150 (CFLAGS-getgrnam_r.c): Likewise.
17151 (CFLAGS-initgroups.c): Likewise.
17152 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17153 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17154 Variables removed.
17155 * inet/getnetgrent_r.c
17156 (nscd_setnetgrent): New function, broken out of ...
17157 (setnetgrent): ... here. Call it.
17158 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17159 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17160 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17161 * nscd/Makefile (routines, aux): Move definitions after include of
17162 Makeconfig. Conditionalize on [$(use-nscd) != no].
17163 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17164 Conditionalize on [USE_NSCD].
17165 (is_nscd, nscd_init_cb): Likewise.
17166 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17167 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17168 * nss/nss_db/db-init.c: Likewise.
17169 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17170 [USE_NSCD].
17171 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17172 (make_request): Use it.
17173 (cache_valid_p): New function.
17174 (__check_pf): Use it.
17175 * NEWS: Add item for --disable-nscd.
17176
07e51550
DL
171772012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17178
17179 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17180 to support sed >= 4.2.1-20-ga9bf076.
17181 * configure: Regenerated.
17182
35a5b08b
RM
171832012-08-22 Roland McGrath <roland@hack.frob.com>
17184
17185 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17186 Conditionalize whole body on [IREL].
17187
8479f23a
JL
171882012-08-22 Jeff Law <law@redhat.com>
17189
17190 [BZ #14505]
17191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17192 if the family is PF_UNSPEC.
17193
48da0b21
MF
171942012-08-22 Mike Frysinger <vapier@gentoo.org>
17195
17196 * Makerules (lib-version): Rename from V.
17197 (install-lib-nosubdir): Change V to lib-version.
17198
15d0da8c
WS
171992012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17200
17201 [BZ #14252]
17202 * powerpc32/power6/wcschr.c: New file.
17203 * powerpc32/power6/wcscpy.c: New file.
17204 * powerpc32/power6/wcsrchr.c: New file.
17205 * powerpc64/power6/wcschr.c: New file.
17206 * powerpc64/power6/wcscpy.c: New file.
17207 * powerpc64/power6/wcsrchr.c: New file.
17208
bcca0895
MK
172092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17210
17211 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17212 (two_way_short_needle): Use it.
5a4aaa33
RM
17213 * string/strstr.c (AVAILABLE1_USES_J): Define.
17214 * string/strcasestr.c: Likewise.
99677e57
MK
17215
17216 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17217 array references.
17218 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17219
400726de
MK
17220 [BZ #11607]
17221 * NEWS: Add an entry.
17222 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17223 define their defaults.
17224 (two_way_short_needle): Detect end-of-string on-the-fly.
17225 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17226 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17227 * string/bug-strcasestr1.c: New test.
17228 * string/Makefile: Run it.
17229
20a71f2c
MK
172302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17231
17232 [BZ #11607]
17233 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17234 the first character.
17235
21ad0558
RM
172362012-08-21 Roland McGrath <roland@hack.frob.com>
17237
17238 * csu/elf-init.c (__libc_csu_irel): Function removed.
17239 * csu/libc-start.c (apply_irel): New function.
17240 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17241
0e1d9911
JM
172422012-08-21 Joseph Myers <joseph@codesourcery.com>
17243
17244 * sysdeps/unix/sysv/linux/kernel-features.h
17245 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17246 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17247 <kernel-features.h>.
17248 [__NR_fadvise64_64]: Make code unconditional.
17249 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17250 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17251 !__NR_fadvise64_64)]: Likewise.
17252 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17253 !__NR_fadvise64_64))]: Likewise.
17254 [__NR_fadvise64]: Make code unconditional.
17255 [!__NR_fadvise64]: Remove conditional code.
17256 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17257 <kernel-features.h>.
17258 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17259 unconditional.
17260 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17261 conditional code.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17263 not include <kernel-features.h>.
17264 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17265 unconditional.
17266 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17267 conditional code.
17268 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17269 include <kernel-features.h>.
17270 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17271 unconditional.
17272 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17273 conditional code.
17274
14a50c9d
WS
172752012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17276
17277 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17278 slight instruction rearrangements per scrollpipe analysis.
17279 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17280
c0f4faf0
RM
172812012-08-20 Roland McGrath <roland@hack.frob.com>
17282
696da859
RM
17283 * manual/syslog.texi (syslog; vsyslog, closelog):
17284 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17285 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17286
c0f4faf0
RM
17287 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17288 DSOCAPS to match condition on defining it.
17289
348363b2
JM
172902012-08-20 Joseph Myers <joseph@codesourcery.com>
17291
a35cbf28
JM
17292 * sysdeps/unix/sysv/linux/kernel-features.h
17293 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17295 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17296 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17298 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17299 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17301 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17302 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17303
445f7ecd
JM
17304 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17305 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17306
348363b2
JM
17307 * sysdeps/unix/sysv/linux/kernel-features.h
17308 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17309 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17310 unconditional.
17311 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17312 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17313 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17314 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17315 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17316 Make code unconditional.
17317 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17318 (__mmap64) [!__NR_mmap2]: Likewise.
17319 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17320 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17321 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17322 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17323 [__NR_mmap2]: Make code unconditional.
17324 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17325 (__mmap64) [!__NR_mmap2]: Likewise.
17326
bc5bc0e5
AK
173272012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17328
17329 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17330
88d506de
AJ
173312012-08-18 Andreas Jaeger <aj@suse.de>
17332
17333 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17334
493387d2
MF
173352012-08-18 Mike Frysinger <vapier@gentoo.org>
17336
17337 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17338 * include/unistd.h (__have_sock_cloexec): Likewise.
17339 (__have_pipe2): Likewise.
17340 (__have_dup3): Likewise.
17341
a277af22
MF
173422012-08-18 Mike Frysinger <vapier@gentoo.org>
17343
17344 [BZ #9685]
17345 * include/unistd.h (__have_pipe2): Change define into an extern int.
17346 (__have_dup3): Likewise.
17347 * socket/have_sock_cloexec.c: Include fcntl.h.
17348 (__have_pipe2): New variable.
17349 (__have_dup3): Likewise.
17350
fdab8fd3
MF
173512012-08-17 Mike Frysinger <vapier@gentoo.org>
17352
17353 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17354
31035e80
MP
173552012-08-17 Marek Polacek <polacek@redhat.com>
17356
17357 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17358 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17359
3bd9e993
RM
173602012-08-17 Roland McGrath <roland@hack.frob.com>
17361
c91c505f
RM
17362 * configure.in: Add AC_SUBST for sysheaders.
17363 * configure: Regenerated.
17364 * config.make.in (sysheaders): New substituted variable.
17365
7c6f9d53
RM
17366 * sysdeps/unix/mkfifo.c: Moved ...
17367 * sysdeps/posix/mkfifo.c: ... here.
17368 * sysdeps/unix/mkfifoat.c: Moved ...
17369 * sysdeps/posix/mkfifoat.c: ... here.
17370
17371 * sysdeps/unix/utime.c: Moved ...
17372 * sysdeps/posix/utime.c: ... here.
17373
17374 * sysdeps/unix/time.c: Moved ...
17375 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17376 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17377 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17378
17379 * sysdeps/unix/nice.c: Moved ...
17380 * sysdeps/posix/nice.c: ... here.
17381
17382 * sysdeps/unix/alarm.c: Moved ...
17383 * sysdeps/posix/alarm.c: ... here.
17384
3bd9e993
RM
17385 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17386
d1f09384
JL
173872012-08-17 Jeff Law <law@redhat.com>
17388
17389 * intl/Makefile (codeset_mo): New variable.
17390 ($(codeset_mo)): New target.
17391 (tst-codeset.out): Depend on that. Remove explicit rule.
17392 (tst-gettext3.out, tst-gettext5.out): Likewise.
17393 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17394 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17395 * intl/tst-codeset.sh: Remove.
17396 * intl/tst-gettext3.sh: Likewise.
17397 * intl/tst-gettext5.sh: Likewise.
17398
2ae1ae5c
RM
173992012-08-17 Roland McGrath <roland@hack.frob.com>
17400
c31fdb83
RM
17401 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17402 * sysdeps/unix/syscalls.list: ... here.
17403
a0844057
RM
17404 * sysdeps/posix/getaddrinfo.c
17405 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17406 (gaiconf_init, gaiconf_reload): Use them.
17407 [!_STATBUF_ST_NSEC]
17408 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17409 Define using time_t rather than struct timespec.
17410
750c1f2a
RM
17411 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17412 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17413 Macros removed.
17414 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17415 [!NO_THREADS].
17416 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17417 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17418 Likewise.
17419
2ae1ae5c
RM
17420 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17421 __libc_cleanup_push argument.
17422
e66a42f5
RM
17423 * bits/param.h: New file.
17424 * misc/sys/param.h: New file.
17425 * include/sys/param.h: New file.
17426 * misc/Makefile (headers): Add bits/param.h.
17427 * sysdeps/generic/sys/param.h: File removed.
17428 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17429 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17430 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17431 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17432
b7c08a66
RM
17433 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17434 last change.
17435
b2e1c562
RM
17436 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17437 [_IO_MTSAFE_IO].
17438 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17439 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17440 New macros.
17441
c75ccd4c
RM
17442 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17443 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17444 rather than -D_IO_MTSAFE_IO conditionally.
17445 * stdio-common/Makefile (CPPFLAGS): Likewise.
17446 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17447 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17448 Use $(libio-mtsafe).
17449 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17450 of -D_IO_MTSAFE_IO.
17451 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17452 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17453 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17454 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17455 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17456 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17457 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17458 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17459 (CFLAGS-fread_u_chk.c): Likewise.
17460 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17461 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17462 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17463 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17464 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17465 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17466 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17467 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17468 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17469
17470 * libio/Makefile: Test [$(libc-reentrant) = yes]
17471 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17472
17473 * Makeconfig
17474 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17475 * sysdeps/pthread/configure: File removed.
17476 * sysdeps/pthread/Makeconfig: New file.
17477 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17478 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17479
d9195db8
GB
174802012-08-16 Gary Benson <gbenson@redhat.com>
17481
17482 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17483 unmapping the first object in a namespace.
17484
86466cd9
RM
174852012-08-16 Roland McGrath <roland@hack.frob.com>
17486
17487 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17488 (__internal_setnetgrent): ... this. Add internal_function to
17489 definition. Add libc_hidden_def.
17490 (setnetgrent): Update caller.
17491 (internal_endnetgrent): Renamed to ...
17492 (__internal_endnetgrent): ... this. Add internal_function to
17493 definition. Add libc_hidden_def.
17494 (endnetgrent): Update caller.
17495 (internal_getnetgrent_r): Renamed to ...
17496 (__internal_getnetgrent_r): ... this. Add internal_function to
17497 definition. Add libc_hidden_def.
17498 (__getnetgrent_r): Update caller.
17499 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17500
c3c8283c
JM
175012012-08-16 Joseph Myers <joseph@codesourcery.com>
17502
17503 * stdlib/longlong.h: Update from GCC.
17504
db1ee0a8
RM
175052012-08-16 Roland McGrath <roland@hack.frob.com>
17506
17507 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17508 on _QL, which is set by umul_ppmm but never used.
17509 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17510 variables, which are set by GMP macros but never used.
17511 * stdio-common/_itowa.c (_itowa): Likewise.
17512 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17513 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17514
30f69637
CD
175152012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17516
17517 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17518 struct La_sh_regs is not constant.
17519 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17520 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17521 and struct La_sparc64_regs are not constant.
17522
93a78ac4
JM
175232012-08-16 Joseph Myers <joseph@codesourcery.com>
17524
17525 * sysdeps/unix/sysv/linux/kernel-features.h
17526 (__ASSUME_POSIX_TIMERS): Remove.
17527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17528 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17529 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17530 Make code unconditional.
17531 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17532 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17533 Make code unconditional.
17534 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17535 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17536 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17537 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17538 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17539 Make code unconditional.
17540 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17541 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17542 (__libc_missing_posix_timers): Remove.
17543
dd924cd7
RM
175442012-08-15 Roland McGrath <roland@hack.frob.com>
17545
4b4f2771
RM
17546 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17547 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17548
601c888b
RM
17549 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17550
176790a7
RM
17551 * elf/dl-sym.c: Include <stdlib.h>.
17552
329bc018
RM
17553 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17554 constants, which avoids warnings in 32-bit builds.
17555
e04e272d
RM
17556 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17557 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17558
952bf94a
RM
17559 * misc/lseek.c: File moved to ...
17560 * io/lseek.c: ... here.
17561
7c99b50a
RM
17562 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17563
dd924cd7
RM
17564 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17565 shifting LEN more than 31 bits at once.
17566
b3f479a8
LD
175672012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17568
17569 [BZ #14195]
8c4ae0d4
RM
17570 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17571 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17572 * string/test-strncasecmp.c (check1): Renamed to...
17573 (bz12205): ...this.
17574 (bz14195): Add new testcase for two empty input strings and N > 0.
17575 (test_main): Call new testcase, adapt for renamed function.
17576
9c55864e
AJ
175772012-08-15 Andreas Jaeger <aj@suse.de>
17578
17579 [BZ #14090]
17580 * crypt/md5test2.c: New test, based on test supplied by Serge
17581 Belyshev <belyshev@depni.sinp.msu.ru>.
17582 * crypt/Makefile (xtests): Add md5test-giant..
17583 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17584
02dcb6c5
PE
175852012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17586
17587 [BZ #14090]
17588 * crypt/md5.c (md5_process_block): Don't assume the buffer
17589 length is less than 2**32.
17590 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17591 length is less than 2**64.
17592
a3f95dcc
RM
175932012-08-15 Roland McGrath <roland@hack.frob.com>
17594
be75d758
RM
17595 * string/str-two-way.h: Include <sys/param.h>.
17596 (MAX): Macro removed.
17597
7312ca90
RM
17598 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17599 Move #define and #undef of memmove to just before and after
17600 including <string.h>.
17601
9a0a5486
RM
17602 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17603 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17604 and after including <string.h>. Move declarations of
17605 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17606 to before #include "string/memmove.c".
17607
67cc348d
RM
17608 * include/dirent.h: Declare __getdirentries.
17609
a3f95dcc
RM
17610 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17611 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17612
ca98e171
MF
176132012-08-14 Mike Frysinger <vapier@gentoo.org>
17614
17615 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17616 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17617 * sysdeps/i386/configure: Regenerated.
17618 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17619 STABS_CURRENT_FILE, and STABS_FUN.
17620 (END): Remove call to STABS_FUN_END.
17621 (STABS_CURRENT_FILE1): Delete.
17622 (STABS_CURRENT_FILE): Likewise.
17623 (STABS_FUN): Likewise.
17624 (STABS_FUN_END): Likewise.
17625 (STABS_FUN2): Likewise.
17626 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17627 * sysdeps/x86_64/configure: Regenerated.
17628
5908bf46
RM
176292012-08-14 Roland McGrath <roland@hack.frob.com>
17630
17631 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17632 * elf/dl-lookup.c: Likewise.
5908bf46 17633
f2c05b9e
JM
176342012-08-14 Joseph Myers <joseph@codesourcery.com>
17635
17636 * sysdeps/unix/sysv/linux/kernel-features.h
17637 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17638 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17639 unconditionally.
17640 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17641 unconditionally.
17642 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17643 condition on __ASSUME_CLONE_THREAD_FLAGS.
17644
e11f5155
AJ
176452012-08-14 Andreas Jaeger <aj@suse.de>
17646
17647 * sysdeps/i386/fpu/libm-test-ulps: Update.
17648
51a9ba86
MK
176492012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17650
2fdd4f78
AJ
17651 * include/atomic.h (atomic_exchange_and_add): Split into ...
17652 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17653 New atomic macros.
51a9ba86 17654
ba6cba9e
MT
176552012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17656
17657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17658
42443a47
JL
176592012-08-13 Jeff Law <law@redhat.com>
17660
17661 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17662 null byte in the output string.
17663
121dce05
JM
176642012-08-10 Joseph Myers <joseph@codesourcery.com>
17665
17666 * sysdeps/unix/sysv/linux/kernel-features.h
17667 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17668 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17669 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17670 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17671 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17672 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17673 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17674
bf51f568
JL
176752012-08-09 Jeff Law <law@redhat.com>
17676
17677 [BZ #13939]
17678 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17679 When avoid_arena is set, don't retry in the that arena. Pick the
17680 next one, whatever it might be.
17681 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17682 (arena_lock): Pass in new parameter to arena_get2.
17683 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17684 arena_get2.
17685 (__libc_malloc): Unify retrying after main arena failure with
17686 __libc_memalign version.
17687 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17688
f85fa270
L
176892012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17690
17691 [BZ #14166]
17692 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17693 to __redirect_strstr.
17694 (__strstr_sse42): Use typeof __redirect_strstr.
17695 (__strstr_ia32): Likewise.
17696 (__libc_strstr): New prototype.
17697 (strstr): Renamed to ...
17698 (__libc_strstr): This.
17699 (strstr): New strong alias of __libc_strstr.
17700 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17701 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17702 __redirect_time.
17703 Include <time.h>.
17704 (__libc_time): New prototype.
17705 (time_ifunc): Replace time with __libc_time.
17706 (time): New strong alias and hidden definition of __libc_time.
17707 (__GI_time): Remove strong alias.
17708 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17709 Include <stddef.h>.
17710 (memmove): Redefined to __redirect_memmove.
17711 (__memmove_sse2): Use typeof __redirect_memmove.
17712 (__memmove_ssse3): Likewise.
17713 (__memmove_ssse3_back): Likewise.
17714 (__libc_memmove): New prototype.
17715 (memmove): Renamed to ...
17716 (__libc_memmove): This.
17717 (memmove): New strong alias of __libc_memmove.
17718
33b4a91e
MS
177192012-08-08 Mark Salter <msalter@redhat.com>
17720
17721 * elf/elf.h
17722 (R_MN10300_TLS_GD): Define.
17723 (R_MN10300_TLS_LD): Likewise.
17724 (R_MN10300_TLS_LDO): Likewise.
17725 (R_MN10300_TLS_GOTIE): Likewise.
17726 (R_MN10300_TLS_IE): Likewise.
17727 (R_MN10300_TLS_LE): Likewise.
17728 (R_MN10300_TLS_DTPMOD): Likewise.
17729 (R_MN10300_TLS_DTPOFF): Likewise.
17730 (R_MN10300_TLS_TPOFF): Likewise.
17731 (R_MN10300_SYM_DIFF): Likewise.
17732 (R_MN10300_ALIGN): Likewise.
17733 (R_MN10300_NUM): Update.
17734
b36137f1
JM
177352012-08-08 Joseph Myers <joseph@codesourcery.com>
17736
17737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17738 Remove.
17739
cdd915fd
RM
177402012-08-08 Roland McGrath <roland@hack.frob.com>
17741
a2433aac
RM
17742 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17743
cdd915fd
RM
17744 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17745 sysdeps/unix -> sysdeps/posix move.
17746 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17747
bf9b740a
AM
177482012-08-07 Allan McRae <allan@archlinux.org>
17749
17750 [BZ #14303]
17751 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17752 (SUNOS_CPP): Likewise.
17753 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17754 not found.
17755 (open_input): Call CPP using execvp.
17756
93df14ee
JM
177572012-08-07 Joseph Myers <joseph@codesourcery.com>
17758
17759 * sysdeps/unix/sysv/linux/kernel-features.h
17760 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17761 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17762 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17763 (__ASSUME_WAITID_SYSCALL): Likewise.
17764 * sysdeps/unix/sysv/linux/dl-execstack.c
17765 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17766 code unconditional.
17767 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17768 conditional code.
17769 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17770 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17771 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17772 code.
17773 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17774 unconditional.
17775 [__ASSUME_WAITID_SYSCALL]: Likewise.
17776 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17777
d34689de
RM
177782012-08-07 Roland McGrath <roland@hack.frob.com>
17779
a281decc
RM
17780 * sysdeps/unix/closedir.c: Renamed to ...
17781 * sysdeps/posix/closedir.c: ... here.
17782 * sysdeps/unix/dirfd.c: Renamed to ...
17783 * sysdeps/posix/dirfd.c: ... here.
17784 * sysdeps/unix/dirstream.h: Renamed to ...
17785 * sysdeps/posix/dirstream.h: ... here.
17786 * sysdeps/unix/fdopendir.c: Renamed to ...
17787 * sysdeps/posix/fdopendir.c: ... here.
17788 * sysdeps/unix/opendir.c: Renamed to ...
17789 * sysdeps/posix/opendir.c: ... here.
17790 * sysdeps/unix/readdir.c: Renamed to ...
17791 * sysdeps/posix/readdir.c: ... here.
17792 * sysdeps/unix/readdir_r.c: Renamed to ...
17793 * sysdeps/posix/readdir_r.c: ... here.
17794 * sysdeps/unix/rewinddir.c: Renamed to ...
17795 * sysdeps/posix/rewinddir.c: ... here.
17796 * sysdeps/unix/seekdir.c: Renamed to ...
17797 * sysdeps/posix/seekdir.c: ... here.
17798 * sysdeps/unix/telldir.c: Renamed to ...
17799 * sysdeps/posix/telldir.c: ... here.
17800 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17801 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17803 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17804
22895b47
RM
17805 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17806 * bits/fcntl.h: ... here.
17807
707a53b6
RM
17808 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17809 not 0.
17810 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17811 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17812 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17813 (struct flock): Move l_start, l_len to the beginning.
17814 Use __pid_t for l_pid.
17815 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17816 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17817 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17818 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17819 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17820 [__USE_LARGEFILE64] (struct flock64): New type.
17821 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17822
f0bd3e25
RM
17823 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17824 * bits/dirent.h: ... here.
17825
d34689de
RM
17826 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17827 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17828
6dad2c06
JM
178292012-08-07 Joseph Myers <joseph@codesourcery.com>
17830
17831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17832 Change from 2.6.0 to 2.6.16.
17833 * sysdeps/unix/sysv/linux/configure: Regenerated.
17834 * sysdeps/unix/sysv/linux/kernel-features.h
17835 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17836 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17837 version.
17838 (__ASSUME_UTIMES): Likewise.
17839 (__ASSUME_CLONE_STOPPED): Remove.
17840 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17841 architectures, not kernel version.
17842 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17843 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17844 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17845 (__ASSUME_WAITID_SYSCALL): Likewise.
17846 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17847 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17848 * README: State 2.6.16 as minimum Linux kernel version. Do not
17849 refer to older versions.
17850
03af9520
RM
178512012-08-06 Roland McGrath <roland@hack.frob.com>
17852
8e49df1d
RM
17853 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17854 Define alphasort64 as an alias.
17855 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17856 Define versionsort64 as an alias.
17857 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17858 Define scandir64 as an alias.
17859 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17860 Define scandirat64 as an alias.
17861 * dirent/alphasort64.c (alphasort64):
17862 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17863 * dirent/versionsort64.c: Likewise.
17864 * dirent/scandir64.c: Likewise.
17865 * dirent/scandirat64.c: Likewise.
17866 * sysdeps/wordsize-64/alphasort.c: File removed.
17867 * sysdeps/wordsize-64/alphasort64.c: File removed.
17868 * sysdeps/wordsize-64/scandir.c: File removed.
17869 * sysdeps/wordsize-64/scandir64.c: File removed.
17870 * sysdeps/wordsize-64/scandirat.c: File removed.
17871 * sysdeps/wordsize-64/scandirat64.c: File removed.
17872 * sysdeps/wordsize-64/versionsort.c: File removed.
17873 * sysdeps/wordsize-64/versionsort64.c: File removed.
17874 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17875 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17876 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17877 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17879 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17881 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17882
17883 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17885 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17887 [defined __arch64__ || defined __sparcv9]
17888 (__INO_T_MATCHES_INO64_T): New macro.
17889 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17890 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17891 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17892 * sysdeps/unix/sysv/linux/bits/dirent.h
17893 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17894 (_DIRENT_MATCHES_DIRENT64): New macro.
17895
03af9520
RM
17896 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17897 Define lockf64 as an alias.
17898 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17899 Define fseeko64 as an alias.
17900 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17901 Define ftello64 as an alias.
17902 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17903 Define _IO_fgetpos64 and fgetpos64 as aliases.
17904 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17905 Define _IO_fsetpos64 and fsetpos64 as aliases.
17906 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17907 Conditionalize body on this.
17908 * libio/fseeko64.c: Likewise.
17909 * libio/ftello64.c: Likewise.
17910 * libio/iofgetpos64.c: Likewise.
17911 * libio/iofsetpos64.c: Likewise.
17912 * sysdeps/wordsize-64/lockf.c: File removed.
17913 * sysdeps/wordsize-64/lockf64.c: File removed.
17914 * sysdeps/wordsize-64/fseeko.c: File removed.
17915 * sysdeps/wordsize-64/fseeko64.c: File removed.
17916 * sysdeps/wordsize-64/ftello.c: File removed.
17917 * sysdeps/wordsize-64/ftello64.c: File removed.
17918 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17919 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17920 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17921 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17922 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17923 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17924 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17925 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17926 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17927 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17929 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17930 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17931 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17932
17933 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17935 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17937 [defined __arch64__ || defined __sparcv9]
17938 (__OFF_T_MATCHES_OFF64_T): New macro.
17939 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17940 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17942 (__OFF_T_MATCHES_OFF64_T): New macro.
17943
c5757acd
L
179442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17945
17946 * stdlib/secure-getenv.c (__secure_getenv): Replace
17947 GLIBC_2_16 with GLIBC_2_17.
17948
3a31811e
L
179492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17950
17951 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17952 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17953
faa2bccb
DM
179542012-08-03 David S. Miller <davem@davemloft.net>
17955
17956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17957
85fe1997
JM
179582012-08-03 Joseph Myers <joseph@codesourcery.com>
17959
17960 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17961 Remove.
17962 (__ASSUME_CORRECT_SI_PID): Likewise.
17963 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17964 (__ASSUME_TMPFS_NAME): Likewise.
17965 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17966 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17967 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17968 (HAVE_AUX_SECURE): Make definition unconditional.
17969 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17970 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17971
4f75b7a0
RM
179722012-08-03 Roland McGrath <roland@hack.frob.com>
17973
17974 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17975 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17976 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17977 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17978 __eloop_threshold instead of SYMLOOP_MAX.
17979
17980 * sysdeps/generic/eloop-threshold.h: New file.
17981 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17982 of MAXSYMLINKS.
17983 * elf/chroot_canon.c (chroot_canon): Likewise.
17984
7aab07e4
JM
179852012-08-03 Joseph Myers <joseph@codesourcery.com>
17986
17987 [BZ #13717]
17988 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17989 Change to 2.6.0 everywhere.
17990 * sysdeps/unix/sysv/linux/configure: Regenerated.
17991 * sysdeps/unix/sysv/linux/kernel-features.h
17992 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17993 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17994 kernel versions.
17995 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17996 (__ASSUME_FUTEX_REQUEUE): Remove.
17997 (__ASSUME_STATFS64): Define unconditionally.
17998 (__ASSUME_AT_SECURE): Likewise.
17999 (__ASSUME_CORRECT_SI_PID): Likewise.
18000 (__ASSUME_TGKILL): Define without depending on kernel version for
18001 i386.
18002 (__ASSUME_UTIMES): Likewise.
18003 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18004 kernel version.
18005 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18006 (__ASSUME_TMPFS_NAME): Likewise.
18007 * README: Update reference to Linux kernel versions.
18008
b67e9372
MP
180092012-08-02 Marek Polacek <polacek@redhat.com>
18010
1f529f7d 18011 [BZ# 14150]
b67e9372
MP
18012 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18013 libc_cv_asm_type_prefix with %.
18014 * configure: Regenerated.
d2441631
RM
18015 * include/libc-symbols.h: Remove comment about
18016 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18017 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18018 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18019 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18020 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18021 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18022 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18023 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18024 * elf/tst-unique2mod1.c: Likewise.
18025 * elf/tst-unique1mod2.c: Likewise.
18026 * elf/tst-unique1mod1.c: Likewise.
18027 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18028 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18029 Replace ASM_TYPE_DIRECTIVE with .type.
18030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18031 * sysdeps/i386/sysdep.h: Likewise.
18032 * sysdeps/x86_64/sysdep.h: Likewise.
18033 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18035 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18036 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18037 * sysdeps/powerpc/powerpc32/sysdep.h:
18038 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18039 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18040 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18041 * sysdeps/i386/fpu/e_powf.S: Likewise.
18042 * sysdeps/i386/fpu/e_expl.S: Likewise.
18043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18044 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18045 * sysdeps/i386/fpu/e_pow.S: Likewise.
18046 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18047 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18048 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18049 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18050 * sysdeps/i386/fpu/e_log2.S: Likewise.
18051 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18052 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18053 * sysdeps/i386/fpu/e_powl.S: Likewise.
18054 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18055 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18056 * sysdeps/i386/fpu/e_logl.S: Likewise.
18057 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18058 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18059 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18060 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18062 * sysdeps/i386/fpu/e_log.S: Likewise.
18063 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18064 * sysdeps/i386/fpu/e_logf.S: Likewise.
18065 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18066 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18067 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18068 * sysdeps/i386/fpu/e_log10.S: Likewise.
18069 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18070 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18071 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18072 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18073 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18074 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18075 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18076 * sysdeps/i386/i686/strtok.S: Likewise.
18077 * sysdeps/i386/i386-mcount.S: Likewise.
18078 * sysdeps/i386/strtok.S: Likewise.
18079 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18080 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18081 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18082 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18083 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18084 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18085 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18086 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18087 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18088 * sysdeps/x86_64/_mcount.S: Likewise.
18089 * sysdeps/x86_64/strtok.S: Likewise.
18090 * sysdeps/sh/_mcount.S: Likewise.
18091
2747bf9a
RM
180922012-08-01 Roland McGrath <roland@hack.frob.com>
18093
18094 * libio/iofopen.c: Include <fcntl.h>.
18095 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18096 (_IO_fopen64, fopen64): Define as aliases.
18097 * libio/iofopen64.c: Include <fcntl.h>.
18098 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18099 Conditionalize body on this.
18100 * sysdeps/wordsize-64/iofopen.c: File removed.
18101 * sysdeps/wordsize-64/iofopen64.c: File removed.
18102
3fb791b8
MP
181032012-08-01 Marek Polacek <polacek@redhat.com>
18104
18105 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18106 Use dlfcn directly instead of a variable.
18107 (binfmt-subdir): Do not define.
18108 (dlfcn): Likewise.
18109
a9f1039f
JM
181102012-08-01 Joseph Myers <joseph@codesourcery.com>
18111
23bddc06
JM
18112 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18113 Remove all definitions.
18114 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18115 <kernel-features.h>.
18116 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18117 (miss_F_GETOWN_EX): Remove all definitions.
18118 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18119 macro definition.
18120 [!__ASSUME_FCNTL64]: Remove conditional code.
18121 [__ASSUME_FCNTL64]: Make code unconditional.
18122 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18123 <kernel-features.h>.
18124 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18125 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18126 (lockf64) [__NR_fcntl64]: Make code unconditional.
18127 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18128
a9f1039f
JM
18129 * sysdeps/unix/sysv/linux/kernel-features.h
18130 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18131 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18132 Make code unconditional.
18133 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18134 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18136 [__NR_vfork]: Make code unconditional.
18137 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18138 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18140 [__NR_vfork]: Make code unconditional.
18141 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18142 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18143
09c0ee5f
RM
181442012-08-01 Roland McGrath <roland@hack.frob.com>
18145
48aec5b9
RM
18146 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18147 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18148
cd97c966
RM
18149 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18150 Define mkstemp64 as an alias.
3f55550c
RM
18151 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18152 Define mkstemps64 as an alias.
cd97c966
RM
18153 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18154 Define mkostemp64 as an alias.
b8625cfc
RM
18155 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18156 Define mkostemps64 as an alias.
cd97c966
RM
18157 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18158 Conditionalize body on this.
18159 * misc/mkostemp64.c: Likewise.
b8625cfc 18160 * misc/mkostemps64.c: Likewise.
3f55550c 18161 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18162 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18163 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18164 * sysdeps/wordsize-64/mkostemp.c: File removed.
18165 * sysdeps/wordsize-64/mkstemp.c: File removed.
18166 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18168 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18169 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18170
09c0ee5f
RM
18171 [BZ #14138]
18172 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18173 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18174 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18175 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18176
18177 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18178 compat_symbol macros from <shlib-compat.h> rather than the underlying
18179 default_symbol_version and symbol_version macros, so that DEFAULT
18180 lines in shlib-versions are respected.
18181 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18182
7e66ee51
FW
181832012-08-01 Florian Weimer <fweimer@redhat.com>
18184
18185 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18186 Declare with warn_unused_result.
18187 (setgid, setregid, setegid, setresgid): Likewise.
18188 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18189 Likewise.
18190 * WUR-REPORT: Remove set*id functions.
18191
d2a54255
PT
181922012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18193
18194 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18195
7ecdb005
RM
181962012-07-31 Roland McGrath <roland@hack.frob.com>
18197
b4180a5e 18198 [BZ #10191]
789bd351
RM
18199 * include/sys/socket.h (__libc_accept, __libc_accept4):
18200 Add attribute_hidden.
18201 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18202
40ce302d
RM
18203 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18204 use of PTR_MANGLE.
18205 * inet/getnetgrent_r.c (setup): Likewise.
18206
7ecdb005
RM
18207 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18208
e2eabb2c
DM
182092012-07-31 David S. Miller <davem@davemloft.net>
18210
18211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18212
d0419dbf
JM
182132012-07-31 Joseph Myers <joseph@codesourcery.com>
18214
18215 [BZ #13629]
18216 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18217 value between 1.0 and 2.0 and smaller part has absolute value less
18218 than 1.0.
18219 * math/s_clog10.c (__clog10): Likewise.
18220 * math/s_clog10f.c (__clog10f): Likewise.
18221 * math/s_clog10l.c (__clog10l): Likewise.
18222 * math/s_clogf.c (__clogf): Likewise.
18223 * math/s_clogl.c (__clogl): Likewise.
18224 * math/libm-test.inc (clog_test): Add more tests.
18225 (clog10_test): Likewise.
18226 * sysdeps/i386/fpu/libm-test-ulps: Update.
18227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18228
2bc13872
FW
182292012-07-31 Florian Weimer <fweimer@redhat.com>
18230
18231 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18232 Exit with zero in case no suitable GID is found, and write a
18233 message to standard error.
18234
bea9b193
RM
182352012-07-30 Roland McGrath <roland@hack.frob.com>
18236
18237 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18238 rather than to 1.
18239 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18240 (MAXPATHLEN): Removed.
18241 (NOGROUP, NODEV): New macros.
18242 (setbit, clrbit, isset, isclr): New macros.
18243 (howmany, roundup, powerof2): New macros.
18244 (DEV_BSIZE): New macro.
18245
18246 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18247 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18248
18249 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18250 definition on [!__NO_LONG_DOUBLE_MATH].
18251
18252 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18253 PTR_MANGLE and PTR_DEMANGLE.
18254
18255 * socket/accept4.c (accept4): Rename to __libc_accept4.
18256 Define accept4 as a weak alias.
18257
18258 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18259 on [_DIRENT_HAVE_D_TYPE].
18260 * io/ftw.c (ftw_dir): Likewise.
18261
18262 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18263
18264 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18265
18266 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18267 Use the BSD numbers rather than the arbitrary ones we had.
18268 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18269 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18270 (SIGXCPU, SIGXFSZ): New macros.
18271 (_NSIG): Now 32.
18272
18273 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18274 initializer on [_LIBC_REENTRANT].
18275
18276 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18277 definitions inside [_POSIX_MAPPED_FILES].
18278
18279 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18280
18281 * dirent/opendir.c: Include <fcntl.h>.
18282
18283 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18284 (__libc_getspecific): Likewise.
18285 (__libc_key_create): Likewise.
18286
18287 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18288 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18289 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18290 (tmpfile64): Define as alias.
18291 * sysdeps/wordsize-64/tmpfile.c: File removed.
18292 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18293 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18294 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18295
18296 * stdio-common/vfscanf.c: Include <stdbool.h>.
18297 * nss/makedb.c: Likewise.
18298 * stdio-common/_i18n_number.h: Likewise.
18299 * argp/argp-help.c: Likewise.
18300 * posix/wordexp.c: Likewise.
18301 * sysdeps/posix/spawni.c: Likewise.
18302 * nss/nss_files/files-initgroups.c: Likewise.
18303 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18304 * nss/nss_files/files-initgroups.c: Likewise.
18305 * nss/nss_db/db-netgrp.c: Likewise.
18306 * nss/nss_db/db-initgroups.c: Likewise.
18307 * io/fchmodat.c: Include <sys/stat.h>.
18308
18309 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18310 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18311
18312 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18313 [HAVE_MMAP].
18314
18315 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18316 Add multiple inclusion protection.
18317
e5abc686
DM
183182012-07-27 David S. Miller <davem@davemloft.net>
18319
18320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18321
815e6fa3
GB
183222012-07-27 Gary Benson <gbenson@redhat.com>
18323
18324 [BZ #14298]
18325 * elf/rtld.c: Include <stap-probe.h>.
18326 (dl_main): Added static probes "init_start" and "init_complete".
18327 * elf/dl-load.c: Include <stap-probe.h>.
18328 (lose): Take new parameter "nsid".
18329 Added static probe "map_failed".
18330 (_dl_map_object_from_fd): Pass namespace id to lose.
18331 Added static probe "map_start".
18332 (open_verify): Pass namespace id to lose.
18333 * elf/dl-open.c: Include <stap-probe.h>.
18334 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18335 and "reloc_complete".
18336 * elf/dl-close.c: Include <stap-probe.h>.
18337 (_dl_close_worker): Added static probes "unmap_start" and
18338 "unmap_complete".
18339 * elf/rtld-debugger-interface.txt: New file documenting the above.
18340
9f98c16c
RM
183412012-07-26 Roland McGrath <roland@hack.frob.com>
18342
18343 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18344 rather than a string variable.
18345 * sunrpc/rpc_main.c (h_output): Likewise.
18346 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18347
f3c22df3
PT
183482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18349
18350 * inet/check_native.c: New file.
18351
3129cfc6
JM
183522012-07-26 Joseph Myers <joseph@codesourcery.com>
18353
da865e95
JM
18354 [BZ #13629]
18355 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18356 if larger part has absolute value 1.0.
18357 * math/s_clog10.c (__clog10): Likewise.
18358 * math/s_clog10f.c (__clog10f): Likewise.
18359 * math/s_clog10l.c (__clog10l): Likewise.
18360 * math/s_clogf.c (__clogf): Likewise.
18361 * math/s_clogl.c (__clogl): Likewise.
18362 * math/libm-test.inc (clog_test): Add more tests.
18363 (clog10_test): Likewise.
18364 * sysdeps/i386/fpu/libm-test-ulps: Update.
18365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18366
3129cfc6
JM
18367 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18368 (pltexit): Likewise.
18369 (La_regs): Likewise.
18370 (La_retval): Likewise.
18371 (int_retval): Likewise.
18372 Update #error for removed macros to refer only to definitions in
18373 tst-audit.h.
18374 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18375 macro.
18376 (pltexit): Likewise.
18377 (La_regs): Likewise.
18378 (La_retval): Likewise.
18379 (int_retval): Likewise.
18380 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18381 macro.
18382 (pltexit): Likewise.
18383 (La_regs): Likewise.
18384 (La_retval): Likewise.
18385 (int_retval): Likewise.
18386 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18387 macro.
18388 (pltexit): Likewise.
18389 (La_regs): Likewise.
18390 (La_retval): Likewise.
18391 (int_retval): Likewise.
18392 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18393 macro.
18394 (pltexit): Likewise.
18395 (La_regs): Likewise.
18396 (La_retval): Likewise.
18397 (int_retval): Likewise.
18398 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18399 macro.
18400 (pltexit): Likewise.
18401 (La_regs): Likewise.
18402 (La_retval): Likewise.
18403 (int_retval): Likewise.
18404 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18405 macro.
18406 (pltexit): Likewise.
18407 (La_regs): Likewise.
18408 (La_retval): Likewise.
18409 (int_retval): Likewise.
18410 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18411 macro definitions in tst-audit.h.
18412 * sysdeps/i386/tst-audit.h: New file.
18413 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18414 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18415 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18416 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18417 * sysdeps/sh/tst-audit.h: Likewise.
18418 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18419 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18420 * sysdeps/x86_64/tst-audit.h: Likewise.
18421
bfc07087
AJ
184222012-07-26 Andreas Jaeger <aj@suse.de>
18423
b1b2aaf8
AJ
18424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18425 ptrace.
18426
18427 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18428 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18429 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18430 PTRACE_O_MASK.
18431 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18432 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18434
bfc07087
AJ
18435 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18436 value.
18437
18438 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18439 _sigsys.
18440 (si_call_addr, si_syscall, si_arch): Define new macro.
18441 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18442 _sigsys.
18443 (si_call_addr, si_syscall, si_arch): Define new marcro.
18444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18445 _sigsys.
18446 (si_call_addr, si_syscall, si_arch): Define new macro.
18447 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18448 _sigsys.
18449 (si_call_addr, si_syscall, si_arch): Define new macro.
18450
89b4b02f
JM
184512012-07-25 Joseph Myers <joseph@codesourcery.com>
18452
18453 [BZ #13717]
18454 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18455 Change to 2.4.21 where previously 2.4.1.
18456 * sysdeps/unix/sysv/linux/configure: Regenerated.
18457 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18458 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18459 Linux kernel version.
18460 (__ASSUME_STD_AUXV): Remove.
18461 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18462 kernel version.
18463 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18464 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18465 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18466 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18467 (__ASSUME_NETLINK_SUPPORT): Likewise.
18468 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18469 (__no_netlink_support): Remove conditional definition.
18470 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18471 Remove.
18472 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18473 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18474 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18475 (if_nameindex_ioctl): Remove.
18476 (if_nameindex_netlink): Do not handle __no_netlink_support.
18477 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18478 code.
18479 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18480 Remove conditional code.
18481 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18482 code.
18483 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18484 unconditional.
18485 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18486 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18487 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18488 Remove.
18489 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18490 [!__ASSUME_STD_AUXV]: Remove conditional code.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18492 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18493 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18495 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18496 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18497 code.
18498 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18500 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18501 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18502 conditional code.
18503 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18505 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18506 code.
18507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18508 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18509 conditional code.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18511 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18512 code unconditional.
18513 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18514 conditional code.
18515 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18516 unconditional.
18517 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18518 conditional code.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18520 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18521 unconditional.
18522 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18523 conditional code.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18525 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18526 code unconditional.
18527 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18528 conditional code.
18529 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18530 unconditional.
18531 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18532 conditional code.
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18534 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18535 code unconditional.
18536 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18537 conditional code.
18538 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18539 unconditional.
18540 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18541 conditional code.
18542
842a39cd
AS
185432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18544
18545 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18546 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18547 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18548 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18549 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18550 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18551 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18552 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18553 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18554 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18555 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18556 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18557 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18558 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18559 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18560 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18561 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18563 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18566 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18567 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18568
84b3fd84
FW
185692012-07-25 Florian Weimer <fweimer@redhat.com>
18570
18571 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18572 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18573 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18574 Introduce __libc_secure_getenv.
0c7936d5
FW
18575 * stdlib/Versions (2.17): Add secure_getenv
18576 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18577 * stdlib/secure-getenv.c: Rename __secure_getenv to
18578 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18579 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18580 * stdlib/tst-secure-getenv.c: New.
18581 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18582 * manual/startup.texi (Environment Access): Document
18583 secure_getenv.
84b3fd84
FW
18584 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18585 __libc_secure_getenv.
18586 * inet/ruserpass.c (ruserpass): Likewise.
18587 * malloc/mtrace.c (mtrace): Likewise.
18588 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18589 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18590 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18591 * sysdeps/posix/tempname.c: Likewise. Evaluate
18592 HAVE_SECURE_GETENV.
18593 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18594 __secure_getenv to __libc_secure_getenv.
84b3fd84 18595 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18597 Likewise.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18599 Likewise.
18600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18607
56e49b71
JM
186082012-07-25 Joseph Myers <joseph@codesourcery.com>
18609
18610 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18611 (struct La_i86_retval): Likewise.
18612 (struct La_x86_64_regs): Likewise.
18613 (struct La_x86_64_retval): Likewise.
18614 (struct La_x32_regs): Likewise.
18615 (struct La_x32_retval): Likewise.
18616 (struct La_ppc32_regs): Likewise.
18617 (struct La_ppc32_retval): Likewise.
18618 (struct La_ppc64_regs): Likewise.
18619 (struct La_ppc64_retval): Likewise.
18620 (struct La_sh_regs): Likewise.
18621 (struct La_sh_retval): Likewise.
18622 (struct La_s390_32_regs): Likewise.
18623 (struct La_s390_32_retval): Likewise.
18624 (struct La_s390_64_regs): Likewise.
18625 (struct La_s390_64_retval): Likewise.
18626 (struct La_sparc32_regs): Likewise.
18627 (struct La_sparc32_retval): Likewise.
18628 (struct La_sparc64_regs): Likewise.
18629 (struct La_sparc64_retval): Likewise.
18630 (struct audit_ifaces): Remove architecture-specific pltenter and
18631 pltexit members.
18632 * sysdeps/i386/ldsodefs.h: New file.
18633 * sysdeps/powerpc/ldsodefs.h: Likewise.
18634 * sysdeps/s390/ldsodefs.h: Likewise.
18635 * sysdeps/sh/ldsodefs.h: Likewise.
18636 * sysdeps/sparc/ldsodefs.h: Likewise.
18637 * sysdeps/x86_64/ldsodefs.h: Likewise.
18638
354691b7
MP
186392012-07-25 Marek Polacek <polacek@redhat.com>
18640
18641 [BZ #6808]
18642 * math/libm-test.inc (yn_test): Add another test.
18643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18644 to ERANGE when the result is +-Inf.
18645 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18646 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18647 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18648 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18649
bf9e2071
JM
186502012-07-24 Joseph Myers <joseph@codesourcery.com>
18651
18652 * conform/data/time.h-data (NULL): Use macro-constant. Require
18653 equal to 0.
18654 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18655 clock_t.
18656 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18657
57633811
TS
186582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18659
18660 * configure.in <sysdeps resolving>: Correct printing
18661 Implies_before.
18662 * configure: Regenerate.
18663
c23c33b0
TS
186642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18665
18666 * math/w_ilogb.c: Include <limits.h>.
18667 * math/w_ilogbl.c: Likewise.
18668
b5982523
JM
186692012-07-20 Joseph Myers <joseph@codesourcery.com>
18670
18671 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18672 va_copy. Document allowing for unavailable va_copy only as
18673 pre-C99 compatibility.
18674 * manual/string.texi (Copying and Concatenation): Use va_copy
18675 instead of __va_copy in concat example.
18676
ac4ea442
PT
186772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18678
18679 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18680 (__sendto): Use create_address_port. Initialize APORT and deallocate
18681 it if not null.
18682
f98eafbd
PT
18683 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18684 with O_NOLINK passed to __file_name_lookup.
18685
898c7aab
PT
18686 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18687 with O_NOLINK passed to __file_name_lookup.
18688
0ced335a
PT
18689 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18690 negative N or less than NGIDS.
18691
b3404dbd
PT
18692 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18693 type to string_t. Set ERANGE as errno and return it if NAME is not big
18694 enough. Use memcpy instead of strncpy.
18695
0f48659e
JM
186962012-07-20 Joseph Myers <joseph@codesourcery.com>
18697
18698 * elf/Makefile (check-data): Remove.
18699 (localplt.data): New vpath directive.
18700 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18701 instead of $(check-data).
18702 * scripts/data/localplt-generic.data: Move to ...
18703 * sysdeps/generic/localplt.data: ... here.
18704 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18705 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18706 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18708 ... here.
18709 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18711 ... here.
18712 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18714 ... here.
18715 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18717 ... here.
18718 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18720 ... here.
18721 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18723 ... here.
18724
d37cbdaa
AZ
187252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18726
18727 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18728 PPC32 and PPC64 files.
18729 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18730 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18731
46f85fc2
AK
187322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18733
18734 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18735 __makecontext_ret to ...
18736 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18737 ... here and call exit if uc_link is NULL. New file.
18738 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18739 __makecontext_ret.S.
18740 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18741 __makecontext_ret to ...
18742 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18743 ... here and call exit if uc_link is NULL. New file.
18744 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18745 __makecontext_ret.S.
18746
08f43f9b
AK
187472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18748
18749 * elf/elf.h (R_390_IRELATIVE): New definition.
18750 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18751 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18752 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18754 (elf_machine_lazy_rel): Likewise.
18755 * sysdeps/s390/dl-irel.h: New file.
18756 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18757 * sysdeps/s390/s390-64/memset.S: New asm code.
18758 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18759 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18761 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18762 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18763 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18765 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18766 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18767 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18768 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18769 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18770 * sysdeps/s390/s390-32/memset.S: New asm code.
18771 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18772
3b05db33
MP
187732012-07-17 Marek Polacek <polacek@redhat.com>
18774
18775 [BZ #14349]
18776 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18777 * sysdeps/s390/s390-64/configure.in: Likewise.
18778 * sysdeps/sparc/configure.in: Likewise.
18779 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18780 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18781 * sysdeps/i386/configure.in: Likewise.
18782 * sysdeps/x86_64/configure.in: Likewise.
18783 * sysdeps/sh/configure.in: Likewise.
18784 * sysdeps/s390/s390-32/configure: Regenerated.
18785 * sysdeps/s390/s390-64/configure: Likewise.
18786 * sysdeps/x86_64/configure: Likewise.
18787 * sysdeps/sh/configure: Likewise.
18788 * sysdeps/powerpc/powerpc64/configure: Likewise.
18789 * sysdeps/powerpc/powerpc32/configure: Likewise.
18790 * sysdeps/sparc/configure: Likwise.
18791 * sysdeps/i386/configure: Likewise.
18792
a66877c6
MP
18793 * elf/dl-open.c: Comment fixes.
18794
cfc82fd8
JM
187952012-07-17 Joseph Myers <joseph@codesourcery.com>
18796
bd29910a
JM
18797 * Makefile [CXX] (check-data): Remove.
18798 [CXX] (c++-types.data): New vpath directive.
18799 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18800 vpath. Do not allow for C++ type data being missing.
18801 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18802 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18803 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18804 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18805 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18806 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18807 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18809 ... here.
18810 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18812 ... here.
18813 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18815 ... here.
18816 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18818 ... here.
18819 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18821 ... here.
18822 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18824 ... here.
18825 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18827 ... here.
18828 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18830
cfc82fd8
JM
18831 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18832 definitions to architecture-specific files.
18833 (TLS_IE): Likewise.
18834 (TLS_LD): Likewise.
18835 (TLS_GD): Likewise.
18836 * sysdeps/i386/tls-macros.h: New file.
18837 * sysdeps/powerpc/tls-macros.h: Likewise.
18838 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18839 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18840 * sysdeps/sh/tls-macros.h: Likewise.
18841 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18842 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18843 * sysdeps/x86_64/tls-macros.h: Likewise.
18844
f7db3170
TS
188452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18846
07cbfc23
TS
18847 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18848 zero value for regular exit case.
18849
f7db3170
TS
18850 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18851 (__start_context): Preserve zero value for regular exit case.
18852
dc97c227
TS
188532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18854 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18855
18856 * manual/setjmp.texi (setcontext): Clarify normal process
18857 termination when uc_link is the null pointer.
18858 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18859 exit call.
18860
d0cd7d02
AS
188612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18862
18863 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18864 preprocessor. Test for each exception mask separately.
18865
dd318934
AJ
188662012-07-16 Andreas Jaeger <aj@suse.de>
18867
18868 * po/ru.po: Update from translation team.
18869
8048311a
JM
188702012-07-15 Joseph Myers <joseph@codesourcery.com>
18871
18872 * conform/data/string.h-data (NULL): Use macro-constant. Require
18873 equal to 0.
18874 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18875 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18876 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18877 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18879
b637d46e
AJ
188802012-07-13 Andreas Jaeger <aj@suse.de>
18881
18882 * po/fr.po: Update from translation team.
18883
541428fe
MP
188842012-07-12 Marek Polacek <polacek@redhat.com>
18885
18886 [BZ #14173]
18887 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18888 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18889 loop condition.
18890
ec332e94
JM
188912012-07-12 Joseph Myers <joseph@codesourcery.com>
18892
18893 [BZ #13717]
18894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18895 Change to 2.4.1 where previously 2.4.0.
18896 * sysdeps/unix/sysv/linux/configure: Regenerated.
18897 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18898 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18899 version.
18900 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18901 (__ASSUME_AT_CLKTCK): Remove.
18902 (__ASSUME_AT_PAGESIZE): Likewise.
18903 (__ASSUME_AT_XID): Likewise.
18904 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18905 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18906 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18907 unconditionally.
18908 (HAVE_AUX_PAGESIZE): Likewise.
18909 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18910 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18911 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18912
7b6e99be
JB
189132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18914
18915 [BZ #14307]
18916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18917 the temporary buffer used to invoke __gethostbyname2_r,
18918 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18919 host_data / struct gaih_addrtuple.
18920 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18921 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18922 header file nss/nsswitch.h.
18923 * nss/nsswitch.h (global scope): Add definition of implementation
18924 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18925 resolv/nss_dns/dns-host.c).
18926
608404eb
AJ
189272012-07-11 Andreas Jaeger <aj@suse.de>
18928
18929 * po/fr.po: Update from translation team.
18930
71220aca
AJ
18931 * po/sv.po: Update from translation team
18932 * po/fr.po: Another update from translation team.
18933
28cfe843
AZ
189342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18935
18936 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18937 for subnormals or multiply small sinh result by itself.
18938 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18940
6b90f981
DM
189412012-07-11 David S. Miller <davem@davemloft.net>
18942
18943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18944
c6825772
AS
189452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18946
18947 [BZ #14347]
18948 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18949 (INTERNAL_MARK): Shift it here.
18950
7b8e0d49
MP
189512012-07-10 Marek Polacek <polacek@redhat.com>
18952
18953 [BZ #14151]
18954 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18955 libc_cv_asm_global_directive with .globl.
18956 * configure: Regenerated.
18957 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18958 with .globl.
18959 * sysdeps/i386/configure: Regenerated.
18960 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18961 with .globl.
18962 * sysdeps/x86_64/configure: Regenerated.
18963 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18964 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18965 * elf/tst-unique2mod2.c: Likewise.
18966 * elf/tst-unique2mod1.c: Likewise.
18967 * elf/tst-unique1mod2.c: Likewise.
18968 * elf/tst-unique1mod1.c: Likewise.
18969 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18970 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18971 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18972 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18973 * sysdeps/mach/sysdep.h: Likewise.
18974 * sysdeps/i386/sysdep.h: Likewise.
18975 * sysdeps/i386/i386-mcount.S: Likewise.
18976 * sysdeps/x86_64/_mcount.S: Likewise.
18977 * sysdeps/x86_64/sysdep.h: Likewise.
18978 * sysdeps/sh/_mcount.S: Likewise.
18979 * sysdeps/sh/sysdep.h: Likewise.
18980 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18981 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18982 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18983 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18984 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18985 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18986 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18987 * locale/localeinfo.h: Likewise.
18988 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18989 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18990
6c55cda3
RM
189912012-07-09 Roland McGrath <roland@hack.frob.com>
18992
18993 [BZ #14336]
18994 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18995 system".
18996 * manual/message.texi (The Uniforum approach): Likewise.
18997 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18998 (glibc iconv Implementation): Likewise.
18999
638a572e
JM
190002012-07-09 Joseph Myers <joseph@codesourcery.com>
19001
19002 [BZ #14337]
19003 * math/s_clog.c (__clog): Avoid scaling a value down where that
19004 could result in underflow.
19005 * math/s_clog10.c (__clog10): Likewise.
19006 * math/s_clog10f.c (__clog10f): Likewise.
19007 * math/s_clog10l.c (__clog10l): Likewise.
19008 * math/s_clogf.c (__clogf): Likewise.
19009 * math/s_clogl.c (__clogl): Likewise.
19010 * math/libm-test.inc (clog_test): Add more tests.
19011 (clog10_test): Likewise.
19012 * sysdeps/i386/fpu/libm-test-ulps: Update.
19013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014
261f4859
AS
190152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19016
0abaf3e4
AS
19017 [BZ #14283]
19018 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19019 by 7 not 8 to examine high bit of fractional part.
19020
261f4859
AS
19021 [BZ #14042]
19022 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19023 for call to __mcount_internal.
19024 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19025 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19026 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19027
f17ac40d
JM
190282012-07-06 Joseph Myers <joseph@codesourcery.com>
19029
9ad63c23
JM
19030 [BZ #14154]
19031 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19032 approximation for values within 0x1p-13f of an odd multiple of
19033 pi/4.
19034 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19035 exception. Add more tests.
19036 * sysdeps/i386/fpu/libm-test-ulps: Update.
19037
f17ac40d
JM
19038 [BZ #6778]
19039 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19040 inputs and return -1 for them. Do not check for +Inf in case not
19041 reachable for +Inf.
19042 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19043 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19044 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19045 and return -1 for them. Do not check for +Inf in case not
19046 reachable for +Inf.
19047 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19048 define.
19049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19050 and return -1 for them. Do not check for +Inf in case not
19051 reachable for +Inf.
19052 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19053 spurious underflow.
19054 * sysdeps/i386/fpu/libm-test-ulps: Update.
19055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19056
fb21f89b
MF
190572012-07-06 Mike Frysinger <vapier@gentoo.org>
19058
19059 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19060
cdfe2c5e
JM
190612012-07-05 Joseph Myers <joseph@codesourcery.com>
19062
19063 [BZ #14157]
19064 [BZ #14331]
19065 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19066 could result in spurious underflow. Scale down values above
19067 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19068 * math/s_csqrtf.c (__csqrtf): Likewise.
19069 * math/s_csqrtl.c (__csqrtl): Likewise.
19070 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19071 spurious underflow.
19072 * sysdeps/i386/fpu/libm-test-ulps: Update.
19073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19074
70d35b67
AS
190752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19076
704bc459
AS
19077 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19078 xopen-msg.sed.
19079 * catgets/xopen-msg.awk: New file.
19080 * catgets/xopen-msg.sed: Removed.
19081
70d35b67
AS
19082 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19083 po2text.sed.
19084 * intl/po2test.awk: New file.
19085 * intl/po2test.sed: Removed.
19086
ca61cf32
JM
190872012-07-04 Joseph Myers <joseph@codesourcery.com>
19088
19089 [BZ #14328]
19090 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19091 or multiply small sinh result by itself.
19092 * math/s_ctanf.c (__ctanf): Likewise.
19093 * math/s_ctanh.c (__ctanh): Likewise.
19094 * math/s_ctanhf.c (__ctanhf): Likewise.
19095 * math/s_ctanhl.c (__ctanhl): Likewise.
19096 * math/s_ctanl.c (__ctanl): Likewise.
19097 * math/libm-test.inc (ctan_test_tonearest): New function.
19098 (ctan_test_towardzero): Likewise.
19099 (ctan_test_downward): Likewise.
19100 (ctan_test_upward): Likewise.
19101 (ctanh_test_tonearest): Likewise.
19102 (ctanh_test_towardzero): Likewise.
19103 (ctanh_test_downward): Likewise.
19104 (ctanh_test_upward): Likewise.
19105 (main): Call these new functions.
19106 * sysdeps/i386/fpu/libm-test-ulps: Update.
19107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19108
ca48a46a
MF
191092012-07-03 Mike Frysinger <vapier@gentoo.org>
19110
19111 * .gitignore: Delete /ports entry.
19112
9d63d37d
AJ
191132012-07-03 Andreas Jaeger <aj@suse.de>
19114
19115 * po/bg.po: Update from translation team.
19116 * po/cs.po: Likewise.
19117 * po/de.po: Likewise.
19118 * po/hr.po: Likewise.
19119 * po/nl.pl: Likewise.
19120 * po/pl.po: Likewise.
19121 * po/vi.po: Likewise.
19122
370ca3d2
JM
191232012-07-03 Joseph Myers <joseph@codesourcery.com>
19124
95f5a9a8
JM
19125 * Makeconfig [!+link] (+link-before-libc): New variable.
19126 [!+link] (+link-after-libc): Likewise.
19127 [!+link] (+link-tests): Likewise.
19128 [!+link] (+link): Define in terms of $(+link-before-libc) and
19129 $(+link-after-libc).
19130 [!+link-static] (+link-static-before-libc): New variable.
19131 [!+link-static] (+link-static-after-libc): Likewise.
19132 [!+link-static] (+link-static-tests): Likewise.
19133 [!+link-static] (+link-static): Define in terms of
19134 $(+link-static-before-libc) and $(+link-static-after-libc).
19135 [build-shared] (link-libc-before-gnulib): New variable.
19136 [build-shared] (link-libc-tests): Likewise.
19137 [build-shared] (link-libc): Define in terms of
19138 $(link-libc-before-gnulib).
19139 [!build-shared] (link-libc-tests): New variable.
19140 (link-libc-static-tests): New variable.
19141 [!gnulib] (gnulib-arch): New variable.
19142 [!gnulib] (gnulib-tests): Likewise.
19143 [!gnulib] (static-gnulib-arch): Likewise.
19144 [!gnulib] (static-gnulib-tests): Likewise.
19145 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19146 Define with "=" instead of ":=".
19147 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19148 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19149 * Rules (binaries-all-notests): New variable.
19150 (binaries-all-tests): Likewise.
19151 (binaries-static-notests): Likewise.
19152 (binaries-static-tests): Likewise.
19153 (binaries-all): Define using $(binaries-all-notests) and
19154 $(binaries-all-tests).
19155 (binaries-static): Define using $(binaries-static-notests) and
19156 $(binaries-static-tests).
19157 (binaries-shared-tests): New variable.
19158 (binaries-shared-notests): Likewise.
19159 (binaries-shared): Remove variable.
19160 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19161 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19162 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19163 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19164 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19165 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19166 * elf/Makefile (sln-modules): New variable.
19167 (extra-objs): Add $(sln-modules:=.o).
19168 (ldconfig-modules): Add static-stubs.
19169 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19170 * elf/static-stubs.c: New file.
19171
7a845b2c
JM
19172 [BZ #14283]
19173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19174 by 7 not 8 to examine high bit of fractional part. Use volatile
19175 variables when splitting into final array of floats if
19176 __FLT_EVAL_METHOD__ != 0.
19177 * math/libm-test.inc (cos_test): Add another test.
19178 (sin_test): Likewise.
19179 * sysdeps/i386/fpu/libm-test-ulps: Update.
19180
e2283f38
JM
19181 [BZ #14273]
19182 * math/libm-test.inc (cosh_test): Add more tests.
19183
370ca3d2
JM
19184 * version.h (RELEASE): Set to "development".
19185 (VERSION): Set to "2.16.90".
19186
ee9247c3
CD
191872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19188
19189 * NEWS: Update copyright. Remove last-updated date.
19190 Mention math library bug fixes and timezone data changes.
19191 * README: Mention GNU/Hurd, x32, and HPPA support status.
19192
4648c381
TS
191932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19194
19195 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19196
aac78a43
AJ
191972012-06-27 Andreas Jaeger <aj@suse.de>
19198
19199 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19200
ed3dbfad
AJ
192012012-06-25 Andreas Jaeger <aj@suse.de>
19202
19203 * sysdeps/s390/fpu/libm-test-ulps: Update.
19204
4d0ee855
AS
192052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19206 Thomas Schwinge <thomas@codesourcery.com>
19207
19208 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19209 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19211 fanotify_mark.
19212
af1bce34
TS
192132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19214
a9fa33ba
TS
19215 * sysdeps/mach/start.c: Remove file.
19216 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19217 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19218 * sysdeps/sh/init-first.c: Likewise.
19219
58f902b8
TS
19220 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19221 registers for frame unwinding purposes, add CFI directives.
19222 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19223 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19224 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19225 Likewise.
19226
1518f58b
TS
19227 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19228 __fortify_fail returning.
19229 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19230
db9b5059
TS
19231 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19232 sysdeps/sh/____longjmp_chk.S.
19233 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19234 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19235 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19236 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19237
967705fe
TS
19238 * sysdeps/sh/abort-instr.h: New file.
19239 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19240 process in case exit returns.
19241
a9def8c4
TS
19242 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19243 initialize the GOT register before use.
19244
2a649725
TS
19245 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19246 calculation of ARGC > 4.
19247
af1bce34
TS
19248 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19249 meaningful names to some local labels.
19250
d230f50a
KK
192512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19252 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19253
19254 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19255 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19256 (__arch_compare_and_exchange_val_16_acq): Likewise.
19257 (__arch_compare_and_exchange_val_32_acq): Likewise.
19258 (atomic_exchange_and_add): Fix gUSA sequence.
19259 (atomic_add): Likewise.
19260 (atomic_add_negative): Likewise.
19261 (atomic_add_zero): Likewise.
19262 (atomic_bit_test_set): Likewise.
19263
0479b305
AS
192642012-06-22 Andreas Schwab <schwab@redhat.com>
19265
19266 [BZ #13579]
19267 * include/link.h (struct link_map): Add l_free_initfini.
19268 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19269 l_initfini.
19270 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19271 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19272 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19273 set.
19274
0e3933b9
CD
192752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19276
19277 * configure.in: Use AC_LANG_SOURCE.
19278 * configure: Regenerate.
19279
4248b1b1
RM
192802012-06-22 Roland McGrath <roland@hack.frob.com>
19281
19282 * configure.in (libc_cv_localstatedir): New substituted variable.
19283 * configure: Regenerated.
19284 * config.make.in (localstatedir): New variable, substituted from
19285 libc_cv_localstatedir.
19286 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19287 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19288 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19289 * sysdeps/gnu/configure: Regenerated.
19290
006dd861
JL
192912012-06-21 Jeff Law <law@redhat.com>
19292
19293 [BZ #14277]
19294 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19295 free. Simplify list management for _LIBC case.
19296
79662d42
JM
192972012-06-21 Joseph Myers <joseph@codesourcery.com>
19298
b7abb4bf
JM
19299 [BZ #14273]
19300 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19301 Clear sign bit of 64-bit integer value before comparing against
19302 overflow value.
19303
79662d42
JM
19304 * sysdeps/mach/configure: Regenerated.
19305
1f150908
L
193062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19307
19308 [BZ #14278]
19309 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19310
28363bbf
JL
193112012-06-21 Jeff Law <law@redhat.com>
19312
19313 [BZ #13882]
19314 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19315 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19316 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19317 * elf/dl-open.c (dl_open_worker): Likewise.
19318
09615db4
CD
193192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19320
19321 * scripts/list-sources.sh: Scan PORTS for translations.
19322 * po/libc.pot: Regenerated.
19323
2174c6dd
AJ
193242012-06-21 Andreas Jaeger <aj@suse.de>
19325
19326 [BZ #12194]
19327 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19328 warning.
19329 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19330 * bits/byteswap-16.h (__bswap_16): Likewise.
19331 * bits/byteswap.h (__bswap_constant_16): Likewise.
19332
3ee947b1
L
193332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19334
19335 [BZ #14117]
a2f34833
L
19336 * sysdeps/i386/fpu_control.h: Removed.
19337 * sysdeps/x86_64/fpu_control.h: Moved to ...
19338 * sysdeps/x86/fpu_control.h: Here.
19339
3ee947b1
L
19340 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19341 (_FPU_SETCW): Likewise.
19342
ed1825f8
L
193432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19344
25f1282a
L
19345 [BZ #14117]
19346 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19347 * sysdeps/x86/fpu/bits/mathinline.h: This.
19348 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19349
ed1825f8
L
19350 [BZ #14050]
19351 [BZ #14117]
19352 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19353 functions if __x86_64__ is defined.
19354
36d54b74
CLT
193552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19356
19357 * string/endian.h: Add !__ASSEMBLER__ condition for including
19358 conversion interfaces.
19359
10285c21
JM
193602012-06-15 Joseph Myers <joseph@codesourcery.com>
19361
19362 [BZ #14241]
19363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19364 of ABS(x) in calculating zero to negative powers other than odd
19365 integers.
19366 * math/libm-test.inc (pow_test): Add more tests.
19367
06c5abbd
AJ
193682012-06-15 Andreas Jaeger <aj@suse.de>
19369
19370 * manual/contrib.texi (Contributors): Update entry of Liubov
19371 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19372 Machado Filho.
19373
a3aeac40
CH
193742012-06-15 Cyril Hrubis <metan@ucw.cz>
19375
19376 * string/string.h: Add __wur to GNU version of strerror_r.
19377
49bdf4c1
L
193782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19379
19380 [BZ #14229]
19381 * string/Makefile (tests): Add tst-strtok_r.
19382 * string/tst-strtok_r.c: New file.
19383 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19384 RAX_LP/RDX_LP on SAVE_PTR.
19385
834f9b8d
RM
193862012-06-14 Roland McGrath <roland@hack.frob.com>
19387
19388 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19389
75fa1921
JM
193902012-06-14 Joseph Myers <joseph@codesourcery.com>
19391
19392 * libm_test.inc (csqrt_test): Allow more spurious underflow
19393 exceptions.
19394 (j0_test): Likewise.
19395 (j1_test): Likewise.
19396 (y0_test): Likewise.
19397 (y1_test): Likewise.
19398
771766df
CD
193992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19400
19401 * po/Makefile (libc.pot): Use UTF-8 charset.
19402
ceb9e56b
PP
194032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19404
19405 [BZ #14210]
19406 Suppress sign-conversion warning from FD_SET.
19407 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19408 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19409 not unsigned long int.
19410 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19411
ddb28975
L
194122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19413
19414 [BZ #14050]
19415 [BZ #14117]
19416 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19417 __extern_always_inline instead of __extern_inline.
19418 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19419 (__signbit): Likewise.
19420 (__signbitl): Support C++ namespace.
19421 (lrintf): New inline function.
19422 (lrint): Likewise.
19423 (llrintf): Likewise.
19424 (llrint): Likewise.
19425 (fmaxf): Likewise.
19426 (fmax): Likewise.
19427 (fminf): Likewise.
19428 (fmin): Likewise.
19429 (rint): Likewise.
19430 (rintf): Likewise.
19431 (ceil): Likewise.
19432 (ceilf): Likewise.
19433 (floor): Likewise.
19434 (floorf): Likewise.
19435 (nearbyint): Likewise.
19436 (nearbyintf): Likewise.
19437
d7b4fb26
TS
194382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19439
19440 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19441 non-default versions.
19442
eb55f5c2
RM
194432012-06-11 Roland McGrath <roland@hack.frob.com>
19444
19445 [BZ #14218]
19446 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19447
366af02c
TS
194482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19449
99ff6e5c
TS
19450 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19451 (FE_UPWARD, FE_DOWNWARD): Don't define.
19452 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19453 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19454
366af02c
TS
19455 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19456 reading it.
19457 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19458 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19459
793ea851
KK
194602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19461
19462 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19463 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19464 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19465 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19466
a728a38f
L
194672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19468
19469 [BZ #14117]
c08010c7
L
19470 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19471 * sysdeps/i386/fpu/Implies: New file.
19472 * sysdeps/x86_64/fpu/Implies: Likewise.
19473 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19474 * sysdeps/x86/fpu/bits/fenv.h: This.
19475
a728a38f
L
19476 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19477 __SSE_MATH__.
19478
6e230d11
SP
194792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19480
19481 [BZ #14134]
19482 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19483 character 0xffff that matches the last element of the
19484 conversion table.
19485
1b671feb
AZ
194862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19487
19488 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19489 fmodl commit.
19490
6043738b
AZ
194912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19492
19493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19494 values higher than 25.6283.
19495
34ae0b32
AZ
194962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19497
19498 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19499 subnormal exponent extraction and add some __builtin_expect.
19500 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19501 Fix for subnormal mantissa calculation.
19502
1214ec8f
MF
195032012-06-04 Mike Frysinger <vapier@gentoo.org>
19504
19505 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19506 cpu2 is -1 and errno is not ENOSYS.
19507
f3d1f93c
L
195082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19509
19510 [BZ #14117]
0e4a3cd7
L
19511 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19512 * sysdeps/x86/bits/string.h: This.
19513 * sysdeps/x86_64/bits/string.h: Removed.
19514
6704c645
L
19515 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19516 if not compiling for x86-64, but compiling for >= i486.
19517
48495318
L
19518 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19519 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19520
14adcbfc
L
19521 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19522 New macro from Linux kernel 3.4.0.
19523 (FP_XSTATE_MAGIC2): Likewise.
19524 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19525 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19526 (struct _fpx_sw_bytes): New struct.
19527 (struct _xsave_hdr): Likewise.
19528 (struct _ymmh_state): Likewise.
19529 (struct _xstate): Likewise.
19530
68e408ab
L
19531 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19532 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19534 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19535 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19536 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19537
f3d1f93c
L
19538 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19539 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19540 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19541 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19542 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19543 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19544
d9dc34cd
TMQMF
195452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19546
19547 [BZ #13743]
19548 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19549 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19550 (sysdep_headers): Include sys/platform/ppc.h.
19551 * sysdeps/powerpc/test-gettimebase.c: Test for
19552 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19553 * manual/Makefile (appendices): Include platform.texi.
19554 * manual/contrib.texi (Contributors): Update @node pointers.
19555 * manual/maint.texi (Maintenance): Likewise.
19556 (Platform): New node.
19557 * manual/platform.texi: New file. Document the new features.
19558
4af3879c
SP
195592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 Jakub Jelinek <jakub@redhat.com>
19561
19562 [BZ #14188]
19563 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19564 where __builtin_expect is unavailable.
19565
2fd6ff13
DM
195662012-06-03 David S. Miller <davem@davemloft.net>
19567
19568 * stdlib/longlong.h: Updated from GCC.
19569
173f7220
AS
195702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19571
19572 [BZ #14042]
19573 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19574 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19575 __mcount_internal.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19577 (GLIBC_2.16): Likewise.
19578
f34a1c6f
L
195792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19580
19581 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19582
88a4576f
JM
195832012-06-01 Joseph Myers <joseph@codesourcery.com>
19584
ea32bcdd
JM
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19586 (default-abi): New variable.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19588 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19589 variable.
19590 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19591 Likewise.
19592 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19593 Likewise.
19594 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19595 Likewise.
19596
88a4576f
JM
19597 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19598 definition. Document in comment.
19599
402fe938
DM
196002012-06-01 David S. Miller <davem@davemloft.net>
19601
19602 * stdlib/longlong.h: Updated from GCC.
19603
3553723f
L
196042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 [BZ #14117]
3bd872c4
L
19607 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19608 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19609 sys/debugreg.h sys/io.h here.
19610 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19611 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19612 sys/io.h.
19613 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19614 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19615 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19616 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19617 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19618 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19619
3553723f
L
19620 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19621 Define only if __x86_64__ is defined.
19622
4842e4fe
JM
196232012-06-01 Joseph Myers <joseph@codesourcery.com>
19624
c5bfe3d5
JM
19625 [BZ #14048]
19626 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19627 Use int64_t for variable i.
19628 * math/libm-test.inc (fmod_test): Add more tests.
19629
4842e4fe
JM
19630 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19631 z computation is not scheduled after fetestexcept.
19632 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19633 Use math_force_eval instead of asm to ensure calculation scheduled
19634 before exception test.
19635 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19636 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19637
efb73488
AJ
196382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19639
19640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19641 computation is not scheduled after fetestexcept.
19642
29bcce7c
L
196432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19644
19645 [BZ #14117]
19646 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19647 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19648
73a68f94
AZ
196492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19650
19651 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19652 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19653
67b6df78
L
196542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19655
edf2933a 19656 [BZ #14117]
ebc64a18
L
19657 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19658 <bits/wordsize.h>.
19659 (__WCHAR_MIN): Support __WORDSIZE == 64.
19660 (__WCHAR_MAX): Likewise.
19661
edf2933a
L
19662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19664
57c6cf40
L
19665 [BZ #14183]
19666 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19667 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19668
67b6df78 19669 [BZ #14117]
8eb6281e
L
19670 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19671 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19672
aac639f4
L
19673 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19674 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19675
67b6df78
L
19676 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19677 Defined to 1 if __x86_64__ isn't defined.
19678 (_STAT_VER_LINUX_OLD): New.
19679 (st_atime): Remove duplicate.
19680 (st_mtime): Likewise.
19681 (st_ctime): Likewise.
19682
1c2cfe81
DM
196832012-05-31 David S. Miller <davem@davemloft.net>
19684
19685 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19686 entries.
19687
5be8418c
AS
196882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19689
e7725326
AS
19690 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19691 gen-libm-test.pl.
19692
5be8418c
AS
19693 [BZ #14132]
19694 * elf/dl-reloc.c: Include <_itoa.h>.
19695 (_dl_reloc_bad_type): Remove use of INTUSE.
19696 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19697 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19698 * stdio-common/psiginfo.c (psiginfo): Likewise.
19699 * stdio-common/psignal.c (psignal): Likewise.
19700 * string/strsignal.c (strsignal): Likewise.
19701 * include/signal.h (_sys_siglist): Declare hidden proto.
19702 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19703 INTVARDEF with libc_hidden_data_def.
19704 * stdio-common/itoa-udigits.c: Likewise.
19705 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19706 (_itoa_lower_digits_internal): Remove declaration.
19707 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19708 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19709 (_sys_sigabbrev_internal): Remove aliases.
19710 (_sys_siglist): Define hidden alias.
19711
507352f1
MT
197122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19713
19714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19715 bits/sysctl.h.
19716
42bbb1c3
L
197172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19718
19719 [BZ #14117]
6bd784b6
L
19720 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19721 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19722
8bca20f0
L
19723 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19724 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19725 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19726 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19728 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19729
f9e890a9
L
19730 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19731 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19732 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19733
471101a1
L
19734 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19735 with __addr.
19736 (insw): Likewise.
19737 (insl): Likewise.
19738 (outsb): Likewise.
19739 (outsw): Likewise.
19740 (outsl): Likewise.
19741
6451c862
L
19742 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19743 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19744 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19745
a254b8c9
L
19746 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19747 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19748 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19749 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19750 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19751 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19752
b8dfdd92
L
19753 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19754 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19755
578cd270
L
19756 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19757 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19758
de662f5f
L
19759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19762
25653439
L
19763 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19764 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19765 to ...
19766 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19767
6bad24a0
L
19768 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19769 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19770 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19771
42bbb1c3
L
19772 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19773 for x86-64.
19774 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19775
2d10d547
JM
197762012-05-31 Joseph Myers <joseph@codesourcery.com>
19777
19778 * math/math.h (M_El): Use two more decimal places.
19779 (M_LOG2El): Likewise.
19780 (M_LOG10El): Likewise.
19781 (M_LN2l): Likewise.
19782 (M_LN10l): Likewise.
19783 (M_PIl): Likewise.
19784 (M_PI_2l): Likewise.
19785 (M_PI_4l): Likewise.
19786 (M_1_PIl): Likewise.
19787 (M_2_PIl): Likewise.
19788 (M_2_SQRTPIl): Likewise.
19789 (M_SQRT2l): Likewise.
19790 (M_SQRT1_2l): Likewise.
19791
f230c29b
DM
197922012-05-31 David S. Miller <davem@davemloft.net>
19793
19794 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19795 values between float registers.
19796 * sysdeps/sparc/sparc64/memset.S: Likewise.
19797 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19798
fed806c3
MF
197992012-05-31 Mike Frysinger <vapier@gentoo.org>
19800
19801 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19802 -D_FORTIFY_SOURCE=1.
19803 (CPPFLAGS-tst-longjmp_chk.c): Define.
19804 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19805 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19806 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19807 CFLAGS-tst-wchar-h.c.
19808
30917259
MP
198092012-05-31 Marek Polacek <polacek@redhat.com>
19810
19811 [BZ #14132]
19812 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19813 __endmntent_internal): Remove declaration.
19814 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19815 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19816 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19817
1c58d5dc
DM
198182012-05-30 David S. Miller <davem@davemloft.net>
19819
19820 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19821 (___Q_simulate_exceptions): Use real FP ops rather than writing
19822 into the %fsr.
19823 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19824 Likewise.
19825
7dc00e0d
L
198262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19827
19828 [BZ #14117]
0bd53985
L
19829 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19830 * sysdeps/x86/bits/xtitypes.h: This.
19831
3a257e66
L
19832 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19833 * sysdeps/x86/bits/wordsize.h: This.
19834
62f62904
L
19835 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19836 * sysdeps/x86/bits/huge_vall.h: This.
19837
404fe9d9
L
19838 * sysdeps/i386/bits/select.h: Removed.
19839 * sysdeps/x86_64/bits/select.h: Renamed to ...
19840 * sysdeps/x86/bits/select.h: This.
19841
d48d0446
L
19842 * sysdeps/i386/bits/setjmp.h: Removed.
19843 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19844 * sysdeps/x86/bits/setjmp.h: This.
19845
7dc00e0d
L
19846 * sysdeps/i386/bits/mathdef.h: Removed.
19847 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19848 * sysdeps/x86/bits/mathdef.h: This.
19849
03277f8f
AS
198502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19851
19852 [BZ #14132]
19853 * include/sys/socket.h (__connect_internal)
19854 (__libc_sa_len_internal): Remove declaration.
19855 (__connect, __libc_sa_len): Declare hidden_proto.
19856 (SA_LEN): Remove use of INTUSE.
19857 * socket/connect.c: Add libc_hidden_def.
19858 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19859 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19860 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19861 alias.
19862 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19863 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19864 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19865 of adding _internal alias.
19866
13764867
L
198672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 [BZ #14117]
6bd97696
L
19870 * sysdeps/i386/bits/link.h: Removed.
19871 * sysdeps/i386/bits/linkmap.h: Likewise.
19872 * sysdeps/x86_64/bits/link.h: Renamed to ...
19873 * sysdeps/x86/bits/link.h: This.
19874 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19875 * sysdeps/x86/bits/linkmap.h: This.
19876
f726f0bb
L
19877 * sysdeps/i386/bits/endian.h: Removed.
19878 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19879 * sysdeps/x86/bits/endian.h: This.
19880
13764867
L
19881 * sysdeps/i386/bits/byteswap.h: Removed.
19882 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19883 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19884 * sysdeps/x86/bits/byteswap.h: This.
19885 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19886 * sysdeps/x86/bits/byteswap-16.h: This.
19887 * sysdeps/i386/Implies: Add x86.
19888 * sysdeps/x86_64/Implies: Likewise.
19889
ae251b0b
DM
198902012-05-30 David S. Miller <davem@davemloft.net>
19891
19892 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19893 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19894 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19895 (FP_TRAPPING_EXCEPTIONS): Define.
19896 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19897 (FP_TRAPPING_EXCEPTIONS): Define.
19898 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19899 subnormals only when inexact has been signalled or underflow
19900 exceptions are enabled.
19901 (_FP_PACK_CANONICAL): Likewise.
19902
d5c90867
L
199032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19904
19905 [BZ #14183]
19906 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19907 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19908
63f1549e
RH
199092012-05-30 Richard Henderson <rth@twiddle.net>
19910
8d8f2279
RH
19911 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19912 with #ifndef NOT_IN_libc.
19913
63f1549e
RH
19914 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19915 marked to avoid plt entry.
19916
0ab0291b
L
199172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19918
19919 [BZ #14112]
19920 * Makeconfig (default-abi): New macro.
19921 (abi-includes): Likewise.
19922 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19923 $(abi-$(default-abi)-lib-soname) for soname if defined.
19924 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19925 abi-variants.
19926 * Makefile (installed-stubs): Likewise.
19927 * include/stubs-biarch.h: Removed.
19928 * scripts/lib-names.awk: Only handle one library at a time.
19929 * scripts/soversions.awk: Remove WORDSIZE support.
19930 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19931 entries.
19932 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19933 Removed.
19934 (syscall-list-default-condition): Likewise.
19935 (syscall-list-default-condition): Likewise.
19936 (syscall-list-includes): Likewise.
19937 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19938 syscall-list-* with abi-*. Handle undefined abi-variants.
19939 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19940 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19941 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19942 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19943 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19944 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19945 Removed.
19946 (syscall-list-32-options): Likewise.
19947 (syscall-list-32-condition): Likewise.
19948 (syscall-list-64-options): Likewise.
19949 (syscall-list-64-condition): Likewise.
19950 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19951 macro.
19952 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19953 Renamed to ...
19954 (abi-*): This.
19955 (abi-64-ld-soname): New macro.
19956 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19957 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19958 Renamed to ...
19959 (abi-*): This.
19960 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19961 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19962
4da0431d
JM
199632012-05-30 Joseph Myers <joseph@codesourcery.com>
19964
3a85279c
JM
19965 * sysdeps/unix/sysv/linux/kernel-features.h
19966 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19967 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19968 include <kernel-features.h>.
19969 [!__NR_ftruncate64]: Remove conditional code.
19970 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19971 [__NR_ftruncate64]: Make code unconditional.
19972 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19973 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19974 include <kernel-features.h>.
19975 [!__NR_ftruncate64]: Remove conditional code.
19976 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19977 [__NR_ftruncate64]: Make code unconditional.
19978 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19980 include <kernel-features.h>.
19981 [!__NR_ftruncate64]: Remove conditional code.
19982 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19983 [__NR_ftruncate64]: Make code unconditional.
19984 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19986 include <kernel-features.h>.
19987 [!__NR_ftruncate64]: Remove conditional code.
19988 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19989 [__NR_ftruncate64]: Make code unconditional.
19990 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19991
4da0431d
JM
19992 * configure.in (libc_cv_fpie): Weaken to a compile test using
19993 LIBC_TRY_CC_OPTION.
19994 * configure: Regenerated.
19995
11ef492c
AK
199962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19997
19998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20002 Refreshed.
20003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20009 Refreshed.
20010
d66ef399
DM
200112012-05-27 David S. Miller <davem@davemloft.net>
20012
20013 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20014 (___Q_zero): New.
20015 (__Q_simulate_exceptions): Return void. Change to simulate
20016 exceptions by writing into the %fsr.
20017 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20018 (__Qp_handle_exceptions): Likewise.
20019 (numbers): Delete.
20020 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20021 __Qp_handle_exceptions.
20022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20023 __Qp_handle_exceptions.
20024 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20025 as unused and give dummy FP_RND_NEAREST initializer.
20026 (FP_INHIBIT_RESULTS): Define.
20027 (___Q_simulate_exceptions): Update declaration.
20028 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20029 formatting.
20030 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20031 as unused and give dummy FP_RND_NEAREST initializer.
20032 (__Qp_handle_exceptions): Update declaration.
20033 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20034 formatting.
20035
04fb54b5
TS
200362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20037
20038 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20039 the temporary FPU control word.
20040 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20041 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20042 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20043 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20044 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20045 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20046 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20047 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20048 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20049 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20050 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20051
3f99608f
KK
200522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20053
20054 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20055 fields.
20056
65a4de4e
CLT
200572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20058
20059 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20060 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20061 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20062 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20063 Likewise.
20064 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20065 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20066 Likewise.
20067
15749d40
UD
200682012-05-27 Ulrich Drepper <drepper@gmail.com>
20069
20070 * po/h.po: Update from translation team.
20071
25dbcb27
AS
200722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20073
3d3f8e55
AS
20074 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20075
25dbcb27
AS
20076 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20077 handling of denormals.
20078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20079 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20080 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20081 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20085 Likewise.
20086
7ad47a80 200872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20088
20089 [BZ #14152]
20090 * math/libm-test.inc (fma_test): Don't always expect underflow
20091 exception.
20092
9c6ea9fa
SP
200932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20094
20095 [BZ #12416]
20096 * elf/tst-execstack.c: Include stackinfo.h.
20097 (do_test): Adjust test case to ensure that pthread_getattr_np
20098 behaviour remains the same after marking stack executable.
20099
a8239222
JM
201002012-05-25 Joseph Myers <joseph@codesourcery.com>
20101
20102 * sysdeps/unix/sysv/linux/kernel-features.h
20103 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20104 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20105 kernel-features.h.
20106 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20107 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20108 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
201132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20114
20115 * configure.in: Define the default includes to being none.
20116 * configure: Regenerated.
20117
3a097cc7
RM
201182012-05-25 Roland McGrath <roland@hack.frob.com>
20119
8422c9a5
RM
20120 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20121 * sysdeps/x86_64/setjmp.S: Likewise.
20122 * sysdeps/i386/bsd-setjmp.S: Likewise.
20123 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20124 * sysdeps/i386/setjmp.S: Likewise.
20125 * sysdeps/i386/__longjmp.S: Likewise.
20126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20127 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20128
3a097cc7
RM
20129 * include/stap-probe.h: New file.
20130 * configure.in: Handle --enable-systemtap.
20131 * configure: Regenerated.
20132 * config.h.in (USE_STAP_PROBE): New #undef.
20133 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20134 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20135 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20136
21708942
JM
201372012-05-25 Joseph Myers <joseph@codesourcery.com>
20138
20139 [BZ #13717]
20140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20141 to 2.4.0 where earlier.
20142 * sysdeps/unix/sysv/linux/configure: Regenerated.
20143 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20144 <kernel-features.h>.
20145 [__ASSUME_32BITUIDS]: Make code unconditional.
20146 [!__ASSUME_32BITUIDS]: Remove conditional code.
20147 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
20152 [__ASSUME_32BITUIDS]: Make code unconditional.
20153 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20154 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20155 <kernel-features.h>.
20156 [__ASSUME_32BITUIDS]: Make code unconditional.
20157 [!__ASSUME_32BITUIDS]: Remove conditional code.
20158 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
20195 <kernel-features.h>.
20196 [__NR_setresgid] (__setresgid): Do not declare.
20197 [__ASSUME_32BITUIDS]: Make code unconditional.
20198 [!__ASSUME_32BITUIDS]: Remove conditional code.
20199 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20200 <kernel-features.h>.
20201 [__NR_setresuid] (__setresuid): Do not declare.
20202 [__ASSUME_32BITUIDS]: Make code unconditional.
20203 [!__ASSUME_32BITUIDS]: Remove conditional code.
20204 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20205 <kernel-features.h>.
20206 [__ASSUME_32BITUIDS]: Make code unconditional.
20207 [!__ASSUME_32BITUIDS]: Remove conditional code.
20208 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
20245 (__ASSUME_SETRESUID_SYSCALL): Remove.
20246 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20247 (__ASSUME_32BITUIDS): Likewise.
20248 (__ASSUME_LDT_WORKS): Likewise.
20249 (__ASSUME_O_DIRECTORY): Likewise.
20250 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20251 architecture but not kernel version.
20252 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20253 (__ASSUME_MMAP2_SYSCALL): Likewise.
20254 (__ASSUME_STAT64_SYSCALL): Likewise.
20255 (__ASSUME_IPC64): Likewise.
20256 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20257 <kernel-features.h>.
20258 [__ASSUME_32BITUIDS]: Make code unconditional.
20259 [!__ASSUME_32BITUIDS]: Remove conditional code.
20260 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20261 <kernel-features.h>.
20262 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20263 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20264 132096]: Remove conditional code.
20265 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20267 <kernel-features.h>.
20268 [__ASSUME_32BITUIDS]: Make code unconditional.
20269 [!__ASSUME_32BITUIDS]: Remove conditional code.
20270 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
20275 <kernel-features.h>.
20276 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20277 unconditional.
20278 (__setresgid): Do not declare.
20279 [__ASSUME_32BITUIDS]: Make code unconditional.
20280 [!__ASSUME_32BITUIDS]: Remove conditional code.
20281 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20282 <kernel-features.h>.
20283 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20284 unconditional.
20285 (__setresuid): Do not declare.
20286 [__ASSUME_32BITUIDS]: Make code unconditional.
20287 [!__ASSUME_32BITUIDS]: Remove conditional code.
20288 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20289 <kernel-features.h>.
20290 [__ASSUME_32BITUIDS]: Make code unconditional.
20291 [!__ASSUME_32BITUIDS]: Remove conditional code.
20292 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20293 <kernel-features.h>.
20294 [__ASSUME_32BITUIDS]: Make code unconditional.
20295 [!__ASSUME_32BITUIDS]: Remove conditional code.
20296
a386f1cc
RH
202972012-05-25 Richard Henderson <rth@twiddle.net>
20298
20299 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20300 dl_hwcap to ifunc resolver.
20301 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20302 elf_ifunc_invoke.
20303 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20304 dl_hwcap to ifunc resolver.
20305 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20306
b6550497
JM
203072012-05-24 Joseph Myers <joseph@codesourcery.com>
20308
20309 [BZ #14153]
20310 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20311 for |x| <= 2**-26, not 2**-57.
20312 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20313 exception.
20314
b0bc23a1
JL
203152012-05-24 Jeff Law <law@redhat.com>
20316
20317 * stdio-common/Makefile (tests): Add bug25.
20318 * stdio-common/bug25.c: New test.
20319
347c92e9
L
203202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20321
20322 [BZ #13576]
20323 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20324 multiple of MALLOC_ALIGNMENT in size.
20325 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20326
6bcc8b3f
JM
203272012-05-24 Joseph Myers <joseph@codesourcery.com>
20328
20329 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20330 Require >= 256.
20331 (FILENAME_MAX): Use macro-int-constant.
20332 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20333 (_IOFBF): Use macro-int-constant.
20334 (_IOLBF): Likewise.
20335 (_IONBF): Likewise.
20336 (SEEK_CUR): Likewise.
20337 (SEEK_END): Likewise.
20338 (SEEK_SET): Likewise.
20339 (TMP_MAX): Likewise.
20340 (EOF): Use macro-int-constant. Require < 0.
20341 (NULL): Use macro-constant. Require == 0.
20342 (stdin): Require type to be FILE *.
20343 (stdout): Likewise.
20344 (stderr): Likewise.
20345 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20346 macro-int-constant.
20347 (EXIT_SUCCESS): Likewise.
20348 (NULL): Use macro-constant. Require == 0.
20349 (RAND_MAX): Use macro-int-constant.
20350 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20351 [C99-based standards] (strtof): Require function.
20352 [C99-based standards] (strtold): Likewise.
20353 [C99-based standards] (strtoll): Likewise.
20354 [C99-based standards] (strtoull): Likewise.
20355 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20356 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20357 [ISO || ISO99 || ISO11] (math.h): Likewise.
20358 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20359 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20360 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20361
d18ea0c5
AS
203622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20363
20364 [BZ #14132]
56d25bb8
AS
20365 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20366 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20367 * intl/dgettext.c (DCGETTEXT): Likewise.
20368 * intl/gettext.c (DCGETTEXT): Likewise.
20369 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20370 * posix/regex_internal.h (gettext): Likewise.
20371 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20372 Remove declaration.
20373 * include/argz.h (__argz_count_internal)
20374 (__argz_stringify_internal): Remove declaration.
20375 (__argz_count, __argz_stringify): Declare hidden proto.
20376 * intl/dcgettext.c: Remove use of INTDEF.
20377 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20378 * string/argz-stringify.c: Likewise.
20379 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20380 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20381 Declare hidden proto.
d18ea0c5
AS
20382 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20383 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20384 Declare hidden proto.
20385 * include/stdio.h (__asprintf_internal): Don't declare.
20386 (__asprintf): Don't define as macro. Declare hidden proto.
20387 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20388 (__fsetlocking): Declare hidden proto.
20389 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20390 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20391 hidden proto.
20392 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20393 (_IO_setlinebuf): Remove use of INTUSE.
20394 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20395 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20396 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20397 Remove declaration.
20398 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20399 (_IO_do_flush): Remove use of INTUSE.
20400 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20401 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20402 (_IO_adjust_column, _IO_least_wmarker)
20403 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20404 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20405 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20406 (_IO_default_doallocate, _IO_wdefault_doallocate)
20407 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20408 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20409 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20410 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20411 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20412 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20413 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20414 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20415 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20416 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20417 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20418 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20419 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20420 proto.
20421 (_IO_flush_all_internal, _IO_adjust_column_internal)
20422 (_IO_default_uflow_internal, _IO_default_finish_internal)
20423 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20424 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20425 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20426 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20427 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20428 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20429 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20430 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20431 (_IO_file_close_internal, _IO_file_close_it_internal)
20432 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20433 (_IO_file_init_internal, _IO_file_attach_internal)
20434 (_IO_file_fopen_internal, _IO_file_read_internal)
20435 (_IO_file_sync_internal, _IO_file_seek_internal)
20436 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20437 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20438 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20439 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20440 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20441 (_IO_list_all_internal, _IO_link_in_internal)
20442 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20443 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20444 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20445 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20446 (_IO_do_write_internal, _IO_padn_internal)
20447 (_IO_getline_info_internal, _IO_getline_internal)
20448 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20449 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20450 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20451 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20452 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20453 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20454 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20455 with libc_hidden_ver, remove use of INTUSE.
20456 * libio/genops.c: Likewise.
20457 * libio/freopen.c: Likewise.
20458 * libio/freopen64.c: Likewise.
20459 * libio/iofclose.c: Likewise.
20460 * libio/iofdopen.c: Likewise.
20461 * libio/iofflush.c: Likewise.
20462 * libio/iofflush_u.c: Likewise.
20463 * libio/iofgets.c: Likewise.
20464 * libio/iofgets_u.c: Likewise.
20465 * libio/iofopen.c: Likewise.
20466 * libio/iofopncook.c: Likewise.
20467 * libio/iofread.c: Likewise.
20468 * libio/iofread_u.c: Likewise.
20469 * libio/ioftell.c: Likewise.
20470 * libio/iofwrite.c: Likewise.
20471 * libio/iogetline.c: Likewise.
20472 * libio/iogets.c: Likewise.
20473 * libio/iogetwline.c: Likewise.
20474 * libio/iopadn.c: Likewise.
20475 * libio/iopopen.c: Likewise.
20476 * libio/ioseekoff.c: Likewise.
20477 * libio/ioseekpos.c: Likewise.
20478 * libio/iosetbuffer.c: Likewise.
20479 * libio/iosetvbuf.c: Likewise.
20480 * libio/ioungetc.c: Likewise.
20481 * libio/ioungetwc.c: Likewise.
20482 * libio/iovdprintf.c: Likewise.
20483 * libio/iovsprintf.c: Likewise.
20484 * libio/iovsscanf.c: Likewise.
20485 * libio/memstream.c: Likewise.
20486 * libio/obprintf.c: Likewise.
20487 * libio/oldfileops.c: Likewise.
20488 * libio/oldiofclose.c: Likewise.
20489 * libio/oldiofdopen.c: Likewise.
20490 * libio/oldiofopen.c: Likewise.
20491 * libio/oldiopopen.c: Likewise.
20492 * libio/oldstdfiles.c: Likewise.
20493 * libio/putc.c: Likewise.
20494 * libio/setbuf.c: Likewise.
20495 * libio/setlinebuf.c: Likewise.
20496 * libio/stdfiles.c: Likewise.
20497 * libio/strops.c: Likewise.
20498 * libio/vasprintf.c: Likewise.
20499 * libio/vscanf.c: Likewise.
20500 * libio/vsnprintf.c: Likewise.
20501 * libio/vswprintf.c: Likewise.
20502 * libio/wfiledoalloc.c: Likewise.
20503 * libio/wfileops.c: Likewise.
20504 * libio/wgenops.c: Likewise.
20505 * libio/wmemstream.c: Likewise.
20506 * libio/wstrops.c: Likewise.
20507 * libio/__fpurge.c: Likewise.
20508 * libio/__fsetlocking.c: Likewise.
20509 * assert/assert.c: Likewise.
20510 * debug/fgets_chk.c: Likewise.
20511 * debug/fgets_u_chk.c: Likewise.
20512 * debug/fread_chk.c: Likewise.
20513 * debug/fread_u_chk.c: Likewise.
20514 * debug/gets_chk.c: Likewise.
20515 * debug/obprintf_chk.c: Likewise.
20516 * debug/vasprintf_chk.c: Likewise.
20517 * debug/vdprintf_chk.c: Likewise.
20518 * debug/vsnprintf_chk.c: Likewise.
20519 * debug/vsprintf_chk.c: Likewise.
20520 * malloc/mtrace.c: Likewise.
20521 * misc/error.c: Likewise.
20522 * misc/syslog.c: Likewise.
20523 * stdio-common/asprintf.c: Likewise.
20524 * stdio-common/fxprintf.c: Likewise.
20525 * stdio-common/getw.c: Likewise.
20526 * stdio-common/isoc99_fscanf.c: Likewise.
20527 * stdio-common/isoc99_scanf.c: Likewise.
20528 * stdio-common/isoc99_vfscanf.c: Likewise.
20529 * stdio-common/isoc99_vscanf.c: Likewise.
20530 * stdio-common/isoc99_vsscanf.c: Likewise.
20531 * stdio-common/printf-prs.c: Likewise.
20532 * stdio-common/printf_fp.c: Likewise.
20533 * stdio-common/printf_fphex.c: Likewise.
20534 * stdio-common/printf_size.c: Likewise.
20535 * stdio-common/putw.c: Likewise.
20536 * stdio-common/scanf.c: Likewise.
20537 * stdio-common/sprintf.c: Likewise.
20538 * stdio-common/tmpfile.c: Likewise.
20539 * stdio-common/vfprintf.c: Likewise.
20540 * stdio-common/vfscanf.c: Likewise.
20541 * stdlib/strfmon_l.c: Likewise.
20542 * sunrpc/openchild.c: Likewise.
20543 * sunrpc/xdr_stdio.c: Likewise.
20544 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20545 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20546
d6c33fda
RM
205472012-05-24 Roland McGrath <roland@hack.frob.com>
20548
c1487492
RM
20549 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20550
20551 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20552 in the third column, to generate for the shared library an IFUNC
20553 that uses _dl_vdso_vsym.
20554 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20555 * Makeconfig (object-suffixes-noshared): New variable.
20556
20557 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20558 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20559 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20560 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20561
d6c33fda
RM
20562 [BZ #14132]
20563 * include/sys/time.h (__gettimeofday): Remove macro.
20564 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20565 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20566 Remove INTDEF.
20567 (__gettimeofday): Add libc_hidden_def.
20568 (gettimeofday): Add libc_hidden_weak.
20569 * sysdeps/mach/gettimeofday.c: Likewise.
20570 * sysdeps/posix/gettimeofday.c: Likewise.
20571 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20572 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20574 (__gettimeofday_internal): Remove strong_alias.
20575 (__gettimeofday): Add libc_hidden_def.
20576 (gettimeofday): Add libc_hidden_weak.
20577 * sysdeps/unix/syscalls.list (gettimeofday):
20578 Remove __gettimeofday_internal alias.
20579
b5a2bbe6
L
205802012-05-24 Daniel Jacobowitz <drow@false.org>
20581 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 [BZ #12495]
20584 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20585 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20586 (largebin_index_32_big): New.
20587 (largebin_index): Use it for 16-byte alignment.
20588 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20589 correction with front_misalign.
20590
cfba4fda
L
205912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20592
7f907421
L
20593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20595 Likewise.
20596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20597 Likewise.
20598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20599 Likewise.
20600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20601 Likewise.
20602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20603 Likewise.
20604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20605 Likewise.
20606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20607 Likewise.
20608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20609 Likewise.
20610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20611 Likewise.
20612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20613 Likewise.
20614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20615 Likewise.
20616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20617 Likewise.
20618
cfba4fda
L
20619 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20620 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20621
80bad0cc
JM
206222012-05-24 Joseph Myers <joseph@codesourcery.com>
20623
7a25eb06
JM
20624 [BZ #10846]
20625 [BZ #14036]
20626 * math/libm-test.inc (exp_test): Add test from bug 14036.
20627 (pow_test): Add test from bug 10846.
20628
795405f9
JM
20629 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20630 and other flags.
20631 (special_function): Do not include flags in test name.
20632 (parse_args): Likewise.
20633 * sysdeps/i386/fpu/libm-test-ulps: Update.
20634 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20635 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20636 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20638
80bad0cc
JM
20639 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20640 exceptions.
20641 * math/libm-test.inc ("Philosophy"): Update comment about
20642 exception testing.
20643 (UNDERFLOW_EXCEPTION): New macro.
20644 (UNDERFLOW_EXCEPTION_OK): Likewise.
20645 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20646 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20647 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20648 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20649 (INVALID_EXCEPTION_OK): Update value.
20650 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20651 (OVERFLOW_EXCEPTION_OK): Likewise.
20652 (IGNORE_ZERO_INF_SIGN): Likewise.
20653 (test_exceptions): Handle underflow exceptions.
20654 (acos_test): Update for underflow exception expectations.
20655 (cexp_test): Likewise.
20656 (clog_test): Likewise.
20657 (clog10_test): Likewise.
20658 (csqrt_test): Likewise.
20659 (ctan_test): Likewise.
20660 (ctanh_test): Likewise.
20661 (exp_test): Likewise.
20662 (exp10_test): Likewise.
20663 (exp2_test): Likewise.
20664 (expm1_test): Likewise.
20665 (fma_test): Likewise.
20666 (j0_test): Likewise.
20667 (jn_test): Likewise.
20668 (nexttoward_test): Likewise.
20669 (pow_test): Likewise.
20670 (scalbn_test): Likewise.
20671 (scalbln_test): Likewise.
20672 (tan_test): Likewise.
20673 (y1_test): Likewise.
20674 * sysdeps/i386/fpu/libm-test-ulps: Update.
20675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20676
9e0e3d0b
DM
206772012-05-23 David S. Miller <davem@davemloft.net>
20678
20679 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20680 (__libc_sigaction): Remove unused local variables.
20681
ccd0a08f
L
206822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20685
62bdf9a6
PE
206862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20687
f8591f80
PE
20688 mktime: avoid signed integer overflow
20689 * time/mktime.c (__mktime_internal): Do not mishandle the case
20690 where diff == INT_MIN.
20691
94c7d826
PE
20692 mktime: simplify computation of average
20693 * time/mktime.c (ranged_convert): Use new time_t_avg function
20694 instead of rolling our own (probably-slower) code.
20695
ce73d683
PE
20696 mktime: do not assume signed right shift propagates sign bit
20697 * time/mktime.c (isdst_differ): New static function.
20698 (__mktime_internal): No need to normalize tm_isdst now.
20699 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20700 tm_isdst values.
20701
72a22e59
PE
20702 mktime: merge another wrapv change from gnulib
20703 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20704 from some compilers.
20705
68605433
PE
20706 mktime: remove incorrect attempt at unusual arithmetics
20707 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20708 The code didn't really work on such machines anyway.
20709 (TYPE_MINIMUM): Assume two's complement.
20710 (twos_complement_arithmetic): Verify that long_int and time_t
20711 are two's complement (or unsigned, in the latter case).
20712
03cf7fe3
PE
20713 mktime: check signed shifts on long_int and time_t, too
20714 * time/mktime.c (SHR): Check that shifts work as desired
20715 on the types long_int and time_t too, as SHR is used on
20716 such types.
20717
f04dfbc2
PE
20718 mktime: do not assume 'long' is wide enough
20719 * time/mktime.c (verify): Move decl up.
20720 (long_int): New type.
20721 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20722 to remove assumption in the code that 'long' is wide enough to
20723 store year values. This assumption is not true on x32 and on
20724 some non-glibc platforms.
20725
62bdf9a6
PE
20726 mktime: merge wrapv change from gnulib
20727 * time/mktime.c (WRAPV): New macro.
20728 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20729 (guess_time_tm, __mktime_internal): Do not assume that signed
20730 integer overflow wraps around; modern compilers generate code
20731 where this assumption is no longer valid.
20732
5e292e4f
L
207332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20734
20735 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20736 Replace "jmp L(pseudo_end)" with "ret".
20737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20738 Likewise.
20739
8caf8c87
AJ
207402012-05-23 Andreas Jaeger <aj@suse.de>
20741
20742 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20743 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20744
1a09dc56
AJ
207452012-05-23 Andreas Jaeger <aj@suse.de>
20746 Maximilian Attems <max@stro.at>
20747
20748 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20749 New macros.
20750
1c87aba0
L
207512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20752
20753 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20754 code so that pseudo_end is just ret and the stack pointer is
20755 correct also for static library in error case.
20756
40e45bd5
JM
207572012-05-23 Joseph Myers <joseph@codesourcery.com>
20758
c2670533
JM
20759 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20760 move to syscalls.list.
20761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20765
40e45bd5
JM
20766 * manual/install.texi (Running make install): Do not mention Linux
20767 kernel version for which pt_chown is not needed.
20768 (Linux): Do not mention problems with nscd with 2.0 kernels.
20769 * INSTALL: Regenerated.
20770
be08eda5
AJ
207712012-05-23 Andreas Jaeger <aj@suse.de>
20772
20773 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20774 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20775 macro.
20776 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20777 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20778 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20779 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20780 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20781 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20782 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20783 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20784 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20785 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20786 * sysdeps/unix/sysv/linux/bits/in.h
20787 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20788
a6a056bb
RM
207892012-05-22 Roland McGrath <roland@hack.frob.com>
20790
20791 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20792 (PREPARE_VERSION): Just use assert instead, it will be elided
20793 under [NDEBUG] anyway.
20794
c9009328
L
207952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20796
20797 * sysdeps/unix/sysv/linux/Makefile: Include
20798 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20799 (sysdep_routines): Remove sysctl.
c9009328
L
20800 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20801 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20802 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20803 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20804 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20805
73338355
AJ
208062012-05-22 Andreas Jaeger <aj@suse.de>
20807
20808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20809 that pseudo_end is just ret and the stack pointer is correct also
20810 for static library in error case.
20811
d44638b0
PP
208122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20813
20814 [BZ #14122]
20815 * nss/nsswitch.c (defconfig_entries): New variable.
20816 (__nss_database_lookup): Don't leak defconfig entries.
20817 (nss_parse_service_list): Don't leak on error paths.
20818 (free_database_entries): New function.
20819 (free_defconfig): New function.
20820 (free_mem): Move common code to free_database_entries.
20821
31a39bd8
L
208222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20823
da0331a8
L
20824 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20825 Add arch_prctl.
20826 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20827
31a39bd8
L
20828 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20829 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20831 New macro.
20832 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20833 (INTERNAL_SYSCALL_TYPES): Likewise.
20834 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20835 (LOAD_REGS_TYPES_[1-6]): Likewise.
20836 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20837 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20838
45470df3
AZ
208392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20840
20841 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20842 copysignl for GLIBC_2_0.
20843 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20844 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20846 logbl for GLIBC_2_0.
20847 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20848 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20849
98a61bcb
L
208502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20851
a4f6e481
L
20852 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20853 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20854
f63d5db6
L
20855 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20856 Use "neg %eax".
20857
98a61bcb
L
20858 * time/mktime.c: Update copyright years.
20859
95770f14
PE
208602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20861
6226efbd
PE
20862 mktime: merge comment-quoting-style change from gnulib
20863 * time/mktime.c: Quote 'like this' in comments.
20864 The GNU coding standards suggest that we no longer quote `like this',
20865 as "`" and "'" are typically rendered asymmetrically nowadays.
20866 The typical gnulib style is to quote 'like this' when quoting
20867 code, and "like this" when quoting English.
20868
b99e4f78
PE
20869 * time/mktime.c (compile-command): Add "-I.".
20870
643e01e6
PE
20871 mktime: merge mktime-internal.h change from gnulib
20872 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20873
2554247d
PE
20874 mktime: merge time_r change from gnulib
20875 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20876
826dd0ab
PE
20877 mktime: merge DEBUG change from gnulib
20878 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20879 case system <time.h> has a #define.
20880
bd83aabe
PE
20881 mktime: merge <sys/types.h> change from gnulib
20882 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20883 since <time.t> is now guaranteed to define time_t.
20884
95770f14
PE
20885 mktime: merge HAVE_CONFIG_H change from gnulib
20886 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20887
5e1a27a9
L
208882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20889
0e44a77e
L
20890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20891 Use "neg %eax".
20892
5e1a27a9
L
20893 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20894 __rlim_t cast.
20895 (struct rusage): Use anonymous union to pad each field to
20896 __syscall_slong_t.
20897
46259bec
DM
208982012-05-21 David S. Miller <davem@davemloft.net>
20899
20900 * Makefules (o-iterator): Remove .s cases.
20901 (compile-command.s): Delete.
20902 (COMPILE.s): Delete.
20903 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20904
59f0c22e
JM
209052012-05-21 Joseph Myers <joseph@codesourcery.com>
20906
20907 * configure.in (libc_cv_predef_stack_protector): Only consider
20908 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20909 * configure: Regenerated.
20910
20c07380
L
209112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20912
bbb3154b
L
20913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20914 New macro. Use R*LP on int and pointer.
20915 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20916 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20917 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20918 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20919
20c07380
L
20920 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20921 [__WORDSIZE_TIME64_COMPAT32] instead of
20922 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20923 (struct utmp): Likewise.
20924 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20925 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20926 Renamed to ...
20927 (__WORDSIZE_TIME64_COMPAT32): This.
20928 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20929 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20930 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20931 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20932 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20933 (__WORDSIZE_TIME64_COMPAT32): New macro.
20934
d8d1017e
AJ
209352012-05-21 Andreas Jaeger <aj@suse.de>
20936
20937 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20938 only if [SHARED]. Add prototype for __wcschr_ia32.
20939
6c7fb145
RM
209402012-05-21 Roland McGrath <roland@hack.frob.com>
20941
20942 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20943 of %rbp unmolested in the jmp_buf while mangling the low bits.
20944 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20945 unmolested high bits of %rbp while demangling the low bits.
20946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20947
66274218
AJ
209482012-05-21 Andreas Jaeger <aj@suse.de>
20949
07c58f8f
AJ
20950 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20951 * sunrpc/svc_simple.c: Use it for registerrpc.
20952 * sunrpc/xcrypt.c: Use it for passwd2des.
20953
66274218
AJ
20954 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20955
61f65140
L
209562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20957
20958 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20959 Don't define if [__SYSCALL_WORDSIZE != 32].
20960 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20961 New macro.
20962
5fefb436
AJ
209632012-05-21 Bruno Haible <bruno@clisp.org>
20964 Andreas Jaeger <aj@suse.de>
20965
20966 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20967 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20968 inptr and inend for must_buffer_ch.
20969 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20970 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20971 * stdio-common/Makefile (tests): Remove bug15.
20972 (bug15-ENV): Remove macro.
20973 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20974 anymore.
20975
d8e272ab
AJ
209762012-05-19 Andreas Jaeger <aj@suse.de>
20977 Roland McGrath <roland@hack.frob.com>
20978
20979 * manual/contrib.texi: Completely rewritten. It contains now an
20980 alphabetical list of contributors and their contributions.
20981
4a56a162
RH
209822012-05-21 Richard Henderson <rth@twiddle.net>
20983
20984 * misc/getauxval.c (__getauxval): Use unsigned long int.
20985 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20986 (getauxval): Use unsigned long int.
20987
d024d23c
L
209882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20989
20990 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20991
cbc00a03
RM
209922012-05-21 Roland McGrath <roland@hack.frob.com>
20993
20994 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20995 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20996 __alignof__ (long double).
20997
478143fa
AZ
209982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20999
21000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21001
c7683a6d
RH
210022012-05-20 Richard Henderson <rth@twiddle.net>
21003
21004 * misc/getauxval.c: New file.
21005 * misc/sys/auxv.h: New file.
21006 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21007 (routines): Add getauxval.
21008 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21009 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21010 * elf/dl-sysdep.c (_dl_auxv): Remove.
21011 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21012 * elf/dl-support.c (_dl_auxv): New variable.
21013 (_dl_aux_init): Initialize it.
21014 * manual/startup.texi (Auxiliary Vector): New node.
21015 * sysdeps/generic/bits/hwcap.h: New file.
21016 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21017 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21018 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21019 * sysdeps/sparc/sysdep.h: ... here. Include it.
21020 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21021 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21023 Update.
c7683a6d
RH
21024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21032
a6f1845d
AZ
210332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21034
21035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21036
cbcbe830
DM
210372012-05-19 David S. Miller <davem@davemloft.net>
21038
21039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21040
e0b16cc2
JM
210412012-05-19 Joseph Myers <joseph@codesourcery.com>
21042
21043 [BZ #14123]
21044 * math/s_ccosh.c: Include <float.h>
21045 (__ccosh): Avoid internal overflow calculating sinh and cosh
21046 values before multiplying by sin and cos values.
21047 * math/s_ccoshf.c: Likewise.
21048 * math/s_ccoshl.c: Likewise.
21049 * math/s_csin.c: Likewise.
21050 * math/s_csinf.c: Likewise.
21051 * math/s_csinl.c: Likewise.
21052 * math/s_csinh.c: Likewise.
21053 * math/s_csinhf.c: Likewise.
21054 * math/s_csinhl.c: Likewise.
21055 * math/libm-test.inc (ccos_test): Add more tests.
21056 (ccosh_test): Likewise.
21057 (csin_test): Likewise.
21058 (csinh_test): Likewise.
21059 * sysdeps/i386/fpu/libm-test-ulps: Update.
21060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21061
6ad13e08
L
210622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21063
f66f0ce8
L
21064 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21065 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21066
6ad13e08
L
21067 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21068
b1d072a7
JM
210692012-05-19 Joseph Myers <joseph@codesourcery.com>
21070
21071 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21072 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21073 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21074 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21075 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21076 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21077 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21078 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21079 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21080 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21081 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21082 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21083 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21084 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21085 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21086 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21087 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21088 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21089 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21090 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21091 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21092 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21093 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21094 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21095 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21096 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21097 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21098 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21099 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21100 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21101 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21102
9eae47cb
AJ
211032012-05-18 Andreas Jaeger <aj@suse.de>
21104
21105 * csu/.gitignore: Delete.
21106
bb07f69f
L
211072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21108
21109 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21110 (timex): Use __syscall_slong_t.
21111
e6bdb741
AJ
211122012-05-18 Andreas Jaeger <aj@suse.de>
21113 Carlos O'Donell <carlos_odonell@mentor.com>
21114
21115 * manual/install.texi (Configuring and compiling): Update
21116 description about files modified in the source directory.
d6c33fda 21117 * INSTALL: Regenerated.
e6bdb741 21118
1b74487e
L
211192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21120
21121 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21122 value. Use "or" to set return value to -1.
21123 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21124 negate return value.
21125
a88b64b9
TMQMF
211262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21127
21128 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21129 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21130 failure if the compiler has Graphite support disabled.
21131 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21132 Likewise.
21133 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21134 CFLAGS-memmove.c): Likewise.
21135 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21136 Likewise.
21137
3707636e
L
211382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21139
610b8622
L
21140 * sysdeps/x86_64/x32/_itoa.h: New file.
21141
7cd195df
L
21142 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21143 getdents system call only if kernel and user dirents have the
21144 same d_ino and d_off.
21145
94b07d20
L
21146 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21147 LLONG_MAX != LONG_MAX.
21148 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21149 (_fitoa_word): Likewise.
21150
18298070
L
21151 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21152 years.
21153 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21154 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21155 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21156
553c7ea4
L
21157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21158 include <bits/wordsize.h>. Check __x86_64__ instead of
21159 __WORDSIZE.
21160 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21161 if __x86_64__ is defined. Use anonymous union on fpstate.
21162
3707636e
L
21163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21164 anonymous union.
21165
b53ef01a
AS
211662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21167
37fb1dc0
AS
21168 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21169 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21171 Refer to _rtld_local_ro instead of _rtld_global_ro.
21172 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21173 Likewise.
21174 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21175 Likewise.
21176 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21177 Likewise.
21178 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21179 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21180 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21181
b53ef01a
AS
21182 * sysdeps/powerpc/powerpc32/dl-machine.c
21183 (__elf_machine_runtime_setup) [PROF]: Don't reference
21184 _dl_prof_resolve.
21185
7a185db2
AJ
211862012-05-18 Andreas Jaeger <aj@suse.de>
21187
21188 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21189 function only available for GCCs before 3.4 since GCC 3.4
21190 introduced a builtin.
21191 (lrint): Likewise.
21192 (llrintf): Likewise.
21193 (llrint): Likewise.
21194 (fmaxf): Likewise.
21195 (fmax): Likewise.
21196 (fminf): Likewise.
21197 (fmin): Likewise.
21198 (rint): Likewise.
21199 (rintf): Likewise.
21200 (nearbyint): Likewise.
21201 (nearbyintf): Likewise.
21202 (ceil): Likewise.
21203 (ceilf): Likewise.
21204 (floor): Likewise.
21205 (floorf): Likewise.
21206
3e5aef87
L
212072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21208
428bd707
L
21209 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21210 on both fields and cast pointer to __syscall_ulong_t.
21211
3e5aef87
L
21212 * bits/types.h (__fsword_t): New type.
21213 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21214 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21216 (__FSWORD_T_TYPE): Likewise.
21217 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21218 (__FSWORD_T_TYPE): Likewise.
21219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21220 (__FSWORD_T_TYPE): Likewise.
21221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21222 (__FSWORD_T_TYPE): Likewise.
21223 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21224 __SWORD_TYPE with __fsword_t.
21225 (statfs64): Likewise.
21226
1ba7c3dc
DM
212272012-05-17 David S. Miller <davem@davemloft.net>
21228
21229 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21230
59910343
AJ
212312012-05-17 Andreas Jaeger <aj@suse.de>
21232
21233 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21234 warning.
21235
2e4c1e9e
L
212362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21237
21238 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21239
de7f5ce7
AJ
212402012-05-17 Andreas Jaeger <aj@suse.de>
21241
21242 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21243 when it is used.
21244
286abc3d
CM
212452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21246
21247 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21248
477cc68e
L
212492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21250
21251 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21252 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21253
1a0994f5
CD
212542012-05-17 Andreas Jaeger <aj@suse.de>
21255 Carlos O'Donell <carlos_odonell@mentor.com>
21256
21257 [BZ #14059]
21258 * sysdeps/x86_64/multiarch/init-arch.h
21259 (bit_YMM_Usable): Rename to...
21260 (bit_AVX_Usable): ... this.
21261 (bit_FMA4_Usable): New macro.
21262 (bit_XMM_state): New macro.
21263 (bit_YMM_state): New macro.
21264 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21265 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21266 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21267 (CPUID_OSXSAVE): New macro.
21268 (CPUID_AVX): New macro.
21269 (CPUID_FMA4): New macro.
21270 (index_YMM_Usable): Rename to...
21271 (index_AVX_Usable): ... this.
21272 (HAS_AVX): Use HAS_ARCH_FEATURE.
21273 (HAS_FMA4): Likewise.
21274 (HAS_YMM_USABLE): Remove.
21275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21276 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21277 are present.
21278 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21279 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21280 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21281 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21282 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21283
0af797de
CM
212842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21285
21286 * math/libm-test.c: Support platforms without multiple rounding modes.
21287 * math/bug-nextafter.c: Support platforms without FP exceptions.
21288 * math/bug-nexttoward.c: Likewise.
21289 * math/test-fenv.c: Likewise.
21290 * math/test-misc.c: Likewise.
21291 * stdlib/bug-getcontext.c: Likewise.
21292
e39745ff
AJ
212932012-05-17 Andreas Jaeger <aj@suse.de>
21294
21295 * manual/examples/search.c (critter_cmp): Change signature to
21296 avoid warnings.
21297 * manual/string.texi (Collation Functions): Likewise.
21298
48970aba
L
212992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21300
21301 * bits/types.h: Fold copyright years.
21302 * bits/typesizes.h: Likewise.
21303 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21307 * time/time.h: Likewise.
21308
bedee953
PP
213092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21310
21311 [BZ #208]
21312 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21313 in instead of returning them. Return void.
21314 (__libc_mallinfo): Accumulate over all arenas.
21315 (__malloc_stats): Adjust for change in int_mallinfo interface.
21316
61653dfb
RM
213172012-05-16 Roland McGrath <roland@hack.frob.com>
21318
30b99d79
RM
21319 [BZ #10375]
21320 * configure.in (NM): Add AC_CHECK_TOOL for it.
21321 (libc_extra_cflags): New substituted variable.
21322 Check for -fstack-protector being used implicitly.
21323 * configure: Regenerated.
21324 * config.make.in (config-extra-cflags): New variable,
21325 gets @libc_extra_cflags@.
21326 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21327
61653dfb
RM
21328 [BZ #10375]
21329 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21330 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21331 * configure: Regenerated.
21332 * config.make.in (CPPUNDEFS): New substituted variable.
21333 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21334 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21335 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21336
661768bb
L
213372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21338
21339 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21340 (mq_attr): Use __syscall_slong_t.
21341
d4261567
L
213422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21343
21344 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21345 Check __x86_64__ instead of __WORDSIZE.
21346 (_STAT_VER_LINUX): Likewise.
21347 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21348 __syscall_ulong_t and __syscall_slong_t.
21349 (stat64): Likewise.
21350
cf3ff365
L
213512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21352
21353 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21354
76cf3e4d
L
213552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21358
a637753a
L
213592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21360
21361 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21362 __syscall_ulong_t.
21363
d5e05119
L
21364 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21365 include <bits/wordsize.h>. Check __x86_64__ instead of
21366 __WORDSIZE.
21367 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21368 defined.
21369 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21370
f62ee380
L
21371 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21372 include <bits/wordsize.h>. Check __x86_64__ instead of
21373 __WORDSIZE.
21374 (user_regs_struct): Use "__extension__ unsigned long long"
21375 instead of "unsigned long" if __x86_64__ is defined.
21376 (user): Likewise. Pad after pointer field if __ILP32__ is
21377 defined.
21378
4e124ced
JM
213792012-05-16 Joseph Myers <joseph@codesourcery.com>
21380
6a3951a0
JM
21381 * configure.in (makeinfo): Require version 4.5 or later. Allow
21382 versions 5 to 9.
21383 * configure: Regenerated.
21384 * manual/install.texi (texinfo): Increase version requirement to
21385 4.5 or later.
21386 * INSTALL: Regenerated.
21387
4e124ced
JM
21388 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21389
953ca31a
L
213902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21393
617aca05
L
21394 * sysdeps/x86_64/x32/ffs.c: New file.
21395
5762f7ae
L
21396 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21397 __syscall_ulong_t.
21398 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21399 defined. Use __syscall_ulong_t.
21400 (shminfo): Use __syscall_ulong_t.
21401 (shm_info): Likewise.
21402
a26b6856
L
21403 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21404 __syscall_ulong_t.
21405
cb2b9ef7
L
21406 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21407 <bits/wordsize.h>.
21408 (msgqnum_t): Use __syscall_ulong_t.
21409 (msglen_t): Likewise.
21410 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21411 __syscall_ulong_t.
21412
34683bb0
L
21413 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21414 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21415
84a68786
L
21416 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21417
48baa5f1
L
21418 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21419 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21420
180be88b
L
21421 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21422 __syscall_slong_t.
21423
5e90c8ad
L
21424 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21425 include <bits/wordsize.h>. Check __x86_64__ instead of
21426 __WORDSIZE.
21427
23dfb58b
L
21428 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21429 "unsigned long long int" if __x86_64__ is defined.
21430 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21431
ce5d54b0
L
21432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21433 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21434 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21435
13dc9eac
L
21436 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21437 <stdint.h>.
21438 (GET_PC): Cast to uintptr_t first.
21439 (GET_FRAME): Likewise.
21440 (GET_STACK): Likewise.
21441
a7895d15
L
21442 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21443 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21444 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21445 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21446 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21447 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21448 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21449 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21450 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21451 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21452 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21453 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21454 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21456 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21457 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21458 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21459 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21460 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21461 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21463 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21464 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21465 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21466 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21468 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21469 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21470 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21471
656416c9
AS
214722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21473
5bd66283
AS
21474 * Makerules (+depfiles): Also collect depfiles from .oS in
21475 $(extra-objs).
21476 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21477 .oS, $(libnldbl-routines)).
21478
656416c9
AS
21479 * Makerules (native-compile-mkdep-flags): Define.
21480 * sunrpc/Makefile (extra-objs): Add $(addprefix
21481 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21482 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21483 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21484 calling $(make-target-directory).
21485
a46f2169
L
214862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21487
21488 * bits/types.h (__snseconds_t): Removed.
21489 * time/time.h (struct timespec): Replace __snseconds_t with
21490 __syscall_slong_t.
21491 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21492 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21493 Likewise.
21494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21495 (__SNSECONDS_T_TYPE): Likewise.
21496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21497 (__SNSECONDS_T_TYPE): Likewise.
21498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21499 (__SNSECONDS_T_TYPE): Likewise.
21500
6af6528b
L
215012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 * sysdeps/mach/hurd/bits/typesizes.h
21504 (__SYSCALL_SLONG_TYPE): New macro.
21505 (__SYSCALL_ULONG_TYPE): Likewise.
21506
de986b56
L
215072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21508
21509 * bits/types.h (__syscall_slong_t): New type.
21510 (__syscall_ulong_t): Likewise.
21511
21512 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21513 (__SYSCALL_ULONG_TYPE): Likewise.
21514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21515 (__SYSCALL_SLONG_TYPE): Likewise.
21516 (__SYSCALL_ULONG_TYPE): Likewise.
21517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21518 (__SYSCALL_SLONG_TYPE): Likewise.
21519 (__SYSCALL_ULONG_TYPE): Likewise.
21520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21521 (__SYSCALL_SLONG_TYPE): Likewise.
21522 (__SYSCALL_ULONG_TYPE): Likewise.
21523
85736dc7
L
215242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21527 Add sigaltstack-offsets.sym.
21528 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21529 <sigaltstack-offsets.h>.
21530 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21531 longjmp_msg pointer.
21532 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21533 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21534 signal stack.
21535 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21536
cc03b296
JM
215372012-05-15 Joseph Myers <joseph@codesourcery.com>
21538
a9538892
JM
21539 * elf/stackguard-macros.h: Remove file.
21540 * sysdeps/generic/stackguard-macros.h: New file.
21541 * sysdeps/i386/stackguard-macros.h: Likewise.
21542 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21543 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21544 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21545 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21546 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21547 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21548 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21549 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21550 <elf/stackguard-macros.h>.
21551
cc03b296
JM
21552 [BZ #14109]
21553 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21554 __aligned__ in attribute.
21555 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21556 (gregset_t): Likewise.
21557
93171016
L
215582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21559
21560 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21561 * sysdeps/x86_64/64/Implies-after: Here. New file.
21562 * sysdeps/x86_64/x32/Implies-after: New file.
21563
d86813a0
L
215642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21565
21566 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21567 and access return value for _dl_profile_fixup. Use R10_LP to
21568 load frame size.
21569
2953ec75
L
215702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21571
21572 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21573
3b550e9e
L
215742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21575
21576 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21577 * sysdeps/x86_64/x32/sysdep.h: New file.
21578
eda41706
L
215792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21582 * sysdeps/x86_64/setjmp.S: Likewise.
21583
9ea01d93
AZ
215842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21585
21586 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21587 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21588 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21590 remove unused global constant.
21591
02a91938
CM
215922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21593
21594 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21595 include of <not-cancel.h>.
21596
6540185f
RM
215972012-05-15 Roland McGrath <roland@hack.frob.com>
21598
21599 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21600
509072a0
AJ
216012012-05-15 Jeff Law <law@redhat.com>
21602 Andreas Jaeger <aj@suse.de>
21603
21604 [BZ #13594]
21605 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21606 out from...
21607 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21608 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21609 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21610 code changing __hst_map_handle.map.
21611
ba75122d
RM
216122012-05-15 Roland McGrath <roland@hack.frob.com>
21613
21614 * configure.in (sysnames): Look for Implies-before and Implies-after
21615 files.
21616 * configure: Regenerated.
21617
890d8bd8
L
216182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21619
21620 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21621 8-byte data alignment with LP_SIZE alignment.
21622
f6ee6623
L
216232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21624
21625 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21626 into R10_LP.
21627
ea2626f6
L
216282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21629
21630 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21631
085f715e
L
216322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21635 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21637 Likewise.
21638 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21639
be8498fc
L
216402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21641
21642 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21643 (stackinfo_sub_sp): Likewise.
21644
70bc83b9
L
216452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21646
21647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21648 RAX_LP.
21649
9bc0b730
L
216502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21651
21652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21653 into R*_LP.
21654
6d2850e7
L
216552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21656
21657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21658 sizes into R*_LP.
21659
3cb84561
L
216602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21661
21662 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21663
54e2ed81
L
216642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21667 into R11_LP and load __x86_64_shared_cache_size_half into
21668 R8_LP.
21669
8a17f349
L
216702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21671
21672 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21673 R8_LP.
21674
777b1eea
AZ
216752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21676
21677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21678 logb for POWER7.
21679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21680 logbf for POWER7.
21681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21682 logbl for POWER7.
21683 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21684 powerpc32/power7/fpu/s_logb.c via #include.
21685 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21686 powerpc32/power7/fpu/s_logbf.c via #include.
21687 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21688 powerpc32/power7/fpu/s_logbl.c via #include.
21689
d20d4ac2
JM
216902012-05-15 Joseph Myers <joseph@codesourcery.com>
21691
21692 * README.libm: Remove file.
21693
6cdef1ab
L
216942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21695
21696 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21697 count for x32. Use R*_LP and omit operand-size suffix.
21698
0b254d8f
L
216992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21700
21701 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21702 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21703 * sysdeps/x86_64/x32/shlib-versions: New file.
21704
ceb809dc
RM
217052012-05-14 Roland McGrath <roland@hack.frob.com>
21706
21707 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21708 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21709 Use _dl_fatal_printf instead.
21710
37f1abd4
JM
217112012-05-14 Joseph Myers <joseph@codesourcery.com>
21712
21713 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21714 set if not set by the user. Do not allow for being unset.
21715 * sysdeps/unix/sysv/linux/configure: Regenerated.
21716
11de3a33
L
217172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21720 the `q' suffix from lea and replace .quad with ASM_ADDR.
21721
e02f153a
L
217222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21723
21724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21725 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21726 instead of $17.
21727 (PTR_DEMANGLE): Likewise.
21728
520ae0fd
L
217292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21730
21731 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21732 (LP_OP): Likewise.
21733 (ASM_ADDR): Likewise.
21734 (RAX_LP): Likewise.
21735 (RBP_LP): Likewise.
21736 (RBX_LP): Likewise.
21737 (RCX_LP): Likewise.
21738 (RDI_LP): Likewise.
21739 (RSI_LP): Likewise.
21740 (RSP_LP): Likewise.
21741 (R8_LP): Likewise.
21742 (R9_LP): Likewise.
21743 (R10_LP): Likewise.
21744 (R10_LP): Likewise.
21745 (R11_LP): Likewise.
21746 (R12_LP): Likewise.
21747 (R13_LP): Likewise.
21748 (R14_LP): Likewise.
21749 (R15_LP): Likewise.
21750
b985be81
L
217512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21752
21753 * sysdeps/x86_64/x32/dl-machine.h: New file.
21754
6a4888ff
AJ
217552012-05-14 Andreas Jaeger <aj@suse.de>
21756
21757 * manual/Makefile (subdir): Remove export of subdir.
21758 (all): Remove target.
21759 (.PHONY): Remove all from list.
21760 (mkinstalldirs): Remove.
21761 (.PHONY): Remove installdirs from list.
21762 ($(inst_infodir)/libc.info): Use make-target-directory.
21763 (installdirs): Remove.
21764 (subdir_%): Remove.
21765 (glibc-targets): Remove.
21766 (lib): Remove.
21767 (stubs): Remove.
21768 ($(objpfx)stubs ../po/manual.pot): Remove.
21769 ($(objpfx)stamp%): Remove.
21770 (make-target-directory): Remove.
21771 (subdir_install): Remove.
21772 (routines): Remove.
21773 (aux): Remove.
21774 (sources): Remove.
21775 (objects): Remove.
21776 (headers): Remove.
21777
21778 [BZ #13750]
21779 * manual/.gitignore: Remove, it's not needed anymore.
21780 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21781 all files in it.
21782 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21783 directory.
21784 (texis): Renamed to $(objpfx)texis.
21785 (texis-path): New, contains path to generated files.
21786 (chapters.%): Use texis-path for complete path, add extra argument
21787 libc-texinfo.sh.
21788 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21789 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21790 (summary,texi, stamp-summary): Use complete path of
21791 files. Generate files in build dir.
21792 (dir-add.texi): Build in build dir.
21793 (libm-err.texi,stamp-libm-err): Likewise.
21794 (version.texi, stamp-version): Likewise.
21795 (.%c.texi): Likewise.
21796 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21797 (mostlyclean): Remove target.
21798 (realclean): Remove target.
21799 (generated): Add new variable with contents from mostlyclean and
21800 realclean, remove entries duplicated in common-mostlyclean, add
21801 stamp-libm-err and stamp-version.
21802 (generated-dirs): Add libc directory.
21803 ($(inst_infodir)/libc.info): Install files from build dir.
21804
21805 * manual/install.texi (Configuring and compiling): Adjust since
21806 the info files are not part of the tar ball anymore.
21807
7ac77294
AJ
218082012-05-14 Andreas Jaeger <aj@suse.de>
21809
21810 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21811 variable.
21812
ffb7875d
JM
218132012-05-14 Joseph Myers <joseph@codesourcery.com>
21814
21815 [BZ #13717]
21816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21817 to 2.2.0 where earlier.
21818 * sysdeps/unix/sysv/linux/configure: Regenerated.
21819 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21820 Remove conditional code.
21821 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21822 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21823 Remove conditional code.
21824 [!__NR_lchown]: Likewise.
21825 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21826 [__NR_lchown]: Likewise.
21827 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21828 comment referencing __ASSUME_LCHOWN_SYSCALL.
21829 * sysdeps/unix/sysv/linux/i386/sigaction.c
21830 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21831 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21832 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21833 Remove conditional code.
21834 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21835 (__protocol_available): Remove #if 0 code.
21836 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21837 conditional code.
21838 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21839 * sysdeps/unix/sysv/linux/kernel-features.h
21840 (__ASSUME_GETCWD_SYSCALL): Don't define.
21841 (__ASSUME_REALTIME_SIGNALS): Likewise.
21842 (__ASSUME_PREAD_SYSCALL): Likewise.
21843 (__ASSUME_PWRITE_SYSCALL): Likewise.
21844 (__ASSUME_POLL_SYSCALL): Likewise.
21845 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21846 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21847 non-SPARC.
21848 (__ASSUME_SIOCGIFNAME): Don't define.
21849 (__ASSUME_MSG_NOSIGNAL): Likewise.
21850 (__ASSUME_SENDFILE): Define unconditionally.
21851 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21852 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21853 conditional code.
21854 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21855 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21856 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21857 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21858 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21859 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21860 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21862 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21863 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21865 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21868 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21871 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21874 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21885 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21886 Remove conditional code.
21887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21888 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21889 Remove conditional code.
21890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21891 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21892 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21893 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21894 Remove conditional code.
21895 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21896 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21897 Remove conditional code.
21898 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21899 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21900 Remove conditional code.
21901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21902 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21903 Remove conditional code.
21904 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21905 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21906 Remove conditional code.
21907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21908 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21909 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21911 * sysdeps/unix/sysv/linux/sigaction.c
21912 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21913 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21914 * sysdeps/unix/sysv/linux/sigpending.c
21915 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21916 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21917 * sysdeps/unix/sysv/linux/sigprocmask.c
21918 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21919 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21920 * sysdeps/unix/sysv/linux/sigsuspend.c
21921 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21922 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21923 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21924 (__libc_missing_rt_sigs): Remove.
21925 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21926 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21927 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21928 Remove conditional code.
21929 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21930 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21931 return 1.
21932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21933 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21934 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21935 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21936
1bfb7291
AJ
219372012-05-14 Andreas Jaeger <aj@suse.de>
21938
caae5a81
AJ
21939 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21940 it's not used in glibc.
21941 (__coshm1): Likewise.
21942 (__acosh1p): Likewise.
21943 (__sgn): Likewise.
21944
1bfb7291
AJ
21945 * manual/string.texi (Copying and Concatenation): Add missing
21946 variable in concat example.
21947 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21948
c044d724
L
219492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21950
144c5467 21951 [BZ #14103]
c044d724
L
21952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21953 __builtin_clzl with __builtin_clzll.
21954
2523c62b
L
219552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21956
21957 [BZ #14104]
21958 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21959 libc_freeres_ptr.
21960
d7bb4c42
LD
219612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21962
21963 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21964 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21965 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21966 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21967
9dc4e1fb
MF
219682012-05-14 Mike Frysinger <vapier@gentoo.org>
21969
21970 * NEWS: Update ia64 info.
21971
c7df0112
AS
219722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21973
21974 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21975 used as bcopy.
21976
dc70356c
TS
219772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21978
21979 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21980 * sysdeps/unix/syscalls.list (dup3): Likewise.
21981 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21982 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21983
9fb1a21f
L
219842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21985
21986 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21987 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21988
4822a2a5
L
219892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21990
21991 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21992 thread pointer.
21993 (TLS_IE): Use mov/add instead of movq/addq to load thread
21994 pointer.
21995 (TLS_GD_PREFIX): New.
21996 (TLS_GD): Use it.
21997
842b81d6
DM
219982012-05-11 David S. Miller <davem@davemloft.net>
21999
22000 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22001 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22002 (_FPU_SETCW): Likewise.
22003
1cf463cd
L
220042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22005
22006 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22007 is 32-byte aligned.
22008
60cc4a18
AS
220092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22010
22011 [BZ #11837]
22012 * iconvdata/gb18030.c: Update tables.
22013 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22014 characters specially.
22015 (BODY for TO_LOOP): Add encoding of missing ranges.
22016
febb44a4
TS
220172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22018
22019 [BZ #13673]
22020 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22021 * sysdeps/mach/hurd/dup3.c: Likewise.
22022 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22023 * sysdeps/powerpc/memmove.c:: Likewise.
22024
0a10fb9e
L
220252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22026
22027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22028 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22029
df8a552f
L
220302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 * elf/elf.h (R_X86_64_RELATIVE64): New.
22033 (R_X86_64_NUM): Updated.
22034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22035 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22036 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22037 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22038 tst-quad1pie tst-quad2pie
22039 (modules-names): Add tst-quadmod1 tst-quadmod2.
22040 ($(objpfx)tst-quad1): New dependency.
22041 ($(objpfx)tst-quad2): Likewise.
22042 ($(objpfx)tst-quad1pie): Likewise.
22043 ($(objpfx)tst-quad2pie): Likewise.
22044 * sysdeps/x86_64/tst-quad1.c: New file.
22045 * sysdeps/x86_64/tst-quad1pie.c: New file.
22046 * sysdeps/x86_64/tst-quad2.c: Likewise.
22047 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22048 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22049 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22050 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22051 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22052
f34d6f84
ST
220532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22054
f42d41d1
ST
22055 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22056 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22057 * streams/stropts.h (t_scalar_t): Define type.
22058
3c3571fc
ST
22059 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22060 (_PATH_PRESERVE): Set to "/var/lib".
22061 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22062
61f06bd3
ST
22063 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22064 instead of int.
22065
918d4d71
ST
22066 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22067 if __dir_mkfile succeeded.
22068
f34d6f84
ST
22069 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22070 checking for _hurd_dtablesize. Unlock it right after having
22071 finished _hurd_dtable allocation.
22072
10589b4a
TS
220732012-05-10 Thomas Schwinge <thomas@schwinge.name>
22074
674cdbc7
TS
22075 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22076 * sysdeps/mach/hurd/configure: Regenerated.
22077 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22078 special-casing to...
22079 * sysdeps/gnu/configure.in: ... this new file.
22080 * sysdeps/unix/sysv/linux/configure: Regenerated.
22081 * sysdeps/gnu/configure: New generated file.
22082
8e41b99f
TS
22083 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22084 for Linux: use nsec instead of usec, as well as:
22085 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22086 members of type struct timespec.
22087 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22088 New macros.
22089 (struct stat64): Likewise.
22090 (_STATBUF_ST_NSEC): New macro.
22091 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22092
10589b4a
TS
22093 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22094 __strtoul_internal rather than strtoul.
22095
63643c85
PT
220962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22097
22098 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22099 and reject them.
22100
3faebe6a
ST
221012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22102
22103 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22104 which preserves existing values.
22105 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22106
c6474b07
PT
221072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22108
22109 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22110 TIMEOUT values. Return EINVAL for NFDS values either negative or
22111 greater than FD_SETSIZE.
22112
1043890b
ST
221132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22114
22115 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22116 allocated, call __vm_protect to finish enabling the existing space, and
22117 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22118 allocate the remainder.
22119
37ed8b9b
PT
221202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22121
22122 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22123 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22124
db653660
ST
221252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22126
37ed8b9b
PT
22127 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22128 sysdeps/mach/hurd/readlink.c.
b29d4053 22129
db653660
ST
22130 * posix/tst-sysconf.c (posix_options): Only use
22131 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22132 _POSIX_SYNCHRONIZED_IO when they are defined
22133 * sysdeps/mach/hurd/bits/posix_opt.h:
22134 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22135 (_XOPEN_REALTIME): Undefine macro.
22136 (_XOPEN_REALTIME_THREADS): Undefine macro.
22137 (_XOPEN_SHM): Undefine macro.
22138 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22139 macro to -1.
22140 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22141 macro to -1.
22142 (_POSIX_ASYNC_IO): Undefine macro.
22143 (_POSIX_PRIORITIZED_IO): Undefine macro.
22144 (_POSIX_SPIN_LOCKS): Define macro to -1.
22145
ee16e894
ST
22146 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22147 SA_NODEFER, SA_RESETHAND.
22148 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22149 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22150 F_DUPFD_CLOEXEC.
22151
6103ae3b
TS
221522012-05-10 Thomas Schwinge <thomas@schwinge.name>
22153
22154 * elf/Makefile (pldd-modules): Define unconditionally.
22155
80b4e5f3
TS
221562012-05-10 Thomas Schwinge <thomas@schwinge.name>
22157
22158 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22159
edadcbd6
ST
221602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22161
22162 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22163 Return ENOENT when name is empty.
22164 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22165
80694780
TS
221662012-05-10 Thomas Schwinge <thomas@schwinge.name>
22167
1792c087
TS
22168 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22169
80694780
TS
22170 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22171
6b645f0d
ST
221722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22173
80694780
TS
22174 Fix mlock in all cases except non-readable pages.
22175 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22176 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22177
6b645f0d
ST
22178 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22179 (__mkdir): When path is `/', just fail with EEXIST.
22180 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22181
e468f8a3
TS
221822012-05-10 Thomas Schwinge <thomas@schwinge.name>
22183
22184 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22185 <sys/uio.h> (for writev).
22186 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22187 and <sys/param.h> (for MIN).
22188
a4186cff
PT
221892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22190
22191 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22192 REQUESTED_TIME. Properly set the remaining time and return EINTR
22193 if interrupted.
22194
510bbf14
TS
221952012-05-10 Thomas Schwinge <thomas@schwinge.name>
22196
22197 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22198 Depend on against $(link-rpcuserlibs).
22199
5d5722e8
ST
222002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22201
a4186cff
PT
22202 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22203 (__libc_stack_end): Do not use attribute_relro.
22204 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22205 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22206 to libthread-provided value.
a4186cff
PT
22207 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22208 attribute_relro.
5d5722e8 22209
37233df9
TS
222102012-05-10 Thomas Schwinge <thomas@schwinge.name>
22211
be971a2b
TS
22212 [BZ #3748]
22213 * bits/libc-lock.h (__libc_once_get): New macro.
22214 * sysdeps/mach/bits/libc-lock.h: Likewise.
22215 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22217 instead of using implementation details.
22218
37233df9
TS
22219 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22220 * libio/freopen.c: Likewise.
22221 * libio/freopen64.c: Likewise.
22222 * misc/syslog.c: Likewise.
22223 * nscd/connections.c: Likewise.
22224 * nscd/netgroupcache.c: Likewise.
22225 * sysdeps/posix/getcwd.c: Likewise.
22226
38de94a5
RM
222272012-05-10 Roland McGrath <roland@hack.frob.com>
22228
22229 * math/w_ilogbf.c: Add #include <limits.h>.
22230
67530489
ST
222312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22232
a4186cff 22233 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22234 path instead of returning without unlocking.
22235
67530489
ST
22236 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22237 immediate-write ioctls.
22238 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22239
5aa3a74a
TS
222402012-05-10 Thomas Schwinge <thomas@schwinge.name>
22241
18bad2ae
TS
22242 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22243 __builtin_frame_address instead of making assumptions about the
22244 location of the return address relative to DATA. Force early load of
22245 the return address.
22246 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22247 __builtin_frame_address.
22248
5aa3a74a
TS
22249 dup3 for GNU Hurd.
22250 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22251 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22252 implement dup3 and do some further code clean-ups.
22253 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22254 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22255
ecd0de9a
ST
222562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22257
cd9fa985
ST
22258 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22259
a4186cff
PT
22260 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22261 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22262 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22263 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22264 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22265 d->port.lock.
802ca5a5 22266
a4186cff
PT
22267 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22268 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22269 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22270
bcf55240
TS
222712012-05-10 Thomas Schwinge <thomas@schwinge.name>
22272
6960eb42
TS
22273 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22274 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22275 definitions.
22276
eb43375f
TS
22277 accept4 for GNU Hurd.
22278 * include/sys/socket.h (__libc_accept4): New prototype.
22279 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22280 to implement __libc_accept4.
22281 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22282 __libc_accept4.
22283 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22284
bcf55240
TS
22285 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22286 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22287 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22288 signal-defines.sym.
22289
6178c55b
ST
222902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22291
a4186cff 22292 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22293
6f080c2f
TS
222942012-05-10 Thomas Schwinge <thomas@schwinge.name>
22295
22296 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22297 assertion on O_CLOEXEC flag.
22298 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22299 * hurd/intern-fd.c: Likewise.
22300 * hurd/port2fd.c: Likewise.
22301
bcfe3a54
ST
223022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22303
22304 [BZ #3906]
22305 * bits/in.h (IPV6_PKTINFO): Define new macro.
22306 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22307
89c9aa49
AZ
223082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22309
22310 [BZ #13954]
22311 [BZ #13955]
22312 [BZ #13956]
22313 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22315 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22316 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22317 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22318 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22319 * math/libm-test.inc (logb_test) : Additional logb tests.
22320
021db4be
AJ
223212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22322 Andreas Jaeger <aj@suse.de>
22323
22324 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22325 * configure: Regenerated.
22326 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22327 * config.make.in (link-obsolete-rpc): New substituted variable.
22328 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22329 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22330 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22331 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22332 so that libc.a contains the symbols.
22333 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22334 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22335 * sunrpc/auth_none.c: Likewise.
22336 * sunrpc/auth_unix.c: Likewise.
22337 * sunrpc/authdes_prot.c: Likewise.
22338 * sunrpc/authuxprot.c: Likewise.
22339 * sunrpc/clnt_gen.c: Likewise.
22340 * sunrpc/clnt_perr.c: Likewise.
22341 * sunrpc/clnt_raw.c: Likewise.
22342 * sunrpc/clnt_simp.c: Likewise.
22343 * sunrpc/clnt_tcp.c: Likewise.
22344 * sunrpc/clnt_udp.c: Likewise.
22345 * sunrpc/clnt_unix.c: Likewise.
22346 * sunrpc/des_crypt.c: Likewise.
22347 * sunrpc/des_soft.c: Likewise.
22348 * sunrpc/get_myaddr.c: Likewise.
22349 * sunrpc/key_call.c: Likewise.
22350 * sunrpc/key_prot.c: Likewise.
22351 * sunrpc/netname.c: Likewise.
22352 * sunrpc/pm_getmaps.c: Likewise.
22353 * sunrpc/pm_getport.c: Likewise.
22354 * sunrpc/pmap_clnt.c: Likewise.
22355 * sunrpc/pmap_prot.c: Likewise.
22356 * sunrpc/pmap_prot2.c: Likewise.
22357 * sunrpc/pmap_rmt.c: Likewise.
22358 * sunrpc/publickey.c: Likewise.
22359 * sunrpc/rpc_cmsg.c: Likewise.
22360 * sunrpc/rpc_common.c: Likewise.
22361 * sunrpc/rpc_dtable.c: Likewise.
22362 * sunrpc/rpc_prot.c: Likewise.
22363 * sunrpc/rpc_thread.c: Likewise.
22364 * sunrpc/rtime.c: Likewise.
22365 * sunrpc/svc.c: Likewise.
22366 * sunrpc/svc_auth.c: Likewise.
22367 * sunrpc/svc_raw.c: Likewise.
22368 * sunrpc/svc_run.c: Likewise.
22369 * sunrpc/svc_tcp.c: Likewise.
22370 * sunrpc/svc_udp.c: Likewise.
22371 * sunrpc/svc_unix.c: Likewise.
22372 * sunrpc/svcauth_des.c: Likewise.
22373 * sunrpc/xcrypt.c: Likewise.
22374 * sunrpc/xdr.c: Likewise.
22375 * sunrpc/xdr_array.c: Likewise.
22376 * sunrpc/xdr_float.c: Likewise.
22377 * sunrpc/xdr_intXX_t.c: Likewise.
22378 * sunrpc/xdr_mem.c: Likewise.
22379 * sunrpc/xdr_rec.c: Likewise.
22380 * sunrpc/xdr_ref.c: Likewise.
22381 * sunrpc/xdr_sizeof.c: Likewise.
22382 * sunrpc/xdr_stdio.c: Likewise.
22383
b5c086a2
RM
223842012-05-10 Roland McGrath <roland@hack.frob.com>
22385
22386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22387 change. Update copyright years.
22388
6d74dd09
JM
223892012-05-10 Joseph Myers <joseph@codesourcery.com>
22390
22391 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22392
28e72501
MK
223932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22394 Joseph Myers <joseph@codesourcery.com>
22395 Paul Pluzhnikov <ppluzhnikov@google.com>
22396
22397 [BZ #14012]
22398 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22399 requiring rpcgen.
22400 [cross-compiling] (extra-libs): Likewise.
22401 [cross-compiling] (extra-libs-others): Likewise.
22402 [cross-compiling] (librpcsvc-routines): Likewise.
22403 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22404 [cross-compiling] (omit-deps): Likewise.
22405 (sunrpc-CPPFLAGS): New variable.
22406 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22407 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22408 (cross-rpcgen-objs): New variable.
22409 (extra-objs): Append $(cross-rpcgen-objs).
22410 ($(cross-rpcgen-objs)): New rule.
22411 ($(objpfx)cross-rpcgen): Likewise.
22412 (rpcgen-cmd): Define to use $(built-program-file). Expand
22413 comment.
22414 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22415 ($(objpfx)x%.stmp): Likewise.
22416 * sunrpc/proto.h [IS_IN_build] (_): Define.
22417 [IS_IN_build] (_libc_intl_domainname): Likewise.
22418
c8c59454
L
224192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22422 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22423 and R_X86_64_TPOFF64.
22424
6f27cd16
JM
224252012-05-10 Joseph Myers <joseph@codesourcery.com>
22426
22427 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22428 sysdeps/unix/sysv/syscalls.list.
22429 (stime): Likewise.
22430 (utime): Likewise.
22431 * sysdeps/unix/sysv/syscalls.list: Remove file.
22432
02467e1c
PE
224332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22434
22435 [BZ #3440]
22436 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22437 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22438 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22439 (__LC_IDENTIFICATION): Make these macros useful in #if
22440 expressions, as required by C99.
22441
da392631
AS
224422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22443
22444 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22445 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22446 after this.
22447
8115f29b
L
224482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22449
22450 * stdlib/longlong.h: Updated from GCC.
22451
bdd74070
AJ
224522012-05-09 Andreas Jaeger <aj@suse.de>
22453
edfe0dbe
AJ
22454 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22455 default is first entry.
22456 (run_mode): Set type.
22457 (main): Remove informal message about syslog.
22458 (options): Fix typo.
22459
bcfe3a54
ST
22460 [BZ #14053]
22461 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22462 to asm.
bcfe3a54
ST
22463 (lrint): Likewise.
22464 (llrintf): Likewise.
22465 (llrint): Likewise.
22466 (rint): Likewise.
22467 (rintf): Likewise.
22468 (nearbyint): Likewise.
22469 (nearbyintf): Likewise.
bdd74070 22470
91d8d69e
AJ
224712012-05-09 Andreas Jaeger <aj@suse.de>
22472 Pedro Alves <palves@redhat.com>
22473
22474 * nscd/nscd.c (run_mode): Use enum.
22475 (main): Cleanup coding style issue.
22476
bb90b80b
AJ
224772012-05-09 Alexandre Oliva <aoliva@redhat.com>
22478 Andreas Jaeger <aj@suse.de>
22479
bcfe3a54
ST
22480 * nscd/nscd.c (go_background): Replaced with...
22481 (run_mode): ... this.
bb90b80b 22482 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22483 (options): Add -F --foreground.
22484 (main): Implement it.
22485 (parse_opt): Parse it.
bb90b80b 22486
1a4b75a1
AJ
224872012-05-09 Andreas Jaeger <aj@suse.de>
22488
22489 [BZ #14083]
22490 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22491 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22492 -Wconversion warning.
22493 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22494 Likewise.
22495
b1cc2472
JM
224962012-05-09 Joseph Myers <joseph@codesourcery.com>
22497
22498 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22499 == 0.
22500 (LC_ALL): Use macro-int-constant.
22501 (LC_COLLATE): Likewise.
22502 (LC_CTYPE): Likewise.
22503 (LC_MESSAGES): Likewise.
22504 (LC_MONETARY): Likewise.
22505 (LC_NUMERIC): Likewise.
22506 (LC_TIME): Likewise.
22507 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22508 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22510 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22511 Specify type.
22512 [C99-based standards] (float_t): Expect type.
22513 [C99-based standards] (double_t): Expect type.
22514 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22515 type.
22516 [C99-based standards] (HUGE_VALL): Likewise.
22517 [C99-based standards] (INFINITY): Likewise.
22518 [C99-based standards] (NAN): Likewise.
22519 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22520 [C99-based standards] (FP_NAN): Likewise.
22521 [C99-based standards] (FP_NORMAL): Likewise.
22522 [C99-based standards] (FP_SUBNORMAL): Likewise.
22523 [C99-based standards] (FP_ZERO): Likewise.
22524 [C99-based standards] (FP_FAST_FMA): Use
22525 optional-macro-int-constant. Specify type. Require == 1.
22526 [C99-based standards] (FP_FAST_FMAF): Likewise.
22527 [C99-based standards] (FP_FAST_FMAL): Likewise.
22528 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22529 [C99-based standards] (FP_ILOGBNAN): Likewise.
22530 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22531 Specify type.
22532 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22533 [C99-based standards] (math_errhandling): Specify type.
22534 [ISO99 || ISO11] (signgam): Do not allow.
22535 [non-C99-based standards] (copysignf): Do not allow.
22536 [non-C99-based standards] (exp2f): Likewise.
22537 [non-C99-based standards] (log2f): Likewise.
22538 [non-C99-based standards] (modff): Allow.
22539 [non-C99-based standards] (erff): Do not allow.
22540 [non-C99-based standards] (erfcf): Likewise.
22541 [non-C99-based standards] (gammaf): Likewise.
22542 [non-C99-based standards] (hypotf): Likewise.
22543 [non-C99-based standards] (j0f): Likewise.
22544 [non-C99-based standards] (j1f): Likewise.
22545 [non-C99-based standards] (jnf): Likewise.
22546 [non-C99-based standards] (lgammaf): Likewise.
22547 [non-C99-based standards] (tgammaf): Likewise.
22548 [non-C99-based standards] (y0f): Likewise.
22549 [non-C99-based standards] (y1f): Likewise.
22550 [non-C99-based standards] (ynf): Likewise.
22551 [non-C99-based standards] (isnanf): Likewise.
22552 [non-C99-based standards] (acoshf): Likewise.
22553 [non-C99-based standards] (asinhf): Likewise.
22554 [non-C99-based standards] (atanhf): Likewise.
22555 [non-C99-based standards] (cbrtf): Likewise.
22556 [non-C99-based standards] (expm1f): Likewise.
22557 [non-C99-based standards] (ilogbf): Likewise.
22558 [non-C99-based standards] (log1pf): Likewise.
22559 [non-C99-based standards] (logbf): Likewise.
22560 [non-C99-based standards] (nextafterf): Likewise.
22561 [non-C99-based standards] (remainderf): Likewise.
22562 [non-C99-based standards] (rintf): Likewise.
22563 [non-C99-based standards] (scalbf): Likewise.
22564 [non-C99-based standards] (copysignl): Likewise.
22565 [non-C99-based standards] (exp2l): Likewise.
22566 [non-C99-based standards] (log2l): Likewise.
22567 [non-C99-based standards] (modfl): Allow.
22568 [non-C99-based standards] (erfl): Do not allow.
22569 [non-C99-based standards] (erfcl): Likewise.
22570 [non-C99-based standards] (gammal): Likewise.
22571 [non-C99-based standards] (hypotl): Likewise.
22572 [non-C99-based standards] (j0l): Likewise.
22573 [non-C99-based standards] (j1l): Likewise.
22574 [non-C99-based standards] (jnl): Likewise.
22575 [non-C99-based standards] (lgammal): Likewise.
22576 [non-C99-based standards] (tgammal): Likewise.
22577 [non-C99-based standards] (y0l): Likewise.
22578 [non-C99-based standards] (y1l): Likewise.
22579 [non-C99-based standards] (ynl): Likewise.
22580 [non-C99-based standards] (isnanl): Likewise.
22581 [non-C99-based standards] (acoshl): Likewise.
22582 [non-C99-based standards] (asinhl): Likewise.
22583 [non-C99-based standards] (atanhl): Likewise.
22584 [non-C99-based standards] (cbrtl): Likewise.
22585 [non-C99-based standards] (expm1l): Likewise.
22586 [non-C99-based standards] (ilogbl): Likewise.
22587 [non-C99-based standards] (log1pl): Likewise.
22588 [non-C99-based standards] (logbl): Likewise.
22589 [non-C99-based standards] (nextafterl): Likewise.
22590 [non-C99-based standards] (remainderl): Likewise.
22591 [non-C99-based standards] (rintl): Likewise.
22592 [non-C99-based standards] (scalbl): Likewise.
22593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22594 [non-C99-based standards] (FP_*): Do not allow.
22595 [C99-based standards] (FP_*): Change to
22596 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22597 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22598 allow.
22599 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22600 (SIG_ERR): Likewise.
22601 [X/Open-based standards] (SIG_HOLD): Likewise.
22602 (SIG_IGN): Likewise.
22603 (SIGABRT): Use macro-int-constant. Specify type. Require
22604 positive value.
22605 (SIGFPE): Likewise.
22606 (SIGILL): Likewise.
22607 (SIGINT): Likewise.
22608 (SIGSEGV): Likewise.
22609 (SIGTER): Likewise.
22610 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22611 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22612 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22613 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22614 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22615 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22616 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22617 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22618 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22620 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22621 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22622 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22623 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22624 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22625 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22626 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22627 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22628 [X/Open-based standards] (SIGTRAP): Likewise.
22629 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22630 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22631 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22632 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22633 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22634 allow.
22635
b9f1922d
IW
226362012-05-08 Ian Wienand <ianw@vmware.com>
22637
22638 [BZ #14080]
22639 * time/tzset.c (__tzset_parse_tz): Update default rules for
22640 daylight time changes in the Energy Policy Act of 2005.
22641
1db86e88
AJ
226422012-05-09 Andreas Jaeger <aj@suse.de>
22643
22644 [BZ #13983]
22645 * elf/ldconfig.c (parse_conf): Change string to make clear that
22646 ldconfig only issued a warning if ld.so.conf does not exist.
22647
dee4a4e3
DM
226482012-05-08 David S. Miller <davem@davemloft.net>
22649
ee0db190
DM
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22651 movxtod instead of popping the value on the stack.
22652
dee4a4e3
DM
22653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22654
6a43ec98
CD
226552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22656
22657 * config.h.in: Add HAVE_ARM_PCS_VFP.
22658
05c2c961
RMG
226592012-05-08 Roland Mc Grath <roland@hack.frob.com>
22660
bcfe3a54
ST
22661 [BZ #13979]
22662 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22663 checking but the checks are disabled for any reason.
05c2c961 22664
4b30f61a
L
226652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22666
22667 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22668 and ELF64_R_TYPE with ELFW(R_TYPE).
22669
eee2bc67
JM
226702012-05-08 Joseph Myers <joseph@codesourcery.com>
22671
7ea5391a
JM
22672 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22673 (ulimit): Likewise.
22674
eee2bc67
JM
22675 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22676 (settimeofday): Likewise.
22677
abb66a67
MF
226782012-05-08 Mike Frysinger <vapier@gentoo.org>
22679
22680 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22681 a struct th_u2 inside the union, and move tu_block/tu_code into
22682 a new th_u3 union of tu_block/tu_code inside of that. Move
22683 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22684 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22685 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22686 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22687 (th_stuff): Change to th_u1.tu_stuff.
22688 (th_data): Define.
22689 (th_msg): Change to th_u1.th_u2.tu_data.
22690
7f18b530
DM
226912012-05-07 David S. Miller <davem@davemloft.net>
22692
05760585
DM
22693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22694
7f18b530
DM
22695 [BZ #14074]
22696 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22697 (SETUP_PIC_REG): Use it.
22698 (SETUP_PIC_REG_LEAF): Use it.
22699
495fd99f
JM
227002012-05-07 Joseph Myers <joseph@codesourcery.com>
22701
22702 [BZ #13885]
22703 [BZ #13923]
22704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22705 USE_AS_EXPM1L.
22706 (EXPL_FINITE): Likewise.
22707 (FLDLOG): Likewise.
22708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22709 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22710 e_expl.S.
22711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22712 USE_AS_EXPM1L.
22713 (EXPL_FINITE): Likewise.
22714 (FLDLOG): Likewise.
22715 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22716 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22717 e_expl.S.
22718 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22719 test of -max_value argument for long double.
22720 * sysdeps/i386/fpu/libm-test-ulps: Update.
22721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22722
6693d694
DM
227232012-05-06 David S. Miller <davem@davemloft.net>
22724
22725 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22726 quad soft-float symbols whose references which are compiler
22727 generated.
22728 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22729
6c23e11c
JM
227302012-05-06 Joseph Myers <joseph@codesourcery.com>
22731
d8b82cad
JM
22732 [BZ #13884]
22733 [BZ #13914]
22734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22735 USE_AS_EXP10L.
22736 (EXPL_FINITE): Likewise.
22737 (FLDLOG): Likewise.
22738 (c0): Likewise.
22739 (c1): Likewise.
22740 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22741 Adjust comments for base varying.
22742 (__expl_finite): Change alias to EXPL_FINITE.
22743 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22744 e_expl.S.
22745 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22746 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22748 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22749 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22750 USE_AS_EXP10L.
22751 (EXPL_FINITE): Likewise.
22752 (FLDLOG): Likewise.
22753 (c0): Likewise.
22754 (c1): Likewise.
22755 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22756 Adjust comments for base varying.
22757 (__expl_finite): Change alias to EXPL_FINITE.
22758 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22759 tests for bugs.
22760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22761
6c23e11c
JM
22762 [BZ #14064]
22763 * math/libm-test.inc (check_float_internal): Correct ulp
22764 calculation for subnormal expected results.
22765
29ba805c
AJ
227662012-05-06 Andreas Jaeger <aj@suse.de>
22767
22768 * Makeconfig (+math-flags): New, set to -frounding-math.
22769 (+cflags): Add +math-flags so that all of glibc gets compiled with
22770 it.
22771
22772 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22773
7b17aeda
JM
227742012-05-05 Joseph Myers <joseph@codesourcery.com>
22775
5779f134
JM
22776 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22777 Disable one test.
22778
41498f4d
JM
22779 [BZ #13787]
22780 [BZ #13922]
22781 [BZ #14036]
22782 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22783 (__ieee754_expl): Allow for and saturate large arguments.
22784 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22785 (u_threshold): Likewise.
22786 (__exp): Call __ieee754_exp before checking for overflow and
22787 underflow.
22788 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22789 (u_threshold): Likewise.
22790 (__expf): Call __ieee754_expf before checking for overflow and
22791 underflow.
22792 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22793 (u_threshold): Likewise.
22794 (__expl): Call __ieee754_expl before checking for overflow and
22795 underflow.
22796 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22797 (__ieee754_expl): Allow for and saturate large arguments.
22798 * math/libm-test.inc (exp_test): Add another test. Do not allow
22799 missing overflow exception on overflow.
22800 (expm1_test): Do not allow missing overflow exception on overflow.
22801
6698b8bf
JM
22802 * sysdeps/i386/fpu/e_expl.c: Move to ...
22803 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22804 rather than using inline asm.
22805 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22806 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22807 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22808
7b17aeda
JM
22809 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22810 (nice): Likewise.
22811 (poll): Likewise.
22812 (signal): Likewise.
22813 (time): Likewise.
22814 (times): Likewise.
22815
f7c85819
JM
228162012-05-04 Joseph Myers <joseph@codesourcery.com>
22817
22818 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22819 sysdeps/unix/common/syscalls.list.
22820 (fchmod): Likewise.
22821 (fchown): Likewise.
22822 (ftruncate): Likewise.
22823 (getrusage): Likewise.
22824 (gettimeofday): Likewise.
22825 (setpgid): Likewise.
22826 (setregid): Likewise.
22827 (setreuid): Likewise.
22828 (sigaction): Likewise.
22829 (truncate): Likewise.
22830 (vhangup): Likewise.
22831 * sysdeps/unix/common/syscalls.list: Remove file.
22832 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22833 * sysdeps/unix/sysv/linux/Implies: Likewise.
22834
336270d0
L
228352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22836
22837 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22839 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22840 Moved to ...
22841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22842 Here.
22843 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22844 to ...
22845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22846 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22847 to ...
22848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22849 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22850 to ...
22851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22852 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22853 to ...
22854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22855 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22856 to ...
22857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22858 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22859 to ...
22860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22861 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22862 to ...
22863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22864 Here.
22865 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22866 to ...
22867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22868 Here.
22869 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22870 to ...
22871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22872 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22873 Moved to ...
22874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22875 Here.
22876 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22877 to ...
22878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22879
d128e450
JM
228802012-05-04 Joseph Myers <joseph@codesourcery.com>
22881
fa8ee516
JM
22882 * sysdeps/unix/common/bits/dirent.h: Remove file.
22883 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22884
d128e450
JM
22885 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22886 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22887 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22888 * sysdeps/unix/bsd/isatty.c: Likewise.
22889 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22890 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22891 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22892
ff8faaf0 228932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22894
62881be4 22895 [BZ #13563]
31dc8730
AZ
22896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22897 long double comparison inaccuracies.
22898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22900
6fef930c
AS
229012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22902
22903 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22905
8f203e6c
JM
229062012-05-04 Joseph Myers <joseph@codesourcery.com>
22907
22908 [BZ #14049]
22909 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22910 nonzero digits before rounding a hex value.
22911 * stdlib/tst-strtod.c (tests): Add another test.
22912
5197d9c2
AK
229132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22914
22915 * sysdeps/s390/fpu/libm-test-ulps: Update.
22916
f0c1dedf
AJ
229172012-05-03 Andreas Jaeger <aj@suse.de>
22918
22919 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22920 does not get optimized out.
22921 (malloc_opt_barrier): New.
22922
a65ef2ae 229232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22924 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22925
2b942cb7 22926 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22927 intermediate file deletion.
2b942cb7 22928 (generated): Add .symlist files.
a65ef2ae 22929
54b71e02
JM
229302012-05-03 Joseph Myers <joseph@codesourcery.com>
22931
22932 [BZ #13775]
22933 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22934 Redirect under this condition.
22935 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22936 [__USE_GNU] (__dprintf_chk): Not under this condition.
22937 [__USE_GNU] (__vdprintf_chk): Likewise.
22938 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22939 under this condition.
22940 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22941 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22942 [__USE_XOPEN2K8] (vdprintf): Likewise.
22943 [__USE_GNU] (__dprintf_chk): Not under this condition.
22944 [__USE_GNU] (__vdprintf_chk): Likewise.
22945 [__USE_GNU] (dprintf): Likewise.
22946 [__USE_GNU] (vdprintf): Likewise.
22947
d3dfcc41
RM
229482012-05-03 Roland McGrath <roland@hack.frob.com>
22949
22950 * elf/Makefile (common-generated): Set this instead of generated for
22951 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22952 $(all-built-dso)-derived lists.
22953
7ac30cc5
AJ
229542012-05-03 Andreas Jaeger <aj@suse.de>
22955
0c51e550
AJ
22956 * sysdeps/i386/fpu/libm-test-ulps: Update.
22957
7ac30cc5
AJ
22958 * FAQ: Removed.
22959 * FAQ.in: Likewise.
22960 * scripts/gen-FAQ.pl: Likewise.
22961 * manual/install.texi (Installation): Point to online location of
22962 FAQ.
22963 * Makefile (files-for-dist): Remove FAQ.
22964 (FAQ): Remove.
22965
d4c2917f
AM
229662012-05-02 Allan McRae <allan@archlinux.org>
22967
22968 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22969 (LDFLAGS-reldepmod5.so): Likewise.
22970 (LDFLAGS-reldep6mod1.so): Likewise.
22971 (LDFLAGS-reldep6mod4.so): Likewise.
22972 (LDFLAGS-reldep8mod3.so): Likewise.
22973 (LDFLAGS-unload4mod1.so): Likewise.
22974 (LDFLAGS-unload4mod2.so): Likewise.
22975 (LDFLAGS-tst-initorder): Likewise.
22976 (LDFLAGS-tst-initordera2.so): Likewise.
22977 (LDFLAGS-tst-initordera3.so): Likewise.
22978 (LDFLAGS-tst-initordera4.so): Likewise.
22979 (LDFLAGS-tst-initorderb2.so): Likewise.
22980 (LDFLAGS-noload): Likewise.
22981 (LDFLAGS-next): Likewise.
22982 (LDFLAGS-order2mod1.so): Likewise.
22983 (LDFLAGS-order2mod2.so): Likewise.
22984 (LDFLAGS-tst-initorder2): Likewise.
22985 (LDFLAGS-tst-initorder2a.so): Likewise.
22986 (LDFLAGS-tst-initorder2b.so): Likewise.
22987 (LDFLAGS-tst-initorder2c.so): Likewise.
22988 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22989
d77f993f
DM
229902012-05-02 David S. Miller <davem@davemloft.net>
22991
22992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22993
171a70b4
PP
229942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22995
22996 [BZ #14055]
22997 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22998
0be196ad
AJ
229992012-05-02 Andreas Jaeger <aj@suse.de>
23000
23001 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23002 since we manipulate rounding mode.
23003 (CPPFLAGS-test-idouble.c): Likewise.
23004 (CPPFLAGS-test-ifloat.c): Likewise.
23005 (CFLAGS-test-ldouble.c): Likewise.
23006 (CFLAGS-test-double.c): Likewise.
23007 (CFLAGS-test-float.c): Likewise.
23008 (CFLAGS-test-misc.c): Likewise.
23009 (CFLAGS-test-test-fenv.c): Likewise.
23010
4f9d04aa
AZ
230112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23012
2b942cb7
RM
23013 [BZ #2550]
23014 [BZ #2570]
23015 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23016 comparisons to determine direction to adjust input.
4f9d04aa 23017
82a79e7d
RM
230182012-05-01 Roland McGrath <roland@hack.frob.com>
23019
f5a01ca9
RM
23020 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23021 output to the target.
23022
90fe4186
RM
23023 * scripts/localplt.awk: New file.
23024 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23025 (check-localplt-CFLAGS): Variable removed.
23026 ($(all-built-dso:=.jmprel)): New static pattern rule.
23027 (generated): Add those targets.
23028 (localplt-built-dso): New variable.
23029 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23030
23031 * elf/check-localplt.c: File removed.
23032
82397ed6
RM
23033 * scripts/check-execstack.awk: New file.
23034 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23035 (check-execstack-CFLAGS): Variable removed.
23036 ($(objpfx)check-execstack.h): Target removed.
23037 ($(objpfx)execstack-default): New target.
23038 (generated): Add that instead of check-execstack.h.
23039 ($(all-built-dso:=.phdr)): New static pattern rule.
23040 (generated): Add those targets.
23041 * elf/check-execstack.c: File removed.
23042
82a79e7d
RM
23043 * scripts/check-textrel.awk: New file.
23044 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23045 (check-textrel-CFLAGS): Variable removed.
23046 (all-built-dso): Use := to define.o
23047 ($(all-built-dso:=.dyn)): New static pattern rule.
23048 (generated): Add those targets.
23049 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23050 * config.make.in (READELF): New substituted variable.
23051 * elf/check-textrel.c: File removed.
23052
62fde54f 230532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23054
615605c9
JM
23055 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23056 allow.
23057 * conform/data/ctype.h-data [C99-based standards] (isblank):
23058 Expect function.
23059 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23060 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23062 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23063 Specify type. Require positive value.
23064 (EILSEQ): Likewise.
23065 (ERANGE): Likewise.
23066 [ISO || POSIX] (EILSEQ): Do not expect.
23067 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23068 Specify type. Require positive value.
23069 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23070 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23071 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23072 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23073 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23074 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23075 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23076 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23077 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23078 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23079 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23080 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23081 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23082 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23083 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23084 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23085 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23086 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23087 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23088 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23089 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23090 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23091 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23092 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23093 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23094 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23095 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23096 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23097 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23098 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23099 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23100 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23101 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23102 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23103 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23104 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23105 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23106 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23107 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23108 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23109 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23110 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23111 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23112 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23113 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23114 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23115 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23116 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23117 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23118 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23119 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23120 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23121 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23122 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23123 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23124 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23125 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23126 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23127 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23128 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23129 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23130 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23131 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23132 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23133 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23134 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23135 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23136 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23137 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23138 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23139 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23140 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23141 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23142 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23143 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23144 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23145 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23146 Require >= 2.
23147 (FLT_ROUNDS): Expect as macro, not constant.
23148 (FLT_MANT_DIG): Use macro-int-constant.
23149 (DBL_MANT_DIG): Likewise.
23150 (LDBL_MANT_DIG): Likewise.
23151 (FLT_DIG): Likewise.
23152 (DBL_DIG): Likewise.
23153 (LDBL_DIG): Likewise.
23154 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23155 (DBL_MIN_EXP): Likewise.
23156 (LDBL_MIN_EXP): Likewise.
23157 (FLT_MAX_EXP): Use macro-int-constant.
23158 (DBL_MAX_EXP): Likewise.
23159 (LDBL_MAX_EXP): Likewise.
23160 (FLT_MAX_10_EXP): Likewise.
23161 (DBL_MAX_10_EXP): Likewise.
23162 (LDBL_MAX_10_EXP): Likewise.
23163 (FLT_MAX): Use macro-constant.
23164 (DBL_MAX): Likewise.
23165 (LDBL_MAX): Likewise.
23166 (FLT_EPSILON): Use macro-constant. Give upper bound.
23167 (DBL_EPSILON): Likewise.
23168 (LDBL_EPSILON): Likewise.
23169 (FLT_MIN): Likewise.
23170 (DBL_MIN): Likewise.
23171 (LDBL_MIN): Likewise.
23172 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23173 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23174 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23175 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23176 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23177 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23178 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23179 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23180 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23181 [ISO11] (FLT_TRUE_MIN): Likewise.
23182 [ISO11] (LDBL_TRUE_MIN): Likewise.
23183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23184 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23185 (SCHAR_MIN): Use macro-int-constant. Specify type.
23186 (SCHAR_MAX): Likewise.
23187 (UCHAR_MAX): Likewise.
23188 (CHAR_MIN): Likewise.
23189 (CHAR_MAX): Likewise.
23190 (MB_LEN_MAX): Use macro-int-constant.
23191 (SHRT_MIN): Use macro-int-constant. Specify type.
23192 (SHRT_MAX): Likewise.
23193 (USHRT_MAX): Likewise.
23194 (INT_MAX): Likewise.
23195 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23196 bound negative.
23197 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23198 bound with "U".
23199 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23200 bound with "L".
23201 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23202 bound negative. Suffix upper bound with "L".
23203 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23204 bound with "UL".
23205 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23206 Specify type.
23207 [C99-based standards] (LLONG_MAX): Likewise.
23208 [C99-based standards] (ULLONG_MAX): Likewise.
23209 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23210 == 0.
23211 [ISO11] (max_align_t): Require type.
23212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23213
c9140a62
JM
23214 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23215 from $CFLAGS, without defining away __attribute__ calls.
23216 (checknamespace): Use $CFLAGS_namespace.
23217
9af0bf29
JM
23218 * conform/conformtest.pl (@keywords): Only include C99 keywords
23219 for standards based on C99 or C11.
23220
343222a2
JM
23221 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23222 Disable tests.
23223 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23224 UNIX98]: Likewise.
23225
661f8cf0
JM
23226 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23227 usability of symbols in #if.
23228
ee74b9cb
JM
23229 * conform/conformtest.pl: If macro or constant types start
23230 "promoted:", expect the symbol to be of the following type
23231 promoted by the integer promotions.
62fde54f 23232
aafc49b3
JM
23233 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23234 in one place. Also handle "macro-constant".
23235
fefdf574
JM
23236 * conform/conformtest.pl: Only accept expected macro values with
23237 "==". Parse all "macro" lines in one place.
23238 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23239
f2d922fe
JM
23240 * conform/conformtest.pl: Handle braced types on "constant" lines
23241 instead of handling "typed-constant".
23242 * conform/data/signal.h-data: Use "constant" instead of
23243 "typed-constant".
23244
d22956c9
JM
23245 * conform/conformtest.pl: Handle "optional-" at start of lines in
23246 one place rather than duplicating several cases. Handle each
23247 format of "macro" line with initial "optional-".
23248
028e2e38
JM
23249 * conform/conformtest.pl: Only accept expected constant or
23250 optional-constant values with "==". Parse all "constant" lines in
23251 one place. Parse all "optional-constant" lines in one place.
23252 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23253 * conform/data/fmtmsg.h-data: Likewise.
23254 * conform/data/netinet/in.h-data: Likewise.
23255 * conform/data/tar.h-data: Likewise.
23256 * conform/data/limits.h-data: Use "==" form on "constant" and
23257 "optional-constant" lines.
23258
1b8f2850
JM
23259 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23260 Use -std=c99 for XOPEN2K.
23261 (@knownproblems): Remove.
23262 (newtoken): Don't check %isknown.
23263
a05a144b
JM
23264 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23265 Do not expect macro.
23266 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23278 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23279 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23296 [XPG3] (acosh): Likewise.
23297 [XPG3] (asinh): Likewise.
23298 [XPG3] (atanh): Likewise.
23299 [XPG3] (cbrt): Likewise.
23300 [XPG3] (expm1): Likewise.
23301 [XPG3] (ilogb): Likewise.
23302 [XPG3] (log1p): Likewise.
23303 [XPG3] (logb): Likewise.
23304 [XPG3] (nextafter): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23307 [XPG3] (remainder): Likewise.
23308 [XPG3] (rint): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23316 [UNIX98 || XOPEN2K] (scalb): Expect.
23317 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23318 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23322 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23327 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23328 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23329 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23330 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23331 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23332 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23333 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23334 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23335 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23336 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23337 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23338 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23339 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23340 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23341 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23342 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23343 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23344 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23345 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23346 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23347 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23348 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23349 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23350 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23351 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23352 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23353 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23354 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23355 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23356 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23357 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23358 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23359 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23360 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23361 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23362 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23363 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23364 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23365 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23366 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23367 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23368 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23369 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23370 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23371 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23372 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23373 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23374 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23375 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23376 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23377 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23378 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23379 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23380 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23381 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23382 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23383 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23384 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23385 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23386 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23387 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23388 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23389 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23390 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23391 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23392 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23393 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23394 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23395 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23396 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23397 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23398 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23399 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23400 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23401 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23402 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23403 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23404 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23405 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23406 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23407 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23408 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23409 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23410 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23411 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23412 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23413 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23414 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23415 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23416 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23417 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23418 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23419 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23420 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23421 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23422 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23423 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23424 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23425 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23426 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23427 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23428 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23429 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23430 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23431 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23432 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23433 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23434 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23435 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23436 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23437 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23438 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23439 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23440 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23441 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23442 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23443 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23444 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23445 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23446 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23447 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23448 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23449 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23450 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23451 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23452 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23453 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23454
73c5ebe3
JM
23455 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23456 _XOPEN_SOURCE_EXTENDED for XPG4.
23457
39c33b6c
JM
23458 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23459
62fde54f
JM
23460 * Makeconfig (localtime): Remove variable.
23461 (inst_localtime-file): Likewise.
23462
0741d64c
AS
234632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23464
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23466 Update.
23467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23468 Update.
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23470 Update.
23471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23472 Update.
23473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23474 Update.
23475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23476 Update.
23477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23478 Update.
23479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23480 Update.
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23482 Update.
23483
7cb029ee
JM
234842012-05-01 Joseph Myers <joseph@codesourcery.com>
23485
23486 [BZ #2550]
23487 [BZ #2570]
23488 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23489 comparisons to determine direction to adjust input.
23490 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23491 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23492 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23493 Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23495 Likewise.
23496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23497 Likewise.
23498 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23499 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23500 Likewise.
23501 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23502 Likewise.
23503 * math/libm-test.inc (nexttoward_test): Add more tests.
23504
412bd966
AS
235052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23506
23507 [BZ #14040]
23508 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23509 in version GLIBC_2.1, not GLIBC_2.0.
23510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23511 Likewise.
23512
9568c0c2
JM
235132012-04-30 Joseph Myers <joseph@codesourcery.com>
23514
adfbc8ac
JM
23515 [BZ #13942]
23516 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23517 (1 - x) * (1 + x).
23518 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23519 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23520 * math/libm-test.inc (acos_test): Add more tests.
23521 (asin_test): Likewise.
23522 * sysdeps/i386/fpu/libm-test-ulps: Update.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524
5ba3cc69
JM
23525 [BZ #14034]
23526 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23527 of square root.
23528 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23529 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23530 * math/libm-test.inc (acos_test_tonearest): New function.
23531 (acos_test_towardzero): Likewise.
23532 (acos_test_downward): Likewise.
23533 (acos_test_upward): Likewise.
23534 (asin_test_tonearest): Likewise.
23535 (asin_test_towardzero): Likewise.
23536 (asin_test_downward): Likewise.
23537 (asin_test_upward): Likewise.
23538 (main): Call the new functions.
23539 * sysdeps/i386/fpu/libm-test-ulps: Update.
23540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23541
9568c0c2
JM
23542 [BZ #13884]
23543 [BZ #13924]
23544 * math/e_exp10.c: Include <float.h>.
23545 (__ieee754_exp10): Handle underflow here rather than multiplying
23546 large negative argument by M_LN10.
23547 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23548 of __ieee754_expf.
23549 * math/e_exp10l.c: Include <float.h>.
23550 (__ieee754_exp10l): Handle underflow here rather than multiplying
23551 large negative argument by M_LN10l.
23552 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23553 spurious overflow exception on underflow.
23554
5ac3ea17
MP
235552012-04-29 Marek Polacek <polacek@redhat.com>
23556
23557 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23558 (__fortify_function): New macro.
23559 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23560 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23561 __extern_always_inline.
23562 * libio/bits/stdio2.h: Likewise.
23563 * libio/bits/stdio.h: Likewise.
23564 * string/string.h: Likewise.
23565 * string/bits/string3.h: Likewise.
23566 * include/stdio.h: Likewise.
23567 * stdlib/bits/stdlib.h: Likewise.
23568 * stdlib/stdlib.h: Likewise.
23569 * rt/bits/mqueue2.h: Likewise.
23570 * rt/mqueue.h: Likewise.
23571 * posix/bits/unistd.h: Likewise.
23572 * posix/unistd.h: Likewise.
23573 * io/bits/poll2.h: Likewise.
23574 * io/bits/fcntl2.h: Likewise.
23575 * io/fcntl.h: Likewise.
23576 * io/sys/poll.h: Likewise.
23577 * misc/bits/syslog.h: Likewise.
23578 * misc/bits/syslog-ldbl.h: Likewise.
23579 * misc/sys/syslog.h: Likewise.
23580 * socket/bits/socket2.h: Likewise.
23581 * socket/sys/socket.h: Likewise.
23582 * debug/tst-chk1.c: Likewise.
23583 * wcsmbs/bits/wchar2.h: Likewise.
23584 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23585 * wcsmbs/wchar.h: Likewise.
23586
ecf0ebfb
AJ
235872012-04-29 Andreas Jaeger <aj@suse.de>
23588
23589 * Makerules (tests): Remove enable-check-abi protection.
23590 (check-abi-warn): Remove.
23591 (check-abi-%): Remove check-abi-warn usage.
23592
23593 * configure.in: Remove check-abi configure option.
23594 * configure: Regenerated.
23595 * config.make.in (enable-check-abi): Remove.
23596
6d5c57fa
AS
235972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23598
24c5d07e 23599 [BZ #14033]
ded5180a
AS
23600 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23601 double functions to double *_finite functions.
23602
7e0d315d
AS
23603 [BZ #13941]
23604 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23605 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23606 LDBL_MIN_EXP.
23607 * stdio-common/Makefile (tests): Add tst-sprintf3.
23608 * stdio-common/tst-sprintf3.c: New file.
23609
6d5c57fa
AS
23610 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23611 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23612
0749ff8b
JM
236132012-04-28 Joseph Myers <joseph@codesourcery.com>
23614
23615 * conform/conformtest.pl: Remove duplicate typed-constant
23616 handling.
23617
8dbd5d7b
DM
236182012-04-28 David S. Miller <davem@davemloft.net>
23619
23620 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23621 (check-abi-%): Remove AWK script prerequisite and explicit
23622 abilist directory.
23623 (check-abi): Rewrite to just diff the symlist with the abilist.
23624 (config-tls, config-abi-config): Delete, no longer used.
23625 (update-abi-%): Remove AWK script and explicit abilist directory.
23626 (update-abi): Rewrite to simply compare and conditionally copy the
23627 symlist and the sysdep abilist file. Remove update-abi-config
23628 checks.
23629 * abilist/ld.abilist: Remove.
23630 * abilist/libBrokenLocale.abilist: Remove.
23631 * abilist/libanl.abilist: Remove.
23632 * abilist/libcrypt.abilist: Remove.
23633 * abilist/libdl.abilist: Remove.
23634 * abilist/librt.abilist: Remove.
23635 * abilist/libthread_db.abilist: Remove.
23636 * abilist/libutil.abilist: Remove.
23637 * scripts/extract-abilist.awk: Remove.
23638 * scripts/merge-abilist.awk: Remove.
23639 * sysdeps/generic/libcidn.abilist: New file.
23640 * sysdeps/generic/libnss_compat.abilist: New file.
23641 * sysdeps/generic/libnss_db.abilist: New file.
23642 * sysdeps/generic/libnss_dns.abilist: New file.
23643 * sysdeps/generic/libnss_files.abilist: New file.
23644 * sysdeps/generic/libnss_hesiod.abilist: New file.
23645 * sysdeps/generic/libnss_nis.abilist: New file.
23646 * sysdeps/generic/libnss_nisplus.abilist: New file.
23647 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23648 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23649 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23650 file.
23651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23652 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23653 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23654 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23655 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23656 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23657 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23658 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23659 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23660 file.
23661 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23662 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23663 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23664 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23665 file.
23666 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23667 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23668 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23669 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23670 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23671 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23672 file.
23673 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23674 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23675 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23676 file.
23677 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23679 New file.
23680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23681 New file.
23682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23683 New file.
23684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23685 New file.
23686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23687 New file.
23688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23689 New file.
23690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23691 New file.
23692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23693 New file.
23694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23695 New file.
23696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23697 New file.
23698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23699 New file.
23700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23701 New file.
23702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23703 New file.
23704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23705 file.
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23707 New file.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23709 New file.
23710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23711 file.
23712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23713 New file.
23714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23715 New file.
23716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23717 file.
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23719 New file.
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23721 New file.
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23723 New file.
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23725 New file.
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23727 New file.
23728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23729 New file.
23730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23732 file.
23733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23734 New file.
23735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23736 file.
23737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23738 file.
23739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23740 file.
23741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23742 file.
23743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23744 file.
23745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23746 New file.
23747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23748 file.
23749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23750 file.
23751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23752 New file.
23753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23754 file.
23755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23757 file.
23758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23759 New file.
23760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23761 file.
23762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23763 file.
23764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23765 file.
23766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23767 file.
23768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23769 file.
23770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23771 New file.
23772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23773 file.
23774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23775 file.
23776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23777 New file.
23778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23779 file.
23780 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23781 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23782 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23783 file.
23784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23785 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23786 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23787 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23788 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23789 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23790 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23792 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23793 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23796 file.
23797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23798 New file.
23799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23800 file.
23801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23802 file.
23803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23804 file.
23805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23806 file.
23807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23808 file.
23809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23810 New file.
23811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23812 New file.
23813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23814 file.
23815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23816 New file.
23817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23818 file.
23819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23821 file.
23822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23823 New file.
23824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23825 file.
23826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23827 file.
23828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23829 file.
23830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23831 file.
23832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23833 file.
23834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23835 New file.
23836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23837 New file.
23838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23839 file.
23840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23841 New file.
23842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23843 file.
23844
41d73a1b
JM
238452012-04-28 Joseph Myers <joseph@codesourcery.com>
23846
23847 * conform/conformtest.pl: Fix typo in handling typed-constant from
23848 allow-header.
23849
28aeeda4
JM
238502012-04-27 Joseph Myers <joseph@codesourcery.com>
23851
adae8f5e
JM
23852 * README: Cut down references to pre-2.6 Linux kernels and
23853 Linuxthreads. Update lists of configurations in libc and ports
23854 and sort alphabetically. Say "or newer" with Linux kernel version
23855 requirements.
23856
28aeeda4
JM
23857 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23858
a462cb63
RA
238592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23860
23861 [BZ #887]
23862 * math/libm-test.inc (logb_test_downward): New test to expose
23863 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23864 rounding mode.
23865
6ad3493e
JM
238662012-04-27 Joseph Myers <joseph@codesourcery.com>
23867
23868 [BZ #14027]
23869 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23870 to be done.
23871 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23872 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23873
2ce4f015
JM
238742012-04-26 Joseph Myers <joseph@codesourcery.com>
23875
5aeb141a
JM
23876 * sysdeps/unix/i386/brk.S: Remove file.
23877 * sysdeps/unix/i386/dl-brk.S: Likewise.
23878 * sysdeps/unix/i386/pipe.S: Likewise.
23879 * sysdeps/unix/i386/sigreturn.S: Likewise.
23880 * sysdeps/unix/i386/syscall.S: Likewise.
23881 * sysdeps/unix/i386/vfork.S: Likewise.
23882 * sysdeps/unix/i386/wait.S: Likewise.
23883
7143acae
JM
23884 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23885 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23886
2ce4f015
JM
23887 * configure.in (arm*-none*): Do not allow without
23888 --enable-hacker-mode.
23889 (netbsd*): Remove case setting base_os.
23890 (386bsd*): Likewise.
23891 (freebsd*): Likewise.
23892 (bsdi*): Likewise.
23893 (osf*): Likewise.
23894 (sunos*): Likewise.
23895 (ultrix*): Likewise.
23896 (newsos*): Likewise.
23897 (dynix*): Likewise.
23898 (*bsd*): Likewise.
23899 (sysv*): Likewise.
23900 (isc*): Likewise.
23901 (esix*): Likewise.
23902 (sco*): Likewise.
23903 (minix*): Likewise.
23904 (irix4*): Likewise.
23905 (irix6*): Likewise.
23906 (solaris[2-9]*): Likewise.
23907 (none): Likewise.
23908 * configure: Regenerated.
23909
0ac229c8
AZ
239102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23911
23912 [BZ #11521]
23913 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23914 overflow or cancellation in calculating denominator.
23915 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23917 down expression to avoid unexpected rounding in newer GCCs.
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23919
33f244f4
DM
239202012-04-26 David S. Miller <davem@davemloft.net>
23921
23922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23923 long-double compat symbols.
23924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23937
cfa1f3e8
DM
239382012-04-25 David S. Miller <davem@davemloft.net>
23939
23940 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23941 HWCAP_* values only after the memory barriers have been defined.
23942 (atomic_full_barrier): Define.
23943 (atomic_read_barrier): Define.
23944 (atomic_write_barrier): Define.
23945
6e236b92
SP
239462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23947
23948 * shlib-versions: Add libgcc_s version information.
23949 * sysdeps/generic/libgcc_s.h: Remove.
23950 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23951 libgcc_s.h.
23952 * sysdeps/gnu/unwind-resume.c: Likewise.
23953 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23954
aab39a09
DM
239552012-04-25 David S. Miller <davem@davemloft.net>
23956
23957 * sysdeps/unix/sparc/brk.S: Delete.
23958 * sysdeps/unix/sparc/dl-brk.S: Delete.
23959 * sysdeps/unix/sparc/pipe.S: Delete.
23960 * sysdeps/unix/sparc/sysdep.S: Delete.
23961 * sysdeps/unix/sparc/sysdep.h: Delete.
23962 * sysdeps/unix/sparc/vfork.S: Delete.
23963 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23964 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23965 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23966 ret_ERRVAL, r0, r1, MOVE): Define.
23967 (JUMPTARGET): Remove.
23968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23969 sysdeps/unix/sparc/sysdep.h
23970 (ENTRY, END): Remove.
23971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23972
a3cc4f48
JM
239732012-04-25 Joseph Myers <joseph@codesourcery.com>
23974
2ed8cda2
JM
23975 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23976 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23977 -DIS_IN_build.
23978
35d76d59
JM
23979 * timezone/README: Update upstream location and email address for
23980 tzcode and tzdata.
23981 * timezone/zdump.c: Update from tzcode 2012b.
23982 * timezone/zic.c: Likewise.
23983
a3cc4f48
JM
23984 * configure.in (libc_cv_as_needed): Remove test.
23985 * configure: Regenerated.
23986 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23987 conditional definition.
23988 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23989 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23990 * config.make.in (have-as-needed): Remove variable.
23991
ceab42c3
SP
239922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23993 Paul Pluzhnikov <ppluzhnikov@google.com>
23994
23995 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23996 strings correctly.
23997
3ce2865f
CLT
239982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23999
24000 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24001 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24002 * sysdeps/sh/strlen.S: Likewise.
24003
f37e0d68
JM
240042012-04-24 Joseph Myers <joseph@codesourcery.com>
24005
ae186e9a
JM
24006 * sysdeps/unix/fork.S: Remove file.
24007 * sysdeps/unix/i386/fork.S: Likewise.
24008 * sysdeps/unix/sparc/fork.S: Likewise.
24009
b96914af
JM
24010 * sysdeps/unix/system.c: Remove file.
24011 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24012
f37e0d68
JM
24013 * sysdeps/unix/getegid.S: Remove file.
24014 * sysdeps/unix/geteuid.S: Likewise.
24015
87ef29ca
RM
240162012-04-24 Roland McGrath <roland@hack.frob.com>
24017
83bcd236
RM
24018 * scripts/check-localplt.awk: New file.
24019 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24020 of diff.
24021 * scripts/data/localplt-generic.data: Add a comment.
24022
87ef29ca
RM
24023 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24024 NODE when __dir_mkfile failed.
24025 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24026 Reported by Ludovic Courtès <ludo@gnu.org>.
24027
e5a6e567
AJ
240282012-04-24 Andreas Jaeger <aj@suse.de>
24029
24030 * Makerules (common-clean): Also remove gen-as-const-headers
24031 files.
24032
c1820385
JM
240332012-04-24 Joseph Myers <joseph@codesourcery.com>
24034
24035 * Makerules (native-compile): Do not change working directory for
24036 build. Use $(OUTPUT_OPTION) in command.
24037 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24038
94e02fc4
AZ
240392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24040
24041 [BZ #13886]
24042 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24043 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24044 * math/libm-test.inc (floor_test): Add more tests.
24045 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24046
3a533ca3
JM
240472012-04-24 Joseph Myers <joseph@codesourcery.com>
24048
940ab4b3
JM
24049 * sysdeps/unix/getdents.c: Remove file.
24050 * sysdeps/unix/sysv/getdents.c: Likewise.
24051 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24052
90e037bd
JM
24053 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24054 sysdeps/unix/mman/syscalls.list.
24055 (mmap): Likewise.
24056 (mprotect): Likewise.
24057 (msync): Likewise.
24058 (munmap): Likewise.
24059 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24060 * sysdeps/unix/mman/syscalls.list: Remove.
24061 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24062
3a533ca3
JM
24063 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24064 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24065 * configure: Regenerated.
24066 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24067 $(libgcc_s_suffix).
24068 * config.make.in (libgcc_s_suffix): Remove variable.
24069
1ad743de
JM
240702012-04-23 Joseph Myers <joseph@codesourcery.com>
24071
4ad451e2
JM
24072 * sysdeps/unix/sysv/gethostname.c: Move to ...
24073 * sysdeps/posix/gethostname.c: ... here.
24074
5e37ce39
JM
24075 * sysdeps/unix/execve.S: Remove file.
24076
1ad743de
JM
24077 * sysdeps/unix/_exit.S: Remove file.
24078
4e681b5b
AJ
240792012-04-23 Andreas Jaeger <aj@suse.de>
24080
24081 [BZ #13739]
24082 * manual/Makefile: Remove make dist support, there's no
24083 need for a stand-alone documentation tar ball.
24084 (TEXI2DVI): Define always, it's not in Makeconfig.
24085 (dist): Removed.
24086 (tar-it): Removed.
24087 (edition): Removed.
24088 (glibc-doc-$(edition).tar): Removed
24089 (%.Z): Removed.
24090 (%.gz): Removed.
24091 (%.uu): Removed.
24092 (ETAGS): Remove, it's in Makeconfig.
24093 (move-if-change): Remove, it's in Makeconfig.
24094
38686a03 240952012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24096
24097 [BZ #13970]
24098 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24099 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24100 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24101 (strtod_l, strtof_l, strtold_l): Remove __wur.
24102 It is not necessarily an error to ignore strtol's return value.
24103 One can reliably look at the stored endptr to decide whether
24104 the number had valid syntax.
24105
7c0616fa
AJ
241062012-04-21 Andreas Jaeger <aj@suse.de>
24107
803cb6b7 24108 [BZ #13739]
7c0616fa
AJ
24109 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24110
b0fe253f
JM
241112012-04-21 Joseph Myers <joseph@codesourcery.com>
24112
24113 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24114 * sysdeps/unix/sysv/Versions: Remove file.
24115
8280f22d
MT
241162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24117
24118 [BZ #13927]
24119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24120
75ce411f 241212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24122
24123 [BZ #7064]
24124 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24125 version from __vm86.
24126
097d59fa
JM
241272012-04-20 Joseph Myers <joseph@codesourcery.com>
24128
a90f3bcb
JM
24129 * sysdeps/unix/common/lxstat.c: Remove file.
24130 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24131
edc7ea78
JM
24132 * sysdeps/unix/sysv/Makefile: Remove file.
24133
cb78c221
JM
24134 * sysdeps/unix/sysv/direct.h: Remove file.
24135
efa6a45f
JM
24136 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24137 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24138 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24139 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24140 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24141 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24142 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24143
9c9f2d0c
JM
24144 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24145
4541c83b
JM
24146 * sysdeps/unix/xmknod.c: Remove file.
24147 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24148
f5d153a0
JM
24149 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24150
aa746595
JM
24151 * sysdeps/unix/sysv/i386/time.S: Remove file.
24152
cce5905e
JM
24153 * sysdeps/unix/fxstat.c: Remove file.
24154 * sysdeps/unix/xstat.c: Likewise.
24155 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24156
37fa3841
JM
24157 * sysdeps/unix/sysv/sigaction.c: Remove file.
24158
ff1962a3
JM
24159 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24160 (sysdep_headers): Remove variable.
24161 [termio.h not in sysdep_headers] (generated): Likewise.
24162 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24163 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24164 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24165 * sysdeps/unix/sysv/tcflow.c: Likewise.
24166 * sysdeps/unix/sysv/tcflush.c: Likewise.
24167 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24168 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24169 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24170 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24171 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24172
e7740d31
JM
24173 * sysdeps/unix/siglist.c: Remove file.
24174
ee06f18b
JM
24175 * sysdeps/unix/getppid.S: Remove file.
24176
097d59fa
JM
24177 * sysdeps/unix/mkdir.c: Remove file.
24178 * sysdeps/unix/rmdir.c: Likewise.
24179
ff3d51ec
AS
241802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24181
24182 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24183 ERR_MAX value.
24184 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24185 errlist-compat value.
24186
50f81fd7
DM
241872012-04-18 David S. Miller <davem@davemloft.net>
24188
24189 * sysdeps/generic/memcopy.h (reg_char): Delete.
24190 * debug/strcat_chk.c: Use char, not reg_char.
24191 * debug/strcpy_chk.c: Likewise.
24192 * debug/strncat_chk.c: Likewise.
24193 * debug/strncpy_chk.c: Likewise.
24194 * string/memchr.c: Likewise.
24195 * string/memrchr.c: Likewise.
24196 * string/rawmemchr.c: Likewise.
24197 * string/strcat.c: Likewise.
24198 * string/strchr.c: Likewise.
24199 * string/strchrnul.c: Likewise.
24200 * string/strcmp.c: Likewise.
24201 * string/strcpy.c: Likewise.
24202 * string/strncat.c: Likewise.
24203 * string/strncmp.c: Likewise.
24204 * string/strncpy.c: Likewise.
24205
8ff41c46
WS
242062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24207
24208 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24209 __builtin_memcopy is called when src and dest ranges are known to not
24210 overlap.
24211
6b652f46
WS
242122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24213
24214 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24215 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24216 fwd_align_merge macro call.
24217 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24218 bwd_align_merge macro call.
24219 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24220
b282631e
WS
242212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24222
24223 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24224 bwd_align_merge macros.
24225 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24226 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24227 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24228
95aa737c
DM
242292012-04-18 David S. Miller <davem@davemloft.net>
24230
24231 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24232
7a99a614
AJ
242332012-04-18 Andreas Jaeger <aj@suse.de>
24234
24235 [BZ# 6794]
24236 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24237 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24238 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24239
24240 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24241 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24242 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24243
24244 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24245 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24246 Adjust for changed ldbl-128 files.
24247
24248 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24249 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24251
e5270c23
DM
242522012-04-17 David S. Miller <davem@davemloft.net>
24253
24254 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24255
fb5e92c9
AS
242562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24257
24258 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24259 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24260 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24261 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24262 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24263 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24264
76da7265
AZ
242652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24266
24267 [BZ #6794]
24268 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24269 * math/libm-test.inc: Add ilogb errno and exception tests.
24270 * math/w_ilogb.c: New file: ilogb wrapper.
24271 * math/w_ilogbf.c: New file: ilogbf wrapper.
24272 * math/w_ilogbl.c: New file: ilogbl wrapper.
24273 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24274 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24275 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24276 exception being thrown with 0.0 as argument.
24277 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24278 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24279 exception being thrown with 0.0 as argument.
24280 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24281 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24282 exception being thrown with 0.0 as argument.
24283 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24284 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24285 exception being thrown with 0.0 as argument.
24286 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24287 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24288 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24289 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24290 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24291 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24292 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24293 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24294 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24295
0396e69d
PB
242962012-04-17 Petr Baudis <pasky@ucw.cz>
24297
24298 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24299 with altivec.
24300
750b5926
MP
243012012-04-16 Marek Polacek <polacek@redhat.com>
24302
24303 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24304
751728a1
MP
243052012-04-16 Marek Polacek <polacek@redhat.com>
24306
24307 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24308 operands of fdivp instruction.
24309
34a27407
L
243102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24311
24312 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24313 * elf/tst-auditmod3b.c: Likewise.
24314 * elf/tst-auditmod4b.c: Likewise.
24315 * elf/tst-auditmod5b.c: Likewise.
24316 * elf/tst-auditmod6b.c: Likewise.
24317 * elf/tst-auditmod6c.c: Likewise.
24318 * elf/tst-auditmod7b.c: Likewise.
24319 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24320 * sysdeps/x86_64/preconfigure.in: Likewise.
24321 * sysdeps/x86_64/preconfigure: Regenerated.
24322
7e73e17d
L
243232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24324
24325 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24326 __ILP32__.
24327
c7a6ab72
AB
243282012-04-13 Antoine Balestrat <merkil33@gmail.com>
24329
24330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24331 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24332
a9e8e0e0
CL
243332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24334
24335 [BZ #13973]
24336 * locale/iso-639.def: Fix gl language name. Spotted by
24337 Yaron Shahrabani.
24338
ec98af7d
RM
243392012-04-12 Roland McGrath <roland@hack.frob.com>
24340
24341 [BZ #2074]
24342 * libio/libio.h (__io_write_fn): Update comment.
24343
247c3ede
PB
243442012-04-12 Petr Baudis <pasky@ucw.cz>
24345
24346 [BZ #2074]
24347 * stdio.texi (Hook Functions): The user provided writer function
24348 is not allowed to return -1.
24349
55939d6d
DM
243502012-04-11 David S. Miller <davem@davemloft.net>
24351
24352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24353
90020f5a
MF
243542012-04-11 Mike Frysinger <vapier@gentoo.org>
24355
24356 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24357 Add a leading slash to rtkaio.
24358
288f9098
JM
243592012-04-11 Jim Meyering <meyering@redhat.com>
24360
90020f5a
MF
24361 [BZ #11959]
24362 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24363 It is not necessarily an error to ignore fwrite's return
24364 value. One can reliably use ferror to test for errors after
24365 the fact.
288f9098 24366
4be2b570
L
243672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24368
24369 * bits/types.h (__snseconds_t): New type.
24370 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24371
24372 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24374 (__SNSECONDS_T_TYPE): Likewise.
24375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24376 (__SNSECONDS_T_TYPE): Likewise.
24377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24378 (__SNSECONDS_T_TYPE): Likewise.
24379
288f9098 243802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24381
24382 [BZ #2636]
24383 * manual/time.texi (Processor Time): Return type of times is
24384 elapsed real time since an arbitrary point in the past.
24385 (CPU Time): Move CLK_TCK from here...
24386 (Processor Time): ...to here. Correct description.
24387 * manual/conf.texi (Constants for Sysconf): Correct description of
24388 _SC_CLK_TCK.
24389
d7dd4413
DM
243902012-04-10 David S. Miller <davem@davemloft.net>
24391
24392 [BZ #13967]
24393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24394 where the is a gap between DT_REL(A) and DT_JMPREL.
24395
b46068fc
L
243962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24399 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24400 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24401
73d65cc3
SP
244022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24403
24404 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24405 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24406 (dl_main): Handle --inhibit-cache.
24407 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24408 _dl_inhibit_cache.
24409 * elf/dl-load.c (_dl_map_object): Use it.
24410 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24411
bcc8d661
JM
244122012-04-09 Joseph Myers <joseph@codesourcery.com>
24413
8f9a2fae
JM
24414 [BZ #13872]
24415 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24416 (__ieee754_powl): Saturate large exponents rather than testing for
24417 overflow of y*log2(x).
24418 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24419 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24420 exceptions.
24421
bcc8d661
JM
24422 [BZ #11521]
24423 * math/s_ctan.c: Include <float.h>.
24424 (__ctan): Avoid internal overflow or cancellation in calculating
24425 denominator.
24426 * math/s_ctanf.c: Likewise.
24427 * math/s_ctanl.c: Likewise.
24428 * math/s_ctanh.c: Likewise.
24429 * math/s_ctanhf.c: Likewise.
24430 * math/s_ctanhl.c: Likewise.
24431 * math/libm-test.inc (ctan_test): Add more tests.
24432 (ctanh_test): Likewise.
24433 * sysdeps/i386/fpu/libm-test-ulps: Update.
24434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24435
823fbbb4
AJ
244362012-04-09 Andreas Jaeger <aj@suse.de>
24437
03879793
AJ
24438 [BZ #6894]
24439 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24440 is an optional BSD extension.
24441
823fbbb4
AJ
24442 [BZ #10254]
24443 * manual/stdio.texi (Opening Streams): Document additional fopen
24444 parameters.
24445
8de131cb
RM
244462012-04-09 Roland McGrath <roland@hack.frob.com>
24447
24448 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24449 %eax without telling the compiler.
24450
c0ed9d7d
CD
244512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24452
24453 [BZ # 13963]
24454 * manual/install.texi: Use sourceware.org.
24455
c483f6b4
JM
244562012-04-09 Joseph Myers <joseph@codesourcery.com>
24457
d7dd9453
JM
24458 [BZ #13873]
24459 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24460 (__ieee754_pow): Generate overflow and underflow using huge*huge
24461 and tiny*tiny rather than just returning constant infinity or zero
24462 for large exponents.
24463 * math/libm-test.inc (pow_test): Require overflow exceptions for
24464 applicable cases of large exponents.
24465
c483f6b4
JM
24466 [BZ #706]
24467 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24468 (__ieee754_pow): Use iterative multiplication algorithm only for
24469 integer exponents with absolute value below 1024. Check for odd
24470 integer exponents when using algorithm for real exponents.
24471 * math/libm-test.inc (pow_test): Add more tests.
24472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24473
d2de7579
JM
244742012-04-08 Joseph Myers <joseph@codesourcery.com>
24475
24476 [BZ #13705]
24477 * math/libm-test.inc (exp_test): Do not allow overflow exception
24478 on underflow test.
24479
f77f1232
AJ
244802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24481
24482 [BZ #13705]
24483 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24484 instead of __kernel_standard_f.
24485
3884932b
MF
244862012-04-08 Mike Frysinger <vapier@gentoo.org>
24487
24488 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24489 * sysdeps/x86_64/memset_chk.S: Likewise.
24490
54472e9c
AJ
244912012-04-08 Andreas Jaeger <aj@suse.de>
24492
6ab0fbfc
AJ
24493 [BZ #10153]
24494 * manual/startup.texi (Environment Access): Describe return value
24495 for putenv and setenv.
24496
61efba8c
AJ
24497 [BZ #6895]
24498 * manual/filesys.texi (Directory Entries): Add description for
24499 DT_LNK.
24500
95c3f29a
AJ
24501 [BZ #6890]
24502 * manual/filesys.texi (Directory Entries): Clarify that it's file
24503 system not operating system in the description of DT_UNKNOWN.
24504
54472e9c
AJ
24505 [BZ #6578]
24506 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24507
624254b1
SC
245082012-04-08 Stephen Compall <s11@member.fsf.org>
24509
24510 [BZ #6649]
24511 * manual/llio.texi (Opening and Closing Files): Add cross
24512 reference to explain mode argument.
24513
1e4920e0
MF
245142012-04-07 Mike Frysinger <vapier@gentoo.org>
24515
24516 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24517 * sysdeps/x86_64/memset_chk.S: Likewise.
24518
5ed848f3
DM
245192012-04-07 David S. Miller <davem@davemloft.net>
24520
24521 * elf/elf.h (R_SPARC_WDISP10): Define.
24522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24523 R_SPARC_SIZE32.
24524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24525 R_SPARC_SIZE64 and R_SPARC_H34.
24526
96154cd8
CD
245272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24528
24529 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24530 conditions and remove no longer applicable assertion.
24531
9904dc47
L
245322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24533
24534 * bits/byteswap.h: Include <features.h>.
24535 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24536 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24537
f8887d0a
L
245382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 * bits/byteswap.h (__bswap_16): Removed.
24541 Include <bits/byteswap-16.h> to get __bswap_16.
24542 * sysdeps/i386/bits/byteswap.h: Likewise.
24543 * sysdeps/s390/bits/byteswap.h: Likewise.
24544 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24545 * bits/byteswap-16.h: New file.
24546 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24547 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24548 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24549 * string/Makefile (headers): Add bits/byteswap-16.h.
24550
62470f60
PP
245512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24552
24553 [BZ #13895]
24554 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24555 extra indirection.
24556 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24557 * nss/tst-nss-static.c: New.
24558
4dad7bab
RM
245592012-04-06 Robert Millan <rmh@gnu.org>
24560
24561 [BZ #6486]
24562 * manual/llio.texi (File Position Primitive): lseek
24563 refers to WHENCE when it really means OFFSET.
24564
e9142a17
AJ
245652012-04-06 Andreas Jaeger <aj@suse.de>
24566
2c040eff
AJ
24567 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24568 strncmp declarations.
24569
e9142a17
AJ
24570 * abilist/libc.abilist: Add __poll and __ppoll.
24571
ff9f1c5f
DM
245722012-04-05 David S. Miller <davem@davemloft.net>
24573
dcd2ae90
DM
24574 * scripts/check-local-headers.sh: Accept a host triplet in the
24575 path matched by the exclude regexp.
24576
993eb054
DM
24577 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24578 definition.
24579 * sysdeps/powerpc/powerpc32/dl-machine.h
24580 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24581 * sysdeps/s390/s390-32/dl-machine.h
24582 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24583 * sysdeps/sparc/sparc32/dl-machine.h
24584 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24585 * sysdeps/sparc/sparc64/dl-machine.h
24586 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24587
ff9f1c5f
DM
24588 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24589 lazy binding.
48e2e132 24590 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24591 undefined symbol errors.
24592
48e2e132 24593 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24594 DT_NEEDED entries.
24595
e80d6f94
MM
245962012-04-05 Michael Matz <matz@suse.de>
24597
24598 [BZ #13592]
24599 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24600
349fa79f
AJ
246012012-04-05 Andreas Jaeger <aj@suse.de>
24602
24603 [BZ #13908]
24604 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24605 comment.
24606
f402708f
KK
246072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24608
24609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24610 which ROUND is no valid rounding mode.
24611
2ecccfc9
KK
246122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24613
24614 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24615 read again.
24616 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24617
8a53f50f
KK
246182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24619
24620 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24621 an exception using FPU order intentionally.
24622
246232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24624
24625 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24626 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24627 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24628 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24629
d653abb7
SJ
246302012-04-05 Simon Josefsson <simon@josefsson.org>
24631
24632 [BZ #12340]
24633 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24634 EINVAL when BUFLEN is too smal.
24635
c3b1bf7d
TS
246362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24637
24638 [BZ #13553]
24639 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24640 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24641
b1aa60f3
AJ
246422012-04-03 Andreas Jaeger <aj@suse.de>
24643
c3b1bf7d 24644 [BZ #13938]
67f60a26
AJ
24645 * manual/setjmp.texi (System V contexts): Fix sentence.
24646
b1aa60f3
AJ
24647 [BZ #13926]
24648 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24649 New macro for this case.
24650 [!__GNUC__] (__bswap_64): New inline function for this case.
24651 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24652 * bits/byteswap.h: Likewise.
24653 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24654 ull, guard with __GLIBC_HAVE_LONG_LONG.
24655
24656 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24657 __GLIBC_HAVE_LONG_LONG.
24658
24659 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24660 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24661
39c59c35
TMQMF
246622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24663
24664 [BZ #13691]
24665 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24666 inptr and inend, rather than using last_ch.
24667
135ffda8
DM
246682012-04-02 David S. Miller <davem@davemloft.net>
24669
24670 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24671 * stdio-common/printf-parse.h (read_int): Change return type to
24672 'int', return -1 on INT_MAX overflow.
24673 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24674 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24675 overflows INT_MAX. Check for overflow of in-format-string precision
24676 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24677 SIZE_MAX not INT_MAX for integer overflow test.
24678 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24679 skip the construct in the format string but do not record anything.
24680 * stdio-common/bug22.c: Adjust to test both width/prevision
24681 INT_MAX overflow as well as total length INT_MAX overflow. Check
24682 explicitly for proper errno values.
24683
228c019e
TS
246842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24685
302cadd3
TS
24686 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24687 CHAR_MAX.
24688 * string/test-strcmp.c [! WIDE]: Likewise.
24689 * time/tst-mktime2.c: Likewise for INT_MAX.
24690 * string/test-string.h: #include <sys/param.h> for MIN.
24691
228c019e
TS
24692 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24693 * sysdeps/i386/init-first.c (init): Likewise.
24694 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24695 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24696 * sysdeps/sh/init-first.c (init): Likewise.
24697
cfa633f5
UD
246982012-04-01 Ulrich Drepper <drepper@gmail.com>
24699
24700 * po/ru.po: Update from translation team.
d1635ef8 24701 * po/vi.po: Likewise.
cfa633f5 24702
6cd0a5ea
SP
247032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24704
24705 * resolv/nss_dns/dns-host.c: Merge copyright years.
24706
4b43400f
LD
247072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24708
24709 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24710 Optimize memcpy with prefetch if
24711 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24712 src, dst pointers have unequal 16 byte alignments.
24713
48c41d04
SP
247142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24715
24716 [BZ #13928]
24717 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24718 from a CNAME entry and return the minimum ttl for the query.
24719 (gaih_getanswer_slice): Likewise.
24720
b8dc394d
JL
247212012-03-30 Jeff Law <law@redhat.com>
24722
24723 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24724 due to long keys.
24725 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24726 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24727
2f5a5ed0
JL
24728 * resolv/nss_dns/dns-host.c: Update copyright year.
24729
1d39e359
UD
247302012-03-30 Ulrich Drepper <drepper@gmail.com>
24731
c030f70c 24732 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24733 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24734
1d39e359
UD
24735 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24736 comments for sendmmsg.
24737
247382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24739
24740 [BZ #13691]
24741 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24742 with only 1 character between 0x0041 and 0x01b0.
24743 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24744 * wcsmbs/tst-mbsnrtowcs.c: New file.
24745
20fde227
DM
247462012-03-29 David S. Miller <davem@davemloft.net>
24747
24748 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24749 small copies by hand.
24750
984a4237
JL
247512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24752
24753 [BZ #13761]
24754 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24755 _nss_compat_initgroups_dyn): Fall back to malloc/free
24756 for large group memberships.
24757
18c9d62b
DM
247582012-03-28 David S. Miller <davem@davemloft.net>
24759
88d85d4f
DM
24760 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24761 that branches into memcpy.
24762 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24763 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24764 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24765 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24767 bits.
24768 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24769 implementation too.
24770 * sysdeps/sparc/mempcpy.S: New file.
24771
e5aa83e1
DM
24772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24773 the IFUNC routine in the libc case.
24774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24775
88570753
DM
24776 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24777 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24778 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24779 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24780 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24781 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24782 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24783 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24784
249d7567
DM
24785 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24786 loop to 256 bytes instead of 64 bytes and fix test signedness.
24787
18c9d62b
DM
24788 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24789 * sysdeps/sparc/sparc32/Makefile: rather than here...
24790 * sysdeps/sparc/sparc64/Makefile: and here.
24791
05f3d1f6
UD
247922012-03-28 Ulrich Drepper <drepper@gmail.com>
24793
24794 * malloc/mallocbug.c: Avoid warnings about unused variables.
24795
86ae07a8
JL
247962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24797
24798 [BZ #13760]
24799 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24800 in the right place. Discard and retry query if response is
24801 larger than input buffer size.
24802
41bf21a1
JM
248032012-03-28 Joseph Myers <joseph@codesourcery.com>
24804
d6270972
JM
24805 [BZ #369]
24806 [BZ #2678]
24807 [BZ #3866]
24808 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24809 x for large integer exponent.
24810 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24811 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24812 sign of result as needed afterwards.
24813 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24814 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24815 result for underflowing pow the same as for overflow.
24816 (__kernel_standard_l): Handle powl overflow and underflow here
24817 rather than calling __kernel_standard.
24818 * math/libm-test.inc (pow_test): Add more tests.
24819
414fca03 24820 [BZ #3868]
41bf21a1
JM
24821 [BZ #13879]
24822 [BZ #13910]
24823 [BZ #13911]
24824 [BZ #13912]
24825 [BZ #13913]
24826 [BZ #13915]
24827 [BZ #13916]
24828 [BZ #13917]
24829 [BZ #13918]
24830 [BZ #13919]
24831 [BZ #13920]
24832 [BZ #13921]
24833 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24834 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24835 (__kernel_standard_l): New function.
24836 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24837 __kernel_standard.
24838 * math/w_acosl.c (__acosl): Likewise.
24839 * math/w_asinl.c (__asinl): Likewise.
24840 * math/w_atan2l.c (__atan2l): Likewise.
24841 * math/w_atanhl.c (__atanhl): Likewise.
24842 * math/w_coshl.c (__coshl): Likewise.
24843 * math/w_exp10l.c (__exp10l): Likewise.
24844 * math/w_exp2l.c (__exp2l): Likewise.
24845 * math/w_fmodl.c (__fmodl): Likewise.
24846 * math/w_hypotl.c (__hypotl): Likewise.
24847 * math/w_j0l.c (__j0l, __y0l): Likewise.
24848 * math/w_j1l.c (__j1l, __y1l): Likewise.
24849 * math/w_jnl.c (__jnl, __ynl): Likewise.
24850 * math/w_lgammal.c (__lgammal): Likewise.
24851 * math/w_log10l.c (__log10l): Likewise.
24852 * math/w_log2l.c (__log2l): Likewise.
24853 * math/w_logl.c (__logl): Likewise.
24854 * math/w_powl.c (__powl): Likewise.
24855 * math/w_remainderl.c (__remainderl): Likewise.
24856 * math/w_scalbl.c (sysv_scalbl): Likewise.
24857 * math/w_sinhl.c (__sinhl): Likewise.
24858 * math/w_sqrtl.c (__sqrtl): Likewise.
24859 * math/w_tgammal.c (__tgammal): Likewise.
24860 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24861 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24862 * math/libm-test.inc (acos_test): Add more tests.
24863 (acosh_test): Likewise.
24864 (asin_test): Likewise.
24865 (atanh_test): Likewise.
24866 (exp_test): Likewise.
24867 (exp10_test): Likewise.
24868 (exp2_test): Likewise.
24869 (expm1_test): Likewise.
24870 (lgamma_test): Likewise.
24871 (log_test): Likewise.
24872 (log10_test): Likewise.
24873 (log1p_test): Likewise.
24874 (log2_test): Likewise.
24875 (pow_test): Do not allow some spurious overflow exceptions.
24876 (sqrt_test): Add more tests.
24877 (tgamma_test): Likewise.
24878 (y0_test): Likewise.
24879 (y1_test): Likewise.
24880 (yn_test): Likewise.
24881
dd62fda6
AB
248822012-03-27 Anton Blanchard <anton@samba.org>
24883
24884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24885 MAP_HUGETLB.
24886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24887 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24888 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24889
1e3cdfda
AJ
248902012-03-27 David S. Miller <davem@davemloft.net>
24891
b855ab85
DM
24892 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24893
1e3cdfda
AJ
24894 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24895 have-as-vis3 check.
24896
248972012-03-27 Andreas Jaeger <aj@suse.de>
24898
24899 * sysdeps/x86_64/elf/configure.in: Moved to ...
24900 * sysdeps/x86_64/configure.in: ... here.
24901 * sysdeps/x86_64/elf/start.S: Moved to ...
24902 * sysdeps/x86_64/start.S: ... here.
24903 * sysdeps/x86_64/elf/configure: Delete.
24904
24905 * sysdeps/x86_64/configure.in: Merge contents from
24906 sysdeps/i386/configure.in (without i686 check).
24907
24908 * sysdeps/i386/elf/Versions: Merge into ...
24909 * sysdeps/i386/Versions: ... this.
24910 * sysdeps/i386/elf/Versions: Delete file.
24911 * sysdeps/i386/elf/start.S: Moved to ...
24912 * sysdeps/i386/start.S: ...here.
24913 * sysdeps/i386/elf/configure.in: Merge into...
24914 * sysdeps/i386/configure.in: ...here.
24915 * sysdeps/i386/elf/configure.in: Delete file.
24916 * sysdeps/i386/elf/configure: Delete file.
24917
24918 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24919 * debug/backtracesyms.c: ... here.
24920 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24921 * debug/backtracesymsfd.c: ... here.
24922 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24923 * sysdeps/generic/ifunc-sel.h: ... here.
24924
24925 * sysdeps/unix/i386/start.c: Delete file.
24926 * sysdeps/unix/sparc/start.c: Delete file.
24927 * sysdeps/unix/start.c: Delete file.
24928
24929 * sysdeps/sh/elf/configure.in: Moved to ...
24930 * sysdeps/sh/configure.in: ... here.
24931 * sysdeps/sh/elf/start.S: Moved to ...
24932 * sysdeps/sh/start.S: ... here.
24933 * sysdeps/sh/elf/configure: Delete file.
24934
24935 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24936 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24937 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24938 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24939 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24940 * sysdeps/powerpc/powerpc64/start.S: here.
24941 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24942 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24943 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24944 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24945 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24946
24947 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24948 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24949 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24950 * sysdeps/powerpc/powerpc32/start.S: ... here.
24951 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24952 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24953 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24954
24955 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24956 * sysdeps/powerpc/ifunc-sel.h: ... here.
24957 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24958 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24959
24960 * sysdeps/sparc/elf/configure.in: Moved to ...
24961 * sysdeps/sparc/configure.in: ... here.
24962 * sysdeps/sparc/elf/configure: Delete file.
24963 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24964 * sysdeps/sparc/sparc32/start.S: ... here.
24965 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24966 * sysdeps/sparc/sparc64/start.S: ... here.
24967 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24968 * sysdeps/sparc/sparc32/Makefile: ... this.
24969 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24970 * sysdeps/sparc/sparc64/Makefile: ... this.
24971
24972 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24973 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24974 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24975 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24976 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24977 * sysdeps/s390/s390-32/setjmp.S: ... here.
24978 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24979 * sysdeps/s390/s390-32/configure.in: ... here.
24980 * sysdeps/s390/s390-32/elf/configure: Delete file.
24981 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24982 * sysdeps/s390/s390-32/start.S: ... here.
24983
24984 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24985 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24986 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24987 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24988 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24989 * sysdeps/s390/s390-64/setjmp.S: ... here.
24990 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24991 * sysdeps/s390/s390-64/configure.in: ... here
24992 * sysdeps/s390/s390-64/elf/configure: Delete file.
24993 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24994 * sysdeps/s390/s390-64/start.S: ... here.
24995 * sysdeps/s390/s390-64/elf/configure: Delete.
24996
24997 * configure.in: Remove support for elf directories in sysdeps.
24998
24999 * configure: Regenerated.
25000 * sysdeps/i386/configure: Regenerated.
25001 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25002 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25003 * sysdeps/s390/s390-32/configure: Regenerated.
25004 * sysdeps/s390/s390-64/configure: Regenerated.
25005 * sysdeps/sh/configure: Regenerated.
25006 * sysdeps/sparc/configure: Regenerated.
25007 * sysdeps/x86_64/configure: Regenerated.
25008
a3f61311
AS
250092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25010
c876e002
AS
25011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25012
a3f61311
AS
25013 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25014 denormal result into account.
25015
ac4c54f0
RM
250162012-03-25 Roland McGrath <roland@hack.frob.com>
25017
25018 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25019 Reported by Allan McRae <allan@archlinux.org>.
25020
6a9b9c02
JL
250212012-03-23 Jeff Law <law@redhat.com>
25022
25023 * nss/getnssent.c (__nss_getent): Fix typo.
25024
4c42a0c1
DM
250252012-03-23 David S. Miller <davem@davemloft.net>
25026
25027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25028
1532c7ac
L
250292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25030
25031 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25032 to pad to uint64_t for each field.
25033 (dl_tls_index): Replace unsigned long with uint64_t.
25034
3ff42526
PP
250352012-03-23 Daniel Jacobowitz <dmj@google.com>
25036 Paul Pluzhnikov <ppluzhnikov@google.com>
25037
25038 [BZ #6528]
25039 * grp/Makefile (otherlibs): Don't set it.
25040 * inet/Makefile (otherlibs): Likewise.
25041 * login/Makefile (otherlibs): Likewise.
25042 * nscd/Makefile (otherlibs): Likewise.
25043 * posix/Makefile (otherlibs): Likewise.
25044 * pwd/Makefile (otherlibs): Likewise.
25045 * rt/Makefile (otherlibs): Likewise.
25046 * sunrpc/Makefile (otherlibs): Likewise.
25047 * nss/Makefile (otherlibs): Likewise.
25048 Add libnss_files to routines and static-only-routines.
25049 ($(objpfx)getent): Remove rule.
25050 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25051 static-only-routines.
25052
7c69cd14
JM
250532012-03-22 Joseph Myers <joseph@codesourcery.com>
25054
25055 [BZ #13892]
25056 * math/s_cexp.c: Include <float.h>.
25057 (__cexp): Handle exp result overflowing not necessarily
25058 overflowing both real and imaginary parts of result.
25059 * math/s_cexpf.c: Likewise.
25060 * math/s_cexpl.c: Likewise.
25061 * math/libm-test.inc (cexp_test): Add more tests.
25062 * sysdeps/i386/fpu/libm-test-ulps: Update.
25063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25064
81b035fe
L
250652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25066
25067 * include/link.h (ELFW): New macro.
25068 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25069 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25070
1da7940c
L
250712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25072
25073 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25074 with uint64_t.
25075
b749dbb9
L
250762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25077
25078 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25079 declaration.
25080 (struct La_x32_retval): Likewise.
25081
2ff87f3f
L
250822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25083
25084 * sysdeps/x86_64/preconfigure.in: New file.
25085 * sysdeps/x86_64/preconfigure: New generated file.
25086
c0df8e69
JM
250872012-03-22 Joseph Myers <joseph@codesourcery.com>
25088
48e44791
JM
25089 [BZ #13824]
25090 * math/e_exp2l.c: Include <float.h>.
25091 (__ieee754_exp2l): Handle overflow and underflow cases
25092 separately. Only pass fractional part of argument to
25093 __ieee754_expl.
25094 * math/libm-test.inc (exp2_test): Add more tests.
25095
c0df8e69
JM
25096 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25097 negating x to take absolute value.
25098 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25099 Likewise.
25100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25102 Likewise.
25103 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25104 computing low part if x was negated.
25105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25106
c8e43ba7
L
251072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25108
25109 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25110 la_x32_gnu_pltexit.
25111 (pltexit): Cast int_retval to ptrdiff_t.
25112 * elf/tst-auditmod3b.c: Likewise.
25113 * elf/tst-auditmod4b.c: Likewise.
25114 * elf/tst-auditmod5b.c: Likewise.
25115 * elf/tst-auditmod6b.c: Likewise.
25116 * elf/tst-auditmod6c.c: Likewise.
25117 * elf/tst-auditmod7b.c: Likewise.
25118
25119 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25120 and x32_gnu_pltexit.
25121
25122 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25123 __ELF_NATIVE_CLASS.
25124 (La_x32_regs): New macro.
25125 (La_x32_retval): Likewise.
25126 (la_x32_gnu_pltenter): New function prototype.
25127 (la_x32_gnu_pltexit): Likewise.
25128
7998fa78
AS
251292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25130
dcb33988
AS
25131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25132 exponent.
25133
233fc563
AS
25134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25135
7998fa78
AS
25136 * configure.in (libc_cv_cc_nofma): Check for option to disable
25137 generation of FMA instructions.
25138 * configure: Regenerate.
25139 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25140 * sysdeps/ieee754/dbl-64/Makefile: New file.
25141 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25142 Remove brandred-fma4.
25143 (CFLAGS-brandred-fma4.c): Remove.
25144 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25145 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25146 define.
25147 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25148 define.
25149
8e95c99a
L
251502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25151
25152 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25153 LLONG_MAX != LONG_MAX.
25154 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25155 (_fitoa_word): Likewise.
25156 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25157 LLONG_MAX != LONG_MAX.
25158 * stdio-common/_itowa.h: Include <_itoa.h>.
25159 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25160 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25161 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25162 only if not defined.
25163 (_ITOA_WORD_TYPE): Likewise.
25164 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25165 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25166
6f4db457
DM
251672012-03-21 David S. Miller <davem@davemloft.net>
25168
25169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25170
7785fe5a
L
251712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25172
25173 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25174 of x86_64 when setting libc_cv_slibdir, libdir and
25175 libc_cv_localedir.
25176 * sysdeps/unix/sysv/linux/configure: Regenerated.
25177
4535cd55
JM
251782012-03-21 Joseph Myers <joseph@codesourcery.com>
25179
25180 * manual/lang.texi (Old Varargs): Remove section.
25181 (How Variadic): Update menu.
25182 (va_start): Do not mention varargs.h.
25183
17228132
TS
251842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25185 Joseph Myers <joseph@codesourcery.com>
25186
25187 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25188 link test.
25189 * configure: Regenerated.
25190
8149f976
TS
251912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25192
05f3d1f6
UD
25193 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25194 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25195 conformtest.pl
8149f976 25196
1a4ac776
JM
251972012-03-21 Joseph Myers <joseph@codesourcery.com>
25198
be22ce65
JM
25199 * NOTES: Remove.
25200 * Makefile (files-for-dist): Remove NOTES.
25201 (NOTES): Remove rule.
25202 * README: Don't refer to NOTES.
25203 * manual/creature.texi: Don't include macros.texi.
25204 * manual/intro.texi (creature.texi): Remove comment referring to
25205 NOTES.
25206
40b601fb
JM
25207 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25208 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25209 * configure: Regenerated.
25210 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25211 LIBC_TRY_CC_OPTION.
25212 (libc_cv_as_i686): Likewise.
25213 (libc_cv_cc_avx): Likewise.
25214 (libc_cv_cc_sse2avx): Likewise.
25215 (libc_cv_cc_fma4): Likewise.
25216 (libc_cv_cc_novzeroupper): Likewise.
25217 * sysdeps/i386/configure: Regenerated.
25218
1a4ac776
JM
25219 [BZ #13883]
25220 * sysdeps/i386/fpu/s_cexp.S: Remove.
25221 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25222 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25223 * math/libm-test.inc (cexp_test): Add more tests.
25224 * sysdeps/i386/fpu/libm-test-ulps: Update.
25225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25226
a458e7fe
AM
252272012-03-21 Allan McRae <allan@archlinux.org>
25228
25229 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25230
0cb7efc5
JM
252312012-03-21 Joseph Myers <joseph@codesourcery.com>
25232
25233 [BZ #13871]
25234 * math/w_exp2.c: Do not include <float.h>.
25235 (o_threshold, u_threshold): Remove.
25236 (__exp2): Calculate result before checking finiteness and calling
25237 __kernel_standard.
25238 * math/w_exp2f.c: Likewise.
25239 * math/w_exp2l.c: Likewise.
25240 * math/libm-test.inc (exp2_test): Require overflow exception for
25241 1e6 input.
2460d3aa
JM
25242
25243 [BZ #3866]
25244 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25245 range of signed 64-bit integers before using fistpll. Remove
25246 checks for whether integers fit in mantissa bits.
25247 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25248 the range of signed 32-bit integers before using fistpl. Remove
25249 checks for whether integers fit in mantissa bits.
25250 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25251 (__ieee754_powl): Test for y outside the range of signed 64-bit
25252 integers before using fistpll. Reduce 64-bit values to 63-bit
25253 ones as needed.
25254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25255 divide-by-zero is raised for zero to large negative powers.
25256 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25257 (__ieee754_powl): Test for y outside the range of signed 64-bit
25258 integers before using fistpll. Reduce 64-bit values to 63-bit
25259 ones as needed.
25260 * math/libm-test.inc (pow_test): Add more tests.
25261
eb96ffb0
L
252622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25263
25264 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25265 <stdio-common/_itoa.h>.
25266 * debug/segfault.c: Likewise.
25267 * elf/dl-cache.c: Likewise.
25268 * elf/dl-minimal.c: Likewise.
25269 * elf/dl-misc.c: Likewise.
25270 * elf/dl-sysdep.c: Likewise.
25271 * elf/dl-version.c: Likewise.
25272 * elf/rtld.c: Likewise.
25273 * hurd/hurdsock.c: Likewise.
25274 * hurd/lookup-retry.c: Likewise.
25275 * malloc/malloc.c: Likewise.
25276 * malloc/mtrace.c: Likewise.
25277 * nscd/nscd_getgr_r.c: Likewise.
25278 * nscd/nscd_getpw_r.c: Likewise.
25279 * nscd/nscd_getserv_r.c: Likewise.
25280 * posix/getopt_init.c: Likewise.
25281 * posix/wordexp.c: Likewise.
25282 * stdio-common/_itoa.c: Likewise.
25283 * stdio-common/printf_fphex.c: Likewise.
25284 * stdio-common/vfprintf.c: Likewise.
25285 * string/_strerror.c: Likewise.
25286 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25287 * sysdeps/i386/i686/hp-timing.h: Likewise.
25288 * sysdeps/mach/_strerror.c: Likewise.
25289 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25290 * sysdeps/mach/hurd/sethostid.c: Likewise.
25291 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25292 * sysdeps/mach/xpg-strerror.c: Likewise.
25293 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25294 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25295 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25296 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25297 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25298 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25299 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25300 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25301 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25302 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25303 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25304 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25305 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25306 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25307 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25308 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25309 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25310 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25311 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25312 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25313 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25314
25315 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25316
25317 * stdio-common/_itoa.h: Moved to ...
25318 * sysdeps/generic/_itoa.h: Here.
25319
25320 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25321
25322 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25323 instead of "_itoa.h" and "_itowa.h".
25324 * stdio-common/vfprintf.: Likewise.
25325
d1af992d
L
253262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25327
25328 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25329 <bits/wordsize.h>.
25330 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25331 (__signbit): Likwise.
25332 (llrintf): Likwise.
25333 (llrint): Likwise.
25334
114883e0
L
253352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25336
25337 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25338 __WORDSIZE != 64.
25339
c135cc1b
JM
253402012-03-20 Joseph Myers <joseph@codesourcery.com>
25341
25342 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25343 OVERFLOW_EXCEPTION_OK.
25344 * math/libm-test.inc ("Philosophy"): Update comment about
25345 exception testing.
25346 (OVERFLOW_EXCEPTION): Define.
25347 (OVERFLOW_EXCEPTION_OK): Likewise.
25348 (INVALID_EXCEPTION_OK): Renumber.
25349 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25350 (IGNORE_ZERO_INF_SIGN): Likewise.
25351 (test_exceptions): Handle FE_OVERFLOW.
25352 (exp10_test): Expect overflow exceptions.
25353 (exp2_test): Likewise.
25354 (expm1_test): Likewise.
25355 (nextafter_test): Likewise.
25356 (pow_test): Likewise.
25357 (scalbn_test): Likewise.
25358 (scalbln_test): Likewise.
25359
95443d88
L
253602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25361
25362 * sysdeps/x86_64/bits/atomic.h
25363 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25364 64bit integer.
25365 (atomic_exchange_acq): Likewise.
25366 (__arch_exchange_and_add_body): Likewise.
25367 (__arch_add_body): Likewise.
25368 (atomic_add_negative): Likewise.
25369 (atomic_add_zero): Likewise.
25370
490df6c4
L
253712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25372
c2722551 25373 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25374 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25375
5e52b189
L
253762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25377
25378 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25379 Check __x86_64__ instead of __WORDSIZE.
25380
a9879d4c
L
253812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25382
25383 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25384
5df98260
DM
253852012-03-19 David S. Miller <davem@davemloft.net>
25386
e1497744
DM
25387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25388
5df98260
DM
25389 * sysdeps/sparc/fpu/fenv_private.h: New file.
25390 * sysdeps/sparc/fpu/math_private.h: Use it.
25391 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25392 Remove.
25393 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25394 (libc_feholdexcept_setroundl): Remove.
25395 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25396 Remove.
25397 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25398 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25399
b4c35121
L
254002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25401
25402 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25403 int64_t instead of long int.
25404 (INSERT_WORDS64): Likwise.
25405
56965fd7
L
254062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25407
25408 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25409 _Unwind_GetCFA return to _Unwind_Ptr first.
25410
83d1aec8
JM
254112012-03-19 Joseph Myers <joseph@codesourcery.com>
25412
1897ad44
JM
25413 [BZ #13629]
25414 * math/s_clog.c: Include <float.h>.
25415 (__clog): Scale large or subnormal inputs.
25416 * math/s_clogf.c: Likewise.
25417 * math/s_clogl.c: Likewise.
25418 * math/s_clog10.c: Include <float.h>.
25419 (M_LOG10_2): Define.
25420 (__clog10): Scale large or subnormal inputs.
25421 * math/s_clog10f.c: Likewise.
25422 * math/s_clog10l.c: Likewise.
25423 * math/libm-test.inc (clog_test): Add more tests.
25424 (clog10_test): Likewise.
25425 * sysdeps/i386/fpu/libm-test-ulps: Update.
25426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427
7726d6a9
JM
25428 [BZ #11451]
25429 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25430 x and y.
25431 * math/libm-test.inc (atan2_test): Add another test.
25432
83d1aec8
JM
25433 * Makerules (common-objdir-compile): Remove.
25434 * sysdeps/unix/Makefile (config-generated): Do not add
25435 $(unix-generated) to variable.
25436 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25437 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25438 Remove rule.
25439 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25440 Likewise.
25441 [generic bits/local_lim.h] (before-compile): Do not append to
25442 variable.
25443 [generic bits/local_lim.h] (common-generated): Likewise.
25444 [generic sys/param.h] (before-compile): Do not append to variable.
25445 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25446 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25447 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25448 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25449 include.
25450 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25451 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25452 [generic sys/param.h] ($(addprefix
25453 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25454 [generic sys/param.h] (common-generated): Do not append to
25455 variable.
25456 [generic sys/param.h] (sysdep_headers): Likewise.
25457 [generic bits/errno.h] (before-compile): Do not append to
25458 variable.
25459 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25460 rule.
25461 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25462 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25463 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25464 [generic bits/errno.h] (common-generated): Do not append to
25465 variable.
25466 [generic bits/ioctls.h] (before-compile): Do not append to
25467 variable.
25468 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25469 rule.
25470 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25471 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25472 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25473 rule.
25474 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25475 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25476 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25477 [generic bits/ioctls.h] (common-generated): Do not append to
25478 variable.
25479 [generic sys/syscall.h] (syscall.h): Remove variable.
25480 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25481 rule.
25482 [generic sys/syscall.h] (before-compile): Do not append to
25483 variable.
25484 [generic sys/syscall.h] (common-generated): Likewise.
25485 * sysdeps/unix/errnos-tmpl.c: Remove file.
25486 * sysdeps/unix/errnos.awk: Likewise.
25487 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25488 * sysdeps/unix/ioctls.awk: Likewise.
25489 * sysdeps/unix/mk-local_lim.c: Likewise.
25490 * sysdeps/unix/snarf-ioctls: Likewise.
25491
4851a949
RH
254922012-03-19 Richard Henderson <rth@twiddle.net>
25493
bd37f2ee
RH
25494 * sysdeps/i386/fpu/fenv_private.h: New file.
25495 * sysdeps/i386/fpu/math_private.h: Use it.
25496 (math_opt_barrier, math_force_eval): Remove.
25497 (libc_feholdexcept_setround_53bit): Remove.
25498 (libc_feupdateenv_53bit): Remove.
25499 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25500 (math_opt_barrier, math_force_eval): Remove.
25501 (libc_feholdexcept): Remove.
25502 (libc_feholdexcept_setround): Remove.
25503 (libc_fetestexcept, libc_fesetenv): Remove.
25504 (libc_feupdateenv_test): Remove.
25505 (libc_feupdateenv, libc_feholdsetround): Remove.
25506 (libc_feresetround): Remove.
25507
d0adc922
RH
25508 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25509 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25510
0fe0f1f8
RH
25511 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25512 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25513 (libc_feupdateenv_testl): New.
25514 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25515 (libc_feupdateenv_testf): New.
25516 (libc_feupdateenv): Use libc_feupdateenv_test.
25517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25519
eb92c487
RH
25520 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25521 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25522 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25523 (libc_feresetround_noex): New.
25524 (libc_feresetround_noexf): New.
25525 (libc_feresetround_noexl): New.
25526 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25527 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25528 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25529 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25530 SET_RESTORE_ROUND.
25531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25532 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25533 (__cos): Likewise.
25534 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25535 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25536 SET_RESTORE_ROUND_NOEX.
25537 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25538 SET_RESTORE_ROUND_NOEXF.
25539 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25540 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25541 (libc_feholdsetroundf): New.
25542 (libc_feresetround, libc_feresetroundf): New.
25543
7d2e8012
RH
25544 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25545 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25546 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25547
b4dabbb4
RH
25548 * sysdeps/generic/math_private.h: Include <fenv.h>.
25549 (default_libc_feholdexcept): New.
25550 (default_libc_feholdexcept_setround): New.
25551 (default_libc_fesetenv, default_libc_feupdateenv): New.
25552 (libc_feholdexcept): Only define if undefined.
25553 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25554 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25555 (libc_feholdexcept_setroundl): Likewise.
25556 (libc_feholdexcept_setround_53bit): Likewise.
25557 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25558 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25559 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25560 (libc_feupdateenv_53bit): Likewise.
25561 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25562 (libc_feholdexcept): Convert from macro to inline function.
25563 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25564 (libc_fesetenv, libc_feupdateenv): Likewise.
25565
4851a949
RH
25566 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25567 not previously defined.
25568 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25569 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25570 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25571 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25572 * sysdeps/ieee754/flt-32/math_private.h: New file.
25573 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25574 math_private.h below SET_FLOAT_WORD.
25575 (__isnan, __isinf_ns, __finite): Remove.
25576 (__isnanf, __isinf_nsf, __finitef): Remove.
25577
e79d442e
AS
255782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25579
25580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25581
90b80344
DM
255822012-03-17 David S. Miller <davem@davemloft.net>
25583
25584 [BZ #6471]
25585 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25586 for 2.16.
25587
edc21804
DM
255882012-03-16 David S. Miller <davem@davemloft.net>
25589
77e927af
DM
25590 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25591 warnings.
25592
374976dd
DM
25593 [BZ #6471]
25594 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25595 properly.
25596 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25597 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25598 sysdep_routines when subdir is sysvipc.
25599 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25600 __getshmlba helper.
25601
edc21804
DM
25602 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25603
473c3ef3
L
256042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25605
25606 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25607 [__LP64__].
25608
eb0f39b6
L
256092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25610
25611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25612 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25613 (__lround): Renamed to ...
25614 (__llround): This. Replace long int with long long int.
25615 Define lround functions as aliases of llround functions.
25616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25617
6b6cd74b
L
256182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25619
25620 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25621 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25622 adresses to uintptr_t. Replace "long int" and "unsigned long
25623 int" with "greg_t" on va_arg.
25624
f1a77b01
L
256252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25626
25627 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25628 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25629
25630 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25631 Move e_machine check before EI_CLASS check. Handle x32
25632 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25633 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25634 SKIP_EM_IA_64 and include
25635 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25636
25637 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25638 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25639 (add_system_dir): New macro.
25640
25641 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25642 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25643
11b90b9f
JM
256442012-03-16 Joseph Myers <joseph@codesourcery.com>
25645
c36e1d23
JM
25646 [BZ #2551]
25647 [BZ #2552]
25648 [BZ #2553]
25649 [BZ #2554]
25650 [BZ #2562]
25651 [BZ #2563]
25652 [BZ #2565]
25653 [BZ #2566]
25654 [BZ #2576]
25655 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25656 (y0): Likewise.
25657 * math/w_j0f.c (j0f): Likewise.
25658 (y0f): Likewise.
25659 * math/w_j0l.c (__j0l): Likewise.
25660 (__y0l): Likewise.
25661 * math/w_j1.c (j1): Likewise.
25662 (y1): Likewise.
25663 * math/w_j1f.c (j1f): Likewise.
25664 (y1f): Likewise.
25665 * math/w_j1l.c (__j1l): Likewise.
25666 (__y1l): Likewise.
25667 * math/w_jn.c (jn): Likewise.
25668 (yn): Likewise.
25669 * math/w_jnf.c (jnf): Likewise.
25670 (ynf): Likewise.
25671 * math/w_jnl.c (__jnl): Likewise.
25672 (__ynl): Likewise.
25673 * math/libm-test.inc (j0_test): Add more tests.
25674 (j1_test): Likewise.
25675 (jn_test): Likewise. Add trailing semicolon to existing test.
25676 (y0_test): Likewise.
25677 (y1_test): Likewise.
25678 * sysdeps/i386/fpu/libm-test-ulps: Update.
25679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25680
11b90b9f
JM
25681 [BZ #13851]
25682 [BZ #13854]
25683 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25684 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25685 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25686 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25687 (__tanl): Set errno for infinite argument.
25688 * sysdeps/i386/fpu/mptan.c: Remove.
25689 * sysdeps/i386/fpu/s_tan.S: Likewise.
25690 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25691 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25692 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25693 * math/libm-test.inc (tan_test): Add more tests and enable more
25694 tests for double and long double.
25695 * sysdeps/i386/fpu/libm-test-ulps: Update.
25696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25697
6a1bd2a1
JK
256982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25699
25700 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25701 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25702
10a803e0
RM
257032012-03-16 Roland McGrath <roland@hack.frob.com>
25704
25705 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25706 * configure.in: Use it for both main tree and add-ons.
25707 * configure: Regenerated.
25708
f196c7f7
L
257092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25710
25711 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25712
8848d99d
JM
257132012-03-16 Joseph Myers <joseph@codesourcery.com>
25714
96cbe7f4
JM
25715 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25716 in comment.
25717
8848d99d
JM
25718 [BZ #13851]
25719 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25720 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25724 infinite argument.
25725 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25726 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25727 != 0 for prec == 2.
25728 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25729 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25730 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25731 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25732 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25733 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25734 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25735 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25736 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25737 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25738 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25739 * math/libm-test.inc (cos_test): Add more tests and enable more
25740 tests for long double.
25741 (sin_test): Likewise.
25742 (sincos_test): Likewise.
25743 * sysdeps/i386/fpu/libm-test-ulps: Update.
25744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25745
dd7f4703
DM
257462012-03-16 David S. Miller <davem@davemloft.net>
25747
25748 * sysdeps/sparc/fpu/math_private.h: New file.
25749
006f1daa
DM
257502012-03-15 David S. Miller <davem@davemloft.net>
25751
c0c83bc8
DM
25752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25753 file.
e6a62e18 25754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25756 file.
e6a62e18
DM
25757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25763 sysdep routines.
25764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25765
88cb87d9
DM
25766 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25767 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25768
006f1daa 25769 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25771 sparc-ifunc.h
006f1daa 25772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25774 Likewise.
25775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25776 Likewise.
006f1daa
DM
25777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25781 Likewise.
006f1daa
DM
25782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25787 Likewise.
25788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25789 Likewise.
006f1daa
DM
25790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25814
11e0098e
AS
258152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25816
25817 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25818 scaling.
25819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25820
e85b09d0
AJ
258212012-03-15 Andreas Jaeger <aj@suse.de>
25822
25823 [BZ #13852]
25824 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25825 ieee754/flt-32 implementation for sin, cos and sincos.
25826 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25827 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25828 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25829 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25830 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25831 ieee754/flt-32 implementation for tan.
25832
25833 * math/libm-test.inc (cos_test): Enable some large input tests for
25834 float as well
25835 (sin_test): Likewise.
25836 (sincos_test): Likewise.
25837 (tan_test): Add tests for large input.
25838
25839 * sysdeps/i386/fpu/libm-test-ulps: Update.
25840
81c64153
AJ
258412012-03-15 Andreas Jaeger <aj@suse.de>
25842
25843 [BZ #13658]
25844 * math/libm-test.inc (cos_test): Add more test cases.
25845 (sin_test): Likewise.
25846 (sincos_test): Likewise.
25847
7bbfa5c6
AJ
258482012-03-15 Andreas Jaeger <aj@suse.de>
25849
25850 [BZ #13837]
25851 * math/libm-test.inc (cos_test): Add a test case for large input
25852 value.
25853 (sin_test): Likewise.
25854 (sincos_test): Likewise.
25855
258562012-03-15 Andreas Jaeger <aj@suse.de>,
25857 Joseph Myers <joseph@codesourcery.com>
25858
25859 [BZ #13658]
0671f479 25860 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25861 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25862 * sysdeps/i386/fpu/branred.c: Likewise.
25863 * sysdeps/i386/fpu/dosincos.c: Likewise.
25864 * sysdeps/i386/fpu/mpa.c: Likewise.
25865 * sysdeps/i386/fpu/s_cos.S: Likewise.
25866 * sysdeps/i386/fpu/s_sin.S: Likewise.
25867 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25868 * sysdeps/i386/fpu/sincos32.c: Likewise.
25869
25870 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25871 Define.
25872 (libc_feupdateenv_53bit): Define.
25873 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25874 Define.
25875 (libc_feupdateenv_53bit): Define.
25876
25877 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25878 53 bit (without extend i386 double precision).
25879
25880 * math/libm-test.inc (sincos_test): Add tests for large input.
25881 (sin): Likewise.
25882 (cos): Likewise.
25883
25884 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25885
9cad04ea
AS
258862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25887
25888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25889
f7062b9a
DM
258902012-03-15 David S. Miller <davem@davemloft.net>
25891
25892 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25893 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25894 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25895 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25908 file.
f7062b9a 25909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25911 file.
f7062b9a 25912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25914 file.
f7062b9a 25915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25917 file.
f7062b9a
DM
25918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25920 fmin/fmax sysdep routines.
25921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25922
7bd951ff
DM
259232012-03-14 David S. Miller <davem@davemloft.net>
25924
559398ab
DM
25925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25953 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25954 routines.
25955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25956 file.
559398ab 25957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25959 file.
559398ab 25960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25962 file.
559398ab 25963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25965 file.
559398ab 25966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25968 file.
559398ab 25969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25971 file.
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25973 file.
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25975 file.
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25977 file.
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25979 New file.
25980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25981 file.
25982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25983 file.
559398ab 25984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25986 file.
559398ab 25987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25989 file.
559398ab 25990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25992 file.
559398ab 25993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25995 VIS3 routines.
559398ab
DM
25996
25997 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25998 New file.
25999
5a1c1e32
DM
26000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26001
eae47a36
DM
26002 * sysdeps/sparc/configure.in: New file.
26003 * sysdeps/sparc/configure: Generate.
26004 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26005 * configure: Regenerate.
26006 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26007 * config.make.in (have-as-vis3): New.
26008 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26009 available use -Av9d instead of -Av9a.
26010 * sysdeps/sparc/sparc64/Makefile: Likewise.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26013 New file.
26014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26015 file.
26016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26017 New file.
26018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26019 file.
eae47a36
DM
26020 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26025
c0c83bc8
DM
26026 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26027 fzeros/fnegs to load 0x80000000 into a float register instead of
26028 using the stack.
7bd951ff
DM
26029 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26030
bd951ccb
JM
260312012-03-14 Joseph Myers <joseph@codesourcery.com>
26032
26033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26034 bits/syscall.h.
26035 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26036 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26037 ($(inst_includedir)/bits/syscall.h): Remove rule.
26038 ($(objpfx)bits/syscall.d): Include instead of
26039 $(objpfx)syscall-list.d.
26040 (generated): Change syscall-list.h and syscall-list.d to
26041 bits/syscall.h and bits/syscall.d.
26042
bb4e6db2
RM
260432012-03-14 Roland McGrath <roland@hack.frob.com>
26044
26045 [BZ #13846]
26046 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26047
aa4a2ae1
JM
260482012-03-14 Joseph Myers <joseph@codesourcery.com>
26049
e456826d
JM
26050 [BZ #13841]
26051 * math/s_csqrt.c: Include <float.h>.
26052 (__csqrt): Scale large or subnormal inputs.
26053 * math/s_csqrtf.c: Likewise.
26054 * math/s_csqrtl.c: Likewise.
26055 * math/libm-test.inc (csqrt_test): Add more tests.
26056 * sysdeps/i386/fpu/libm-test-ulps: Update.
26057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26058
aa4a2ae1
JM
26059 [BZ #13840]
26060 * math/libm-test.inc (hypot_test): Add more tests.
26061
7c10fd35
DM
260622012-03-13 David S. Miller <davem@davemloft.net>
26063
26064 [BZ #13840]
26065 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26066 double-precision for the calculation instead of scaling.
26067
f453b98b
JM
260682012-03-13 Joseph Myers <joseph@codesourcery.com>
26069
26070 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26071 manipulate bits before adding and subtracting TWO52[sx].
26072 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26073 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26074 Likewise.
26075 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26076
09a3453f
DM
260772012-03-13 David S. Miller <davem@davemloft.net>
26078
8e59da90
DM
26079 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26080 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26082 rtld-global-offsets.h
26083 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26084
2a8ab7f2
DM
26085 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26086 large parameters.
26087
10f62770
DM
26088 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26089
5f0bdb18
DM
26090 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26091 'err' in the ifdef scope in which it is actually used.
26092
09a3453f
DM
26093 * nss/nss_db/db-init.c: Include string.h
26094
b4b2eb5e
DM
260952012-03-12 David S. Miller <davem@davemloft.net>
26096
98bb2f1c
DM
26097 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26098 masking out of the most significant byte of random value used.
26099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26100 Fix coding style in previous change.
26101
b4b2eb5e
DM
26102 * sysdeps/unix/sysv/linux/kernel-features.h
26103 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26104 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26105 expression.
26106 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26107 later.
26108
6e226b09
DM
261092012-03-11 David S. Miller <davem@davemloft.net>
26110
a1bcbd40
DM
26111 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26112 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26113 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26114 for 'resultvar' otherwise things get truncated on 64-bit.
26115
cb9d6174
DM
26116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26117 Fix masking out of the most significant byte of random value used.
26118
6e226b09
DM
26119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26120
058c132d
AS
261212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26122
26123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26124
2d2cd515
DM
261252012-03-09 David S. Miller <davem@davemloft.net>
26126
26127 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26128 variables with appropriate CPP guards.
26129 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26130 frame pointer, not the stack pointer. Correct layout comments. Fix test
26131 on resulting framesize and the management of the outregs buffer for pltexit.
26132 Preserve floating point return values across _dl_call_pltexit call.
26133 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26134 framesize and the management of the outregs buffer for pltexit.
26135 Preserve floating point return values across _dl_call_pltexit
26136 call.
26137 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26138 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26139 (print_exit): Fix format string for return register value.
26140
9a07f9d0
JM
261412012-03-10 Joseph Myers <joseph@codesourcery.com>
26142
26143 * sunrpc/Makefile (others): Add rpcgen.
26144 ($(objpfx)rpcgen): Remove special build rule and dependency on
26145 libc.
26146 * sunrpc/rpcgen.c: New file.
26147
547b5e30
PE
261482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26149
c524201a
PE
26150 [BZ #13673]
26151 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26152 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26153 * sysdeps/i386/crti.S: Likewise.
26154 * sysdeps/i386/crtn.S: Likewise.
26155 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26156 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26159 * sysdeps/sh/crti.S: Likewise.
26160 * sysdeps/sh/crtn.S: Likewise.
26161 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26162
7b6235f2
PE
26163 [BZ #13673]
26164 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26165 with URL.
26166 * locale/programs/locfile-kw.gperf: Likewise.
26167 * locale/programs/charmap-kw.h: Regenerated.
26168 * locale/programs/locfile-kw.h: Likewise.
26169
547b5e30
PE
26170 [BZ #13673]
26171 * intl/plural.y: Replace FSF snail mail address with URL.
26172 * intl/plural.c: Regenerated.
26173
5f0a5dae
RH
261742012-03-09 Richard Henderson <rth@twiddle.net>
26175
26176 * include/math_private.h: Remove file.
26177 * math/math_private.h: Move file ...
26178 * sysdeps/generic/math_private.h: ... here.
26179
b8c03620
RH
26180 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26181 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26182 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26183
4e234f5d 26184 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26185 and <math_private.h>.
26186 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26187 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26188 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26189 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26190 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26264 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26265 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26266 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26268 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26269 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26273 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26274 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26275 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26276 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26277 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26279 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26280 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26281 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26282 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26283 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26284 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26285 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26286 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26287 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26288 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26289 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26291 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26292 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26293 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26294 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26295 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26296 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26297 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26298 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26299 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26300 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26301 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26302 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26303 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26304 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26305 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26306 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26307 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26308 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26309 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26310 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26311 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26312 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26313 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26314 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26315 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26316 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26317 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26318 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26319 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26320 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26321 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26322 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26323 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26324 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26325 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26326 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26327 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26328 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26329 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26330 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26331 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26332 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26333 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26334 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26335 * sysdeps/ieee754/k_standard.c: Likewise.
26336 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26371 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26372 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26373 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26374 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26376 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26377 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26378 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26379 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26381 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26382 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26383 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26389 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26390 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26391 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26392 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26393 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26396 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26400 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26401 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26404 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26406 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26408 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26409 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26410 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26413 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26415 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26416 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26417 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26418 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26420 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26421 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26422 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26423 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26427 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26428 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26439 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26440 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26451 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26455 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26456 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26457 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26458 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26459 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26460 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26461 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26462 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26463 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26466 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26467 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26468 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26470 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26471 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26472 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26473 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26476 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26484 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26485 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26486 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26489 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26490 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26492 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26493 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26494 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26496 * sysdeps/ieee754/s_lib_version.c: Likewise.
26497 * sysdeps/ieee754/s_matherr.c: Likewise.
26498 * sysdeps/ieee754/s_signgam.c: Likewise.
26499 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26500 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26501 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26502 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26503 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26504 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26505 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26506 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26507 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26508 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26509 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26510 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26511 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26512 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26513 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26514 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26516 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26517 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26518 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26520
1991fa03
JM
265212012-03-09 Joseph Myers <joseph@codesourcery.com>
26522
26523 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26524 * sunrpc/rpc_main.c: Likewise.
26525 * sunrpc/rpc_svcout.c: Likewise.
26526
60d6f5a6
DM
265272012-03-09 David S. Miller <davem@davemloft.net>
26528
26529 * include/math_private.h: New file.
26530
4962050e
JM
265312012-03-09 Joseph Myers <joseph@codesourcery.com>
26532
02a6f887
JM
26533 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26534 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26535 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26536 from <bits/socket_type.h>.
26537 (enum __socket_type): Don't define here.
26538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26540 bits/socket_type.h.
26541
c6e013c1
JM
26542 [BZ #13566]
26543 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26544 checking __USE_GNU.
26545
4962050e
JM
26546 * Makerules ($(inst_includedir)/%.h): New rule.
26547 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26548 (install-others): Remove variable setting.
26549 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26550
38842f45
RH
265512012-03-08 Richard Henderson <rth@twiddle.net>
26552
67bb6da6
RH
26553 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26554 from macro to inline function; merge with the
26555 !__LIBC_INTERNAL_MATH_INLINES version.
26556 (__ieee754_sqrtf): Likewise.
26557
15194b4b
RH
26558 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26559 to inline function.
26560 (__rintf, __floor, __floorf): Likewise.
26561
64e21ede
RH
26562 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26563 macro to inline function.
26564 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26565
38842f45
RH
26566 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26567 not <math/math_private.h>.
26568
c64bf5fe
DM
265692012-03-08 David S. Miller <davem@davemloft.net>
26570
26571 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26572 copyright year.
26573 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26574
82d86f28
TS
265752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26576
26577 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26578 normalization.
26579 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26580 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26581
aea5d727
UD
265822012-03-08 Ulrich Drepper <drepper@gmail.com>
26583
26584 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26585 be defined individually, they must be defined as a block. Define
26586 S for printing a string instead of hidint the different by using a
26587 macro for adding the 'l'.
26588 * stdio-common/tst-fphex-wide.c: Adjust.
26589
70bca0a3
MP
265902012-03-07 Marek Polacek <polacek@redhat.com>
26591
26592 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26593
65b81130
MP
265942012-03-08 Marek Polacek <polacek@redhat.com>
26595
26596 [BZ #13806]
26597 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26598 * stdio-common/tst-fphex.c: Define a few macros to make the
26599 test reusable. Use them.
26600 * stdio-common/tst-fphex-wide.c: New file.
26601
07037eeb
JM
266022012-03-08 Joseph Myers <joseph@codesourcery.com>
26603
a7a93d50
JM
26604 [BZ #6911]
26605 * manual/macros.texi (gnusystems): New macro.
26606 (nongnusystems): Likewise.
26607 (gnulinuxhurdsystems): Likewise.
26608 (gnuhurdsystems): Likewise..
26609 (gnulinuxsystems): Likewise.
26610 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26611 variants of the GNU system, not "GNU system".
26612 * manual/conf.texi: Likewise.
26613 * manual/errno.texi: Likewise. Update example of errno macro
26614 expansion.
26615 * manual/filesys.texi: Likewise.
26616 (getumask): Document as specific to GNU/Hurd.
26617 * manual/install.texi: Likewise. Reword some references to
26618 GNU/Linux.
26619 * manual/intro.texi: Likewise.
26620 * manual/io.texi: Likewise.
26621 (File Name Portability): Detail which constraints are inapplicable
26622 to all GNU systems and which are only inapplicable to GNU/Hurd.
26623 * manual/job.texi: Likewise.
26624 * manual/llio.texi: Likewise.
26625 (O_NOCTTY): Document as present on GNU/Linux.
26626 * manual/maint.texi: Likewise.
26627 * manual/memory.texi: Likewise.
26628 * manual/pattern.texi: Likewise.
26629 * manual/pipe.texi: Likewise.
26630 * manual/process.texi: Likewise.
26631 * manual/resource.texi: Likewise.
26632 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26633 child on GNU/Hurd.
26634 * manual/setjmp.texi: Likewise.
26635 * manual/signal.texi: Likewise.
26636 * manual/startup.texi: Likewise.
26637 * manual/stdio.texi: Likewise.
26638 * manual/terminal.texi: Likewise.
26639 (ONLCR): Document as POSIX.
26640 (OXTABS): Document availability on GNU/Linux as XTABS.
26641 (ONOEOT): Document availability separately from other bits.
26642 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26643 * manual/time.texi: Likewise.
26644 * manual/users.texi: Likewise.
26645 * INSTALL: Regenerated.
26646 * sysdeps/gnu/errlist.c: Regenerated.
26647
07037eeb
JM
26648 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26649 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26650 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26651 puts.
26652 * configure: Regenerated.
26653
d1d3431a
JM
266542012-03-07 Joseph Myers <joseph@codesourcery.com>
26655
af6a1e37
JM
26656 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26657 default includes instead of AC_HEADER_CHECK.
26658 * sysdeps/i386/configure: Regenerated.
26659
d1d3431a
JM
26660 [BZ #10716]
26661 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26662 * math/s_cacoshf.c (__cacoshf): Likewise.
26663 * math/s_cacoshl.c (__cacoshl): Likewise.
26664 * math/s_casinh.c (__casinh): Set signs of result from argument.
26665 * math/s_casinhf.c (__casinhf): Likewise.
26666 * math/s_casinhl.c (__casinhl): Likewise.
26667 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26668 (casinh_test): Add more tests.
26669 * sysdeps/i386/fpu/libm-test-ulps: Update.
26670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26671
482ff4da
UD
266722012-03-07 Ulrich Drepper <drepper@gmail.com>
26673
872fda05
UD
26674 * po/zh_TW.po: Update from translation team.
26675
a4300c7a
UD
26676 * login/Makefile (distribute): Remove variable.
26677 * catgets/Makefile: Likewise.
26678 * mach/Makefile: Likewise.
26679 * malloc/Makefile: Likewise.
26680 * misc/Makefile: Likewise.
26681 * iconv/Makefile: Likewise.
26682 * nscd/Makefile: Likewise.
26683 * hurd/Makefile: Likewise.
26684 * manual/Makefile: Likewise.
26685 * locale/Makefile: Likewise.
26686 * intl/Makefile: Likewise.
26687 * conform/Makefile: Likewise.
26688 * nss/Makefile: Likewise.
26689 * time/Makefile: Likewise.
26690 * soft-fp/Makefile: Likewise.
26691 * dirent/Makefile: Likewise.
26692 * gmon/Makefile: Likewise.
26693 * po/Makefile: Likewise.
26694 * rt/Makefile: Likewise.
26695 * socket/Makefile: Likewise.
26696 * math/Makefile: Likewise.
26697 * signal/Makefile: Likewise.
26698 * debug/Makefile: Likewise.
26699 * elf/Makefile: Likewise.
26700 * timezone/Makefile: Likewise.
26701 * stdlib/Makefile: Likewise.
26702 * iconvdata/Makefile: Likewise.
26703 * sunrpc/Makefile: Likewise.
26704 * io/Makefile: Likewise.
26705 * argp/Makefile: Likewise.
26706 * inet/Makefile: Likewise.
26707 * hesiod/Makefile: Likewise.
26708 * grp/Makefile: Likewise.
26709 * csu/Makefile: Likewise.
26710 * wctype/Makefile: Likewise.
26711 * crypt/Makefile: Likewise.
26712 * libio/Makefile: Likewise.
26713 * string/Makefile: Likewise.
26714 * nis/Makefile: Likewise.
26715 * resolv/Makefile: Likewise.
26716 * stdio-common/Makefile: Likewise.
26717 * wcsmbs/Makefile: Likewise.
26718 * dlfcn/Makefile: Likewise.
26719 * posix/Makefile: Likewise.
26720
3b7c4e74 26721 [BZ #6959]
482ff4da
UD
26722 * timezone/Makefile: Don't install timezone files, just the programs
26723 and scripts.
26724
f72ed77d
UD
267252012-03-06 Ulrich Drepper <drepper@gmail.com>
26726
a000466f
UD
26727 * nss/databases.def: Add missing gshadow entry.
26728
f72ed77d
UD
26729 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26730
a53b7a4e
MP
267312012-03-06 Marek Polacek <polacek@redhat.com>
26732
26733 [BZ #13726]
26734 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26735 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26736 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26737 * stdio-common/tst-long-dbl-fphex.c: New file.
26738
e9258400
DM
267392012-03-06 David S. Miller <davem@davemloft.net>
26740
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26742 (set_obp_int): New function.
26743 (get_obp_int): New function.
26744 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26746 Avoid unused variable warnings on 'val' and use builtin_expect.
26747 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26748 __builtin_expect.
e9258400
DM
26749 (INLINE_CLONE_SYSCALL): Likewise.
26750
3bd2c723
DM
267512012-03-05 David S. Miller <davem@davemloft.net>
26752
26753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26754
bbb78d03
AS
267552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26756
884c5db4
AS
26757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26758
bbb78d03
AS
26759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26760 only for |x| >= 40.
26761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26762
1c9f702a 267632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26764
26765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26766 Replace gettimeofday with __vdso_gettimeofday.
26767
7be16f82
RM
26768 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26769 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26770 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26771
26772 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26773 time with __vdso_time.
26774
ed58a00f
JM
267752012-03-05 Joseph Myers <joseph@codesourcery.com>
26776
26777 * manual/lang.texi (size_t): Note types to which size_t may be
26778 equivalent with the GNU C Library, but do not describe when
26779 differences between them are significant.
26780
30ee4ced
AJ
267812012-03-05 Andreas Jaeger <aj@suse.de>
26782
26783 * sysdeps/i386/fpu/libm-test-ulps: Update.
26784
b7cd39e8
JM
267852012-03-05 Joseph Myers <joseph@codesourcery.com>
26786
26787 [BZ #3976]
26788 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26789 (__ieee754_pow): Save and restore rounding mode and use
26790 round-to-nearest for main computations.
26791 * math/libm-test.inc (pow_test_tonearest): New function.
26792 (pow_test_towardzero): Likewise.
26793 (pow_test_downward): Likewise.
26794 (pow_test_upward): Likewise.
26795 (main): Call the new functions.
26796 * sysdeps/i386/fpu/libm-test-ulps: Update.
26797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26798
26799 [BZ #3976]
26800 * math/libm-test.inc (cosh_test_tonearest): New function.
26801 (cosh_test_towardzero): Likewise.
26802 (cosh_test_downward): Likewise.
26803 (cosh_test_upward): Likewise.
26804 (sinh_test_tonearest): Likewise.
26805 (sinh_test_towardzero): Likewise.
26806 (sinh_test_downward): Likewise.
26807 (sinh_test_upward): Likewise.
26808 (main): Call the new functions.
26809 * sysdeps/i386/fpu/libm-test-ulps: Update.
26810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811
6c6a98c9
TV
268122012-03-05 Tom de Vries <tom@codesourcery.com>
26813
26814 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26815 default stack guard is set in last bytes.
26816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26817
21bb2d2e 268182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26819
21bb2d2e 26820 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26821
21bb2d2e
AJ
26822 [BZ #13656]
26823 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26824 possibly allocate from heap instead of stack.
26825 * stdio-common/bug-vfprintf-nargs.c: New file.
26826 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26827
c6922934
AS
268282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26829
26830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26831
bc957d53
MP
268322012-03-03 Marek Polacek <polacek@redhat.com>
26833
26834 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26835 * math/math_private.h: Likewise.
26836 * stdlib/tst-strtod.c: Likewise.
26837 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26838 * sysdeps/x86_64/bits/atomic.h: Likewise.
26839
6358490d
DM
268402012-03-02 David S. Miller <davem@davemloft.net>
26841
26842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26846 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26847 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26848 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26849 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26850
01ae168d
RM
268512012-03-02 Roland McGrath <roland@hack.frob.com>
26852
d9a17c07
RM
26853 [BZ #13792]
26854 * manual/examples/README: New file, says the example source files
26855 can be used under GPL>=2.
26856 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26857 line containing just "*/".
26858 * manual/examples/add.c: Add copyright header (GPL>=2).
26859 * manual/examples/argp-ex1.c: Likewise.
26860 * manual/examples/argp-ex2.c: Likewise.
26861 * manual/examples/argp-ex3.c: Likewise.
26862 * manual/examples/argp-ex4.c: Likewise.
26863 * manual/examples/atexit.c: Likewise.
26864 * manual/examples/db.c: Likewise.
26865 * manual/examples/dir.c: Likewise.
26866 * manual/examples/dir2.c: Likewise.
26867 * manual/examples/execinfo.c: Likewise.
26868 * manual/examples/filecli.c: Likewise.
26869 * manual/examples/filesrv.c: Likewise.
26870 * manual/examples/fmtmsgexpl.c: Likewise.
26871 * manual/examples/genpass.c: Likewise.
26872 * manual/examples/inetcli.c: Likewise.
26873 * manual/examples/inetsrv.c: Likewise.
26874 * manual/examples/isockad.c: Likewise.
26875 * manual/examples/longopt.c: Likewise.
26876 * manual/examples/memopen.c: Likewise.
26877 * manual/examples/memstrm.c: Likewise.
26878 * manual/examples/mkfsock.c: Likewise.
26879 * manual/examples/mkisock.c: Likewise.
26880 * manual/examples/mygetpass.c: Likewise.
26881 * manual/examples/pipe.c: Likewise.
26882 * manual/examples/popen.c: Likewise.
26883 * manual/examples/rprintf.c: Likewise.
26884 * manual/examples/search.c: Likewise.
26885 * manual/examples/select.c: Likewise.
26886 * manual/examples/setjmp.c: Likewise.
26887 * manual/examples/sigh1.c: Likewise.
26888 * manual/examples/sigusr.c: Likewise.
26889 * manual/examples/stpcpy.c: Likewise.
26890 * manual/examples/strdupa.c: Likewise.
26891 * manual/examples/strftim.c: Likewise.
26892 * manual/examples/strncat.c: Likewise.
26893 * manual/examples/subopt.c: Likewise.
26894 * manual/examples/swapcontext.c: Likewise.
26895 * manual/examples/termios.c: Likewise.
26896 * manual/examples/testopt.c: Likewise.
26897 * manual/examples/testpass.c: Likewise.
26898 * manual/examples/timeval_subtract.c: Likewise.
26899
01ae168d
RM
26900 [BZ #13792]
26901 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26902 function to ...
26903 * manual/timeval_subtract.c.texi: ... here, new file.
26904
49efa33d
DM
269052012-03-02 David S. Miller <davem@davemloft.net>
26906
26907 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26908
28afd92d
JM
269092012-03-02 Joseph Myers <joseph@codesourcery.com>
26910
804360ed
JM
26911 [BZ #3976]
26912 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26913 (__sin): Save and restore rounding mode and use round-to-nearest
26914 for all computations.
26915 (__cos): Save and restore rounding mode and use round-to-nearest
26916 for all computations.
26917 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26918 <fenv.h>.
26919 (tan): Save and restore rounding mode and use round-to-nearest for
26920 all computations.
26921 * math/libm-test.inc (cos_test_tonearest): New function.
26922 (cos_test_towardzero): Likewise.
26923 (cos_test_downward): Likewise.
26924 (cos_test_upward): Likewise.
26925 (sin_test_tonearest): Likewise.
26926 (sin_test_towardzero): Likewise.
26927 (sin_test_downward): Likewise.
26928 (sin_test_upward): Likewise.
26929 (tan_test_tonearest): Likewise.
26930 (tan_test_towardzero): Likewise.
26931 (tan_test_downward): Likewise.
26932 (tan_test_upward): Likewise.
26933 (main): Call the new functions.
26934 * sysdeps/i386/fpu/libm-test-ulps: Update.
26935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26936
a6d06d7b
JM
26937 [BZ #10135]
26938 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26939 small n, then large n, before computing and testing k+n.
26940 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26941 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26942 Likewise.
26943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26944 Likewise.
26945 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26946 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26948 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26949 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26950 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26953 * math/libm-test.inc (scalbn_test): Add more tests.
26954 (scalbln_test): Likewise.
26955
07e12bb3
JM
26956 * manual/filesys.texi (mode_t): Describe constraints on size and
26957 signedness, not exact equivalence to a particular type.
26958 (ino_t): Likewise.
26959 (ino64_t): Likewise.
26960 (dev_t): Likewise.
26961 (nlink_t): Likewise.
26962 (blkcnt_t): Likewise.
26963 (blkcnt64_t): Likewise.
26964 * manual/llio.texi (off_t): Likewise.
26965
28afd92d
JM
26966 [BZ #3976]
26967 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26968 (__ieee754_exp): Save and restore rounding mode and use
26969 round-to-nearest for all computations.
26970 * math/libm-test.inc (exp_test_tonearest): New function.
26971 (exp_test_towardzero): Likewise.
26972 (exp_test_downward): Likewise.
26973 (exp_test_upward): Likewise.
26974 (main): Call the new functions.
26975 * sysdeps/i386/fpu/libm-test-ulps: Update.
26976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26977
b1eeb65d
CD
269782012-03-01 Chris Demetriou <cgd@google.com>
26979
26980 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26981 have predictable order.
26982
53362a4b
DM
269832012-03-01 David S. Miller <davem@davemloft.net>
26984
3c969083
DM
26985 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26986
759707de
DM
26987 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26988 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26989 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26990 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26991
dfdb8ff2
DM
26992 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26993 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26994 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26996 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26997 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26998 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26999 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27000 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27001
ead89f96
DM
27002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27003
7f66bd07
DM
27004 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27005 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27006 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27007
53362a4b
DM
27008 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27009 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27010 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27011 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27012 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27015 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27016 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27017 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27018 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27019 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27022 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27024 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27025 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27026 * sysdeps/sparc/elf/configure: Regenerated.
27027
7b1902cb
JM
270282012-03-01 Joseph Myers <joseph@codesourcery.com>
27029
bec039bc
JM
27030 * configure.in (AS, LD): Require binutils 2.20 or later.
27031 * configure: Regenerated.
27032 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27033 as required minimum version.
27034 * INSTALL: Regenerated.
27035
7b1902cb
JM
27036 [BZ #2541]
27037 [BZ #4108]
27038 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27039 before squaring exponent.
27040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27041 bottom long double and 27 bits of top long double before squaring
27042 exponent.
27043 * math/libm-test.inc (erfc_test): Add more tests.
27044 * sysdeps/i386/fpu/libm-test-ulps: Update.
27045 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27047
f775c276
KT
270482012-03-01 Kai Tietz <ktietz@redhat.com>
27049
27050 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27051 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27052 containing bit-fields.
27053 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27054 * soft-fp/single.h (_FP_UNION_S): Likewise.
27055 * soft-fp/double.h (_FP_UNION_D): Likewise.
27056
5b8a4d4a
JM
270572012-02-29 Joseph Myers <joseph@codesourcery.com>
27058
0bab47b6
JM
27059 [BZ #13786]
27060 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27061 not include ../strcmp.S.
27062 [USE_AS_STRNCASECMP_L]: Likewise.
27063 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27064 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27065 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27066 (__strncasecmp_l_ia32): Define as alias to
27067 __strncasecmp_l_nonascii.
27068
0fcad3e2
JM
27069 [BZ #5794]
27070 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27071 * sysdeps/i386/fpu/libm-test-ulps: Update.
27072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27073
5b8a4d4a
JM
27074 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27076
8fdceb2e
JL
270772012-02-29 Jeff Law <law@redhat.com>
27078
27079 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27080 out of bounds read.
27081
1f393a11
MP
270822012-02-29 Marek Polacek <polacek@redhat.com>
27083
27084 [BZ #13706]
27085 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27086 * elf/Makefile: Add rules to run tst-unused-dep.out.
27087
8847f037
DM
270882012-02-28 David S. Miller <davem@davemloft.net>
27089
27090 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27091 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27092 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27093 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27094 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27095 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27096
169d7f11
JM
270972012-02-29 Joseph Myers <joseph@codesourcery.com>
27098
27099 * math/libm-test.inc (llround_test): Move one test from
27100 lround_test. Use TEST_f_L in moved test.
27101 (lround_test): Move misplaced test to llround_test. Add testcase
27102 from bug 2561.
27103
39adf059
UD
271042012-02-28 Ulrich Drepper <drepper@gmail.com>
27105
27106 * sysdeps/x86_64/fpu/e_expf.S: New file.
27107 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27108
71b5d1c5
SB
271092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27110
27111 [BZ #13637]
27112 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27113 of remain_len that may cause incomplete multi-byte character and
27114 false match.
27115 * posix/bug-regex33.c: New file.
27116 * posix/Makefile (tests): Add bug-regex33.
27117
1f77f049
JM
271182012-02-28 Joseph Myers <joseph@codesourcery.com>
27119
27120 * manual/macros.texi: New file.
27121 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27122 * manual/libc.texinfo: Include macros.texi.
27123 * manual/creatute.texi: Likewise.
27124 * manual/install.texi: Likewise.
27125 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27126 @glibcadj{} in references to the GNU C Library.
27127 * manual/charset.texi: Likewise.
27128 * manual/conf.texi: Likewise.
27129 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27130 when not using those macros.
27131 * manual/creature.texi: Likewise.
27132 * manual/crypt.texi: Likewise.
27133 * manual/errno.texi: Likewise.
27134 * manual/filesys.texi: Likewise.
27135 * manual/header.texi: Likewise.
27136 * manual/install.texi: Likewise.
27137 * manual/intro.texi: Likewise.
27138 * manual/io.texi: Likewise.
27139 * manual/job.texi: Likewise.
27140 * manual/lang.texi: Likewise.
27141 * manual/libc.texiinfo: Likewise.
27142 * manual/llio.texi: Likewise.
27143 * manual/locale.texi: Likewise.
27144 * manual/maint.texi: Likewise.
27145 * manual/math.texi: Likewise.
27146 * manual/memory.texi: Likewise.
27147 * manual/message.texi: Likewise.
27148 * manual/nss.texi: Likewise.
27149 * manual/pattern.texi: Likewise.
27150 * manual/process.texi: Likewise.
27151 * manual/resource.texi: Likewise.
27152 * manual/search.texi: Likewise.
27153 * manual/setjmp.texi: Likewise.
27154 * manual/signal.texi: Likewise.
27155 * manual/socket.texi: Likewise.
27156 * manual/startup.texi: Likewise.
27157 * manual/stdio.texi: Likewise.
27158 * manual/string.texi: Likewise.
27159 * manual/sysinfo.texi: Likewise.
27160 * manual/syslog.texi: Likewise.
27161 * manual/terminal.texi: Likewise.
27162 * manual/time.texi: Likewise.
27163 * manual/users.texi: Likewise.
27164 * INSTALL: Regenerated.
27165 * NOTES: Regenerated.
d40c5d54 27166 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27167
450bf206
AS
271682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27169
27170 * include/dirent.h: Include <dirstream.h> before
27171 <dirent/dirent.h>.
27172
741a235b
DM
271732012-02-28 David S. Miller <davem@davemloft.net>
27174
27175 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27176 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27177 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27178 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27179
d6b5aa58
DM
271802012-02-27 David S. Miller <davem@davemloft.net>
27181
1aff59a3
DM
27182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27184 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27185 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27186
d6b5aa58
DM
27187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27188 frame pointer instead of stack pointer relative arg slot.
27189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27192
433f48bf
CD
271932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27194
27195 [BZ #3992]
27196 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27197
d674b76d
DM
271982012-02-27 David S. Miller <davem@davemloft.net>
27199
27200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27204 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27205 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27206 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27207 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27208
0e7727f7
JM
272092012-02-27 Joseph Myers <joseph@codesourcery.com>
27210
27211 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27212 later. Allow versions 5-9.
43be4ca2 27213 * configure: Regenerated.
0e7727f7
JM
27214 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27215 required minimum version and 4.6 as recommended version. Do not
27216 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27217 * INSTALL: Regenerated.
0e7727f7 27218
a78bc654
DM
272192012-02-27 David S. Miller <davem@davemloft.net>
27220
428d5830
DM
27221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27225 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27226 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27227 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27228 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27229
a78bc654
DM
27230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27231 manipulate bits before adding and subtracting TWO112[sx].
27232 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27233
4579f81c
RM
272342012-02-27 Roland McGrath <roland@hack.frob.com>
27235
36c8acb4
RM
27236 [BZ #13775]
27237 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27238 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27239 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27240 being in POSIX, because they are in 1003.1-2008.
27241
84ad622b
RM
27242 * rt/tst-aio.c: Include <fcntl.h>.
27243 * rt/tst-aio7.c: Likewise.
27244 * rt/tst-aio64.c: Likewise.
27245
4579f81c
RM
27246 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27247
abd923db
JM
272482012-02-27 Joseph Myers <joseph@codesourcery.com>
27249
27250 * manual/install.texi (--with-headers): Describe headers as
27251 interface headers, not private headers.
27252 (Specific advice for GNU/Linux systems): Describe use of headers
27253 from "make headers_install", not private headers from older
27254 kernels.
43be4ca2 27255 * INSTALL: Regenerated.
abd923db
JM
27256 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27257 Change to 2.6.19.
27258 * sysdeps/unix/sysv/linux/configure: Regenerated.
27259
6664049b
JM
27260 * manual/llio.texi (fclean): Remove documentation.
27261
bb8b6697
JM
27262 * manual/Makefile (libc-texi-generated): New variable. Include
27263 version.texi.
27264 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27265 $(libc-texi-generated), not duplicated list of files.
27266 (version.texi, stamp-version): New rules.
27267 (realclean): Remove $(libc-texi-generated), not individual files
27268 from that list. Do not remove dir-add.texinfo.
27269 * manual/libc.texinfo: Comment out uses of edition numbers and
27270 references to printed manual. Remove last-updated dates.
27271 (EDITION): Comment out.
27272 (ISBN): Likewise.
27273 (VERSION, UPDATED): Remove.
27274 (version.texi): Include.
27275
12e5c3b9
AS
272762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27277
27278 * sysdeps/posix/spawni.c: Include <signal.h>.
27279 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27280 * sysdeps/pthread/aio_fsync.c: Likewise.
27281
4efeffc1 272822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27283
ba63ba08
UD
27284 * conform/Makefile (tests): Run only when not cross-compiling and
27285 when fast-check is not defined.
27286
d94a4670
UD
27287 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27288 * conform/data/limits.h-data: Fixes for POSIX2008.
27289 * conform/run-conformtest.sh: Run all tests.
27290 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27291 headers.
27292 * include/bits/dlfcn.h: Likewise.
27293 * include/langinfo.h: Likewise.
27294 * include/monetary.h: Likewise.
27295 * include/sys/poll.h: Likewise.
27296
27297 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27298 for __USE_GNU.
27299 * posix/spawn.h: Define __need_sigset_t.
27300 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27301 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27302 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27303 to get sigevent_t only.
27304 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27305 only for __USE_GNU.
27306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27307 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27308 process_vm_writev only for __USE_GNU.
27309 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27310
27311 * conform/Makefile: For now ignore errors from run-conformtest.
27312 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27313 POSIX to avoid namespace pollution. Don't prepend headers.
27314 * conform/data/aio.h-data: Fixes for POSIX testing.
27315 * conform/data/fcntl.h-data: Likewise.
27316 * conform/data/glob.h-data: Likewise.
27317 * conform/data/grp.h-data: Likewise.
27318 * conform/data/pthread.h-data: Likewise.
27319 * conform/data/pwd.h-data: Likewise.
27320 * conform/data/signal.h-data: Likewise.
27321 * conform/data/spawn.h-data: Likewise.
27322 * conform/data/stdio.h-data: Likewise.
27323 * conform/data/stdlib.h-data: Likewise.
27324 * conform/data/stropts.h-data: Likewise.
27325 * conform/data/sys/mman.h-data: Likewise.
27326 * conform/data/sys/stat.h-data: Likewise.
27327 * conform/data/sys/types.h-data: Likewise.
27328 * conform/data/sys/wait.h-data: Likewise.
27329 * conform/data/time.h-data: Likewise.
27330 * conform/data/unistd.h-data: Likewise.
27331 * conform/data/utime.h-data: Likewise.
27332
27333 * io/sys/stat.h: fchmod was always in POSIX.
27334 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27335 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27336 * rt/aio.h: Define __need_timespec before including <time.h>.
27337 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27338 struct. Add forward declaration of pthread_attr_t and use it in
27339 sigevent.
27340 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27342 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27343 always remove CLK_TCK definition.
27344
c20105c3
AS
273452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27346
27347 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27348
7a270350
UD
273492012-02-25 Ulrich Drepper <drepper@gmail.com>
27350
31341567
UD
27351 * conform/run-conformtest.sh: New file.
27352 * conform/Makefile: Run run-conformtest for tests.
27353 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27354 support.
27355
27356 * conform/data/uchar.h-data: New file.
27357 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27358 * conform/data/arpa/inet.h-data: Likewise.
27359 * conform/data/assert.h-data: Likewise.
27360 * conform/data/complex.h-data: Likewise.
27361 * conform/data/cpio.h-data: Likewise.
27362 * conform/data/ctype.h-data: Likewise.
27363 * conform/data/dirent.h-data: Likewise.
27364 * conform/data/dlfcn.h-data: Likewise.
27365 * conform/data/errno.h-data: Likewise.
27366 * conform/data/fcntl.h-data: Likewise.
27367 * conform/data/float.h-data: Likewise.
27368 * conform/data/fmtmsg.h-data: Likewise.
27369 * conform/data/fnmatch.h-data: Likewise.
27370 * conform/data/ftw.h-data: Likewise.
27371 * conform/data/glob.h-data: Likewise.
27372 * conform/data/grp.h-data: Likewise.
27373 * conform/data/iconv.h-data: Likewise.
27374 * conform/data/inttypes.h-data: Likewise.
27375 * conform/data/langinfo.h-data: Likewise.
27376 * conform/data/libgen.h-data: Likewise.
27377 * conform/data/limits.h-data: Likewise.
27378 * conform/data/locale.h-data: Likewise.
27379 * conform/data/math.h-data: Likewise.
27380 * conform/data/monetary.h-data: Likewise.
27381 * conform/data/mqueue.h-data: Likewise.
27382 * conform/data/ndbm.h-data: Likewise.
27383 * conform/data/net/if.h-data: Likewise.
27384 * conform/data/netdb.h-data: Likewise.
27385 * conform/data/netinet/in.h-data: Likewise.
27386 * conform/data/nl_types.h-data: Likewise.
27387 * conform/data/poll.h-data: Likewise.
27388 * conform/data/pthread.h-data: Likewise.
27389 * conform/data/pwd.h-data: Likewise.
27390 * conform/data/regex.h-data: Likewise.
27391 * conform/data/sched.h-data: Likewise.
27392 * conform/data/search.h-data: Likewise.
27393 * conform/data/semaphore.h-data: Likewise.
27394 * conform/data/setjmp.h-data: Likewise.
27395 * conform/data/signal.h-data: Likewise.
27396 * conform/data/spawn.h-data: Likewise.
27397 * conform/data/stdarg.h-data: Likewise.
27398 * conform/data/stdio.h-data: Likewise.
27399 * conform/data/stdlib.h-data: Likewise.
27400 * conform/data/string.h-data: Likewise.
27401 * conform/data/strings.h-data: Likewise.
27402 * conform/data/stropts.h-data: Likewise.
27403 * conform/data/sys/ipc.h-data: Likewise.
27404 * conform/data/sys/mman.h-data: Likewise.
27405 * conform/data/sys/msg.h-data: Likewise.
27406 * conform/data/sys/resource.h-data: Likewise.
27407 * conform/data/sys/select.h-data: Likewise.
27408 * conform/data/sys/sem.h-data: Likewise.
27409 * conform/data/sys/shm.h-data: Likewise.
27410 * conform/data/sys/socket.h-data: Likewise.
27411 * conform/data/sys/stat.h-data: Likewise.
27412 * conform/data/sys/statvfs.h-data: Likewise.
27413 * conform/data/sys/time.h-data: Likewise.
27414 * conform/data/sys/timeb.h-data: Likewise.
27415 * conform/data/sys/times.h-data: Likewise.
27416 * conform/data/sys/types.h-data: Likewise.
27417 * conform/data/sys/uio.h-data: Likewise.
27418 * conform/data/sys/un.h-data: Likewise.
27419 * conform/data/sys/utsname.h-data: Likewise.
27420 * conform/data/sys/wait.h-data: Likewise.
27421 * conform/data/syslog.h-data: Likewise.
27422 * conform/data/tar.h-data: Likewise.
27423 * conform/data/termios.h-data: Likewise.
27424 * conform/data/utime.h-data: Likewise.
27425 * conform/data/utmpx.h-data: Likewise.
27426 * conform/data/varargs.h-data: Likewise.
27427 * conform/data/wchar.h-data: Likewise.
27428 * conform/data/wctype.h-data: Likewise.
27429 * conform/data/wordexp.h-data: Likewise.
27430
27431 * include/stropts.h: New file.
27432 * include/uchar.h: New file.
27433 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27434 * include/assert.h: Likewise.
27435 * include/ctype.h: Likewise.
27436 * include/dirent.h: Likewise.
27437 * include/dlfcn.h: Likewise.
27438 * include/fcntl.h: Likewise.
27439 * include/fnmatch.h: Likewise.
27440 * include/glob.h: Likewise.
27441 * include/grp.h: Likewise.
27442 * include/libio.h: Likewise.
27443 * include/locale.h: Likewise.
27444 * include/math.h: Likewise.
27445 * include/net/if.h: Likewise.
27446 * include/netdb.h: Likewise.
27447 * include/netinet/in.h: Likewise.
27448 * include/pthread.h: Likewise.
27449 * include/pwd.h: Likewise.
27450 * include/regex.h: Likewise.
27451 * include/sched.h: Likewise.
27452 * include/search.h: Likewise.
27453 * include/setjmp.h: Likewise.
27454 * include/signal.h: Likewise.
27455 * include/stdio.h: Likewise.
27456 * include/stdlib.h: Likewise.
27457 * include/string.h: Likewise.
27458 * include/sys/cdefs.h: Likewise.
27459 * include/sys/mman.h: Likewise.
27460 * include/sys/msg.h: Likewise.
27461 * include/sys/resource.h: Likewise.
27462 * include/sys/select.h: Likewise.
27463 * include/sys/socket.h: Likewise.
27464 * include/sys/stat.h: Likewise.
27465 * include/sys/statvfs.h: Likewise.
27466 * include/sys/time.h: Likewise.
27467 * include/sys/times.h: Likewise.
27468 * include/sys/uio.h: Likewise.
27469 * include/sys/utsname.h: Likewise.
27470 * include/sys/wait.h: Likewise.
27471 * include/termios.h: Likewise.
27472 * include/time.h: Likewise.
27473 * include/ulimit.h: Likewise.
27474 * include/unistd.h: Likewise.
27475 * include/utime.h: Likewise.
27476 * include/wchar.h: Likewise.
27477 * include/wctype.h: Likewise.
27478 * include/wordexp.h: Likewise.
27479
27480 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27481
7a270350
UD
27482 * time/time.h: TIME_UTC must be a macro.
27483 Make timespec_get available for ISO C11 only as well.
27484
7724defc
UD
274852012-02-24 Ulrich Drepper <drepper@gmail.com>
27486
27487 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27488 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27489
6b1d1d46
JM
274902012-02-24 Joseph Myers <joseph@codesourcery.com>
27491
27492 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27493
0f8bbd69
JM
274942012-02-24 Joseph Myers <joseph@codesourcery.com>
27495
27496 * manual/texinfo.tex: Update to version 2012-01-19.16.
27497
66ab80bc
JM
274982012-02-24 Joseph Myers <joseph@codesourcery.com>
27499
27500 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27501
74981cc5
RM
275022012-02-24 Roland McGrath <roland@hack.frob.com>
27503
ee968201
RM
27504 [BZ #13738]
27505 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27506 * manual/fdl-1.3.texi: New file.
27507 * manual/fdl-1.1.texi: File removed.
27508
74981cc5
RM
27509 [BZ #13738]
27510 * manual/libc.texinfo (FDL_VERSION): New @set.
27511 Use it for mention of FDL in cover text.
27512 (Documentation License): Use it in @include file name.
27513
7bb764bc
JM
275142012-02-22 Joseph Myers <joseph@codesourcery.com>
27515 Roland McGrath <roland@hack.frob.com>
27516
27517 [BZ #5461]
27518 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27519 not LONG_LONG_MAX and LONG_LONG_MIN.
27520 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27521 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27522 name.
27523 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27524
6cbeae47
JM
275252012-02-22 Joseph Myers <joseph@codesourcery.com>
27526
27527 [BZ #2547]
27528 [BZ #11365]
27529 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27530 manipulate bits before adding and subtracting TWO23[sx].
27531 * math/libm-test.inc (nearbyint_test): Add more tests.
27532
fe45ce09
JM
275332012-02-22 Joseph Myers <joseph@codesourcery.com>
27534
27535 [BZ #2548]
27536 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27537 bits before adding and subtracting TWO23[sx].
27538 * math/libm-test.inc (rint_test): Add more tests.
27539 (rint_test_tonearest): Likewise.
27540 (rint_test_towardzero): Likewise.
27541 (rint_test_downward): Likewise.
27542 (rint_test_upward: Likewise.
27543
ff3b3d82
JM
275442012-02-22 Joseph Myers <joseph@codesourcery.com>
27545
27546 [BZ #10110]
27547 * include/stdc-predef.h: New file. Extracted from features.h.
27548 * include/features.h: Include stdc-predef.h.
27549 * Makefile (headers): Add stdc-predef.h.
27550 * CONFORMANCE (Compiler limitations): Update.
27551
ef0aab35
JM
275522012-02-22 Joseph Myers <joseph@codesourcery.com>
27553
27554 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27555
58639409
DM
275562012-02-21 David S. Miller <davem@davemloft.net>
27557
27558 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27559 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27560
c0e70b25
DM
275612012-02-20 David S. Miller <davem@davemloft.net>
27562
27563 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27564 using a normal save/restore sequence, rather than allocating a
27565 dummy stack frame just to store a frame pointer and restore.
27566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27567
fb06851d
JM
275682012-02-21 Joseph Myers <joseph@codesourcery.com>
27569
27570 * manual/install.texi: Fix stray word in line-wrapped comment.
27571
7a8b71c3
DM
275722012-02-20 David S. Miller <davem@davemloft.net>
27573
d510c123
DM
27574 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27575 both binutils and gcc support GOTDATA.
27576
0722d7c2
DM
27577 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27578 "rd %pc" in the PIC register setup sequences.
27579
3d2b3019
DM
27580 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27581 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27582 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27583 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27584 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27586 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27587 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27589 (SYSCALL_ERROR_HANDLER): Likewise.
27590 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27591 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27593 (SYSCALL_ERROR_HANDLER): Likewise.
27594
c80098a9
DM
27595 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27596 (HAVE_GCC_GOTDATA): New.
27597 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27598 relocation support in both binutils and gcc.
27599 * sysdeps/sparc/elf/configure: Regenerate.
27600
3a2545a0
DM
27601 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27602 * sysdeps/sparc/sparc32/elf/configure: Delete.
27603 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27604 * sysdeps/sparc/sparc64/elf/configure: Delete.
27605 * sysdeps/sparc/elf/configure.in: New file.
27606 * sysdeps/sparc/elf/configure: Generate.
27607
7a8b71c3
DM
27608 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27609 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27610 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27611 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27612 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27613
f1e86fca
JM
276142012-02-21 Joseph Myers <joseph@codesourcery.com>
27615
27616 * manual/install.texi: Do not mention specific glibc version
27617 numbers.
27618 * manual/libc.texinfo (VERSION, UPDATED): Update.
27619 (@copying): Use @copyright{} and range of years.
27620
0e7dfaef
JM
276212012-02-21 Joseph Myers <joseph@codesourcery.com>
27622
27623 [BZ #13695]
27624 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27625 [crti.S not in sysdirs] (generated): Do not append.
27626 [crti.S not in sysdirs] (omit-deps): Likewise.
27627 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27628 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27629 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27630 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27631 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27632 Likewise.
27633 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27634 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27635 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27636 * csu/defs.awk: Remove file.
27637 * sysdeps/generic/initfini.c: Likewise.
27638 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27639 variable.
27640 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27641 Likewise.
27642
599af3ca
JM
276432012-02-20 Joseph Myers <joseph@codesourcery.com>
27644
27645 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27646 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27647 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27648 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27649 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27650 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27651 <bits/epoll.h>.
27652 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27653 (__EPOLL_PACKED): Define to empty if not defined by
27654 <bits/epoll.h>.
27655 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27657 bits/epoll.h.
27658
0e499750
JM
276592012-02-20 Joseph Myers <joseph@codesourcery.com>
27660
27661 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27662 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27663 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27665 <bits/timerfd.h>.
27666 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27668 bits/timerfd.h.
27669
5ad91f6e
JM
276702012-02-20 Joseph Myers <joseph@codesourcery.com>
27671
27672 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27673 in C locale.
27674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27675 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27678
06b99b02
AJ
276792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27680
27681 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27682 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27683
7638c0fd
AS
276842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27685
27686 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27687 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27688 defined.
27689 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27690 Likewise.
27691 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27692 entry for 2.16.
27693
92221550
AJ
276942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27695
27696 * math/w_acos.c: Use non-signaling floating-point comparisons.
27697 * math/w_acosf.c: Likewise.
27698 * math/w_acosh.c: Likewise.
27699 * math/w_acoshf.c: Likewise.
27700 * math/w_acoshl.c: Likewise.
27701 * math/w_acosl.c: Likewise.
27702 * math/w_asin.c: Likewise.
27703 * math/w_asinf.c: Likewise.
27704 * math/w_asinl.c: Likewise.
27705 * math/w_atanh.c: Likewise.
27706 * math/w_atanhf.c: Likewise.
27707 * math/w_atanhl.c: Likewise.
27708 * math/w_exp2.c: Likewise.
27709 * math/w_exp2f.c: Likewise.
27710 * math/w_exp2l.c: Likewise.
27711 * math/w_j0.c: Likewise.
27712 * math/w_j0f.c: Likewise.
27713 * math/w_j0l.c: Likewise.
27714 * math/w_j1.c: Likewise.
27715 * math/w_j1f.c: Likewise.
27716 * math/w_j1l.c: Likewise.
27717 * math/w_jn.c: Likewise.
27718 * math/w_jnf.c: Likewise.
27719 * math/w_log.c: Likewise.
27720 * math/w_log10.c: Likewise.
27721 * math/w_log10f.c: Likewise.
27722 * math/w_log10l.c: Likewise.
27723 * math/w_log2.c: Likewise.
27724 * math/w_log2f.c: Likewise.
27725 * math/w_log2l.c: Likewise.
27726 * math/w_logf.c: Likewise.
27727 * math/w_logl.c: Likewise.
27728 * math/w_sqrt.c: Likewise.
27729 * math/w_sqrtf.c: Likewise.
27730 * math/w_sqrtl.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27734 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27736
ebaf36eb
JM
277372012-02-19 Joseph Myers <joseph@codesourcery.com>
27738
27739 [BZ #9739]
27740 * manual/string.texi (strnlen): Use correct parameter name in
27741 equivalent expression.
27742
71c254a6
JM
277432012-02-19 Joseph Myers <joseph@codesourcery.com>
27744
27745 [BZ #11174]
27746 * manual/users.texi (seteuid): Consistently use neweuid for
27747 argument name.
27748
16d2c631
JM
277492012-02-19 Joseph Myers <joseph@codesourcery.com>
27750
27751 [BZ #13704]
27752 * manual/nss.texi (Services in the NSS configuration): Correct
27753 list of services in example configuration file.
27754
cd837b09
NB
277552012-02-19 Nick Bowler <nbowler@draconx.ca>
27756
27757 [BZ #11322]
27758 * manual/arith.texi: Remove statements about negative zero
27759 behaving identically to zero.
27760
02c4bbad
JM
277612012-02-18 Joseph Myers <joseph@codesourcery.com>
27762
27763 [BZ #5993]
27764 * manual/install.texi: Do not document upgrading from libc5.
27765
366842e7
JM
277662012-02-18 Joseph Myers <joseph@codesourcery.com>
27767
27768 [BZ #4596]
27769 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27770
dd54084d
DM
277712012-02-18 David S. Miller <davem@davemloft.net>
27772
27773 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27774 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27775 %o7 across the call.
27776 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27777 instead.
27778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27779 SETUP_PIC_REG_LEAF.
27780 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27781 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27782 * sysdeps/sparc/crtn.S: Likewise.
27783
2bcc53a3
UD
277842012-02-17 Ulrich Drepper <drepper@gmail.com>
27785
27786 * aout/Makefile: Remove.
27787
09c093b5
RK
277882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27789
27790 [BZ #13058]
27791 * manual/examples/argp-ex1.c (main): Format definition in GNU
27792 style.
27793 * manual/examples/argp-ex2.c (main): Likewise.
27794 * manual/examples/argp-ex3.c (main): Likewise.
27795 * manual/examples/argp-ex4.c (main): Likewise.
27796 * manual/examples/longopt.c (main): Use new-style prototype
27797 definition.
27798 * manual/examples/strncat.c (main): Specify return type and use
27799 (void) for arguments.
27800 * manual/examples/subopt.c (main): Use char **argv argument.
27801
2ee633a2
JM
278022012-02-17 Joseph Myers <joseph@codesourcery.com>
27803
27804 [BZ #5077]
27805 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27806 rounding modes.
27807
0520adde
FB
278082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27809
27810 [BZ #6907]
27811 * manual/string.texi (strchr): Change when strchrnul is
27812 recommended.
27813
3f4081cd
DGM
278142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27815
27816 [BZ #174]
27817 * manual/locale.texi (setlocale): Document LOCPATH.
27818
d1b10e78
JM
278192012-02-17 Joseph Myers <joseph@codesourcery.com>
27820
27821 [BZ #10210]
27822 * manual/process.texi (execle): Move @dots{} before last argument.
27823
79c6869c
PB
278242012-02-17 Paul Bolle <pebolle@tiscali.nl>
27825
27826 [BZ #12047]
27827 * manual/charset.texi (Generic Charset Conversion): Fix typo
27828 (LC_TYPE -> LC_CTYPE).
27829
cc6e48bc
NB
278302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27831
27832 [BZ #5805]
27833 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27834 (scalbnf): Likewise.
27835 (scalbnl): Likewise.
27836 (scalbln): Likewise.
27837 (scalblnf): Likewise.
27838 (scalblnl): Likewise.
27839 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27840 (vwarnx): Likewise.
27841 (verr): Likewise.
27842 (verrx): Likewise.
27843 * manual/filesys.texi (telldir): Use braces around return type.
27844 * manual/llio.texi (mmap): Add space after comma.
27845 (mmap64): Likewise.
27846 * manual/math.texi (jn): Use @var{} on parameter names.
27847 (jnf): Likewise.
27848 (jnl): Likewise.
27849 (yn): Likewise.
27850 (ynf): Likewise.
27851 (ynl): Likewise.
27852 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27853 line.
27854 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27855 "...".
27856 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27857 (sched_get_priority_max): Likewise.
27858 * manual/signal.texi (sigvec): Add space after comma.
27859 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27860 names.
27861 (if_indextoname): Likewise.
27862 (if_freenameindex): Likewise.
27863 (sendto): Use ',' instead of '.' in prototype.
27864 * manual/startup.texi (syscall): Use @dots{} instead of literal
27865 "...".
27866 * manual/stdio.texi (__fpending): Separate initial words of
27867 paragraph from @deftypefun line.
27868 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27869 "...".
27870 (vsyslog): Use @var{} on parameter names.
27871 * manual/terminal.texi (stty): Use @var{} on parameter names.
27872 * manual/users.texi (getutmp): Use @var{} on parameter names.
27873 (getutmpx): Likewise.
27874
5b23062f
JM
278752012-02-17 Joseph Myers <joseph@codesourcery.com>
27876
27877 [BZ #6884]
27878 * manual/stdio.texi (fopen): Fix typos in description of
27879 ",ccs=STRING".
27880
8dee4833
AJ
278812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27882
27883 [BZ #4026]
27884 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27885 get clock_id definition.
27886
9078ce93
TS
278872012-02-17 Thomas Schwinge <thomas@schwinge.name>
27888
27889 [BZ #4822]
27890 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27891 (madvise): Cast every argument to void on its own.
27892
3835c55f
JM
278932012-02-17 Joseph Myers <joseph@codesourcery.com>
27894
27895 [BZ #9902]
27896 * manual/startup.texi (Exit Status): Fix typo.
27897
35c47e37
JM
278982012-02-17 Joseph Myers <joseph@codesourcery.com>
27899
27900 [BZ #10140]
27901 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27902 * manual/examples/argp-ex2.c: Likewise.
27903 * manual/examples/argp-ex3.c: Likewise.
27904
e3b69ca7
RH
279052012-02-16 Richard Henderson <rth@redhat.com>
27906
27907 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27908 * sysdeps/s390/s390-32/initfini.c: Remove.
27909 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27910 * sysdeps/s390/s390-64/initfini.c: Remove.
27911
df83af67
KK
279122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27913
27914 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27915 compiler output for sysdeps/generic/initfini.c.
27916 * sysdeps/sh/elf/initfini.c: Remove file.
27917
f63f3380
DM
279182012-02-16 David S. Miller <davem@davemloft.net>
27919
fb59b3a4
DM
27920 [BZ #11494]
27921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27922
f63f3380
DM
27923 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27924 * sysdeps/sparc/crti.S: New file.
27925 * sysdeps/sparc/crtn.S: New file.
27926 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27927 * sysdeps/sparc/sparc64/Makefile: Likewise.
27928
df6a4a4a
MF
279292012-02-15 Mike Frysinger <vapier@gentoo.org>
27930
6dd8f3dc 27931 [BZ #3335]
df6a4a4a
MF
27932 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27933
1cac7236
RM
279342012-02-15 Roland McGrath <roland@hack.frob.com>
27935
d2c736f8
RM
27936 [BZ #4822]
27937 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27938
1cac7236
RM
27939 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27940 (write, read, close): Likewise.
27941 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27942
8e475601
JM
279432012-02-15 Joseph Myers <joseph@codesourcery.com>
27944
27945 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27946 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27947 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27948 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27949 <bits/signalfd.h>.
27950 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27952 bits/signalfd.h.
27953
ed656b40
MP
279542012-02-14 Marek Polacek <polacek@redhat.com>
27955
27956 * sysdeps/x86_64/crti.S: New file.
27957 * sysdeps/x86_64/crtn.S: New file.
27958 * sysdeps/x86_64/elf/initfini.c: Remove file.
27959
2a979d3a
JM
279602012-02-13 Joseph Myers <joseph@codesourcery.com>
27961
27962 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27963 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27964 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27965 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27966 <bits/inotify.h>.
27967 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27969 bits/inotify.h.
27970
2a418ac3
JM
279712012-02-13 Joseph Myers <joseph@codesourcery.com>
27972
27973 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27974 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27975 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27976 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27977 <bits/eventfd.h>.
27978 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27980 bits/eventfd.h.
27981
fb779be7
TS
279822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27983
e19e83c5
RM
27984 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27985 __feraiseexcept instead of feraiseexcept.
7c35ffed 27986
fb779be7
TS
27987 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27988 nanosleep invocations.
27989 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27990 strings, and add error checking for a nanosleep invocations.
27991
59ba27a6
PE
279922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27993
27994 Replace FSF snail mail address with URLs, as per GNU coding standards.
27995 Most of the snail mail addresses were wrong anyway, and omitting
27996 them makes the source code easier to maintain. Almost all of the
27997 changes are to license notices and to locale LC_IDENTIFICATION
27998 addresses, except for this one:
27999 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28000 not its snail mail address.
28001
57b957eb
RH
280022012-02-09 Richard Henderson <rth@twiddle.net>
28003
af850b1c
RH
28004 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28005 of kernel-features.h.
28006
57b957eb
RH
28007 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28008
6b73181a
MP
280092012-02-08 Marek Polacek <polacek@redhat.com>
28010
28011 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28012 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28013 * sysdeps/gnu/_G_config.h: Likewise.
28014 * sysdeps/generic/_G_config.h: Likewise.
28015
26ecc33a
AS
280162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28017
6c6dbc63
AS
28018 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28019 tests.
28020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28021
e216c012
AS
28022 * sysdeps/powerpc/powerpc32/crti.S: New file.
28023 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28024 * sysdeps/powerpc/powerpc64/crti.S: New file.
28025 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28026
26ecc33a
AS
28027 * Makeconfig (have-initfini): Don't set.
28028 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28029 * configure.in (nopic_initfini): Don't substitute.
28030 * config.h.in (HAVE_INITFINI): Don't #undef.
28031 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28032 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28033
3add8e13
JM
280342012-02-08 Joseph Myers <joseph@codesourcery.com>
28035
28036 Support crti.S and crtn.S provided directly by architectures.
28037 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28038 [crti.S in sysdirs] (omit-deps): Likewise.
28039 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28040 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28041 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28042 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28043 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28044 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28045 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28046 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28047 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28048 compiler output for sysdeps/generic/initfini.c.
28049 * sysdeps/i386/elf/Makefile: Remove file.
28050 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28051
a22f12b4
MP
280522012-02-07 Marek Polacek <polacek@redhat.com>
28053
28054 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28055 * sysdeps/gnu/_G_config.h: Likewise.
28056 * sysdeps/mach/hurd/_G_config.h: Likewise.
28057
148cf100
MP
280582012-02-07 Marek Polacek <polacek@redhat.com>
28059
28060 * math/Makefile (tests): Add tst-CMPLX2.
28061 * math/tst-CMPLX2.c: New file.
28062
cfdc0dd7
AS
280632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28064
84ba42c4
AS
28065 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28066
cfdc0dd7
AS
28067 * math/libm-test.inc (jn_test): Add missing L suffix.
28068
622c86f4
MP
280692012-02-06 Marek Polacek <polacek@redhat.com>
28070
28071 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28072 * sysdeps/i386/fpu/e_powf.S: Likewise.
28073 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28074 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28075 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28076 * sysdeps/i386/fpu/e_pow.S: Likewise.
28077 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28078 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28079 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28080 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28081 * sysdeps/i386/fpu/e_log2.S: Likewise.
28082 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28084 * sysdeps/i386/fpu/e_powl.S: Likewise.
28085 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28086 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28087 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28088 * sysdeps/i386/fpu/e_logl.S: Likewise.
28089 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28090 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28091 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28092 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28093 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28094 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28095 * sysdeps/i386/fpu/e_log.S: Likewise.
28096 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28097 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28098 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28099 * sysdeps/i386/fpu/e_logf.S: Likewise.
28100 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28101 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28102 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28103 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28104 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28105 * sysdeps/i386/fpu/e_log10.S: Likewise.
28106 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28107 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28108 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28109 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28110 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28111 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28112 * sysdeps/i386/asm-syntax.h: Likewise.
28113 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28114 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28115 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28116 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28117 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28118 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28119 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28120 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28121 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28122 * sysdeps/powerpc/sysdep.h: Likewise.
28123 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28124 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28125
d4a54ac6
JM
281262012-02-06 Joseph Myers <joseph@codesourcery.com>
28127
28128 [BZ #411]
28129 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28130
314054ea
JM
281312012-02-06 Joseph Myers <joseph@codesourcery.com>
28132
28133 * sysdeps/i386/sysdep.h: Include <features.h>.
28134 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28135 version.
28136
d8e0ca50
JM
281372012-02-05 Joseph Myers <joseph@codesourcery.com>
28138
28139 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28140 Define.
28141 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28142 LOAD_PIC_REG_STR.
28143
b1da7dd9
JM
281442012-02-03 Joseph Myers <joseph@codesourcery.com>
28145
28146 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28147 (SETUP_PIC_REG): Use GET_PC_THUNK.
28148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28149 macro.
28150
9a1d9254
JM
281512012-02-03 Joseph Myers <joseph@codesourcery.com>
28152
28153 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28154 for non-PIC compilation.
28155 (SETUP_PIC_REG): Add .p2align directive.
28156 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28157 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28158 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28159 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28160 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28161 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28162 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28164 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28165 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28171 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28176 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28183 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28184 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28185 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28186 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28187 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28190 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28191 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28192 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28193 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28194 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28195 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28196 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28197
65dc3b75
JM
281982012-02-03 Joseph Myers <joseph@codesourcery.com>
28199
28200 * math/tst-CMPLX.c: Include <stdio.h>.
28201
d55bf177
JM
282022012-01-31 Joseph Myers <joseph@codesourcery.com>
28203
28204 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28205 float.
28206 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28207 * sysdeps/sparc/bits/mathdef.h: Likewise.
28208
69db4f8f
MP
282092012-01-31 Marek Polacek <polacek@redhat.com>
28210
28211 * libio/libio.h: Don't define _PARAMS.
28212 * locale/programs/config.h: Don't define PARAMS.
28213 * stdlib/strtol_l.c: Likewise.
28214 (__strtol_l): Remove PARAMS from the prototype.
28215
41b81892
UD
282162012-01-31 Ulrich Drepper <drepper@gmail.com>
28217
3b49edc0
UD
28218 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28219 names. Just use the correct names. Remove unnecessary wrapper
28220 functions.
28221 * malloc/arena.c: Likewise.
28222 * malloc/hooks.c: Likewise.
28223
41b81892
UD
28224 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28225 ARENA_TEST says not to. Simplify test for creation of a new arena.
28226 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28227
27a25b6e
UD
282282012-01-30 Ulrich Drepper <drepper@gmail.com>
28229
28230 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28231 into tail calls.
28232 (update_get_addr): New function.
28233 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28234 GET_ADDR_MODULE parameter.
28235
c8a89e7d
JM
282362012-01-30 Joseph Myers <joseph@codesourcery.com>
28237
28238 * crypt/cert.c: Remove __STDC__ conditionals.
28239 * crypt/crypt-entry.c: Likewise.
28240 * crypt/crypt_util.c: Likewise.
28241 * libio/filedoalloc.c: Likewise.
28242 * libio/fileops.c: Likewise.
28243 * libio/genops.c: Likewise.
28244 * libio/iofclose.c: Likewise.
28245 * libio/iofdopen.c: Likewise.
28246 * libio/iofopen.c: Likewise.
28247 * libio/iofopen64.c: Likewise.
28248 * libio/iogetdelim.c: Likewise.
28249 * libio/iopopen.c: Likewise.
28250 * libio/obprintf.c: Likewise.
28251 * libio/oldfileops.c: Likewise.
28252 * libio/oldiofclose.c: Likewise.
28253 * libio/oldiofdopen.c: Likewise.
28254 * libio/oldiofopen.c: Likewise.
28255 * libio/oldiopopen.c: Likewise.
28256 * libio/wfiledoalloc.c: Likewise.
28257 * libio/wgenops.c: Likewise.
28258 * locale/programs/xmalloc.c: Likewise.
28259 * misc/syslog.c: Likewise.
28260 * stdio-common/xbug.c: Likewise.
28261 * string/memchr.c: Likewise.
28262 * string/memcmp.c: Likewise.
28263 * string/memrchr.c: Likewise.
28264 * string/rawmemchr.c: Likewise.
28265 * sysdeps/posix/getcwd.c: Likewise.
28266 * time/strftime_l.c: Likewise.
28267
3b100462
JM
282682012-01-30 Joseph Myers <joseph@codesourcery.com>
28269
28270 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28271 * config.make.in (config-cflags-sse2avx): Define.
28272 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28273 Fix typo.
28274
607998af
CM
282752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28276
28277 * scripts/config.guess: Update from upstream config git repository.
28278 * scripts/config.sub: Likewise.
28279
3601428f
CM
282802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28281
3ac8b282
CM
28282 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28283 (EM_NUM): Update.
28284 (R_TILEPRO_*, R_TILEGX_*): New macros.
28285
e034841e
CM
28286 * scripts/firstversions.awk: Fix bug in version range handling.
28287
540d7568
CM
28288 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28289
3601428f
CM
28290 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28291
463de862
CM
28292 * include/sys/epoll.h: New file.
28293 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28294 libc_hidden_def.
28295
73139a76
UD
282962012-01-28 Ulrich Drepper <drepper@gmail.com>
28297
96bc5b45
UD
28298 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28299 Avoid unnecessary __WORDSIZE == 64 test.
28300 (fmaxf): Use VEX format if possible.
28301 (fmax): Likewise.
28302 (fminf): Likewise.
28303 (fmin): Likewise.
28304
56f6f6a2
UD
28305 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28306 * math/math_private.h: Remove libc_fegetround* and
28307 libc_fesetround*.
28308 * sysdeps/i386/configure.in: Check for -msse2avx.
28309 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28310 also if SSE2AVX is defined.
28311 Remove libc_fegetround* and libc_fesetround*.
28312 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28313 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28314 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28315 of HAS_YMM_USABLE.
28316 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28317 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28318 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28319 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28320 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28321
73139a76
UD
28322 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28323
d73f93a4
AZ
283242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28325
28326 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28327 size is not set.
28328 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28329
6ee65ed6
UD
283302012-01-27 Ulrich Drepper <drepper@gmail.com>
28331
28332 [BZ #13618]
28333 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28334 relocation.
28335 * Makeconfig (libm): Define.
28336 * elf/Makefile: Add rules to build and run tst-relsort1.
28337 * elf/tst-relsort1.c: New file.
28338 * elf/tst-relsort1mod1.c: New file.
28339 * elf/tst-relsort1mod2.c: New file.
28340
8db21882
JM
283412012-01-27 Joseph Myers <joseph@codesourcery.com>
28342
28343 * math/s_ldexp.c: Remove __STDC__ conditionals.
28344 * math/s_ldexpf.c: Likewise.
28345 * math/s_ldexpl.c: Likewise.
28346 * math/s_nextafter.c: Likewise.
28347 * math/s_nexttowardf.c: Likewise.
28348 * math/s_significand.c: Likewise.
28349 * math/s_significandf.c: Likewise.
28350 * math/s_significandl.c: Likewise.
28351 * math/w_jnl.c: Likewise.
28352 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28353 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28354 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28355 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28356 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28358 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28359 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28360 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28361 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28362 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28363 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28371 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28372 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28373 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28378 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28380 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28381 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28382 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28383 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28384 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28385 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28386 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28387 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28388 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28389 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28390 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28391 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28392 * sysdeps/ieee754/k_standard.c: Likewise.
28393 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28400 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28401 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28425 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28441 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28446 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28448 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28449 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28450 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28451 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28453 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28454 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28455 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28456 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28457 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28458 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28459 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28460 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28462 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28463 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28465 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28467 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28468 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28469 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28470 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28471 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28472 * sysdeps/ieee754/s_matherr.c: Likewise.
28473 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28474 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28477
965a54a4
JM
284782012-01-26 Joseph Myers <joseph@codesourcery.com>
28479
28480 * crypt/md5.h: Remove __STDC__ conditionals.
28481 * libio/libioP.h: Likewise.
28482 * locale/programs/config.h: Likewise.
28483 * sysdeps/generic/sysdep.h: Likewise.
28484 * sysdeps/i386/asm-syntax.h: Likewise.
28485 * sysdeps/s390/asm-syntax.h: Likewise.
28486 * sysdeps/unix/sysdep.h: Likewise.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28489
7071ad79
JM
284902012-01-26 Joseph Myers <joseph@codesourcery.com>
28491
28492 * libio/libio.h: Remove __STDC__ conditionals.
28493 * malloc/obstack.h: Likewise.
28494 * math/complex.h: Likewise.
28495 * math/math.h: Likewise.
28496 * sysdeps/generic/_G_config.h: Likewise.
28497 * sysdeps/gnu/_G_config.h: Likewise.
28498 * sysdeps/mach/hurd/_G_config.h: Likewise.
28499 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28500 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28501 * sysdeps/sparc/bits/mathdef.h: Likewise.
28502
afc5ed09
UD
285032012-01-26 Ulrich Drepper <drepper@gmail.com>
28504
28505 [BZ #13583]
28506 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28507 Clean up HAS_* macros.
afc5ed09 28508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28509 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28510 possible.
28511 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28512 HAS_AVX.
28513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28514 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28517 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28518
bdb6de1d
JM
285192012-01-25 Joseph Myers <joseph@codesourcery.com>
28520
28521 * elf/tst-unique3.cc (gets): Remove declaration.
28522 * elf/tst-unique3lib.cc (gets): Likewise.
28523 * elf/tst-unique3lib2.cc (gets): Likewise.
28524 * elf/tst-unique4.cc (gets): Likewise.
28525
b15549e6
UD
285262012-01-24 Ulrich Drepper <drepper@gmail.com>
28527
28528 * include/stdio.h: Add C++ protection. Add gets declarations and
28529 definitions.
28530 * debug/tst-chk1.c: Don't declare gets here.
28531 * stdio-common/tst-gets.c: Likewise.
28532
a037381f
JM
285332012-01-24 Joseph Myers <joseph@codesourcery.com>
28534
28535 * posix/glob: Remove directory.
28536
f1d4aa75
JM
285372012-01-24 Joseph Myers <joseph@codesourcery.com>
28538
28539 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28540
81c0c964
PT
285412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28542
28543 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28544 of the non-standard EPFNOSUPPORT.
28545
0ea698ae
ST
285462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28547
28548 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28549 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28550 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28551
d220b117
UD
285522012-01-21 Ulrich Drepper <drepper@gmail.com>
28553
28554 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28555
3e1aa84e
UD
285562012-01-20 Ulrich Drepper <drepper@gmail.com>
28557
28558 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28559 transient errors.
28560 * nscd/grpcache.c (cache_addgr): Likewise.
28561 * nscd/hstcache.c (cache_addhst): Likewise.
28562 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28563 * nscd/pwdcache.c (cache_addpw): Likewise.
28564 * nscd/servicescache.c (cache_addserv): Likewise.
28565
400aa020
UD
285662012-01-16 Ulrich Drepper <drepper@gmail.com>
28567
d77e7869
UD
28568 * malloc/malloc.c: Various cleanups.
28569 * malloc/hooks.c: Likewise.
28570
400aa020
UD
28571 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28572 * stdlib/bug-fmtmsg1.c: New file.
28573
28574 * stdlib/fmtmsg.c (init): Add missing unlock.
28575 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28576
e0a309cf
MP
285772012-01-12 Marek Polacek <polacek@redhat.com>
28578
28579 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28580 and _GNU_SOURCE.
28581
929d11c7
WS
285822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28583
28584 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28585 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28586 macro to ensure uniqueness of label name.
28587 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28588 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28589
41d0e869
UD
285902012-01-11 Ulrich Drepper <drepper@gmail.com>
28591
0cc5ed3b
UD
28592 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28593
41d0e869
UD
28594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28595 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28596 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28598
a47a831a
UD
285992012-01-10 Ulrich Drepper <drepper@gmail.com>
28600
daa891c0
UD
28601 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28602
28603 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28604 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28605 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28606
e58ef0f2
UD
28607 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28608
a47a831a 28609 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28610 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28611 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28613
28614 * math/bits/math-finite.h: Add ldexp support.
28615
a0bfc9c7
MP
286162012-01-10 Marek Polacek <polacek@redhat.com>
28617
28618 * locale/programs/localedef.h (show_archive_content): Add noreturn
28619 attribute.
28620
d6e97a1d
UD
286212012-01-09 Ulrich Drepper <drepper@gmail.com>
28622
28623 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28624
d5835c26
UD
286252012-01-08 Ulrich Drepper <drepper@gmail.com>
28626
e5f484c6
UD
28627 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28628
d5835c26
UD
28629 * io/Makefile (headers): Add bits/poll2.h.
28630
d1f741e9
WS
286312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28632
28633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28634 typo #include statement.
28635
ec09c1c4
UD
286362012-01-08 Ulrich Drepper <drepper@gmail.com>
28637
28638 * include/sys/cdefs.h: Define __attribute_alloc_size.
28639 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28640 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28641 * elf/pldd.c: Likewise.
28642 * iconv/iconv_charmap.c: Likewise.
28643 * iconv/iconvconfig.c: Likewise.
28644 * iconv/strtab.c: Likewise.
28645 * locale/programs/locale.c: Likewise.
28646 * locale/programs/localedef.h: Likewise.
28647 * locale/programs/simple-hash.c: Likewise.
28648 * nscd/nscd.h: Likewise.
28649 * nss/makedb.c: Likewise.
28650 * sysdeps/generic/ldconfig.h: Likewise.
28651 * locale/programs/localedef.c: Remove xmalloc prototype.
28652 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28653
20b38e03
PP
286542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28655
28656 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28657 appropriate.
28658
a0da5fe1
UD
286592012-01-08 Ulrich Drepper <drepper@gmail.com>
28660
1d5a644a 28661 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28662 * math/tst-CMPLX.c: New file.
1d5a644a 28663
8784a6db
UD
28664 * math/complex.h (CMPLXL): Fix typo.
28665
d9a216c0
UD
28666 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28667 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28668 GLIBC_2.16.
28669 * debug/tst-chk1.c: Add poll and ppoll tests.
28670 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28671 * include/sys/poll.h: Add hidden proto for ppoll.
28672 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28673 * sysdeps/mach/hurd/ppoll.c: Likewise.
28674 * io/ppoll.c: Likewise.
28675 * debug/poll_chk.c: New file.
28676 * debug/ppoll_chk.c: New file.
28677 * include/bits/poll2.h: New file.
28678 * io/bits/poll2.h: New file.
28679
ac097f5c
UD
28680 [BZ #1350]
28681 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28682
2119dcfa
UD
28683 * configure.in: static is always set to yes. Remove.
28684 * config.make.in: Don't set build-static.
28685 * Makeconfig: Remove use of build-static.
28686 * dlfcn/Makefile: Likewise.
28687 * elf/Makefile: Likewise.
28688 * math/Makefile: Likewise.
28689 * misc/Makefile: Likewise.
28690 * nptl/Makefile: Likewise.
28691 * sysdeps/mach/hurd/Makefile: Likewise.
28692
121766a9
UD
28693 * configure.in: PWD_P is not used anymore.
28694 * config.make.in: Remove PWD_P entry.
28695
51a1d39c 28696 * configure.in: Remove last remnants of RANLIB.
8720d066 28697 No need to check for signed size_t anymore.
215f4bdc
UD
28698 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28699 and IA-64.
3857022a 28700 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28701 * aclocal.m4: Likewise.
28702
d3ed7225
UD
28703 * wcsmbs/mbrtoc16.c: Implement using towc function.
28704 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28705 * wcsmbs/wcsmbsload.c: Likewise.
28706 * iconv/gconv_simple.c: Likewise.
28707 * iconv/gconv_int.h: Likewise.
28708 * iconv/gconv_builtin.h: Likewise.
28709 * iconv/iconv_prog.c: Remove CHAR16 handling.
28710
28711 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28712
28713 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28714
a0da5fe1
UD
28715 * configure.in: Remove --with-elf and --enable-bounded options.
28716 Dont set base_machine for ia64. More non-ELF conditions removed.
28717 Remove testing and setting of leading underscore information.
28718 * config.make.in (build-bounded): Set to no.
28719 * config.h.in: Remove NO_UNDERSCORES entry.
28720 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28721 them.
28722 * csu/start.c: Remove !NO_UNDERSCORE code.
28723 * locale/localeinfo.h: Likewise.
28724 * sysdeps/generic/machine-gmon.h: Likewise.
28725 * sysdeps/generic/sysdep.h: Likewise.
28726 * sysdeps/i386/sysdep.h: Likewise.
28727 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28728 * sysdeps/mach/sysdep.h: Likewise.
28729 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28731 * sysdeps/sh/sysdep.h: Likewise.
28732 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28733 * sysdeps/unix/i386/sysdep.S: Likewise.
28734 * sysdeps/unix/sparc/start.c: Likewise.
28735 * sysdeps/unix/sparc/sysdep.S: Likewise.
28736 * sysdeps/unix/sparc/sysdep.h: Likewise.
28737 * sysdeps/unix/start.c: Likewise.
28738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28739 * sysdeps/x86_64/sysdep.h: Likewise.
28740
df78418a
UD
287412012-01-07 Ulrich Drepper <drepper@gmail.com>
28742
a784e502
UD
28743 [BZ #13553]
28744 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28745 for non-gcc.
28746 * argp/argp-fmtstream.h: Use const instead __const.
28747 * argp/argp.h: Likewise.
28748 * assert/assert.h: Likewise.
28749 * bits/fenv.h: Likewise.
28750 * bits/sched.h: Likewise.
28751 * bits/sigset.h: Likewise.
28752 * bits/sigthread.h: Likewise.
28753 * catgets/nl_types.h: Likewise.
28754 * conform/data/pthread.h-data: Likewise.
28755 * crypt/crypt-private.h: Likewise.
28756 * crypt/crypt.h: Likewise.
28757 * crypt/crypt_util.c: Likewise.
28758 * ctype/ctype.h: Likewise.
28759 * debug/execinfo.h: Likewise.
28760 * debug/mbsnrtowcs_chk.c: Likewise.
28761 * debug/mbsrtowcs_chk.c: Likewise.
28762 * debug/wcsnrtombs_chk.c: Likewise.
28763 * debug/wcsrtombs_chk.c: Likewise.
28764 * debug/wcstombs_chk.c: Likewise.
28765 * dirent/dirent.h: Likewise.
28766 * dlfcn/dlfcn.h: Likewise.
28767 * elf/neededtest4.c: Likewise.
28768 * grp/grp.h: Likewise.
28769 * gshadow/gshadow.h: Likewise.
28770 * iconv/gconv.h: Likewise.
28771 * iconv/gconv_int.h: Likewise.
28772 * iconv/gconv_simple.c: Likewise.
28773 * iconv/iconv.h: Likewise.
28774 * iconv/loop.c: Likewise.
28775 * iconv/skeleton.c: Likewise.
28776 * include/aio.h: Likewise.
28777 * include/aliases.h: Likewise.
28778 * include/argz.h: Likewise.
28779 * include/arpa/inet.h: Likewise.
28780 * include/assert.h: Likewise.
28781 * include/dirent.h: Likewise.
28782 * include/dlfcn.h: Likewise.
28783 * include/execinfo.h: Likewise.
28784 * include/fcntl.h: Likewise.
28785 * include/fenv.h: Likewise.
28786 * include/glob.h: Likewise.
28787 * include/grp.h: Likewise.
28788 * include/libintl.h: Likewise.
28789 * include/mntent.h: Likewise.
28790 * include/netdb.h: Likewise.
28791 * include/pwd.h: Likewise.
28792 * include/rpc/netdb.h: Likewise.
28793 * include/sched.h: Likewise.
28794 * include/search.h: Likewise.
28795 * include/shadow.h: Likewise.
28796 * include/signal.h: Likewise.
28797 * include/stdio.h: Likewise.
28798 * include/stdlib.h: Likewise.
28799 * include/string.h: Likewise.
28800 * include/sys/socket.h: Likewise.
28801 * include/sys/stat.h: Likewise.
28802 * include/sys/statfs.h: Likewise.
28803 * include/sys/statvfs.h: Likewise.
28804 * include/sys/syslog.h: Likewise.
28805 * include/sys/time.h: Likewise.
28806 * include/sys/uio.h: Likewise.
28807 * include/time.h: Likewise.
28808 * include/unistd.h: Likewise.
28809 * include/utmp.h: Likewise.
28810 * include/wchar.h: Likewise.
28811 * include/wctype.h: Likewise.
28812 * inet/aliases.h: Likewise.
28813 * inet/arpa/inet.h: Likewise.
28814 * inet/netinet/ether.h: Likewise.
28815 * inet/netinet/in.h: Likewise.
28816 * intl/libintl.h: Likewise.
28817 * io/bits/fcntl2.h: Likewise.
28818 * io/fcntl.h: Likewise.
28819 * io/ftw.h: Likewise.
28820 * io/sys/poll.h: Likewise.
28821 * io/sys/stat.h: Likewise.
28822 * io/sys/statfs.h: Likewise.
28823 * io/sys/statvfs.h: Likewise.
28824 * io/utime.h: Likewise.
28825 * libio/bits/stdio.h: Likewise.
28826 * libio/bits/stdio2.h: Likewise.
28827 * libio/libio.h: Likewise.
28828 * libio/libioP.h: Likewise.
28829 * libio/stdio.h: Likewise.
28830 * locale/lc-ctype.c: Likewise.
28831 * locale/locale.h: Likewise.
28832 * login/utmp.h: Likewise.
28833 * malloc/arena.c: Likewise.
28834 * malloc/malloc.c: Likewise.
28835 * malloc/malloc.h: Likewise.
28836 * malloc/mcheck.c: Likewise.
28837 * malloc/mtrace.c: Likewise.
28838 * math/bits/mathcalls.h: Likewise.
28839 * math/fenv.h: Likewise.
28840 * math/math_private.h: Likewise.
28841 * misc/bits/error.h: Likewise.
28842 * misc/bits/syslog.h: Likewise.
28843 * misc/err.h: Likewise.
28844 * misc/error.h: Likewise.
28845 * misc/fstab.h: Likewise.
28846 * misc/mntent.h: Likewise.
28847 * misc/regexp.h: Likewise.
28848 * misc/search.h: Likewise.
28849 * misc/sgtty.h: Likewise.
28850 * misc/sys/mman.h: Likewise.
28851 * misc/sys/syslog.h: Likewise.
28852 * misc/sys/uio.h: Likewise.
28853 * misc/sys/xattr.h: Likewise.
28854 * misc/ttyent.h: Likewise.
28855 * nis/rpcsvc/ypclnt.h: Likewise.
28856 * nss/nss.h: Likewise.
28857 * posix/bits/unistd.h: Likewise.
28858 * posix/fnmatch.h: Likewise.
28859 * posix/glob.h: Likewise.
28860 * posix/sched.h: Likewise.
28861 * posix/spawn.h: Likewise.
28862 * posix/sys/wait.h: Likewise.
28863 * posix/unistd.h: Likewise.
28864 * posix/wordexp.h: Likewise.
28865 * pwd/pwd.h: Likewise.
28866 * resolv/netdb.h: Likewise.
28867 * resource/sys/resource.h: Likewise.
28868 * rt/aio.h: Likewise.
28869 * rt/bits/mqueue2.h: Likewise.
28870 * rt/mqueue.h: Likewise.
28871 * shadow/shadow.h: Likewise.
28872 * signal/signal.h: Likewise.
28873 * socket/send.c: Likewise.
28874 * socket/sendto.c: Likewise.
28875 * socket/sys/socket.h: Likewise.
28876 * stdio-common/printf.h: Likewise.
28877 * stdlib/bits/stdlib.h: Likewise.
28878 * stdlib/fmtmsg.h: Likewise.
28879 * stdlib/monetary.h: Likewise.
28880 * stdlib/stdlib.h: Likewise.
28881 * stdlib/ucontext.h: Likewise.
28882 * streams/stropts.h: Likewise.
28883 * string/argz.h: Likewise.
28884 * string/bits/string2.h: Likewise.
28885 * string/string.h: Likewise.
28886 * string/strings.h: Likewise.
28887 * sunrpc/rpc/auth.h: Likewise.
28888 * sunrpc/rpc/auth_des.h: Likewise.
28889 * sunrpc/rpc/clnt.h: Likewise.
28890 * sunrpc/rpc/netdb.h: Likewise.
28891 * sunrpc/rpc/pmap_clnt.h: Likewise.
28892 * sunrpc/rpc/xdr.h: Likewise.
28893 * sysdeps/generic/inttypes.h: Likewise.
28894 * sysdeps/generic/net/if.h: Likewise.
28895 * sysdeps/generic/sys/swap.h: Likewise.
28896 * sysdeps/gnu/net/if.h: Likewise.
28897 * sysdeps/gnu/utmpx.h: Likewise.
28898 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28899 * sysdeps/i386/i486/bits/string.h: Likewise.
28900 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28901 * sysdeps/s390/bits/string.h: Likewise.
28902 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28903 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28904 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28905 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28906 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28907 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28908 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28909 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28910 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28911 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28912 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28913 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28914 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28915 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28916 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28917 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28918 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28920 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28921 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28922 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28923 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28924 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28925 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28926 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28927 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28928 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28930 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28931 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28932 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28933 * sysvipc/sys/ipc.h: Likewise.
28934 * sysvipc/sys/msg.h: Likewise.
28935 * sysvipc/sys/sem.h: Likewise.
28936 * sysvipc/sys/shm.h: Likewise.
28937 * termios/termios.h: Likewise.
28938 * time/sys/time.h: Likewise.
28939 * time/time.h: Likewise.
28940 * wcsmbs/bits/wchar2.h: Likewise.
28941 * wcsmbs/uchar.h: Likewise.
28942 * wcsmbs/wchar.h: Likewise.
28943 * wctype/wctype.h: Likewise.
28944
0269750c
UD
28945 [BZ #13551]
28946 * Makeconfig: Remove all but ELF support including AIX support.
28947 * Makerules: Likewise.
28948 * config.h.in: Likewise.
28949 * config.make.in: Likewise.
28950 * configure: Likewise.
28951 * configure.in: Likewise.
28952 * csu/Makefile: Likewise.
28953 * csu/version.c: Likewise.
28954 * debug/Makefile: Likewise.
28955 * dlfcn/Makefile: Likewise.
28956 * elf/Makefile: Likewise.
28957 * extra-lib.mk: Likewise.
28958 * iconv/Makefile: Likewise.
28959 * include/libc-symbols.h: Likewise.
28960 * include/shlib-compat.h: Likewise.
28961 * resolv/Makefile: Likewise.
28962 * resolv/res_libc.c: Likewise.
28963 * rt/Makefile: Likewise.
28964 * sysdeps/i386/asm-syntax.h: Likewise.
28965 * sysdeps/i386/sysdep.h: Likewise.
28966 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28967 * sysdeps/mach/sysdep.h: Likewise.
28968 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28969 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28970 * sysdeps/s390/asm-syntax.h: Likewise.
28971 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28973 * sysdeps/sh/sysdep.h: Likewise.
28974 * sysdeps/unix/sparc/sysdep.h: Likewise.
28975 * sysdeps/wordsize-32/divdi3.c: Likewise.
28976 * sysdeps/x86_64/sysdep.h: Likewise.
28977
00bbd29b
UD
28978 * argp/Versions: Remove _argp_unlock_xxx.
28979
28980 [BZ #13559]
28981 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28982 * abilist/libBrokenLocale.abilist: Likewise.
28983 * abilist/libanl.abilist: Likewise.
28984 * abilist/libc.abilist: Likewise.
28985 * abilist/libcrypt.abilist: Likewise.
28986 * abilist/libdl.abilist: Likewise.
28987 * abilist/libm.abilist: Likewise.
28988 * abilist/libnsl.abilist: Likewise.
28989 * abilist/libpthread.abilist: Likewise.
28990 * abilist/libresolv.abilist: Likewise.
28991 * abilist/librt.abilist: Likewise.
28992 * abilist/libthread_db.abilist: Likewise.
28993 * abilist/libutil.abilist: Likewise.
28994 * abilist/libnss_db.abilist: New file.
28995
28996 * scripts/abilist.awk: Add support for indirect functions.
28997
a2693a0e
UD
28998 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28999
3f05895f
UD
29000 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29001
ecb6fb48
UD
29002 * shlib-versions: Remove entries for ports architectures.
29003
664f8cb9
UD
29004 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29005 files in ports.
29006 * elf/stackguard-macros.h: Remove support for IA-64.
29007 * elf/tst-auditmod1.c: Likewise.
29008 * sysdeps/generic/ldsodefs.h: Likewise.
29009
7ae81d88
UD
29010 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29011 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29012 configure files.
29013
bdeba135
UD
29014 [BZ #13552]
29015 * configure.in: Remove --enable-omitfp support.
29016 * FAQ.in: Adjust.
29017 * config.make.in: Likewise.
29018 * Makeconfig: Likewise.
29019 * manual/install.texi: Likewise.
29020
d75a0a62
UD
29021 In case anyone cares, the IA-64 architecture could move to ports.
29022 * sysdeps/ia64/*: Removed.
29023 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29024 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29025
dcc9756b
UD
29026 [BZ #13555]
29027 * configure.in: Remove entries for unsupported architectures.
29028
d3761ebc 29029 [BZ #13533]
9954432e
UD
29030 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29031 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29032 routines.
29033 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29034 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29035 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29036 fall back to using wcrtomb.
29037 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29038 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29039 renaming.
29040 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29041 * wcsmbs/tst-c16c32-1.c: New file.
29042
29043 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29044 local variable.
29045
c3a87236
UD
29046 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29047
28926a1b
UD
29048 * elf/tst-unique3.cc: Add explicit declaration of gets.
29049 * elf/tst-unique3lib.cc: Likewise.
29050 * elf/tst-unique3lib2.cc: Likewise.
29051 * elf/tst-unique4.cc: Likewise.
29052
df78418a
UD
29053 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29054
8ecd6b2a
JM
290552012-01-06 Joseph Myers <joseph@codesourcery.com>
29056
29057 [BZ #13566]
29058 * assert/assert.h (static_assert): Don't define for C++.
29059 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29060 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29061
9f115170
UD
290622012-01-03 Ulrich Drepper <drepper@gmail.com>
29063
5e0d0300
UD
29064 * iconv/loop.c (single loop): Fix assertion in storing of
29065 remaining bytes.
29066
9f115170
UD
29067 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29068
81fb02b0
UD
290692012-01-01 Ulrich Drepper <drepper@gmail.com>
29070
29071 * posix/getconf.c: Update copyright year.
29072 * nss/getent.c: Likewise.
a316c1f6 29073 * nss/makedb.c: Likewise.
81fb02b0
UD
29074 * iconv/iconvconfig.c: Likewise.
29075 * iconv/iconv_prog.c: Likewise.
29076 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29077 * elf/pldd.c: Likewise.
29078 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29079 * catgets/gencat.c: Likewise.
29080 * csu/version.c: Likewise.
29081 * elf/ldd.bash.in: Likewise.
29082 * elf/sprof.c (print_version): Likewise.
29083 * locale/programs/locale.c: Likewise.
29084 * locale/programs/localedef.c: Likewise.
a316c1f6 29085 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29086 * nscd/nscd.c (print_version): Likewise.
29087 * debug/xtrace.sh: Likewise.
29088 * malloc/memusage.sh: Likewise.
29089 * malloc/mtrace.pl: Likewise.
29090 * debug/catchsegv.sh: Likewise.
29091
2ba92745
JJ
290922011-12-30 Jakub Jelinek <jakub@redhat.com>
29093
29094 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29095 pure attribute.
29096
dadebdae
UD
290972011-12-24 Ulrich Drepper <drepper@gmail.com>
29098
d3761ebc 29099 [BZ #13533]
db6af3eb
UD
29100 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29101 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29102 transformations.
29103 * iconv/gconv_int.h: Likewise.
29104 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29105 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29106 from libc for GLIBC_2.16.
29107 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29108 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29109 * wcsmbs/uchar.h: Really define mbstate_t.
29110 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29111 * wcsmbs/c16rtomb.c: New file.
29112 * wcsmbs/mbrtoc16.c: New file.
29113 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29114 for C/POSIX locale.
29115 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29116 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29117
dadebdae
UD
29118 * wcsmbs/wchar.h: Add missing __restrict.
29119
67371b56
UD
291202011-12-23 Ulrich Drepper <drepper@gmail.com>
29121
74033a25
UD
29122 [BZ #13532]
29123 * time/Makefile (routines): Add timespec_get.
29124 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29125 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29126 timespec for ISO C11.
29127 * time/timespec_get.c: New file.
29128 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29129 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29130
380d7e87
UD
29131 [BZ #13531]
29132 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29133 * stdlib/stdlib.h: Declare aligned_alloc.
29134 * Versions.def: Add GLIBC_2.16 for libc.
29135 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29136
4e9e7a35
UD
29137 [BZ 13527]
29138 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29139 ISO C11.
29140
380d7e87 29141 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29142 code.
29143
03a71829
UD
29144 [BZ #13528]
29145 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29146
839e283e
UD
29147 [BZ #13529]
29148 * assert/assert.h (static_assert): Define.
29149
ce5294e2 29150 * version.h: Update for 2.16 development version.
90fa7312 29151
8d44e150 29152 [BZ #13526]
d7809905
UD
29153 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29154 _ISOC11_SOURCE.
29155
c0da14cd
UD
29156 * version.h (RELEASE): Bump for 2.15 release.
29157 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29158
530a3249
MP
29159 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29160 Patch by Marek Polacek <mpolacek@redhat.com>.
29161
67371b56
UD
29162 * bits/byteswap.h: Protect long long constants with __extension__.
29163 * sysdeps/i386/bits/byteswap.h: Likewise.
29164 * sysdeps/ia64/bits/byteswap.h: Likewise.
29165 * sysdeps/s390/bits/byteswap.h: Likewise.
29166 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29167
15db4de1
LD
291682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29169
29170 [BZ #13540]
bbe315ea
LD
29171 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29172 destination buffer.
15db4de1
LD
29173 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29174
2b2596b1
MP
291752011-12-23 Marek Polacek <polacek@redhat.com>
29176
29177 * elf/dl-addr.c (determine_info): Add inline keyword.
29178 * elf/tst-auditmod4b.c (check_avx): Likewise.
29179 * elf/tst-auditmod6b.c (check_avx): Likewise.
29180 * elf/tst-auditmod6c.c (check_avx): Likewise.
29181 * elf/tst-auditmod7b.c (check_avx): Likewise.
29182
70c6c246
UD
291832011-12-23 Ulrich Drepper <drepper@gmail.com>
29184
29185 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29186 !__SSE_MATH__.
29187
c044cf14
LD
291882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29189
15db4de1 29190 [BZ #13540]
c044cf14
LD
29191 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29192 processing for last bytes.
29193
6b13d9d9
BH
291942011-08-06 Bruno Haible <bruno@clisp.org>
29195
d455f537
BH
29196 [BZ #13061]
29197 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29198 U+0385, not to U+1FEE.
29199
6b13d9d9
BH
29200 [BZ #13062]
29201 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29202 entry for U+00A5 U+0301.
29203
db910efd
UD
292042011-12-22 Ulrich Drepper <drepper@gmail.com>
29205
27deeafc
UD
29206 [BZ #13166]
29207 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29208 buffer for the output is too small.
29209
aed9d171
UD
29210 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29211 optimization.
29212
db910efd
UD
29213 [BZ #13185]
29214 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29215 SSE flags if possible.
29216
2bd779ae
LD
292172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29218
e7f9dac3 29219 [BZ #13540]
2bd779ae
LD
29220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29221 processing for last bytes.
29222
154bfc16
JM
292232011-12-22 Joseph Myers <joseph@codesourcery.com>
29224
29225 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29226 (syscall-list-default-options, syscall-list-default-condition)
29227 (syscall-list-includes): Define.
29228 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29229 list of ABIs and options and #if conditions for each ABI. Do not
29230 handle common syscalls between ABIs specially.
29231 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29232 Remove.
29233 (syscall-list-variants, syscall-list-32bit-options)
29234 (syscall-list-32bit-condition, syscall-list-64bit-options)
29235 (syscall-list-64bit-condition): Define.
29236 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
29241 Remove.
29242 (syscall-list-variants, syscall-list-32bit-options)
29243 (syscall-list-32bit-condition, syscall-list-64bit-options)
29244 (syscall-list-64bit-condition): Define.
29245 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29246 Remove.
29247 (syscall-list-variants, syscall-list-32bit-options)
29248 (syscall-list-32bit-condition, syscall-list-64bit-options)
29249 (syscall-list-64bit-condition): Define.
29250
21eaf3a5
UD
292512011-12-22 Ulrich Drepper <drepper@gmail.com>
29252
16c6f992
UD
29253 * locale/iso-639.def: Add brx entry.
29254
41043168
UD
29255 [BZ #13328]
29256 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29257 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29258
21eaf3a5
UD
29259 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29260 __feraiseexcept_renamed.
29261
e3a851a2
UD
292622011-12-21 Ulrich Drepper <drepper@gmail.com>
29263
4920765e
UD
29264 [BZ #13538]
29265 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29266 EPOLLET with unsigned values.
29267 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29269
e3a851a2
UD
29270 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29271 to large cancellation.
29272 * math/s_cacoshf.c: Likewise.
29273 * math/s_cacoshl.c: Likewise.
29274
b27e24b8
RK
292752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29276
29277 [BZ #13305]
aebefeee 29278 [BZ #12786]
b27e24b8
RK
29279 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29280 * math/s_cacoshf.c: Likewise.
29281 * math/s_cacoshl.c: Likewise.
29282
ee190f67
UD
292832011-12-21 Ulrich Drepper <drepper@gmail.com>
29284
29285 [BZ #13439]
29286 * iconv/gconv.h: Define __GCONV_SWAP.
29287 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29288 * iconvdata/utf-16.c: Likewise.
29289 * iconvdata/utf-32.c: Likewise.
29290
707f25df
AS
292912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29292
29293 [BZ #13524]
29294 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29295 numerator after shifting it by one limb.
29296
d2daaa1e
RÁE
292972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29298
29299 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29300 under [__USE_EXTERN_INLINES].
29301
a4647e72
UD
293022011-12-17 Ulrich Drepper <drepper@gmail.com>
29303
29304 [BZ #13446]
29305 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29306
f0b264f1
AZ
293072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29308
29309 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29310 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29311 optimized code.
29312 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29313 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29314 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29315 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29316 for strncasecmp/strncasecmp_l compilation.
29317 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29318 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29319
8ef4f244
MP
293202011-12-08 Marek Polacek <mpolacek@redhat.com>
29321
29322 [BZ #13484]
29323 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29324 of __asm__.
29325
97ac2654
UD
293262011-12-17 Ulrich Drepper <drepper@gmail.com>
29327
29328 [BZ #13506]
29329 * time/tzfile.c (__tzfile_read): Check values from file header.
29330
91d2a845
WS
293312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29332
29333 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29334 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29335 * powerpc/powerpc32/dl-start.S: Likewise.
29336 * powerpc/powerpc32/elf/start.S: Likewise.
29337 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29338 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29339 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29340 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29341 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29342 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29343 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29344 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29345 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29346 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29347 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29348 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29349 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29350 * powerpc/powerpc32/memset.S: Likewise.
29351 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29352 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29353 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29354 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29355 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29356 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29357 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29358 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29359 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29360 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29361 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29362 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29363 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29364
a1267ba1
AZ
293652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29366
29367 * math/libm-test.inc: Added more nearbyint tests.
29368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29369 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29371 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29372
ad8ac1bd
RL
293732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29374
29375 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29376 FD_CLOEXEC.
29377
1d3e4b61
UD
293782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29379
29380 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29381 Add wcscpy-ssse3 wcscpy-c.
29382 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29383 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29384 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29385 * sysdeps/x86_64/wcschr.S: New file.
29386 * sysdeps/x86_64/wcsrchr.S: New file.
29387 * string/test-strcmp.c: Remove checking of wcscmp function for
29388 wrong alignments.
29389 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29390 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29391 wcsrchr-sse2 wcsrchr-c.
29392 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29393 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29394 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29395 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29396 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29397 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29398 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29399 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29400 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29401 * wcsmbc/wcschr.c (WCSCHR): New macro.
29402
5b330a2d
UD
294032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29404
29405 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29406 * wcsmbs/test-wcsrchr.c: New file.
29407 * string/test-strrchr.c: Add wcsrchr support.
29408 (WIDE): New macro.
29409 * wcsmbs/test-wcscpy.c: New file.
29410 * string/test-strcpy.c: Add wcscpy support.
29411 (WIDE): New macro.
26428b7c 29412
f039c043
UD
294132011-12-10 Ulrich Drepper <drepper@gmail.com>
29414
29415 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29416 the inner loop.
29417
850fb039
AS
294182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29419
29420 [BZ #13472]
29421 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29422
4efbd5cb
UD
294232011-12-04 Ulrich Drepper <drepper@gmail.com>
29424
52ff5dd0 29425 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29426 Minor optimizations.
52ff5dd0 29427
4efbd5cb
UD
29428 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29429 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29430 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29431
8a426e12
UD
294322011-12-03 Ulrich Drepper <drepper@gmail.com>
29433
aff2453d
UD
29434 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29435 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29436 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29437 for gcc to avoid warnings.
29438 * inet/Makefile (tests): Add tst-checks.
29439 * inet/tst-checks.c: New file.
29440
29441 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29442 warning.
29443
29444 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29445 __wmemcmp_sse2.
29446
29447 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29448 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29449
8a426e12
UD
29450 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29451
9bea3473
UD
294522011-12-02 Ulrich Drepper <drepper@gmail.com>
29453
3a965496
UD
29454 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29455 problem.
29456
9bea3473
UD
29457 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29458
f101631b
UD
294592011-11-29 Joseph Myers <joseph@codesourcery.com>
29460
29461 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29462 conditional on GCC version.
29463 (__arch_compare_and_exchange_val_8_acq)
29464 (__arch_compare_and_exchange_val_16_acq)
29465 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29466 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29467 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29468
a98275aa
UD
294692011-12-02 Joseph Myers <joseph@codesourcery.com>
29470
29471 * sysdeps/sh/backtrace.c: New file.
29472
d4cc29a2
AS
294732011-12-02 Andreas Schwab <schwab@redhat.com>
29474
29475 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29476 parenthesis.
29477
6257af2d
AS
294782011-12-01 Andreas Schwab <schwab@redhat.com>
29479
29480 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29481 falling back to utime.
29482
b5f44c1a
AS
294832011-11-30 Andreas Schwab <schwab@redhat.com>
29484
29485 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29486 expectations for float.
29487
f3a6cc0a
AS
294882011-11-29 Andreas Schwab <schwab@redhat.com>
29489
29490 * locale/weight.h (findidx): Add parameter len.
29491 * locale/weightwc.h (findidx): Likewise.
29492 * posix/fnmatch_loop.c (FCT): Adjust caller.
29493 * posix/regcomp.c (build_equiv_class): Likewise.
29494 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29495 * posix/regexec.c (check_node_accept_bytes): Likewise.
29496 * string/strcoll_l.c (STRCOLL): Likewise.
29497 * string/strxfrm_l.c (STRXFRM): Likewise.
29498
9d65ea3a
UD
294992011-11-17 Ulrich Drepper <drepper@gmail.com>
29500
29501 * Makefile.in: Remove CVSOPT handling.
29502 * configure.in: Remove use of AC_REVISION.
29503 * iconvdata/Makefile (distribute): No need to filter out CVS.
29504 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29505 handling.
29506
5583a086
AS
295072011-11-16 Andreas Schwab <schwab@redhat.com>
29508
29509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29510 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29511 [USE_AS_STRNCASECMP_L]: Likewise.
29512 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29513 NO_TLS_DIRECT_SEG_REFS.
29514 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29515 Fix argument offsets for non-PIC.
29516 [USE_AS_STRNCASECMP_L]: Likewise.
29517 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29518 NO_TLS_DIRECT_SEG_REFS.
29519
d62a8200
UD
295202011-11-15 Ulrich Drepper <drepper@gmail.com>
29521
9d65ea3a 29522 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29523 O_CLOEXEC.
29524 * locale/loadlocale.c (_nl_load_locale): Likewise.
29525
09f93bd3
AS
295262011-11-15 Andreas Schwab <schwab@redhat.com>
29527
446514f9
AS
29528 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29529 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29530 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29531 (SYSCALL_GETTIME): Set errno on error.
29532
09f93bd3
AS
29533 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29534 count references to noai6ai_cached.
29535
312be3f9
UD
295362011-11-15 Ulrich Drepper <drepper@gmail.com>
29537
29538 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29539
29540 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29541 FD_CLOEXEC for /proc/self/maps.
29542
29543 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29544 FD_CLOEXEC for /proc/meminfo.
29545
29546 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29547 gai.conf.
29548
29549 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29550 FD_CLOEXEC for given file.
29551
29552 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29553
29554 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29555 FD_CLOEXEC for /etc/hosts.
29556 (_gethtent): Likewise.
29557
29558 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29559
29560 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29561 cancellation and set FD_CLOEXEC for /etc/netgroup.
29562
29563 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29564 reading /etc/publickey.
29565
29566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29567 allow cancellation when reading /etc/group.
29568
29569 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29570 cancellation.
29571 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29572
29573 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29574 when using data file.
29575
29576 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29577
29578 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29579 (write_nis_obj): Use "c" and "e" in fopen.
29580
29581 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29582
29583 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29584
29585 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29586
29587 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29588
29589 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29590 locale.alias.
29591
29592 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29593
29594 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29595
29596 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29597
29598 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29599 file parsing and set FD_CLOEXEC.
29600
82af0fa8
UD
296012011-11-14 Ulrich Drepper <drepper@gmail.com>
29602
29603 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29604
a5fb313c
AS
296052011-11-14 Andreas Schwab <schwab@redhat.com>
29606
29607 * malloc/arena.c (arena_get2): Don't call reused_arena when
29608 _int_new_arena failed.
29609
6abf3465
UD
296102011-11-14 Ulrich Drepper <drepper@gmail.com>
29611
29612 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29613 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29614 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29615 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29616 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29618 to compile strcasecmp and strncasecmp.
29619 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29620 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29621
29622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29623
76e3966e
UD
296242011-11-13 Ulrich Drepper <drepper@gmail.com>
29625
29626 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29627 locale-defines.sym to gen-as-const-headers.
29628 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29629 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29630 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29631 to compile strcasecmp and strncasecmp.
29632 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29633 strcasecmp_l and strncasecmp_l.
29634 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29635 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29636 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29637 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29638 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29639 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29640 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29641 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29642 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29643 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29644 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29645
ab26144e
UD
296462011-11-12 Ulrich Drepper <drepper@gmail.com>
29647
7edb22ef
UD
29648 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29649 result of SYSDEP_GETTIME_CPU to retval.
29650 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29651 parameter list to macro. Remove trailing semicolon. Adjust users.
29652
9694fc44
UD
29653 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29654 variable.
29655
8ad89ef8
UD
29656 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29657 mantissa words.
29658 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29659
0c822ef9
UD
29660 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29661 from unused variable.
29662
874e0564
UD
29663 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29664 DWARF definitions.
29665 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29666 for assembling.
29667
3a2edc79
UD
29668 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29669 over namespaces.
29670
f3c2577f
UD
29671 * sunrpc/rpc_prot.c (rejected): Fix case value.
29672
294ce126
UD
29673 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29674 unsigned long long int to avoid warnings in shift.
29675
5e2b63c6
UD
29676 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29677 of use of trans.
29678 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29679 variable tmp.
29680
e7f4b08e
UD
29681 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29682 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29683 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29684
ab26144e
UD
29685 * nis/nis_table.c (nis_list): Use variable of correct type for
29686 result of __follow_path call.
29687
8a6d5255
AZ
296882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29689
29690 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29691 of math functions ceil, trunc, floor, round, and sqrt, when
29692 avaliable on the platform.
29693 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29694 name clash.
29695 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29696 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29697 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29698
aaddc98c
MP
296992011-10-30 Marek Polacek <mpolacek@redhat.com>
29700
29701 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29702 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29703
95b7042b
RM
297042011-11-11 Roland McGrath <roland@hack.frob.com>
29705
29706 * include/unistd.h: Fix __readlink return type.
29707 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29708
57769839
UD
297092011-11-11 Ulrich Drepper <drepper@gmail.com>
29710
29711 * stdlib/ucontext.h: Undo last change for makecontext.
29712
edc5984d
AS
297132011-11-11 Andreas Schwab <schwab@redhat.com>
29714
98591e58
AS
29715 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29716
edc5984d
AS
29717 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29718 * setjmp/setjmp.h: Mark functions as non-leaf.
29719 * setjmp/bits/setjmp2.h: Likewise.
29720 * stdlib/ucontext.h: Likewise.
29721
77cdc054
AS
297222011-11-10 Andreas Schwab <schwab@redhat.com>
29723
29724 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29725 (reused_arena): Don't check arena limit.
29726 (arena_get2): Atomically check arena limit.
29727
fe72eebd
UD
297282011-11-08 Ulrich Drepper <drepper@gmail.com>
29729
5f078c32
UD
29730 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29731 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29732
fe72eebd
UD
29733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29734 instructions.
29735
ae1bc2fa
AS
297362011-11-07 Andreas Schwab <schwab@redhat.com>
29737
7583a88d
AS
29738 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29739 handler when locking.
29740
ae1bc2fa
AS
29741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29742 Fix size of allocated buffer.
29743
10fb0bfa
AS
297442011-11-04 Andreas Schwab <schwab@redhat.com>
29745
998832a4
AS
29746 [BZ #10103]
29747 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29748 declarations for long double functions.
29749 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29750
10fb0bfa
AS
29751 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29752
3d7ba52b
AS
297532011-11-03 Andreas Schwab <schwab@redhat.com>
29754
a9ae54a1
AS
29755 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29756 installed.
29757
3d7ba52b
AS
29758 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29759 is disabled.
29760
bc8db248
ST
297612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29762
29763 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29764
45b96dd6
AS
297652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29766
647776f6
AS
29767 * include/alloca.h (stackinfo_alloca_round): Define.
29768 (extend_alloca): Use it.
29769 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29770 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29771 here.
29772
d91a8b93
AS
29773 * scripts/check-local-headers.sh: Ignore libaudit.h.
29774
45b96dd6
AS
29775 * nscd/Makefile (extra-objs): Make recursively expanded.
29776
432d41ce
UD
297772011-11-01 Ulrich Drepper <drepper@gmail.com>
29778
34372fc6
UD
29779 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29780 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29781
fadb59f8
UD
29782 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29783 * posix/tst-rfc3484-2.c: Likewise.
29784 * posix/tst-rfc3484-3.c: Likewise.
29785
78239589
UD
29786 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29787 process_vm_writev.
29788 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29789 process_vm_writev.
29790 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29791 process_vm_writev from libc using GLIBC_2.15 version.
29792
432d41ce
UD
29793 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29794
02f9c6cf
PP
297952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29796
29797 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29798 stack usage.
29799
3a2c0242
UD
298002011-10-31 Ulrich Drepper <drepper@gmail.com>
29801
f4ec4833
UD
29802 [BZ #13367]
29803 * nss/getent.c (initgroups_keys): Show error message in case no group
29804 names are given.
29805
3a2c0242
UD
29806 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29807 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29808 __bump_nl_timestamp.
29809 * nscd/connections (nscd_init): When host database is served open
29810 netlink socket and request notification about configuration changes.
29811 (main_loop_poll): Track netlink file descriptor and bump timestamp
29812 in case data becomes available.
29813 (main_loop_epoll): Likewise.
29814 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29815 (database_pers_head): Add extra_data fileds.
29816 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29817 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29818 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29819 Adjust caller.
29820 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29821 in6ai data, call __free_in6ai.
29822 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29823 Add -DHAVE_NETLINK.
29824 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29825 interface information. Reuse previous data if netlink timestamp
29826 is not changed.
29827 (__bump_nl_timestamp): New function.
29828 (__free_in6ai): New function.
29829
636064eb
UD
298302011-10-30 Ulrich Drepper <drepper@gmail.com>
29831
29832 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29833 close_not_cancel_no_status here.
29834 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29835
9beb2334
UD
298362011-10-29 Ulrich Drepper <drepper@gmail.com>
29837
6ef76f3b
UD
29838 [BZ #13276]
29839 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29840 return value.
29841
0ffc4f3e 29842 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29843 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29844 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29845
cb95113e
UD
298462011-07-03 Andreas Jaeger <aj@suse.de>
29847
29848 [BZ #10709]
29849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29850 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29851 * math/libm-test.inc (sin_test): Add test case.
29852
a1b560ff
UD
298532011-10-29 Ulrich Drepper <drepper@gmail.com>
29854
c9aaface
UD
29855 [BZ #13337]
29856 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29857 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29858
d272e7f1
UD
29859 * elf/chroot_canon.c (chroot_canon): Cleanups.
29860
1bc33071
UD
29861 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29862
1760874d
TJ
29863 [BZ #13335]
29864 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29865 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29866
51d91b18
UD
29867 * string/test-strchr.c: Make usable for strchrnul testing.
29868 * string/test-strchrnul.c: New file.
29869 * string/Makefile (strop-tests): Add strchrnul.
29870
a1b560ff 29871 * po/it.po: Update from translation team.
b611fb81 29872 * po/es.po: Likewise.
a1b560ff 29873
a5b81e1f
UD
298742011-10-28 Ulrich Drepper <drepper@gmail.com>
29875
fd52bc6d
UD
29876 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29877 the three constants needed as parameters. Drop the others.
29878 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29879 __m128i_strloadu_tolower.
52e4b9eb
UD
29880 Create and initialize variable zero and use it in all the places
29881 where _mm_setzero_si128 was used.
fd52bc6d 29882
a5b81e1f
UD
29883 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29884 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29885 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29886 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29887 anymore.
29888 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29889 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29890 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29891 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29892 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29893 __mpranred, __mptan.
29894 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29895 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29896 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29897 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29898 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29899 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29900 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29901 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29902 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29903
b4343346
AS
299042011-10-28 Andreas Schwab <schwab@redhat.com>
29905
0c92d8a8
AS
29906 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29907 redefine if SHARED.
29908 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29909
b4343346
AS
29910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29911 wide char related routines to wcsmbs subdir.
29912
3871f58f
AS
299132011-10-27 Andreas Schwab <schwab@redhat.com>
29914
29915 [BZ #13344]
29916 * misc/sys/cdefs.h (__THROWNL): Define.
29917 * posix/unistd.h: Use __THREADNL instead of __THREAD
29918 for memory synchronization functions.
29919
94d44d9f
RM
299202011-10-26 Roland McGrath <roland@hack.frob.com>
29921
21b64b15 29922 [BZ #13349]
94d44d9f
RM
29923 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29924 doesn't exist.
29925 * manual/stdio.texi (Obstack Streams): Node removed.
29926
f6ce9294
AS
299272011-10-26 Andreas Schwab <schwab@redhat.com>
29928
80479147
AS
29929 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29930 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29931 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29932
f6ce9294
AS
29933 * math/math_private.h (math_force_eval): Allow non-addressable
29934 arguments.
29935 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29936
618280a1
UD
299372011-10-25 Ulrich Drepper <drepper@gmail.com>
29938
e0016b11
UD
29939 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29940 file is not needed.
29941
29942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29944 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29945 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29949 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29950 Add AVX variants.
29951 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29952 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29953 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29954 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29955 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29956 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29957 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29958 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29959 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29960 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29961 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29962 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29964 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29965 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29966 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29967 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29968 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29969 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29970
29971 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29972 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29973
618280a1
UD
29974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29975 place. Use VEX encoding when compiling for AVX.
29976
37822576
AS
299772011-10-25 Andreas Schwab <schwab@redhat.com>
29978
1f1e1947
AS
29979 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29980 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29981
37822576
AS
29982 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29983
31ea014d
UD
299842011-10-25 Ulrich Drepper <drepper@gmail.com>
29985
d7826aa1 29986 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29987 useless if() expression.
d7826aa1
UD
29988 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29989 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29990 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29992 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29993 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29994 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29996 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29998 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29999 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30000 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30001 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30002 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30003 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30004 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30006 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30007
31ea014d
UD
30008 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30009
16437fec
AS
300102011-10-25 Andreas Schwab <schwab@redhat.com>
30011
30012 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30013 condition.
30014 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30015
31d3cc00
UD
300162011-10-25 Ulrich Drepper <drepper@gmail.com>
30017
30018 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30019 .text section. Avoid duplicate constants.
30020 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30022 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30029 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30030 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30031 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30032 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30033 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30034 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30036 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30037 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30043 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30044 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30045 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30046 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30047 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30048 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30049 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30050 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30051 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30052 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30053 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30054 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30055 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30056 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30057 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30058 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30059 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30060 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30061 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30062 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30063 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30064 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30065
58985aa9
UD
300662011-10-24 Ulrich Drepper <drepper@gmail.com>
30067
202c9deb
UD
30068 * sysdeps/x86_64/dla.h: Move to ...
30069 * sysdeps/x86_64/fpu/dla.h: ...here.
30070 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30071 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30072
af968f62
UD
30073 * config.make.in: Add have-mfma4 entry.
30074 * configure.in: Substitute libc_cv_cc_fma4.
30075 * math/Makefile (dbl-only-routines): Add sincostab.
30076 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30077 Use __sincostab not sincos.
30078 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30079 name is a macro.
30080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30084 using __copysign.
30085 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30086 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30087 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30088 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30089 and __inv.
30090 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30091 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30092 __copysign.
30093 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30094 define aliases when function name is a macro.
30095 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30096 sysdeps/ieee754/dbl-64/sincos.tbl.
30097 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30098 fma4-enabled routines.
30099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30100 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30101 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30102 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30103 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30104 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30105 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30106 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30107 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30108 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30109 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30110 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30111 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30112 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30113 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30114 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30115 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30116 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30117 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30119 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30120 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30121 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30126 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30127 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30128 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30129
58985aa9
UD
30130 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30131 rename.
30132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30140
a201fbcf
AS
301412011-10-24 Andreas Schwab <schwab@redhat.com>
30142
30143 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30144
fc2ee42a
LD
301452011-10-23 Ulrich Drepper <drepper@gmail.com>
30146
bb3129bd
UD
30147 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30148
0275fff8
UD
30149 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30150 prediction.
30151 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30152
2fa2ae85
UD
30153 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30154 Remove unused variable magic_bits.
30155 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30156
fc2ee42a
LD
30157 * string/strnlen.c: Define and use STRNLEN macro.
30158 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30159 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30160 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30161 * wcsmbs/wcslen.c: Define and use WCSLEN.
30162 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30163 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30164 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30165 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30166 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30167 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30168 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30169
ce7dd29f
LD
301702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30171
30172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30173 strnlen-sse2-no-bsf.
30174 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30176 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30177 Add strnlen support.
30178 (USE_AS_STRNLEN): New macro.
30179 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30180 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30181 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30182 * sysdeps/x86_64/wcslen.S: New file.
30183
979c70a3
MZ
301842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30185
30186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30187 XMM-moves are used for copying on small sizes.
30188
2d09f82f
LD
301892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30190
30191 * wcsmbs/Makefile (strop-tests): Add wcschr.
30192 * wcsmbs/test-wcschr.c: New file.
30193 * string/test-strchr.c: Update.
30194 Add wcschr support.
30195 (WIDE): New macro.
30196
619fccca
LD
301972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30198
2d09f82f 30199 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30200 * wcsmbs/test-wcslen.c: New file.
30201 * string/test-strlen.c: Update.
30202 Add wcslen support.
30203 (WIDE): New macro.
30204
09f699ea
UD
302052011-10-23 Ulrich Drepper <drepper@gmail.com>
30206
30207 * po/it.po: Update from translation team.
30208
95584d3b
LD
302092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30210
30211 * sysdeps/x86_64/wcscmp.S: Update.
30212 Fix wrong comparison semantics.
30213 wcscmp shall use signed comparison not unsigned.
30214 Don't use substraction to avoid overflow bug.
30215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30216 * wcsmbc/wcscmp.c: Likewise.
30217 * string/test-strcmp.c: Likewise.
30218 Add new tests to check cases with negative values.
30219
c8b3296b
UD
302202011-10-23 Ulrich Drepper <drepper@gmail.com>
30221
30222 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30223 * sysdeps/x86_64/dla.h: ...here. New file.
30224 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30233
246ad57a
AS
302342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30235
30236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30237 __ynl_finite aliases.
30238
a1a87169
UD
302392011-10-22 Ulrich Drepper <drepper@gmail.com>
30240
0d355eb7
UD
30241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30242
a1a87169
UD
30243 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30244 define DLA_FMA.
30245 [DLA_FMA] (EMULV): Use DLA_FMA.
30246 [DLA_FMA] (MUL12): Use EMULV.
30247 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30248 that are not needed.
30249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30256
ee2aafe0
AS
302572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30258
30259 * math/s_nan.c: Undef __nan.
30260 * math/s_nanf.c: Undef __nanf.
30261 * math/s_nanl.c: Undef __nanl.
30262 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30263 "math_private.h".
30264
bc62c2fb
UD
302652011-10-22 Ulrich Drepper <drepper@gmail.com>
30266
77425c63
UD
30267 * math/s_catan.c: Add branch predictions.
30268 * math/s_catanf.c: Likewise.
30269 * math/s_catanh.c: Likewise.
30270 * math/s_catanhf.c: Likewise.
30271 * math/s_catanhl.c: Likewise.
30272 * math/s_catanl.c: Likewise.
30273 * math/s_cexp.c: Likewise.
30274 * math/s_cexpf.c: Likewise.
30275 * math/s_cexpl.c: Likewise.
30276 * math/s_clog.c: Likewise.
30277 * math/s_clog10.c: Likewise.
30278 * math/s_clog10f.c: Likewise.
30279 * math/s_clog10l.c: Likewise.
30280 * math/s_clogf.c: Likewise.
30281 * math/s_clogl.c: Likewise.
30282 * math/s_csqrt.c: Likewise.
30283 * math/s_csqrtf.c: Likewise.
30284 * math/s_csqrtl.c: Likewise.
30285 * math/s_ctanf.c: Likewise.
30286 * math/s_ctanh.c: Likewise.
30287 * math/s_ctanhf.c: Likewise.
30288 * math/s_ctanhl.c: Likewise.
30289 * math/s_ctanl.c: Likewise.
30290
bc62c2fb
UD
30291 * math/math_private.h: Define __nan, __nanf, __nanl.
30292 * math/s_cacosh.c: Include <math_private.h>.
30293 * math/s_cacoshl.c: Likewise.
30294 * math/s_casinh.c: Likewise.
30295 * math/s_casinhf.c: Likewise.
30296 * math/s_casinhl.c: Likewise.
30297 * math/s_ccos.c: Rely entire on ccosh.
30298 * math/s_ccosf.c: Rely entire on ccoshf.
30299 * math/s_ccosl.c: Rely entirely on ccoshl.
30300 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30301 Remove tests for FE_INVALID.
30302 * math/s_ccoshf.c: Likewise.
30303 * math/s_ccoshl.c: Likewise.
30304 * math/s_csin.c: Likewise.
30305 * math/s_csinf.c: Likewise.
30306 * math/s_csinh.c Likewise.
30307 * math/s_csinhf.c: Likewise.
30308 * math/s_csinhl.c: Likewise.
30309 * math/s_csinl.c: Likewise.
30310 * math/s_ctan.c: Likewise.
30311 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30312 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30314
8ec250a4
UD
303152011-10-21 Ulrich Drepper <drepper@gmail.com>
30316
c196fed8
UD
30317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30318 compilation problems.
30319
8ec250a4
UD
30320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30321 __builtin_expect.
30322
8d4f46c6
UD
303232011-10-20 Ulrich Drepper <drepper@gmail.com>
30324
ed72b654
UD
30325 * sysdeps/i386/configure.in: Test for -mfma4 option.
30326 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30327 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30328 COMMON_CPUID_INDEX_80000001.
30329 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30330 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30331 use it if FMA3 is not supported.
30332 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30333
8d4f46c6
UD
30334 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30335 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30336
d45c60c2
AS
303372011-10-20 Andreas Schwab <schwab@redhat.com>
30338
30339 [BZ #12892]
30340 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30341 it would create a cycle with a link time dependency.
30342
d9a4d2ab
UD
303432011-10-19 Ulrich Drepper <drepper@gmail.com>
30344
855d1560
UD
30345 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30346 instruction.
30347 * string/Makefile (strop-tests): Add rawmemchr.
30348 * string/test-rawmemchr.c: New file.
30349
d9a4d2ab
UD
30350 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30352 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30353 when compiling str{,n}casecmp and when AVX is available. Hook up
30354 new optimized code in initializers.
30355
8f3b1ffe
AS
303562011-10-19 Andreas Schwab <schwab@redhat.com>
30357
30358 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30359 __feraiseexcept instead of feraiseexcept.
30360
d38f1dba
UD
303612011-10-18 Ulrich Drepper <drepper@gmail.com>
30362
d9a8d0ab
UD
30363 * math/math_private.h: Define defaults for libc_fetestexcept and
30364 libc_feupdateenv.
30365 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30366 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30367 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30368 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30369 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30370 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30371 libc_fetestexcept and libc_feupdateenv.
30372
4855e3dd
UD
30373 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30374 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30375 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30376 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30377 libc_feholdexcept_setround.
30378
581d30e3
UD
30379 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30380 Add s_nearbyint-c and s_nearbyintf-c.
30381 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30382 nearbyintf inlines.
30383 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30384 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30385 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30386 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30387
d38f1dba
UD
30388 * math/math_private.h: Define defaults for libc_fegetround,
30389 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30390 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30391 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30393 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30394 standard functions.
30395 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30396 Remove comments and hacks for old compiler versions.
30397 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30398 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30399 libc_feholdexceptl.
30400
caa6c9d8
AS
304012011-10-18 Andreas Schwab <schwab@redhat.com>
30402
30403 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30404 (__feraiseexcept_renamed): Add __NTH.
30405 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30406 namespace violations.
30407
97c066e6
UD
304082011-10-17 Ulrich Drepper <drepper@gmail.com>
30409
99ce7b04
UD
30410 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30411
1004d182
UD
30412 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30413
228a984d
UD
30414 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30415 recently added interfaces.
30416 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30417
c8553a6a
UD
30418 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30419 about macro parameter expansion.
30420
ed22dcf6
UD
30421 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30422 __NO_MATH_INLINES is defined. Cleanups.
30423
30424 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30425 and __floorf is target has SSE4.1.
30426 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30427 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30428 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30429 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30430
b171c137
UD
30431 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30432 name.
30433 (floorf): Likewise.
30434
97c066e6
UD
30435 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30436
629f62ef
AS
304372011-10-17 Andreas Schwab <schwab@redhat.com>
30438
49a43d80
AS
30439 * misc/sys/cdefs.h: Fix last change.
30440
629f62ef
AS
30441 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30442 database lookup.
30443
e453f6cd
UD
304442011-10-16 Ulrich Drepper <drepper@gmail.com>
30445
aa78043a
UD
30446 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30447
ad0f5cad
UD
30448 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30450 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30451 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30452 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30453 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30454 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30455 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30456 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30457 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30458 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30459 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30460 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30461 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30462 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30463 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30464 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30465 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30466 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30467 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30468 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30469 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30470
30471 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30472 ceil, ceilf, floor, floorf.
30473
30474 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30475 Perform IRELATIVE relocations last.
30476
e453f6cd
UD
30477 * elf/do-rel.h: Add another parameter nrelative, replacing the
30478 local variable with the same name. Change name of the function
30479 to end in Rel or Rela (uppercase).
30480 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30481 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30482 elf_dynamic_do_##reloc function.
30483
fd5bdc09
UD
304842011-10-15 Ulrich Drepper <drepper@gmail.com>
30485
79b195b5
UD
30486 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30487 is sufficient, at least on modern CPUs.
30488
d4a28569
UD
30489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30490
b61099b5
UD
30491 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30492 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30493
bcf01e6d
UD
30494 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30495 __expl_finite.
30496 * math/bits/math-finite.h: Add entries for exp.
30497 * math/e_expl.c: Add __*_finite alias.
30498 * sysdeps/i386/fpu/e_exp.S: Likewise.
30499 * sysdeps/i386/fpu/e_expf.S: Likewise.
30500 * sysdeps/i386/fpu/e_expl.c: Likewise.
30501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30502 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30506 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30507 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30508
ba1a0d59
UD
30509 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30510 is sufficient, at least on modern CPUs.
30511
fd5bdc09
UD
30512 * ctype/ctype-info.c (__ctype_init): Define.
30513 * include/ctype.h (__ctype_init): Declare.
30514 (__ctype_b_loc): The variable is always initialized.
30515 (__ctype_toupper_loc): Likewise.
30516 (__ctype_tolower_loc): Likewise.
30517 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30518 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30519
7872cfb0
AS
305202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30521
b468825a
AS
30522 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30523
7872cfb0
AS
30524 * configure.in: Also look in $cxxmachine/include for C++ system
30525 headers.
30526
be13f7bf
LD
305272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30528
30529 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30530 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30531 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30532 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30533 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30534 (USE_AS_WMEMCMP): New macro.
30535 Fixing indents.
30536 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30537 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30538 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30539 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30541 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30542 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30543 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30544 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30545 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30546 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30547 (USE_AS_WMEMCMP): New macro.
30548 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30549 * sysdeps/string/test-memcmp.c: Update.
30550 Fix simple_wmemcmp.
30551 Add new tests.
30552 * wcsmbs/wmemcmp.c: Update.
30553 (WMEMCMP): New macro.
30554 Fix overflow bug.
30555
556a2007
AJ
305562011-10-12 Andreas Jaeger <aj@suse.de>
30557
30558 [BZ #13268]
30559 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30560
538faaa7
UD
305612011-10-15 Ulrich Drepper <drepper@gmail.com>
30562
ab6737ff
UD
30563 * libio/iofwide.c (do_length): Avoid warning.
30564
538faaa7
UD
30565 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30566
396a21b1
UD
305672011-10-14 Ulrich Drepper <drepper@gmail.com>
30568
cdf2901f
UD
30569 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30570
38ad40ce
UD
30571 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30572 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30573 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30574 * sysdeps/i386/i686/fpu/e_log.S: New file.
30575 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30576 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30577
396a21b1
UD
30578 * ctype/ctype.h: Add support for inlined isXXX functions when
30579 compiling C++ code.
30580
6b1f68c9
AS
305812011-10-14 Andreas Schwab <schwab@redhat.com>
30582
349290c0
AS
30583 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30584
6b1f68c9
AS
30585 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30586
f2282d42
RM
305872011-10-13 Roland McGrath <roland@hack.frob.com>
30588
30589 [BZ #13291]
30590 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30591
5298ffa8
AS
305922011-10-13 Andreas Schwab <schwab@redhat.com>
30593
714fad23
AS
30594 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30595 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30596 feraiseexcept.
30597
81dcc7fb
AS
30598 * sysdeps/x86_64/memrchr.S: Check for zero size.
30599
5298ffa8
AS
30600 * string/stratcliff.c: Add memrchr tests.
30601
951fbcec
LD
306022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30603
30604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30605 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30606 rawmemchr-sse2 rawmemchr-sse2-bsf.
30607 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30608 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30609 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30610 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30611 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30612 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30613 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30614 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30615 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30616 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30617 * string/memrchr.c (MEMRCHR): New macro.
30618
0ac5ae23
UD
306192011-10-12 Ulrich Drepper <drepper@gmail.com>
30620
30621 Add integration with gcc's -ffinite-math-only and optimize wrapper
30622 functions in libm.
30623 * Versions.def: Define GLIBC_2.15 version for libm.
30624 * math/Makefile (headers): Add bits/math-finite.h.
30625 * math/bits/math-finite.h: New file.
30626 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30627 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30628 * math/e_acoshl.c: Add __*_finite alias.
30629 * math/e_acosl.c: Likewise.
30630 * math/e_asinl.c: Likewise.
30631 * math/e_atan2l.c: Likewise.
30632 * math/e_atanhl.c: Likewise.
30633 * math/e_coshl.c: Likewise.
30634 * math/e_exp10.c: Likewise.
30635 * math/e_exp10f.c: Likewise.
30636 * math/e_exp10l.c: Likewise.
30637 * math/e_exp2l.c: Likewise.
30638 * math/e_fmodl.c: Likewise.
30639 * math/e_gammal_r.c: Likewise.
30640 * math/e_hypotl.c: Likewise.
30641 * math/e_j0l.c: Likewise.
30642 * math/e_j1l.c: Likewise.
30643 * math/e_jnl.c: Likewise.
30644 * math/e_lgammal_r.c: Likewise.
30645 * math/e_log10l.c: Likewise.
30646 * math/e_log2l.c: Likewise.
30647 * math/e_logl.c: Likewise.
30648 * math/e_powl.c: Likewise.
30649 * math/e_sinhl.c: Likewise.
30650 * math/e_sqrtl.c: Likewise.
30651 * math/e_scalb.c: Completely rewritten and optimized.
30652 * math/e_scalbf.c: Likewise.
30653 * math/e_scalbl.c: Likewise.
30654 * math/w_acos.c: Likewise.
30655 * math/w_acosf.c: Likewise.
30656 * math/w_acosl.c: Likewise.
30657 * math/w_acosh.c: Likewise.
30658 * math/w_acoshf.c: Likewise.
30659 * math/w_acoshl.c: Likewise.
30660 * math/w_asin.c: Likewise.
30661 * math/w_asinf.c: Likewise.
30662 * math/w_asinl.c: Likewise.
30663 * math/w_atan2.c: Likewise.
30664 * math/w_atan2f.c: Likewise.
30665 * math/w_atan2l.c: Likewise.
30666 * math/w_atanh.c: Likewise.
30667 * math/w_atanhf.c: Likewise.
30668 * math/w_atanhl.c: Likewise.
30669 * math/w_exp10.c: Likewise.
30670 * math/w_exp10f.c: Likewise.
30671 * math/w_exp10l.c: Likewise.
30672 * math/w_fmod.c: Likewise.
30673 * math/w_fmodf.c: Likewise.
30674 * math/w_fmodl.c: Likewise.
30675 * math/w_j0.c: Likewise.
30676 * math/w_j0f.c: Likewise.
30677 * math/w_j0l.c: Likewise.
30678 * math/w_j1.c: Likewise.
30679 * math/w_j1f.c: Likewise.
30680 * math/w_j1l.c: Likewise.
30681 * math/w_jn.c: Likewise.
30682 * math/w_jnf.c: Likewise.
30683 * math/w_log.c: Likewise.
30684 * math/w_logf.c: Likewise.
30685 * math/w_logl.c: Likewise.
30686 * math/w_log10.c: Likewise.
30687 * math/w_log10f.c: Likewise.
30688 * math/w_log10l.c: Likewise.
30689 * math/w_log2.c: Likewise.
30690 * math/w_log2f.c: Likewise.
30691 * math/w_log2l.c: Likewise.
30692 * math/w_pow.c: Likewise.
30693 * math/w_powf.c: Likewise.
30694 * math/w_powl.c: Likewise.
30695 * math/w_remainder.c: Likewise.
30696 * math/w_remainderf.c: Likewise.
30697 * math/w_remainderl.c: Likewise.
30698 * math/w_scalb.c: Likewise.
30699 * math/w_scalbf.c: Likewise.
30700 * math/w_scalbl.c: Likewise.
30701 * math/w_sqrt.c: Likewise.
30702 * math/w_sqrtf.c: Likewise.
30703 * math/w_sqrtl.c: Likewise.
30704 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30705 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30706 used.
30707 * math/math_private.h: Declare __kernel_standard_f.
30708 * math/w_cosh.c: Remove cruft and optimize a bit.
30709 * math/w_coshf.c: Likewise.
30710 * math/w_coshl.c: Likewise.
30711 * math/w_exp2.c: Likewise.
30712 * math/w_exp2f.c: Likewise.
30713 * math/w_exp2l.c: Likewise.
30714 * math/w_hypot.c: Likewise.
30715 * math/w_hypotf.c: Likewise.
30716 * math/w_hypotl.c: Likewise.
30717 * math/w_lgamma.c: Likewise.
30718 * math/w_lgamma_r.c: Likewise.
30719 * math/w_lgammaf.c: Likewise.
30720 * math/w_lgammaf_r.c: Likewise.
30721 * math/w_lgammal.c: Likewise.
30722 * math/w_lgammal_r.c: Likewise.
30723 * math/w_sinh.c: Likewise.
30724 * math/w_sinhf.c: Likewise.
30725 * math/w_sinhl.c: Likewise.
30726 * math/w_tgamma.c: Likewise.
30727 * math/w_tgammaf.c: Likewise.
30728 * math/w_tgammal.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30730 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30731 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30732 Minor optimizations. Pretty printing. Remove cruft.
30733 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30734 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30736 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30737 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30738 * sysdeps/i386/fpu/e_asin.S: Likewise.
30739 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30740 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30741 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30742 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30743 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30744 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30745 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30746 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30747 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30748 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30749 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30750 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30751 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30752 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30753 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30754 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30755 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30756 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30757 * sysdeps/i386/fpu/e_log.S: Likewise.
30758 * sysdeps/i386/fpu/e_log10.S: Likewise.
30759 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30760 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30761 * sysdeps/i386/fpu/e_log2.S: Likewise.
30762 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30763 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30764 * sysdeps/i386/fpu/e_logf.S: Likewise.
30765 * sysdeps/i386/fpu/e_logl.S: Likewise.
30766 * sysdeps/i386/fpu/e_pow.S: Likewise.
30767 * sysdeps/i386/fpu/e_powf.S: Likewise.
30768 * sysdeps/i386/fpu/e_powl.S: Likewise.
30769 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30770 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30771 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30772 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30773 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30774 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30775 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30776 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30777 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30778 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30792 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30794 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30795 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30796 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30798 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30799 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30800 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30801 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30802 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30804 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30805 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30806 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30807 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30808 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30809 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30810 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30811 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30812 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30813 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30814 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30815 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30816 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30817 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30818 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30819 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30828 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30833 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30843 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30844 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30847 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30849 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30850 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30851 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30858 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30861 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30862 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30863 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30864 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30865 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30866 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30867 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30868 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30869 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30870 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30871 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30872 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30873 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30874 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30875 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30876 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30877 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30878 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30879 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30880 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30881 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30882 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30883 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30884 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30885 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30886 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30887 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30888 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30889 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30890 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30891 (__isnanf): Likewise.
30892 (__isinf_ns): Likewise.
30893 (__isinf_nsf): Likewise.
30894 (__finite): Likewise.
30895 (__finitef): Likewise.
30896 (__ieee754_sqrt): Define as macro.
30897 (__ieee754_sqrtf): Define as macro.
30898 (__ieee754_sqrtl): Define as macro.
30899 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30900 inlined copy.
30901 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30902 __FINITE_MATH_ONLY__ consistent.
30903 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30904
12cc2fcd
AS
309052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30906
a843a204
AS
30907 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30908 of rawmemchr.
30909
12cc2fcd
AS
30910 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30911
c853acd5
UD
309122011-10-09 Ulrich Drepper <drepper@gmail.com>
30913
30914 * po/ja.po: Update from translation team.
30915
c658d255
RM
309162011-10-08 Roland McGrath <roland@hack.frob.com>
30917
110946e4
RM
30918 * locale/programs/locarchive.c (prepare_address_space): New function.
30919 (create_archive, enlarge_archive, open_archive): Use it.
30920
50604220
RM
30921 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30922 inside [SHARED], where it is used.
30923
c658d255
RM
30924 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30925
30926 * nss/getent.c (netgroup_keys): Remove unused variable.
30927 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30928
6a621eb7
UD
309292011-10-08 Ulrich Drepper <drepper@gmail.com>
30930
7edb55ce
UD
30931 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30932 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30934 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30935 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30936 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30937 * math/Makefile (libm-calls): Add s_isinf_ns.
30938 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30939 * math/multc3.c: Likewise.
30940 * math/s_casin.c: Likewise.
30941 * math/s_casinf.c: Likewise.
30942 * math/s_casinl.c: Likewise.
30943 * math/s_ccos.c: Likewise.
30944 * math/s_ccosf.c: Likewise.
30945 * math/s_ccosl.c: Likewise.
30946 * math/s_ctan.c: Likewise.
30947 * math/s_ctanf.c: Likewise.
30948 * math/s_ctanh.c: Likewise.
30949 * math/s_ctanhf.c: Likewise.
30950 * math/s_ctanhl.c: Likewise.
30951 * math/s_ctanl.c: Likewise.
30952 * math/w_fmod.c: Likewise.
30953 * math/w_fmodf.c: Likewise.
30954 * math/w_fmodl.c: Likewise.
30955 * math/w_remainder.c: Likewise.
30956 * math/w_remainderf.c: Likewise.
30957 * math/w_remainderl.c: Likewise.
30958 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30959 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30962 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30963 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30964 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30965 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30966
187da0ae
UD
30967 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30968 of the number.
30969 * stdio-common/printf_fphex.c: Likewise.
30970 * stdio-common/printf_size.c: Likewise.
30971
9277c064
UD
30972 * math/e_exp10.c: Include math_private.h using <...> not "...".
30973 * math/e_exp10f.c: Likewise.
30974 * math/e_exp10l.c: Likewise.
30975 * math/e_exp2l.c: Likewise.
30976 * math/e_j0l.c: Likewise.
30977 * math/e_j1l.c: Likewise.
30978 * math/e_jnl.c: Likewise.
30979 * math/e_lgammal_r.c: Likewise.
30980 * math/e_rem_pio2l.c: Likewise.
30981 * math/e_scalb.c: Likewise.
30982 * math/e_scalbf.c: Likewise.
30983 * math/e_scalbl.c: Likewise.
30984 * math/k_cosl.c: Likewise.
30985 * math/k_sinl.c: Likewise.
30986 * math/k_tanl.c: Likewise.
30987 * math/s_cacoshf.c: Likewise.
30988 * math/s_catan.c: Likewise.
30989 * math/s_catanf.c: Likewise.
30990 * math/s_catanh.c: Likewise.
30991 * math/s_catanhf.c: Likewise.
30992 * math/s_catanhl.c: Likewise.
30993 * math/s_catanl.c: Likewise.
30994 * math/s_ccosh.c: Likewise.
30995 * math/s_ccoshf.c: Likewise.
30996 * math/s_ccoshl.c: Likewise.
30997 * math/s_cexp.c: Likewise.
30998 * math/s_cexpf.c: Likewise.
30999 * math/s_cexpl.c: Likewise.
31000 * math/s_clog.c: Likewise.
31001 * math/s_clog10.c: Likewise.
31002 * math/s_clog10f.c: Likewise.
31003 * math/s_clog10l.c: Likewise.
31004 * math/s_clogf.c: Likewise.
31005 * math/s_clogl.c: Likewise.
31006 * math/s_csin.c: Likewise.
31007 * math/s_csinf.c: Likewise.
31008 * math/s_csinh.c: Likewise.
31009 * math/s_csinhf.c: Likewise.
31010 * math/s_csinhl.c: Likewise.
31011 * math/s_csinl.c: Likewise.
31012 * math/s_csqrt.c: Likewise.
31013 * math/s_csqrtf.c: Likewise.
31014 * math/s_csqrtl.c: Likewise.
31015 * math/s_ctan.c: Likewise.
31016 * math/s_ctanf.c: Likewise.
31017 * math/s_ctanh.c: Likewise.
31018 * math/s_ctanhf.c: Likewise.
31019 * math/s_ctanhl.c: Likewise.
31020 * math/s_ctanl.c: Likewise.
31021 * math/s_ldexp.c: Likewise.
31022 * math/s_ldexpf.c: Likewise.
31023 * math/s_ldexpl.c: Likewise.
31024 * math/s_significand.c: Likewise.
31025 * math/s_significandf.c: Likewise.
31026 * math/s_significandl.c: Likewise.
31027 * math/w_acos.c: Likewise.
31028 * math/w_acosf.c: Likewise.
31029 * math/w_acosh.c: Likewise.
31030 * math/w_acoshf.c: Likewise.
31031 * math/w_acoshl.c: Likewise.
31032 * math/w_acosl.c: Likewise.
31033 * math/w_asin.c: Likewise.
31034 * math/w_asinf.c: Likewise.
31035 * math/w_asinl.c: Likewise.
31036 * math/w_atan2.c: Likewise.
31037 * math/w_atan2f.c: Likewise.
31038 * math/w_atan2l.c: Likewise.
31039 * math/w_atanh.c: Likewise.
31040 * math/w_atanhf.c: Likewise.
31041 * math/w_atanhl.c: Likewise.
31042 * math/w_cosh.c: Likewise.
31043 * math/w_coshf.c: Likewise.
31044 * math/w_coshl.c: Likewise.
31045 * math/w_dremf.c: Likewise.
31046 * math/w_exp10.c: Likewise.
31047 * math/w_exp10f.c: Likewise.
31048 * math/w_exp10l.c: Likewise.
31049 * math/w_exp2.c: Likewise.
31050 * math/w_exp2f.c: Likewise.
31051 * math/w_fmod.c: Likewise.
31052 * math/w_fmodf.c: Likewise.
31053 * math/w_fmodl.c: Likewise.
31054 * math/w_hypot.c: Likewise.
31055 * math/w_hypotf.c: Likewise.
31056 * math/w_hypotl.c: Likewise.
31057 * math/w_j0.c: Likewise.
31058 * math/w_j0f.c: Likewise.
31059 * math/w_j0l.c: Likewise.
31060 * math/w_j1.c: Likewise.
31061 * math/w_j1f.c: Likewise.
31062 * math/w_j1l.c: Likewise.
31063 * math/w_jn.c: Likewise.
31064 * math/w_jnf.c: Likewise.
31065 * math/w_jnl.c: Likewise.
31066 * math/w_lgamma.c: Likewise.
31067 * math/w_lgamma_r.c: Likewise.
31068 * math/w_lgammaf.c: Likewise.
31069 * math/w_lgammaf_r.c: Likewise.
31070 * math/w_lgammal.c: Likewise.
31071 * math/w_lgammal_r.c: Likewise.
31072 * math/w_log.c: Likewise.
31073 * math/w_log10.c: Likewise.
31074 * math/w_log10f.c: Likewise.
31075 * math/w_log10l.c: Likewise.
31076 * math/w_log2.c: Likewise.
31077 * math/w_log2f.c: Likewise.
31078 * math/w_log2l.c: Likewise.
31079 * math/w_logf.c: Likewise.
31080 * math/w_logl.c: Likewise.
31081 * math/w_pow.c: Likewise.
31082 * math/w_powf.c: Likewise.
31083 * math/w_powl.c: Likewise.
31084 * math/w_remainder.c: Likewise.
31085 * math/w_remainderf.c: Likewise.
31086 * math/w_remainderl.c: Likewise.
31087 * math/w_scalb.c: Likewise.
31088 * math/w_scalbf.c: Likewise.
31089 * math/w_scalbl.c: Likewise.
31090 * math/w_sinh.c: Likewise.
31091 * math/w_sinhf.c: Likewise.
31092 * math/w_sinhl.c: Likewise.
31093 * math/w_sqrt.c: Likewise.
31094 * math/w_sqrtf.c: Likewise.
31095 * math/w_sqrtl.c: Likewise.
31096 * math/w_tgamma.c: Likewise.
31097 * math/w_tgammaf.c: Likewise.
31098 * math/w_tgammal.c: Likewise.
31099
6a621eb7
UD
31100 * po/ja.po: Update from translation team.
31101
bf582445
AJ
311022011-09-29 Andreas Jaeger <aj@suse.de>
31103
f9efbf3a
AJ
31104 [BZ #13179]
31105 * sunrpc/netname.c (netname2host): Fix logic.
31106
bf582445
AJ
31107 [BZ #6779]
31108 [BZ #6783]
31109 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31110 correctly.
31111 * math/w_remainder.c (__remainder): Likewise.
31112 * math/w_remainderf.c (__remainderf): Likewise.
31113 * math/libm-test.inc (remainder_test): Add test cases.
31114
48693bea
AK
311152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31116
31117 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31118 sdiv_qrnnd.
31119
42622229
LD
311202011-10-07 Ulrich Drepper <drepper@gmail.com>
31121
31122 * string/test-memcmp.c: Avoid unncessary #defines.
31123 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31124
093ecf92
LD
311252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31126
31127 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31128 Use new sse2 version for core i3 - i7 as it's faster
31129 than sse42 version.
31130 (bit_Prefer_PMINUB_for_stringop): New.
31131 * sysdeps/x86_64/rawmemchr.S: Update.
31132 Replace with faster SSE2 version.
31133 * sysdeps/x86_64/memrchr.S: New file.
31134 * sysdeps/x86_64/memchr.S: Update.
31135 Replace with faster SSE2 version.
31136
fde56e5c
MP
311372011-09-12 Marek Polacek <mpolacek@redhat.com>
31138
31139 * elf/dl-load.c (lose): Add cast to avoid warning.
31140
21fd49a9
UD
311412011-10-07 Ulrich Drepper <drepper@gmail.com>
31142
5a06e643
UD
31143 * po/ca.po: Update from translation team.
31144
684ae515
UD
31145 * inet/getnetgrent_r.c: Hook up nscd.
31146 * nscd/Makefile (routines): Add nscd_netgroup.
31147 (nscd-modules): Add netgroupcache.
31148 (CFLAGS-netgroupcache.c): Define.
31149 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31150 (cache_search): Add const to second parameter.
31151 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31152 INNETGR.
31153 (dbs): Add netgrdb entry.
31154 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31155 (verify_persistent_db): Handle netgrdb.
31156 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31157 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31158 GETFDNETGR.
31159 (netgroup_response_header): Define.
31160 (innetgroup_response_header): Define.
31161 (datahead): Add netgroup_response_header and innetgroup_response_header
31162 elements.
31163 * nscd/nscd.conf: Add entries for netgroup cache.
31164 * nscd/nscd.h (dbtype): Add netgrdb.
31165 (_PATH_NSCD_NETGROUP_DB): Define.
31166 (netgroup_iov_disabled): Declare.
31167 (xmalloc, xcalloc, xrealloc): Move declarations here.
31168 (cache_search): Adjust prototype.
31169 Add netgroup-related prototypes.
31170 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31171 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31172 (__nscd_innetgr): Declare.
31173 * nscd/selinux.c (perms): Use access_vector_t as element type and
31174 add netgroup-related initializers.
31175 * nscd/netgroupcache.c: New file.
31176 * nscd/nscd_netgroup.c: New file.
31177 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31178 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31179 For four parameters use innetgr.
31180 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31181 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31182 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31183 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31184
21fd49a9
UD
31185 * nscd/connections.c (register_traced_file): Don't register file
31186 for disabled databases.
31187
054c0457
UD
311882011-10-06 Ulrich Drepper <drepper@gmail.com>
31189
32b63198
UD
31190 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31191
054c0457
UD
31192 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31193 from tree and freeing node.
31194
64031225
JO
311952011-09-25 Jiri Olsa <jolsa@redhat.com>
31196
31197 * nss/nsswitch.c (__nss_database_lookup): Handle
31198 nss_parse_service_list out of memory case.
31199
0490345c
JO
312002011-09-15 Jiri Olsa <jolsa@redhat.com>
31201
31202 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31203 out of memory case.
31204
3a62d00d
AS
312052011-10-04 Andreas Schwab <schwab@redhat.com>
31206
31207 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31208 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31209 pass it down.
31210 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31211 elf_machine_rela, elf_machine_lazy_rel.
31212 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31213 (ELF_DYNAMIC_DO_REL): Likewise.
31214 (ELF_DYNAMIC_DO_RELA): Likewise.
31215 (ELF_DYNAMIC_RELOCATE): Likewise.
31216 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31217 to ELF_DYNAMIC_DO_REL.
31218 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31219 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31220 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31221 elf_machine_rela.
31222 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31223 skip_ifunc, don't call ifunc function if non-zero.
31224 (elf_machine_rela): Likewise.
31225 (elf_machine_lazy_rel): Likewise.
31226 (elf_machine_lazy_rela): Likewise.
31227 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31228 (elf_machine_lazy_rel): Likewise.
31229 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31230 Likewise.
31231 (elf_machine_lazy_rel): Likewise.
31232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31233 Likewise.
31234 (elf_machine_lazy_rel): Likewise.
31235 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31236 (elf_machine_lazy_rel): Likewise.
31237 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31238 (elf_machine_lazy_rel): Likewise.
31239 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31240 (elf_machine_lazy_rel): Likewise.
31241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31242 (elf_machine_lazy_rel): Likewise.
31243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31244 (elf_machine_lazy_rel): Likewise.
31245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31246 (elf_machine_lazy_rel): Likewise.
31247
68577918
UD
312482011-09-28 Ulrich Drepper <drepper@gmail.com>
31249
31250 * nss/nss_files/files-init.c (_nss_files_init): Use static
31251 initialization for all the *_traced_file variables.
31252
68822d74
AS
312532011-09-28 Andreas Schwab <schwab@redhat.com>
31254
31255 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31256
2056100b
RM
312572011-09-27 Roland McGrath <roland@hack.frob.com>
31258
31259 [BZ #13226]
31260 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31261
32c76b63
AS
312622011-09-27 Andreas Schwab <schwab@redhat.com>
31263
31264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31265 Reread the line before reparsing it.
31266
bf972c9d
AS
312672011-09-26 Andreas Schwab <schwab@redhat.com>
31268
31269 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31270
e057a1b5
JM
312712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31272 Maxim Kuvyrkov <maxim@codesourcery.com>
31273 Joseph Myers <joseph@codesourcery.com>
31274
31275 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31276 if needed for __stack_chk_guard.
31277
bc7e1c36
RM
312782011-09-19 Roland McGrath <roland@hack.frob.com>
31279
ecb1482f
RM
31280 * sysdeps/posix/spawni.c (script_execute): Always define it.
31281 It will be optimized away if unused.
31282 (maybe_script_execute): New function.
31283 (__spawni): Call it.
31284
bc7e1c36
RM
31285 * Makerules: Don't include tls.make.
31286 (config-tls): Always set to thread.
31287 * tls.make.c: File removed.
31288
1c3b002b
MF
312892011-09-19 Mike Frysinger <vapier@gentoo.org>
31290
31291 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31292 * config.make.in (CPPFLAGS-config): New substituted variable.
31293
2840865d
UD
312942011-09-15 Ulrich Drepper <drepper@gmail.com>
31295
88738eb6
UD
31296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31297
cbf645a6 31298 [BZ #13192]
2840865d
UD
31299 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31300 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31301
b402e91a
RM
313022011-09-15 Roland McGrath <roland@hack.frob.com>
31303
31304 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31305 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31307 (CALL_FAIL): Likewise.
31308 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31309 (CALL_FAIL): Macro removed.
31310 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31311
4c1a1f71
UD
313122011-09-15 Ulrich Drepper <drepper@gmail.com>
31313
31314 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31315 for __FINITE_MATH_ONLY__ == 1.
31316
edc121be
AS
313172011-09-15 Andreas Schwab <schwab@redhat.com>
31318
31319 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31320 __ieee754_sqrt instead of sqrt.
31321 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31322 __ieee754_sqrtf instead of sqrtf.
31323 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31324 __floorf instead of floorf.
31325 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31326 __floorf, __truncf instead of floorf, truncf.
31327
cd205654
UD
313282011-09-14 Ulrich Drepper <drepper@gmail.com>
31329
ee4d0315
UD
31330 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31331
cd205654
UD
31332 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31333 __extern_always_inline.
31334 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31335 32-bit.
31336
48b67d71
AS
313372011-09-14 Andreas Schwab <schwab@redhat.com>
31338
31339 * elf/rtld.c (dl_main): Also relocate in dependency order when
31340 doing symbol dependency testing.
31341
1ae12c75
AS
313422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31343
31344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31345 Always define `refsym'.
31346
995a80df
AS
313472011-09-13 Andreas Schwab <schwab@redhat.com>
31348
e529793b
AS
31349 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31350 (__FD_ELT): Renamed from __FDELT.
31351 * misc/bits/select2.h (__FD_ELT): Likewise.
31352 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31353 __FD_MASK instead of __FDELT, __FDMASK.
31354 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31355 Likewise.
31356 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31357 Likewise.
31358
52d4fef8
AS
31359 * elf/Makefile (gen-ldd): Fix pattern.
31360
995a80df
AS
31361 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31362 (init_tls): Likewise.
31363
8682f8b0
UD
313642011-09-12 Ulrich Drepper <drepper@gmail.com>
31365
31366 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31367
de82006d
AS
313682011-09-12 Andreas Schwab <schwab@redhat.com>
31369
a7c8e6a1
AS
31370 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31371 `struct cmsghdr *' instead of `void *'.
31372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31373 Likewise.
31374
0f31fe77
AS
313752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31376
31377 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31378 if non-absolute.
31379 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31380 ldd_rewrite_script.
0f31fe77 31381
32b4c839
UD
313822011-09-11 Ulrich Drepper <drepper@gmail.com>
31383
83cd1420
UD
31384 * configure.in: Remove --with-tls option.
31385 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31386 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31387 out in case it is missing.
31388 * sysdeps/ia64/elf/configure.in: Likewise.
31389 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31390 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31391 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31392 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31393 * sysdeps/sh/elf/configure.in: Likewise.
31394 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31395 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31396 * sysdeps/x86_64/elf/configure.in: Likewise.
31397 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31398 * sysdeps/mach/hurd/tls.h: Likewise.
31399
633f745d
UD
31400 [BZ #13067]
31401 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31402
f318beb8
UD
31403 [BZ #13090]
31404 * configure.in: Fix use of AC_INIT.
31405
32b4c839
UD
31406 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31407
3ce1f295
UD
314082011-09-10 Ulrich Drepper <drepper@gmail.com>
31409
bb016596
UD
31410 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31411 __set_errno.
8e58439c
UD
31412 * malloc/hooks.c: Likewise.
31413
aebae053 31414 [BZ #11929]
02d46fc4
UD
31415 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31416 variables statically.
31417 (narenas): Initialize.
31418 (list_lock): Initialize.
bb016596
UD
31419 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31420 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31421 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31422 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31423 Add initializers to main_arena and mp_.
31424 (malloc_state): Remove pagesize member. Change all users to use
31425 GLRO(dl_pagesize).
31426
31427 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31428 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31429 is always initialized.
31430
22a89187
UD
31431 * malloc/malloc.c: Removed unused configurations and dead code.
31432 * malloc/arena.c: Likewise.
31433 * malloc/hooks.c: Likewise.
02d46fc4 31434 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31435
d063d164
UD
31436 * include/tls.h: Removed. USE___THREAD must always be defined.
31437 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31438 * elf/dl-libc.c: Likewise.
31439 * elf/dl-tsd.c: Likewise.
31440 * include/errno.h: Likewise.
31441 * include/netdb.h: Likewise.
31442 * include/resolv.h: Likewise.
31443 * inet/herrno-loc.c: Likewise.
31444 * inet/herrno.c: Likewise.
31445 * malloc/arena.c: Likewise.
31446 * malloc/hooks.c: Likewise.
31447 * malloc/malloc.c: Likewise.
31448 * resolv/res-state.c: Likewise.
31449 * resolv/res_libc.c: Likewise.
31450 * sysdeps/i386/dl-machine.h: Likewise.
31451 * sysdeps/ia64/dl-machine.h: Likewise.
31452 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31453 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31454 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31455 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31456 * sysdeps/sh/dl-machine.h: Likewise.
31457 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31458 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31459 * sysdeps/unix/i386/sysdep.S: Likewise.
31460 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31461 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31466 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31470 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31471 * sysdeps/x86_64/dl-machine.h: Likewise.
31472 * tls.make.c: Likewise.
31473
3ce1f295
UD
31474 * configure.in: Remove --with-__thread option. Make tests for
31475 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31476 tls_model attribute fail if no support is available. Remove
31477 USE_IN_LIBIO.
31478 * Makeconfig: Adjust for dropped configure option. All features are
31479 now mandatory.
31480 * Makerules: Likewise.
31481 * Versions.def: Likewise.
31482 * argp/argp-fmtstream.c: Likewise.
31483 * argp/argp-fmtstream.h: Likewise.
31484 * argp/argp-help.c: Likewise.
31485 * assert/assert.c: Likewise.
31486 * config.h.in: Likewise.
31487 * config.make.in: Likewise.
31488 * configure: Likewise.
31489 * configure.in: Likewise.
31490 * csu/Versions: Likewise.
31491 * csu/init.c: Likewise.
31492 * elf/tst-audit2.c: Likewise.
31493 * elf/tst-tls10.c: Likewise.
31494 * elf/tst-tls10.h: Likewise.
31495 * elf/tst-tls11.c: Likewise.
31496 * elf/tst-tls12.c: Likewise.
31497 * elf/tst-tls14.c: Likewise.
31498 * elf/tst-tlsmod11.c: Likewise.
31499 * elf/tst-tlsmod12.c: Likewise.
31500 * elf/tst-tlsmod13.c: Likewise.
31501 * elf/tst-tlsmod13a.c: Likewise.
31502 * elf/tst-tlsmod14a.c: Likewise.
31503 * elf/tst-tlsmod15b.c: Likewise.
31504 * elf/tst-tlsmod16a.c: Likewise.
31505 * elf/tst-tlsmod16b.c: Likewise.
31506 * elf/tst-tlsmod7.c: Likewise.
31507 * elf/tst-tlsmod8.c: Likewise.
31508 * elf/tst-tlsmod9.c: Likewise.
31509 * gmon/gmon.c: Likewise.
31510 * grp/fgetgrent_r.c: Likewise.
31511 * grp/putgrent.c: Likewise.
31512 * hurd/fopenport.c: Likewise.
31513 * include/libc-symbols.h: Likewise.
31514 * include/tls.h: Likewise.
31515 * intl/gettextP.h: Likewise.
31516 * intl/loadinfo.h: Likewise.
31517 * locale/global-locale.c: Likewise.
31518 * locale/localeinfo.h: Likewise.
31519 * mach/devstream.c: Likewise.
31520 * malloc/arena.c: Likewise.
31521 * malloc/set-freeres.c: Likewise.
31522 * misc/err.c: Likewise.
31523 * misc/getttyent.c: Likewise.
31524 * misc/mntent_r.c: Likewise.
31525 * posix/getopt.c: Likewise.
31526 * posix/wordexp.c: Likewise.
31527 * pwd/fgetpwent_r.c: Likewise.
31528 * resolv/Versions: Likewise.
31529 * resolv/res_hconf.c: Likewise.
31530 * shadow/fgetspent_r.c: Likewise.
31531 * shadow/putspent.c: Likewise.
31532 * stdio-common/printf_fphex.c: Likewise.
31533 * stdio-common/tmpfile.c: Likewise.
31534 * stdlib/abort.c: Likewise.
31535 * stdlib/fmtmsg.c: Likewise.
31536 * sunrpc/auth_unix.c: Likewise.
31537 * sunrpc/clnt_perr.c: Likewise.
31538 * sunrpc/clnt_tcp.c: Likewise.
31539 * sunrpc/clnt_udp.c: Likewise.
31540 * sunrpc/clnt_unix.c: Likewise.
31541 * sunrpc/openchild.c: Likewise.
31542 * sunrpc/svc_simple.c: Likewise.
31543 * sunrpc/svc_tcp.c: Likewise.
31544 * sunrpc/svc_udp.c: Likewise.
31545 * sunrpc/svc_unix.c: Likewise.
31546 * sunrpc/xdr.c: Likewise.
31547 * sunrpc/xdr_array.c: Likewise.
31548 * sunrpc/xdr_rec.c: Likewise.
31549 * sunrpc/xdr_ref.c: Likewise.
31550 * sunrpc/xdr_stdio.c: Likewise.
31551
1248c1c4
PB
315522011-09-09 Ulrich Drepper <drepper@gmail.com>
31553
31554 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31555
315562011-07-03 Andreas Jaeger <aj@suse.de>
31557
31558 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31559 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31560 regenerate with gen-libm-tests.pl.
31561
315622010-05-12 Petr Baudis <pasky@suse.cz>
31563
31564 [BZ #11589]
31565 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31566 around j0() zero points by switching to j1().
31567 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31568 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31570 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31571
f22e1074
UD
315722011-09-09 Ulrich Drepper <drepper@gmail.com>
31573
f19009c1
UD
31574 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31575 instead of 0.
31576 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31577 instead of 0.
f19009c1
UD
31578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31579 Patch in part by Pavel Roskin <proski@gnu.org>.
31580
3f8cc204
UD
31581 [BZ #13138]
31582 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31583 realloc.
31584 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31585 Free memory block if necessary.
31586
f22e1074
UD
31587 [BZ #12847]
31588 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31589 be NULL. Don't lock in this case.
31590
0a2349f9
RM
315912011-09-09 Roland McGrath <roland@hack.frob.com>
31592
31593 * elf/elf.h (ELFOSABI_GNU): New macro.
31594 (ELFOSABI_LINUX): Define to that.
31595
f3cdd467
DZ
315962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31597
31598 * string/strncat.c (strncat): Undef the symbol in case it has been
31599 defined in bits/string.h.
31600
74718d13
UD
316012011-09-09 Ulrich Drepper <drepper@gmail.com>
31602
633e9e0f
UD
31603 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31604
0a2349f9 31605 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31606 link map.
31607
f9924780
AJ
316082011-08-17 Andreas Jaeger <aj@suse.de>
31609
31610 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31611
7f5517aa
PP
316122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31613 Ian Lance Taylor <iant@google.com>
31614
31615 * math/libm-test.inc (lround_test): New testcase.
31616 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31617
762011fe
UD
316182011-09-08 Ulrich Drepper <drepper@gmail.com>
31619
92963737
UD
31620 * Makefile: Remove support for automatic cvs check-ins.
31621 * Makerules: Likewise.
31622 * config.make.in: Likewise.
31623 * configure.in: Likewise.
31624 * intl/Makefile: Likewise.
31625 * locale/Makefile: Likewise.
31626 * po/Makefile: Likewise.
31627 * posix/Makefile: Likewise.
31628 * sysdeps/gnu/Makefile: Likewise.
31629 * sysdeps/mach/hurd/Makefile: Likewise.
31630 * sysdeps/sparc/sparc32/Makefile: Likewise.
31631
b0727fd8
JS
31632 [BZ #13118]
31633 * posix/Makefile (bug-regex32-ENV): Define.
31634 Patch by John Stanley <jpsinthemix@verizon.net>.
31635
a0f33f99
UD
31636 * misc/Makefile (headers): Add bits/select2.h.
31637 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31638 * misc/bits/select2.h: New file.
31639 * include/bits/select2.h: New file.
31640 * debug/Makefile (routines): Add fdelt_chk.
31641 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31642 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31643 FD_ISSET.
31644 * debug/fdelt_chk.c: New file.
31645
762011fe
UD
31646 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31647 * wcsmbs/test-wmemcmp.c: Likewise.
31648 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31649 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31650
316512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31652
31653 * string/Makefile (strop-tests): Add memcmp.
31654 * string/test-wmemcmp.c: New file.
31655 * string/test-memcmp.c: Add wmemcmp support.
31656
7f513ec8
RM
316572011-09-08 Roland McGrath <roland@hack.frob.com>
31658
0442afb4
RM
31659 [BZ #13153]
31660 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31661 2011-07-19 change.
31662
7f513ec8
RM
31663 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31664 garbage value in a __mach_port_mod_refs call in the cases of the
31665 task-self and thread-self ports.
31666
a12b2239
ST
316672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31668
31669 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31670
610f9ab4
AS
316712011-09-08 Andreas Schwab <schwab@redhat.com>
31672
7f513ec8 31673 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31674
48882a1a
LD
316752011-09-07 Ulrich Drepper <drepper@gmail.com>
31676
b49865be
UD
31677 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31678
fdc86bc9
UD
31679 * elf/dl-libc.c (dlerror_run): Pass back error code from
31680 dl_catch_error.
31681
c966526a
UD
31682 [BZ #13123]
31683 * elf/dl-load.c (lose): Free l_origin if it is valid.
31684
48882a1a
LD
31685 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31686 names.
31687 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31688 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31691 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31692 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31693
77a2a8b4
AZ
316942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31695
31696 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31697 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31698 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31699 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31700 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31701 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31702 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31703 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31704 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31705 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31706
24f579d8
AM
317072011-08-15 Alan Modra <amodra@gmail.com>
31708
31709 [BZ #13092]
31710 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31711 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31712 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31713 ppc_mcount to static-only-routines.
31714 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31715 __mcount_internal.
31716 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31717 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31718
3d4837df
UD
317192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31720
31721 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31722 for finite and infinity parameters.
31723
22700377
WS
317242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31725
31726 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31727 and add nop instructions for throughput optimization.
31728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31729
5025581e
WS
317302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31731
31732 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31733 aligned copy for power7 with vector-scalar instructions.
31734 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31735
08a300c9
L
317362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31739 AVX check.
31740
59178ef9
AS
317412011-09-07 Andreas Schwab <schwab@redhat.com>
31742
31743 [BZ #13144]
31744 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31745 last change.
31746
e38ba7ab
UD
317472011-09-07 Ulrich Drepper <drepper@gmail.com>
31748
31749 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31750 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31751 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31752 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31753 clock_gettime.
31754
d53a73ac
UD
317552011-09-06 Ulrich Drepper <drepper@gmail.com>
31756
fc8bffcc
UD
31757 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31758 Forgot to demangle the pointer.
31759
ceaa0c5d
UD
31760 * sysdeps/i386/sysdep.h: Define atom_text_section.
31761 * sysdeps/x86_64/sysdep.h: Likewise.
31762 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31763 section with atom_text_section.
31764 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31766 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31768 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31769
a77d3c17
UD
31770 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31771 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31772 already be defined. Change to take two parameters and don't assign
31773 result to variable. Adjust all users.
31774 Define INTERNAL_GETTIME if not already defined.
31775 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31776 call.
31777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31778 HAVE_CLOCK_GETTIME_VSYSCALL.
31779 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31780
d53a73ac
UD
31781 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31782 gettimeofday vsyscall, just use time.
31783
a8f84144
AS
317842011-09-06 Andreas Schwab <schwab@redhat.com>
31785
31786 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31787 <errno.h>.
31788
ef606249
UD
317892011-09-06 Ulrich Drepper <drepper@gmail.com>
31790
31791 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31792 syscall on x86-64.
31793 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31794 syscall.
31795 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31796 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31797 syscall if possible.
31798
6585cb60
UD
317992011-09-05 Ulrich Drepper <drepper@gmail.com>
31800
31801 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31802 e_ident. Don't pass to find_mapsXX.
31803 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31804
a5f524e4
LD
318052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31806
31807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31808 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31809 * sysdeps/x86_64/multiarch/strchr.S: Update.
31810 Check bit_slow_BSF bit.
31811 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31812 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31813 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31814
554881ef
UD
318152011-09-05 Ulrich Drepper <drepper@gmail.com>
31816
d96de963
UD
31817 [BZ #13134]
31818 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31819 before glibc 2.15.
31820 (tryshell): Define.
31821 (__spawni): Change last parameter to be flag. Test
31822 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31823 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31824 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31825 * posix/spawni.c: Likewise.
31826 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31827 * posix/spawnp.c: Likewise. Change normal version to use
31828 SPAWN_XFLAGS_USE_PATH.
31829 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31830 SPAWN_XFLAGS_TRY_SHELL.
31831
d48e5868
UD
31832 [BZ #13150]
31833 * posix/glob.h: Remove gcc 1.x support.
31834
554881ef
UD
31835 [BZ #13068]
31836 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31837
693fb948
LD
318382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31839
31840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31841 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31842 strrchr-sse2-bsf
31843 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31844 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31845 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31846 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31847 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31848 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31849
1b48c537
UD
318502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31851
49d42c37
UD
31852 * sysdeps/x86_64/wcscmp.S: New file.
31853
1b48c537
UD
31854 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31855 wcscmp-c wcscmp-sse2
31856 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31857 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31858 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31859 * wcsmbs/wcscmp.c: Allow renaming.
31860
15c95c5d
DM
318612011-09-05 David S. Miller <davem@davemloft.net>
31862
31863 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31864 stack slot, rather than the struct return pointer slot.
31865 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31866 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31868 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31869
2f0ad8f3
UD
318702011-09-05 Ulrich Drepper <drepper@gmail.com>
31871
d88ae418
UD
31872 * po/ja.po: Update from translation team.
31873
2f0ad8f3
UD
31874 [BZ #13144]
31875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31876 kernel in 64-bit binaries.
31877
5f4318d1
DM
318782011-09-01 David S. Miller <davem@davemloft.net>
31879
31880 * elf/elf.h (HWCAP_SPARC_*): Move to..
31881 * sysdeps/sparc/sysdep.h: this new file and add new values.
31882 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31883 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31884 _DL_HWCAP_COUNT to 24.
31885 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31886 entries.
31887 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31888 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31889 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31891 instead of magic constants.
31892 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31893
3ba57516
DM
318942011-08-31 David S. Miller <davem@davemloft.net>
31895
31896 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31898 Reimplement to do errno handling inline.
31899 (SYSCALL_ERROR_HANDLER): New macro.
31900 (__SYSCALL_STRING): Do not do errno handling in asm.
31901 (__CLONE_SYSCALL_STRING): Delete.
31902 (__INTERNAL_SYSCALL_STRING): Delete.
31903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31904 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31905 (PSEUDO): Reimplement to do errno handling inline.
31906 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31907 (SYSCALL_ERROR_HANDLER): New macro.
31908 (__SYSCALL_STRING): Do not do errno handling in asm.
31909 (__CLONE_SYSCALL_STRING): Delete.
31910 (__INTERNAL_SYSCALL_STRING): Delete.
31911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31912 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31913 i386.
31914 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31915 (inline_syscall*): Add 'err' argument.
31916 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31917 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31918 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31919 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31920
31921 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31922 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31923
2bc17433
AS
319242011-08-30 Andreas Schwab <schwab@redhat.com>
31925
31926 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31927
fbeb5f4d
JO
319282011-08-29 Jiri Olsa <jolsa@redhat.com>
31929
31930 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31931 directive.
31932
ad69cc26
DM
319332011-08-24 David S. Miller <davem@davemloft.net>
31934
31935 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31936
39dd69df
AS
319372011-08-24 Andreas Schwab <schwab@redhat.com>
31938
31939 * elf/Makefile: Add rules to build and run unload8 test.
31940 * elf/unload8.c: New file.
31941 * elf/unload8mod1.c: New file.
31942 * elf/unload8mod1x.c: New file.
31943 * elf/unload8mod2.c: New file.
31944 * elf/unload8mod3.c: New file.
31945
31946 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31947 it wasn't used.
31948
2c0b250a
DM
319492011-08-23 David S. Miller <davem@davemloft.net>
31950
31951 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31952 subtract stack bias.
31953 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31954 %sp not %fp in calculations.
31955 (_JMPBUF_UNWINDS_ADJ): Likewise.
31956
22044b48
DM
31957 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31958 (aio_suspend): Call it to force an exception region around the
31959 AIO_MISC_WAIT() invocation.
31960
2cae4995
AS
319612011-08-23 Andreas Schwab <schwab@redhat.com>
31962
31963 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31964 backslash.
31965
873a772e
AJ
319662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31967
31968 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31969 protection macro.
31970 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31971 and <dl-machine.h>.
31972 (Elf64_FuncDesc): Remove.
31973
25ad0df1
DM
319742011-08-22 David S. Miller <davem@davemloft.net>
31975
31976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31977 sigaltstack check, add missing cfi directives.
31978 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31979 missing cfi directives, and sigaltstack handling.
31980
e888bcbe
AS
319812011-08-16 Andreas Schwab <schwab@redhat.com>
31982
31983 [BZ #11724]
31984 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31985 object is seen twice.
31986 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31987
31988 * elf/Makefile (distribute): Add tst-initorder2.c.
31989 (tests): Add tst-initorder2.
31990 (modules-names): Add tst-initorder2a tst-initorder2b
31991 tst-initorder2c tst-initorder2d. Add rules to build them.
31992 ($(objpfx)tst-initorder2.out): New rule.
31993 * elf/tst-initorder2.c: New file.
31994 * elf/tst-initorder2.exp: New file.
31995
87162f46
AS
319962011-08-22 Andreas Schwab <schwab@redhat.com>
31997
70538b7f
AS
31998 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31999
f55ffe58
AS
32000 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32001 dependencies back to end of function.
32002
87162f46
AS
32003 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32004 $(elfobjdir)/ld.so.
32005
91b392a4
UD
320062011-08-21 Ulrich Drepper <drepper@gmail.com>
32007
32008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32009 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32011 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32012 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32013 of __vdso_gettimeofday.
32014 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32015 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32016 attribute_hidden.
32017 (_libc_vdso_platform_setup): Remove initialization of
32018 __vdso_gettimeofday and __vdso_time.
32019
5c43483f
UD
320202011-08-20 Ulrich Drepper <drepper@gmail.com>
32021
775a77e7
UD
32022 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32023 and fgetc_unlocked.
32024 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32025 getc_unlocked.
89f447ed 32026
49c74ba9
UD
32027 * elf/dl-open.c (add_to_global): Report additions to the global scope
32028 for LD_DEBUG=scopes.
32029 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32030 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32031
5c43483f
UD
32032 [BZ #13114]
32033 * stdio-common/Makefile (tests): Add bug24.
32034 * stdio-common/bug24.c: New file.
32035
a101b025
AJ
320362011-08-19 Andreas Jaeger <aj@suse.de>
32037
32038 [BZ #13114]
32039 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32040 non-existant file when using close-on-exec mode.
32041
c88f1766
UD
320422011-08-20 Ulrich Drepper <drepper@gmail.com>
32043
0276a718
UD
32044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32045 the very first instruction.
32046
c88f1766
UD
32047 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32048 the CFI state in the end.
32049 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32050 inclusion of dl-trampoline.h.
32051 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32052
51ccffa0
AS
320532011-08-19 Andreas Schwab <schwab@redhat.com>
32054
94d7165f
AS
32055 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32056 expectations for long double.
32057
51ccffa0
AS
32058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32059 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32060
fd708658 320612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32062
32063 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32064 artificual limit depends upon the system page size.
32065
44f0a71e
UD
320662011-08-17 Ulrich Drepper <drepper@gmail.com>
32067
32068 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32069 * resolv/Makefile: Define CFLAGS-libresolv.
32070
8de79a24
AS
320712011-08-17 Andreas Schwab <schwab@redhat.com>
32072
32073 * nss/makedb.c (compute_tables): Make variables used in nested
32074 function static.
32075
27724598
UD
320762011-08-17 Ulrich Drepper <drepper@gmail.com>
32077
c5305d88
UD
32078 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32079 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32080 if buffer was too small.
32081
27724598
UD
32082 * elf/pldd.c (main): Attach to all threads in the process.
32083 Rewrite /proc handling to use *at functions.
32084
076fe015
UD
320852011-08-16 Ulrich Drepper <drepper@gmail.com>
32086
174baab3
UD
32087 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32088 specifies first scope to show.
32089 (dl_open_worker): Update callers. Move printing scope of new
32090 object to before the relocation.
44f0a71e 32091 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32092 * sysdeps/generic/ldsodefs.h: Update declaration.
32093
076fe015
UD
32094 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32095 string for the scope number.
32096
a60df2c3
UD
320972011-08-14 Ulrich Drepper <drepper@gmail.com>
32098
32099 * nscd/servicescache.c (cache_addserv): Make sure written is always
32100 initialized.
32101
5e4287d1
RM
321022011-08-14 Roland McGrath <roland@hack.frob.com>
32103
85ae0589
RM
32104 * sysdeps/i386/i486/bits/atomic.h
32105 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32106 statement expression, so as to suppress "set but not used" warning.
32107 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32108
69f63097
RM
32109 * string/strncat.c (STRNCAT): Use prototype definition.
32110
675456ef
RM
32111 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32112 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32113 -Iprograms here.
32114 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32115 (localedef-modules): Add localedef.
32116 (locale-modules): Add locale.
32117
5e4287d1
RM
32118 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32119 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32120 to avoid a warning.
32121
9c96ff23
DM
321222011-08-14 David S. Miller <davem@davemloft.net>
32123
32124 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32125 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32126
f9ddf089
UD
321272011-08-13 Ulrich Drepper <drepper@gmail.com>
32128
44f0a71e 32129 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32130 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32131 * elf/rtld.c (dl_main): Set l_name of vDSO.
32132 Call _dl_show_scope when DL_DEBUG_SCOPES.
32133 (process_dl_debug): Recognize scopes flag and also set it for all.
32134 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32135 Declare _dl_show_scope.
32136
1dc27704
UD
32137 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32138 (do_dlopen): Pass caller_dlopen to dl_open.
32139 (__libc_dlopen_mode): Initialize caller_dlopen.
32140
f9ddf089
UD
32141 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32142 of libc. Make tolower call locale-independent. Optimize a bit by
32143 using isdigit instead of isalnum.
32144 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32145
9ac533d3
UD
321462011-08-12 Ulrich Drepper <drepper@gmail.com>
32147
32148 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32149 was a dependency or dynamically loaded.
32150
89edf2e9
UD
321512011-08-11 Ulrich Drepper <drepper@gmail.com>
32152
8e999d29
UD
32153 * intl/l10nflist.c: Allow architecture-specific pop function.
32154 * sysdeps/x86_64/l10nflist.c: New file.
32155
89edf2e9
UD
32156 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32157 classification.
32158
14d96785
AS
321592011-08-10 Andreas Schwab <schwab@redhat.com>
32160
32161 * include/dirent.h: Add libc_hidden_proto for scandirat and
32162 scandirat64. Don't declare __scandirat64.
32163 * dirent/scandirat.c: Add libc_hidden_def.
32164 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32165 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32166
6761ac04
DM
321672011-08-10 David S. Miller <davem@davemloft.net>
32168
32169 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32170 enum.
32171 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32173 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32174
c55fbd1e
UD
321752011-08-09 Ulrich Drepper <drepper@gmail.com>
32176
32177 * Versions.def [libc]: Add GLIBC_2.15.
32178 * dirent/Makefile (routines): Add scandirat and scandirat64.
32179 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32180 GLIBC_2.15.
32181 * dirent/dirent.h: Declare scandirat and scandirat64.
32182 * dirent/scandirat.c: New file.
32183 * dirent/scandirat64.c: New file.
32184 * sysdeps/wordsize-64/scandirat.c: New file.
32185 * sysdeps/wordsize-64/scandirat64.c: New file.
32186 * dirent/opendir.c: Define opendirat.
32187 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32188 using scandirat.
32189 * dirent/scandir64.c: Adjust for scandir.c change.
32190 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32191 __scandirat64, and __scandir_cancel_handler.
32192 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32193 additional parameter and use openat instead of open (outside of ld.so).
32194 Add new __opendir as wrapper around __opendirat.
32195 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32196 here without requiring old scandirat implementation.
32197
879165f2
UD
321982011-08-08 Ulrich Drepper <drepper@gmail.com>
32199
32200 * dirent/scandir.c (cancel_handler): Renamed to
32201 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32202 defined. Adjust users.
32203 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32204 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32205
cb7e923b
UD
322062011-08-04 Ulrich Drepper <drepper@gmail.com>
32207
16292edd
UD
32208 * string/test-string.h (IMPL): Use __STRING to expand name and then
32209 stringify it.
32210
cb7e923b
UD
32211 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32212 of cleanups.
32213
cff82933
LD
322142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32215
32216 * string/Makefile: Update.
32217 (strop-tests): Append strncat.
32218 * string/test-wcscmp.c: New file.
32219 New comprehensive test for wcscmp.
32220 * string/test-strcmp.c: Update.
32221 (WIDE): New define.
32222
9be9bfcc
AS
322232011-07-22 Andreas Schwab <schwab@redhat.com>
32224
32225 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32226 line.
32227
2e96f1c7
AS
322282011-07-26 Andreas Schwab <schwab@redhat.com>
32229
32230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32231 encoding to ACE if AI_IDN.
32232
85188888
JJ
322332011-08-01 Jakub Jelinek <jakub@redhat.com>
32234
32235 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32236 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32237
5fa16e9b
LD
322382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32239
32240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32241 Fix overflow bug in strncat.
32242 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32243
32244 * string/test-strncat.c: Update.
32245 Add new tests for checking overflow bugs.
32246
322472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32248
32249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32250 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32251 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32252 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32253 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32254 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32255 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32256 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32257 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32258
32259 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32260 (USE_AS_STRCAT): Define.
32261 Add strcat and strncat support.
32262 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32263
8c1a459f
AS
322642011-07-25 Andreas Schwab <schwab@redhat.com>
32265
32266 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32267 __n bigger than INT_MAX+1.
32268 (__strncmp_g): Likewise.
32269
bba33c28
UD
322702011-07-23 Ulrich Drepper <drepper@gmail.com>
32271
798be72d
UD
32272 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32273 * libio/stido.h: Likewise.
32274
8accd4dc
UD
32275 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32276 (AF_NFC): Define.
32277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32278 (AF_NFC): Define.
32279
cbff0d96
UD
32280 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32282 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32283 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32284 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32285
9191c04a
UD
32286 [BZ #13021]
32287 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32288 installed.
32289
bba33c28
UD
32290 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32291 typo.
32292 (_dl_x86_64_save_sse): Likewise.
32293
90f139dd
UD
322942011-07-22 Ulrich Drepper <drepper@gmail.com>
32295
1aae088a
UD
32296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32297 OSXSAVE.
32298 (_dl_x86_64_save_sse): Likewise.
32299
8e2045f5
UD
32300 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32301
90f139dd
UD
32302 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32303
1d002f25
AS
323042011-07-21 Andreas Schwab <schwab@redhat.com>
32305
32306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32307 change.
32308 (_dl_x86_64_save_sse): Use correct AVX check.
32309
21137f89
UD
323102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32311
32312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32313 bug in strncpy/strncat.
32314 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32315
a65c0b7a
UD
323162011-07-21 Ulrich Drepper <drepper@gmail.com>
32317
32318 * string/tester.c (test_strcat): Add tests for different alignments
32319 of source and destination.
32320 (test_strncat): Likewise.
32321
6986b98a
UD
323222011-07-20 Ulrich Drepper <drepper@gmail.com>
32323
90bb2039
UD
32324 [BZ #12852]
32325 * posix/glob.c (glob): Check passed in values before using them in
32326 expressions to avoid some overflows.
32327 (glob_in_dir): Likewise.
32328
5644ef54
UD
32329 [BZ #13007]
32330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32331 check for AVX enablement so that we don't crash with old kernels and
32332 new hardware.
32333 * elf/tst-audit4.c: Add same checks here.
32334 * elf/tst-audit6.c: Likewise.
32335
32336 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32337
bfc9dc9b
AS
323382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32339
32340 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32341
702e64bb
UD
323422011-07-20 Ulrich Drepper <drepper@gmail.com>
32343
32344 * po/cs.po: Update from translation team.
32345 * po/bg.po: Likewise.
32346
295e904f
MP
323472011-07-12 Marek Polacek <mpolacek@redhat.com>
32348
32349 * misc/sys/cdefs.h: Add support for const attribute.
32350 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32351 to gnu_dev_{major,minor,makedev} functions.
32352
3ff94596
MP
323532011-07-20 Marek Polacek <mpolacek@redhat.com>
32354
32355 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32356
28b59fca
AS
323572011-07-20 Andreas Schwab <schwab@redhat.com>
32358
32359 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32360 strlen results.
32361
19df733e
AK
323622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32363
32364 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32365 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32366 register in order to avoid conflicts with the soft frame pointer
32367 being held in r11 when necessary.
32368 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32369 (INTERNAL_VSYSCALL_NCS): Likewise.
32370
c8835729
MP
323712011-07-14 Marek Polacek <mpolacek@redhat.com>
32372
32373 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32374 * elf/dl-fini.c (_dl_fini): Adjust caller.
32375 * elf/dl-close.c (_dl_close_worker): Likewise.
32376 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32377
b902330c
MP
323782011-07-15 Marek Polacek <mpolacek@redhat.com>
32379
8991e135
MP
32380 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32381 "aux_cache->nlibs < 0".
32382
b902330c
MP
32383 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32384 in the reload-count case.
32385
99710781
LD
323862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32387
32388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32389 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32390 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32391 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32392 * sysdeps/x86_64/multiarch/strcat.S: New file.
32393 * sysdeps/x86_64/multiarch/strncat.S: New file.
32394 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32395 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32396 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32397 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32398 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32399 (USE_AS_STRCAT): Define.
32400 Add strcat and strncat support.
32401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32402 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32403 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32404 * string/strncat.c: Update.
32405 (USE_AS_STRNCAT): Define.
32406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32407 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32408 and i7.
32409 * sysdeps/x86_64/multiarch/init-arch.h
32410 (bit_Prefer_PMINUB_for_stringop): New.
32411 (index_Prefer_PMINUB_for_stringop): Likewise.
32412 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32413 bit_Prefer_PMINUB_for_stringop.
32414
7dc6bd90
UD
324152011-07-19 Ulrich Drepper <drepper@gmail.com>
32416
32417 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32418 buffer64.
32419 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32420 of casting of buffer.
32421 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32422 buffer32 and buffer64.
32423 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32424 writes instead of casting of buffer.
32425 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32426 buffer32.
32427 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32428 casting of buffer.
32429
e0e72284
AS
324302011-07-19 Andreas Schwab <schwab@redhat.com>
32431
32432 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32433
feb1eb0b
UD
324342011-07-19 Ulrich Drepper <drepper@gmail.com>
32435
32436 * nscd/nscd.c (termination_handler): Don't do anything for a database
32437 if it has not yet been initialized.
32438
298711ff
UD
324392011-07-18 Ulrich Drepper <drepper@gmail.com>
32440
32441 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32442
324432011-07-15 Marek Polacek <mpolacek@redhat.com>
32444
32445 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32446
f9d68389
UD
324472011-07-18 Ulrich Drepper <drepper@gmail.com>
32448
32449 * po/nl.po: Update from translation team.
32450 * po/sv.po: Likewise.
32451
db290cf5
RM
324522011-07-16 Roland McGrath <roland@hack.frob.com>
32453
32454 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32455 now disallowed by GCC.
5c550700 32456
fd5e21c7
RM
32457 * configure.in (use-default-link): Default to yes if a test -shared
32458 link meets our qualifications.
32459 * configure: Regenerated.
32460
5c550700
RM
32461 * config.make.in (output-format): New variable.
32462 * configure.in: Check for ld --print-output-format support.
32463 * configure: Regenerated.
32464 * Makerules ($(common-objpfx)format.lds)
32465 [$(output-format) != unknown]: Just use $(output-format),
32466 instead of the linker-script munging.
32467
9fa2c032
RM
324682011-07-14 Roland McGrath <roland@hack.frob.com>
32469
a6928d51
RM
32470 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32471 of $(common-objpfx)shlib.lds.
32472 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32473
661607b3
RM
32474 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32475 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32476
9fa2c032
RM
32477 * configure.in (-z relro check): Adjust test code to add a large
32478 writable data section after it.
32479 * configure: Regenerated.
32480
defe9061
RM
324812011-07-11 Roland McGrath <roland@hack.frob.com>
32482
32483 * configure.in (-z relro check): Fix test code to make the variable
32484 truly const.
32485 * configure: Regenerated.
32486
319b9ad4
UD
324872011-07-11 Ulrich Drepper <drepper@gmail.com>
32488
32489 * nscd/nscd.h (struct traced_file): Define.
32490 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32491 elements. Add traced_files.
32492 (inotify_fd): Declare.
32493 (register_traced_file): Declare.
32494 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32495 (inotify_fd): Export.
32496 (resolv_conf_descr): Remove.
32497 (nscd_init): Move inotify descriptor creation to main.
32498 Don't register files for notification here.
32499 (register_traced_file): New function.
32500 (invalidate_cache): Don't use reset_res to determine whether to call
32501 res_init, go through the list of registered files.
32502 (main_loop_poll): The inotify descriptors are now stored in the
32503 structures for the traced files.
32504 (main_loop_epoll): Likewise
32505 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32506 to __nss_disable_nscd.
32507 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32508 for a database anymore. Check the records for all the registered
32509 files instead.
32510 * nss/Makefile (libnss_files-routines): Add files-init.
32511 (libnss_db-routines): Add db-init.
32512 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32513 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32514 * nss/nss_db/db-init.c: New file.
32515 * nss/nss_files/files-init.c: New file.
32516 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32517 __nss_lookup_function.
32518 (__nss_lookup_function): Call nss_load_library.
32519 (nss_load_all_libraries): New function.
32520 (__nss_disable_nscd): Take parameter with callback function for files
32521 to register. Set is_nscd. Load all the DSOs for the NSS modules
32522 used for the cached services.
32523 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32524 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32525 options for features to all the files in nscd.
32526
32527 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32528
23bee3e8
RM
325292011-07-10 Roland McGrath <roland@hack.frob.com>
32530
32531 * csu/elf-init.c (__libc_csu_init): Comment typo.
32532
46a5b7f0
UD
325332011-07-09 Ulrich Drepper <drepper@gmail.com>
32534
32535 * po/pl.po: Update from translation team.
32536 * po/ja.po: Likewise.
32537 * po/ru.po: Likewise.
32538 * po/ko.po: Likewise.
32539 * po/fr.po: Likewise.
32540
d30cf5bb
RM
325412011-07-09 Roland McGrath <roland@hack.frob.com>
32542
113ddea4
RM
32543 * configure.in (.ctors/.dtors header and trailer check):
32544 Use an empirical test on a built program.
32545 * configure: Regenerated.
32546
574920b4
RM
32547 * configure.in (-z relro check): Use an empirical test on a built DSO.
32548 Detect, but do not require, on ia64.
32549 * configure: Regenerated.
32550
d30cf5bb
RM
32551 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32552 Update tests that use readelf to use $READELF instead.
32553 * configure: Regenerated.
32554
8538fdb3
UD
325552011-07-08 Ulrich Drepper <drepper@gmail.com>
32556
32557 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32558 if the result is not used.
32559
04d08991
AJ
325602011-07-05 Andreas Jaeger <aj@suse.de>
32561
32562 [BZ#9696]
32563 * stdlib/tst-strtod.c: Add testcase.
32564
de283087
AD
325652011-07-07 Ulrich Drepper <drepper@gmail.com>
32566
4e5f31c8 32567 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32568 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32569 The latter has a higher limit. Take additional parameter to pass to
32570 the new function.
32571 (__pathconf): Pass file to __statfs_link_max.
32572 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32573 __statfs_link_max.
32574 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32575 __statfs_link_max.
32576
de283087
AD
32577 [BZ #12868]
32578 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32579 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32580 Handle Lustre.
32581 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32582 (__statfs_filesize_max): Likewise.
32583 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32584
c75fa153
AJ
325852011-07-05 Andreas Jaeger <aj@suse.de>
32586
32587 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32588
1a544854
UD
325892011-07-06 Marek Polacek <mpolacek@redhat.com>
32590
32591 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32592 `status' variable.
32593 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32594 Likewise.
32595
6f0eec67
UD
325962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32597
32598 * Makefile (strop-tests): Add strncat.
32599 * string/test-strncat.c: New file.
32600
aae30307
UD
326012011-06-30 Marek Polacek <mpolacek@redhat.com>
32602
32603 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32604
c0cfb5eb
UD
326052011-06-21 Andreas Jaeger <aj@suse.de>
32606
32607 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32608 Copy rule from iconvdata/Makefile.
32609
01636b21
UD
326102011-07-06 Ulrich Drepper <drepper@gmail.com>
32611
32612 [BZ #12922]
32613 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32614 but no long options are defined, just return 'W'.
32615
9895c8bc
UD
326162011-06-22 Marek Polacek <mpolacek@redhat.com>
32617
32618 [BZ #9696]
32619 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32620
5d4cf042
UD
326212011-07-06 Ulrich Drepper <drepper@gmail.com>
32622
32623 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32624 netgroups to read.
960e5535 32625 (innetgr): Likewise.
5d4cf042 32626
751eb97e
RM
326272011-07-05 Roland McGrath <roland@hack.frob.com>
32628
32629 * config.make.in (install_root): Default to $(DESTDIR).
32630
f15f1e45
UD
326312011-07-05 Ulrich Drepper <drepper@gmail.com>
32632
32633 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32634
4e34ac6a
RM
326352011-07-02 Roland McGrath <roland@hack.frob.com>
32636
5e9b6af4
RM
32637 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32638
84f9ea0f
RM
32639 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32640 containing directory rather than embedding absolute directory names.
32641
ea5ee9f7
RM
32642 * scripts/check-local-headers.sh: Rewritten using awk.
32643 Match by word, not by line. Print error messages for matches.
32644 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32645
1b74661a
RM
32646 * Makerules [shlib-lds-flags empty]:
32647 ($(common-objpfx)libc_pic.opts): New target.
32648 ($(common-objpfx)libc_pic.os.clean): New target.
32649 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32650
32651 * config.make.in (OBJCOPY): New variable.
32652 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32653 * configure: Regenerated.
32654
f781ef40
RM
32655 * config.make.in (use-default-link): New variable.
32656 * configure.in (use_default_link): Grok --with-default-link to set it.
32657 * configure: Regenerated.
32658 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32659 (shlib-lds, shlib-lds-flags): Define to empty.
32660
2d4fa81e
RM
32661 * Makerules (shlib-lds): New variable.
32662 (shlib-lds-flags): New variable.
32663 (build-shlib, build-moduile, build-module-asneeded): Use it.
32664 ($(common-objpfx)libc.so): Use $(shlib-lds).
32665 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32666 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32667
31fffa6b
RM
32668 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32669 DT_FLAGS/DT_FLAGS_1 with zero flags.
32670
4e34ac6a
RM
32671 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32672 linker script munging.
32673
fcfc776b
UD
326742011-07-02 Ulrich Drepper <drepper@gmail.com>
32675
32676 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32677 as 128-bit value.
32678 * crypt/sha512.c (sha512_process_block): Perform total addition using
32679 128-bit if possible.
32680 (__sha512_finish_ctx): Likewise.
32681 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32682 as 64-bit value.
32683 * crypt/sha256.c (SWAP64): Define.
32684 (sha256_process_block): Perform total addition using 64-bit if
32685 possible.
32686 (__sha256_finish_ctx): Likewise.
32687
99231d9a
UD
326882011-07-01 Ulrich Drepper <drepper@gmail.com>
32689
32690 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32692 * nscd/hstcache.c (cache_addhst): Likewise.
32693 * nscd/grpcache.c (cache_addgr): Likewise.
32694 * nscd/aicache.c (addhstaiX): Likewise
32695 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32696
445b4a53
TK
326972011-07-01 Thorsten Kukuk <kukuk@suse.de>
32698
32699 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32701 * nscd/hstcache.c (cache_addhst): Likewise.
32702 * nscd/grpcache.c (cache_addgr): Likewise.
32703 * nscd/aicache.c (addhstaiX): Likewise
32704
6d4d8e8e
AS
327052011-07-01 Andreas Schwab <schwab@redhat.com>
32706
32707 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32708 domain only when needed.
32709
89f654c5
AS
327102011-06-30 Andreas Schwab <schwab@redhat.com>
32711
32712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32713 is always restored.
32714
cf3b23ff
UD
327152011-06-29 Ulrich Drepper <drepper@gmail.com>
32716
32717 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32718 are re-adding the entry.
32719 * nscd/servicescache.c (cache_addserv): Likewise.
32720
751626f9
AJ
327212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32722
32723 * sysdeps/generic/dl-irel.h: fix protection against multiple
32724 inclusions.
32725 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32726
9113ea1f
UD
327272011-06-28 Ulrich Drepper <drepper@gmail.com>
32728
5c0b8d90
UD
32729 [BZ #12935]
32730 * malloc/memusage.sh: Fix quoting in message.
32731 * debug/xtrace.sh: Likewise.
32732
9113ea1f
UD
32733 * configure.in: Remove support for --experimental-malloc option, make
32734 it the default.
32735 * config.make.in: Likewise.
32736 * malloc/Makefile: Likewise.
32737
a4172181
AS
327382011-06-27 Andreas Schwab <schwab@redhat.com>
32739
32740 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32741 two-byte characters.
32742
78a7eee7
RM
327432011-06-27 Roland McGrath <roland@hack.frob.com>
32744
62bede13
RM
32745 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32746 AC_CACHE_CHECK invocation.
32747 * configure: Regenerated.
32748
78a7eee7
RM
32749 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32750
5ce33a62
UD
327512011-06-27 Ulrich Drepper <drepper@gmail.com>
32752
034807a9
UD
32753 [BZ #12350]
32754 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32755 bit from old_res_options.
32756
4902da17
UD
32757 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32758
5ce33a62
UD
32759 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32760 value type for setfct.
32761
c2344f56
L
327622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32763
32764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32765 __gettimeofday instead of gettimeofday.
32766
68468076
UD
327672011-06-26 Ulrich Drepper <drepper@gmail.com>
32768
32769 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32770
acb0d739
L
327712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32772
32773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32774
32775 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32776 info.
32777
8912479f
L
327782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32779
32780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32781 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32782 strcpy-sse2-unaligned strncpy-sse2-unaligned
32783 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32784 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32785 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32786 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32787 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32788 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32789 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32790 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32791 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32792 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32793 (STRCPY): Support SSE2 and SSSE3 versions.
32794
d5495a11
UD
327952011-06-24 Ulrich Drepper <drepper@gmail.com>
32796
32797 [BZ #12874]
32798 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32799 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32800 kernels which artificially limit size of requests.
32801
0b1cbaae
L
328022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32805 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32806 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32807 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32808 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32809 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32810 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32811 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32813 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32814 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32815 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32816 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32817 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32818 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32820 Enable unaligned load optimization for Intel Core i3, i5 and i7
32821 processors.
32822 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32823 Define.
32824 (index_Fast_Unaligned_Load): Define.
32825 (HAS_FAST_UNALIGNED_LOAD): Define.
32826
07f494a0
MP
328272011-06-23 Marek Polacek <mpolacek@redhat.com>
32828
32829 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32830
fa3fc0fe
UD
328312011-06-22 Ulrich Drepper <drepper@gmail.com>
32832
32833 [BZ #12907]
32834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32835 until it is clear that the information is realy needed.
32836 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32837
e12df166
AS
328382011-06-22 Andreas Schwab <schwab@redhat.com>
32839
32840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32841
852eb34d
UD
328422011-06-22 Ulrich Drepper <drepper@gmail.com>
32843
84e2a551
UD
32844 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32845 /sys/devices/system/cpu/online if it is usable.
32846
852eb34d
UD
32847 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32848 reading the information from the /proc filesystem to once a second.
32849
6e502e19
UD
328502011-06-21 Andreas Jaeger <aj@suse.de>
32851
32852 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32853 NULL after inclusion of kernel headers.
32854
75d39ff2
UD
328552011-06-21 Ulrich Drepper <drepper@gmail.com>
32856
51f9aa6a
UD
32857 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32858 calls to internal_setent.
32859
c0244a9d
UD
32860 [BZ #12885]
32861 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32862 addresses using gethostbyname4_r ignore IPv4 addresses.
32863
c5e3c2ae
UD
32864 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32865 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32866
75d39ff2
UD
32867 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32868
42675c6f
DM
328692011-06-20 David S. Miller <davem@davemloft.net>
32870
32871 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32872 inclusions.
32873 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32874
32875 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32876 (elf_irel): Use it.
32877 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32878 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32879 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32880 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32881 * sysdeps/x86_64/dl-irel.h: Likewise.
32882
32883 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32884 * elf/dl-sym.c: Likewise.
32885
57912a71
UD
328862011-06-15 Ulrich Drepper <drepper@gmail.com>
32887
32888 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32889 need to dereference resplen2.
32890
ee22793d
AS
328912011-06-14 Andreas Schwab <schwab@redhat.com>
32892
32893 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32894
a9e836b0
UD
328952011-06-15 Ulrich Drepper <drepper@gmail.com>
32896
77fb9117
UD
32897 * Makeconfig: Define vardbdir and inst_vardbdir.
32898 * nss/Makefile: Add rules to install db-Makefile.
32899
40c1b22c
UD
32900 * nss/nss_db/db-XXX.c: Cleanup.
32901
9f2da732
UD
32902 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32903 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32904 GLIBC_PRIVATE.
32905 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32906 * nss/makedb.c: Implement -g option to specify that value strings
32907 are generated and should not be added to table iterated over for
32908 get*ent calls.
32909 * nss/nss_db/db-initgroups.c: New file.
32910
82e9a1f7
UD
32911 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32912 interface.
32913
c41af17e
UD
32914 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32915 (internal_getgrouplist): Adjust to name change.
32916 Update use_initgroups_entry if this is not the first call.
32917 * nss/databases.def: Add initgroups entry.
32918
a9e836b0
UD
32919 * nss/makedb.c (compute_tables): Check result of multiple hash table
32920 sizes to minimize maximum chain length.
32921
2666d441
UD
329222011-06-14 Ulrich Drepper <drepper@gmail.com>
32923
32924 * Versions.def: Add entry for libnss_db.
32925 * shlib-versions: Likewise.
32926 * nss/Makefile: Add rules to build libnss_db.
32927 * nss/Versions: Add libnss_db information. Organize libnss_files
32928 entries better.
32929 * nss/db-Makefile: Add gshadow support. Change rules for the new
32930 makedb progra. Some minor improvements to generate smaller files.
32931 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32932 here from...
32933 * nss/makedb.c: ...here.
32934 Improve database format to be smaller and require less memory at
32935 runtime.
32936 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32937 db anymore.
32938 * nss/nss_db/db-netgrp.c: Likewise.
32939 * nss/nss_db/db-open.c: Likewise.
32940 * nss/nss_files/flies-XXX.x: Adjust comments.
32941 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32942 * nss/nss_files/files-grp.c: Likewise.
32943 * nss/nss_files/files-hosts.c: Likewise.
32944 * nss/nss_files/files-network.c: Likewise.
32945 * nss/nss_files/files-proto.c: Likewise.
32946 * nss/nss_files/files-pwd.c: Likewise.
32947 * nss/nss_files/files-rpc.c: Likewise.
32948 * nss/nss_files/files-service.c: Likewise.
32949 * nss/nss_files/files-sgrp.c: Likewise.
32950 * nss/nss_files/files-spwd.c: Likewise.
32951 * nss/nss_db/db-alias.c: Removed.
32952 * nss/nss_db/dummy-db.h: Removed.
32953
9ee76b5a
UD
329542011-06-02 Ulrich Drepper <drepper@gmail.com>
32955
32956 * nss/makedb.c: Rewritten to not use database library.
32957 * nss/Makefile: Update to build new makedb program.
32958
c71ca1f8
AJ
329592011-06-14 Andreas Jaeger <aj@suse.de>
32960
32961 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32962 memset declaration.
32963
3154bfb8
UD
329642011-06-10 Andreas Schwab <schwab@redhat.com>
32965
32966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32967 tmpbuf.
32968
b350afab
RM
329692011-06-10 Roland McGrath <roland@hack.frob.com>
32970
decd4e50
RM
32971 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32972 * elf/Makefile ($(objpfx)ld.so): Likewise.
32973
5615eaf2
RM
32974 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32975 Don't list ld.so twice in dependencies.
32976
32977 * posix/bug-regex31.c: Include <stdlib.h>.
32978
32979 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32980
32981 * nis/nss_compat/compat-spwd.c
32982 (getspent_next_nss_netgr): Remove unused variable.
32983 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32984
32985 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32986 nonmembers" output to use the right array.
32987
32988 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32989
32990 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32991
32992 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32993 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32994 * catgets/gencat.c (read_input_file): Likewise.
32995 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32996
32997 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32998 variable definition inside #if's controlling its use.
32999
33000 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33001
33002 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33003
33004 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33005
33006 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33007 unreachable code.
33008
33009 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33010
b68e08db
RM
33011 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33012 * configure: Regenerated.
33013
b350afab
RM
33014 * Makerules: Revert last change.
33015 * elf/Makefile: Likewise.
33016
28368601
RM
330172011-06-09 Roland McGrath <roland@hack.frob.com>
33018
33019 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33020 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33021 (reloc-link): Likewise.
33022
11988f8f
UD
330232011-06-09 Ulrich Drepper <drepper@gmail.com>
33024
33025 * elf/Makefile: Add rules to build pldd.
33026 * elf/pldd.c: New file.
33027 * elf/pldd-xx.c: New file.
33028
e80fab37
UD
330292011-06-07 Ulrich Drepper <drepper@gmail.com>
33030
33031 * version.h: Update for 2.15 development version.
33032
9b849836
DM
330332011-06-07 David S. Miller <davem@davemloft.net>
33034
33035 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33036 ifuncs.
33037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33038 elf_machine_lazy_rel): Likewise.
33039 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33041 elf_machine_lazy_rel): Likewise.
33042 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33043 dl_hwcap via passed in argument.
33044 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33045 Likewise.
33046
5a31b283
AK
330472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33048
33049 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33050
069e52f8
RM
330512011-06-06 Roland McGrath <roland@hack.frob.com>
33052
33053 [BZ #12849]
33054 * manual/fdl-1.1.texi: New file, verbatim from:
33055 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33056 * manual/lgpl-2.1.texi: New file, verbatim from:
33057 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33058 * manual/Makefile (licenses): New variable, list those new file names.
33059 (texis): Use it.
33060 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33061
33062 * manual/fdl.texi: File removed.
33063 * manual/lesser.texi: File removed.
33064 * manual/libc.texinfo (Copying, Documentation License):
33065 Use new @include file names, put @appendix directive before @include.
33066
f16846a5
JJ
330672011-06-04 Jakub Jelinek <jakub@redhat.com>
33068
33069 [BZ #12841]
33070 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33071 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33072 (mq_open): Add __NTH.
33073
3d29045b
L
330742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33075
33076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33077 Assume Intel Core i3/i5/i7 processor if AVX is available.
33078
8c297311
UD
330792011-05-31 Ulrich Drepper <drepper@gmail.com>
33080
33081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33082 typo.
33083
c8fc0c91
UD
330842011-05-31 Andreas Schwab <schwab@redhat.com>
33085
33086 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33087 memory. Use alloca_account. Fix memory leak when retrying.
33088
5b27a807
UD
330892011-05-31 Ulrich Drepper <drepper@gmail.com>
33090
356f8bc6
UD
33091 * version.h (RELEASE): Bump for 2.14 release.
33092 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33093
5b27a807
UD
33094 * config.make.in (RANLIB): Remove entry.
33095
01f16ab0
UD
330962011-05-30 Ulrich Drepper <drepper@gmail.com>
33097
41fce8bd
UD
33098 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33099 (libc.pot): Work around missing support for .ksh extension in xgettext.
33100
4769ae77
UD
33101 [BZ #12684]
33102 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33103 if both request failed.
33104 (send_dg): In case of server errors clear resplen or *resplen2.
33105
6b1e7d19
UD
33106 [BZ #12454]
33107 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33108 when there are multiple maps.
33109 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33110 (_dl_fini): Remove test here.
33111
01f16ab0
UD
33112 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33113
b1ebd700
UD
331142011-05-29 Ulrich Drepper <drepper@gmail.com>
33115
7ae22829
UD
33116 [BZ #12350]
33117 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33118 bit from old_res_options.
33119 (gaih_inet): Likewise.
33120
553149f6 33121 [BZ #11099]
18a84741 33122 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33123 as signed.
33124
652ffab1
UD
33125 * resolv/res_init.c (res_setoptions): Make the code more compact.
33126
16985fd0
UD
33127 [BZ #11558]
33128 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33129 set RES_USEVC.
33130
0464f746
UD
33131 [BZ #11634]
33132 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33133
7d17596c
UD
33134 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33135
cf6bbbd7
UD
33136 [BZ #11781]
33137 * malloc/malloc.h: Declare malloc hook variables as volatile.
33138
13f1ab36
UD
33139 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33140 in last patch.
33141
b1ebd700
UD
33142 [BZ #11799]
33143 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33144 raise in the comment.
80e2212d
UD
33145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33146 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33147 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33148
ce67228d
UD
331492011-05-28 Ulrich Drepper <drepper@gmail.com>
33150
8887a920
UD
33151 [BZ #12811]
33152 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33153 grow the buffers more if it already has to be sufficient.
33154 (build_wcs_upper_buffer): Likewise.
33155 * posix/regexec.c (check_matching): Likewise.
33156 (clean_state_log_if_needed): Likewise.
33157 (extend_buffers): Don't enlarge buffers beyond size of the input
33158 buffer.
33159 Patches mostly by Emil Wojak <emil@wojak.eu>.
33160 * posix/bug-regex32.c: New file.
33161 * posix/Makefile (tests): Add bug-regex32.
33162
4f031072
UD
33163 * locale/findlocale.c (_nl_find_locale): Return right away if
33164 _nl_explode_name failed.
33165 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33166
d0478f0c
UD
33167 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33168
de81b246
UD
33169 * debug/xtrace.sh: Unify messages.
33170 * malloc/memusage.sh: Likewise.
33171
c738465a
UD
33172 [BZ #12813]
33173 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33174 time symbol from vDSO. Substitute with vsyscall if not available.
33175 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33176 __vdso_time.
33177
f1f929d7
UD
33178 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33179 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33180 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33181 Add sendmmsg and internal_sendmmsg.
33182 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33183 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33184 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33185
ce67228d
UD
33186 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33187 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33188 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33189
e57420c6
UD
331902011-05-27 Ulrich Drepper <drepper@gmail.com>
33191
a8509ca5
UD
33192 [BZ #12813]
33193 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33194 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33195 available.
33196 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33197 __vdso_getcpu.
33198
e57420c6
UD
33199 [BZ #12814]
33200 * iconvdata/Makefile (tests): Add bug-iconv9.
33201 * iconvdata/bug-iconv9.c: New file.
33202
4d07db15
AS
332032011-05-27 Andreas Schwab <schwab@redhat.com>
33204
33205 [BZ #12814]
33206 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33207
ea486f69
JJ
332082011-05-25 Jakub Jelinek <jakub@redhat.com>
33209
33210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33211 (struct user_regs_struct): Change intcs field back to cs.
33212
6f038433
UD
332132011-05-25 Ulrich Drepper <drepper@gmail.com>
33214
33215 * po/ja.po: Update from translation team.
33216
67f86a25
UD
332172011-05-23 Ulrich Drepper <drepper@gmail.com>
33218
33219 [BZ #12795]
33220 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33221 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33222
def7fbd6
AS
332232011-05-20 Andreas Schwab <schwab@redhat.com>
33224
33225 * stdlib/longlong.h: Update from GCC.
33226
f50ef8f1
AS
332272011-05-23 Andreas Schwab <schwab@redhat.com>
33228
33229 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33230 parameter name.
33231 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33232 Add parameter name.
33233 (__sysconf): Pass it down.
33234
de7ce8f1
UD
332352011-05-22 Ulrich Drepper <drepper@gmail.com>
33236
f2962a71
UD
33237 [BZ #12671]
33238 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33239 some situations.
33240 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33241 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33242 add in in __libc_use_alloca calls. Adjust callers.
33243 (glob): Use malloc in some situations.
33244
de7ce8f1
UD
33245 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33246 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33247 pltexit.
33248
aec84f53
UD
332492011-05-21 Ulrich Drepper <drepper@gmail.com>
33250
05bb4a68
UD
33251 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33252 and CLOCK_BOOTTIME_ALARM.
33253
7ea72f99
UD
33254 [BZ #12782]
33255 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33256 is returned.
33257
7e4afad5
UD
33258 * string/_strerror.c (__strerror_r): Print negative errors as signed
33259 numbers.
33260
8e211fec
UD
33261 [BZ #12777]
33262 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33263 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33264 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33265
f7d82dc9
UD
33266 * configure.in: Fix typo in redirection and correct removal of test
33267 files in two cases.
33268
cc9e536d
UD
33269 [BZ #12788]
33270 * locale/setlocale.c (new_composite_name): Fix test to check for
33271 identical name of all categories.
33272
aec84f53
UD
33273 [BZ #12792]
33274 * libio/filedoalloc.c (local_isatty): New function.
33275 (_IO_file_doallocate): Use local_isatty.
33276 * stdio-common/perror.c (perror): In case a new stream is used
33277 forward the stream error.
33278 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33279 error flag.
33280
78e64fdc
RT
332812011-05-20 Ulrich Drepper <drepper@gmail.com>
33282
34a9094f
UD
33283 [BZ #11869]
33284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33285 alloca.
33286 * include/alloca.h (extend_alloca_account): Define.
33287
78e64fdc
RT
33288 [BZ #11857]
33289 * posix/regex.h: Fix comments with documentation of user-accessible
33290 fields after compilation and describe correct free'ing of pattern
33291 after re_compile_pattern.
33292 Patch by Reuben Thomas <rrt@sc3d.org>.
33293
457bddfc
RA
332942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33295
33296 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33297 and -mno-altivec to prevent the compiler from using Altivec and/or
33298 VSX instructions when the corresponding registers are not available.
33299
a4527b51
AS
333002011-05-19 Andreas Schwab <schwab@redhat.com>
33301
33302 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33303
ed690b2f
UD
333042011-05-19 Ulrich Drepper <drepper@gmail.com>
33305
33306 * libio/freopen.c (freopen): Use __dup2, not dup2.
33307 * libio/freopen64.c (freopen64): Likewise.
33308
8db73634
L
333092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33310
33311 [BZ #12775]
33312 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33313 * math/Makefile (tests): Add test-powl.
33314 (CFLAGS-test-powl.c): Define.
33315 * math/test-powl.c: New file.
33316
0a197a9d
L
333172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33318
33319 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33320
ee30c380
UD
333212011-05-17 Ulrich Drepper <drepper@gmail.com>
33322
33323 [BZ #11837]
33324 * iconvdata/gb18030.c: Update to GB18020-2005.
33325
6ce75379
UD
333262011-05-16 Ulrich Drepper <drepper@gmail.com>
33327
a4b89fd8
AR
33328 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33329 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33330 Patch by Aharon Robbins <arnold@skeeve.com>.
33331
ea389b12
UD
33332 [BZ #11892]
33333 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33334 on the stack.
33335
68a3f91f
UD
33336 [BZ #11895]
33337 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33338 through underflows.
33339
15cc7dd1
UD
33340 [BZ #12766]
33341 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33342 point to strings before performing equality test for error_one_per_line
33343 mode.
33344
f3799213
UD
33345 [BZ #11697]
33346 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33347
d79a9c94
UD
33348 [BZ #11820]
33349 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33350 (struct user_fpregs_struct): Avoid __uint*_t types.
33351
56e5eb46
UD
33352 [BZ #6420]
33353 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33354 symbol info. Use it instead of calling _dl_addr locally.
33355 (lock_and_info): New function.
33356 (tr_freehook): Call lock_and_info and pass symbol info as additional
33357 parameter to tr_where.
33358 (tr_mallochook): Likewise.
33359 (tr_reallochook): Likewise.
33360 (tr_memalignhook): Likewise.
33361
6ce75379
UD
33362 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33363 used and couldn't be at all thread-safe.
33364
f8a3b5bf
UD
333652011-05-15 Ulrich Drepper <drepper@gmail.com>
33366
94b7cc37
UD
33367 * libio/freopen.c (freopen): Don't close old file descriptor
33368 before the new one is opened. Instead dup the new file descriptor
33369 to the old one after the new stream is created.
33370 * libio/freopen64.c (freopen64): Likewise.
33371 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33372 * libio/fileops.c (_IO_new_file_close_it): Handle new
33373 _IO_FLAGS2_NOCLOSE flag.
33374 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33375 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33376 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33377 _IO_FLAGS2_NOCLOSE flag.
33378 * include/unistd.h: Add hidden_proto for dup3.
33379 Define __have_dup3.
33380 * io/dup3.c: Define hidden symbol.
33381 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33382
bd25564e
UD
33383 [BZ #7101]
33384 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33385 when an incomplete long option is used.
33386 * posix/tst-getopt_long1.c: New file.
33387 * posix/Makefile (tests): Add tst-getopt_long1.
33388
c84cfef4
UD
33389 [BZ #10138]
33390 * scripts/config.guess: Update from autoconf-2.68.
33391 * scripts/config.sub: Likewise.
33392
3b85df27
UD
33393 [BZ #10157]
33394 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33395 tests into ...
33396 (has_cpuclock): ...this. New function.
33397 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33398 macro here based on has_cpuclock code.
33399
15a856b1
UD
33400 [BZ #10149]
33401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33402 First byte (not low byte) is now always NUL.
33403 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33404
05f399e6
UD
33405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33406 Use non-cancelable interfaces.
33407
10a52685 33408 [BZ #9809]
94ecc67d
UD
33409 * locale/iso-639.def: Add entry for Sorani.
33410
f8a3b5bf
UD
33411 [BZ #11901]
33412 * include/stdlib.h: Move include protection to the right place.
33413 Define abort_msg_s. Declare __abort_msg with it.
33414 * stdlib/abort.c (__abort_msg): Adjust type.
33415 * assert/assert.c (__assert_fail_base): New function. Majority
33416 of code from __assert_fail. Allocate memory for __abort_msg with
33417 mmap.
33418 (__assert_fail): Now call __assert_fail_base.
33419 * assert/assert-perr.c: Remove bulk of implementation. Use
33420 __assert_fail_base.
33421 * include/assert.hL Declare __assert_fail_base.
33422 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33423 mmap.
33424 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33425
1af4e298
UD
334262011-05-14 Ulrich Drepper <drepper@gmail.com>
33427
f8a3b5bf 33428 [BZ #11952]
d26dfc60
MG
33429 [BZ #12453]
33430 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33431 until all modules are registered in the DTV.
33432 * elf/Makefile: Add rules to build and run tst-tls19.
33433 * elf/tst-tls19.c: New file.
33434 * elf/tst-tls19mod1.c: New file.
33435 * elf/tst-tls19mod2.c: New file.
33436 * elf/tst-tls19mod3.c: New file.
33437 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33438
2fc54d6f
UD
33439 [BZ #12083]
33440 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33441 correctly.
33442
98d76b46
UD
33443 [BZ #12601]
33444 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33445 two-byte sequence errors.
33446 * iconvdata/Makefile (tests): Add bug-iconv8.
33447 * iconvdata/bug-iconv8.c: New file.
33448
da3c19ef
UD
33449 [BZ #12626]
33450 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33451 buf2 definition.
33452
ca408c15
UD
33453 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33454
d6f67f7d
UD
33455 [BZ #12432]
33456 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33457 (dummy_getcfa): New function.
33458 (init): Get _Unwind_GetCFA address, use dummy if not found.
33459 (backtrace_helper): In recursion check, also check whether CFA changes.
33460 (__backtrace): Completely initialize arg.
33461
1af4e298 33462 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33463 storing incomplete byte sequence in state object. Avoid testing for
33464 guaranteed too small input if we know there is enough data available.
1af4e298 33465
da62f81b
AS
334662011-05-11 Andreas Schwab <schwab@redhat.com>
33467
33468 * Makeconfig (+link-pie): Indent.
33469 * Rules (binaries-pie): Define if $(have-fpie) and
33470 $(build-shared).
33471 (binaries-shared): Also filter out $(binaries-pie).
33472 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33473 * nscd/Makefile (others-pie): Add nscd.
33474 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33475 ($(objpfx)nscd): Remove command override.
33476 * login/Makefile (others-pie): Add pt_chown.
33477 ($(objpfx)pt_chown): Remove command override.
33478 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33479 remove command overrides.
33480
fcabc0f8
UD
334812011-05-13 Ulrich Drepper <drepper@gmail.com>
33482
20030ae6
UD
33483 * libio/tst_putwc.c: Fix error messages.
33484
fcabc0f8
UD
33485 [BZ #12724]
33486 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33487 currently writing and seek to current position when not.
33488 * libio/Makefile (tests): Add bug-fclose1.
33489 * libio/bug-fclose1.c: New file.
33490
320a5dc0
PB
334912011-05-12 Ulrich Drepper <drepper@gmail.com>
33492
33493 [BZ #12511]
33494 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33495 don't set DF_1_NODELETE here.
33496 (do_lookup_x): When entering new entry test for copy relocation
33497 and if necessary set DF_1_NODELETE flag.
33498 * elf/tst-unique4.cc: New file.
33499 * elf/tst-unique4.h: New file.
33500 * elf/tst-unique4lib.cc: New file.
33501 * elf/Makefile: Add rules to build and run tst-unique4.
33502 Patch by Piotr Bury <pbury@goahead.com>.
33503
22836f52
UD
335042011-05-11 Ulrich Drepper <drepper@gmail.com>
33505
f574184a
UD
33506 [BZ #12052]
33507 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33508
e1fb097f
UD
33509 [BZ #12625]
33510 * misc/mntent_r.c (addmntent): Flush the stream after the output
33511
22836f52
UD
33512 [BZ #12393]
33513 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33514 (is_trusted_path_normalize): Skip initial colon. Append slash
33515 to empty buffer. Duplicate is_trusted_path code but allow
33516 constructed patch to be prefix.
33517 (is_dst): Allow $ORIGIN followed by /.
33518 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33519 Correct testing of result of is_trusted_path_normalize
33520 (decompose_rpath): Fix warning.
33521
7b3b0b2a
UD
335222011-05-10 Ulrich Drepper <drepper@gmail.com>
33523
33524 [BZ #11257]
33525 * grp/initgroups.c (internal_getgrouplist): When we found the service
33526 list through the initgroups entry in nsswitch.conf do not always
33527 continue on a successful lookup. Don't always use the
eac80ce2 33528 __nss_group_database value if it is set.
7b3b0b2a
UD
33529 * nss/nsswitch.conf (initgroups): Change action for successful db
33530 lookup to continue for compatibility.
33531
2a81eaa5
UD
335322011-05-09 Ulrich Drepper <drepper@gmail.com>
33533
be97a69e
UD
33534 [BZ #11532]
33535 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33536 and CP774 modules.
33537 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33538 and CP774 modules.
33539 * iconvdata/tst-tables.sh: Likewise.
33540 * iconvdata/cp770.c: New file.
33541 * iconvdata/cp771.c: New file.
33542 * iconvdata/cp772.c: New file.
33543 * iconvdata/cp773.c: New file.
33544 * iconvdata/cp774.c: New file.
33545 * iconvdata/testdata/CP770: New file.
33546 * iconvdata/testdata/CP770..UTF8: New file.
33547 * iconvdata/testdata/CP771: New file.
33548 * iconvdata/testdata/CP771..UTF8: New file.
33549 * iconvdata/testdata/CP772: New file.
33550 * iconvdata/testdata/CP772..UTF8: New file.
33551 * iconvdata/testdata/CP773: New file.
33552 * iconvdata/testdata/CP773..UTF8: New file.
33553 * iconvdata/testdata/CP774: New file.
33554 * iconvdata/testdata/CP774..UTF8: New file.
33555
33556 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33557 END CHARMAP line.
33558 * iconvdata/gen-8bit-gap.sh: Likewise.
33559 * iconvdata/gen-8bit.sh: Likewise.
33560
c1e9e399
UD
33561 * locale/iso-639.def: Add ary entry.
33562
24c55fb3 33563 [BZ #11258]
96b4b1b0
UD
33564 * locale/C-translit.h.in: Add U20A1 transliteration.
33565
bdc2f971
KB
33566 [BZ #12178]
33567 * locale/iso-639.def: Add wae entry.
33568 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33569
2952b117
UD
33570 [BZ #12545]
33571 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33572 for n.
33573
2a81eaa5
UD
33574 [BZ #12711]
33575 * locale/C-translit.h.in: Add entry for U20B9.
33576 Patch by pravin.d.s@gmail.com.
33577
28377d1b
UD
335782011-05-08 Ulrich Drepper <drepper@gmail.com>
33579
7fb90fb8
UD
33580 [BZ #12713]
33581 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33582 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33583 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33584 in rtld. Use *stat64.
7fb90fb8 33585 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33586 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33587 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33588 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33589 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33590 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33591 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33592 __fstatat64 macros.
7fb90fb8
UD
33593 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33594 * dirent/rewinddir.c: Add libc_hidden_def.
33595 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33596 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33597
28377d1b
UD
33598 * include/dirent.h (__alloc_dir): Add flags parameter.
33599 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33600 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33601 __alloc_dir.
33602 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33603 from fdopendir if O_CLOEXEC is already set.
33604
66bdbaa4
AM
336052011-03-15 Alan Modra <amodra@gmail.com>
33606
33607 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33608 l_tls_firstbyte_offset non-zero. Save padding offset in
33609 l_tls_firstbyte_offset for later use.
33610 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33611 freeing static tls block.
33612
95721191
JN
336132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33614
33615 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33616 where #ifdef was intended. The intent is to prevent ARG_MAX from
33617 being defined by the kernel headers.
33618
f87dfb1f
UD
336192011-05-07 Ulrich Drepper <drepper@gmail.com>
33620
33621 [BZ #12734]
33622 * resolv/resolv.h: Define RES_NOTLDQUERY.
33623 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33624 no-tld-query and set RES_NOTLDQUERY.
33625 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33626 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33627 modern BIND to search name as TLD unless forbidden.
33628
47c3cd7a
UD
336292011-05-07 Petr Baudis <pasky@suse.cz>
33630 Ulrich Drepper <drepper@gmail.com>
33631
33632 [BZ #12393]
33633 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33634 (is_trusted_path): ...to here.
c1e9ea35 33635 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33636 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33637 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33638
8a35c912
PP
336392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33640
33641 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33642 __BEGIN/__END_DECLS.
33643
acd41f47
UD
336442011-05-06 Ulrich Drepper <drepper@gmail.com>
33645
33646 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33647 NSS_STATUS_NOTFOUND if no record was found.
33648
597df647
AS
336492011-05-05 Andreas Schwab <schwab@redhat.com>
33650
33651 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33652 (headers-not-in-tirpc): Remove rpc/netdb.h
33653 * resolv/netdb.h: Revert last change.
33654
b9af1301
PP
336552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33656
33657 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33658 circular dependency between libgcc.a and libc.a.
33659
4e34d5f5
AS
336602011-05-05 Andreas Schwab <schwab@redhat.com>
33661
33662 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33663 * nis/Makefile: Don't install rpcsvc/*.
33664 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33665 instead of <rpc/types.h>.
33666 (MAXHOSTNAMELEN): Define.
33667
00ee369c
AS
336682011-05-03 Andreas Schwab <schwab@redhat.com>
33669
33670 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33671
0b592a30
MB
336722011-04-28 Maciej Babinski <mbabinski@google.com>
33673
33674 [BZ #12714]
33675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33676 gethostbyname4_r when IPv6 results are possible.
33677
6e04cbbe
UD
336782011-05-02 Ulrich Drepper <drepper@gmail.com>
33679
33680 [BZ #12723]
33681 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33682 _PC_PIPE_BUF handling.
33683
e4ecafe0
BH
336842011-04-30 Bruno Haible <bruno@clisp.org>
33685
33686 [BZ #12717]
33687 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33688 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33689 to 'int'.
33690 * inet/getnameinfo.c (getnameinfo): Likewise.
33691
125ee683
UD
336922011-04-29 Ulrich Drepper <drepper@gmail.com>
33693
33694 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33695 to groups setting in database lookup.
33696 * nss/nsswitch.conf: Add initgroups entry.
33697
b722481a
EB
336982011-04-22 Ulrich Drepper <drepper@gmail.com>
33699
33700 [BZ #12685]
33701 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33702 mode string.
33703 Patch by Eric Blake <eblake@redhat.com>.
33704
4df46dbd
L
337052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 * sunrpc/Makefile (need-export-routines): Add svc_run.
33708 (routines): Remove svc_run.
33709 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33710 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33711 * sunrpc/svc_run.c (svc_run): Likewise.
33712 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33713
e84142d2
UD
337142011-04-21 Ulrich Drepper <drepper@gmail.com>
33715
33716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33717 problem in reallocation in last patch.
33718
877175d8
UD
337192011-04-20 Ulrich Drepper <drepper@gmail.com>
33720
33721 * sunrpc/Makefile: Move inclusion of Rules.
33722
ab8eed78
UD
337232011-04-19 Ulrich Drepper <drepper@gmail.com>
33724
33725 * nss/nss_files/files-initgroups.c: New file.
33726 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33727 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33728 _nss_files_initgroups_dyn.
33729
e3d8f584
RS
337302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33731
33732 * elf/elf.h (R_ARM_IRELATIVE): Define.
33733
af190f45
UD
337342011-04-19 Ulrich Drepper <drepper@gmail.com>
33735
33736 * po/ru.po: Update from translation team.
33737
53cf59ef
UD
337382011-04-17 Ulrich Drepper <drepper@gmail.com>
33739
33740 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33741 dependencies.
33742
4c559bcd
MF
337432011-02-06 Mike Frysinger <vapier@gentoo.org>
33744
33745 [BZ #12653]
33746 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33747 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33748 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33749 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33750 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33751
4420675c
AS
337522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33753
33754 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33755 differing bytes.
33756 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33757 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33759
75ea32ab
UD
337602011-04-17 Ulrich Drepper <drepper@gmail.com>
33761
33762 [BZ #12420]
33763 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33764 storing it.
33765 * stdlib/bug-getcontext.c: New file.
33766 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33767
27390476
AK
337682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33769
33770 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33771 instructions into .machine "z9-109".
33772 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33773 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33774
10442705
AK
337752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33776
33777 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33778 between environment variables and auxiliary vector.
33779
7b57bfe5
UD
337802011-04-16 Ulrich Drepper <drepper@gmail.com>
33781
33782 * Makefile: Add rules to build linkobj/libc.so.
33783 * include/libc-symbols.h: Define libc_hidden_nolink.
33784 * include/rpc/auth.h: Mark functions which are to be hidden.
33785 * include/rpc/auth_des.h: Likewise.
33786 * include/rpc/auth_unix.h: Likewise.
33787 * include/rpc/clnt.h: Likewise.
33788 * include/rpc/des_crypt.h: Likewise.
33789 * include/rpc/key_prot.h: Likewise.
33790 * include/rpc/pmap_clnt.h: Likewise.
33791 * include/rpc/pmap_prot.h: Likewise.
33792 * include/rpc/pmap_rmt.h: Likewise.
33793 * include/rpc/rpc_msg.h: Likewise.
33794 * include/rpc/svc.h: Likewise.
33795 * include/rpc/svc_auth.h: Likewise.
33796 * include/rpc/xdr.h: Likewise.
33797 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33798 * nss/Makefile: Likewise.
33799 * sunrpc/Makefile: Don't install headers. Build library with normal
33800 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33801 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33802 for the compat linking library. Remove use of INTDEF/INTUSE.
33803 * sunrpc/auth_none.c: Likewise.
33804 * sunrpc/auth_unix.c: Likewise.
33805 * sunrpc/authdes_prot.c: Likewise.
33806 * sunrpc/authuxprot.c: Likewise.
33807 * sunrpc/clnt_gen.c: Likewise.
33808 * sunrpc/clnt_perr.c: Likewise.
33809 * sunrpc/clnt_raw.c: Likewise.
33810 * sunrpc/clnt_simp.c: Likewise.
33811 * sunrpc/clnt_tcp.c: Likewise.
33812 * sunrpc/clnt_udp.c: Likewise.
33813 * sunrpc/clnt_unix.c: Likewise.
33814 * sunrpc/des_crypt.c: Likewise.
33815 * sunrpc/des_soft.c: Likewise.
33816 * sunrpc/get_myaddr.c: Likewise.
33817 * sunrpc/key_call.c: Likewise.
33818 * sunrpc/key_prot.c: Likewise.
33819 * sunrpc/netname.c: Likewise.
33820 * sunrpc/pm_getmaps.c: Likewise.
33821 * sunrpc/pm_getport.c: Likewise.
33822 * sunrpc/pmap_clnt.c: Likewise.
33823 * sunrpc/pmap_prot.c: Likewise.
33824 * sunrpc/pmap_prot2.c: Likewise.
33825 * sunrpc/pmap_rmt.c: Likewise.
33826 * sunrpc/publickey.c: Likewise.
33827 * sunrpc/rpc_cmsg.c: Likewise.
33828 * sunrpc/rpc_common.c: Likewise.
33829 * sunrpc/rpc_dtable.c: Likewise.
33830 * sunrpc/rpc_prot.c: Likewise.
33831 * sunrpc/rpc_thread.c: Likewise.
33832 * sunrpc/rtime.c: Likewise.
33833 * sunrpc/svc.c: Likewise.
33834 * sunrpc/svc_auth.c: Likewise.
33835 * sunrpc/svc_authux.c: Likewise.
33836 * sunrpc/svc_raw.c: Likewise.
33837 * sunrpc/svc_run.c: Likewise.
33838 * sunrpc/svc_simple.c: Likewise.
33839 * sunrpc/svc_tcp.c: Likewise.
33840 * sunrpc/svc_udp.c: Likewise.
33841 * sunrpc/svc_unix.c: Likewise.
33842 * sunrpc/svcauth_des.c: Likewise.
33843 * sunrpc/xcrypt.c: Likewise.
33844 * sunrpc/xdr.c: Likewise.
33845 * sunrpc/xdr_array.c: Likewise.
33846 * sunrpc/xdr_float.c: Likewise.
33847 * sunrpc/xdr_intXX_t.c: Likewise.
33848 * sunrpc/xdr_mem.c: Likewise.
33849 * sunrpc/xdr_rec.c: Likewise.
33850 * sunrpc/xdr_ref.c: Likewise.
33851 * sunrpc/xdr_sizeof.c: Likewise.
33852 * sunrpc/xdr_stdio.c: Likewise.
33853
e6c61494
UD
338542011-04-10 Ulrich Drepper <drepper@gmail.com>
33855
33856 [BZ #12650]
33857 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33858 * sysdeps/ia64/dl-tls.h: Likewise.
33859 * sysdeps/powerpc/dl-tls.h: Likewise.
33860 * sysdeps/s390/dl-tls.h: Likewise.
33861 * sysdeps/sh/dl-tls.h: Likewise.
33862 * sysdeps/sparc/dl-tls.h: Likewise.
33863 * sysdeps/x86_64/dl-tls.h: Likewise.
33864 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33865
34fe483e
AS
338662011-03-14 Andreas Schwab <schwab@redhat.com>
33867
33868 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33869 rpath element also skip the following colon.
33870 (expand_dynamic_string_token): Add is_path parameter and pass
33871 down to DL_DST_REQUIRED and _dl_dst_substitute.
33872 (decompose_rpath): Call expand_dynamic_string_token with
33873 non-zero is_path. Ignore empty rpaths.
33874 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33875 with zero is_path.
33876
f12a32e6
AS
338772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33878
33879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33880 Make cancelable.
33881
38a7d692
UD
338822011-04-09 Ulrich Drepper <drepper@gmail.com>
33883
33884 [BZ #12655]
33885 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33886 Patch by Filipe David Manana <fdmanana@apache.org>.
33887
e451d22b
AS
338882011-04-07 Andreas Schwab <schwab@redhat.com>
33889
33890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33891 Maintain aligned stack.
33892 (CHECK_RSP): Remove unused macro.
33893
dedc7c7b
UD
338942011-04-03 Ulrich Drepper <drepper@gmail.com>
33895
33896 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33898
94521213
UD
338992011-04-02 Ulrich Drepper <drepper@gmail.com>
33900
33901 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33902
8cb700c0 33903 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33904
0354e355
L
339052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33906
33907 [BZ #12518]
33908 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33909 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33910 * sysdeps/x86_64/memmove.c: New file.
33911 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33912 (memcpy): Renamed to ...
33913 (__new_memcpy): This.
33914 (memcpy): Provide GLIBC_2_14 memcpy.
33915 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33916 (memcpy): Provide GLIBC_2_2_5 memcpy.
33917
8593482f
UD
339182011-04-01 Ulrich Drepper <drepper@gmail.com>
33919
33920 [BZ #12631]
33921 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33922
81a5726b
AS
339232011-03-30 Andreas Schwab <schwab@redhat.com>
33924
33925 * misc/syncfs.c: New file.
33926 * misc/Makefile (routines): Add syncfs.
33927 * posix/unistd.h: Declare syncfs.
33928 * sysdeps/unix/syscalls.list: Add syncfs.
33929
00e5419f
AS
339302011-04-01 Andreas Schwab <schwab@redhat.com>
33931
33932 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33933 open_by_handle_at.
33934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33935 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33937 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33939 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33941
748876bf
UD
339422011-04-01 Ulrich Drepper <drepper@gmail.com>
33943
658e451d
UD
33944 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33945 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33946 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33951
748876bf
UD
33952 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33953 sync_file_range.c with -fexceptions.
33954 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33955 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33956 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33957 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33958 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33959 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33960 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33961 sync_file_range as cancellation point
33962 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33963 now a wrapper around __call_sync_file_range with cancellation handling.
33964 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33965 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33966 function name to __call_sync_file_range.
33967 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33968 Add call_sync_file_range.
748876bf 33969
6e63d5e1
AS
339702011-04-01 Andreas Schwab <schwab@redhat.com>
33971
33972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33973 bits/timex.h.
6e63d5e1 33974
46998f74
UD
339752011-04-01 Ulrich Drepper <drepper@gmail.com>
33976
4c1423ed
UD
33977 * iconv/iconv.h: Fix typo in comment.
33978 * io/fcntl.h: Likewise.
33979 * libio/stdio.h: Likewise.
33980 * posix/spawn.h: Likewise.
33981 * posix/unistd.h: Likewise.
33982 * stdlib/stdlib.h: Likewise.
33983 * time/time.h: Likewise.
33984 * wcsmbs/wchar.h: Likewise.
33985
158648c0
UD
33986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33987 open_by_handle): Add.
33988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33989 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33990 Augment a few comments.
33991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33996 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33997 open_by_handle.
33998
46998f74
UD
33999 * io/fcntl.h (AT_EMPTY_PATH): Define.
34000
83fe108b
UD
340012011-03-30 Ulrich Drepper <drepper@gmail.com>
34002
34003 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34004 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34005 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34006 to...
34007 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34008 * Versions.def: Add GLIBC_2.14.
34009 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34010 Export.
83fe108b 34011
bb242059
UD
340122011-03-22 Ulrich Drepper <drepper@gmail.com>
34013
34014 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34015 round counter.
34016 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34017
c97a1282
L
340182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34019
34020 [BZ #12597]
34021 * string/test-strncmp.c (do_page_test): New function.
34022 (check2): Likewise.
34023 (test_main): Call check2.
34024 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34025
2a115601
UD
340262011-03-20 Ulrich Drepper <drepper@gmail.com>
34027
34028 [BZ #12587]
34029 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34030 Handle cache information in CPU leaf 4.
34031 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34032
8126d904
UD
340332011-03-18 Ulrich Drepper <drepper@gmail.com>
34034
042c49c6 34035 [BZ #12583]
8126d904
UD
34036 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34037 character representation.
34038 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34039
ccfe366e
RA
340402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34041
34042 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34043 END(__isnan) to END(__isnanf) to match function entry point/label
34044 EALIGN(__isnanf,...).
34045
c6e13027
JJ
340462011-03-10 Jakub Jelinek <jakub@redhat.com>
34047
34048 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34049
33f85a3f
UD
340502011-03-10 Ulrich Drepper <drepper@gmail.com>
34051
028478fa
UD
34052 [BZ #12510]
34053 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34054 copy from the symbol referenced in the relocation to initialize the
34055 used variable.
34056 Patch by Piotr Bury <pbury@goahead.com>.
34057 * elf/Makefile: Add rules to build and tst-unique3.
34058 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34059 * elf/tst-unique3.cc: New file.
34060 * elf/tst-unique3.h: New file.
34061 * elf/tst-unique3lib.cc: New file.
34062 * elf/tst-unique3lib2.cc: New file.
34063
33f85a3f
UD
34064 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34065
03592fc7
MF
340662011-03-10 Mike Frysinger <vapier@gentoo.org>
34067
34068 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34069 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34070 to _start.
03592fc7 34071
6a5ee102
UD
340722011-03-06 Ulrich Drepper <drepper@gmail.com>
34073
34074 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34075 to-be-loaded object along a path to loader is ld.so.
34076
7e4ba49c
HJ
340772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34078 Ulrich Drepper <drepper@gmail.com>
34079
34080 * sysdeps/x86_64/memset.S: After aligning destination, code
34081 branches to different locations depending on the value of
34082 misalignment, when multiarch is enabled. Fix this.
34083
340842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34085
34086 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34087 Set _x86_64_preferred_memory_instruction for AMD processsors.
34088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34089 Set bit_Prefer_SSE_for_memop for AMD processors.
34090
13a804de
UD
340912011-03-04 Ulrich Drepper <drepper@gmail.com>
34092
34093 * libio/fmemopen.c (fmemopen): Optimize a bit.
34094
9d25c392
AS
340952011-03-03 Andreas Schwab <schwab@redhat.com>
34096
34097 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34098
a5543c6a
RM
340992011-03-03 Roland McGrath <roland@redhat.com>
34100
34101 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34102
012d35f7
DM
341032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34104
7e4ba49c 34105 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34106 __bzero_ultra1 instead of __memset_ultra1.
34107
4bff6e01
AS
341082011-02-23 Andreas Schwab <schwab@redhat.com>
34109 Ulrich Drepper <drepper@gmail.com>
34110
34111 [BZ #12509]
34112 * include/link.h (struct link_map): Add l_orig_initfini.
34113 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34114 returning unsuccessfully.
34115 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34116 close of a file loaded at startup, restore the original l_initfini
34117 list.
34118 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34119 list, store the pointer.
34120 * elf/Makefile ($(objpfx)noload-mem): New rule.
34121 (noload-ENV): Define.
34122 (tests): Add $(objpfx)noload-mem.
34123 * elf/noload.c: Include <memcheck.h>.
34124 (main): Call mtrace. Close all opened handles.
34125
f2092faf
AS
341262011-02-17 Andreas Schwab <schwab@redhat.com>
34127
34128 [BZ #12454]
34129 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34130 dependencies are missing.
34131
6c8a2e88
ST
341322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34133
f2092faf 34134 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34135 Hurd needs munmap.
34136 * sysdeps/mach/hurd/ifreq.h: New file.
34137
84a42118
PB
341382011-01-27 Petr Baudis <pasky@suse.cz>
34139 Ulrich Drepper <drepper@gmail.com>
34140
071f805e 34141 [BZ 12445]#
84a42118
PB
34142 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34143 to extend_alloca().
34144 * stdio-common/bug23.c: New file.
34145 * stdio-common/Makefile (tests): Add bug23.
34146
e23fe25b
AS
341472010-09-28 Andreas Schwab <schwab@redhat.com>
34148 Ulrich Drepper <drepper@gmail.com>
34149
34150 [BZ #12489]
34151 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34152 before performing relro protection. At old place add assertion
34153 to make sure nothing changed.
34154
d3f02e10
NS
341552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34156 Glauber de Oliveira Costa <glommer@gmail.com>
34157
34158 * elf/elf.h: Add new ARM TLS relocs.
34159
d55fd7a5
RA
341602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34161
34162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34163 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34164 cast from r3.
34165 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34166 'tests' variable.
34167 * sysdeps/wordsize-64/tst-writev.c: New file.
34168
2206397e
RA
341692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34170
34171 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34172 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34173 insns in _dl_start to prevent a TOC reference before relocs are
34174 resolved.
34175
e9433893
UD
341762011-02-15 Ulrich Drepper <drepper@gmail.com>
34177
34178 [BZ #12469]
34179 * Makeconfig: Remove RANLIB definition.
34180 * Makerules: Don't use RANLIB.
34181 * aclocal.m4: Remove ranlib test.
34182 * configure.in: No need to check for ranlib.
34183 * elf/rtld-Rules: Don't use RANLIB.
34184
f75286c6
ST
341852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34186
8e31c82d
ST
34187 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34188 protection macro.
34189 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34190 inclusion protection macro.
34191
f75286c6
ST
34192 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34193 SIGRTMIN and SIGRTMAX and print information in that case only when
34194 SIGRTMIN is defined.
34195
c1d0e639
JJ
341962011-02-11 Jakub Jelinek <jakub@redhat.com>
34197
34198 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34199 arginfo fn returning -1.
34200
34201 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34202 and thousands string is zero terminated.
34203
edf9294e
AS
342042011-02-03 Andreas Schwab <schwab@redhat.com>
34205
34206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34207 sysdeps/unix/sysv/linux/bits/socket.h.
34208
2b7e92df
ST
342092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34210
edf9294e
AS
34211 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34212 (__CPU_COUNT): Remove old macros.
34213 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34214 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34215 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34216 (__sched_cpualloc, __sched_cpufree): Add declarations.
34217
a4c7ea7b
UD
342182011-02-05 Ulrich Drepper <drepper@gmail.com>
34219
34220 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34221 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34222 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34223 (readdhstai): Return value of addhstaiX call.
34224 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34225 (addgrbyX): Return value returned by cache_addgr.
34226 (readdgrbyname): Return value returned by addgrbyX.
34227 (readdgrbygid): Likewise.
34228 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34229 (addpwbyX): Return value returned by cache_addpw.
34230 (readdpwbyname): Return value returned by addhstbyX.
34231 (readdpwbyuid): Likewise.
34232 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34233 (addservbyX): Return value returned by cache_addserv.
34234 (readdservbyname): Return value returned by addservbyX:
34235 (readdservbyport): Likewise.
34236 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34237 (addhstbyX): Return value returned by cache_addhst.
34238 (readdhstbyname): Return value returned by addhstbyX.
34239 (readdhstbyaddr): Likewise.
34240 (readdhstbynamev6): Likewise.
34241 (readdhstbyaddrv6): Likewise.
34242 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34243 (readdinitgroups): Return value returned by addinitgroupsX.
34244 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34245 (prune_cache): Keep track of timeout value of re-added entries.
34246 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34247 * nscd/nscd.h: Adjust prototypes of readd* functions.
34248
a0bf67cc
RM
342492011-02-04 Roland McGrath <roland@redhat.com>
34250
34251 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34252 (nis_stats): Likewise.
34253 * nis/nis_modify.c (nis_modify): Likewise.
34254 * nis/nis_remove.c (nis_remove): Likewise.
34255 * nis/nis_add.c (nis_add): Likewise.
34256
34257 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34258
34259 * posix/fnmatch_loop.c: Add some consts.
34260
34261 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34262
435b95eb
L
342632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34264
34265 [BZ #12460]
34266 * config.make.in (config-cflags-novzeroupper): Define.
34267 * configure.in: Substitute libc_cv_cc_novzeroupper.
34268 * elf/Makefile (AVX-CFLAGS): Define.
34269 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34270 (CFLAGS-tst-auditmod4a.c): Likewise.
34271 (CFLAGS-tst-auditmod4b.c): Likewise.
34272 (CFLAGS-tst-auditmod6b.c): Likewise.
34273 (CFLAGS-tst-auditmod6c.c): Likewise.
34274 (CFLAGS-tst-auditmod7b.c): Likewise.
34275 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34276
8517b15e
UD
342772011-02-02 Ulrich Drepper <drepper@gmail.com>
34278
34279 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34280 function to the callback.
34281 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34282
10a656fe
AS
342832011-02-02 Andreas Schwab <schwab@redhat.com>
34284
34285 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34286 of errno.
34287
968dad0a
UD
342882011-01-19 Ulrich Drepper <drepper@gmail.com>
34289
9f94d2ea 34290 [BZ #11724]
968dad0a
UD
34291 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34292 of constructors.
34293 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34294 of destructors.
34295 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34296
34297 [BZ #11724]
34298 * elf/Makefile: Add rules to build and run new test.
34299 * elf/tst-initorder.c: New file.
34300 * elf/tst-initorder.exp: New file.
34301 * elf/tst-initordera1.c: New file.
34302 * elf/tst-initordera2.c: New file.
34303 * elf/tst-initordera3.c: New file.
34304 * elf/tst-initordera4.c: New file.
34305 * elf/tst-initorderb1.c: New file.
34306 * elf/tst-initorderb2.c: New file.
34307 * elf/tst-order-a1.c: New file.
34308 * elf/tst-order-a2.c: New file.
34309 * elf/tst-order-a3.c: New file.
34310 * elf/tst-order-a4.c: New file.
34311 * elf/tst-order-b1.c: New file.
34312 * elf/tst-order-b2.c: New file.
34313 * elf/tst-order-main.c: New file.
34314 New test case by George Gensure <werkt0@gmail.com>.
34315
86e92359
UD
343162010-10-01 Andreas Schwab <schwab@redhat.com>
34317
34318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34319 decoding ACE if AI_CANONIDN.
34320
5d5732b0
UD
343212011-01-18 Ulrich Drepper <drepper@gmail.com>
34322
34323 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34324
a77e8cbc
UD
343252011-01-17 Ulrich Drepper <drepper@gmail.com>
34326
6392473f
UD
34327 * version.h (RELEASE): Bump for 2.13 release.
34328 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34329
620a0529
UD
34330 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34331
18ba70a5
UD
34332 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34333 MADV_NOHUGEPAGE.
32465c3e
UD
34334 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34335 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34336 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34337 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34338 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34339 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34340
c0dafcf1
UD
34341 * posix/getconf.c: Update copyright year.
34342 * catgets/gencat.c: Likewise.
34343 * csu/version.c: Likewise.
34344 * debug/catchsegv.sh: Likewise.
34345 * debug/xtrace.sh: Likewise.
34346 * elf/ldconfig.c: Likewise.
34347 * elf/ldd.bash.in: Likewise.
34348 * elf/sprof.c (print_version): Likewise.
34349 * iconv/iconv_prog.c: Likewise.
34350 * iconv/iconvconfig.c: Likewise.
34351 * locale/programs/locale.c: Likewise.
34352 * locale/programs/localedef.c: Likewise.
34353 * malloc/memusage.sh: Likewise.
34354 * malloc/mtrace.pl: Likewise.
34355 * nscd/nscd.c (print_version): Likewise.
34356 * nss/getent.c: Likewise.
34357
a77e8cbc
UD
34358 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34359 PF_CAIF, and PF_ALG.
34360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34361
77e8bddf
AS
343622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34363
1f20b93a
AS
34364 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34365 (modules-names): Use them.
34366 (ifunc-test-modules, ifunc-pie-tests): Define.
34367 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34368 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34369 (test-extras): Likewise.
34370 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34371 $(compile-command.c).
34372 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34373 (all-built-dso): Define.
34374 (check-textrel.out, check-execstack.out): Depend on it.
34375
77e8bddf
AS
34376 * configure.in: Don't override --enable-multi-arch.
34377
bc425b33
UD
343782011-01-15 Ulrich Drepper <drepper@gmail.com>
34379
34380 [BZ #6812]
34381 * nscd/hstcache.c (tryagain): Define.
34382 (cache_addhst): Return tryagain not notfound for temporary errors.
34383 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34384 failed.
34385
794c3ad3
UD
343862011-01-14 Ulrich Drepper <drepper@gmail.com>
34387
70181fdd
UD
34388 [BZ #10563]
34389 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34390 to make the syscall.
34391 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34392
794c3ad3
UD
34393 [BZ #12378]
34394 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34395 and fall back to matching as normal character if the string ends before
34396 the matching ']' is found. This is what POSIX requires.
34397 * posix/testfnm.c: Adjust test result.
34398 * posix/globtest.sh: Adjust test result. Add new test.
34399 * posix/tst-fnmatch.input: Likewise.
34400 * posix/tst-fnmatch2.c: Add new test.
34401
68dc9497
AS
344022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34403
34404 * elf/Makefile (check-execstack): Revert last change. Depend on
34405 check-execstack.h.
34406 (check-execstack.h): New target.
34407 (generated): Add check-execstack.h.
34408 * elf/check-execstack.c: Include "check-execstack.h".
34409 (main): Revert last change.
34410 (handle_file): Return zero if GNU_STACK is absent and
34411 DEFAULT_STACK_PERMS doesn't include PF_X.
34412
451f001b
UD
344132011-01-13 Ulrich Drepper <drepper@gmail.com>
34414
cfa28e56
UD
34415 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34416 in child fails because the descriptor is already closed.
8cf8ce17
UD
34417 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34418 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34419 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34420
1086d70d
UD
34421 [BZ #12397]
34422 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34423 syscall.
34424
451f001b
UD
34425 [BZ #10484]
34426 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34427 temporary buffer used to handle multi lookups locally.
a85b5cb4 34428 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34429
08769175
UD
344302011-01-12 Ulrich Drepper <drepper@gmail.com>
34431
34432 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34433 loader is ld.so.
34434
5e49c52e
UD
344352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34436
34437 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34438 alignment for SSE2.
34439
60522a5f
UD
344402011-01-12 Ulrich Drepper <drepper@gmail.com>
34441
34442 [BZ #12394]
34443 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34444 characters. When rounding increased number of integer digits recompute
34445 number of groups.
34446 * stdio-common/tst-grouping.c: New file.
34447 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34448
f257bbd7
UD
344492011-01-09 Ulrich Drepper <drepper@gmail.com>
34450
34451 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34452 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34453
34454 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34455 void.
34456 * bits/select.h: Likewise.
34457
fa9c15cb
UD
344582011-01-08 Ulrich Drepper <drepper@gmail.com>
34459
34460 * po/ja.po: Update from translation team.
34461
16c2895f
DM
344622011-01-04 David S. Miller <davem@sunset.davemloft.net>
34463
34464 [BZ #11155]
34465 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34466 implementation just like for lxstat, fxstatat, et al.
34467
2543fef2
JM
344682010-12-27 Jim Meyering <meyering@redhat.com>
34469
34470 [BZ #12348]
34471 * posix/regexec.c (build_trtable): Return failure indication upon
34472 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34473
98727dbe
UD
344742010-12-25 Ulrich Drepper <drepper@gmail.com>
34475
5bd6dc5c
UD
34476 [BZ #12201]
34477 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34478 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34479 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34480 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34481
97983464
UD
34482 [BZ #12207]
34483 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34484
98727dbe
UD
34485 [BZ #12204]
34486 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34487 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34488
4a531bb0
L
344892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34492 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34493 script has SORT_BY_INIT_PRIORITY.
34494 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34495 NO_CTORS_DTORS_SECTIONS is defined.
34496 * elf/soinit.c: Likewise.
34497 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34498 NO_CTORS_DTORS_SECTIONS is defined.
34499 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34500 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34501 * sysdeps/sh/init-first.c: Likewise.
34502 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34503
07eb4b71
UD
345042010-12-24 Ulrich Drepper <drepper@gmail.com>
34505
34506 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34507 always use the slow path.
34508
30950a5f
RA
345092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34510
34511 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34512 similar rule which adds the sysdep directories to the header search in
34513 order to pick up the correct platform stackinfo.h.
34514 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34515 perform test if it is, otherwise return successfully without testing.
34516 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34517 DEFAULT_STACK_PERMS define in stackinfo.h.
34518 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34519 defined in stackinfo.h.
34520 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34521 DEFAULT_STACK_PERMS defined in stackinfo.h.
34522 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34523 * sysdeps/ia64/stackinfo.h: Likewise.
34524 * sysdeps/s390/stackinfo.h: Likewise.
34525 * sysdeps/sh/stackinfo.h: Likewise.
34526 * sysdeps/sparc/stackinfo.h: Likewise.
34527 * sysdeps/x86_64/stackinfo.h: Likewise.
34528 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34529 PF_X for powerpc64. Retain PF_X for powerpc32.
34530
db753e2c
UD
345312010-12-19 Ulrich Drepper <drepper@gmail.com>
34532
14b697f7
UD
34533 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34534 accurately.
db753e2c
UD
34535 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34536 GETDENTS_64BIT_ALIGNED.
34537
28300719
UD
345382010-12-14 Ulrich Drepper <dreper@gmail.com>
34539
14b697f7 34540 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34541
4f197237
AS
345422010-12-10 Andreas Schwab <schwab@redhat.com>
34543
dbb0472f
AS
34544 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34545 _GNU_SOURCE.
34546
4f197237
AS
34547 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34548 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34549 Remove __restrict.
34550 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34551 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34552
fb88ac72
UD
345532010-12-09 Ulrich Drepper <drepper@gmail.com>
34554
34555 [BZ #11655]
34556 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34557 are initialized.
34558
42acbb92
JJ
345592010-12-09 Jakub Jelinek <jakub@redhat.com>
34560
34561 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34562
c038d98d
UD
345632010-12-03 Ulrich Drepper <drepper@gmail.com>
34564
34565 * po/it.po: Update from translation team.
34566
3a4a2499
L
345672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34568
34569 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34570 unused codes.
34571
1e24cf6e
UD
345722010-11-30 Ulrich Drepper <drepper@gmail.com>
34573
34574 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34575
a7690819
AS
345762010-11-24 Andreas Schwab <schwab@redhat.com>
34577
34578 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34579 specially.
34580 (gaih_getanswer_slice): Likewise.
34581
3bf8d1b1
JJ
345822010-10-20 Jakub Jelinek <jakub@redhat.com>
34583
34584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34585
6db52fbb
PB
345862010-05-31 Petr Baudis <pasky@suse.cz>
34587
34588 [BZ #11149]
34589 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34590 silently even in the chroot mode.
34591
eaca7569
UD
345922010-11-22 Ulrich Drepper <drepper@gmail.com>
34593
34594 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34595 last patch a bit. Pretty printing
34596
3056dcdb
UD
345972010-05-31 Petr Baudis <pasky@suse.cz>
34598
34599 [BZ #10085]
34600 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34601 initialization of skip_initgroups_dyn.
34602
cf7c9078
UD
346032010-11-19 Ulrich Drepper <drepper@gmail.com>
34604
34605 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34607
a1fb5e3e
UD
346082010-11-16 Ulrich Drepper <drepper@gmail.com>
34609
34610 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34611
3540d66b
AS
346122010-11-11 Andreas Schwab <schwab@redhat.com>
34613
34614 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34615 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34616 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34617 ($(objpfx)tst-fnmatch-mem): New rule.
34618 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34619 * posix/tst-fnmatch.c (main): Call mtrace.
34620
13b69574
L
346212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34622
34623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34624 Support Intel processor model 6 and model 0x2c.
34625
da93d214
LM
346262010-11-10 Luis Machado <luisgpm@br.ibm.com>
34627
34628 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34629 signed comparison.
34630
8ca52c6e
L
346312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34632
34633 [BZ #12205]
34634 * string/test-strncasecmp.c (check_result): New function.
34635 (do_one_test): Use it.
34636 (check1): New function.
34637 (test_main): Use it.
34638 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34639 Support strcasecmp and strncasecmp.
34640
69da074d
UD
346412010-11-08 Ulrich Drepper <drepper@gmail.com>
34642
34643 [BZ #12194]
34644 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34645 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34646
ff02d528
L
346472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34648
34649 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34650 IFUNC support.
34651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34652 memset-x86-64.
34653 * sysdeps/x86_64/multiarch/bzero.S: New file.
34654 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34655 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34656 * sysdeps/x86_64/multiarch/memset.S: New file.
34657 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34659 Set bit_Prefer_SSE_for_memop for Intel processors.
34660 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34661 Define.
34662 (index_Prefer_SSE_for_memop): Define.
34663 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34664
344d0b54
LM
346652010-11-04 Luis Machado <luisgpm@br.ibm.com>
34666
34667 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34668 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34669
c0dde15b
UD
346702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34671
34672 [BZ #12191]
34673 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34674 (__x86_64_raw_data_cache_size_half): Likewise.
34675 (__x86_64_raw_shared_cache_size): Likewise.
34676 (__x86_64_raw_shared_cache_size_half): Likewise.
34677
34678 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34679 (__x86_64_raw_data_cache_size_half): Likewise.
34680 (__x86_64_raw_shared_cache_size): Likewise.
34681 (__x86_64_raw_shared_cache_size_half): Likewise.
34682 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34683 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34684 and __x86_64_raw_shared_cache_size_half. Round
34685 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34686 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34687 to multiple of 256 bytes.
34688
0e516e0e
MS
346892010-11-03 Ulrich Drepper <drepper@gmail.com>
34690
34691 [BZ #12167]
34692 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34693 of inacessible symlinks. Verify result of symlink before returning it.
34694 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34695 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34696
0e012e87
ER
346972010-10-28 Erich Ritz <erichritz@gmail.com>
34698
34699 * math/math.h (isinf): Fix typo in comment.
34700
de0ff7bc
UD
347012010-11-01 Ulrich Drepper <drepper@gmail.com>
34702
34703 * po/da.po: Update from translation team.
34704
fa41c84d
UD
347052010-10-26 Ulrich Drepper <drepper@gmail.com>
34706
34707 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34708 is added to the list.
34709
f0967738
AK
347102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34711 Ulrich Drepper <drepper@gmail.com>
34712
34713 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34714 the global list here. Move code to...
34715 (_dl_add_to_namespace_list): ...here. New function.
34716 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34717 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34718 * elf/dl-load.c (lose): Don't remove the element from the list.
34719 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34720 (_dl_map_object): Likewise.
34721
347222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34723
34724 [BZ #12159]
34725 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34726 into all bytes of SSE register.
34727 Patch by Richard Li <richardpku@gmail.com>.
34728
f0967738 347292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34730
34731 [BZ #12140]
34732 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34733 perturbing.
34734
d0b9e94f
MB
347352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34736
34737 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34738 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34739 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34740 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34742 submachine.
34743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34744
8e9f92e9
AS
347452010-10-22 Andreas Schwab <schwab@redhat.com>
34746
34747 * include/dlfcn.h (__RTLD_SECURE): Define.
34748 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34749 mode & __RTLD_SECURE instead.
34750 (open_path): Rename preloaded parameter to secure.
34751 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34752 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34753 * elf/dl-deps.c (openaux): Likewise.
34754 * elf/rtld.c (struct map_args): Remove is_preloaded.
34755 (map_doit): Don't use it.
34756 (dl_main): Likewise.
34757 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34758 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34759
bc96fbda
AS
347602010-09-09 Andreas Schwab <schwab@redhat.com>
34761
34762 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34763 (sysd-rules-targets): Remove duplicates.
34764 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34765 rtld-%.$o dependency.
34766
22cd1c9b
AS
347672010-10-18 Andreas Schwab <schwab@redhat.com>
34768
34769 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34770 _dl_map_object do it.
34771
18edac48
UD
347722010-10-19 Ulrich Drepper <drepper@gmail.com>
34773
34774 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34775 fast fma builtins, define the macros in the C99 standard.
34776 (FP_FAST_FMAF): Likewise.
34777 (FP_FAST_FMAL): Likewise.
34778 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34779
34780 * bits/mathdef.h: Update copyright year.
34781 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34782
d2050124
MM
347832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34784
34785 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34786 builtins, define the macros in the C99 standard.
34787 (FP_FAST_FMAF): Likewise.
34788 (FP_FAST_FMAL): Likewise.
34789 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34790 multiply/add.
34791 (FP_FAST_FMAF): Likewise.
34792
475facd1
JJ
347932010-10-15 Jakub Jelinek <jakub@redhat.com>
34794
34795 [BZ #3268]
34796 * math/libm-test.inc (fma_test): Some new testcases.
34797 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34799 y and infinite z. Do multiplication by C already in long double.
34800 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34802 y and infinite z. Do bitwise or of inexact bit into u.d.
34803 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34804 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34805 * sysdeps/i386/fpu/s_fma.S: Removed.
34806 * sysdeps/i386/fpu/s_fmal.S: Removed.
34807
7c08a05c
JJ
348082010-10-16 Jakub Jelinek <jakub@redhat.com>
34809
34810 [BZ #3268]
34811 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34813 computation is not scheduled after fetestexcept. Fix value
34814 of minimum denormal long double.
34815
f3f7372d
JJ
348162010-10-14 Jakub Jelinek <jakub@redhat.com>
34817
34818 [BZ #3268]
34819 * math/libm-test.inc (fma_test): Add some more tests.
34820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34821 correctly.
34822
14d43591
AS
348232010-10-15 Andreas Schwab <schwab@redhat.com>
34824
34825 * scripts/data/localplt-s390-linux-gnu.data: New file.
34826 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34827
5e908464
JJ
348282010-10-13 Jakub Jelinek <jakub@redhat.com>
34829
34830 [BZ #3268]
34831 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34832 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34833 instead of dbl-64.
34834 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34835 inlines.
34836 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34838 if one of x and y is very large and the other is subnormal.
34839 * sysdeps/s390/fpu/s_fmaf.c: New file.
34840 * sysdeps/s390/fpu/s_fma.c: New file.
34841 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34842 * sysdeps/powerpc/fpu/s_fma.S: New file.
34843 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34844 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34845 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34846
348472010-10-12 Jakub Jelinek <jakub@redhat.com>
34848
34849 [BZ #3268]
34850 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34851 fma tests.
34852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34853 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34854 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34855 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34856 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34857 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34858 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34859
b833d51f
UD
348602010-10-12 Ulrich Drepper <drepper@redhat.com>
34861
34862 [BZ #12078]
34863 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34864 * posix/bug-regex31.input: Add test case.
34865
1751705d
UD
348662010-10-11 Ulrich Drepper <drepper@gmail.com>
34867
e9b9cbf5
UD
34868 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34869 * posix/bug-regex31.input: New file.
34870
34871 [BZ #12078]
34872 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34873 (parse_sub_exp): Fix last change, use postorder.
34874
ef06edbe
UD
34875 * posix/bug-regex31.c: New file.
34876 * posix/Makefile: Add rules to build and run bug-regex31.
34877
a129c80d
UD
34878 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34879
34880 [BZ #12078]
34881 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34882
b76b818e
UD
34883 [BZ #12108]
34884 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34885 to have entries in sys_siglist.
34886
1751705d
UD
34887 [BZ #12093]
34888 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34889 be NULL.
34890
9ff8d36f
JJ
348912010-10-07 Jakub Jelinek <jakub@redhat.com>
34892
34893 [BZ #3268]
34894 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34895 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34896 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34897 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34898 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34899 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34900 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34901 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34902 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34903 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34904 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34905 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34906 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34907 * math/ftestexcept.c (fetestexcept): Likewise.
34908 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34909 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34910 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34911 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34912 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34913 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34914 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34915
af325969
UD
349162010-10-11 Ulrich Drepper <drepper@gmail.com>
34917
c579b202 34918 [BZ #12107]
af325969
UD
34919 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34920 newline.
34921
67a67b95
UD
349222010-10-06 Ulrich Drepper <drepper@gmail.com>
34923
34924 * string/bug-strstr1.c: New file.
34925 * string/Makefile: Add rules to build and run bug-strstr1.
34926
5fb308bc
EB
349272010-10-05 Eric Blake <eblake@redhat.com>
34928
34929 [BZ #12092]
34930 * string/str-two-way.h (two_way_long_needle): Always clear memory
34931 when skipping input due to the shift table.
34932
45db99c7
UD
349332010-10-03 Ulrich Drepper <drepper@gmail.com>
34934
3b111893
UD
34935 [BZ #12005]
34936 * malloc/mcheck.c: Handle large requests.
34937
45db99c7
UD
34938 [BZ #12077]
34939 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34940 for strncmp and strncasecmp.
34941 * string/stratcliff.c: Add tests for strcmp and strncmp.
34942 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34943
cf7a1eb8
NI
349442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34945
34946 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34947 __set_fpscr.
34948
6484ba5e
AJ
349492010-09-30 Andreas Jaeger <aj@suse.de>
34950
34951 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34952 (CGROUP_SUPER_MAGIC): Define.
34953 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34954 Handle btrfs and cgroup file systems.
34955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34956 Likewise.
34957
91c42559
LM
349582010-09-27 Luis Machado <luisgpm@br.ibm.com>
34959
34960 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34961 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34962
87a97932
AK
349632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34964
34965 [BZ #12067]
34966 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34967 trying to locate the ELF header.
34968
c21cc9bc
AS
349692010-09-27 Andreas Schwab <schwab@redhat.com>
34970
34971 [BZ #11611]
34972 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34973 Mask out sign-bit copies when constructing f_fsid.
34974
315970f6
PB
349752010-09-24 Petr Baudis <pasky@suse.cz>
34976
34977 * debug/stack_chk_fail_local.c: Add missing licence exception.
34978 * debug/warning-nop.c: Likewise.
34979
1ac7a2c7
JM
349802010-09-15 Joseph Myers <joseph@codesourcery.com>
34981
34982 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34983 implementing getdents64 using getdents syscall, set d_type if
34984 __ASSUME_GETDENTS32_D_TYPE.
34985
56801c50
AS
349862010-09-16 Andreas Schwab <schwab@redhat.com>
34987
34988 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34989 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34990
dda51327
UD
349912010-09-21 Ulrich Drepper <drepper@redhat.com>
34992
34993 [BZ #12037]
34994 * posix/unistd.h: Undo change of feature selection for ftruncate from
34995 2010-01-11.
34996
8ffcee4a
UD
349972010-09-20 Ulrich Drepper <drepper@redhat.com>
34998
a545ecd9 34999 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35000 detection.
35001
e24f0a8b
AS
350022010-09-20 Andreas Schwab <schwab@redhat.com>
35003
35004 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35005 fanotify_mark.
35006 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35007
7291c56f
AS
350082010-09-14 Andreas Schwab <schwab@redhat.com>
35009
35010 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35011 variables after CHECK_SP call.
35012 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35013
bc5fb037
AS
350142010-09-13 Andreas Schwab <schwab@redhat.com>
35015 Ulrich Drepper <drepper@redhat.com>
35016
35017 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35018 re-relocationg ld.so.
35019 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35020 _dl_init_paths call.
35021 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35022 here anymore.
35023
e66e7419
UD
350242010-09-14 Ulrich Drepper <drepper@redhat.com>
35025
35026 * resolv/res_init.c (__res_vinit): Count the default server we added.
35027
c044aa75
CLT
350282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35029 Ulrich Drepper <drepper@redhat.com>
35030
35031 [BZ #11968]
35032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35033 (____longjmp_chk): Use %ebx for saving value across system call.
35034 Add unwind info.
35035
32cf4069
AS
350362010-09-06 Andreas Schwab <schwab@redhat.com>
35037
35038 * manual/Makefile: Don't mix pattern rules with normal rules.
35039
817328ee
AS
350402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35041
35042 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35043 operation.
35044 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35045 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35046 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35047 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35049 Likewise.
35050
29fddf61
UD
350512010-09-04 Ulrich Drepper <drepper@redhat.com>
35052
35053 [BZ #11979]
35054 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35055 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35056
0959ffc9
UD
350572010-09-02 Ulrich Drepper <drepper@redhat.com>
35058
35059 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35060 * sysdeps/x86_64/addmul_1.S: Likewise.
35061 * sysdeps/x86_64/lshift.S: Likewise.
35062 * sysdeps/x86_64/mul_1.S: Likewise.
35063 * sysdeps/x86_64/rshift.S: Likewise.
35064 * sysdeps/x86_64/sub_n.S: Likewise.
35065 * sysdeps/x86_64/submul_1.S: Likewise.
35066
ece29840
ST
350672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35068
0959ffc9
UD
35069 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35070 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35071 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35072 * bits/sched.h [__need_schedparam]
ece29840 35073 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35074 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35075 (__defined_schedparam): Define to 1.
ece29840
ST
35076 (__sched_param): New structure, identical to sched_param.
35077 (__need_schedparam): Undefine.
35078
e53a31fe
MF
350792010-08-31 Mike Frysinger <vapier@gentoo.org>
35080
fdc0c10d
MF
35081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35082 (epoll_create1): Declare.
35083
e53a31fe
MF
35084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35085
a726d796
AS
350862010-08-31 Andreas Schwab <schwab@redhat.com>
35087
35088 [BZ #7066]
35089 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35090 shifting retval into place.
35091
2f3e3dc7
UD
350922010-09-01 Ulrich Drepper <drepper@redhat.com>
35093
f2933da9
UD
35094 * nis/rpcsvc/nis.h: Update copyright notice.
35095 * nis/rpcsvc/nis.x: Likewise.
35096 * nis/rpcsvc/nis_callback.h: Likewise.
35097 * nis/rpcsvc/nis_callback.x: Likewise.
35098 * nis/rpcsvc/nis_object.x: Likewise.
35099 * nis/rpcsvc/nis_tags.h: Likewise.
35100 * nis/rpcsvc/yp.h: Likewise.
35101 * nis/rpcsvc/yp.x: Likewise.
35102 * nis/rpcsvc/ypupd.h: Likewise.
35103 * nis/yp_xdr.c: Likewise.
35104 * nis/ypupdate_xdr.c: Likewise.
35105
2f3e3dc7
UD
35106 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35107 mainly the body of pmap_getport. Add parameters to specify timeouts.
35108 (pmap_getport): Use __libc_rpc_getport.
35109 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35110 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35111 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35112
f3dcc2f9
AS
351132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35114
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35116 fanotify_mark.
35117
6d34eb5b
RM
351182010-08-27 Roland McGrath <roland@redhat.com>
35119
35120 * sysdeps/i386/i686/multiarch/Makefile
35121 (CFLAGS-varshift.c): New variable.
35122
9ea3de11
UD
351232010-08-27 Ulrich Drepper <drepper@redhat.com>
35124
c96d23fc
UD
35125 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35126 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35127
9ea3de11
UD
35128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35129
35130 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35131
623aac7f
L
351322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35133
35134 * sysdeps/x86_64/strlen.S: Unroll the loop.
35135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35136 strlen-sse2 strlen-sse2-bsf.
35137 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35138 __strlen_no_bsf if bit_Slow_BSF is set.
35139 (__strlen_sse42): Removed.
35140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35141 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35142
8b2b7715
RM
351432010-08-25 Roland McGrath <roland@redhat.com>
35144
35145 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35146 * sysdeps/x86_64/multiarch/varshift.c: New file.
35147 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35148 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35149 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35150 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35151
e73015f2
L
351522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35153
35154 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35155 strlen-sse2 strlen-sse2-bsf.
35156 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35157 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35158 (__strlen_sse2): Removed.
35159 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35160 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35162 bit_Slow_BSF for Atom.
35163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35164 (index_Slow_BSF): Define.
35165 (HAS_SLOW_BSF): Define.
35166
df24a73e
UD
351672010-08-25 Ulrich Drepper <drepper@redhat.com>
35168
35169 [BZ #10851]
35170 * resolv/res_init.c (__res_vinit): When no server address at all
35171 is given default to loopback.
35172
f2ac4868
RM
351732010-08-24 Roland McGrath <roland@redhat.com>
35174
09055553
RM
35175 * configure.in: Remove config-name.h generation.
35176 * configure: Regenerated.
35177 * config-name.in: File removed.
35178 * scripts/config-uname.sh: New file.
35179 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35180 ($(objdir)config-name.h): New target.
35181
f2ac4868
RM
35182 * sunrpc/rpc_parse.h: Avoid nested comment.
35183
73f27d5e
RH
351842010-08-24 Richard Henderson <rth@redhat.com>
35185 Ulrich Drepper <drepper@redhat.com>
35186 H.J. Lu <hongjiu.lu@intel.com>
35187
35188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35190 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35191 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35192 _mm_alignr_epi8 with _mm_loadu_si128.
35193 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35194 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35195 (__m128i_shift_right): Removed.
35196 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35197 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35198 * sysdeps/x86_64/multiarch/varshift.h: New file.
35199 * sysdeps/x86_64/multiarch/varshift.S: New file.
35200
84b9230c
MF
352012010-08-21 Mike Frysinger <vapier@gentoo.org>
35202
35203 * configure.in: Move assembler checks to before sysdep dir checking.
35204
9bbd0ddc
PB
352052010-08-20 Petr Baudis <pasky@suse.cz>
35206
35207 * LICENSES: Sync the sunrpc license.
35208
9da4bb31
UD
352092010-08-19 Ulrich Drepper <drepper@redhat.com>
35210
a7ab6ec8
UD
35211 * sunrpc/auth_des.c: Update copyright notice once again.
35212 * sunrpc/auth_none.c: Likewise.
35213 * sunrpc/auth_unix.c: Likewise.
35214 * sunrpc/authdes_prot.c: Likewise.
35215 * sunrpc/authuxprot.c: Likewise.
35216 * sunrpc/bindrsvprt.c: Likewise.
35217 * sunrpc/clnt_gen.c: Likewise.
35218 * sunrpc/clnt_perr.c: Likewise.
35219 * sunrpc/clnt_raw.c: Likewise.
35220 * sunrpc/clnt_simp.c: Likewise.
35221 * sunrpc/clnt_tcp.c: Likewise.
35222 * sunrpc/clnt_udp.c: Likewise.
35223 * sunrpc/clnt_unix.c: Likewise.
35224 * sunrpc/des_crypt.c: Likewise.
35225 * sunrpc/des_soft.c: Likewise.
35226 * sunrpc/get_myaddr.c: Likewise.
35227 * sunrpc/getrpcport.c: Likewise.
35228 * sunrpc/key_call.c: Likewise.
35229 * sunrpc/key_prot.c: Likewise.
35230 * sunrpc/openchild.c: Likewise.
35231 * sunrpc/pm_getmaps.c: Likewise.
35232 * sunrpc/pm_getport.c: Likewise.
35233 * sunrpc/pmap_clnt.c: Likewise.
35234 * sunrpc/pmap_prot.c: Likewise.
35235 * sunrpc/pmap_prot2.c: Likewise.
35236 * sunrpc/pmap_rmt.c: Likewise.
35237 * sunrpc/rpc/auth.h: Likewise.
35238 * sunrpc/rpc/auth_unix.h: Likewise.
35239 * sunrpc/rpc/clnt.h: Likewise.
35240 * sunrpc/rpc/des_crypt.h: Likewise.
35241 * sunrpc/rpc/key_prot.h: Likewise.
35242 * sunrpc/rpc/netdb.h: Likewise.
35243 * sunrpc/rpc/pmap_clnt.h: Likewise.
35244 * sunrpc/rpc/pmap_prot.h: Likewise.
35245 * sunrpc/rpc/pmap_rmt.h: Likewise.
35246 * sunrpc/rpc/rpc.h: Likewise.
35247 * sunrpc/rpc/rpc_des.h: Likewise.
35248 * sunrpc/rpc/rpc_msg.h: Likewise.
35249 * sunrpc/rpc/svc.h: Likewise.
35250 * sunrpc/rpc/svc_auth.h: Likewise.
35251 * sunrpc/rpc/types.h: Likewise.
35252 * sunrpc/rpc/xdr.h: Likewise.
35253 * sunrpc/rpc_clntout.c: Likewise.
35254 * sunrpc/rpc_cmsg.c: Likewise.
35255 * sunrpc/rpc_common.c: Likewise.
35256 * sunrpc/rpc_cout.c: Likewise.
35257 * sunrpc/rpc_dtable.c: Likewise.
35258 * sunrpc/rpc_hout.c: Likewise.
35259 * sunrpc/rpc_main.c: Likewise.
35260 * sunrpc/rpc_parse.c: Likewise.
35261 * sunrpc/rpc_parse.h: Likewise.
35262 * sunrpc/rpc_prot.c: Likewise.
35263 * sunrpc/rpc_sample.c: Likewise.
35264 * sunrpc/rpc_scan.c: Likewise.
35265 * sunrpc/rpc_scan.h: Likewise.
35266 * sunrpc/rpc_svcout.c: Likewise.
35267 * sunrpc/rpc_tblout.c: Likewise.
35268 * sunrpc/rpc_util.c: Likewise.
35269 * sunrpc/rpc_util.h: Likewise.
35270 * sunrpc/rpcinfo.c: Likewise.
35271 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35272 * sunrpc/rpcsvc/key_prot.x: Likewise.
35273 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35274 * sunrpc/rpcsvc/mount.x: Likewise.
35275 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35276 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35277 * sunrpc/rpcsvc/rex.x: Likewise.
35278 * sunrpc/rpcsvc/rstat.x: Likewise.
35279 * sunrpc/rpcsvc/rusers.x: Likewise.
35280 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35281 * sunrpc/rpcsvc/spray.x: Likewise.
35282 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35283 * sunrpc/rtime.c: Likewise.
35284 * sunrpc/svc.c: Likewise.
35285 * sunrpc/svc_auth.c: Likewise.
35286 * sunrpc/svc_authux.c: Likewise.
35287 * sunrpc/svc_raw.c: Likewise.
35288 * sunrpc/svc_run.c: Likewise.
35289 * sunrpc/svc_simple.c: Likewise.
35290 * sunrpc/svc_tcp.c: Likewise.
35291 * sunrpc/svc_udp.c: Likewise.
35292 * sunrpc/svc_unix.c: Likewise.
35293 * sunrpc/svcauth_des.c: Likewise.
35294 * sunrpc/xcrypt.c: Likewise.
35295 * sunrpc/xdr.c: Likewise.
35296 * sunrpc/xdr_array.c: Likewise.
35297 * sunrpc/xdr_float.c: Likewise.
35298 * sunrpc/xdr_mem.c: Likewise.
35299 * sunrpc/xdr_rec.c: Likewise.
35300 * sunrpc/xdr_ref.c: Likewise.
35301 * sunrpc/xdr_sizeof.c: Likewise.
35302 * sunrpc/xdr_stdio.c: Likewise.
35303
9da4bb31
UD
35304 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35305 handling.
35306
bdaa77bc
AS
353072010-08-19 Andreas Schwab <schwab@redhat.com>
35308
35309 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35310
fe2f79db
LM
353112010-08-19 Luis Machado <luisgpm@br.ibm.com>
35312
35313 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35314 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35315 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35316 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35317 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35318 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35319 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35320 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35322 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35323 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35324 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35325 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35326 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35327
b9b42ee0
AB
353282010-07-26 Anton Blanchard <anton@samba.org>
35329
35330 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35331 * malloc/arena.c (heap_trim): Likewise.
35332
1c06ba31
UD
353332010-08-16 Ulrich Drepper <drepper@redhat.com>
35334
35335 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35336 here. Not...
35337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35338 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35339
f8392f40
L
353402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35341
35342 * sysdeps/i386/elf/Makefile: New file.
35343
3162f12e
AS
353442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35345
35346 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35347 from fanotify_init.
35348 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35350
28c90b2c
UD
353512010-08-15 Ulrich Drepper <drepper@redhat.com>
35352
35353 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35354 of strncasecmp_l.
1feccb6c 35355 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35356
ca6bb004
UD
353572010-08-14 Ulrich Drepper <drepper@redhat.com>
35358
e9f82e0d
UD
35359 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35360 strncase_l-nonascii.
35361 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35362 Add strncase_l-ssse3.
35363 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35364 * sysdeps/x86_64/strcmp.S: Likewise.
35365 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35366 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35367 * sysdeps/x86_64/strncase.S: New file.
35368 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35369 * sysdeps/x86_64/strncase_l.S: New file.
35370 * string/Makefile (strop-tests): Add strncasecmp.
35371 * string/test-strncasecmp.c: New file.
35372
35373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35374 warning.
35375
ca6bb004
UD
35376 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35377 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35378
052fa7b3
AS
353792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35380
35381 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35382
962dba78
UD
353832010-08-12 Ulrich Drepper <drepper@redhat.com>
35384
35385 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35386 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35387 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35388
bebff237
AM
353892010-05-01 Alan Modra <amodra@gmail.com>
35390
35391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35392 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35393 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35394 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35395 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35396 tidying. Don't tail-call __sigjmp_save for static lib.
35397 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35398 save location.
35399 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35400 (CALL_MCOUNT): Add eh info, and nop after bl.
35401 (TAIL_CALL_SYSCALL_ERROR): New macro.
35402 (PSEUDO_RET): Use it.
35403 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35404 Correct save location of integer regs and cr.
35405 (_dl_profile_resolve): Correct cr save location. Delete nops
35406 after bl when SHARED. Reduce cfi size a little by better
35407 placement of cfi directives.
35408 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35409 make a stack frame. Instead use parm save area as a temp.
35410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35411 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35413 Don't make a stack frame for parent, use parm save area.
35414 Increase child stack frame to 112 bytes. Don't save unused reg,
35415 and adjust reg usage. Set up cfi on error recovery and
35416 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35418 (__makecontext): Add dummy nop after jump to exit.
35419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35420 Use correct parm save area and cr save, reduce stack frame.
35421 Correct cfi for possible PSEUDO_RET frame setup.
35422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35423 Branch to local label emitted by PSEUDO_RET rather than
35424 __syscall_error.
35425
02637374
AS
354262010-08-12 Andreas Schwab <schwab@redhat.com>
35427
35428 [BZ #11904]
35429 * locale/programs/locale.c (print_assignment): New function.
35430 (show_locale_vars): Use it.
35431
c3e2f19b
UD
354322010-08-11 Ulrich Drepper <drepper@redhat.com>
35433
3cdaa6ad
UD
35434 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35435 field.
35436 (struct statfs64): Likewise.
35437 (_STATFS_F_FLAGS): Define.
35438 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35440 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35441 (ST_VALID): Define locally.
35442 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35443 __statvfs_getflags, use the provided value.
35444 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35445 __ASSUME_STATFS_F_FLAGS.
35446
754f7da3
UD
35447 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35448
10b3bedc
UD
35449 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35450 Add sys/fanotify.h.
35451 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35452 fanotify_mask for GLIBC_2.13.
35453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35454 fanotify_init and fanotify_mark.
35455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35456 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35457
c08fb0d7
UD
35458 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35459 Add prlimit.
35460 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35461 prlimit64 for GLIBC_2.13.
35462 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35463 prlimit64.
35464 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35465 syscall.
35466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35467 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35468 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35471 add prlimit alias.
35472 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35473
15bac72b
UD
35474 [BZ #11903]
35475 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35476 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35477
c3e2f19b
UD
35478 * nss/Makefile: Add rules to build and run tst-nss-test1.
35479 * shlib-versions: Add entry for libnss_test1.
35480 * nss/nss_test1.c: New file.
35481 * nss/tst-nss-test1.c: New file.
35482
35483 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35484 (__nss_configure_lookup): Set appropriate entry in
35485 __nss_configure_lookup to true.
35486 * nss/nsswitch.h: Define enum with indeces of databases in
35487 databases and __nss_database_custom arrays. Declare
35488 __nss_database_custom.
35489 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35490 to avoid using nscd when custom rules are installed.
35491 * nss/getXXbyYY_r.c: Likewise.
35492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35493
35494 * nss/nss_files/files-parse.c: Whitespace fixes.
35495
f15ce4d8
UD
354962010-08-09 Ulrich Drepper <drepper@redhat.com>
35497
35498 [BZ #11883]
35499 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35500 * posix/fnmatch_loop.c: Likewise.
35501
d22e4cc9
AK
355022010-07-17 Andi Kleen <ak@linux.intel.com>
35503
35504 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35505 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35506 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35507 * Versions.def [GLIBC_2.13]: Add.
35508
805bc17d
UD
355092010-08-06 Ulrich Drepper <drepper@redhat.com>
35510
35511 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35512 Also fail if tpwd after pwuid call is NULL.
35513
5a42321d
ST
355142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35515
35516 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35517 when converting to ms.
35518
fd3ebeda
ST
355192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35520
35521 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35522 EOPNOTSUPP errors with ENOTTY.
35523 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35524 EOPNOTSUPP errors with ENOTTY.
35525
73507d3a
UD
355262010-07-31 Ulrich Drepper <drepper@redhat.com>
35527
35528 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35529 Add strcasecmp_l-ssse3.
35530 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35531 strcasecmp.
35532 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35533 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35534 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35535
fe36dd02
UD
355362010-07-30 Ulrich Drepper <drepper@redhat.com>
35537
66f6765a
UD
35538 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35539
42e08a54
UD
35540 * string/Makefile (strop-tests): Add strcasecmp.
35541 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35542 strcasecmp_l-nonascii.
35543 (gen-as-const-headers): Add locale-defines.sym.
35544 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35545 * sysdeps/x86_64/strcasecmp.S: New file.
35546 * sysdeps/x86_64/strcasecmp_l.S: New file.
35547 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35548 * sysdeps/x86_64/locale-defines.sym: New file.
35549 * string/test-strcasecmp.c: New file.
35550
fe36dd02
UD
35551 * string/test-strcasestr.c: Test both ends of the range of characters.
35552 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35553
48cbc0d6
RM
355542010-07-29 Roland McGrath <roland@redhat.com>
35555
76e6d6bc 35556 [BZ #11856]
48cbc0d6
RM
35557 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35558
880113d9
UD
355592010-07-27 Ulrich Drepper <drepper@redhat.com>
35560
35561 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35562 for ld.so.
35563
deb9cabb
AS
355642010-07-27 Andreas Schwab <schwab@redhat.com>
35565
35566 * manual/memory.texi (Malloc Tunable Parameters): Document
35567 M_PERTURB.
35568
1c7570ff
RM
355692010-07-26 Roland McGrath <roland@redhat.com>
35570
35571 [BZ #11840]
35572 * configure.in (-fgnu89-inline check): Set and substitute
35573 gnu89_inline, not libc_cv_gnu89_inline.
35574 * configure: Regenerated.
35575 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35576
24fb0f88
UD
355772010-07-26 Ulrich Drepper <drepper@redhat.com>
35578
35579 * string/test-strnlen.c: New file.
35580 * string/Makefile (strop-tests): Add strnlen.
35581 * string/tester.c (test_strnlen): Add a few more test cases.
35582 * string/tst-strlen.c: Better error reporting.
35583
35584 * sysdeps/x86_64/strnlen.S: New file.
35585
8e96b93a
UD
355862010-07-24 Ulrich Drepper <drepper@redhat.com>
35587
35588 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35589 lower-latency instructions.
35590
dbc676d4
UD
355912010-07-23 Ulrich Drepper <drepper@redhat.com>
35592
35593 * string/test-strcasestr.c: New file.
35594 * string/test-strstr.c: New file.
35595 * string/Makefile (strop-tests): Add strstr and strcasestr.
35596 * string/str-two-way.h: Don't undefine MAX.
35597 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35598
f6a31e0e
AS
355992010-07-21 Andreas Schwab <schwab@redhat.com>
35600
35601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35602 strcasestr-nonascii.
35603 (CFLAGS-strcasestr-nonascii.c): Define.
35604 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35605 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35606 Remove unused attribute.
35607
5dbc3b6c
RM
356082010-07-20 Roland McGrath <roland@redhat.com>
35609
35610 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35611 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35612 ld.so.cache was broken. With it, there is no way to disable dsocaps
35613 like LD_HWCAP_MASK can disable hwcaps.
35614
23d101d8
EPM
356152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35616
35617 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35618
cc9f2e47
UD
356192010-07-16 Ulrich Drepper <drepper@redhat.com>
35620
35621 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35622 call in strcasestr.
35623 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35624 __strcasestr_sse42_nonascii.
35625 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35626 strcasestr-nonascii.c.
35627 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35628
77c1b069
LM
356292010-06-15 Luis Machado <luisgpm@br.ibm.com>
35630
35631 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35632 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35633 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35634 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35635
440566c3
UD
356362010-07-09 Ulrich Drepper <drepper@redhat.com>
35637
35638 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35639 fcntl.
35640
5be9d05d
AS
356412010-07-06 Andreas Schwab <schwab@redhat.com>
35642
c30b7ee2 35643 [BZ #11577]
5be9d05d
AS
35644 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35645 dl_signal_cerror.
35646
8a492a67
UD
356472010-07-06 Ulrich Drepper <drepper@redhat.com>
35648
35649 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35650 _PC_PIPE_BUF using F_GETPIPE_SZ.
35651
713df3d5
RM
356522010-07-05 Roland McGrath <roland@redhat.com>
35653
35654 * manual/arith.texi (Rounding Functions): Fix rint description
35655 implicit in round description.
35656
702e8f14
UD
356572010-07-02 Ulrich Drepper <drepper@redhat.com>
35658
35659 * elf/Makefile: Fix linking for a few tests to make recent linker
35660 happy.
35661
52ed8be9
AS
356622010-06-30 Andreas Schwab <schwab@redhat.com>
35663
35664 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35665 $(common-objpfx)libc_nonshared.a.
35666
f47c9a11
LM
356672010-06-21 Luis Machado <luisgpm@br.ibm.com>
35668
35669 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35670 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35671 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35672 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35673 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35674 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35675 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35676 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35691 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35692 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35693 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35694 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35695 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35696 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35697 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35698 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35699 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35700 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35701 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35702 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35717
6fb8cbcb
L
357182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35719
35720 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35721 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35722 * string/memmove.c (memmove): Renamed to ...
35723 (MEMMOVE): ...this. Default to memmove.
35724 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35725 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35726 (END_CHK): Define.
35727 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35728 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35729 mempcpy-ssse3-back memmove-ssse3-back.
35730 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35731 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35732 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35733 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35734 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35735 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35736 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35737 * sysdeps/x86_64/multiarch/memmove.c: New file.
35738 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35739 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35740 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35741 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35742 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35744 Define.
35745 (index_Fast_Copy_Backward): Define.
35746 (HAS_ARCH_FEATURE): Define.
35747 (HAS_FAST_REP_STRING): Define.
35748 (HAS_FAST_COPY_BACKWARD): Define.
35749
4e733bac 357502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35751
35752 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35753 Restore proper fallback handling.
35754
63c4ed22
UD
357552010-06-19 Ulrich Drepper <drepper@redhat.com>
35756
ac2b484c
UD
35757 [BZ #11701]
35758 * posix/group_member.c (__group_member): Correct checking loop.
35759
63c4ed22
UD
35760 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35761 OOM in getpwuid_r correctly. Return error number when the caller
35762 should return, otherwise -1.
35763 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35764 call returning > 0 value.
35765 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35766
765ade4b
AS
357672010-06-07 Andreas Schwab <schwab@redhat.com>
35768
35769 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35770 libc_nonshared.a from targets in modules-names.
35771
80da2e09
KS
357722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35773
35774 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35775 requires it.
35776
158db122
LM
357772010-06-10 Luis Machado <luisgpm@br.ibm.com>
35778
35779 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35780 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35782 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35783
caa78cf8
AS
357842010-06-02 Andreas Schwab <schwab@redhat.com>
35785
35786 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35787
b2ef2c01
UD
357882010-06-14 Ulrich Drepper <drepper@redhat.com>
35789
35790 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35791 and F_GETPIPE_SZ.
35792 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35793 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35796 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35797 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35798
fbd643b6
RM
357992010-06-14 Roland McGrath <roland@redhat.com>
35800
35801 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35802
f32f2869
JJ
358032010-06-07 Jakub Jelinek <jakub@redhat.com>
35804
35805 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35806 __REDIRECT followed by __THROW.
35807 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35808 * posix/getopt.h (getopt): Likewise.
35809
2a50c078
EPM
358102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35811
35812 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35813 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35814 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35815 in AT_FLAGS.
35816 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35817 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35818
eb5ad2eb
LM
358192010-05-28 Luis Machado <luisgpm@br.ibm.com>
35820
35821 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35822
3c88fe1e
L
358232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35824
35825 [BZ #11640]
35826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35827 Properly check family and model.
35828
d2f73151
TY
358292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35830
35831 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35832
ebd2e13d
LM
358332010-05-24 Luis Machado <luisgpm@br.ibm.com>
35834
35835 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35836
b32b8b45
UD
358372010-05-21 Ulrich Drepper <drepper@redhat.com>
35838
35839 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35840 symbol reference.
35841
9acbe24d
AS
358422010-05-19 Andreas Schwab <schwab@redhat.com>
35843
35844 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35845 symbol reference.
35846
f0ccf6ea
AS
358472010-05-21 Andreas Schwab <schwab@redhat.com>
35848
3d04ff3a
AS
35849 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35850 and internal_recvmmsg.
35851 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35852 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35853 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35854 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35855
f0ccf6ea
AS
35856 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35857 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35858 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35859
5b08ac57
AS
358602010-05-20 Andreas Schwab <schwab@redhat.com>
35861
35862 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35863
4828935d
LM
358642010-05-17 Luis Machado <luisgpm@br.ibm.com>
35865
35866 POWER7 optimizations.
35867 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35868 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35869
373d545e
UD
358702010-05-19 Ulrich Drepper <drepper@redhat.com>
35871
35872 * version.h: Update for 2.13 development version.
35873
21a2b1ae
AS
358742010-05-12 Andrew Stubbs <ams@codesourcery.com>
35875
35876 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35877 exceptions. Return 0.
35878
3f7dcb2b
RM
358792010-05-07 Roland McGrath <roland@redhat.com>
35880
35881 * elf/ldconfig.c (main): Add a const.
35882
5f24d53a 358832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35884
a160f8d8
UD
35885 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35886 (args_options): Add no-idn option.
35887 (ahosts_keys_int): Add idn_flags to ai_flags.
35888 (parse_option): Handle 'i' option to clear idn_flags.
35889
5f24d53a
UD
35890 * malloc/malloc.c (_int_free): Possible race in the most recently
35891 added check. Only act on the data if no current modification
35892 happened.
265bb1ce
UD
35893
35894See ChangeLog.17 for earlier changes.
This page took 4.682745 seconds and 5 git commands to generate.